/* oven — phone-first styles. Layout follows morfathletics.com, motion layered on top in app.js. */
:root {
  --wine: #5b1820;
  --wine-deep: #3b0e13;
  --wine-soft: #7a2a31;
  --cream: #f7efe4;
  --sand: #ecdfcc;
  --sand-deep: #dccab0;
  --cocoa: #2b1a15;
  --muted: #7d6a5e;
  --gold: #c9a26b;
  --white: #fffaf3;
  --radius: 18px;
  --gutter: 18px;
  --head-h: 58px;
  --tab-h: 64px;
  --font: "Readex Pro", system-ui, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--cream); color: var(--cocoa);
  font-family: var(--font); font-size: 15px; line-height: 1.65;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
body.is-loading, html.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; }
p { margin: 0; }
html[lang="en"] .hero__title, html[lang="en"] .section-title, html[lang="en"] .overlap h2, html[lang="en"] .touch h2, html[lang="en"] .stack h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }

.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.logo { fill: currentColor; display: block; }
.kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 500; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--wine-deep); color: #fff; }
.loader__logo { width: 168px; overflow: hidden; }
.loader__line { position: absolute; bottom: 22%; width: 120px; height: 2px; background: rgba(247, 239, 228, .15); overflow: hidden; }
.loader__line span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }
html[dir="rtl"] .loader__line span { transform-origin: 100% 50%; }
.loader__curtain { position: absolute; inset: 0; background: var(--cream); transform: translateY(100%); }

