/* Batloun Market — premium grocery PWA in the store website's palette: deep green #134929, butter cream #FDF7D8, emerald #0d9e75, white. */
:root {
  --forest: #134929; --forest-2: #0f3d22; --brand: #134929; --brand-2: #0d9e75; --accent: #0d9e75; --accent-2: #0a7e5d; --mint: #e2f5ee; --mint-2: #bfe7d8;
  --cream: #fffdf6; --cream-2: #fdf7d8; --sand: #f1e8bf; --line: #ede6cc; --card: #ffffff; --butter: #fdf7d8;
  --ink: #1d2721; --ink-2: #3a453e; --muted: #6c766f; --faint: #a4aca6;
  --gold: #0d9e75; --gold-2: #fdf7d8; --gold-3: #fdf7d8; --red: #b2432c; --red-bg: #fbeae5;
  --foil: linear-gradient(115deg, #fdf7d8 0%, #ffffff 32%, #f6eab4 55%, #fffbe9 75%, #f1e2a3 100%);
  --r-s: 12px; --r: 18px; --r-l: 26px; --r-xl: 34px;
  --sh-1: 0 1px 2px rgba(20, 35, 27, .06), 0 2px 8px rgba(20, 35, 27, .05);
  --sh-2: 0 4px 14px rgba(20, 35, 27, .08), 0 18px 40px -12px rgba(20, 35, 27, .18);
  --sh-3: 0 30px 80px -20px rgba(19, 73, 41, .45);
  --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
  --display: "Poppins", "IBM Plex Sans Arabic", system-ui, sans-serif; --ui: "Poppins", "IBM Plex Sans Arabic", system-ui, -apple-system, sans-serif;
  --top-h: 132px; --tabs-h: 74px; --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
html[dir="rtl"] { --display: "IBM Plex Sans Arabic", "Poppins", system-ui, sans-serif; --ui: "IBM Plex Sans Arabic", "Poppins", system-ui, sans-serif; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--cream); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; touch-action: manipulation; }
body { margin: 0; font: 15px/1.45 var(--ui); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; min-height: 100vh; overflow-x: hidden; }
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
/* iPhone zooms the page into any field under 16px; keep phones at screen size */
@media (max-width: 859px) { input, select, textarea { font-size: 16px !important; } }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.serif { font-family: var(--display); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 28px; } }

/* ---------- splash ---------- */
#splash { position: fixed; inset: 0; z-index: 100; background: var(--forest); display: grid; place-items: center; align-content: center; gap: 28px; transition: opacity .6s var(--ease), visibility .6s; }
#splash img { width: 168px; animation: rise 1s var(--ease) both; }
.splash-bar { width: 120px; height: 2px; background: rgba(207, 232, 218, .18); border-radius: 2px; overflow: hidden; }
.splash-bar i { display: block; height: 100%; width: 40%; background: var(--gold-2); border-radius: 2px; animation: load 1.1s var(--ease) infinite; }
body.ready #splash { opacity: 0; visibility: hidden; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes shimmer { from { background-position: -400px 0; } to { background-position: 400px 0; } }

/* ---------- header ---------- */
#top { position: sticky; top: 0; z-index: 30; background: rgba(251, 248, 241, .86); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; padding-top: env(safe-area-inset-top, 0px); }
#top.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(19, 73, 41, .35); }
.hd { display: flex; align-items: center; gap: 14px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.brand .wm { display: none; line-height: 1.05; }
.brand .wm b { font: 600 20px/1 var(--display); letter-spacing: -.01em; color: var(--forest); display: block; }
.brand .wm span { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 760px) { .brand .wm { display: block; } }
.where { display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); min-width: 0; max-width: 100%; transition: border-color .2s, transform .2s var(--ease); }
.where:hover { border-color: var(--mint-2); }
.where:active { transform: scale(.98); }
.where .ico { color: var(--brand); flex-shrink: 0; }
.where .t { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; text-align: start; }
.where small { font-size: 10.5px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.where b { font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd .sp { flex: 1; }
.hd-links { display: none; gap: 4px; }
.hd-links a { padding: 9px 14px; border-radius: 999px; font-weight: 500; color: var(--ink-2); transition: background .2s; }
.hd-links a:hover, .hd-links a.on { background: var(--mint); color: var(--forest); }
@media (min-width: 960px) { .hd-links { display: flex; } }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; position: relative; background: var(--card); border: 1px solid var(--line); transition: transform .2s var(--ease), background .2s; flex-shrink: 0; }
.icon-btn:hover { background: #fff; }
.icon-btn:active { transform: scale(.94); }
.icon-btn .badge { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--cream); }
.icon-btn .badge.bump { animation: pop .45s var(--spring); }
.lang { font-weight: 700; font-size: 13px; }
.lang-ar { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: 15px; }
.search-row { padding: 0 0 12px; }
.search { position: relative; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1); color: var(--muted); cursor: text; transition: border-color .2s, box-shadow .2s; }
.search:hover { border-color: var(--mint-2); }
.search input { flex: 1; border: 0; outline: 0; background: none; height: 100%; font-size: 15.5px; color: var(--ink); min-width: 0; }
.search input::placeholder { color: var(--faint); }
.search kbd { font: 600 11px var(--ui); color: var(--faint); border: 1px solid var(--line); padding: 2px 6px; border-radius: 6px; display: none; }
@media (min-width: 960px) { .search kbd { display: inline; } }

