/* ============================================================
   MILANO — Premium Confectionery · B2B (Gulf)
   Bilingual AR / EN — shared stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Baloo+Bhaijaan+2:wght@500;600;700;800&family=Nunito+Sans:wght@400;600;700;800&family=Cairo:wght@400;500;600;700;800;900&display=swap');

:root {
  /* dark sections: rich warm chocolate (appetizing, like the packaging) */
  --choc-900: #2c160d;
  --choc-800: #3a2014;
  --choc-700: #4d2c1b;
  --choc: #5f3823;
  --cream: #fdf6ea;
  --cream-2: #f7e9d3;
  --paper: #fffdf8;
  /* Milano brand colors (sampled from logo) */
  --red: #ca181f;
  --red-dark: #a5131a;
  --green: #0e8342;
  --green-dark: #0a6634;
  /* warm caramel/honey accent from the photography */
  --gold: #d98a2b;
  --gold-2: #b86f17;
  --ink: #3a2417;
  --muted: #876b56;
  --line: #efe1cd;

  --maxw: 1180px;
  --radius: 20px;
  --shadow-sm: 0 2px 10px rgba(60, 28, 10, .07);
  --shadow-md: 0 16px 44px rgba(60, 28, 10, .15);
  --shadow-lg: 0 34px 74px rgba(60, 28, 10, .26);

  --f-display: 'Baloo 2', system-ui, sans-serif;
  --f-body: 'Nunito Sans', system-ui, sans-serif;
  --f-ar: 'Cairo', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Arabic / RTL typography */
[dir="rtl"] body,
[dir="rtl"] {
  font-family: var(--f-ar);
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4 {
  font-family: 'Baloo Bhaijaan 2', var(--f-ar);
  font-weight: 800;
}

[lang="ar"] {
  font-family: var(--f-ar);
}

h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--choc-800);
  font-weight: 800;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 26px;
}

/* language visibility */
.lang-en {
  display: none;
}

[data-lang="en"] .lang-en {
  display: inline;
}

[data-lang="en"] .lang-ar {
  display: none;
}

[data-lang="ar"] .lang-en {
  display: none;
}

.block.lang-en {
  display: none;
}

[data-lang="en"] .block.lang-en {
  display: block;
}

[data-lang="en"] .block.lang-ar {
  display: none;
}

.eyebrow {
  font-family: var(--f-body);
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

[dir="rtl"] .eyebrow {
  font-family: var(--f-ar);
  letter-spacing: normal;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .96rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: .2s ease;
  white-space: nowrap;
}

[dir="rtl"] .btn {
  font-family: var(--f-ar);
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 22px rgba(209, 31, 51, .28);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--choc-900);
}

.btn-gold:hover {
  background: var(--gold-2);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--cream);
  color: var(--choc-800);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--choc-800);
}

.btn-outline:hover {
  border-color: var(--choc);
  background: var(--choc-800);
  color: var(--cream);
}

.btn-arrow::after {
  content: "→";
  transition: transform .2s;
}

[dir="rtl"] .btn-arrow::after {
  content: "←";
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

[dir="rtl"] .btn-arrow:hover::after {
  transform: translateX(-4px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 250, 243, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 48px;
  width: auto;
}

.brand .tag {
  display: none;
}

[dir="rtl"] .brand .tag {
  font-family: var(--f-ar);
  letter-spacing: normal;
  font-size: .72rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a.lnk {
  font-weight: 600;
  font-size: .98rem;
  padding: 9px 16px;
  border-radius: 50px;
  color: var(--choc-700);
  transition: .15s;
}

[dir="rtl"] .nav-links a.lnk {
  font-family: var(--f-ar);
}

.nav-links a.lnk:hover {
  background: var(--cream);
}

.nav-links a.lnk.active {
  color: var(--red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-btn {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .82rem;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--choc-800);
  padding: 9px 15px;
  border-radius: 50px;
  cursor: pointer;
  transition: .15s;
  letter-spacing: .03em;
}

.lang-btn:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--choc-800);
  transition: .2s;
}

/* ---------- Hero (full-bleed image) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  min-height: 86vh;
  /*display: grid;*/
  align-content: center;
  padding: 120px 0 90px;
  background: #2c160d url('assets/m-hero.jpg') center 30%/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(34, 16, 8, .92) 0%, rgba(34, 16, 8, .72) 42%, rgba(34, 16, 8, .30) 75%, rgba(34, 16, 8, .15) 100%);
}

[dir="rtl"] .hero::before {
  transform: scaleX(-1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -90px 90px -40px rgba(34, 16, 8, .85);
}

.hero .wrap {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  width: 100%;
}

.hero-inner {
  max-width: 620px;
  text-align: left;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 800;
  max-width: 16ch;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .3);
  text-align: left;
}

.hero h1 em {
  font-style: normal;
  color: #ffd24a;
}

.hero .lead {
  color: #f4e7d6;
  font-size: 1.22rem;
  max-width: 50ch;
  margin: 22px 0 34px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .3);
  text-align: left;
}

