/* Zeidan Agricultural (Z LAND) — site styles. Palette from the client's logo: dark green #007A3A, leaf #5BC236,
   on a wheat-cream base with a deep forest green for dark bands. */
:root {
  --forest: #0b3d22;
  --forest-2: #0f4d2b;
  --green: #007a3a;
  --green-ink: #006630;
  --leaf: #5bc236;
  --leaf-2: #8fdc68;
  --leaf-soft: #e6f5dc;
  --wheat: #e3b448;
  --wheat-soft: #f6ead0;
  --cream: #f7f5ec;
  --sand: #ece6d4;
  --card: #ffffff;
  --ink: #15241a;
  --ink-2: #34463a;
  --muted: #5f6f63;
  --line: #e1ddcf;
  --danger: #c0392b;
  --wa: #1fa855;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgb(11 61 34 / .06), 0 2px 8px rgb(11 61 34 / .06);
  --shadow: 0 10px 30px -12px rgb(11 61 34 / .25), 0 4px 10px -6px rgb(11 61 34 / .12);
  --shadow-lg: 0 30px 60px -20px rgb(11 61 34 / .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --f-head: 'Alexandria', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --f-body: 'IBM Plex Sans Arabic', 'Alexandria', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hdr-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 20px); }
body { margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--cream); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.25; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 24px; }
.num, bdi[dir="ltr"] { font-variant-numeric: tabular-nums; }

.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }
[dir="rtl"] .flip-rtl, [dir="ltr"] .flip-ltr { transform: scaleX(-1); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.2; border: 1.5px solid transparent; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { min-height: 54px; padding: 12px 26px; font-size: 16px; }
.btn--leaf { background: var(--green); color: #fff; box-shadow: 0 8px 20px -10px rgb(0 122 58 / .8); }
.btn--leaf:hover { background: var(--green-ink); box-shadow: 0 12px 26px -10px rgb(0 122 58 / .9); }
.btn--glass { background: rgb(255 255 255 / .14); color: #fff; border-color: rgb(255 255 255 / .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgb(255 255 255 / .24); }
.btn--ghost { background: transparent; color: var(--green); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green); background: var(--leaf-soft); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178f47; }
.btn:disabled { opacity: .6; pointer-events: none; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--ink); transition: background .2s, transform .2s; }
.icon-btn:hover { background: var(--leaf-soft); }
.icon-btn--glass { color: #fff; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .3); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.icon-btn--glass:hover { background: rgb(255 255 255 / .28); }
.count-badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--wheat); color: var(--forest); font: 700 12px/22px var(--f-body); text-align: center; }
.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.15); } 60% { transform: scale(.95); } }

.kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--f-head); color: var(--green); background: var(--leaf-soft); padding: 8px 14px; border-radius: 999px; margin-bottom: 14px; }
.kicker .i { color: var(--leaf); }
.kicker--light { color: var(--leaf-2); background: rgb(255 255 255 / .08); }
.sec-head { max-width: 720px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: var(--forest); }
.sec-head__p { color: var(--muted); font-size: 17px; margin-top: 12px; }
.sec-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section { padding-block: 96px; position: relative; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 12px 0 auto; z-index: 50; pointer-events: none; }
.hdr__in { pointer-events: auto; height: var(--hdr-h); display: flex; align-items: center; gap: 20px; background: rgb(255 255 255 / .94); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-radius: 22px; box-shadow: var(--shadow); padding-inline: 14px 18px; max-width: 1240px; width: calc(100% - 32px); transition: height .3s var(--ease), border-radius .3s; }
.hdr.is-scrolled .hdr__in { height: 64px; border-radius: 18px; }
/* name strip above the header pill: «مؤسسة زيدان الزراعية» + both numbers with what they are for (client request 2026-10-22) */
.hdr__top { pointer-events: auto; max-width: 1240px; width: calc(100% - 32px); margin: 0 auto 8px; padding: 7px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 999px; background: rgb(11 61 34 / .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: 14px; max-height: 60px; overflow: hidden; transition: max-height .35s var(--ease), opacity .3s, margin .35s, padding .35s; }
.hdr__name { display: flex; align-items: center; gap: 8px; margin: 0; font: 800 16px/1.3 var(--f-head); letter-spacing: .01em; white-space: nowrap; }
.hdr__name .i { width: 18px; height: 18px; color: var(--wheat, #E3B448); }
.hdr__nums { display: flex; gap: 18px; margin: 0; flex-wrap: wrap; justify-content: flex-end; }
.hdr__nums a { display: inline-flex; align-items: baseline; gap: 6px; font-weight: 700; white-space: nowrap; }
.hdr__nums a span { font-weight: 500; color: rgb(255 255 255 / .72); font-size: 12.5px; }
.hdr__nums a:hover { color: var(--leaf-2); }
.hdr.is-scrolled .hdr__top { max-height: 0; opacity: 0; margin-bottom: 0; padding-block: 0; }
.res__phone-in { display: inline-flex; flex-direction: column; line-height: 1.25; }
.res__phone-in small { font: 600 13px/1.3 var(--f-body); color: rgb(255 255 255 / .7); }
.visit__plabel { font-weight: 500; color: var(--muted); font-size: 14px; }
.foot__phone small { font-weight: 500; font-size: 12.5px; opacity: .7; margin-inline-start: 4px; }
.pc__vars { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.pc__vars b { color: var(--green); font-weight: 700; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { width: 48px; height: 48px; border-radius: 6px; transition: transform .5s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.05); }
.logo__word { height: 40px; width: auto; }
.logo__word--en { height: 34px; }
.hdr.is-scrolled .logo__mark { width: 42px; height: 42px; }
.hdr__nav { display: flex; gap: 4px; margin-inline-start: 12px; }
.hdr__nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s; }
.hdr__nav a:hover { background: var(--leaf-soft); color: var(--green); }
.hdr__end { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.hdr__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--forest); padding: 8px 12px; border-radius: 999px; }
.hdr__phone .i { color: var(--green); }
.hdr__phone:hover { background: var(--leaf-soft); }
.hdr__lang { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); font: 700 14px/1 var(--f-head); color: var(--green); }
.hdr__lang:hover { border-color: var(--green); }
.hdr__res { min-height: 44px; padding-inline: 16px; }
.hdr__burger { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 880px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--forest); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(0, 0, 0); } to { transform: scale(1.02) translate3d(-1.5%, -1%, 0); } }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(to top, rgb(8 40 22 / .96) 0%, rgb(8 40 22 / .65) 38%, rgb(8 40 22 / .15) 70%, rgb(8 40 22 / .35) 100%),
  linear-gradient(to var(--shade-dir, left), rgb(8 40 22 / .7), transparent 60%); }