/* ---------- header ---------- */
.header {
  position: fixed; inset-inline: 0; top: 0; z-index: 30; height: var(--head-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 10px;
  /* same look as the bottom tab bar, always */
  background: rgba(59, 14, 19, .94); color: var(--sand); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -18px rgba(30, 6, 9, .6);
}
.header__logo { width: 104px; justify-self: center; color: #fff; }
.header__end { display: flex; align-items: center; gap: 2px; justify-self: end; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; position: relative; border-radius: 50%; }
.lang-btn { font-size: 12px; font-weight: 600; letter-spacing: .08em; padding: 6px 10px; border: 1px solid currentColor; border-radius: 99px; opacity: .85; }
.burger { width: 22px; height: 12px; position: relative; display: block; }
.burger i { position: absolute; inset-inline: 0; height: 1.6px; background: currentColor; border-radius: 2px; }
.burger i:first-child { top: 0; } .burger i:last-child { bottom: 0; width: 70%; }
.bag-count { position: absolute; top: 5px; inset-inline-end: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--gold); color: var(--wine-deep); font-size: 10px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.bag-count.is-zero { transform: scale(0); }

/* ---------- drawer menu ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; background: var(--wine-deep); color: var(--cream); padding: 90px 28px 40px; display: flex; flex-direction: column; visibility: hidden; clip-path: circle(0% at 30px 60px); }
html[dir="rtl"] .drawer { clip-path: circle(0% at calc(100% - 30px) 60px); }
.drawer__close { position: absolute; top: 40px; inset-inline-start: 10px; }
.drawer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.drawer__links a { display: block; font-size: 30px; font-weight: 600; padding: 6px 0; border-bottom: 1px solid rgba(247, 239, 228, .1); }
.drawer__foot { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- pills ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 24px; border-radius: 99px; font-weight: 600; font-size: 14px; transition: transform .3s var(--ease), background .3s; }
.pill:active { transform: scale(.96); }
.pill--light { background: var(--white); color: var(--wine-deep); }
.pill--outline { border: 1.5px solid rgba(255, 250, 243, .85); color: var(--white); }
.pill--wine { background: var(--wine); color: var(--white); }
.pill--ghost { border: 1px solid rgba(247, 239, 228, .3); color: var(--cream); min-height: 40px; font-weight: 500; }
.pill--ghost-dark { color: var(--wine); }
.pill--block { width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; color: var(--white); background: var(--wine-deep); }
.hero__media { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; will-change: transform, filter; }
@media (max-aspect-ratio: 4/5) {
  .hero__media { top: var(--head-h); bottom: auto; aspect-ratio: 4 / 5; }
  .hero__img { -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
}
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 10, 14, .55) 0%, rgba(43, 10, 14, .05) 35%, rgba(43, 10, 14, .25) 55%, rgba(43, 10, 14, .88) 100%); }
.hero__content { position: absolute; inset-inline: 0; bottom: calc(76px + env(safe-area-inset-bottom)); padding: 0 var(--gutter); text-align: center; display: grid; justify-items: center; gap: 12px; }
.hero__kicker { color: var(--sand); }
.hero__title { font-size: clamp(38px, 11vw, 64px); line-height: 1.3; max-width: 12ch; }
.hero__rule { width: 46px; height: 2px; background: var(--gold); }
.hero__sub { max-width: 32ch; font-size: 14px; color: rgba(255, 250, 243, .86); }
.hero__ctas { display: flex; gap: 10px; margin-top: 6px; }
.hero__scroll { position: absolute; bottom: 24px; inset-inline: 0; display: grid; justify-items: center; gap: 6px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 250, 243, .7); }
.hero__scroll i { width: 1px; height: 26px; background: linear-gradient(var(--sand), transparent); }

/* ---------- marquee ---------- */
.marquee { direction: ltr; background: var(--wine); color: var(--cream); padding: 14px 0; overflow: hidden; display: grid; gap: 10px; }
.marquee__row { display: flex; width: max-content; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: 12px; padding-inline-end: 26px; white-space: nowrap; font-size: 20px; font-weight: 600; }
.marquee__item img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(247, 239, 228, .25); }
.marquee__item i { font-style: normal; color: var(--gold); font-size: 14px; }
.marquee__row--alt .marquee__item { font-size: 14px; font-weight: 400; color: var(--sand); letter-spacing: .04em; }
.marquee__row--alt .marquee__item img { display: none; }
html[lang="en"] .marquee__item { font-family: var(--serif); }

/* ---------- pinned photo stack ---------- */
.stack { background: var(--sand); }
.stack__pin { height: 100vh; height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--head-h) + 18px) var(--gutter) calc(var(--tab-h) + 22px + env(safe-area-inset-bottom)); gap: 14px; overflow: hidden; }
.stack__head { display: flex; justify-content: space-between; align-items: baseline; }
.stack__count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.stack__count b { color: var(--wine); font-size: 22px; }
.stack__cards { position: relative; container-type: size; }
.stack__card { position: absolute; inset: 0; margin: auto; width: min(100cqw, 80cqh); height: min(100cqh, 125cqw); border-radius: 26px; overflow: hidden; background: var(--sand-deep); box-shadow: 0 30px 60px -30px rgba(59, 14, 19, .55); will-change: transform; }
.stack__media { display: block; width: 100%; height: 100%; object-fit: cover; }
.stack__card figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 70px 22px 22px; color: var(--white); background: linear-gradient(transparent, rgba(30, 6, 9, .82)); }
.stack__card h3 { font-size: 26px; margin-bottom: 4px; }
.stack__card p { font-size: 13.5px; color: rgba(255, 250, 243, .82); max-width: 34ch; }
.stack__bar { height: 2px; background: rgba(91, 24, 32, .15); border-radius: 2px; overflow: hidden; }
.stack__bar span { display: block; height: 100%; background: var(--wine); transform: scaleX(0); transform-origin: 0 50%; }
html[dir="rtl"] .stack__bar span { transform-origin: 100% 50%; }

/* ---------- section titles ---------- */
.section-title { text-align: center; font-size: 30px; color: var(--wine-deep); }
.section-rule { display: block; width: 40px; height: 2px; background: var(--gold); margin: 12px auto 0; }
.section-rule--start { margin-inline: 0; }
.section-sub { text-align: center; color: var(--muted); font-size: 14px; margin-top: 10px; }
/* SplitText line masks clip with overflow; give them room above and below so Arabic dots and shadda are not cut */
.hero__title > div, .reveal-title > div { padding: .22em 0 .28em; margin: -.22em 0 -.28em; }

/* ---------- categories ---------- */
.cats { padding: 70px 0 30px; }
.cats__row { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scroll-snap-type: x mandatory; padding: 26px var(--gutter) 10px; scrollbar-width: none; }
.cats__row::-webkit-scrollbar { display: none; }
.cat { flex: 0 0 64%; scroll-snap-align: center; position: relative; aspect-ratio: 1 / 1.1; border-radius: var(--radius); overflow: hidden; color: var(--white); background: var(--wine-deep); transform-origin: 50% 100%; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(30, 6, 9, .78)); }
.cat__label { position: absolute; z-index: 1; inset-inline: 0; bottom: 18px; text-align: center; display: grid; justify-items: center; gap: 8px; }
.cat__label h3 { font-size: 21px; }
.cat__label span { width: 30px; height: 2px; background: var(--white); }
.cat__label small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }

