@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/vazirmatn-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("assets/fonts/nunito-variable.ttf") format("truetype");
}

@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/baloo-2-variable.ttf") format("truetype");
}

@font-face {
  font-family: "Grand Hotel";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/grand-hotel-regular.ttf") format("truetype");
}

:root {
  --font-display: "Baloo 2";
  --font-body: "Nunito";
  --font-script: "Grand Hotel";
  --font-fa: "Vazirmatn";
  --red: #ed0a4c;
  --red-dark: #b00639;
  --red-soft: #ff7b9d;
  --red-deep: #a30536;
  --wheat: #c9962f;
  --orange: #f28c1e;
  --cocoa: #45231a;
  --cocoa-deep: #2e1610;
  --indigo: #1c1640;
  --cream: #fff6ea;
  --cream-light: #fffdf9;
  --sand: #e5dcd0;
  --sand-dark: #d3c7b7;
  --ink: #17120f;
  --muted: #746d66;
  --white: #fff;
  --nutri-low: #1f8a4c;
  --nutri-mid: #e9a21b;
  --nutri-high: #b3261e;
  --max: 1200px;
  --ease: cubic-bezier(.3,.7,.2,1);
  --hero-ease: cubic-bezier(.3, .7, .2, 1);
  --hero-transition: 600ms;
  --shadow: 0 10px 24px rgba(69,35,26,.08);
  --shadow-red: 0 8px 22px rgba(237,10,76,.18);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; overflow-x: clip; }
html.is-locked { overflow: hidden; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font-body), sans-serif; overflow-x: clip; }
body[dir="rtl"] { font-family: var(--font-fa), sans-serif; }
body[dir="rtl"] :where(button, input, select, textarea) { font-family: var(--font-fa), sans-serif; }
a, a:hover { color: inherit; text-decoration: none; }
button:hover { text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
:where(a, button, input, textarea, [tabindex]):focus-visible { outline: 3px solid rgba(237,10,76,.32); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section { padding: 96px 0; scroll-margin-top: 96px; }
.section--cream { background: var(--cream); }
.section--cocoa { color: var(--white); background: var(--cocoa); }
.anchor { display: block; height: 0; scroll-margin-top: 110px; }
.eyebrow { margin: 0 0 14px; color: var(--red); font: 900 11px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
[dir="rtl"] .eyebrow { font-family: var(--font-fa); letter-spacing: 0; }
.eyebrow--light { color: rgba(255,255,255,.78); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; text-wrap: pretty; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: var(--font-fa); }
h1 { max-width: 680px; margin-bottom: 22px; font-size: clamp(42px, 6vw, 72px); letter-spacing: -.03em; }
h2 { margin-bottom: 18px; font-size: clamp(30px, 4vw, 46px); }
h3 { margin-bottom: 10px; font-size: 22px; }
p { line-height: 1.8; text-wrap: pretty; }
.muted { color: var(--muted); }

/* Persian numerals must never fall back to a Latin-only face. */
[dir="rtl"] :where(.stat strong, .factory-photo__num, .mark-tile__caption small,
  .lightbox__count, .navlinks__list a small, .navlinks__kicker, .navlinks__contact, .product-card__meta, .market-row,
  .market-map__meta strong, .market-map__origin, .spec, .nutri, .footer, .footer-bottom,
  .category-card__tag, .go-top, .toast, .detail-intro, .variant) {
  font-family: var(--font-fa), sans-serif;
}

/* --------------------------------------------------------------- top bar */

.topbar { position: fixed; top: 0; inset-inline: 0; z-index: 20; border-bottom: 1px solid transparent; background: transparent; transform: translateY(0); transition: background 480ms ease, border-color 480ms ease, box-shadow 480ms ease, -webkit-backdrop-filter 480ms ease, backdrop-filter 480ms ease; }
.topbar--solid { border-bottom-color: rgba(69,35,26,.1); background: rgba(255,246,234,.88); -webkit-backdrop-filter: blur(12px) saturate(1.06); backdrop-filter: blur(12px) saturate(1.06); box-shadow: 0 14px 30px -26px rgba(69,35,26,.7); }
.topbar--hidden { transform: translateY(calc(-100% - 2px)); }
.topbar-progress { position: absolute; top: 0; inset-inline: 0; z-index: 1; display: block; height: 2px; pointer-events: none; }
.topbar-progress i { display: block; width: 0; height: 100%; background: var(--red); transition: width 90ms linear; }
.nav { position: relative; width: min(1200px, calc(100% - 48px)); margin: 0 auto; min-height: 78px; display: flex; align-items: center; gap: 24px; }
/* Keep the logo left and language/menu controls right in both languages. */
[dir="rtl"] .topbar .nav { direction: ltr; }
[dir="rtl"] .topbar .navlinks { direction: rtl; }
.logo { flex: 0 0 auto; width: 140px; }
.logo img { width: 100%; height: auto; }
.logo--header { position: relative; width: 148px; overflow: hidden; }
/* Preserve the supplied red lettering and white outline on every header ground. */
.logo--header img { display: block; width: 100%; height: auto; filter: none; }
.actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.menu-shell { position: relative; }
.lang {
  display: inline-flex; align-items: center; gap: 3px; height: 48px; padding: 4px;
  border: 1px solid var(--sand-dark); border-radius: 999px; background: rgba(255,255,255,.5);
  box-sizing: border-box; transition: border-color 220ms ease, background 220ms ease;
}
.lang button {
  height: 100%; padding: 0 13px; color: var(--muted); background: transparent;
  border: 0; border-radius: 999px; font: 900 12px/1 var(--font-body); letter-spacing: .08em;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color 160ms ease, background 160ms ease;
}
.lang button.active { color: var(--white); background: var(--red); }
.lang button:disabled { opacity: .35; cursor: not-allowed; }

.menu-toggle {
  position: relative; z-index: 4; width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--sand-dark); border-radius: 16px; color: var(--cocoa); background: var(--cream);
  box-sizing: border-box; display: grid; place-items: center;
  transition: color 200ms ease, background 200ms ease, border-color 200ms ease;
}
.menu-toggle i {
  position: absolute; left: 14px; width: 18px; height: 1.5px; display: block; background: currentColor;
  transition: transform 260ms var(--ease), opacity 160ms ease;
}
.menu-toggle i:nth-of-type(1) { top: 16px; }
.menu-toggle i:nth-of-type(2) { top: 23px; }
.menu-toggle i:nth-of-type(3) { top: 30px; }
.menu-toggle:hover { border-color: var(--cocoa); }

/* ------------------------------------------------------------ menu panel */

.navlinks {
  position: fixed; z-index: 2; inset: 0; height: 100dvh; min-height: 0; overflow-y: auto;
  display: grid; grid-template-columns: minmax(270px, .82fr) minmax(400px, 1.18fr);
  grid-template-areas: "aside list" "foot foot"; grid-template-rows: auto auto; align-content: safe center;
  column-gap: clamp(46px, 8vw, 120px);
  padding: 118px max(34px, calc((100vw - var(--max)) / 2)) 46px;
  color: var(--white); background: var(--cocoa);
  visibility: hidden; opacity: 0; transform: translateY(-100%); pointer-events: none;
  transition: transform 620ms var(--ease), opacity 300ms ease, visibility 0s linear 620ms;
}
.navlinks::after { content: ""; position: absolute; z-index: 0; width: 420px; height: 420px; inset-inline-start: -140px; bottom: -160px; border-radius: 50%; background: rgba(237,10,76,.12); pointer-events: none; }
html.nav-open .navlinks { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; transition: transform 620ms var(--ease), opacity 240ms ease, visibility 0s; }
html.nav-open .topbar { border-color: transparent; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
html.nav-open .lang { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); }
html.nav-open .lang button:not(.active) { color: rgba(255,255,255,.7); }
html.nav-open .menu-toggle { color: var(--white); border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.08); }
html.nav-open .menu-toggle i:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
html.nav-open .menu-toggle i:nth-of-type(2) { opacity: 0; }
html.nav-open .menu-toggle i:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }

.navlinks__aside { position: relative; z-index: 1; grid-area: aside; display: flex; flex-direction: column; gap: 20px; padding-inline-end: 44px; border-inline-end: 1px solid rgba(255,255,255,.16); }
.navlinks__kicker { color: var(--red-soft); font: 900 11px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.navlinks__aside strong { max-width: 340px; font-family: var(--font-display); font-size: clamp(25px, 3vw, 40px); line-height: 1.22; }
[dir="rtl"] .navlinks__aside strong { font-family: var(--font-fa); }
.navlinks__contact { display: flex; flex-direction: column; gap: 7px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; }
.navlinks__contact a { color: rgba(255,255,255,.66); transition: color 160ms ease; }
.navlinks__contact a:hover { color: var(--white); }
.navlinks__aside .btn { align-self: flex-start; margin-top: 4px; }

.navlinks__list { position: relative; z-index: 1; grid-area: list; display: flex; flex-direction: column; }
.navlinks__list a { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.15); opacity: 0; transform: translateY(14px); transition: color 180ms ease, padding 260ms var(--ease); }
html.nav-open .navlinks__list a { animation: nav-in 520ms var(--ease) forwards; }
.navlinks__list a:nth-child(1) { animation-delay: 130ms; }
.navlinks__list a:nth-child(2) { animation-delay: 185ms; }
.navlinks__list a:nth-child(3) { animation-delay: 240ms; }
.navlinks__list a:nth-child(4) { animation-delay: 295ms; }
.navlinks__list a:nth-child(5) { animation-delay: 350ms; }
.navlinks__list a:nth-child(6) { animation-delay: 405ms; }
.navlinks__list a small { align-self: start; padding-top: 8px; color: var(--red-soft); font: 900 11px/1 var(--font-body); letter-spacing: .08em; }
.navlinks__list a strong { display: block; font-family: var(--font-display); font-size: clamp(22px, 2.1vw, 32px); line-height: 1.16; }
[dir="rtl"] .navlinks__list a strong { font-family: var(--font-fa); }
.navlinks__list a em { display: block; margin-top: 4px; color: rgba(255,255,255,.46); font-size: 12px; font-style: normal; font-weight: 400; }
.navlinks__list a:hover { color: var(--red-soft); padding-inline-start: 10px; }
.navlinks__list a:hover em { color: rgba(255,255,255,.6); }
.navlinks__foot { position: relative; z-index: 1; grid-area: foot; display: flex; justify-content: space-between; gap: 16px; margin-top: 34px; color: rgba(255,255,255,.5); font-size: 12px; }