[dir="rtl"] .hero__shade { --shade-dir: left; }
[dir="ltr"] .hero__shade { --shade-dir: right; }
.hero__wheat { position: absolute; bottom: -10px; inset-inline-end: 3%; height: 78%; width: auto; opacity: .55; }
.hero__stem { fill: none; stroke: var(--leaf-2); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s .4s var(--ease) forwards; }
.hero__grain { fill: var(--leaf); opacity: 0; transform-box: fill-box; transform-origin: bottom center; animation: grain .7s var(--ease) forwards; animation-delay: calc(1.4s + (9.5 - var(--g)) * 110ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes grain { from { opacity: 0; transform: scale(.2); } to { opacity: .95; transform: scale(1); } }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: end; gap: 40px; padding-top: calc(var(--hdr-h) + 124px); padding-bottom: 28px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-weight: 600; font-size: 14px; margin-bottom: 20px; animation: up .9s .1s var(--ease) both; }
.hero__kicker .i { color: var(--leaf-2); }
.hero__title { font-size: clamp(38px, 6.4vw, 78px); font-weight: 800; line-height: 1.12; }
.hero__line { display: block; animation: up 1s var(--ease) both; }
.hero__line + .hero__line { animation-delay: .18s; }
.hero__line--leaf { color: var(--leaf-2); position: relative; width: fit-content; }
.hero__line--leaf::after { content: ''; position: absolute; inset-inline: 0; bottom: -.08em; height: .14em; border-radius: 99px; background: linear-gradient(90deg, var(--leaf), var(--wheat)); transform: scaleX(0); transform-origin: var(--uo, right); animation: underline 1s 1s var(--ease) forwards; }
[dir="ltr"] .hero__line--leaf::after { --uo: left; }
@keyframes underline { to { transform: scaleX(1); } }
.hero__sub { margin-top: 22px; max-width: 600px; font-size: clamp(16px, 1.6vw, 19px); color: rgb(255 255 255 / .86); animation: up 1s .3s var(--ease) both; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; animation: up 1s .45s var(--ease) both; }
@keyframes up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.hero__card { display: flex; justify-content: center; padding-bottom: 12px; animation: up 1.1s .6s var(--ease) both; }
.slip { position: relative; width: min(340px, 100%); background: #fff; color: var(--ink); border-radius: 22px; padding: 20px 20px 22px; box-shadow: var(--shadow-lg); transform: rotate(-3deg); animation: float 6s ease-in-out infinite; }
[dir="ltr"] .slip { transform: rotate(3deg); }
.slip::before { content: ''; position: absolute; inset: 10px -10px -10px 10px; border-radius: 22px; background: rgb(255 255 255 / .22); z-index: -1; transform: rotate(4deg); }
@keyframes float { 50% { translate: 0 -10px; } }
.slip__head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1.5px dashed var(--line); }
.slip__head img { width: 40px; height: 40px; border-radius: 5px; }
.slip__head span { display: flex; flex-direction: column; line-height: 1.3; }
.slip__head b { font: 700 16px/1.3 var(--f-head); color: var(--forest); }
.slip__head small { color: var(--muted); font-size: 12px; letter-spacing: .06em; }
.slip__row { padding: 9px 0; border-bottom: 1px solid #f0ede3; }
.slip__row small { display: block; color: var(--muted); font-size: 12px; }
.slip__val { display: block; min-height: 1.6em; font-weight: 700; font-size: 16px; color: var(--ink); }
.slip__val.is-typing::after { content: ''; display: inline-block; width: 2px; height: 1.1em; vertical-align: -.15em; margin-inline-start: 2px; background: var(--green); animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.slip__stamp { position: absolute; inset-inline-end: 16px; bottom: 14px; padding: 6px 14px; border: 3px solid var(--green); color: var(--green); border-radius: 10px; font: 800 18px/1.2 var(--f-head); transform: rotate(-12deg) scale(2.2); opacity: 0; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), opacity .25s; background: rgb(230 245 220 / .9); }
.slip.is-stamped .slip__stamp { opacity: 1; transform: rotate(-12deg) scale(1); }
.hero__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 28px; min-height: 76px; }
.hero__caption { font-size: 14px; color: rgb(255 255 255 / .78); display: inline-flex; align-items: center; gap: 10px; }
.hero__caption::before { content: ''; width: 26px; height: 2px; background: var(--leaf); border-radius: 2px; }
.hero__caption.is-in { animation: fadein .8s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } }
.hero__ctrl { display: flex; align-items: center; gap: 10px; }
.hero__dots { display: flex; gap: 6px; }
.hero__dot { width: 36px; height: 24px; display: grid; place-items: center; }
.hero__dot span { display: block; width: 100%; height: 4px; border-radius: 4px; background: rgb(255 255 255 / .3); overflow: hidden; position: relative; }
.hero__dot span::after { content: ''; position: absolute; inset: 0; background: var(--leaf); transform: scaleX(0); transform-origin: var(--uo, right); }
[dir="ltr"] .hero__dot span::after { --uo: left; }
.hero__dot.is-active span::after { animation: dot 6.5s linear forwards; }
@keyframes dot { to { transform: scaleX(1); } }