/* ---------- overlap blocks ---------- */
.overlap { position: relative; padding: 40px 0 10px; }
.overlap__media { margin-inline-end: 14%; aspect-ratio: 4 / 5; border-radius: 0 var(--radius) var(--radius) 0; overflow: hidden; }
html[dir="rtl"] .overlap__media { border-radius: var(--radius) 0 0 var(--radius); }
.overlap__media img { width: 100%; height: 108%; object-fit: cover; }
.overlap__card { position: relative; margin: -90px var(--gutter) 0 calc(var(--gutter) + 8%); background: var(--white); border-radius: var(--radius); padding: 26px 22px; box-shadow: 0 24px 50px -28px rgba(59, 14, 19, .4); display: grid; gap: 10px; }
.overlap__card h2 { font-size: 24px; color: var(--wine-deep); }
.overlap__card p:not(.kicker) { color: var(--muted); font-size: 14px; }
.overlap__card .pill { justify-self: start; margin-top: 6px; }
.overlap--flip { background: var(--sand); padding-top: 50px; padding-bottom: 50px; margin-top: 40px; }
.overlap--flip .overlap__media { margin-inline: 14% 0; border-radius: var(--radius) 0 0 var(--radius); }
html[dir="rtl"] .overlap--flip .overlap__media { border-radius: 0 var(--radius) var(--radius) 0; }
.overlap--flip .overlap__card { margin: -90px calc(var(--gutter) + 8%) 0 var(--gutter); }