/* --------------------------------------------------------------- buttons */

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; color: var(--white); background: var(--red); font-weight: 800; white-space: nowrap; box-shadow: var(--shadow-red); transition: transform 200ms var(--ease), background 140ms ease; }
.btn:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--large { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn--outline { color: var(--ink); background: transparent; border: 1px solid var(--sand-dark); box-shadow: none; }
.btn--outline:hover { color: var(--red); background: var(--white); border-color: var(--red); }
.btn--white { color: var(--red); background: var(--white); box-shadow: none; }
.btn--white:hover { background: var(--cream); }
.btn--text { padding: 0; min-height: unset; color: var(--red); background: transparent; box-shadow: none; }
.btn--text:hover { background: transparent; }

/* ------------------------------------------------------------------ hero */

/* The composition follows the language direction; text flows around the reel-facing curve. */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--ink); background: #fcf7ef; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(#af704426 .7px, transparent .7px); background-size: 7px 7px; opacity: .28; pointer-events: none; }
.hero::after { content: ""; position: absolute; z-index: -1; width: 120%; height: 180px; left: -10%; bottom: -145px; border-radius: 50% 50% 0 0; background: #f0cbb0; pointer-events: none; }
.hero-watermark { position: absolute; z-index: -1; width: clamp(300px, 33vw, 500px); inset-inline-start: -100px; bottom: -52px; opacity: .045; transform: rotate(-14deg); pointer-events: none; }
.hero-inner { position: relative; width: min(1280px, calc(100% - 112px)); margin: 0 auto; min-height: max(780px, 100svh); padding: 120px 0 64px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; direction: inherit; }
.hero-copy { position: relative; z-index: 6; min-width: 0; padding-inline-end: 24px; text-align: start; }
.hero-copy__inner, .hero-copy__lead { max-width: none; }
.hero-copy__lead { display: flow-root; }
/* A real text exclusion shape, rather than a rounded rectangular wrapper.
   Headline and paragraph line boxes follow the ellipse toward the products. */
.hero-copy__lead::before { content: ""; float: right; width: clamp(64px, 8vw, 110px); height: 28em; shape-outside: ellipse(100% 48% at 100% 52%); shape-margin: 16px; pointer-events: none; }
.hero-copy[dir="rtl"] .hero-copy__lead::before { float: left; shape-outside: ellipse(100% 48% at 0% 52%); }
.hero-eyebrow { margin: 0 0 24px; display: flex; align-items: center; justify-content: flex-start; gap: 12px; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.5; }
.hero-copy[dir="ltr"] .hero-eyebrow { justify-content: flex-start; }
.hero-eyebrow__line { width: 30px; height: 1px; background: currentColor; }
.hero h1 { margin: 0 0 24px; color: var(--ink); font-size: clamp(38px, 3.9vw, 56px); line-height: 1.45; letter-spacing: -.035em; font-weight: 900; }
.hero-title-accent { color: #d80b20; }
.hero-copy[dir="ltr"] h1 { line-height: 1.12; }
.hero-lead { margin: 0 0 22px; max-width: 29em; color: #756f67; font-size: 18px; font-weight: 500; line-height: 1.85; }
.hero-lead__short { display: none; }
.hero-tagline { margin: 0 0 30px; color: #9b3527; font-size: 20px; font-weight: 800; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-copy .hero-actions { clear: both; direction: inherit; flex-wrap: wrap; gap: 22px; }
.hero-copy[dir="rtl"] .hero-cta > span[aria-hidden] { transform: scaleX(-1); }
.hero .hero-cta { display: inline-flex; justify-content: center; gap: 22px; min-height: 58px; padding: 14px 26px; border: 1px solid #e60018; border-radius: 999px; color: white; background: #e60018; font-size: 17px; font-weight: 800; white-space: normal; text-align: center; }
.hero .hero-cta:hover { background: #c90016; border-color: #c90016; }
.hero-cta > span:first-child { direction: rtl; }
.hero-copy[dir="ltr"] .hero-cta > span:first-child { direction: ltr; }
.hero-link { display: inline-flex; padding: 12px 2px; color: var(--ink); font-size: 15px; font-weight: 800; border-bottom: 1px solid currentColor; text-align: center; }
.hero-link:hover { color: #d80b20; }
/* Other sections also use the shared action row. */
.hero-actions .btn--white { min-height: 54px; padding: 0 28px; border-radius: 999px; background: #fff; color: var(--red); font-size: 17px; font-weight: 800; }
.hero-actions .btn--white:hover { background: var(--cream); }

.hero-shots { position: relative; min-width: 0; padding-top: 212px; align-self: center; direction: ltr; }
.hero-orbit { position: absolute; z-index: -1; inset: 118px -8% 24px; pointer-events: none; }
.hero-orbit::after { content: ""; position: absolute; inset: 1% 5% 0; border: 1px solid #d85a3b45; border-radius: 50%; transform: rotate(-20deg); }
.hero-orbit i:nth-child(1) { position: absolute; inset: 6% 1% -3%; border: 1px solid #d85a3b26; border-radius: 50%; transform: rotate(12deg); }
.hero-orbit i:nth-child(2) { position: absolute; top: 20%; right: 10%; width: 12px; height: 12px; border: 2px solid #d80b20; border-radius: 50%; }
.hero-orbit i:nth-child(3) { position: absolute; bottom: 15%; left: 7%; width: 8px; height: 8px; border-radius: 50%; background: #d80b20; }
.hero-origin { position: absolute; z-index: 1; top: 70px; left: 5%; width: 112px; height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 1px dashed #ce5938; outline: 5px solid #fcf7ef; border-radius: 50%; color: #ac3528; background: #fcf7ef; transform: rotate(-10deg); text-align: center; }
.hero-origin span { font-size: 14px; line-height: 1.3; }
.hero-origin strong { font-size: 21px; font-weight: 900; line-height: 1.4; }
.hero-origin img { width: 32px; height: 15px; object-fit: contain; }
[dir="rtl"] .hero-origin { left: auto; right: 5%; transform: rotate(10deg); }
.hero-shots:focus-visible { outline: 3px solid rgba(69,35,26,.32); outline-offset: 6px; border-radius: 24px; }
.hero-balloon { position: absolute; top: -18px; right: 15%; width: 200px; height: 270px; display: flex; flex-direction: column; align-items: center; pointer-events: none; transform-origin: 50% 100%; animation: hero-balloon-sway 8s ease-in-out infinite; }
.hero-balloon img { display: block; flex: 0 0 auto; width: 100%; height: auto; }
.hero-balloon__line { display: block; flex: 1 1 0; min-height: 0; width: 30px; overflow: visible; fill: none; stroke: #45231a; stroke-width: 1.5; stroke-linecap: round; }
.hero-balloon__line path { vector-effect: non-scaling-stroke; }
[dir="rtl"] .hero-balloon { right: auto; left: 15%; }
@keyframes hero-balloon-sway { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-8px); } }
.hero-stage { position: relative; width: 100%; aspect-ratio: 1.85; }
.hero-reel { position: relative; width: 100%; height: 100%; touch-action: pan-y pinch-zoom; cursor: grab; user-select: none; -webkit-user-select: none; }
.hero-product {
  --x: 0%; --y: 0%; --s: .3; --o: 0; --r: 0deg;
  position: absolute; top: 0; left: 17%; width: 66%; aspect-ratio: 4 / 3;
  display: block; padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer;
  opacity: var(--o); transform: translate(var(--x), var(--y)) scale(var(--s)) rotate(var(--r));
  filter: drop-shadow(0 16px 18px rgba(69,35,26,.12)); will-change: transform, opacity;
}
.hero-shots.is-ready .hero-product { transition: transform var(--hero-transition) var(--hero-ease), opacity var(--hero-transition) var(--hero-ease); }
.hero-shots.is-ready .hero-product--jumping { transition: none; }
.hero-product img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; pointer-events: none; -webkit-user-drag: none; }
.hero-product[data-hero-position="0"] { --x: 0%; --s: 1; --o: 1; --r: 0deg; z-index: 3; cursor: grab; }
.hero-product[data-hero-position="-1"] { --x: -54%; --s: .44; --o: .46; --r: -5deg; z-index: 2; }
.hero-product[data-hero-position="1"] { --x: 54%; --s: .44; --o: .46; --r: 5deg; z-index: 2; }
.hero-product[data-hero-position="-1"]:hover, .hero-product[data-hero-position="1"]:hover { --o: .7; }
.hero-product[aria-hidden="true"] { pointer-events: none; }
.hero-product:not([data-hero-position="0"]):not([data-hero-position="-1"]):not([data-hero-position="1"]):not([data-hero-position^="-"]) { --x: 104%; --s: .3; --o: 0; }
.hero-product[data-hero-position^="-"]:not([data-hero-position="-1"]) { --x: -104%; --s: .3; --o: 0; }
.hero-arrow { position: absolute; z-index: 5; top: 46%; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid #ded7cd; border-radius: 50%; color: var(--cocoa); background: #fcf7efe6; transform: translateY(-50%); transition: color 160ms ease, background 160ms ease; }
.hero-arrow svg { width: 18px; height: 18px; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-arrow:hover { color: var(--white); background: #e60018; border-color: #e60018; }
.hero-arrow--prev { left: -10px; }
.hero-arrow--next { right: -10px; }
.hero-caption { position: relative; z-index: 5; min-height: 56px; padding: 4px 32px 12px; text-align: center; }
.hero-caption__name { display: block; color: var(--ink); font-size: 23px; font-weight: 900; line-height: 1.5; transition: opacity 180ms ease, transform 180ms var(--ease); }
.hero-shots.is-caption-out .hero-caption__name { opacity: 0; transform: translateY(6px); }
.hero-pagination { position: relative; display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 12px; color: #8a5840; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hero-pagination__track { width: 108px; height: 3px; overflow: hidden; border-radius: 999px; background: #d7b99d; }
.hero-pagination__track i { display: block; height: 100%; background: #d80b20; transition: width 300ms var(--hero-ease); }

@media (max-width: 1100px) and (min-width: 761px) {
  .hero-inner { width: calc(100% - 64px); }
  .hero-copy { padding-inline-end: 16px; }
  .hero-copy__lead::before { width: 64px; height: 30em; shape-margin: 10px; }
  .hero h1 { font-size: 38px; }
  .hero-lead { font-size: 16px; }
  .hero-tagline { font-size: 18px; }
  .hero-copy .hero-actions { gap: 16px; flex-wrap: wrap; }
  .hero-shots { padding-top: 190px; }
  .hero-balloon { width: 165px; height: 230px; }
  .hero-origin { width: 96px; height: 96px; top: 62px; }
  .hero-origin strong { font-size: 18px; }
  .hero-orbit { inset: 110px -5% 20px; }
}
@media (max-width: 760px) {
  .hero-inner { width: calc(100% - 40px); min-height: 0; padding: 112px 0 36px; grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-copy { padding: 0; }
  .hero-copy__inner, .hero-copy__lead { max-width: 560px; margin-inline: auto; }
  .hero-copy__lead::before { content: none; }
  .hero-eyebrow { margin-bottom: 16px; }
  .hero h1 { margin-bottom: 18px; font-size: clamp(32px, 6.5vw, 44px); line-height: 1.45; }
  .hero-lead { margin-bottom: 16px; font-size: 16px; }
  .hero-tagline { margin-bottom: 22px; font-size: 18px; }
  .hero-copy .hero-actions { gap: 18px; flex-wrap: wrap; }
  .hero .hero-cta { min-height: 52px; padding: 12px 20px; font-size: 16px; }
  .hero-shots { width: min(560px, 100%); margin-inline: auto; padding-top: 144px; }
  .hero-balloon { top: 0; right: 17%; width: 130px; height: 172px; }
  .hero-origin { top: 30px; width: 88px; height: 88px; }
  .hero-origin span { font-size: 12px; }
  .hero-origin strong { font-size: 17px; }
  .hero-origin img { width: 26px; height: 13px; }
  .hero-orbit { inset: 94px -2% 30px; }
  .hero-watermark { width: 270px; bottom: -24px; inset-inline-start: -95px; }
  [dir="rtl"] .hero-balloon { right: auto; left: 17%; }
  .hero-caption__name { font-size: 20px; }
  .hero-arrow { width: 36px; height: 36px; }
  .hero-arrow--prev { left: -6px; }
  .hero-arrow--next { right: -6px; }
}
@media (prefers-reduced-motion: reduce) { .hero-balloon { animation: none; } }

/* Category tabs with active red indicator */
/* One selector language across the showcase and catalogue. */
.category-selector { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(6, minmax(max-content, 1fr)); overflow-x: auto; border-bottom: 1px solid var(--sand-dark); }
.category-selector button { display: flex; flex-wrap: nowrap; white-space: nowrap; justify-content: center; align-items: center; gap: 6px; position: relative; min-width: 0; min-height: 52px; padding: 16px 6px; border: 0; border-inline-start: 1px solid var(--sand); color: var(--muted); background: transparent; font-family: inherit; font-size: 14px; font-weight: 800; transition: color 160ms ease; }
.category-selector button:first-child { border-inline-start: 0; }
.category-selector button small { display: inline-grid; place-items: center; flex: 0 0 24px; width: 24px; min-width: 24px; height: 24px; padding: 0; border: 1px solid #d8cfc2; border-radius: 999px; color: #696158; background: #eee7dc; font-size: 12px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.category-selector button i { position: absolute; top: 0; inset-inline: 0; height: 2px; display: block; background: var(--red); transform: scaleX(0); transition: transform 300ms var(--ease); }
.category-selector button:hover, .category-selector button:focus-visible { color: var(--cocoa); }
.category-selector button.active { color: var(--red); }
.category-selector button.active i { transform: scaleX(1); }
.category-selector button:focus-visible { outline-offset: -4px; }


/* ---------------------------------------------------------- process band */

.process-band { position: relative; height: clamp(420px, 58vh, 620px); overflow: hidden; color: var(--white); background: var(--cocoa-deep); }
.process-band__media { position: absolute; inset: -32% 0; z-index: 0; overflow: hidden; background: url("assets/band/production-process-lqip.webp") center / cover no-repeat; }
.process-band__media picture, .process-band__media img { width: 100%; height: 100%; display: block; }
.process-band__media img { object-fit: cover; object-position: center 60%; transform: translate3d(0, 0, 0) scale(1.12); transform-origin: center; will-change: transform; }
[dir="ltr"] .process-band__media { transform: scaleX(-1); }
.process-band__shade { position: absolute; inset: 0; z-index: 1; display: block; background: linear-gradient(to left, rgba(46,22,16,.86) 0%, rgba(46,22,16,.52) 44%, rgba(46,22,16,.12) 100%); pointer-events: none; }
.process-band__inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.process-band__copy { max-width: 520px; }
.process-band__copy.reveal-target { transform: translateY(48px); transition-duration: 1s; }
.process-band__copy.reveal-target.is-visible { transform: translateY(0); }
.process-band__copy > p { margin: 0 0 14px; color: var(--red-soft); font: 900 11px/1 var(--font-fa), sans-serif; letter-spacing: .08em; }
.process-band__copy h2 { margin-bottom: 16px; color: var(--white); font-size: clamp(30px, 3.4vw, 48px); line-height: 1.12; }
.process-band__copy > div { max-width: 44ch; color: rgba(255,255,255,.74); font-size: 16px; line-height: 1.9; font-weight: 500; }
[dir="ltr"] .process-band__shade { background: linear-gradient(to right, rgba(46,22,16,.86) 0%, rgba(46,22,16,.52) 44%, rgba(46,22,16,.12) 100%); }

/* The red hero deliberately breaks the standard card surface. */

/* ----------------------------------------------------------------- stats */

.statbar--editorial { color: var(--white); background: var(--cocoa); border-bottom: 1px solid var(--cocoa-deep); }
.stats { width: min(1280px, calc(100% - 64px)); min-height: 0; display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 2fr); align-items: stretch; gap: 0; }
.stats-intro { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 34px 0; }
.stats-intro .eyebrow { margin-bottom: 0; color: var(--red-soft); }
.stats-intro p { max-width: 24ch; margin: 0; color: rgba(255,246,234,.6); font-size: 13px; line-height: 1.75; }
.stats-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { position: relative; display: grid; grid-template-columns: auto 1fr; align-content: center; gap: 6px 12px; padding: 34px 22px; border-inline-start: 1px solid rgba(255,246,234,.16); }
.stat strong { grid-row: 1; color: var(--white); font: 900 46px/1 var(--font-display); }
.stat span { max-width: 92px; color: rgba(255,246,234,.62); font-size: 13px; font-weight: 700; line-height: 1.4; }
.stat .stat__label { grid-row: 1; align-self: end; }
[dir="rtl"] .stats, [dir="rtl"] .stats :where(span, strong, p) { font-family: var(--font-fa), sans-serif; }
[dir="rtl"] .stat strong { font-family: var(--font-fa), sans-serif; }

/* ------------------------------------------------------------- sections */

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.section-head p { max-width: 520px; margin-bottom: 0; color: var(--muted); }

.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.category-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--sand); border-radius: 28px; background: var(--cream); transition: transform 320ms var(--ease), border-color 200ms ease; }
.category-card:hover, .category-card:focus-visible { transform: translateY(-4px); border-color: var(--sand-dark); }
.category-card__image { position: relative; flex: none; min-width: 0; aspect-ratio: 1.15; overflow: hidden; }
.category-card img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; filter: drop-shadow(0 12px 14px rgba(69,35,26,.14)); transition: transform 520ms var(--ease); }
.category-card:hover img, .category-card:focus-visible img { transform: scale(1.06) rotate(-3deg); }
.category-card__content { padding: 0 20px 24px; }
.category-card__tag { display: block; margin-bottom: 12px; color: var(--muted); font-size: 12px; font-weight: 800; }
.category-card h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: var(--cocoa); }
.category-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* ------------------------------------------------------------- products */

.product-panel { padding: 96px 0; background: var(--cream); scroll-margin-top: 96px; }
.range-switcher { margin-bottom: 32px; scroll-margin-top: 110px; }
.range-tabs { border-top: 1px solid var(--sand); }
.range-tabs button { padding-block: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
/* The whole card is the target; no separate details button. */
.product-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; padding: 0; border: 1px solid var(--sand); border-radius: 28px; color: var(--cocoa); background: color-mix(in srgb, var(--sand) 35%, var(--cream)); text-align: start; box-shadow: 0 4px 12px rgba(69,35,26,.03); transition: transform 320ms var(--ease), box-shadow 320ms var(--ease), border-color 200ms ease; }
.product-card:hover, .product-card:focus-visible { transform: translateY(-4px); border-color: var(--sand-dark); box-shadow: 0 16px 28px rgba(69,35,26,.10); }
.product-card__image { position: relative; display: grid; place-items: center; aspect-ratio: 1.12; padding: 20px; background: transparent; }
.product-card__image img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(69,35,26,.18)); transition: transform 520ms var(--ease); }
.product-card:hover .product-card__image img, .product-card:focus-visible .product-card__image img { transform: translateY(-4px) scale(1.05); }
.product-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px; }
.product-card__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--sand); color: var(--muted); font-size: 12px; font-weight: 800; }
.product-card__meta span:last-child { color: var(--cocoa); }
.product-card__title { font-family: var(--font-display); font-size: 20px; line-height: 1.4; }
[dir="rtl"] .product-card__title { font-family: var(--font-fa); font-size: 18px; font-weight: 800; }
.product-card__text { color: var(--muted); font-size: 14px; line-height: 1.7; }
.product-card__expand { position: absolute; top: 12px; inset-inline-end: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--cocoa); opacity: .72; transition: color 200ms ease, background 200ms ease, opacity 200ms ease; }
.product-card__expand svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.product-card:hover .product-card__expand, .product-card:focus-visible .product-card__expand { color: var(--cream); background: var(--cocoa); opacity: 1; }



/* ---------------------------------------------------------------- about */

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.about-image { position: relative; min-height: 420px; display: grid; place-items: center; overflow: hidden; border-radius: 28px; background: var(--cream); }
.about-image::before { content: ""; position: absolute; inset: 24px; border: 1px solid var(--sand-dark); border-radius: 22px; }
.about-image img { position: relative; width: 75%; max-height: 320px; object-fit: contain; }
.about-copy p { color: var(--muted); }
.about-image--placeholder { border: 1px dashed var(--sand-dark); background: var(--cream-light); }
.placeholder-mark { position: relative; padding: 18px 24px; color: var(--muted); font-size: 14px; font-weight: 800; text-align: center; }
.scale-graphic { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 18px; margin: 36px 0 30px; padding: 22px 0; border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }
.scale-group { display: flex; flex-direction: column; gap: 13px; }
.scale-group strong { color: var(--cocoa); font-size: 12px; line-height: 1.5; }
.scale-bars { min-height: 148px; display: flex; align-items: end; gap: 7px; }
.scale-bars i { width: 12px; display: block; border-radius: 99px 99px 3px 3px; transform-origin: bottom; }
.scale-group--start .scale-bars i { height: 58px; background: var(--sand); }
.scale-group--end .scale-bars i { height: 136px; background: var(--red); transform: scaleY(0); transition: transform 320ms var(--ease); }
.scale-group--end .scale-bars i:nth-child(2) { transition-delay: 40ms; }
.scale-group--end .scale-bars i:nth-child(3) { transition-delay: 80ms; }
.scale-group--end .scale-bars i:nth-child(4) { transition-delay: 120ms; }
.scale-group--end .scale-bars i:nth-child(5) { transition-delay: 160ms; }
.scale-group--end .scale-bars i:nth-child(6) { transition-delay: 200ms; }
.scale-graphic.is-visible .scale-group--end .scale-bars i { transform: scaleY(1); }
.scale-rule { align-self: center; color: var(--wheat); font-size: 25px; }

/* ------------------------------------------------------- about redesign */

.about-ledger { padding: 120px 0; background: var(--cream-light); }
.about-ledger__grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(40px, 5vw, 84px); align-items: start; }
.about-ledger__copy h2 { max-width: 18ch; margin-bottom: 26px; font-size: clamp(30px, 3.6vw, 50px); }
.about-ledger__copy > p:not(.eyebrow) { max-width: 52ch; margin-bottom: 18px; color: var(--muted); font-size: 16px; line-height: 1.95; }
.about-ledger__link { display: inline-flex; align-items: center; gap: 10px; height: 50px; margin-top: 16px; padding: 0 24px; border: 1px solid var(--ink); color: var(--ink); font-size: 14px; font-weight: 900; transition: background 180ms ease, color 180ms ease; }
.about-ledger__link:hover { color: var(--cream-light); background: var(--ink); }
.about-timeline { border-top: 1px solid var(--ink); }
.about-timeline__row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 20px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--sand); }
.about-timeline__row > strong { color: var(--muted); font: 900 22px/1 var(--font-fa), sans-serif; }
.about-timeline__row--milestone > strong { color: var(--wheat); }
.about-timeline__row--now > strong { color: var(--red); }
.about-timeline__row b { display: block; font-size: 15px; font-weight: 900; line-height: 1.5; }
.about-timeline__row em { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; font-style: normal; line-height: 1.7; }
.about-timeline__bars { display: flex; align-items: flex-end; gap: 4px; height: 38px; }
.about-timeline__bars i { width: 9px; height: var(--bar-height); display: block; background: var(--sand); }
.about-timeline__row--milestone .about-timeline__bars i:nth-child(n+2) { background: var(--wheat); }
.about-timeline__row--now .about-timeline__bars i { background: var(--red); }
.about-timeline__facts { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--sand); }
.about-timeline__facts > span { padding: 22px 0; }
.about-timeline__facts > span + span { padding-inline-start: 22px; border-inline-start: 1px solid var(--sand); }
.about-timeline__facts small { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; font-weight: 900; }
.about-timeline__facts strong { font-size: 16px; font-weight: 900; }
.about-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 64px; }
.about-shots > span { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cocoa-deep); }
.about-shots img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.9); transition: transform 700ms var(--ease); }
.about-shots > span:hover img { transform: scale(1.05); }
.about-shots small { position: absolute; bottom: 9px; inset-inline-start: 11px; color: rgba(255,255,255,.9); font: 900 10px/1 var(--font-fa), sans-serif; }