/* ---------- ticker ---------- */
.ticker { background: var(--forest); color: #fff; overflow: hidden; padding: 18px 0; border-top: 1px solid rgb(255 255 255 / .08); direction: ltr; }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 38s linear infinite; }
[dir="rtl"] .ticker__track { animation-direction: reverse; }
.ticker span { font: 700 clamp(20px, 2.6vw, 30px)/1.2 var(--f-head); white-space: nowrap; }
.ticker span:nth-child(4n+1) { color: var(--leaf-2); }
.ticker .i { width: 26px; height: 26px; color: var(--wheat); }
@keyframes marquee { to { transform: translateX(-33.333%); } }

/* ---------- categories ---------- */
.cats { background: linear-gradient(var(--cream), #f1eee1); }
.cats__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 18px; }
.ctile { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--forest-2); color: #fff; isolation: isolate; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.ctile:first-child { grid-column: span 2; }
/* 8 departments (with acaricides): first + last wide = 3 full rows of 4 */
.ctile:first-child:nth-last-child(8), .ctile:nth-child(8):last-child { grid-column: span 2; }
.cats__grid:has(> .ctile:nth-child(8):last-child) > .ctile:nth-child(4) { grid-column: span 2; }
.cats__grid:has(> .ctile:nth-child(8):last-child) > .ctile:nth-child(5) { grid-column: span 2; }
.ctile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.ctile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(8 40 22 / .92), rgb(8 40 22 / .35) 55%, rgb(8 40 22 / .08)); transition: background .5s; }
.ctile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ctile:hover .ctile__img { transform: scale(1.08); }
.ctile__body { position: absolute; inset: auto 0 0; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.ctile__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--leaf); color: var(--forest); margin-bottom: 6px; transition: transform .5s var(--ease); }
.ctile__icon .i { width: 26px; height: 26px; stroke-width: 2; }
.ctile:hover .ctile__icon { transform: rotate(-8deg) scale(1.08); }
.ctile__name { font: 800 22px/1.25 var(--f-head); }
.ctile:first-child .ctile__name { font-size: clamp(26px, 3vw, 36px); }
.ctile__blurb { font-size: 14px; color: rgb(255 255 255 / .82); max-width: 40ch; }
.ctile__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 14px; color: rgb(255 255 255 / .78); }
.ctile__meta b { color: var(--leaf-2); font-size: 16px; }
.ctile__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #fff; opacity: 0; transform: translateX(var(--go-x, 10px)); transition: opacity .4s, transform .4s var(--ease); }
[dir="ltr"] .ctile__go { --go-x: -10px; }
.ctile:hover .ctile__go, .ctile:focus-visible .ctile__go { opacity: 1; transform: none; }