/* ---------- order menu ---------- */
.menu { padding: 70px 0 40px; }
.chips { position: sticky; top: calc(var(--head-h) - 2px); z-index: 20; display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; padding: 14px var(--gutter); margin-top: 16px; background: linear-gradient(var(--cream) 80%, rgba(247, 239, 228, 0)); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; padding: 0 16px; border-radius: 99px; border: 1px solid rgba(91, 24, 32, .2); font-size: 13px; font-weight: 500; color: var(--wine); white-space: nowrap; transition: background .3s, color .3s; }
.chip.is-active { background: var(--wine); color: var(--white); border-color: var(--wine); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; padding: 8px var(--gutter) 0; }
.card { position: relative; display: grid; gap: 8px; }
.card__media { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:active .card__media img { transform: scale(1.05); }
.badge { position: absolute; top: 8px; inset-inline-start: 8px; z-index: 1; font-size: 10.5px; font-weight: 600; padding: 4px 9px; border-radius: 99px; background: var(--wine); color: var(--white); }
.badge--new { background: var(--gold); color: var(--wine-deep); }
.card__add { position: absolute; bottom: 8px; inset-inline-end: 8px; width: 38px; height: 38px; border-radius: 50%; background: var(--white); color: var(--wine); display: grid; place-items: center; box-shadow: 0 6px 16px -6px rgba(59, 14, 19, .5); }
.card__add .ico { width: 18px; height: 18px; }
.card h3 { font-size: 14.5px; font-weight: 600; color: var(--cocoa); }
.card__opts { font-size: 11.5px; color: var(--muted); margin-top: -6px; }
.price { font-weight: 700; color: var(--wine); font-size: 14px; font-variant-numeric: tabular-nums; }
.price small { font-weight: 500; font-size: .8em; }

/* ---------- best sellers ---------- */
.best { position: relative; overflow: hidden; padding: 70px 0 50px; background: var(--white); }
.best__bg-word { position: absolute; top: 34px; inset-inline: 0; text-align: center; font-size: 120px; font-weight: 700; letter-spacing: .1em; color: transparent; -webkit-text-stroke: 1px rgba(91, 24, 32, .1); pointer-events: none; line-height: 1; }
.best .section-title { position: relative; }
.best__track { display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding: 30px var(--gutter) 14px; scrollbar-width: none; }
.best__track::-webkit-scrollbar { display: none; }
.best__track .card { flex: 0 0 62%; scroll-snap-align: center; }
.best__track .card__media { aspect-ratio: 1; }
.best__progress { height: 2px; margin: 8px var(--gutter) 0; background: rgba(91, 24, 32, .12); border-radius: 2px; overflow: hidden; }
.best__progress span { display: block; height: 100%; width: 30%; background: var(--wine); }
.link-more { display: block; text-align: center; margin-top: 22px; color: var(--wine); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; padding: 60px var(--gutter); background: var(--sand); text-align: center; }
.feature { display: grid; justify-items: center; gap: 6px; }
.feature__ico { width: 46px; height: 46px; fill: none; stroke: var(--wine); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.feature h3 { font-size: 15px; color: var(--wine-deep); }
.feature p { font-size: 12.5px; color: var(--muted); }

/* ---------- stay in touch ---------- */
.touch { position: relative; overflow: hidden; background: var(--wine); color: var(--cream); text-align: center; padding: 90px var(--gutter) 70px; display: grid; justify-items: center; gap: 12px; }
.touch__marquee { position: absolute; top: 18px; inset-inline: 0; overflow: hidden; opacity: .12; }
.touch__track { display: flex; width: max-content; font-size: 46px; font-weight: 700; letter-spacing: .06em; will-change: transform; direction: ltr; }
.touch__track span { white-space: pre; }
.touch h2 { font-size: 32px; }
.touch p { max-width: 30ch; color: rgba(247, 239, 228, .8); font-size: 14px; }
.touch__ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

/* ---------- footer ---------- */
.footer { background: var(--wine-deep); color: var(--sand); padding: 50px var(--gutter) calc(40px + var(--tab-h) + env(safe-area-inset-bottom)); display: grid; gap: 34px; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.footer h4 { color: var(--white); font-size: 14px; margin-bottom: 10px; }
.footer a { display: block; font-size: 13px; padding: 5px 0; opacity: .8; }
.footer__logo { width: 100%; color: #fff; }
.footer__rights { font-size: 11.5px; opacity: .6; text-align: center; }

/* ---------- tab bar ---------- */
.tabbar { position: fixed; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; height: var(--tab-h); display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(59, 14, 19, .94); color: var(--sand); border-radius: 22px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 40px -16px rgba(30, 6, 9, .6); }
.tab { position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; font-size: 10.5px; }
.tab .bag-count { top: 6px; inset-inline-end: calc(50% - 22px); }
.tab.is-active { color: var(--white); }
.tab.is-active::before { content: ""; position: absolute; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

/* ---------- sheets (product + bag) ---------- */
.sheet { position: fixed; inset: 0; z-index: 70; visibility: hidden; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(30, 6, 9, .55); opacity: 0; }
.sheet__panel { position: absolute; inset-inline: 0; bottom: 0; max-height: 92vh; max-height: 92svh; overflow-y: auto; background: var(--cream); border-radius: 26px 26px 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
.sheet__grip { display: block; width: 40px; height: 4px; border-radius: 4px; background: rgba(91, 24, 32, .25); margin: 10px auto 0; position: relative; z-index: 2; }
.sheet__close { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; background: rgba(255, 250, 243, .9); }
.sheet__media { margin: -14px 0 0; aspect-ratio: 1; overflow: hidden; }
.sheet__media img { width: 100%; height: 100%; object-fit: cover; }
.sheet__body { padding: 18px var(--gutter) 0; display: grid; gap: 12px; }
.sheet__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sheet__top h3 { font-size: 22px; color: var(--wine-deep); }
.sheet__top .price { font-size: 18px; white-space: nowrap; }
.sheet__desc { color: var(--muted); font-size: 14px; }
.sheet__shelf { font-size: 12px; color: var(--gold); font-weight: 500; }
.sheet__opts h4 { font-size: 13px; margin-bottom: 8px; color: var(--cocoa); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { height: 38px; padding: 0 16px; border-radius: 99px; border: 1px solid rgba(91, 24, 32, .22); font-size: 13px; color: var(--wine); }
.opt.is-on { background: var(--wine); border-color: var(--wine); color: var(--white); }
.sheet__qty { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 500; }
.stepper { display: flex; align-items: center; gap: 4px; border: 1px solid rgba(91, 24, 32, .2); border-radius: 99px; padding: 3px; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; font-size: 18px; color: var(--wine); }
.stepper b { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; }

.sheet--bag .sheet__panel { min-height: 60vh; min-height: 60svh; }
.bag__step { padding: 26px var(--gutter) 0; display: grid; gap: 14px; }
.bag__step[hidden] { display: none; }
.bag__title { font-size: 22px; color: var(--wine-deep); }
.bag__list { display: grid; gap: 12px; }
.bag__empty { color: var(--muted); text-align: center; padding: 40px 0; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; }
.line img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.line h4 { font-size: 14px; }
.line small { color: var(--muted); font-size: 12px; display: block; }
.line .stepper button { width: 28px; height: 28px; font-size: 15px; }
.bag__sum { display: flex; justify-content: space-between; font-size: 16px; padding-top: 12px; border-top: 1px solid rgba(91, 24, 32, .12); }
.bag__sum b { color: var(--wine); }
.bag__note { font-size: 12px; color: var(--muted); }
.bag__form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.bag__form input, .bag__form textarea { font: inherit; font-size: 16px; color: var(--cocoa); background: var(--white); border: 1px solid rgba(91, 24, 32, .18); border-radius: 12px; padding: 12px 14px; width: 100%; }
.bag__form input:focus, .bag__form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }

/* ---------- toast + fly-to-bag ---------- */
.toast { position: fixed; z-index: 80; inset-inline: 0; margin: auto; bottom: calc(var(--tab-h) + 24px + env(safe-area-inset-bottom)); width: max-content; max-width: 90vw; padding: 10px 18px; border-radius: 99px; background: var(--cocoa); color: var(--cream); font-size: 13px; opacity: 0; transform: translateY(10px); pointer-events: none; }
.fly { position: fixed; z-index: 90; border-radius: 50%; object-fit: cover; pointer-events: none; box-shadow: 0 10px 30px rgba(30, 6, 9, .4); }

/* ---------- wider screens: keep the phone layout centred ---------- */
@media (min-width: 760px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: repeat(3, 1fr); max-width: 1100px; margin: 0 auto; }
  .cat { flex-basis: 30%; }
  .best__track .card { flex-basis: 28%; }
  .features { grid-template-columns: repeat(4, 1fr); }
  .overlap__media { max-width: 900px; }
  .overlap__card { max-width: 520px; }
  .stack__pin { max-width: 720px; margin: 0 auto; }
  .tabbar { max-width: 460px; margin: 0 auto; }
  .sheet__panel { max-width: 520px; margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ================= about page ================= */
.intro { padding: 80px var(--gutter) 60px; text-align: center; }
.intro__text { font-size: 21px; line-height: 1.75; color: var(--wine-deep); font-weight: 500; max-width: 34ch; margin: 0 auto; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 44px; }
.stat { display: grid; gap: 4px; padding: 18px 6px; border-radius: var(--radius); background: var(--white); box-shadow: 0 14px 30px -24px rgba(59, 14, 19, .5); }
.stat b { font-size: 34px; color: var(--wine); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; color: var(--muted); }

.hscroll { height: 100vh; height: 100svh; background: var(--wine-deep); color: var(--cream); display: grid; grid-template-rows: auto minmax(0, 1fr); grid-template-columns: 100%; padding: calc(var(--head-h) + 22px) 0 calc(var(--tab-h) + 26px + env(safe-area-inset-bottom)); overflow: hidden; }
.hscroll__head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 var(--gutter) 16px; }
.hscroll .section-title { color: var(--cream); text-align: start; font-size: 26px; }
.hscroll .stack__count { color: rgba(247, 239, 228, .6); }
.hscroll .stack__count b { color: var(--gold); }
.hscroll__track { display: flex; align-items: center; gap: 14px; padding: 0 var(--gutter); width: max-content; height: 100%; will-change: transform; }
.hscroll__panel { position: relative; width: min(80vw, 420px); max-height: 100%; display: flex; flex-direction: column; }
.hscroll__panel figure { flex: 0 1 auto; min-height: 0; margin: 0; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--wine); }
.hscroll__panel img { width: 100%; height: 100%; object-fit: cover; }
.hscroll__panel > div { padding: 14px 4px 0; display: grid; gap: 4px; }
.hscroll__panel span { font-size: 12px; color: var(--gold); letter-spacing: .2em; }
.hscroll__panel h3 { font-size: 24px; }
.hscroll__panel p { font-size: 13.5px; color: rgba(247, 239, 228, .82); }

.occ { padding: 80px 0 40px; }
.occ-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 26px var(--gutter) 0; }
.occ-grid figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: var(--sand); }
.occ-grid figure:nth-child(odd) { transform: translateY(26px); }
.occ-grid img { width: 100%; height: 100%; object-fit: cover; }

/* wholesale: the cups photo fills the section behind the form card */
.wh { position: relative; overflow: hidden; padding: 90px var(--gutter) 80px; }
.wh__bg { position: absolute; inset: 0; }
.wh__pattern { position: absolute; inset: -10% 0 0; background: url(../img/wh-cups-bg.webp) center top / 720px auto repeat; }
.wh__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(43, 10, 14, .35), rgba(43, 10, 14, .6)); }
.overlap__card.wh__card { position: relative; margin: 0 auto; max-width: 520px; box-shadow: 0 30px 60px -24px rgba(30, 6, 9, .7); }
.wh-form { display: grid; gap: 12px; margin-top: 8px; }
.wh-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.wh-form input, .wh-form textarea { font: inherit; font-size: 16px; color: var(--cocoa); background: var(--cream); border: 1px solid rgba(91, 24, 32, .18); border-radius: 12px; padding: 12px 14px; width: 100%; }

.policy { padding: 80px var(--gutter) 70px; display: grid; gap: 16px; }
.policy .section-rule { margin-bottom: 10px; }
.policy__item { background: var(--white); border-radius: var(--radius); padding: 22px; display: grid; gap: 6px; }
.policy__item h3 { font-size: 17px; color: var(--wine-deep); }
.policy__item p { font-size: 14px; color: var(--muted); }

/* ---------- film (pinned video that opens from a circle) ---------- */
.film { position: relative; height: 100svh; overflow: hidden; background: var(--cream); }
.film__frame { position: absolute; inset: 0; clip-path: circle(22% at 50% 50%); will-change: clip-path; }
.film__video { width: 100%; height: 100%; object-fit: cover; }
.film__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(30, 6, 9, .7)); }
.film__text { position: absolute; inset-inline: 0; bottom: 110px; text-align: center; color: var(--white); display: grid; gap: 8px; padding: 0 var(--gutter); }
.film__text h2 { font-size: 34px; }
html[lang="en"] .film__text h2 { font-family: var(--serif); font-weight: 600; }