/* ---------------------------------------------------------- image band */
/* Full-bleed responsive storytelling band with 3 slides and LTR mirroring */
.image-band { position: relative; height: clamp(520px, 72vh, 760px); overflow: hidden; color: var(--cocoa); background: var(--cocoa); }
.image-band__media { position: absolute; inset: 0; z-index: 0; background: url("assets/band/asraneh-lqip.webp") center / cover no-repeat; }
[dir="ltr"] .image-band__media { transform: scaleX(-1); }
.image-band__slide-media { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 800ms cubic-bezier(0.4, 0, 0.2, 1), visibility 800ms ease; }
.image-band__slide-media.is-active { opacity: 1; visibility: visible; }
.image-band__slide-media picture, .image-band__slide-media img { width: 100%; height: 100%; display: block; }
.image-band__slide-media img { object-fit: cover; transform: translate3d(0, 0, 0) scale(1.16); transform-origin: center; will-change: transform; }

.image-band__copy { position: absolute; z-index: 2; right: clamp(24px, 7vw, 110px); top: clamp(48px, 8vh, 108px); width: min(390px, 36vw); text-align: start; }
[dir="ltr"] .image-band__copy { right: auto; left: clamp(24px, 7vw, 110px); text-align: start; }
.image-band__slide-copy { display: none; }
.image-band__slide-copy.is-active { display: block; animation: bandCopyFadeIn 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes bandCopyFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.image-band__copy .eyebrow { color: var(--red-deep); margin-bottom: 8px; }
.image-band__copy h2 { color: var(--cocoa); margin-bottom: 12px; }
.image-band__copy p:last-of-type { margin-bottom: 0; color: rgba(69,35,26,.88); font-weight: 600; line-height: 1.8; }

.image-band__controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(69,35,26,0.16); }
.image-band__counter { display: inline-flex; align-items: baseline; gap: 4px; font-family: var(--font-fa), sans-serif; font-size: 14px; font-weight: 800; color: var(--cocoa); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
[dir="ltr"] .image-band__counter { font-family: var(--font-body), sans-serif; }
.image-band__counter-current { color: var(--red-deep); font-size: 18px; font-weight: 900; }
.image-band__counter-sep { opacity: 0.35; font-weight: 400; margin: 0 1px; }
.image-band__counter-total { opacity: 0.7; }

.image-band__dots { display: flex; align-items: center; gap: 7px; }
.image-band__dot { width: 8px; height: 8px; border-radius: 999px; border: none; padding: 0; background: rgba(69,35,26,0.22); cursor: pointer; transition: width 280ms var(--ease), background-color 280ms ease; }
.image-band__dot:hover { background: rgba(69,35,26,0.48); }
.image-band__dot.is-active { width: 24px; background: var(--red-deep); }

.image-band__nav { display: flex; align-items: center; gap: 8px; }
[dir="ltr"] .image-band__nav svg { transform: scaleX(-1); }
.image-band__btn { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1.5px solid rgba(69,35,26,0.24); border-radius: 50%; background: rgba(255,255,255,0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--cocoa); cursor: pointer; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms var(--ease); }
.image-band__btn:hover { background: var(--cocoa); color: var(--white); border-color: var(--cocoa); transform: scale(1.05); }
.image-band__btn:active { transform: scale(0.95); }

/* --------------------------------------------- credentials (نشان‌ها) */

.mark-group + .mark-group { margin-top: 62px; padding-top: 42px; border-top: 1px solid var(--sand-dark); }
.mark-group__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 26px; }
.mark-group__head h3 { margin: 0; font-size: 19px; }
.mark-group__head p { max-width: 460px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.mark-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mark-grid--cert { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mark-tile { min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 0; border: 0; background: transparent; text-align: start; cursor: zoom-in; }
.mark-tile--static { cursor: default; }
.mark-tile__frame { --mark-inset: 22px; position: relative; display: block; flex: 0 0 auto; width: 100%; min-width: 0; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--sand-dark); border-radius: 28px; background: var(--sand); transition: transform 380ms var(--ease), box-shadow 380ms var(--ease), border-color 260ms ease; }
.mark-grid--cert .mark-tile__frame { --mark-inset: 24px; aspect-ratio: 4 / 3; }
/* The bounded image box prevents intrinsic dimensions from expanding a grid row. */
.mark-tile__frame img { position: absolute; inset: var(--mark-inset); display: block; width: calc(100% - var(--mark-inset) - var(--mark-inset)); height: calc(100% - var(--mark-inset) - var(--mark-inset)); min-width: 0; min-height: 0; object-fit: contain; object-position: center; mix-blend-mode: multiply; }
.mark-tile:not(.mark-tile--static):hover .mark-tile__frame, .mark-tile:focus-visible .mark-tile__frame { transform: translateY(-4px); border-color: var(--sand-dark); box-shadow: 0 12px 24px rgba(69,35,26,.10); }
.mark-tile__zoom { position: absolute; inset-inline-end: 12px; bottom: 12px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--red); font-size: 16px; font-weight: 900; line-height: 1; opacity: 0; transform: scale(.6); transition: opacity 220ms ease, transform 280ms var(--ease); }
.mark-tile:hover .mark-tile__zoom, .mark-tile:focus-visible .mark-tile__zoom { opacity: 1; transform: scale(1); }
.mark-tile__caption { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: start; }
.mark-tile__caption small { color: var(--red); font: 900 10px/1.5 var(--font-body); }
[dir="rtl"] .mark-tile__caption small { font-family: var(--font-fa), sans-serif; letter-spacing: 0; }
.mark-tile__caption span { color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.5; }