/* ---------- products ---------- */
.shop__search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding-inline: 18px 8px; height: 52px; width: min(420px, 100%); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.shop__search:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgb(91 194 54 / .18); }
.shop__search .i { color: var(--muted); }
.shop__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 15px; }
.chips { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 14px; scrollbar-width: none; margin-bottom: 8px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 600; font-size: 15px; color: var(--ink-2); transition: all .25s var(--ease); }
.chip small { min-width: 24px; padding: 0 6px; border-radius: 99px; background: var(--cream); font-size: 12px; color: var(--muted); text-align: center; }
.chip .i { color: var(--green); }
.chip:hover { border-color: var(--leaf); transform: translateY(-2px); }
.chip.is-active { background: var(--forest); border-color: var(--forest); color: #fff; }
.chip.is-active .i { color: var(--leaf-2); }
.chip.is-active small { background: rgb(255 255 255 / .16); color: #fff; }
.shop__count { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.shop__count b { color: var(--forest); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 20px; }
.pc { background: var(--card); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); border: 1px solid #eeeadd; transition: transform .45s var(--ease), box-shadow .45s var(--ease); animation: cardin .5s var(--ease) both; }
@keyframes cardin { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.pc:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pc__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.pc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pc:hover .pc__media img { transform: scale(1.07); }
.pc__cat { position: absolute; top: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: rgb(255 255 255 / .92); color: var(--green); font-size: 12px; font-weight: 700; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pc__cat .i { width: 15px; height: 15px; }
.badge { position: absolute; top: 12px; inset-inline-end: 12px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--wheat); color: var(--forest); }
.badge--out { background: #6b6b6b; color: #fff; }
.badge--preorder { background: var(--forest); color: #fff; }
.badge--seasonal { background: var(--leaf); color: var(--forest); }
.pc__body { flex: 1; display: flex; flex-direction: column; padding: 16px 18px 18px; gap: 4px; }
.pc__brand { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.pc__title { font: 700 17px/1.45 var(--f-head); color: var(--forest); }
.pc__title a:hover { color: var(--green); }
.pc__pack { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.pc__pack .i { width: 16px; height: 16px; color: var(--leaf); }
.pc__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price__por { font-size: 13px; font-weight: 600; color: var(--muted); }
.price__now { font: 800 18px/1 var(--f-head); color: var(--green); }
.price__old { margin-inline-start: 6px; color: var(--muted); font-size: 13px; }
.pc__add { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px; border-radius: 99px; background: var(--leaf-soft); color: var(--green); font-weight: 700; transition: background .25s, color .25s, transform .25s var(--ease); }
.pc__add:hover { background: var(--green); color: #fff; }
.pc__add .i { transition: transform .4s var(--ease); }
.pc__add:hover .i { transform: rotate(90deg); }
.pc__add.is-added { background: var(--green); color: #fff; }
.pc__add.is-added .i { transform: rotate(180deg); }
.pc__add:disabled { opacity: .5; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 56px 20px; background: #fff; border-radius: var(--r-lg); border: 1.5px dashed var(--line); color: var(--muted); }
.empty > .i { width: 40px; height: 40px; color: var(--leaf); }
.fly { position: fixed; z-index: 90; object-fit: cover; pointer-events: none; box-shadow: var(--shadow); }

/* ---------- reservation ---------- */
.res { background: var(--forest); color: #fff; overflow: hidden; isolation: isolate; }
.res__bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(800px 400px at 85% 0%, rgb(91 194 54 / .22), transparent 70%),
  radial-gradient(600px 400px at 0% 100%, rgb(227 180 72 / .14), transparent 70%),
  repeating-linear-gradient(115deg, transparent 0 46px, rgb(255 255 255 / .025) 46px 48px); }
.res__in { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.res__form-wrap { background: #fff; color: var(--ink); border-radius: 28px; padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.res__form-wrap .sec-head { margin-bottom: 26px; }
.rform__set { border: 0; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rform__set legend { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; font: 700 18px/1.3 var(--f-head); color: var(--forest); margin-bottom: 14px; padding: 0; }
.rform__set legend .i { color: var(--leaf); }
.rform__hint { grid-column: 1 / -1; margin-top: -10px; color: var(--muted); font-size: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full, .rform__set > .lines, .rform__set > .rform__add, .rform__set > .rform__err { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.field label i { color: var(--danger); font-style: normal; }
.field input, .field textarea, .unitsel select { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fcfbf7; font-size: 16px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus, .unitsel select:focus { outline: 0; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgb(91 194 54 / .18); }
.field input::placeholder, .field textarea::placeholder { color: #9aa59d; }
[dir="rtl"] input[dir="ltr"]::placeholder { text-align: right; }
.field__hint { font-size: 13px; color: var(--muted); min-height: 1em; }
.field.is-bad input { border-color: var(--danger); background: #fff7f6; }
.field.is-bad .field__hint { color: var(--danger); font-weight: 600; }
.lines { display: flex; flex-direction: column; gap: 12px; }
.line { display: grid; grid-template-columns: minmax(0, 1fr) 200px 120px 44px; gap: 10px; align-items: end; padding: 14px; border-radius: 18px; background: var(--cream); border: 1.5px solid transparent; animation: cardin .4s var(--ease) both; transition: border-color .3s, background .3s; }
.line.is-linked { border-color: rgb(91 194 54 / .45); background: #f1f8eb; }
.line .field label { font-size: 13px; }
.line__del { align-self: end; margin-bottom: 4px; color: var(--muted); }
.line__del:hover { color: var(--danger); background: #fdecea; }
.combo { position: relative; }
.combo__list { position: absolute; inset-inline: 0; top: calc(100% + 6px); z-index: 20; list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); max-height: 320px; overflow-y: auto; }
.combo__list li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; cursor: pointer; }
.combo__list li:hover, .combo__list li.is-active { background: var(--leaf-soft); }
.combo__list img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.combo__list span { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.combo__list b { font-size: 14px; color: var(--forest); }
.combo__list small { font-size: 12px; color: var(--muted); }
.qty { display: flex; align-items: center; height: 58px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; overflow: hidden; }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; color: var(--green); flex: none; transition: background .2s; }
.qty button:hover { background: var(--leaf-soft); }
.qty input { flex: 1; min-width: 0; width: 100%; height: 100%; border: 0; text-align: center; font-weight: 800; font-size: 21px; background: none; -moz-appearance: textfield; padding: 0; min-height: 0; border-radius: 0; }
.qty input:focus { box-shadow: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.unitsel { position: relative; display: block; }
.unitsel select { appearance: none; -webkit-appearance: none; padding-inline-end: 38px; background: #fff; cursor: pointer; font-weight: 600; }
.unitsel .i { position: absolute; inset-inline-end: 12px; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--muted); }
.rform__add { justify-self: start; margin-top: 4px; }
.rform__err { color: var(--danger); font-weight: 600; font-size: 14px; }
.rform__err--box { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: #fdecea; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.rform__err--box.is-wa { background: #e7f6ec; color: var(--forest); }
.rform__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.rform__submit { min-width: 220px; }
.rform__privacy { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rdone { text-align: center; padding: 20px 0 4px; outline: 0; animation: up .6s var(--ease); }
.rdone__icon { width: 84px; height: 84px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 0 0 12px var(--leaf-soft); animation: pop .6s cubic-bezier(.3, 1.6, .5, 1); }
.rdone__icon .i { width: 42px; height: 42px; stroke-width: 2.6; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .3s ease forwards; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.rdone h3 { font-size: 28px; color: var(--forest); margin-bottom: 10px; }
.rdone__ref { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 26px; border-radius: 16px; background: var(--cream); border: 1.5px dashed var(--leaf); margin-bottom: 16px; }
.rdone__ref small { color: var(--muted); }
.rdone__ref b { font: 800 26px/1.2 var(--f-head); letter-spacing: .08em; color: var(--green); }
.rdone__items { list-style: none; margin: 0 auto 16px; padding: 0; max-width: 460px; text-align: start; }
.rdone__items li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rdone__items small { color: var(--muted); }
.rdone > p { color: var(--muted); max-width: 520px; margin: 0 auto 18px; }
.rdone__btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.res__side { position: sticky; top: calc(var(--hdr-h) + 32px); padding: 8px 4px; }
.steps { list-style: none; margin: 10px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 6px; position: relative; }
.steps::before { content: ''; position: absolute; top: 24px; bottom: 24px; inset-inline-start: 23px; width: 2px; background: linear-gradient(var(--leaf), rgb(91 194 54 / .1)); }
.step { display: flex; gap: 16px; padding: 14px 0; position: relative; opacity: 0; transform: translateX(var(--st-x, -20px)); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d) * 160ms + 200ms); }
[dir="ltr"] .step { --st-x: 20px; }
.step.is-in, html:not(.js) .step { opacity: 1; transform: none; }
.step__n { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--leaf); color: var(--forest); font: 800 20px/1 var(--f-head); box-shadow: 0 0 0 6px var(--forest); position: relative; z-index: 1; }
.step h3 { font-size: 19px; margin-bottom: 4px; }
.step p { color: rgb(255 255 255 / .74); font-size: 15px; }
.res__call { padding: 22px; border-radius: 22px; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .12); display: flex; flex-direction: column; gap: 10px; }
.res__call > p { font: 700 16px/1.3 var(--f-head); color: var(--leaf-2); }
.res__phone { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1.3 var(--f-head); }
.res__phone .i { color: var(--leaf); }
.res__phone:hover { color: var(--leaf-2); }
.res__call .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- from the field ---------- */
.farm { background: var(--cream); overflow: hidden; padding-bottom: 80px; }
.farm__rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px max(24px, calc((100vw - 1240px) / 2 + 24px)) 18px; scrollbar-width: thin; scrollbar-color: var(--leaf) transparent; cursor: grab; }
.farm__rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.farm__rail.is-drag * { pointer-events: none; }
.ffig { position: relative; flex: none; width: clamp(240px, 30vw, 360px); height: 380px; margin: 0; border-radius: var(--r-lg); overflow: hidden; scroll-snap-align: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(40px) rotate(var(--rot, 0deg)); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d) * 100ms); }
.ffig--tall { height: 440px; align-self: center; --rot: 0deg; }
.ffig.is-in, html:not(.js) .ffig { opacity: 1; transform: none; }
.ffig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); user-select: none; -webkit-user-drag: none; }
.ffig:hover img { transform: scale(1.06); }
.ffig figcaption { position: absolute; inset: auto 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgb(8 40 22 / .9)); color: #fff; font-weight: 600; font-size: 15px; }
.farm__rail { align-items: center; }

/* ---------- why ---------- */
.why { background: #fff; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why__card { padding: 28px 24px; border-radius: var(--r-lg); background: var(--cream); border: 1px solid #eeeadd; transition: transform .4s var(--ease), box-shadow .4s, background .4s; }
.why__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; }
.why__ic { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: var(--green); color: #fff; margin-bottom: 18px; transition: transform .5s var(--ease), background .3s; }
.why__ic .i { width: 28px; height: 28px; }
.why__card:hover .why__ic { transform: rotate(-8deg) scale(1.06); background: var(--leaf); color: var(--forest); }
.why__card h3 { font-size: 19px; color: var(--forest); margin-bottom: 8px; }
.why__card p { color: var(--muted); font-size: 15px; }

/* ---------- visit ---------- */
.visit { background: linear-gradient(#fff, var(--cream)); }
.visit__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: stretch; }
.visit__info h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--forest); margin-bottom: 22px; }
.visit__list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.visit__list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid #eeeadd; }
.visit__list li > .i { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--leaf-soft); color: var(--green); }
.visit__list small { color: var(--muted); font-size: 13px; }
.visit__list p { font-weight: 600; }
.visit__list a:hover { color: var(--green); }
.visit__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.visit__map { border-radius: 28px; overflow: hidden; min-height: 420px; box-shadow: var(--shadow); border: 6px solid #fff; background: var(--sand); }
.visit__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- footer ---------- */
.foot { background: var(--forest); color: rgb(255 255 255 / .8); position: relative; padding-top: 70px; }
.foot__field { position: absolute; top: -1px; inset-inline: 0; height: 28px; background: radial-gradient(circle at 14px -6px, var(--cream) 18px, transparent 19px) 0 0 / 28px 28px repeat-x; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.foot__brand .logo { margin-bottom: 16px; }
.foot__brand .logo__mark { width: 56px; height: 56px; }
.foot__brand .logo__word { height: 46px; }
.foot__brand p { font-size: 15px; max-width: 42ch; }
.foot__social { display: flex; gap: 8px; margin-top: 18px; }
.foot__social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .08); color: #fff; transition: background .2s, transform .2s; }
.foot__social a:hover { background: var(--leaf); color: var(--forest); transform: translateY(-3px); }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot__col > p:first-child { font: 700 16px/1.3 var(--f-head); color: #fff; margin-bottom: 6px; }
.foot__col a { width: fit-content; transition: color .2s; }
.foot__col a:hover { color: var(--leaf-2); }
.foot__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.foot__phone .i { color: var(--leaf); }
.foot__addr { display: flex; gap: 8px; font-size: 14px; }
.foot__addr .i { color: var(--leaf); margin-top: 4px; }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px 26px; border-top: 1px solid rgb(255 255 255 / .1); font-size: 14px; color: rgb(255 255 255 / .6); }
.foot__bottom a { color: rgb(255 255 255 / .85); }
.foot__bottom a:hover { color: var(--leaf-2); }

/* ---------- product modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; }
.modal__backdrop { position: absolute; inset: 0; background: rgb(8 30 17 / .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.modal__panel { position: relative; width: min(1000px, 100%); max-height: calc(100svh - 48px); overflow-y: auto; background: #fff; border-radius: 28px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .3s var(--ease), transform .35s var(--ease); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; background: #fff; box-shadow: var(--shadow-sm); }
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pd__gallery { padding: 18px; background: var(--cream); }
.pd__main { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--sand); }
.pd__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.pd__main img.is-active { opacity: 1; }
.pd__thumbs { display: flex; gap: 8px; margin-top: 12px; }
.pd__thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; opacity: .7; transition: all .2s; }
.pd__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd__thumb.is-active { border-color: var(--green); opacity: 1; }
.pd__info { padding: 34px 30px 30px; display: flex; flex-direction: column; gap: 14px; }
.pd__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--green); font-weight: 700; font-size: 14px; }
.pd__meta i { color: var(--line); font-style: normal; }
.pd__title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--forest); padding-inline-end: 40px; }
.pd__pack { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; }
.pd__pack .i { color: var(--leaf); }
.pd__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-block: 1px solid var(--line); }
.pd__stock { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--green); }
.pd__stock span { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgb(91 194 54 / .2); }
.pd__stock--out { color: #777; }
.pd__stock--preorder, .pd__stock--low { color: #a5740a; }
.pd__desc { color: var(--ink-2); }
.pd__buy { display: grid; grid-template-columns: 210px 120px 1fr; gap: 10px; }
.pd__add { min-height: 52px; border-radius: 14px; }
.pd__alt { display: flex; gap: 10px; flex-wrap: wrap; }
.pd__h { font-size: 17px; color: var(--forest); margin-top: 6px; }
.specs { margin: 0; display: grid; gap: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 40% 60%; }
.specs div:nth-child(odd) { background: var(--cream); }
.specs dt, .specs dd { margin: 0; padding: 10px 14px; font-size: 14px; }
.specs dt { color: var(--muted); font-weight: 600; }

/* ---------- mobile nav ---------- */
.mnav { position: fixed; inset: 0; z-index: 70; }
.mnav__backdrop { position: absolute; inset: 0; background: rgb(8 30 17 / .55); opacity: 0; transition: opacity .3s; }
.mnav__panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(360px, 88vw); background: #fff; padding: 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; transform: translateX(var(--mn-x, -100%)); transition: transform .35s var(--ease); }
[dir="ltr"] .mnav__panel { --mn-x: 100%; }
.mnav.is-open .mnav__backdrop { opacity: 1; }
.mnav.is-open .mnav__panel { transform: none; }
.mnav__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mnav__head .logo__mark { width: 42px; height: 42px; }
.mnav__head .logo__word { height: 34px; }
.mnav__links { display: flex; flex-direction: column; }
.mnav__links a, .mnav__cats a { display: flex; align-items: center; gap: 12px; padding: 12px 8px; border-radius: 12px; font-weight: 600; }
.mnav__links a .i, .mnav__cats a .i { color: var(--green); }
.mnav__links a:hover, .mnav__cats a:hover { background: var(--leaf-soft); }
.mnav__sub { font: 700 13px/1 var(--f-head); color: var(--muted); padding-inline-start: 8px; }
.mnav__cats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mnav__cats a { font-size: 14px; padding: 10px 8px; }
.mnav__call { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.mnav__lang { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; font-weight: 700; color: var(--green); }

/* ---------- mobile bar + toast ---------- */
.mbar { display: none; }
.toast { position: fixed; inset-inline: 0; bottom: 24px; z-index: 95; margin-inline: auto; width: fit-content; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--forest); color: #fff; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.toast .i { color: var(--leaf-2); }
.toast.show { opacity: 1; transform: none; }

/* ---------- 404 + credits ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; background: var(--cream); text-align: center; padding: 24px; }
.nf__in { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.nf__logo { width: min(320px, 80vw); height: auto; }
.nf__code { font: 800 96px/1 var(--f-head); color: var(--leaf); }
.nf h1 { color: var(--forest); margin-bottom: 10px; }
.credits__logo img { width: min(300px, 70vw); height: auto; margin-bottom: 24px; }
.credits__h { font-size: 36px; color: var(--forest); margin-bottom: 12px; }
.credits__p { color: var(--muted); margin-bottom: 16px; }
.credits__list { padding-inline-start: 20px; margin-bottom: 28px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.credits__list a { color: var(--green); text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 1140px) {
  .hdr__phone { display: none; }
}
@media (max-width: 1024px) {
  .hdr__nav { display: none; }
  .hdr__burger { display: inline-grid; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__card { justify-content: flex-start; }
  .cats__grid { grid-template-columns: repeat(3, 1fr); }
  .ctile:first-child { grid-column: span 3; grid-row: span 1; }
  .cats__grid:has(> .ctile:nth-child(8):last-child) > .ctile:nth-child(4), .cats__grid:has(> .ctile:nth-child(8):last-child) > .ctile:nth-child(5) { grid-column: auto; }
  .ctile:nth-child(8):last-child { grid-column: span 3; }
  .res__in { grid-template-columns: 1fr; }
  .res__side { position: static; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .steps::before { display: none; }
  .step { flex-direction: column; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .visit__in { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .pd { grid-template-columns: 1fr; }
  .pd__main { aspect-ratio: 4 / 3; }
}
@media (max-width: 899px) {
  :root { --hdr-h: 64px; }
  .hdr { inset: 8px 0 auto; }
  .hdr__in { width: calc(100% - 16px); padding-inline: 10px; gap: 8px; border-radius: 18px; }
  .hdr.is-scrolled .hdr__in { height: 60px; }
  .logo__mark { width: 42px; height: 42px; }
  .logo__word { height: 32px; }
  .logo__word--en { height: 26px; }
  .hdr__res { display: none; }
  .mbar { position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-template-columns: auto auto 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -8px 24px -12px rgb(11 61 34 / .3); }
  .mbar__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 62px; height: 52px; border-radius: 14px; background: var(--cream); color: var(--green); font-size: 12px; font-weight: 700; }
  .mbar__btn--wa { color: var(--wa); }
  .mbar__res { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 14px; background: var(--green); color: #fff; font-weight: 700; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(90px + env(safe-area-inset-bottom)); }
  .section { padding-block: 64px; }
  .wrap { padding-inline: 16px; }
  .hero { min-height: 0; }
  .hero__in { padding-top: calc(var(--hdr-h) + 96px); gap: 28px; }
  .hdr__top { justify-content: center; padding: 6px 14px; }
  .hdr__nums { display: none; }
  .hdr__name { font-size: 15px; }
  .hero__wheat { height: 46%; opacity: .35; }
  .hero__card { justify-content: center; }
  .slip { width: min(320px, 100%); }
  .hero__bar { padding-bottom: 20px; }
  .hero__caption { font-size: 13px; }
  .cats__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; gap: 12px; }
  .ctile:first-child { grid-column: span 2; }
  .ctile:nth-child(8):last-child { grid-column: span 2; }
  .ctile__body { padding: 16px; }
  .ctile__icon { width: 40px; height: 40px; border-radius: 12px; }
  .ctile__name { font-size: 18px; }
  .ctile:not(:first-child) .ctile__blurb { display: none; }
  .ctile__go { display: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pc__body { padding: 12px 12px 14px; }
  .pc__title { font-size: 15px; }
  .pc__pack { font-size: 13px; }
  .pc__foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .pc__add { justify-content: center; }
  .pc__cat span { display: none; }
  .pc__cat { padding: 6px; }
  .rform__set { grid-template-columns: 1fr; }
  .line { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 44px; }
  .qty { height: 60px; }
  .qty input { font-size: 23px; }
  .line__product { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { display: block; }
  .step { flex-direction: row; }
  .why__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .why__card { padding: 20px 16px; }
  .ffig { width: 72vw; height: 320px; }
  .ffig--tall { height: 360px; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot__brand { grid-column: 1 / -1; }
  .modal { padding: 0; align-items: end; }
  .modal__panel { border-radius: 26px 26px 0 0; max-height: 92svh; transform: translateY(40px); }
  .pd__info { padding: 22px 18px calc(24px + env(safe-area-inset-bottom)); }
  .pd__buy { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .pd__add { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .why__grid { grid-template-columns: 1fr; }
  .rform__submit { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .foot__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .ffig, .step { opacity: 1 !important; transform: none !important; }
  .hero__slide.is-active img { animation: none; transform: none; }
  .hero__stem { stroke-dashoffset: 0; }
  .hero__grain { opacity: .95; }
  .ticker__track { animation: none; }
}

/* quantity on its own row, full width (client, 2026-10-22: «خلي الكمية بسطر لحالها») */
.line { grid-template-columns: minmax(0, 1fr) 44px; grid-template-areas: "p p" "q q" "u d"; }
.line__product { grid-area: p; grid-column: auto; }
.line__qty { grid-area: q; }
.line__unit { grid-area: u; }
.line__del { grid-area: d; }
.line__qty .qty { height: 62px; }
.line__qty .qty button { width: 60px; }
.line__qty .qty input { font-size: 24px; }
.pd__buy { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.pd__buy .qty { grid-column: 1 / -1; height: 62px; }
.pd__buy .qty button { width: 60px; }
.pd__buy .qty input { font-size: 24px; }
.pd__add { grid-column: auto; }
/* phones: the quantity box spans the whole screen width (client: «على عرض شاشة الموبايل»).
   Bleeds out of .wrap (16px) + form card (22px) + line (14px + 1.5px border); .res clips overflow. */
@media (max-width: 550px) {
  .line__qty { --bleed: calc(16px + 22px + 14px + 1.5px); margin-inline: calc(-1 * var(--bleed)); }
  .line__qty > label { padding-inline: var(--bleed); }
  .line__qty .qty { border-radius: 0; border-inline: 0; height: 66px; }
  .line__qty .qty button { width: 72px; }
  .line__qty .qty input { font-size: 26px; }
}