/* ---------- tab bar (phones) ---------- */
#tabs { position: fixed; bottom: 0; inset-inline: 0; z-index: 40; height: calc(var(--tabs-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: rgba(255, 253, 248, .92); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; }
#tabs a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 500; color: var(--muted); padding: 8px 0; transition: color .2s; }
#tabs a.on { color: var(--forest); }
#tabs a.on svg { stroke-width: 2.2; }
#tabs a.club { position: relative; top: -14px; }
#tabs a.club .coin { width: 56px; height: 56px; border-radius: 50%; background: var(--forest); display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(19, 73, 41, .6), inset 0 0 0 2px rgba(207, 232, 218, .45); color: var(--gold-2); transition: transform .25s var(--spring); }
#tabs a.club:active .coin { transform: scale(.92); }
#tabs a.club span { margin-top: 2px; }
@media (min-width: 960px) { #tabs { display: none; } }
body { padding-bottom: calc(var(--tabs-h) + var(--safe-b) + 12px); }
@media (min-width: 960px) { body { padding-bottom: 0; } }

/* floating basket bar (phones) */
#cartbar { position: fixed; z-index: 39; inset-inline: 12px; bottom: calc(var(--tabs-h) + var(--safe-b) + 10px); }
#cartbar button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 12px; border-radius: 18px; background: var(--forest); color: #fff; box-shadow: var(--sh-3); animation: rise .45s var(--ease); }
#cartbar .n { width: 34px; height: 34px; border-radius: 11px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; font-weight: 700; }
#cartbar .l { flex: 1; text-align: start; line-height: 1.2; }
#cartbar .l small { display: block; color: var(--gold-2); font-size: 12px; }
#cartbar .v { font: 600 17px var(--display); }
@media (min-width: 960px) { #cartbar { display: none !important; } }

/* ---------- generic ---------- */
#view { outline: none; min-height: 60vh; animation: fade .35s var(--ease); }
.sec { margin: 34px 0 0; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.sec-h h2 { font: 600 clamp(22px, 3.2vw, 30px)/1.1 var(--display); letter-spacing: -.015em; margin: 0; color: var(--forest); }
.sec-h p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.sec-h a { font-weight: 600; font-size: 14px; color: var(--brand); white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.eyebrow { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
html[dir="rtl"] .eyebrow { letter-spacing: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 16px; font-weight: 600; font-size: 15.5px; transition: transform .18s var(--ease), background .2s, box-shadow .2s, opacity .2s; white-space: nowrap; }
.btn:active { transform: scale(.975); }
.btn.pri { background: var(--forest); color: #fff; box-shadow: 0 10px 24px -12px rgba(19, 73, 41, .7); }
.btn.pri:hover { background: var(--forest-2); }
.btn.gold { background: #fbfaf6; color: var(--forest); box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .6); }
.btn.gold:hover { background: #fff; }
.btn.ghost { background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--mint-2); }
.btn.block { width: 100%; }
.btn.lg { height: 58px; font-size: 16.5px; border-radius: 18px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn .spin, .spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 500; font-size: 14px; white-space: nowrap; transition: all .2s var(--ease); color: var(--ink-2); }
.chip:hover { border-color: var(--mint-2); }
.chip.on { background: var(--forest); border-color: var(--forest); color: #fff; }
.chip .c { font-size: 12px; opacity: .6; }
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 18px; margin: 0 -16px; scrollbar-width: none; scroll-padding-inline: 16px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex-shrink: 0; }
@media (min-width: 760px) { .rail { margin: 0 -28px; padding-inline: 28px; scroll-padding-inline: 28px; } }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 16px; margin: 0 -16px; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .chips { margin: 0 -28px; padding-inline: 28px; } }
.muted { color: var(--muted); }
.empty { text-align: center; padding: 64px 20px; color: var(--muted); }
.empty .art { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; color: var(--brand); }
.empty h3 { font: 600 24px var(--display); color: var(--forest); margin: 0 0 6px; }
.skel { background: linear-gradient(90deg, var(--cream-2) 0, #f8f3ea 40%, var(--cream-2) 80%); background-size: 800px 100%; animation: shimmer 1.3s linear infinite; border-radius: var(--r); }

/* ---------- hero ---------- */
.hero { display: grid; gap: 14px; margin-top: 8px; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.25fr 1fr; gap: 18px; } }
.hero-main { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--forest); color: #f1f6f2; padding: 28px 24px 26px; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
@media (min-width: 760px) { .hero-main { padding: 40px 40px 36px; min-height: 340px; } }
.hero-main::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(120% 90% at 100% 0%, rgba(13, 158, 117, .55) 0%, transparent 55%),
  radial-gradient(80% 70% at 0% 100%, rgba(13, 158, 117, .22) 0%, transparent 60%); }
.hero-main::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .2; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.9'/></svg>"); }
.hero-main .hero-art { position: absolute; inset-inline-end: -10px; top: 14px; width: 54%; max-width: 330px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; transform: rotate(-6deg); opacity: .96; }
html[dir="rtl"] .hero-main .hero-art { transform: rotate(6deg); }
.hero-main .hero-art div { aspect-ratio: 1; border-radius: 22px; background: #fbfaf6; display: grid; place-items: center; padding: 12%; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .55); }
.hero-main .hero-art div:nth-child(2) { transform: translateY(24px); }
.hero-main .hero-art div:nth-child(4) { transform: translateY(24px); }
.hero-main .hero-art img { mix-blend-mode: multiply; max-height: 100%; object-fit: contain; }
.hero-main h1 { font: 500 clamp(30px, 5.4vw, 52px)/1.02 var(--display); letter-spacing: -.025em; margin: 10px 0 10px; max-width: 13ch; position: relative; }
.hero-main h1 em { font-style: italic; background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-main p { margin: 0 0 20px; color: rgba(241, 246, 242, .78); max-width: 34ch; font-size: 15px; position: relative; }
.hero-main .eyebrow { color: var(--gold-2); position: relative; }
.hero-main .btn { align-self: flex-start; position: relative; }
@media (max-width: 520px) { .hero-main .hero-art { width: 46%; top: 18px; opacity: .9; } .hero-main h1 { max-width: 11ch; } .hero-main p { max-width: 24ch; } }
.promise { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .promise { grid-template-columns: 1fr 1fr; align-content: stretch; } }
.promise div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.promise div .ico { width: 38px; height: 38px; border-radius: 12px; background: var(--mint); color: var(--brand); display: grid; place-items: center; }
.promise b { font: 600 16px/1.2 var(--display); color: var(--forest); }
.promise span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }

/* ---------- Club card ---------- */
.club-card { position: relative; overflow: hidden; border-radius: 26px; aspect-ratio: 1.586; padding: 22px 22px 20px; color: #f1f6f2; background: radial-gradient(130% 120% at 0% 0%, #1f6a3f 0%, #134929 55%, #0c311b 100%); box-shadow: var(--sh-3); display: flex; flex-direction: column; isolation: isolate; transform-style: preserve-3d; transition: transform .5s var(--ease); }
.club-card.black { background: radial-gradient(130% 120% at 0% 0%, #2c2c2a 0%, #121211 55%, #050505 100%); }
.club-card.cedar { background: radial-gradient(130% 120% at 0% 0%, #1f6a3f 0%, #0f3d22 50%, #134929 100%); }
.club-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, rgba(207, 232, 218, .045) 0 2px, transparent 2px 9px); }
.club-card::after { content: ""; position: absolute; inset: -40%; z-index: -1; background: radial-gradient(closest-side, rgba(220, 240, 228, .2), transparent); transform: translate(var(--gx, 30%), var(--gy, -30%)); transition: transform .4s var(--ease); pointer-events: none; }
.club-card .row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.club-card .mark { font: 600 13px/1 var(--ui); letter-spacing: .32em; text-transform: uppercase; background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.club-card .mark small { display: block; letter-spacing: .2em; font-size: 9.5px; margin-top: 6px; color: rgba(241, 246, 242, .55); -webkit-text-fill-color: rgba(241, 246, 242, .55); }
.club-card .tier { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(207, 232, 218, .4); color: var(--gold-2); }
.club-card .pts { margin-top: auto; }
.club-card .pts b { font: 500 clamp(38px, 9vw, 52px)/1 var(--display); letter-spacing: -.02em; background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.club-card .pts span { font-size: 13px; color: rgba(241, 246, 242, .7); margin-inline-start: 6px; }
.club-card .foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 10px; font-size: 12.5px; color: rgba(241, 246, 242, .75); gap: 10px; }
.club-card .foot .nm { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #f1f6f2; }
.club-card .chipgfx { width: 40px; height: 30px; border-radius: 7px; background: var(--foil); opacity: .9; position: relative; }
.club-card .chipgfx::after { content: ""; position: absolute; inset: 6px 10px; border: 1px solid rgba(19, 73, 41, .35); border-radius: 3px; }
.club-card .logo { position: absolute; inset-inline-end: 18px; bottom: 54px; width: 92px; opacity: .14; }
.club-join { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.club-join h3 { font: 500 28px/1.05 var(--display); margin: 0; }
.club-join p { margin: 0; color: rgba(241, 246, 242, .75); font-size: 14px; }

/* ---------- departments ---------- */
.depts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 640px) { .depts { grid-template-columns: repeat(5, 1fr); gap: 12px; } }
@media (min-width: 1100px) { .depts { grid-template-columns: repeat(5, 1fr); gap: 14px; } }
.dept { position: relative; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); padding: 12px 12px 12px; aspect-ratio: .86; display: flex; flex-direction: column; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.dept:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: transparent; }
.dept b { font: 600 14.5px/1.15 var(--display); color: var(--forest); position: relative; z-index: 1; }
@media (min-width: 640px) { .dept b { font-size: 16.5px; } }
.dept .stack { position: absolute; inset: auto 0 0 0; height: 66%; display: flex; justify-content: center; align-items: flex-end; padding-bottom: 6px; }
.dept .stack img { width: 56%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; transition: transform .45s var(--ease); }
.dept .stack img:nth-child(1) { transform: translateX(28%) rotate(-8deg) scale(.82); opacity: .9; }
.dept .stack img:nth-child(2) { transform: translateX(-28%) rotate(8deg) scale(.82); opacity: .9; }
.dept .stack img:nth-child(3) { position: absolute; bottom: 4px; width: 62%; }
.dept:hover .stack img:nth-child(1) { transform: translateX(34%) rotate(-12deg) scale(.86); }
.dept:hover .stack img:nth-child(2) { transform: translateX(-34%) rotate(12deg) scale(.86); }
.dept:hover .stack img:nth-child(3) { transform: translateY(-4px) scale(1.04); }
.dept.feature { background: linear-gradient(160deg, #eef6f0, #dcebe1); border-color: #cfe3d7; }
.dept.fresh { background: linear-gradient(160deg, #e7f1ea, #d6e8dc); border-color: #cde0d3; }
.dept small { font-size: 11px; color: var(--muted); position: relative; z-index: 1; margin-top: 3px; }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 860px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1140px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.rail .pc { width: 158px; }
@media (min-width: 760px) { .rail .pc { width: 188px; } }
.pc { position: relative; display: flex; flex-direction: column; gap: 8px; cursor: pointer; }
.pc .ph { position: relative; aspect-ratio: 1; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; transition: box-shadow .3s, transform .3s var(--ease); }
.pc:hover .ph { box-shadow: var(--sh-2); }
.pc .ph img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease), opacity .4s; opacity: 0; }
.pc .ph img.in { opacity: 1; }
.pc:hover .ph img { transform: scale(1.05); }
.ph .mono { font: 500 46px/1 var(--display); color: var(--mint-2); letter-spacing: -.04em; }
.ph .mono small { display: block; font: 600 9.5px var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--faint); text-align: center; margin-top: 8px; }
.pc .tags { position: absolute; top: 8px; inset-inline-start: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; z-index: 1; }
.tag { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; padding: 4px 8px; border-radius: 999px; background: rgba(255, 253, 248, .92); color: var(--brand); border: 1px solid var(--mint-2); backdrop-filter: blur(6px); }
.tag.gold { color: #0d6b47; border-color: #cfe3d7; background: rgba(236, 245, 239, .95); }
.tag.low { color: var(--red); border-color: #f1cfc6; }
.pc .add { position: absolute; bottom: 8px; inset-inline-end: 8px; z-index: 2; }
.stepper { display: inline-flex; align-items: center; height: 40px; border-radius: 999px; background: var(--forest); color: #fff; box-shadow: 0 8px 18px -8px rgba(19, 73, 41, .7); overflow: hidden; transition: width .3s var(--ease); }
.stepper button { width: 40px; height: 40px; display: grid; place-items: center; transition: background .15s; }
.stepper button:hover { background: rgba(255, 255, 255, .1); }
.stepper b { min-width: 26px; text-align: center; font-size: 14px; font-weight: 700; }
.stepper.solo { width: 40px; }
.stepper.solo button.plus { width: 40px; }
.stepper.lt { background: var(--card); color: var(--forest); border: 1px solid var(--line); box-shadow: none; }
.stepper.lt button:hover { background: var(--cream-2); }
.pc .info { padding: 0 2px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pc .price { font: 600 17px/1.1 var(--display); color: var(--forest); display: flex; align-items: baseline; gap: 4px; }
.pc .price small { font: 500 12px var(--ui); color: var(--muted); }
.pc .nm { font-size: 13.5px; line-height: 1.3; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.pc .sz { font-size: 12px; color: var(--faint); }
.more-btn { display: flex; justify-content: center; margin: 22px 0 6px; }

/* ---------- department page ---------- */
.dhead { padding: 18px 0 6px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.dhead h1 { font: 500 clamp(32px, 5vw, 48px)/1 var(--display); letter-spacing: -.025em; margin: 6px 0 6px; color: var(--forest); }
.dhead p { margin: 0; color: var(--muted); }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; font-size: 14px; padding: 6px 0; }
.back:hover { color: var(--forest); }
.subbar { position: sticky; top: var(--top-h); z-index: 20; background: rgba(251, 248, 241, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 10px 0; margin-bottom: 8px; }
.sortsel { height: 38px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); padding: 0 14px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.count { font-size: 13px; color: var(--muted); margin: 6px 0 14px; }

/* ---------- overlays ---------- */
#layer > * { position: fixed; inset: 0; z-index: 60; }
.scrim { position: absolute; inset: 0; background: rgba(10, 34, 19, .42); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fade .3s var(--ease); }
.sheet { position: absolute; inset-inline: 0; bottom: 0; max-height: 92vh; overflow-y: auto; overflow-x: hidden; background: var(--cream); border-radius: 28px 28px 0 0; box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .35); animation: up .45s var(--ease); padding-bottom: calc(18px + var(--safe-b)); overscroll-behavior: contain; }
.sheet .grab { width: 44px; height: 5px; border-radius: 3px; background: var(--sand); margin: 10px auto 4px; }
.sheet .x { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 3; }
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes side { from { transform: translateX(100%); } to { transform: none; } }
@keyframes sidertl { from { transform: translateX(-100%); } to { transform: none; } }
@media (min-width: 860px) {
  .sheet.modal { inset: auto; top: 50%; left: 50%; bottom: auto; width: min(920px, 92vw); max-height: 88vh; border-radius: 30px; transform: translate(-50%, -50%); animation: modal .4s var(--ease); }
  html[dir="rtl"] .sheet.modal { left: auto; right: 50%; transform: translate(50%, -50%); }
  .sheet.modal .grab { display: none; }
  .sheet.drawer { inset: 0 0 0 auto; width: 460px; max-height: none; border-radius: 30px 0 0 30px; animation: side .45s var(--ease); }
  html[dir="rtl"] .sheet.drawer { inset: 0 auto 0 0; border-radius: 0 30px 30px 0; animation: sidertl .45s var(--ease); }
  .sheet.drawer .grab { display: none; }
  .sheet.narrow { width: min(480px, 92vw); }
}
@keyframes modal { from { opacity: 0; transform: translate(-50%, -46%) scale(.97); } to { opacity: 1; transform: translate(-50%, -50%); } }
.closing .sheet { transition: transform .3s var(--ease), opacity .3s; transform: translateY(100%); }
.closing .scrim { transition: opacity .3s; opacity: 0; }
@media (min-width: 860px) { .closing .sheet.modal { opacity: 0; transform: translate(-50%, -48%) scale(.98); } .closing .sheet.drawer { transform: translateX(100%); } html[dir="rtl"] .closing .sheet.drawer { transform: translateX(-100%); } }

/* product sheet */
.pd { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); }
.pd > * { min-width: 0; }
@media (min-width: 860px) { .pd { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.pd .big { background: var(--card); aspect-ratio: 1; display: grid; place-items: center; position: relative; overflow: hidden; }
@media (max-width: 859px) { .pd .big { margin: 0 14px; border-radius: 24px; aspect-ratio: 1.15; } }
@media (min-width: 860px) { .pd .big { border-radius: 30px 0 0 30px; height: 100%; aspect-ratio: auto; min-height: 460px; } html[dir="rtl"] .pd .big { border-radius: 0 30px 30px 0; } }
.pd .big img { width: 74%; height: 74%; object-fit: contain; mix-blend-mode: multiply; animation: rise .5s var(--ease); }
.pd .body { padding: 22px 20px 6px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 860px) { .pd .body { padding: 40px 36px 30px; } }
.pd h2 { font: 500 clamp(26px, 3.6vw, 34px)/1.08 var(--display); letter-spacing: -.02em; margin: 0; color: var(--forest); }
.pd .meta { color: var(--muted); font-size: 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pd .meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
.pd .pr { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pd .pr b { font: 600 34px/1 var(--display); color: var(--forest); }
.pd .pr small { color: var(--muted); font-size: 14px; }
.pd .perk { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--gold-3); color: #0d6b47; font-size: 13.5px; font-weight: 500; }
.pd .perk.mint { background: var(--mint); color: var(--brand); }
.pd .buy { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.pd .buy .btn { min-width: 0; white-space: normal; line-height: 1.15; text-align: center; }
@media (max-width: 859px) { .pd .buy .btn { padding: 0 14px; font-size: 15.5px; } .pd .qty button { width: 42px; } .pd .qty b { min-width: 34px; } }
.qty { display: inline-flex; align-items: center; height: 58px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.qty button { width: 50px; height: 100%; display: grid; place-items: center; color: var(--forest); }
.qty b { min-width: 46px; text-align: center; font-size: 16px; }
.pd .also { padding: 8px 20px 0; }
@media (min-width: 860px) { .pd .also { grid-column: 1 / -1; padding: 6px 36px 10px; } }
.pd .also h4 { font: 600 19px var(--display); color: var(--forest); margin: 8px 0 12px; }

/* search overlay */
.srch { position: absolute; inset: 0; background: var(--cream); overflow-y: auto; animation: fade .25s var(--ease); padding-top: env(safe-area-inset-top, 0); }
.srch .bar { position: sticky; top: 0; background: rgba(251, 248, 241, .94); backdrop-filter: blur(14px); padding: 12px 0; z-index: 2; border-bottom: 1px solid var(--line); }
.srch .bar .wrap { display: flex; gap: 10px; align-items: center; }
.srch .bar .search { flex: 1; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(13, 158, 117, .1); }
.srch h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 22px 0 10px; font-weight: 600; }
.srch .chips { flex-wrap: wrap; margin: 0; padding: 0; }

/* cart */
.cart { display: flex; flex-direction: column; min-height: 100%; }
.cart-h { padding: 20px 20px 8px; display: flex; align-items: center; justify-content: space-between; }
.cart-h h3 { font: 500 30px var(--display); margin: 0; color: var(--forest); }
.progress { margin: 6px 20px 8px; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-size: 13.5px; }
.progress .track { height: 6px; border-radius: 3px; background: var(--cream-2); margin-top: 10px; overflow: hidden; }
.progress .track i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--brand), #0d9e75); transition: width .6s var(--ease); }
.progress b { color: var(--forest); }
.lines { padding: 6px 20px; flex: 1; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); animation: rise .3s var(--ease); }
.line .th { width: 64px; height: 64px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.line .th img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.line .th .mono { font-size: 24px; }
.line .n { font-size: 14px; line-height: 1.3; }
.line .n small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.line .r { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.line .r b { font: 600 15px var(--display); color: var(--forest); }
.line .stepper { height: 34px; }
.line .stepper button { width: 32px; height: 34px; }
.sum { padding: 16px 20px 0; position: sticky; bottom: 0; background: linear-gradient(transparent, var(--cream) 18px); }
.sum .rows { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.sum .rows div { display: flex; justify-content: space-between; }
.sum .rows .tot { font: 600 20px var(--display); color: var(--forest); padding-top: 8px; border-top: 1px dashed var(--line); margin-top: 4px; }
.sum .rows .tot small { font: 500 12px var(--ui); color: var(--muted); display: block; text-align: end; }
.earn { display: inline-flex; align-items: center; gap: 6px; color: #0d6b47; font-weight: 600; font-size: 13px; }

/* forms / checkout */
.page { padding: 18px 0 40px; }
.page-h h1 { font: 500 clamp(30px, 4.6vw, 44px)/1.05 var(--display); letter-spacing: -.02em; margin: 6px 0 4px; color: var(--forest); }
.co { display: grid; gap: 18px; margin-top: 18px; }
@media (min-width: 960px) { .co { grid-template-columns: 1.4fr 1fr; align-items: start; gap: 28px; } .co .side { position: sticky; top: calc(var(--top-h) + 16px); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px; }
.card h3 { font: 600 19px var(--display); margin: 0 0 14px; color: var(--forest); display: flex; align-items: center; gap: 10px; }
.card h3 .n { width: 26px; height: 26px; border-radius: 50%; background: var(--forest); color: var(--gold-2); font: 700 12px var(--ui); display: grid; place-items: center; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 16px; background: var(--cream-2); gap: 4px; }
.seg button { height: 46px; border-radius: 12px; font-weight: 600; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 8px; transition: all .25s var(--ease); }
.seg button.on { background: var(--card); color: var(--forest); box-shadow: var(--sh-1); }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s; margin-bottom: 10px; background: var(--cream); }
.opt.on { border-color: var(--brand); background: #f3f8f4; }
.opt .rd { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--faint); flex-shrink: 0; margin-top: 1px; display: grid; place-items: center; }
.opt.on .rd { border-color: var(--brand); }
.opt.on .rd::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.opt b { display: block; font-weight: 600; }
.opt span { font-size: 13px; color: var(--muted); }
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.fld label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.inp { height: 50px; border-radius: 14px; border: 1px solid var(--line); background: var(--cream); padding: 0 14px; outline: none; transition: border-color .2s, box-shadow .2s; width: 100%; font-size: 15px; }
textarea.inp { height: auto; min-height: 76px; padding: 12px 14px; resize: vertical; }
.inp:focus { border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(13, 158, 117, .1); background: #fff; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.slots { display: flex; gap: 8px; flex-wrap: wrap; }
.slots .chip { height: 40px; }
.pts-use { border-radius: 18px; padding: 16px; background: var(--forest); color: #f1f6f2; display: grid; gap: 10px; }
.pts-use .h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pts-use b { font: 600 22px var(--display); background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pts-use input[type=range] { width: 100%; accent-color: #e8d29c; }
.switch { width: 50px; height: 30px; border-radius: 15px; background: rgba(255, 255, 255, .2); position: relative; transition: background .25s; flex-shrink: 0; }
.switch::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .3s var(--spring); }
.switch.on { background: #0d9e75; }
.switch.on::after { transform: translateX(20px); }
html[dir="rtl"] .switch.on::after { transform: translateX(-20px); }
.err { color: var(--red); background: var(--red-bg); padding: 10px 14px; border-radius: 12px; font-size: 13.5px; margin: 6px 0 12px; }

/* auth */
.auth { padding: 18px 22px 10px; max-width: 440px; margin: 0 auto; text-align: center; }
.auth img.lg { width: 120px; margin: 6px auto 8px; }
.auth h3 { font: 500 28px/1.1 var(--display); color: var(--forest); margin: 8px 0 6px; }
.auth p { color: var(--muted); margin: 0 0 18px; font-size: 14.5px; }
.phone-in { display: flex; align-items: center; height: 58px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); overflow: hidden; transition: border-color .2s, box-shadow .2s; direction: ltr; }
.phone-in:focus-within { border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(13, 158, 117, .1); }
.phone-in span { padding: 0 14px; font-weight: 600; color: var(--forest); border-right: 1px solid var(--line); height: 100%; display: grid; place-items: center; background: var(--cream-2); }
.phone-in input { flex: 1; border: 0; outline: 0; height: 100%; padding: 0 14px; font-size: 18px; letter-spacing: .04em; background: none; min-width: 0; }
.pins { display: flex; justify-content: center; gap: 12px; margin: 10px 0 8px; direction: ltr; }
.pins i { width: 54px; height: 62px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card); display: grid; place-items: center; font-style: normal; transition: border-color .2s, transform .2s var(--spring); }
.pins i.f { border-color: var(--brand); }
.pins i.f::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--forest); animation: pop .3s var(--spring); }
.pins.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px auto 6px; max-width: 300px; direction: ltr; }
.pad button { height: 58px; border-radius: 16px; font: 500 24px var(--display); background: var(--card); border: 1px solid var(--line); transition: background .15s, transform .15s; }
.pad button:active { background: var(--mint); transform: scale(.96); }
.pad button.fn { font: 600 13px var(--ui); color: var(--muted); background: none; border: 0; }

/* orders / tracking */
.olist { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 760px) { .olist { grid-template-columns: 1fr 1fr; } }
.ocard { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.ocard:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.ocard .ic { width: 50px; height: 50px; border-radius: 16px; background: var(--mint); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.ocard .t { flex: 1; min-width: 0; }
.ocard .t b { font: 600 17px var(--display); color: var(--forest); }
.ocard .t small { display: block; color: var(--muted); font-size: 13px; }
.st { font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--mint); color: var(--brand); white-space: nowrap; }
.st.done { background: var(--forest); color: var(--gold-2); }
.st.cancelled { background: var(--red-bg); color: var(--red); }
.st.new { background: var(--gold-3); color: #0d6b47; }
.track-hero { border-radius: var(--r-xl); background: var(--forest); color: #f1f6f2; padding: 26px 22px; position: relative; overflow: hidden; isolation: isolate; }
.track-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 90% at 100% 0, rgba(13, 158, 117, .6), transparent 60%); }
.track-hero h2 { font: 500 clamp(28px, 4.4vw, 40px)/1.05 var(--display); margin: 8px 0 6px; }
.track-hero p { margin: 0; color: rgba(241, 246, 242, .75); }
.steps { display: grid; gap: 0; margin-top: 24px; position: relative; }
.stp { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 9px 0; position: relative; }
.stp .dt { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(241, 246, 242, .25); display: grid; place-items: center; color: transparent; position: relative; z-index: 1; background: var(--forest); transition: all .4s var(--ease); }
.stp.done .dt { background: var(--gold-2); border-color: var(--gold-2); color: var(--forest); }
.stp.now .dt { border-color: var(--gold-2); }
.stp.now .dt::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--gold-2); opacity: .5; animation: ping 1.6s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.8); opacity: .7; } to { transform: scale(1.5); opacity: 0; } }
.stp:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 16px; top: 42px; height: calc(100% - 32px); width: 2px; background: rgba(241, 246, 242, .18); }
.stp.done:not(:last-child)::after { background: var(--gold-2); }
.stp b { font-weight: 600; }
.stp small { color: rgba(241, 246, 242, .6); font-size: 12.5px; }
.stp:not(.done):not(.now) b { color: rgba(241, 246, 242, .5); }

/* Club page */
.club-page { display: grid; gap: 22px; margin-top: 16px; }
@media (min-width: 960px) { .club-page { grid-template-columns: 440px 1fr; align-items: start; gap: 34px; } .club-page .stick { position: sticky; top: calc(var(--top-h) + 16px); } }
.barcode-box { margin-top: 14px; background: #fff; border-radius: 20px; padding: 16px 16px 12px; text-align: center; border: 1px solid var(--line); }
.barcode-box svg { width: 100%; height: 78px; }
.barcode-box small { color: var(--muted); font-size: 12px; letter-spacing: .14em; }
.tierbar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0 6px; }
.tierbar div { height: 6px; border-radius: 3px; background: var(--cream-2); overflow: hidden; }
.tierbar div i { display: block; height: 100%; background: var(--foil); }
.how { display: grid; gap: 10px; }
@media (min-width: 640px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how div { padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.how b { font: 600 26px var(--display); color: var(--forest); display: block; }
.how span { font-size: 13.5px; color: var(--muted); }
.hist { display: grid; }
.hist div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.hist small { display: block; color: var(--muted); font-size: 12px; }
.hist .p { font-weight: 700; color: var(--brand); white-space: nowrap; }
.hist .m { font-weight: 700; color: #0d6b47; white-space: nowrap; }

/* account */
.acct { display: grid; gap: 14px; margin-top: 16px; max-width: 720px; }
.row-link { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); width: 100%; text-align: start; transition: box-shadow .2s; }
.row-link:hover { box-shadow: var(--sh-1); }
.row-link .ic { width: 42px; height: 42px; border-radius: 13px; background: var(--mint); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.row-link .t { flex: 1; }
.row-link small { display: block; color: var(--muted); font-size: 13px; }

/* footer */
#foot { margin-top: 64px; background: var(--forest); color: rgba(241, 246, 242, .78); padding: 44px 0 30px; font-size: 14px; }
#foot .cols { display: grid; gap: 28px; }
@media (min-width: 760px) { #foot .cols { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
#foot img { width: 150px; margin-bottom: 12px; }
#foot h6 { font: 600 12px var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 12px; }
#foot a { display: block; padding: 3px 0; color: rgba(241, 246, 242, .85); }
#foot a:hover { color: #fff; }
#foot .legal { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(241, 246, 242, .12); font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* toasts + fly */
#toasts { position: fixed; z-index: 90; inset-inline: 0; top: calc(env(safe-area-inset-top, 0px) + 12px); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast { pointer-events: auto; background: var(--forest); color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: var(--sh-3); font-weight: 500; font-size: 14px; display: flex; gap: 10px; align-items: center; animation: rise .35s var(--ease); max-width: calc(100vw - 32px); }
.toast.bad { background: var(--red); }
.fly { position: fixed; z-index: 95; width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: var(--sh-2); pointer-events: none; display: grid; place-items: center; overflow: hidden; transition: transform .75s cubic-bezier(.5, -.3, .7, .9), opacity .75s; }
.fly img { width: 80%; height: 80%; object-fit: contain; }
.done-anim { width: 96px; height: 96px; border-radius: 50%; background: var(--foil); display: grid; place-items: center; margin: 10px auto 18px; color: var(--forest); animation: pop .6s var(--spring); box-shadow: 0 20px 40px -14px rgba(19, 73, 41, .45); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ---------- photo-less products: illustrated + label tiles ---------- */
.ill-w { display: grid; place-items: center; width: 100%; height: 100%; color: var(--mint-2); }
.ill-w .ill { width: 46%; height: 46%; stroke-width: 1.5; }
.ph.dark, .big.dark, .th.dark { background: radial-gradient(120% 100% at 30% 0%, #1d6a3d 0%, #134929 70%); border-color: #0f3d22; }
.dark .ill-w { color: var(--gold-2); }
.dark .tag { background: rgba(19, 73, 41, .6); color: var(--gold-2); border-color: rgba(207, 232, 218, .35); }
.lbl { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; width: 100%; height: 100%; padding: 14% 12%; color: #f1f6f2; position: relative; }
.lbl::before { content: ""; position: absolute; inset: 9%; border: 1px solid rgba(207, 232, 218, .35); border-radius: 14px; }
.lbl img { width: 46%; opacity: .95; mix-blend-mode: normal !important; height: auto !important; }
.lbl b { font: 500 15px/1.15 var(--display); letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lbl small { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.big .lbl b { font-size: 30px; }
.big .lbl small { font-size: 13px; }
.big .lbl img { width: 34%; }
.th .lbl { padding: 8%; gap: 2px; }
.th .lbl::before, .th .lbl b, .th .lbl small { display: none; }
.th .lbl img { width: 80%; }
.th .ill-w .ill { width: 60%; height: 60%; }
.pc .ph .lbl img, .pc .ph .ill-w { opacity: 1; }
/* hero */
.hero-logo { position: absolute; inset-inline-end: -6%; top: 50%; width: min(64%, 420px); transform: translateY(-58%); opacity: .13; pointer-events: none; z-index: -1; }
.seal { position: absolute; top: 22px; inset-inline-end: 22px; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; text-align: center; font: 600 11px/1.2 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); border: 1px solid rgba(207, 232, 218, .45); box-shadow: inset 0 0 0 5px rgba(207, 232, 218, .08); transform: rotate(-12deg); }
@media (min-width: 760px) { .seal { width: 92px; height: 92px; top: 30px; inset-inline-end: 30px; font-size: 12px; } }
/* aisle tiles */
.dept .plate { position: absolute; inset: auto 0 6% 0; height: 62%; display: grid; place-items: center; }
.dept .plate::before { content: ""; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--cream-2) 0%, rgba(244, 238, 226, 0) 70%); }
.dept .plate img { position: relative; width: 66%; height: 92%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.dept:hover .plate img { transform: translateY(-4px) scale(1.05) rotate(-2deg); }
.dept .plate .ill { position: relative; width: 44%; height: auto; color: var(--brand); opacity: .55; }
.dept.feature .plate .ill { color: #1f8a5b; opacity: .8; }
.dept.feature .plate::before { background: radial-gradient(circle, rgba(255, 255, 255, .5) 0%, transparent 70%); }
.icon-btn.desk { display: none; }
@media (min-width: 960px) { .icon-btn.desk { display: grid; } }
.dark .stepper:not(.lt) { background: var(--gold-2); color: var(--forest); box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .6); }
.hero-logo { opacity: .08; inset-inline-end: -10%; }
@media (max-width: 859px) { .pd .big { aspect-ratio: auto; height: min(44vh, 360px); } }
.recs { padding: 10px 20px 4px; border-top: 1px solid var(--line); margin-top: 6px; }
.recs h4 { font: 600 19px var(--display); color: var(--forest); margin: 8px 0 2px; }
.recs p { margin: 0 0 12px; font-size: 13px; }
.recs .rail { margin: 0 -20px; padding: 2px 20px 14px; scroll-padding-inline: 20px; }
.recs .rail .pc { width: 136px; }
.recs .pc .nm { font-size: 12.5px; }
@media (max-width: 899px) { .hero .club-card { aspect-ratio: auto; min-height: 196px; } .hero .club-card .pts b { font-size: 40px; } }
/* install: header button + phone banner + how-to sheet */
.getapp { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--forest); color: #fff; font-weight: 600; font-size: 14px; transition: background .2s, transform .2s var(--ease); flex-shrink: 0; }
.getapp:hover { background: var(--forest-2); }
.getapp:active { transform: scale(.97); }
@media (min-width: 760px) { .getapp { display: inline-flex; } }
.appbanner { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin: 0 0 10px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1); animation: rise .4s var(--ease); }
.appbanner img { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }
.appbanner .t { flex: 1; min-width: 0; line-height: 1.25; }
.appbanner .t b { display: block; font-size: 14px; color: var(--forest); }
.appbanner .t small { font-size: 12px; color: var(--muted); }
.appbanner .btn { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.appbanner .x { width: 30px; height: 30px; display: grid; place-items: center; color: var(--faint); border-radius: 50%; }
@media (min-width: 760px) { .appbanner { display: none; } }
.steps-i { display: grid; gap: 10px; text-align: start; margin-top: 8px; }
.steps-i div { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.steps-i span { width: 28px; height: 28px; border-radius: 50%; background: var(--forest); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; flex-shrink: 0; }
.steps-i p { margin: 0; font-size: 14px; }
/* our story */
.story { display: grid; gap: 22px; padding: 30px 24px; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); }
@media (min-width: 960px) { .story { grid-template-columns: 1fr 1.05fr; gap: 40px; padding: 44px; align-items: center; } }
.story h2 { font: 500 clamp(28px, 4vw, 42px)/1.05 var(--display); letter-spacing: -.02em; color: var(--forest); margin: 8px 0 14px; }
.story h2 em { color: var(--brand-2); }
.story p { margin: 0 0 12px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; max-width: 58ch; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.story-t { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 22px; background: var(--cream); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.story-t:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.story-t .ph { aspect-ratio: 1.25; border-radius: 16px; background: var(--cream-2); overflow: hidden; display: grid; place-items: center; }
.story-t .ph img { width: 100%; height: 100%; object-fit: cover; }
.story-t b { display: block; font: 600 15px/1.2 var(--display); color: var(--forest); }
.story-t small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; line-height: 1.35; }

/* Poppins (the store's font): display sizes read best at 600 with tight tracking */
.hero-main h1, .dhead h1, .page-h h1, .story h2, .sec-h h2, .pd h2, .cart-h h3, .auth h3, .track-hero h2, .club-join h3 { font-weight: 600; letter-spacing: -.03em; }
.hero-main h1 em, .story h2 em { font-style: normal; font-weight: 600; }
.dept b, .story-t b, .card h3, .recs h4, .pd .also h4, .ocard .t b, .promise b { font-weight: 600; letter-spacing: -.01em; }
.pc .price, .line .r b, .sum .rows .tot, .pd .pr b { font-weight: 600; letter-spacing: -.02em; }
.club-card .pts b { font-weight: 600; letter-spacing: -.04em; }
.hero-main h1 { max-width: 15ch; font-size: clamp(28px, 4.8vw, 50px); line-height: 1.05; }

/* website palette: emerald for add-to-basket + basket bar, butter pills on green */
.stepper:not(.lt) { background: var(--accent); box-shadow: 0 8px 18px -8px rgba(13, 158, 117, .7); }
.stepper.lt { color: var(--accent-2); }
#cartbar button { background: var(--accent); box-shadow: 0 18px 40px -14px rgba(13, 158, 117, .65); }
#cartbar .l small { color: #e6fff6; }
.btn.gold { background: var(--butter); color: var(--forest); }
.btn.gold:hover { background: #fffbe6; }
.club-card .tier { border-color: rgba(253, 247, 216, .45); color: var(--butter); }
.dept.fresh { background: linear-gradient(160deg, #eef8f3, #dcf1e8); border-color: #cdebdf; }
.dept.feature { background: linear-gradient(160deg, #fffbe8, #fdf7d8); border-color: #f1e8bf; }
.chip.on { background: var(--forest); border-color: var(--forest); }
.progress .track i { background: linear-gradient(90deg, var(--forest), var(--accent)); }
.eyebrow { color: var(--accent-2); }
.hero-main .eyebrow, .track-hero .eyebrow { color: var(--butter); }
.hero-main h1 em { color: var(--butter); background: none; -webkit-text-fill-color: var(--butter); }
.story h2 em { color: var(--accent); }
#tabs a.club .coin { color: var(--butter); box-shadow: 0 10px 24px -8px rgba(19, 73, 41, .6), inset 0 0 0 2px rgba(253, 247, 216, .5); }
.tag { color: var(--forest); }
.tag.gold { color: #6b5a14; border-color: #efe3a8; background: rgba(253, 247, 216, .95); }
.earn, .perk { color: var(--accent-2); }
.perk { background: var(--mint); }
.getapp { background: var(--forest); }
.appbanner .btn { background: var(--accent); }
/* WhatsApp button, same as the old website */
.whatsapp-float { position: fixed; bottom: 20px; right: 20px; z-index: 45; background: #25D366; border-radius: 50%; padding: 12px; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); transition: transform .2s ease, bottom .3s var(--ease); display: grid; place-items: center; line-height: 0; }
.whatsapp-float:hover { transform: scale(1.1); }
@media (max-width: 959px) { .whatsapp-float { bottom: calc(var(--tabs-h) + var(--safe-b) + 14px); right: 14px; } body.has-cartbar .whatsapp-float { bottom: calc(var(--tabs-h) + var(--safe-b) + 84px); } }
/* shopping lists */
.lgrid { display: grid; gap: 14px; }
@media (min-width: 700px) { .lgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .lgrid { grid-template-columns: repeat(3, 1fr); } }
.lcard { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); text-align: start; transition: box-shadow .3s, transform .3s var(--ease); }
.lcard:hover { box-shadow: var(--sh-2); }
.lcard .lc-main { display: flex; gap: 14px; align-items: center; }
.lcard .lic { width: 50px; height: 50px; border-radius: 16px; background: var(--mint); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.lcard .t b { display: block; font-weight: 600; font-size: 17px; color: var(--forest); }
.lcard .t small { color: var(--muted); font-size: 13px; }
.lcard .thumbs { display: flex; gap: 6px; min-height: 44px; }
.lcard .thumbs i { width: 44px; height: 44px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.lcard .thumbs i.dark { background: var(--forest); }
.lcard .thumbs img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.lcard.new { align-items: center; justify-content: center; min-height: 190px; border-style: dashed; border-width: 2px; color: var(--brand); cursor: pointer; }
.lcard.new b { font-weight: 600; }

/* ---------- cheese boards & catering ---------- */
.spots { display: grid; gap: 14px; }
@media (min-width: 760px) { .spots { grid-template-columns: 1fr 1fr; gap: 18px; } }
.spot { position: relative; display: block; overflow: hidden; border-radius: var(--r-xl); min-height: 300px; background: var(--forest); isolation: isolate; box-shadow: var(--sh-2); }
.spot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.spot:hover img { transform: scale(1.04); }
.spot::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 61, 34, 0) 25%, rgba(15, 61, 34, .55) 55%, rgba(15, 61, 34, .94) 100%); }
.spot-txt { position: absolute; inset: auto 0 0 0; padding: 22px 22px 22px; display: flex; flex-direction: column; gap: 6px; color: #f1f6f2; }
@media (min-width: 760px) { .spot { min-height: 360px; } .spot-txt { padding: 28px; } }
.spot-txt .eyebrow { color: var(--gold-2); }
.spot-txt b { font: 500 clamp(26px, 3.4vw, 36px)/1.05 var(--display); letter-spacing: -.02em; }
.spot-txt .p { color: rgba(241, 246, 242, .82); font-size: 14.5px; max-width: 40ch; margin-bottom: 8px; }
.spot-txt .btn { align-self: flex-start; height: 44px; padding: 0 18px; border-radius: 14px; font-size: 14.5px; }

.fp { padding-bottom: 40px; }
.fp-hero { position: relative; overflow: hidden; border-radius: var(--r-xl); margin-top: 8px; min-height: 420px; display: flex; align-items: flex-end; isolation: isolate; background: var(--forest); }
.fp-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.fp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 61, 34, .45) 0%, rgba(15, 61, 34, .72) 38%, rgba(15, 61, 34, .96) 100%); }
@media (min-width: 900px) { .fp-hero { min-height: 500px; } .fp-hero::after { background: linear-gradient(90deg, rgba(15, 61, 34, .96) 0%, rgba(15, 61, 34, .82) 38%, rgba(15, 61, 34, .1) 75%); } html[dir="rtl"] .fp-hero::after { background: linear-gradient(270deg, rgba(15, 61, 34, .96) 0%, rgba(15, 61, 34, .82) 38%, rgba(15, 61, 34, .1) 75%); } .fp-hero { align-items: center; } }
.fp-hero-txt { padding: 24px 22px 26px; color: #f1f6f2; max-width: 560px; }
@media (min-width: 760px) { .fp-hero-txt { padding: 44px; } }
.fp-hero-txt .back { color: rgba(241, 246, 242, .8); display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 600; margin-bottom: 14px; }
.fp-hero-txt .eyebrow { color: var(--gold-2); }
.fp-hero-txt h1 { font: 500 clamp(32px, 5.2vw, 54px)/1.02 var(--display); letter-spacing: -.025em; margin: 10px 0 12px; }
.fp-hero-txt h1 em { font-style: italic; background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fp-hero-txt p { margin: 0 0 20px; color: rgba(241, 246, 242, .82); font-size: 15.5px; line-height: 1.55; max-width: 46ch; }
.fp-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.fp-wa { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.fp-wa:hover { background: rgba(255, 255, 255, .2); }



.fp-how { grid-template-columns: 1fr !important; }
@media (min-width: 700px) { .fp-how { grid-template-columns: repeat(3, 1fr) !important; } }
.fp-how div { position: relative; }
.fp-how small { position: absolute; top: 16px; inset-inline-end: 18px; font: 600 28px var(--display); color: var(--line); }
.fp-how span:not(.ico) { font-size: 13.5px !important; }

.fp-form { max-width: 760px; margin: 0 auto; padding: 24px 20px; }
@media (min-width: 760px) { .fp-form { padding: 32px 36px; } }
.fp-form-h h2 { font: 500 clamp(24px, 3.4vw, 32px)/1.1 var(--display); color: var(--forest); margin: 0 0 4px; letter-spacing: -.015em; }
.fp-form-h p { margin: 0 0 20px; }
.fp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-chips .chip { height: 42px; }
.fp-form textarea.inp { height: 92px; padding: 12px 14px; resize: vertical; }
.fp-phone { height: 50px; border-radius: 14px; background: var(--cream); }
.fp-phone input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; padding: 0 14px; font-size: 15px; }
.fp-ok { text-align: center; padding: 10px 0 4px; }
.fp-ok h3 { font: 600 28px var(--display); color: var(--forest); margin: 0 0 8px; }
.fp-ok p { margin: 0 auto 8px; max-width: 46ch; }
.fp-ok-b { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.fp-form .two > * { min-width: 0; }
@media (max-width: 560px) { .fp-form .two.fp-who { grid-template-columns: 1fr; gap: 0; } }
.fp-items { display: grid; gap: 14px; }
@media (min-width: 640px) { .fp-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .fp-items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fp-item { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.fp-item:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.fp-item .ph { aspect-ratio: 4 / 3; background: var(--cream-2); overflow: hidden; display: grid; place-items: center; }
.fp-item .ph img { width: 100%; height: 100%; object-fit: cover; }
.fp-item .tx { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fp-item h3 { font: 600 18px/1.25 var(--display); color: var(--forest); margin: 0; }
.fp-item .serves { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 12.5px; font-weight: 600; color: var(--brand); background: var(--mint); padding: 4px 10px; border-radius: 999px; }
.fp-item p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; flex: 1; }
.fp-item .buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.fp-item .pr { font: 600 22px var(--display); color: var(--forest); }