/* --------------------------------------------------------------- factory */

.factory-layout { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 52px; }
.factory-copy { position: relative; z-index: 1; }
.factory-copy p:not(.eyebrow) { max-width: 440px; color: rgba(255,255,255,.76); }
.factory-hint { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; color: rgba(255,255,255,.5) !important; font-size: 12px; }
.factory-hint::before { content: "+"; width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; font-size: 12px; }
.factory-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 128px; gap: 10px; }
.factory-photo { position: relative; min-width: 0; min-height: 0; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: 16px; background: #24120e; cursor: zoom-in; }
.factory-photo--1 { grid-column: span 2; grid-row: span 2; }
.factory-photo img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.88); transition: transform 700ms var(--ease), filter 500ms ease; }
.factory-photo:hover img { transform: scale(1.055); filter: saturate(1.05); }
.factory-photo::after { content: ""; position: absolute; inset: 52% 0 0; background: rgba(22,10,7,.5); pointer-events: none; }
.factory-photo__num { position: absolute; z-index: 1; bottom: 10px; inset-inline-start: 12px; color: rgba(255,255,255,.86); font: 900 11px/1 var(--font-body); }
.factory-photo__zoom { position: absolute; z-index: 1; inset-inline-end: 10px; bottom: 10px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--cocoa); background: rgba(255,255,255,.94); font-size: 15px; font-weight: 900; line-height: 1; opacity: 0; transform: scale(.6); transition: opacity 220ms ease, transform 280ms var(--ease); }
.factory-photo:hover .factory-photo__zoom, .factory-photo:focus-visible .factory-photo__zoom { opacity: 1; transform: scale(1); }