.hero .eyebrow {
  color: #ffd24a;
  text-align: left;
}

.hero .eyebrow::before {
  background: #ffd24a;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero-chips {
  display: flex;
  gap: 22px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero-chips .chip {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f4e7d6;
  font-weight: 700;
  font-size: .96rem;
}

.hero-chips .chip b {
  font-family: var(--f-display);
  font-size: 1.7rem;
  color: #fff;
}

[dir="rtl"] .hero-chips .chip b {
  font-family: 'Baloo Bhaijaan 2', var(--f-ar);
}

.hero-chips .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .15);
}

.tricolor {
  display: inline-flex;
  height: 4px;
  width: 54px;
  border-radius: 3px;
  overflow: hidden;
  vertical-align: middle;
}

.tricolor i {
  flex: 1;
}

.tricolor i:nth-child(1) {
  background: var(--green);
}

.tricolor i:nth-child(2) {
  background: #fff;
}

.tricolor i:nth-child(3) {
  background: var(--red);
}

/* trust bar */
.trust {
  background: var(--choc-800);
  color: #d8c4a8;
  padding: 20px 0;
}

.trust .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px 40px;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: .95rem;
}

.trust b {
  color: var(--gold);
  font-family: var(--f-display);
}

[dir="rtl"] .trust b {
  font-family: var(--f-ar);
}

/* ---------- Sections ---------- */
section {
  padding: 90px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
  display: flex;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  margin: 14px 0 14px;
}

[dir="rtl"] .section-head h2 {
  font-weight: 800;
}

.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
}

.bg-cream {
  background: var(--cream);
}

.bg-choc {
  background: var(--choc-900);
  color: var(--cream);
}

.bg-choc h2,
.bg-choc h3 {
  color: var(--cream);
}

.bg-choc .section-head p {
  color: #d8c4a8;
}

/* ---------- Grid / cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: .22s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.feature .ic {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--cream);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--red);
}

.feature .ic svg {
  width: 26px;
  height: 26px;
}

.feature h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: .98rem;
}

/* product cards */
.prod-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .22s ease;
  display: flex;
  flex-direction: column;
}

.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.prod-card .ph {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-2);
}

.prod-card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.prod-card:hover .ph img {
  transform: scale(1.06);
}

.prod-card .body {
  padding: 24px 24px 28px;
}

.prod-card .kicker {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 700;
}

[dir="rtl"] .prod-card .kicker {
  letter-spacing: normal;
  font-family: var(--f-ar);
}

.prod-card h3 {
  font-size: 1.35rem;
  margin: 7px 0 8px;
}

.prod-card p {
  color: var(--muted);
  font-size: .96rem;
}

/* split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split .media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
}

.feature-list {
  list-style: none;
  margin-top: 22px;
}

.feature-list li {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list li:last-child {
  border: none;
}

.feature-list .chk {
  color: var(--green);
  font-weight: 800;
  font-size: 1.1rem;
}

.feature-list strong {
  display: block;
}

.feature-list span {
  color: var(--muted);
  font-size: .95rem;
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  overflow: hidden;
}

.stats .cell {
  background: var(--choc-800);
  padding: 36px 26px;
  text-align: center;
}

.stats strong {
  font-family: var(--f-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--cream);
  display: block;
}

[dir="rtl"] .stats strong {
  font-family: var(--f-ar);
  font-weight: 800;
}

.stats span {
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #d8c4a8;
}

[dir="rtl"] .stats span {
  letter-spacing: normal;
}

/* steps */
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}