/* ---------- checkout: delivery location + payment ---------- */
.row3 { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 8px; }
.loc { display: grid; gap: 8px; }
.loc__label { font-size: 13px; color: var(--muted); }
.loc__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.loc__btn { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 14px; background: var(--wine); color: var(--white); font-size: 13.5px; font-weight: 600; }
.loc__btn .ico { width: 19px; height: 19px; }
.loc__btn--ghost { background: var(--white); color: var(--wine); border: 1px solid rgba(91, 24, 32, .2); }
.loc__btn:active { transform: scale(.97); }
.loc__map { height: 220px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(91, 24, 32, .15); z-index: 0; }
.loc__map[hidden] { display: none; }
.loc__status { font-size: 12.5px; color: var(--wine); background: rgba(201, 162, 107, .16); border-radius: 10px; padding: 8px 12px; }
.loc__status.is-bad { color: #9b2c2c; background: rgba(155, 44, 44, .08); }
.loc__status[hidden] { display: none; }
.map-pin span { position: absolute; left: 4px; top: 0; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; background: var(--wine); transform: rotate(-45deg); box-shadow: 0 6px 14px -4px rgba(30, 6, 9, .6); }
.map-pin span::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--gold); }
.pay { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.pay legend { font-size: 13px; color: var(--muted); padding: 0; margin-bottom: 8px; }
.bag__form .pay__opt { position: relative; display: grid; grid-template-columns: 54px 1fr 22px; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--white); border: 1.5px solid rgba(91, 24, 32, .14); color: var(--cocoa); cursor: pointer; transition: border-color .25s, box-shadow .25s; }
.pay__opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay__opt img { width: 54px; height: 34px; object-fit: contain; border-radius: 6px; }
.pay__cash { width: 54px; height: 34px; fill: #e9f3e6; stroke: #2f6b3a; stroke-width: 1.8; stroke-linecap: round; }
.pay__opt span { display: grid; gap: 1px; }
.pay__opt b { font-size: 14.5px; color: var(--wine-deep); }
.pay__opt small { font-size: 12px; color: var(--muted); }
.pay__opt i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(91, 24, 32, .3); display: grid; place-items: center; }
.pay__opt i::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--wine); transform: scale(0); transition: transform .3s var(--ease); }
.pay__opt input:checked ~ i { border-color: var(--wine); }
.pay__opt input:checked ~ i::after { transform: scale(1); }
.pay__opt:has(input:checked) { border-color: var(--wine); box-shadow: 0 10px 24px -16px rgba(59, 14, 19, .6); }
.pay__opt:has(input:checked) i { border-color: var(--wine); }
.pay__opt:has(input:checked) i::after { transform: scale(1); }
.pay__opt:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- menu page head ---------- */
.page-head { padding: calc(var(--head-h) + 46px) var(--gutter) 6px; text-align: center; display: grid; justify-items: center; gap: 4px; }
.page-head .section-title { font-size: 36px; }
.page-head + .menu { padding-top: 0; }
.page-head + .menu .chips { margin-top: 8px; }
.sprite { position: absolute; }