/* -------------------------------------------------------------- lightbox */

.lightbox { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: clamp(18px, 5vw, 64px); background: rgba(23,14,10,.82); opacity: 0; backdrop-filter: blur(0); transition: opacity 260ms ease, backdrop-filter 340ms ease; }
.lightbox.is-open { opacity: 1; backdrop-filter: blur(10px); }
.lightbox__figure { margin: 0; max-width: min(1080px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 14px; transition: transform 420ms var(--ease), opacity 300ms ease; }
.lightbox__figure img { min-height: 0; max-height: calc(100vh - 190px); border-radius: 18px; object-fit: contain; background: rgba(255,255,255,.06); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.lightbox__figure figcaption { display: flex; align-items: center; justify-content: center; gap: 14px; color: rgba(255,255,255,.8); font-size: 13px; }
.lightbox__count { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.12); font-weight: 900; font-size: 11px; }
.lightbox__close { position: absolute; z-index: 2; top: 22px; inset-inline-end: 22px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; color: var(--white); background: rgba(255,255,255,.08); font-size: 22px; line-height: 1; transition: background 160ms ease; }
.lightbox__close:hover { background: rgba(255,255,255,.2); }
.lightbox__nav { position: absolute; z-index: 2; top: 50%; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: var(--white); background: rgba(255,255,255,.08); font-size: 20px; transform: translateY(-50%); transition: background 160ms ease, transform 220ms var(--ease); }
.lightbox__nav:hover { background: rgba(255,255,255,.22); }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }

/* ----------------------------------------------------------- export map */

.market-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 48px; }
.market-layout > * { min-width: 0; }
.market-directory { margin: 28px 0 32px; }
.market-group + .market-group { margin-top: 24px; }
.market-group h3 { margin: 0 0 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.market-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--sand-dark); }
.market-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding: 8px 0; border-bottom: 1px solid var(--sand); color: var(--cocoa); }
.market-row__name { font-size: 16px; font-weight: 800; }
.market-row__code { color: var(--muted); font: 600 12px/1 var(--font-body); letter-spacing: .08em; }