.step .n {
  font-family: var(--f-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--cream-2);
  line-height: 1;
}

[dir="rtl"] .step .n {
  font-family: var(--f-ar);
}

.step h3 {
  font-size: 1.2rem;
  margin: 6px 0 8px;
}

.step p {
  color: var(--muted);
  font-size: .95rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--choc-800), var(--choc-700));
  color: var(--cream);
  border-radius: 22px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset-inline-end: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(202, 24, 31, .32), transparent 65%);
}

.cta-band h2 {
  color: var(--cream);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  max-width: 20ch;
  position: relative;
  z-index: 1;
}

.cta-band .btn {
  position: relative;
  z-index: 1;
}

/* page hero */
.page-hero {
  background: var(--choc-900) center 35%/cover no-repeat;
  color: var(--cream);
  padding: 110px 0 96px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 14, 7, .90) 0%, rgba(28, 14, 7, .72) 45%, rgba(28, 14, 7, .40) 100%);
}

[dir="rtl"] .page-hero::before {
  transform: scaleX(-1);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -70px 70px -40px rgba(28, 14, 7, .8);
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  max-width: 20ch;
  margin: 14px 0 14px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}

.page-hero p {
  color: #f4e7d6;
  font-size: 1.12rem;
  max-width: 58ch;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .3);
}

.crumbs {
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #ffd24a;
}

.crumbs a:hover {
  color: #fff;
}

[dir="rtl"] .crumbs {
  letter-spacing: normal;
  font-family: var(--f-ar);
}

/* form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 700;
  font-size: .92rem;
  color: var(--choc-800);
}

[dir="rtl"] .field label {
  font-family: var(--f-ar);
}

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  transition: .15s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(14, 131, 66, .18);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  font-size: .85rem;
  color: var(--muted);
}

.form-ok {
  background: #e9f4ec;
  border: 1px solid var(--green);
  color: #155f33;
  padding: 16px 20px;
  border-radius: 10px;
  font-weight: 600;
  display: none;
}

.form-ok.show {
  display: block;
}

.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--paper);
}

.info-card .k {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 700;
  margin-bottom: 7px;
}

[dir="rtl"] .info-card .k {
  letter-spacing: normal;
  font-family: var(--f-ar);
}

.info-card .v {
  font-weight: 600;
  color: var(--choc-800);
}

.info-card .v a {
  color: var(--red);
}

/* footer */
.site-footer {
  background: var(--choc-900);
  color: #cbb495;
  padding: 72px 0 30px;
}

.site-footer h4 {
  color: var(--cream);
  font-family: var(--f-body);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

[dir="rtl"] .site-footer h4 {
  font-family: var(--f-ar);
  letter-spacing: normal;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-grid a {
  display: block;
  padding: 6px 0;
  color: #cbb495;
  font-size: .96rem;
  transition: .15s;
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-brand img {
  height: 50px;
  margin-bottom: 16px;
}

.footer-about {
  font-size: .96rem;
  max-width: 40ch;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 50px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: #9c876d;
}

/* ---------- Photo band (appetizing full-bleed) ---------- */
.photo-band {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  background-color: #2c160d43;
  color: var(--cream);
  overflow: hidden;
  padding: 80px 0;
  z-index: 0;
}

.photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(34, 16, 8, .86), rgba(34, 16, 8, .45) 60%, rgba(34, 16, 8, .2));
}

[dir="rtl"] .photo-band::before {
  transform: scaleX(-1);
}

.photo-band .wrap {
  position: relative;
  z-index: 2;
}

.photo-band .inner {
  max-width: 540px;
}

.photo-band h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
}

.photo-band p {
  color: #f4e7d6;
  font-size: 1.1rem;
  margin: 14px 0 26px;
}

.photo-band .eyebrow {
  color: #ffd24a;
}