/* reduced motion: the stack becomes a plain list of the four cards */
.stack--static .stack__pin { height: auto; }
.stack--static .stack__cards { container-type: normal; display: grid; gap: 14px; }
.stack--static .stack__card { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 4 / 5; }
.stack--static .stack__count, .stack--static .stack__bar { display: none; }

/* ================= PC view (1024px and up). Phones never reach these rules. ================= */
@media (min-width: 1024px) {
  :root { --gutter: 40px; --head-h: 72px; --tab-h: 0px; }
  body { font-size: 16px; }
  .section-title { font-size: 42px; }
  .section-sub { font-size: 16px; }

  /* header: the phone tab bar moves up into the header as text links, burger hidden (its links are all in the bar) */
  .header { padding: 0 28px; }
  .header__logo { width: 132px; }
  .header .js-menu-open { visibility: hidden; }
  .header__end { gap: 8px; }
  .tabbar { top: 0; bottom: auto; inset-inline: 28px auto; z-index: 40; max-width: none; margin: 0; height: var(--head-h); display: flex; gap: 4px; background: none; border-radius: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .tab { display: flex; align-items: center; gap: 8px; padding: 0 14px; font-size: 14.5px; font-weight: 500; opacity: .78; transition: opacity .25s, color .25s; }
  .tab .ico { width: 18px; height: 18px; }
  .tab:hover, .tab.is-active { opacity: 1; color: var(--white); }
  .tab.is-active::before { top: auto; bottom: 16px; inset-inline: 14px; width: auto; height: 2px; border-radius: 2px; }
  .tab.js-bag-open { display: none; }
  .lang-btn { transition: background .25s, color .25s; }
  .lang-btn:hover { background: var(--sand); color: var(--wine-deep); opacity: 1; }
  .pill:hover { transform: translateY(-2px); }

  /* hero: the photo is a 4:5 portrait, so on PC it stands as a tall panel beside the title (stretching it across
     a wide screen made it blurry) */
  .hero { --hero-img-w: min(52vw, calc((100svh - var(--head-h)) * .8)); }
  .hero__media { top: var(--head-h); bottom: 0; inset-inline-start: auto; inset-inline-end: 0; width: var(--hero-img-w); }
  .hero__img { -webkit-mask-image: linear-gradient(to left, #000 78%, transparent); mask-image: linear-gradient(to left, #000 78%, transparent); }
  html[dir="rtl"] .hero__img { -webkit-mask-image: linear-gradient(to right, #000 78%, transparent); mask-image: linear-gradient(to right, #000 78%, transparent); }
  .hero__shade { background: linear-gradient(180deg, rgba(43, 10, 14, .3) 0%, rgba(43, 10, 14, 0) 25%, rgba(43, 10, 14, 0) 70%, rgba(43, 10, 14, .45) 100%); }
  .hero__content { top: var(--head-h); bottom: 0; inset-inline-start: 0; inset-inline-end: var(--hero-img-w); padding: 0 clamp(40px, 6vw, 120px); align-content: center; justify-items: start; text-align: start; gap: 22px; }
  .hero__title { font-size: clamp(56px, 5.4vw, 104px); max-width: 11ch; }
  .hero__sub { font-size: 18px; max-width: 36ch; }
  .hero__ctas { gap: 12px; }
  .hero__scroll { inset-inline-end: var(--hero-img-w); }

  /* video stack: title on one side of the card, big counter on the other */
  .stack:not(.stack--static) .stack__pin { max-width: 1280px; grid-template-columns: 1fr min(46vw, calc((100svh - 200px) * .8)) 1fr; grid-template-rows: minmax(0, 1fr) auto; column-gap: 64px; row-gap: 20px; padding: calc(var(--head-h) + 30px) var(--gutter) 36px; }
  .stack:not(.stack--static) .stack__head { display: contents; }
  .stack:not(.stack--static) .stack__head .kicker { grid-column: 1; grid-row: 1; align-self: center; justify-self: end; text-align: end; max-width: 6.5em; font-size: clamp(30px, 3vw, 48px); line-height: 1.3; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--wine-deep); }
  .stack:not(.stack--static) .stack__count { grid-column: 3; grid-row: 1; align-self: center; justify-self: start; font-size: 22px; direction: ltr; }
  .stack:not(.stack--static) .stack__count b { display: block; font-size: 120px; line-height: 1; }
  .stack:not(.stack--static) .stack__cards { grid-column: 2; grid-row: 1; }
  .stack:not(.stack--static) .stack__bar { grid-column: 2; grid-row: 2; }
  .stack__card h3 { font-size: 30px; }
  .stack__card p { font-size: 15px; }
  .stack--static .stack__pin { max-width: 1200px; padding-bottom: 60px; }
  .stack--static .stack__cards { grid-template-columns: repeat(4, 1fr); }

  /* categories: all six on screen in a grid, no sideways scrolling with a mouse */
  .cats { padding: 110px 0 90px; }
  .cats__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1200px; margin: 0 auto; overflow: visible; scroll-snap-type: none; padding: 40px var(--gutter) 0; }
  .cat__label h3 { font-size: 24px; }
  .cat:hover img { transform: scale(1.06); }

  /* menu page */
  .page-head { padding-top: calc(var(--head-h) + 70px); }
  .page-head .section-title { font-size: 52px; }
  .chips { justify-content: safe center; }
  .chip { height: 42px; padding: 0 20px; font-size: 14px; }
  .chip:hover:not(.is-active) { background: rgba(91, 24, 32, .08); }
  .grid { grid-template-columns: repeat(4, 1fr); max-width: 1280px; gap: 40px 24px; padding-top: 20px; }
  .card { cursor: pointer; }
  .card:hover .card__media img { transform: scale(1.05); }
  .card h3 { font-size: 16px; }
  .card__opts { font-size: 12.5px; }
  .price { font-size: 15px; }

  /* sheets: product opens as a wide two-column panel, bag a little wider */
  .sheet__panel { max-width: 560px; }
  .js-sheet .sheet__panel { max-width: 960px; max-height: 88vh; display: grid; grid-template-columns: 1fr 1fr; border-radius: 26px 26px 0 0; overflow: hidden auto; }
  .js-sheet .sheet__grip { display: none; }
  .js-sheet .sheet__media { margin: 0; aspect-ratio: auto; height: 100%; min-height: 480px; }
  .js-sheet .sheet__body { padding: 56px 40px 36px; align-content: center; gap: 16px; }
  .js-sheet .sheet__top h3 { font-size: 28px; }
  .js-sheet .sheet__desc { font-size: 15px; }

  /* footer: content kept in a 1200px column */
  .footer { padding: 70px max(var(--gutter), calc((100% - 1200px) / 2)) 40px; gap: 44px; }
  .footer__cols { grid-template-columns: repeat(2, auto); justify-content: space-between; }
  .footer h4 { font-size: 15px; }
  .footer a { font-size: 14px; transition: opacity .25s; }
  .footer a:hover { opacity: 1; }

  /* about page */
  .intro { padding: 130px var(--gutter) 100px; }
  .intro__text { font-size: 28px; max-width: 32ch; }
  .stats { max-width: 840px; margin: 60px auto 0; gap: 20px; }
  .stat { padding: 30px 10px; }
  .stat b { font-size: 52px; }
  .stat span { font-size: 14px; }
  .hscroll__head { padding-inline: var(--gutter); padding-bottom: 24px; }
  .hscroll .section-title { font-size: 42px; }
  .hscroll__track { gap: 28px; padding-inline: var(--gutter); }
  .hscroll__panel { width: min(30vw, 440px); }
  .hscroll__panel h3 { font-size: 28px; }
  .hscroll__panel p { font-size: 15px; }
  .occ { padding: 120px 0 100px; }
  .occ-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1280px; margin: 0 auto; padding: 44px var(--gutter) 26px; }
  .wh { padding: 140px var(--gutter) 130px; }
  .overlap__card.wh__card { max-width: 600px; padding: 40px 38px; }
  .overlap__card h2 { font-size: 32px; }
  .policy { max-width: 1040px; margin: 0 auto; padding: 120px var(--gutter) 110px; grid-template-columns: 1fr 1fr; gap: 20px; }
  .policy .section-title, .policy .section-rule { grid-column: 1 / -1; }
  .policy__item { padding: 30px; }
  .policy__item h3 { font-size: 19px; }
  .policy__item p { font-size: 15px; }
  .touch { padding: 140px var(--gutter) 120px; gap: 16px; }
  .touch__marquee { top: 24px; }
  .touch__track { font-size: 84px; }
  .touch h2 { font-size: 48px; }
  .touch p { font-size: 16px; max-width: 40ch; }
}