.market-map { position: relative; overflow: hidden; padding: 32px; border: 1px solid var(--sand); border-radius: 28px; color: var(--cocoa); background: var(--cream); }
.market-map__meta { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.market-map__meta div { display: flex; align-items: flex-end; gap: 9px; }
.market-map__meta strong { color: var(--red); font: 900 clamp(72px, 8vw, 112px)/.9 var(--font-display); }
.market-map__meta span { max-width: 100px; color: var(--muted); font-size: 12px; font-weight: 900; line-height: 1.3; }
.market-map__meta small { max-width: 190px; color: var(--muted); font-size: 14px; line-height: 1.65; text-align: end; }
.market-map figure { margin: 0; }
.market-map__region { padding-top: 28px; }
.market-map figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; color: var(--cocoa); font-size: 16px; font-weight: 800; }
.market-map figcaption small { color: var(--muted); font-size: 12px; font-weight: 500; }
.market-map__canvas { position: relative; aspect-ratio: 600 / 440; margin: 12px 0 24px; overflow: hidden; }
.market-map__svg { width: 100%; height: auto; display: block; }
.market-map__land path { fill: #e6dfd3; stroke: var(--cream); stroke-width: 1; }
.market-map__origin-land { fill: var(--cocoa); stroke: var(--cream); stroke-width: 1.2; }
.market-map__markets path { fill: var(--red); fill-opacity: .86; stroke: var(--cream); stroke-width: 1.2; }
.market-map__callouts path { fill: none; stroke: #806e62; stroke-width: 1; }
.market-map__callouts circle { fill: var(--cocoa); stroke: var(--cream); stroke-width: 1; }
.market-map__callouts text { fill: var(--cocoa); font-family: var(--font-fa), var(--font-body); font-size: 24px; font-weight: 800; paint-order: stroke; stroke: var(--cream); stroke-width: 6px; stroke-linejoin: round; }
.market-map__iran-label { fill: var(--cream); font-family: var(--font-fa), var(--font-body); font-size: 24px; font-weight: 800; }
.market-map__insets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 18px; border-top: 1px solid var(--sand-dark); }
.market-map__canvas--inset { aspect-ratio: 5 / 3; margin: 12px 0 18px; }
.market-map__fallback, .market-map__canvas.is-unavailable { color: var(--muted); font-size: 14px; }
.market-map__origin { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 16px; border-top: 1px solid var(--sand-dark); color: var(--muted); font-size: 12px; }
.market-map__origin span { display: inline-flex; align-items: center; gap: 8px; }
.market-map__origin i { width: 8px; height: 8px; background: var(--cocoa); }
.market-map__origin .market-map__key--destination { background: var(--red); }

/* --------------------------------------------------------- cta + catalogue */

.cta-band { padding: 88px 0; color: var(--white); background: var(--red); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { margin-bottom: 0; color: rgba(255,255,255,.86); }
.catalogue { background: var(--cream); }
.catalogue .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.catalogue .section-head { margin-bottom: 0; }

/* Sharp-corner partnership and catalogue blocks from the redesign reference. */
.partner-section { color: var(--white); background: var(--red); }
.partner-section__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 4vw, 72px); padding: 100px 0; }
.partner-section__copy > p { margin: 0 0 14px; color: rgba(255,255,255,.7); font: 900 11px/1 var(--font-fa), sans-serif; letter-spacing: .08em; }
.partner-section__copy h2 { max-width: 15ch; margin-bottom: 16px; font-size: clamp(30px, 3.6vw, 48px); }
.partner-section__copy > div { max-width: 40ch; margin-bottom: 32px; color: rgba(255,255,255,.86); font-size: 16px; line-height: 1.85; }
.partner-section__copy > a { display: inline-flex; align-items: center; height: 54px; padding: 0 28px; color: var(--red); background: var(--white); font-size: 16px; font-weight: 900; transition: background 160ms ease; }
.partner-section__copy > a:hover { background: var(--cream); }
.partner-steps { border-top: 1px solid rgba(255,255,255,.28); }
.partner-steps > div { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; align-items: start; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.24); }
.partner-steps strong { color: rgba(255,255,255,.62); font: 900 20px/1 var(--font-fa), sans-serif; }
.partner-steps b { display: block; font-size: 17px; font-weight: 900; line-height: 1.4; }
.partner-steps em { display: block; margin-top: 6px; color: rgba(255,255,255,.76); font-size: 13.5px; font-style: normal; line-height: 1.8; }
.catalogue-feature { color: var(--white); background: var(--cocoa-deep); }
.catalogue-feature__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 4vw, 64px); align-items: center; padding: 88px 0; }
.catalogue-collage { position: relative; display: flex; gap: 2px; }
.catalogue-collage__main { flex: 1; display: grid; place-items: center; aspect-ratio: 3 / 4; padding: 26px; background: var(--red); }
.catalogue-collage__main img { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(46,22,16,.4)); }
.catalogue-collage__side { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.catalogue-collage__side > span { flex: 1; display: grid; place-items: center; padding: 18px; background: var(--cocoa); }
.catalogue-collage__side > span:last-child { background: #3a1c14; }
.catalogue-collage__side img { width: 100%; height: auto; object-fit: contain; }
.catalogue-feature__copy > p { margin: 0 0 14px; color: var(--red-soft); font: 900 11px/1 var(--font-fa), sans-serif; letter-spacing: .08em; }
.catalogue-feature__copy h2 { max-width: 16ch; margin-bottom: 14px; color: var(--white); font-size: clamp(28px, 3.2vw, 44px); }
.catalogue-feature__copy > div { max-width: 42ch; margin-bottom: 28px; color: rgba(255,246,234,.74); font-size: 15px; line-height: 1.85; }
.catalogue-feature__copy dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 28px; border-top: 1px solid rgba(255,246,234,.22); border-bottom: 1px solid rgba(255,246,234,.22); }
.catalogue-feature__copy dl > div { padding: 16px 0; }
.catalogue-feature__copy dl > div + div { padding-inline-start: 18px; border-inline-start: 1px solid rgba(255,246,234,.18); }
.catalogue-feature__copy dt { margin-bottom: 6px; color: rgba(255,246,234,.5); font-size: 10px; font-weight: 900; }
.catalogue-feature__copy dd { margin: 0; font-size: 14px; font-weight: 900; }
.catalogue-feature__copy > a { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 28px; color: var(--cocoa-deep); background: var(--cream); font-size: 15px; font-weight: 900; transition: background 160ms ease; }
.catalogue-feature__copy > a:hover { background: var(--white); }

/* --------------------------------------------------------- single enquiry */

.enquiry { background: var(--cream-light); }
.enquiry-card { max-width: 980px; margin: 0 auto; padding: 34px; border: 1px solid var(--sand); border-radius: 30px; background: var(--white); box-shadow: var(--shadow); }
.enquiry-card__head { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 30px; padding-bottom: 26px; border-bottom: 1px solid var(--sand); }
.enquiry-card__intro h2 { margin-bottom: 10px; font-size: clamp(26px, 3vw, 36px); }
.enquiry-card__intro p { max-width: 460px; margin: 0; font-size: 14px; }
.mode-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border: 1px solid var(--sand); border-radius: 18px; background: var(--cream); }
.mode-switch__btn { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 11px 14px; border: 0; border-radius: 14px; color: var(--muted); background: transparent; text-align: start; transition: color 180ms ease, background 200ms ease, box-shadow 200ms ease; }
.mode-switch__btn strong { font-size: 14px; }
.mode-switch__btn small { font-size: 11px; line-height: 1.4; opacity: .82; }
.mode-switch__btn:hover { color: var(--ink); }
.mode-switch__btn.is-active { color: var(--white); background: var(--red); box-shadow: var(--shadow-red); }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--muted); font-size: 12px; font-weight: 900; }
.field label span { color: var(--red); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--sand-dark); border-radius: 14px; color: var(--ink); background: var(--cream-light); outline: 0; transition: border-color 160ms ease, box-shadow 160ms ease; }
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(237,10,76,.14); }
.field :is(input, select, textarea)[aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179,38,30,.12); }
.field__error { min-height: 16px; color: #9f1e18; font-size: 11px; font-weight: 700; line-height: 1.4; }
.form-trap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.enquiry-card__actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.check { display: flex; gap: 9px; align-items: flex-start; max-width: 520px; color: var(--muted); font-size: 13px; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); }
.check input[aria-invalid="true"] { outline: 2px solid #b3261e; outline-offset: 2px; }
.check__error { display: block; margin-top: 5px; }
.form-status { margin: 18px 0 0; padding: 12px 14px; border-radius: 14px; font-size: 14px; font-weight: 800; line-height: 1.6; }
.form-status--success { color: #145d34; background: #eaf7ef; }
.form-status--error { color: #8c1d18; background: #fceceb; }
.enquiry-card__actions .btn:disabled { cursor: not-allowed; opacity: .48; box-shadow: none; transform: none; }
[aria-busy="true"] .enquiry-card__actions .btn:disabled { cursor: wait; opacity: .72; box-shadow: var(--shadow-red); }
.submit-spinner { display: none; width: 17px; height: 17px; margin-inline-start: 9px; border: 2px solid rgba(255,255,255,.45); border-top-color: var(--white); border-radius: 50%; animation: submit-spin 700ms linear infinite; }
[aria-busy="true"] .submit-spinner { display: inline-block; }
@keyframes submit-spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------- contact */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { padding: 28px; border: 1px solid var(--sand); border-radius: 28px; background: var(--white); }
.contact-card h3 { margin-bottom: 13px; }
.contact-card p { margin-bottom: 7px; color: var(--muted); font-size: 14px; }
.contact-card strong { color: var(--ink); }

/* ---------------------------------------------------------------- footer */

.footer { padding: 60px 0 30px; color: var(--cream); background: var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1.1fr .9fr; align-items: start; gap: 34px; }
.footer h3 { margin-bottom: 14px; color: var(--white); font-size: 16px; }
.footer p, .footer a { color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.85; }
.footer a:hover { color: var(--white); }
/* Explicit intrinsic sizing; the footer marks must never be stretched. */
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-logo { width: 148px; height: auto; flex: 0 0 auto; display: block; object-fit: contain; object-position: center; filter: none; }
.footer-brand p { max-width: 340px; margin: 0; }
.footer-parent { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.footer-parent img { width: 62px; height: auto; display: block; flex: 0 0 auto; object-fit: contain; filter: brightness(0) invert(1); }
.footer-parent span { color: rgba(255,255,255,.56); font-size: 11px; line-height: 1.5; }
.footer-links { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 46px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.5); font-size: 12px; }

/* ------------------------------------------------------- product detail */

.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; background: rgba(23,18,15,.5); opacity: 0; backdrop-filter: blur(0); transition: opacity 260ms ease, backdrop-filter 340ms ease; }
.modal-backdrop.is-open { opacity: 1; backdrop-filter: blur(8px); }
.modal { position: relative; width: min(1100px, 100%); height: min(700px, calc(100vh - 64px)); display: flex; flex-direction: column; gap: 18px; overflow: hidden; padding: 30px; border-radius: 40px; background: var(--white); opacity: 0; transform: translateY(28px) scale(.972); transition: transform 460ms var(--ease), opacity 280ms ease; }
.modal-backdrop.is-open .modal { opacity: 1; transform: none; }
.modal-close { position: absolute; z-index: 2; top: 18px; inset-inline-end: 18px; width: 40px; height: 40px; border: 1px solid var(--sand); border-radius: 50%; color: var(--ink); background: var(--white); font-size: 20px; transition: color 160ms ease, background 160ms ease, border-color 160ms ease; }
.modal-close:hover { color: var(--white); background: var(--red); border-color: var(--red); }
.detail { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 36px; align-items: start; }
.detail-media { position: sticky; top: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.detail-image { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 26px; background: var(--cream); }
.detail-image img { width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 24px 36px rgba(69,35,26,.22)); transition: opacity 160ms ease; }
.detail-category { position: absolute; top: 16px; inset-inline-start: 16px; padding: 6px 12px; border-radius: 999px; color: var(--cocoa); background: var(--white); font-size: 11px; font-weight: 900; }
.variant-group { display: flex; flex-direction: column; gap: 8px; }
.variant-group > span { color: var(--muted); font-size: 11px; font-weight: 800; }
.variant-row { display: flex; flex-wrap: wrap; gap: 8px; }
.variant { display: flex; min-height: 46px; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border: 1px solid var(--sand-dark); border-radius: 999px; color: var(--muted); background: var(--white); font-family: inherit; font-size: 12px; font-weight: 800; white-space: nowrap; transition: color 160ms ease, border-color 160ms ease, transform 200ms var(--ease); }
[dir="rtl"] .variant { padding: 5px 5px 5px 12px; }
.variant img { width: 34px; height: 34px; flex: none; object-fit: contain; }
.variant:hover, .variant.active { color: var(--red); border-color: var(--red); transform: translateY(-2px); }
.detail-body { display: flex; min-width: 0; height: 100%; min-height: 0; flex-direction: column; }
.detail-kicker { margin: 0 0 10px; color: var(--red); font-size: 12px; font-weight: 900; }
.detail-body h2 { margin: 0 0 12px; padding-inline-end: 56px; font-size: clamp(30px, 3vw, 38px); line-height: 1.14; }
.detail-intro { max-width: 46ch; margin: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.detail-tabs { display: flex; flex: none; gap: 26px; border-bottom: 1px solid var(--sand-dark); }
.detail-tabs button { position: relative; padding: 0 0 12px; border: 0; color: var(--muted); background: transparent; font-family: inherit; font-size: 14px; font-weight: 900; transition: color 160ms ease; }
.detail-tabs button::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: transparent; }
.detail-tabs button:hover, .detail-tabs button.active { color: var(--ink); }
.detail-tabs button.active::after { background: var(--red); }
.detail-panels { flex: 1; min-height: 0; padding-top: 20px; overflow-y: auto; }
.detail-panel[hidden] { display: none; }
.specs { display: flex; flex-direction: column; }
.spec { min-width: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--sand); }
.spec span { flex: none; color: var(--muted); font-size: 13px; font-weight: 700; }
.spec strong { min-width: 0; font-size: 15px; font-weight: 800; text-align: end; }
.ingredients-copy { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.95; }
.ingredient-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.ingredient-notes > div { padding: 16px 18px; border: 1px solid var(--sand-dark); border-radius: 18px; background: var(--cream-light); }
.ingredient-notes span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 800; }
.ingredient-notes strong { font-size: 13px; font-weight: 800; line-height: 1.6; }
.modal-footer { flex: none; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 22px; border-radius: 18px; color: var(--cream); background: var(--red); font-size: 12px; font-weight: 800; }
.modal-footer a { color: var(--cream); font-weight: 900; }