.photo-band .eyebrow::before {
  background: #ffd24a;
}

/* image accent on split media */
.split .media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-stack {
  position: relative;
}

.media-tag {
  position: absolute;
  bottom: 18px;
  inset-inline-start: 18px;
  background: var(--red);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  font-size: .95rem;
}

[dir="rtl"] .media-tag {
  font-family: 'Baloo Bhaijaan 2', var(--f-ar);
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* responsive */
@media (max-width: 960px) {
  .hero {
    min-height: 0;
    padding: 90px 0 70px;
    background-position: center 25%;
  }

  .hero-inner {
    max-width: 100%;
  }

  .photo-band .inner {
    max-width: 100%;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    top: 78px;
    inset-inline: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    transform: translateY(-140%);
    transition: transform .25s ease;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    transform: none;
  }

  .nav-links a.lnk {
    padding: 14px;
  }

  .nav-toggle {
    display: flex;
  }

  .grid-3,
  .grid-4,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 38px 28px;
  }

  section {
    padding: 64px 0;
  }
}

/* ============================================================
   Single product page (WooCommerce-style)
   ============================================================ */
.single {
  padding: 36px 0 90px;
}

.breadcrumb {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 28px;
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--red);
}

.breadcrumb .sep {
  margin: 0 8px;
  color: var(--line);
}

.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

/* gallery */
.gallery-main {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

.thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.thumb {
  width: 78px;
  height: 78px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--line);
  background: var(--cream);
  cursor: pointer;
  padding: 0;
  transition: .15s;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb:hover {
  border-color: var(--gold);
}

.thumb.active {
  border-color: var(--red);
}

/* summary */
.summary .sum-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.pill {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .04em;
  padding: 6px 14px;
  border-radius: 50px;
}

.stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 700;
  font-size: .9rem;
}

.stock i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}

.summary .kicker {
  color: var(--gold-2);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

[dir="rtl"] .summary .kicker {
  letter-spacing: normal;
}

.summary h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin: 6px 0 14px;
}

.summary .short {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.summary .meta {
  margin: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-row {
  display: flex;
  gap: 10px;
  font-size: .96rem;
  color: var(--muted);
}

.meta-row strong {
  color: var(--choc-800);
}

.buy {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.qty-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.qty-field label {
  font-weight: 700;
  font-size: .85rem;
  color: var(--choc-800);
}

.qty-field input {
  width: 110px;
  font-family: inherit;
  font-size: 1rem;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 50px;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
}

.qty-field input:focus {
  outline: none;
  border-color: var(--gold);
}

.buy .btn {
  padding: 15px 30px;
}

.buy-secondary {
  margin-top: 14px;
  display: inline-flex;
}

/* tabs */
.tabs {
  margin-top: 64px;
}

.tab-nav {
  display: flex;
  gap: 6px;
  border-bottom: 2px solid var(--line);
  flex-wrap: wrap;
}

.tab-btn {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--muted);
  background: none;
  border: none;
  padding: 14px 22px;
  cursor: pointer;
  position: relative;
  bottom: -2px;
  border-bottom: 3px solid transparent;
  transition: .15s;
}

[dir="rtl"] .tab-btn {
  font-family: 'Baloo Bhaijaan 2', var(--f-ar);
}

.tab-btn:hover {
  color: var(--choc-800);
}

.tab-btn.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.tab-panel {
  display: none;
  padding: 30px 2px;
  max-width: 820px;
}

.tab-panel.active {
  display: block;
}

.tab-panel p {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.85;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  text-align: start;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}

.spec-table th {
  background: var(--cream);
  color: var(--choc-800);
  font-weight: 700;
  width: 42%;
  font-family: var(--f-body);
}

[dir="rtl"] .spec-table th {
  font-family: var(--f-ar);
}

.spec-table td {
  color: var(--muted);
}

.spec-table tr:hover td {
  color: var(--choc-800);
}

/* related */
.related {
  margin-top: 70px;
}

.related h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 28px;
}

@media (max-width: 860px) {
  .product {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .summary h1 {
    font-size: 2rem;
  }
}