/* --------------------------------------------------------- nutrition panel */

.nutri { height: 100%; display: flex; flex-direction: column; padding: 12px; border: 1px solid var(--sand); border-radius: 28px; background: var(--sand); }
.nutri__head { min-height: 40px; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 12px; border-radius: 12px; color: var(--white); background: var(--cocoa); }
.nutri__title { font-size: 12px; font-weight: 900; }
.nutri__key { display: flex; align-items: center; gap: 8px; }
.nutri__key span { display: inline-flex; align-items: center; gap: 4px; color: rgba(255,255,255,.8); font-size: 9px; font-weight: 800; }
.nutri__square { width: 9px; height: 9px; display: inline-block; border-radius: 2px; }
.nutri__square--low { background: var(--nutri-low); }
.nutri__square--mid { background: var(--nutri-mid); }
.nutri__square--high { background: var(--nutri-high); }
.nutri__body { flex: 1; display: grid; grid-template-columns: 104px 1fr; gap: 10px; min-height: 0; margin-top: 10px; }
.nutri__aside { display: flex; flex-direction: column; gap: 10px; }
.nutri__energy { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 6px; border-radius: 16px; color: var(--cocoa); background: var(--white); text-align: center; }
.nutri__energy strong { font-size: 30px; font-weight: 900; line-height: 1; }
.nutri__energy span { margin-top: 5px; font-size: 10px; font-weight: 800; }
.nutri__energy small { margin-top: 12px; color: var(--muted); font-size: 9px; font-weight: 700; }
.nutri__fdo { min-height: 74px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 16px; color: var(--cocoa); background: var(--cream); text-align: center; }
.nutri__fdo strong { font: 900 15px/1 var(--font-body); }
.nutri__fdo span { font-size: 9px; font-weight: 800; }
.nutri__rows { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nutri__row { flex: 1; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px 6px 12px; border-radius: 14px; }
.nutri__row--low { color: var(--white); background: var(--nutri-low); }
.nutri__row--mid { color: var(--ink); background: var(--nutri-mid); }
.nutri__row--high { color: var(--white); background: var(--nutri-high); }
.nutri__label { min-width: 0; font-size: 11px; font-weight: 800; line-height: 1.25; }
.nutri__value { display: inline-flex; align-items: baseline; gap: 3px; flex: none; padding: 5px 8px; border-radius: 999px; color: var(--ink); background: var(--white); font-size: 13px; font-weight: 900; white-space: nowrap; }
.nutri__value small { color: var(--muted); font-size: 8px; font-weight: 500; }
.nutri__foot { flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-top: 10px; }
.nutri__code { flex: none; color: rgba(23,18,15,.4); font-size: 8px; font-weight: 700; }
.nutri__code b { color: var(--muted); }
.nutri__source { margin: 0; color: rgba(23,18,15,.35) !important; font-size: 8px !important; line-height: 1.45; text-align: end; }
.nutri-pending { color: var(--muted); font-size: 13px; }

/* The 1c modal uses the nutrition label as one focused tab rather than a
   third permanent column. */
.detail-panel .nutri { height: auto; gap: 14px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.detail-panel .nutri__body { flex: none; grid-template-columns: 132px 1fr; gap: 14px; margin: 0; }
.detail-panel .nutri__energy { min-height: 160px; padding: 18px 10px; border: 1px solid var(--sand-dark); border-radius: 20px; background: var(--cream-light); }
.detail-panel .nutri__energy strong { font-size: 34px; }
.detail-panel .nutri__rows { gap: 8px; }
.detail-panel .nutri__row { min-height: 0; padding: 9px 14px; }
.detail-panel .nutri__foot { align-items: center; padding-top: 12px; border-top: 1px solid var(--sand); }
.detail-panel .nutri__key span { color: var(--muted); font-size: 10px; }
.detail-panel .nutri__code { font-size: 10px; }
.detail-panel .nutri__source { font-size: 10px !important; text-align: start; }

/* ----------------------------------------------------------------- misc */

.toast { position: fixed; z-index: 70; bottom: 24px; inset-inline-start: 24px; max-width: 360px; padding: 16px 20px; border-radius: 18px; color: var(--white); background: var(--cocoa); box-shadow: 0 20px 40px -18px rgba(69,35,26,.7); opacity: 0; transform: translateY(14px); transition: opacity 280ms ease, transform 320ms var(--ease); }
.toast.is-open { opacity: 1; transform: translateY(0); }

.go-top { position: fixed; z-index: 30; inset-inline-end: 24px; bottom: 24px; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; color: var(--cream); background: var(--cocoa); box-shadow: 0 12px 24px -12px rgba(69,35,26,.4); visibility: hidden; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 200ms ease, transform 320ms var(--ease), visibility 200ms, background 180ms ease; }
.go-top__icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.go-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-width: 2; pointer-events: none; transform: rotate(-90deg); }
.go-top__track { stroke: rgba(255,246,234,.22); }
.go-top__progress { stroke: var(--red); stroke-linecap: round; transition: stroke-dashoffset 100ms linear; }
.go-top.is-visible { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
.go-top:hover, .go-top:focus-visible { background: var(--cocoa-deep); transform: translateY(-2px); }


.reveal-target { opacity: 0; transform: translateY(20px); transition: opacity 520ms var(--ease), transform 520ms var(--ease); }
.reveal-target.is-visible { opacity: 1; transform: translateY(0); }
.factory-photo.reveal-target, .mark-tile.reveal-target { transform: translateY(14px) scale(.985); }
.factory-photo.reveal-target.is-visible, .mark-tile.reveal-target.is-visible { transform: translateY(0) scale(1); }
.factory-photo:nth-child(2), .mark-tile:nth-child(2) { transition-delay: 70ms; }
.factory-photo:nth-child(3), .mark-tile:nth-child(3) { transition-delay: 110ms; }
.factory-photo:nth-child(4), .mark-tile:nth-child(4) { transition-delay: 150ms; }
.factory-photo:nth-child(5), .mark-tile:nth-child(5) { transition-delay: 190ms; }
.factory-photo:nth-child(6), .mark-tile:nth-child(6) { transition-delay: 230ms; }
.factory-photo:nth-child(7), .mark-tile:nth-child(7) { transition-delay: 270ms; }
.factory-photo:nth-child(8), .mark-tile:nth-child(8) { transition-delay: 310ms; }

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes nav-in {
  to { opacity: 1; transform: translateY(0); }
}

/* Later component font shorthands otherwise override the page-level RTL face. */
[dir="rtl"] .navlinks__list a small,
[dir="rtl"] .mark-tile__caption small,
[dir="rtl"] .factory-photo__num,
[dir="rtl"] .market-map__meta strong {
  font-family: var(--font-fa), sans-serif;
  font-variant-numeric: normal;
  letter-spacing: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-target { opacity: 1; transform: none; }
  .navlinks__list a { opacity: 1; transform: none; }
}

@media (max-width: 1200px) {
  .stats { display: block; }
  .stats-intro { padding: 24px 0 16px; }
  .stats-intro p { max-width: 52ch; }
  .stats-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat { grid-template-columns: minmax(0, 1fr); padding: 22px 16px; }
  .stat strong { font-size: 38px; }
  .stat .stat__label { grid-row: 2; }
}

@media (max-width: 1080px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .enquiry-card__head { grid-template-columns: 1fr; }
  .mode-switch { align-self: start; }
}

/* On compact screens, scroll the whole product detail instead of shrinking its tab panel. */
@media (max-width: 1100px), (max-height: 700px) {
  .detail-media { position: static; }
  .detail-body { height: auto; min-height: auto; }
  .detail-panels { flex: none; min-height: auto; overflow: visible; }
}

@media (max-width: 1100px) {
  /* Below the desktop breakpoint the modal is a bottom sheet: one column,
     scrolling allowed. The no-scroll rule is desktop-only by design. */
  .modal { width: 100%; max-height: calc(100vh - 48px); padding: 32px 32px 24px; }
  .detail { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); }
  .modal-footer { margin-top: 0; }
}




@media (max-width: 980px) {
  .nav { padding: 12px 0; }
  .split, .factory-layout, .market-layout, .about-ledger__grid, .partner-section__grid, .catalogue-feature__grid { grid-template-columns: 1fr; }
  .navlinks { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 32px; padding-inline: 24px; }
  .image-band__copy { top: clamp(36px, 6vh, 72px); width: min(420px, calc(100% - 48px)); }
  .process-band__inner { padding-block: 52px; }
  .about-ledger { padding: 84px 0; }
  .about-shots { margin-top: 44px; }
  .partner-section__grid, .catalogue-feature__grid { padding-block: 76px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-image { min-height: 320px; }
  .factory-gallery { grid-auto-rows: 112px; }
  .mark-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-media { position: static; }
}

@media (max-width: 680px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .section, .product-panel { padding: 64px 0; }
  .nav { gap: 8px; }
  .logo { width: 118px; }
  .process-band { height: clamp(520px, 82vh, 700px); }
  .process-band__inner { align-items: flex-start; padding-top: 42px; }
  .process-band__copy { max-width: none; }
  .process-band__copy h2 { font-size: clamp(30px, 8vw, 42px); }
  .stats { min-height: 0; display: block; }
  .stats-intro { padding: 24px 0 8px; }
  .stats-intro p { max-width: 420px; }
  .stats-list { grid-template-columns: repeat(2, 1fr); padding-bottom: 10px; }
  .stat { min-height: 78px; padding: 16px 8px; }
  .stat:nth-child(odd) { border-inline-start: 0; }
  .stat strong { font-size: 28px; }
  .stat span { font-size: 12px; }
  .section-head, .cta-band .wrap, .catalogue .wrap, .mark-group__head { align-items: flex-start; flex-direction: column; }
  .about-ledger { padding: 64px 0; }
  .about-timeline__row { grid-template-columns: 58px minmax(0, 1fr); gap: 12px; }
  .about-timeline__bars { grid-column: 2; height: 30px; margin-top: -6px; }
  .about-shots { grid-template-columns: repeat(2, 1fr); margin-top: 36px; }
  .partner-section__grid, .catalogue-feature__grid { gap: 42px; padding-block: 64px; }
  .category-grid, .product-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .mark-grid, .mark-grid--cert { grid-template-columns: repeat(2, 1fr); }
  .category-card__content { padding: 0 16px 20px; }
  .product-card__image { padding: 16px; }
  .product-card__body { padding: 14px; }
  .product-card__title { font-size: 16px; }
  .enquiry-card { padding: 22px; }
  .form-grid, .detail, .footer-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .mode-switch { width: 100%; flex-direction: column; }
  .mode-switch__btn { min-width: 0; }
  .enquiry-card__actions { align-items: stretch; flex-direction: column; }
  .enquiry-card__actions .btn { width: 100%; }
  .detail { display: block; }
  .detail-media { margin-bottom: 28px; }
  .detail-image { min-height: 0; }
  .detail-body h2 { padding-inline-end: 0; font-size: 28px; }
  .modal { padding: 20px; border-radius: 28px; }
  .detail-tabs { gap: 18px; overflow-x: auto; }
  .detail-tabs button { flex: none; }
  .ingredient-notes { grid-template-columns: 1fr; }
  .detail-panel .nutri__body { grid-template-columns: 1fr; }
  .detail-panel .nutri__energy { min-height: 138px; }
  .detail-panel .nutri__foot { align-items: flex-start; flex-direction: column; }
  .modal-footer { align-items: flex-start; flex-direction: column; gap: 10px; padding: 14px 18px; }
  /* The mobile source keeps its empty wall at the TOP, so the copy moves up. */
  .image-band { height: clamp(520px, 82vh, 700px); }
  .image-band__copy, [dir="ltr"] .image-band__copy { top: 28px; bottom: auto; right: 20px; left: 20px; width: auto; transform: none; }
  .image-band__controls { margin-top: 16px; padding-top: 14px; }
  .nutri { padding: 14px; }
  .nutri__aside { flex-direction: column; }
  .footer-bottom { flex-direction: column; }
  .navlinks { display: flex; flex-direction: column; justify-content: flex-start; gap: 4px; padding: 100px 24px 28px; overflow-y: auto; }
  .navlinks__aside { gap: 14px; padding: 0; border: 0; }
  .navlinks__aside strong { max-width: 320px; font-size: 23px; }
  .navlinks__contact { flex-direction: row; flex-wrap: wrap; gap: 6px 16px; padding-top: 14px; font-size: 12px; }
  .navlinks__list a { padding: 12px 0; }
  .navlinks__list a strong { font-size: 20px; }
  .navlinks__list a em { display: none; }
  .navlinks__foot { margin-top: 20px; }
  .range-tabs { grid-template-columns: repeat(3, minmax(max-content, 1fr)); }
  .range-tabs button { padding: 16px 6px; }
  .range-tabs button:nth-child(4) { border-inline-start: 0; }
  .range-tabs button:nth-child(n+4) { border-top: 1px solid var(--sand); }
  .market-map { padding: 20px 18px 16px; }
  .market-map__callouts text, .market-map__iran-label { font-size: 30px; }
  .market-map__meta small { max-width: 150px; }
  .go-top { inset-inline-end: 16px; bottom: 16px; width: 46px; height: 46px; }
  .factory-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 138px; }
  .factory-photo--1 { grid-column: span 2; grid-row: span 2; }
  .lightbox__nav--prev { left: 12px; }
  .lightbox__nav--next { right: 12px; }
  .lightbox__figure img { max-height: calc(100vh - 230px); }
}

@media (max-width: 420px) {
  .logo--header { width: 92px; }
  .actions { gap: 6px; }
  .lang { gap: 0; height: 44px; padding: 3px; }
  .lang button { min-width: 34px; padding-inline: 7px; }
  .menu-toggle { width: 44px; height: 44px; }
  .menu-toggle i { left: 12px; }
  .menu-toggle i:nth-of-type(1) { top: 14px; }
  .menu-toggle i:nth-of-type(2) { top: 21px; }
  .menu-toggle i:nth-of-type(3) { top: 28px; }

  .product-grid, .contact-grid, .mark-grid, .mark-grid--cert { grid-template-columns: 1fr; }
  .category-card__image { aspect-ratio: 1.5; }
}

/* Compact catalogue and enquiry layout. */
@media (max-width: 680px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .category-card__content { min-width: 0; padding: 0 12px 18px; }
  .category-card__tag { min-height: 2.8em; line-height: 1.4; margin-bottom: 8px; }
  .category-card h3 { font-size: 18px; }
  .category-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; }
  .category-card:last-child .category-card__content { padding: 18px 12px; }
  .category-card:last-child .category-card__tag { min-height: 0; }
  .mode-switch { width: 100%; }
  .mode-switch__btn { padding: 10px 8px; }
  .mode-switch__btn strong { font-size: 13px; }
  .market-map__insets { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .market-map__insets figure { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 12px; align-items: center; }
  .market-map__insets figcaption { flex-direction: column; align-items: flex-start; }
  .market-map__canvas--inset { margin: 0; }
}

/* Direct manipulation: the drag layer interpolates across as many products as the gesture covers. */
.hero-drag-layer { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.hero-shots.is-direct-drag .hero-reel > .hero-product { opacity: 0; transition: none; }
.hero-shots.is-ready .hero-drag-product { transition: none; pointer-events: none; }
.hero-shots.is-direct-drag .hero-reel { cursor: grabbing; }
.hero-drag-product img { animation: none; }

/* Opening cinema — reference 1a; existing topbar and hero styling stays intact. */
.opening-scene { position: relative; isolation: isolate; }
.opening-scene > .hero { position: relative; z-index: 2; box-shadow: 0 -40px 80px -30px rgba(0,0,0,.5); }
.opening { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 480px; overflow: hidden; background: #16100c; color: #fff; touch-action: pan-y pinch-zoom; }
.opening__media, .opening__slide, .opening__shade, .opening__dim { position: absolute; inset: 0; }
.opening__media { transform: scale(var(--opening-scale, 1)); transform-origin: 50% 40%; }
.opening__slide { overflow: hidden; opacity: 0; transition: opacity 1100ms ease; }
.opening__slide.is-active { opacity: 1; }
.opening__slide img { display: block; width: 100%; height: 100%; object-fit: cover; animation: opening-zoom 7200ms linear both; animation-play-state: paused; }
.opening__slide.is-active img { animation-play-state: running; }
.opening__slide:not(.is-active) img { animation: none; }
.opening.is-paused .opening__slide img { animation-play-state: paused; }
.opening__shade { pointer-events: none; background: linear-gradient(180deg, rgba(22,16,12,.32), transparent 34%, rgba(22,16,12,.55)); }
.opening__dim { pointer-events: none; background: #16100c; opacity: var(--opening-dim, 0); }
.opening__caption { position: absolute; inset-inline-start: clamp(24px, 4.75vw, 80px); bottom: 112px; max-width: min(620px, calc(100% - 48px)); transform: translateY(var(--opening-caption-y, 0px)); opacity: var(--opening-caption-opacity, 1); text-shadow: 0 6px 26px rgba(0,0,0,.4); pointer-events: none; }
.opening__caption p { margin: 0 0 12px; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.88); }
.opening__caption p::before { content: ""; flex: 0 0 28px; height: 1px; background: #ff7b9d; }
.opening__caption strong { display: block; font-size: clamp(30px, 3.9vw, 56px); font-weight: 900; line-height: 1.3; letter-spacing: -.03em; }
.opening__controls { position: absolute; inset-inline: clamp(24px, 4.75vw, 80px); bottom: max(32px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 26px; }
.opening__progress { display: flex; flex: 1; gap: 8px; min-width: 0; }
.opening__progress button { flex: 1; min-width: 0; height: 44px; padding: 0; border: 0; background: transparent; }
.opening__progress span { display: block; height: 3px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.32); }
.opening__progress i { display: block; width: 0; height: 100%; background: #fff; }
.opening__arrows { display: flex; gap: 10px; flex-shrink: 0; }
.opening__arrows button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #fff; background: rgba(22,16,12,.28); font-family: sans-serif; }
.opening__arrows button:hover { background: #e60018; border-color: #e60018; }
.opening__arrows svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.opening :where(button, a):focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.opening__cue { position: absolute; left: calc(50% - 22px); bottom: 210px; width: 44px; height: 44px; display: grid; place-items: center; font: 28px/1 sans-serif; opacity: var(--opening-cue-opacity, 1); animation: opening-cue 1.9s ease-in-out infinite; }
@keyframes opening-zoom { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes opening-cue { 0%, 100% { translate: 0 0; } 50% { translate: 0 7px; } }
@media (max-width: 600px) {
  .opening__controls { gap: 16px; inset-inline: 20px; bottom: max(24px, env(safe-area-inset-bottom)); }
  .opening__arrows { gap: 6px; }
  .opening__caption { inset-inline-start: 24px; bottom: 100px; }
  .opening__cue { bottom: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  .opening { position: relative; }
  .opening__slide { transition: none; }
  .opening__slide img, .opening__cue { animation: none; }
}
