/* FM Best Bargain Super Store
   Layout: a bright, busy supermarket. Deep brand-green header with a sunshine
   announcement strip, colourful promo banners, pastel aisle tiles, floating
   basket illustrations and wavy section edges. */
:root {
  --green-900: #0b3a21;
  --green-800: #114a2b;
  --green: #1b6b3f;
  --green-500: #25a05a;
  --green-100: #dff3e6;
  --green-50: #f0f9f3;
  --sun: #ffc233;
  --sun-600: #f0a800;
  --sun-50: #fff6d6;
  --orange: #ff7a3d;
  --red: #e5432d;
  --pink: #ff4f87;
  --sky: #2f95f0;
  --violet: #7c5cf0;
  --mint-50: #e2f6ea;
  --peach-50: #ffe9dc;
  --sky-50: #e2f0ff;
  --lilac-50: #eee8ff;
  --pink-50: #ffe4ee;
  --lemon-50: #fff4c9;
  --silver: #c7ccd1;
  --silver-100: #eef1f3;
  --ink: #13201a;
  --ink-2: #405047;
  --ink-3: #75837a;
  --line: #e3e9e5;
  --bg: #f7f9f6;
  --card: #ffffff;
  --wa: #1fa855;

  --f-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-s: 10px;
  --r-m: 14px;
  --r-l: 20px;
  --shadow: 0 12px 30px -14px rgba(11, 58, 33, .3);
  --shadow-s: 0 4px 14px -6px rgba(11, 58, 33, .2);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --wrap: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.1; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.naira { font-variant-numeric: tabular-nums; }

/* ---------- motion helpers ---------- */
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-14px) rotate(var(--r, 0deg)); } }
@keyframes floatX { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(8px, -10px); } 66% { transform: translate(-6px, 6px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wiggle { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marqueeR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes bump { 40% { transform: scale(1.45); } }
@keyframes shimmer { to { background-position: 200% 0; } }
.float { animation: float 4.5s ease-in-out infinite; }
.float.slow { animation-duration: 6.5s; }
.drift { animation: floatX 9s ease-in-out infinite; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .68rem 1.15rem; border-radius: 999px; font-weight: 700; font-size: .9rem;
  transition: transform .25s var(--bounce), background .25s, box-shadow .25s, color .25s;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 6px 16px -8px rgba(27,107,63,.7); }
.btn-green:hover { background: var(--green-800); }
.btn-sun { background: var(--sun); color: var(--green-900); box-shadow: 0 6px 16px -8px rgba(240,168,0,.8); }
.btn-sun:hover { background: #ffcf52; }
.btn-white { background: #fff; color: var(--green-900); }
.btn-ghost { background: rgba(255,255,255,.16); color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.26); }
.btn-line { border: 1.5px solid var(--line); background: var(--card); color: var(--ink); }
.btn-line:hover { border-color: var(--green); color: var(--green); }
.btn-red { background: var(--red); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: .9rem 1.4rem; font-size: 1rem; }
.btn-shine::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* ---------- Splash loader ---------- */
.splash {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 30% 20%, #25a05a, #0b3a21 70%); color: #fff;
  transition: opacity .5s ease, visibility .5s, transform .6s var(--ease);
}
.splash.done { opacity: 0; visibility: hidden; transform: scale(1.04); }
.splash .sp-logo { width: 150px; margin: 0 auto; animation: pop .7s var(--bounce) both; filter: drop-shadow(0 12px 22px rgba(0,0,0,.35)); }
.splash .sp-basket { width: 110px; margin: 14px auto 0; animation: pop .6s .25s var(--bounce) both, float 1.6s .9s ease-in-out infinite; }
.splash p { margin-top: 14px; font-weight: 700; letter-spacing: .04em; opacity: 0; animation: rise .5s .45s forwards; transform: translateY(8px); }
.splash .ld i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); margin: 0 3px; animation: bump 1s infinite; }
.splash .ld i:nth-child(2) { animation-delay: .15s; } .splash .ld i:nth-child(3) { animation-delay: .3s; }
.splash .confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.splash .confetti span { position: absolute; width: 10px; height: 16px; border-radius: 3px; top: -20px; animation: fall 2.4s linear infinite; }
@keyframes fall { to { transform: translateY(110vh) rotate(540deg); } }

/* ---------- Announcement strip ---------- */
.announce { background: var(--sun); color: var(--green-900); font-size: .8rem; font-weight: 700; overflow: hidden; }
.announce .track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.announce span { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem 1.6rem; white-space: nowrap; }
.announce svg { width: 15px; height: 15px; }
.announce:hover .track { animation-play-state: paused; }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 60; color: #fff;
  background:
    radial-gradient(circle at 12% -40%, rgba(255,194,51,.35), transparent 40%),
    radial-gradient(rgba(255,255,255,.07) 1.2px, transparent 1.4px) 0 0 / 16px 16px,
    linear-gradient(100deg, var(--green-900), var(--green) 55%, #1f7d49);
}
.hdr-main { display: flex; align-items: center; gap: 1.1rem; padding-block: 10px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 50px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); transition: transform .45s var(--bounce); }
.logo:hover img { transform: rotate(-5deg) scale(1.06); }
.search { flex: 1; display: flex; align-items: center; background: #fff; border-radius: 999px; overflow: hidden; box-shadow: 0 6px 18px -10px rgba(0,0,0,.5); transition: box-shadow .25s; color: var(--ink); }
.search:focus-within { box-shadow: 0 0 0 4px rgba(255,194,51,.55); }
.search select { border: 0; background: transparent; padding: 0 .3rem 0 1rem; font-size: .84rem; font-weight: 700; color: var(--ink-2); max-width: 150px; outline: none; }
.search .divider { width: 1px; height: 22px; background: var(--line); }
.search .ic { width: 18px; height: 18px; margin-left: .9rem; color: var(--ink-3); flex: none; display: none; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .66rem .9rem; outline: none; font-size: .92rem; }
.search button { background: var(--sun); color: var(--green-900); margin: 4px; height: 36px; padding: 0 1rem; border-radius: 999px; display: flex; align-items: center; gap: .35rem; font-weight: 800; font-size: .85rem; transition: background .2s; }
.search button:hover { background: #ffcf52; }
.search button svg { width: 17px; height: 17px; }
.hdr-actions { display: flex; align-items: center; gap: .35rem; }
.icon-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: inherit; transition: background .2s, transform .25s var(--bounce); }
.icon-btn:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.icon-btn svg { width: 22px; height: 22px; }
.count {
  position: absolute; top: 2px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: .66rem; font-weight: 800; display: grid; place-items: center;
  border: 2px solid var(--green); transform: scale(0); transition: transform .3s var(--bounce);
}
.count.on { transform: scale(1); }
.count.bump { animation: bump .5s var(--ease); }
.signin { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); font-weight: 700; font-size: .86rem; transition: background .2s; white-space: nowrap; }
.signin:hover { background: rgba(255,255,255,.24); }
.signin svg { width: 18px; height: 18px; }
.cart-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem .4rem .45rem; border-radius: 999px; background: var(--sun); color: var(--green-900); font-weight: 800; font-size: .86rem; position: relative; transition: transform .25s var(--bounce); }
.cart-pill:hover { transform: translateY(-2px); }
.cart-pill .ci { width: 32px; height: 32px; border-radius: 50%; background: var(--green-900); color: var(--sun); display: grid; place-items: center; position: relative; }
.cart-pill .ci svg { width: 18px; height: 18px; }
.cart-pill .count { border-color: var(--sun); top: -6px; right: -6px; }
.menu-btn { display: none; }

/* category / page nav */
.catnav { background: rgba(0,0,0,.14); border-top: 1px solid rgba(255,255,255,.1); }
.catnav .wrap { display: flex; align-items: stretch; gap: .4rem; }
.cat-drop { position: relative; }
.cat-toggle { height: 100%; display: flex; align-items: center; gap: .5rem; background: var(--sun); color: var(--green-900); font-weight: 800; font-size: .88rem; padding: .55rem 1rem; white-space: nowrap; }
.cat-toggle svg { width: 18px; height: 18px; }
.cat-menu {
  position: absolute; top: 100%; left: 0; width: 260px; background: var(--card); color: var(--ink); border-radius: 0 0 var(--r-m) var(--r-m);
  box-shadow: var(--shadow); padding: .45rem; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s; z-index: 70;
}
.cat-drop:hover .cat-menu, .cat-drop:focus-within .cat-menu { opacity: 1; visibility: visible; transform: none; }
.cat-menu a { display: flex; align-items: center; gap: .65rem; padding: .45rem .55rem; border-radius: 10px; font-weight: 600; font-size: .88rem; transition: background .2s, padding .2s; }
.cat-menu a img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; background: var(--green-100); }
.cat-menu a:hover { background: var(--green-50); padding-left: .85rem; color: var(--green); }
.navlinks { display: flex; gap: .15rem; flex: 1; overflow-x: auto; scrollbar-width: none; }
.navlinks::-webkit-scrollbar { display: none; }
.navlinks a { position: relative; display: flex; align-items: center; gap: .4rem; padding: .6rem .8rem; font-weight: 700; font-size: .88rem; color: rgba(255,255,255,.85); white-space: nowrap; transition: color .2s; }
.navlinks a svg { width: 18px; height: 18px; transition: transform .35s var(--bounce); }
.navlinks a::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--sun); transform: scaleX(0); transition: transform .3s var(--ease); }
.navlinks a:hover, .navlinks a.active { color: var(--sun); }
.navlinks a:hover svg { transform: translateY(-2px) rotate(-8deg); }
.navlinks a.active::after, .navlinks a:hover::after { transform: scaleX(1); }
.navlinks a.hot { color: #ffd6cf; }
.navlinks a.hot svg { color: var(--sun); }
.navlinks .spacer { flex: 1; }
.navlinks .phone { color: #fff; }

/* drawers */
.drawer-bg { position: fixed; inset: 0; background: rgba(8, 30, 18, .5); backdrop-filter: blur(2px); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.drawer-bg.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); background: var(--card); z-index: 95; transform: translateX(-102%); transition: transform .4s var(--ease); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); }
.drawer.open { transform: none; }
.drawer.right { left: auto; right: 0; transform: translateX(102%); width: min(400px, 94vw); }
.drawer.right.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.drawer-head.green { background: var(--green); color: #fff; border: 0; }
.drawer-head h3 { font-size: 1.1rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem; }
.drawer .m-links a { display: flex; align-items: center; gap: .7rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.drawer .m-links a svg { width: 20px; height: 20px; color: var(--green); }
.drawer .m-cats { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: 1rem; }
.drawer .m-cats a { display: flex; flex-direction: column; gap: .3rem; font-size: .78rem; font-weight: 700; }
.drawer .m-cats img { aspect-ratio: 1.5; object-fit: cover; border-radius: 10px; width: 100%; background: var(--green-100); }

/* ---------- Sections ---------- */
.section { padding-block: 44px; position: relative; }
.section.tight { padding-block: 22px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--green-500); margin-bottom: .35rem; }
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--sun); }
.sec-head h2 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.sec-head h2 .hl { background: linear-gradient(transparent 60%, rgba(255,194,51,.55) 60%); padding: 0 .1em; }
.sec-head p { color: var(--ink-3); margin-top: .25rem; font-size: .92rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; color: var(--green); font-size: .9rem; }
.link-arrow svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* decorative blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; pointer-events: none; z-index: 0; }
.deco { position: absolute; pointer-events: none; }
.deco.dot { width: 12px; height: 12px; border-radius: 50%; }
.deco.ring { width: 46px; height: 46px; border-radius: 50%; border: 6px solid currentColor; opacity: .4; }
.deco.plus { width: 22px; height: 22px; background: linear-gradient(currentColor, currentColor) center/100% 5px no-repeat, linear-gradient(currentColor, currentColor) center/5px 100% no-repeat; }
.deco.squig { width: 70px; height: 16px; background: radial-gradient(circle at 10px -4px, transparent 9px, currentColor 10px, currentColor 13px, transparent 14px) 0 0 / 20px 16px repeat-x; }

/* ---------- Hero ---------- */
.hero { padding-top: 18px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 16px; }
.slider { position: relative; border-radius: var(--r-l); overflow: hidden; min-height: 380px; isolation: isolate; background: var(--green); }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; overflow: hidden; }
.slide.on { opacity: 1; visibility: visible; }
.slide.s-green { background: radial-gradient(circle at 85% 30%, #2fb56a, transparent 55%), linear-gradient(120deg, #0b3a21, #1b6b3f); }
.slide.s-orange { background: radial-gradient(circle at 80% 25%, #ffb03d, transparent 55%), linear-gradient(120deg, #e5432d, #ff7a3d); }
.slide.s-sky { background: radial-gradient(circle at 80% 30%, #7cc4ff, transparent 55%), linear-gradient(120deg, #1c5fd0, #2f95f0); }
.slide-copy { position: relative; z-index: 3; padding: 34px 40px 70px; max-width: 54%; color: #fff; }
.slide-copy > * { opacity: 0; transform: translateY(16px); }
.slide.on .slide-copy > * { animation: rise .65s var(--ease) forwards; }
.slide.on .slide-copy > *:nth-child(2) { animation-delay: .1s; }
.slide.on .slide-copy > *:nth-child(3) { animation-delay: .2s; }
.slide.on .slide-copy > *:nth-child(4) { animation-delay: .3s; }
.tag { display: inline-flex; align-items: center; gap: .4rem; background: var(--sun); color: var(--green-900); font-weight: 800; font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; padding: .32rem .7rem; border-radius: 999px; }
.tag svg { width: 13px; height: 13px; }
.tag.white { background: #fff; }
.slide h1, .slide h2 { font-size: clamp(1.6rem, 3.3vw, 2.6rem); margin: .8rem 0 .6rem; font-weight: 800; }
.slide h1 em, .slide h2 em { font-style: normal; color: var(--sun); }
.s-orange h2 em { color: #fff3c4; }
.slide p { color: rgba(255,255,255,.88); font-size: .95rem; max-width: 40ch; }
.slide .cta { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.2rem; }
.slide-art { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; z-index: 1; }
.slide-art .photo { position: absolute; right: 6%; top: 50%; width: 72%; aspect-ratio: 1; transform: translateY(-50%) scale(.85); border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; overflow: hidden; border: 6px solid rgba(255,255,255,.9); box-shadow: 0 20px 40px -18px rgba(0,0,0,.5); background: rgba(255,255,255,.2) center/cover no-repeat; opacity: 0; transition: transform .9s var(--bounce), opacity .6s; }
.slide.on .slide-art .photo { transform: translateY(-50%) scale(1); opacity: 1; animation: morph 9s ease-in-out infinite; }
@keyframes morph { 0%, 100% { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; } 50% { border-radius: 58% 42% 55% 45% / 45% 58% 42% 55%; } }
.slide-art .ill { position: absolute; width: 38%; left: -2%; bottom: 8%; z-index: 2; filter: drop-shadow(0 14px 18px rgba(0,0,0,.25)); }
.slide-art .sticker { position: absolute; top: 12%; left: 4%; z-index: 2; width: 86px; height: 86px; border-radius: 50%; background: var(--sun); color: var(--green-900); display: grid; place-items: center; text-align: center; font-family: var(--f-display); font-weight: 800; font-size: .82rem; line-height: 1.05; box-shadow: 0 10px 20px -8px rgba(0,0,0,.4); animation: wiggle 3s ease-in-out infinite; }
.slide-art .sticker::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.8); animation: spin 14s linear infinite; }
.slide .deco { z-index: 1; }
.slider-ui { position: absolute; left: 40px; right: 18px; bottom: 16px; display: flex; align-items: center; justify-content: space-between; z-index: 4; }
.dots { display: flex; gap: 7px; }
.dots button { width: 28px; height: 5px; border-radius: 5px; background: rgba(255,255,255,.35); overflow: hidden; position: relative; transition: width .3s; }
.dots button.on { width: 44px; }
.dots button i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.dots button.on i { animation: fill 6s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.arrows { display: flex; gap: 7px; }
.arrows button { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); transition: background .2s, transform .25s var(--bounce); }
.arrows button:hover { background: #fff; color: var(--green-900); transform: scale(1.08); }
.arrows svg { width: 18px; height: 18px; }

.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.tile {
  position: relative; border-radius: var(--r-l); overflow: hidden; padding: 20px; display: flex; flex-direction: column; justify-content: center; gap: .3rem;
  min-height: 180px; isolation: isolate; transition: transform .35s var(--bounce), box-shadow .35s;
}
.tile:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow); }
.tile.lemon { background: linear-gradient(135deg, #fff4c9, #ffe08a); }
.tile.lilac { background: linear-gradient(135deg, #eee8ff, #d8cbff); }
.tile.pink { background: linear-gradient(135deg, #ffe4ee, #ffc2d6); }
.tile.sky { background: linear-gradient(135deg, #e2f0ff, #b9dbff); }
.tile.mint { background: linear-gradient(135deg, #e2f6ea, #bfe9cf); }
.tile.peach { background: linear-gradient(135deg, #ffe9dc, #ffc9a8); }
.tile small { font-weight: 800; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.tile h3 { font-size: 1.25rem; max-width: 10ch; }
.tile .link-arrow { margin-top: .3rem; font-size: .85rem; }
.tile .pic { position: absolute; right: -14px; bottom: -14px; width: 52%; aspect-ratio: 1; border-radius: 50%; background: #fff center/cover no-repeat; border: 5px solid rgba(255,255,255,.85); z-index: -1; transition: transform .6s var(--bounce); box-shadow: 0 10px 24px -12px rgba(0,0,0,.35); }
.tile:hover .pic { transform: scale(1.06) rotate(4deg); }
.tile .deco { z-index: -1; }

/* trust chips */
.trust { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust > div { display: flex; align-items: center; gap: .7rem; padding: 12px 14px; background: var(--card); border-radius: var(--r-m); border: 1px solid var(--line); transition: transform .3s var(--bounce); }
.trust > div:hover { transform: translateY(-3px); }
.trust .ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.trust > div:nth-child(1) .ic { background: var(--green-500); }
.trust > div:nth-child(2) .ic { background: var(--orange); }
.trust > div:nth-child(3) .ic { background: var(--sky); }
.trust > div:nth-child(4) .ic { background: var(--pink); }
.trust > div:hover .ic { animation: wiggle .6s ease-in-out 2; }
.trust .ic svg { width: 20px; height: 20px; }
.trust b { display: block; font-size: .88rem; line-height: 1.25; }
.trust span { font-size: .76rem; color: var(--ink-3); }

/* ---------- Category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cat-card {
  position: relative; border-radius: var(--r-l); padding: 14px 12px 12px; text-align: center; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: .5rem; transition: transform .35s var(--bounce), box-shadow .35s;
}
.cat-card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow); }
.cat-card .ph { width: 78%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: rgba(255,255,255,.7); border: 4px solid #fff; box-shadow: 0 8px 18px -10px rgba(0,0,0,.35); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover img { transform: scale(1.12); }
.cat-card b { font-size: .86rem; line-height: 1.2; }
.cat-card span { font-size: .72rem; color: var(--ink-2); font-weight: 600; }
.cat-card::after { content: ""; position: absolute; width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.45); top: -20px; right: -20px; transition: transform .5s var(--bounce); }
.cat-card:hover::after { transform: scale(2.4); }
.c1 { background: var(--mint-50); } .c2 { background: var(--peach-50); } .c3 { background: var(--sky-50); }
.c4 { background: var(--lilac-50); } .c5 { background: var(--lemon-50); } .c6 { background: var(--pink-50); }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pcard { position: relative; background: var(--card); border-radius: var(--r-l); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--bounce), box-shadow .35s, border-color .35s; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pcard .ph { position: relative; aspect-ratio: 1; background: var(--silver-100); overflow: hidden; margin: 8px 8px 0; border-radius: 14px; }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pcard:hover .ph img { transform: scale(1.08) rotate(1deg); }
.badge { position: absolute; top: 8px; left: 8px; z-index: 2; background: var(--red); color: #fff; font-weight: 800; font-size: .68rem; padding: .22rem .5rem; border-radius: 999px; box-shadow: 0 4px 10px -4px rgba(229,67,45,.7); }
.pcard:hover .badge { animation: wiggle .5s ease-in-out 2; }
.pcard .wish { position: absolute; top: 7px; right: 7px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center; color: var(--ink-2); box-shadow: var(--shadow-s); transition: transform .3s var(--bounce), color .2s; }
.pcard .wish:hover { transform: scale(1.15); color: var(--red); }
.wish.on, [data-wish].on { color: var(--red); }
.wish.on svg, [data-wish].on svg { fill: currentColor; }
.pcard .wish svg { width: 16px; height: 16px; }
.pcard .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.pcard .cat { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--green-500); }
.pcard h3 { font-family: var(--f-body); font-size: .88rem; font-weight: 700; letter-spacing: 0; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pcard h3 a:hover { color: var(--green); }
.price-row { display: flex; align-items: end; justify-content: space-between; gap: .4rem; margin-top: auto; padding-top: .3rem; }
.price { font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; color: var(--green-900); font-variant-numeric: tabular-nums; line-height: 1.15; }
.price s { font-family: var(--f-body); font-weight: 500; font-size: .75rem; color: var(--ink-3); margin-left: .3rem; }
.pcard .price s { display: block; margin-left: 0; }
.add { flex: none; height: 32px; padding: 0 .75rem; border-radius: 999px; border: 1.5px solid var(--green); color: var(--green); font-weight: 800; font-size: .8rem; display: inline-flex; align-items: center; gap: .25rem; transition: background .25s, color .25s, transform .25s var(--bounce); }
.add:hover { background: var(--green); color: #fff; transform: scale(1.06); }
.add svg { width: 15px; height: 15px; }
.add.done { background: var(--sun); border-color: var(--sun); color: var(--green-900); }

/* ---------- Deals block (wavy yellow band) ---------- */
.deals-band {
  position: relative; border-radius: 26px; padding: 26px 24px 26px; overflow: hidden; isolation: isolate;
  background: radial-gradient(circle at 90% 0%, rgba(255,255,255,.6), transparent 40%), linear-gradient(160deg, #fff1b8, #ffd55e);
}
.deals-band::before { content: ""; position: absolute; left: 0; right: 0; top: 150px; height: 22px; z-index: -1;
  background: radial-gradient(circle at 14px 0, transparent 14px, rgba(255,255,255,.55) 15px) 0 0 / 28px 22px repeat-x; }
.deals-band::after { content: ""; position: absolute; left: 0; right: 0; top: 170px; bottom: 0; z-index: -1; background: rgba(255,255,255,.55); }
.deals-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 124px; margin-bottom: 28px; }
.ribbon {
  position: relative; display: inline-flex; flex-direction: column; justify-content: center; background: linear-gradient(120deg, var(--green-900), var(--green));
  color: #fff; padding: 16px 64px 16px 26px; clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%); border-radius: 16px 0 0 16px;
}
.ribbon h2 { font-size: clamp(1.5rem, 3.4vw, 2.4rem); font-weight: 800; line-height: 1; text-transform: uppercase; }
.ribbon h2 em { font-style: normal; color: var(--sun); }
.bubble { position: relative; margin-left: -34px; z-index: 2; background: #fff; color: var(--green-900); font-family: var(--f-display); font-weight: 800; font-size: .8rem; line-height: 1.1; text-transform: uppercase; padding: 10px 14px; border-radius: 18px; transform: rotate(-4deg); box-shadow: var(--shadow-s); }
.bubble::before { content: ""; position: absolute; left: -8px; bottom: 10px; border: 8px solid transparent; border-right-color: #fff; }
.deals-art { width: 190px; flex: none; margin-top: -8px; }
.deals-left { display: flex; align-items: center; flex-wrap: wrap; row-gap: 10px; }
.deals-link { display: flex; justify-content: center; margin-top: 18px; }

/* ---------- Best sale ---------- */
.best { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); border-radius: 26px; overflow: hidden; position: relative; isolation: isolate; background: linear-gradient(120deg, var(--green-900), var(--green)); color: #fff; }
.best::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-conic-gradient(from 0deg at 25% 50%, rgba(255,255,255,.06) 0 10deg, transparent 10deg 20deg); animation: spin 60s linear infinite; transform-origin: 25% 50%; }
.best .ph { position: relative; min-height: 320px; display: grid; place-items: center; padding: 26px; }
.best .ph .ring { width: min(300px, 80%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid var(--sun); box-shadow: 0 0 0 10px rgba(255,194,51,.2), 0 20px 40px -18px rgba(0,0,0,.6); animation: float 5s ease-in-out infinite; background: var(--green-800); }
.best .ph img { width: 100%; height: 100%; object-fit: cover; }
.best .sticker { position: absolute; top: 20px; left: 20px; width: 84px; height: 84px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--f-display); font-weight: 800; line-height: 1; font-size: 1.3rem; animation: wiggle 2.6s ease-in-out infinite; box-shadow: 0 10px 20px -8px rgba(0,0,0,.4); }
.best .sticker small { display: block; font-size: .62rem; letter-spacing: .1em; }
.best .best-info { padding: 34px 38px; display: flex; flex-direction: column; justify-content: center; gap: .7rem; }
.best .eyebrow { color: var(--sun); }
.best h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.best p { color: #cfe3d6; max-width: 46ch; font-size: .95rem; }
.best .price { color: var(--sun); font-size: 1.9rem; }
.best .price s { color: #a5bfae; font-size: .9rem; }
.best .cta { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .3rem; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
.tabs button { padding: .45rem .9rem; border-radius: 999px; font-weight: 700; font-size: .82rem; border: 1.5px solid var(--line); background: var(--card); color: var(--ink-2); transition: all .25s var(--bounce); }
.tabs button:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.tabs button.on { background: var(--green); color: #fff; border-color: var(--green); }
.fade-swap { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Duo promo banners ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.promo { position: relative; border-radius: 24px; overflow: hidden; min-height: 210px; padding: 26px; display: flex; flex-direction: column; justify-content: center; isolation: isolate; color: #fff; transition: transform .35s var(--bounce); }
.promo:hover { transform: translateY(-4px); }
.promo.pink { background: linear-gradient(120deg, #d6336c, #ff4f87); }
.promo.violet { background: linear-gradient(120deg, #5a3fd6, #7c5cf0); }
.promo.teal { background: linear-gradient(120deg, #0b3a21, #1f9a6a); }
.promo.orange { background: linear-gradient(120deg, #e5432d, #ff9b3d); }
.promo small { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; opacity: .9; }
.promo h3 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); margin: .4rem 0 .4rem; max-width: 13ch; }
.promo p { max-width: 26ch; opacity: .92; margin-bottom: 1rem; font-size: .9rem; }
.promo .btn { align-self: flex-start; }
.promo .pic { position: absolute; right: -30px; top: 50%; width: 46%; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: rgba(255,255,255,.2) center/cover no-repeat; border: 6px solid rgba(255,255,255,.35); z-index: -1; transition: transform .6s var(--bounce); }
.promo:hover .pic { transform: translateY(-50%) scale(1.06) rotate(-4deg); }
.promo .deco { z-index: -1; }

/* ---------- Brand chips marquee ---------- */
.brands { overflow: hidden; display: grid; gap: 10px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.brands .row { display: flex; gap: 10px; width: max-content; animation: marquee 40s linear infinite; }
.brands .row.rev { animation-name: marqueeR; animation-duration: 46s; }
.brands:hover .row { animation-play-state: paused; }
.chip-brand { padding: .55rem 1.1rem; border-radius: 999px; font-family: var(--f-display); font-weight: 800; font-size: 1rem; white-space: nowrap; background: var(--card); border: 1.5px solid var(--line); transition: transform .3s var(--bounce); }
.chip-brand:nth-child(6n+1) { color: var(--green); } .chip-brand:nth-child(6n+2) { color: var(--red); }
.chip-brand:nth-child(6n+3) { color: var(--sky); } .chip-brand:nth-child(6n+4) { color: var(--violet); }
.chip-brand:nth-child(6n+5) { color: var(--orange); } .chip-brand:nth-child(6n+6) { color: var(--pink); }
.chip-brand:hover { transform: translateY(-3px) rotate(-2deg); }

/* ---------- Stores ---------- */
.stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.store { background: var(--card); border-radius: var(--r-l); padding: 20px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: .6rem; transition: transform .35s var(--bounce), box-shadow .35s; position: relative; overflow: hidden; }
.store::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--green-500); }
.store:nth-child(2)::before { background: var(--orange); } .store:nth-child(3)::before { background: var(--sky); }
.store:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.store .pin { width: 44px; height: 44px; border-radius: 14px; background: var(--green-100); color: var(--green); display: grid; place-items: center; }
.store:nth-child(2) .pin { background: var(--peach-50); color: var(--orange); } .store:nth-child(3) .pin { background: var(--sky-50); color: var(--sky); }
.store:hover .pin { animation: wiggle .6s ease-in-out 2; }
.store .pin svg { width: 22px; height: 22px; }
.store h3 { font-size: 1.1rem; }
.store p { color: var(--ink-2); font-size: .9rem; }
.store .hours { font-size: .8rem; color: var(--ink-3); border-top: 1px dashed var(--line); padding-top: .6rem; display: grid; gap: .15rem; }
.store .hours div { display: flex; justify-content: space-between; gap: 1rem; }
.store .link-arrow { margin-top: auto; }
.store .chip { position: absolute; top: 18px; right: 16px; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; background: var(--sun); color: var(--green-900); padding: .25rem .55rem; border-radius: 999px; }

/* ---------- Why us band ---------- */
.why { position: relative; background: linear-gradient(120deg, var(--green-900), var(--green)); color: #fff; border-radius: 26px; padding: 32px; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; align-items: center; }
.why::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(255,255,255,.08) 1.2px, transparent 1.4px) 0 0 / 18px 18px; }
.why h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.why h2 em { font-style: normal; color: var(--sun); }
.why .lead { color: #cfe3d6; margin-top: .5rem; font-size: .93rem; }
.why .ill { width: 150px; margin-top: 12px; }
.why-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.why-item { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-m); padding: 16px; transition: transform .35s var(--bounce), background .3s; }
.why-item:hover { transform: translateY(-5px) rotate(-1deg); background: rgba(255,255,255,.14); }
.why-item .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: .6rem; color: var(--green-900); }
.why-item:nth-child(1) .ic { background: var(--sun); } .why-item:nth-child(2) .ic { background: #8fe3b0; } .why-item:nth-child(3) .ic { background: #ffb3c8; }
.why-item .ic svg { width: 20px; height: 20px; }
.why-item b { display: block; font-size: .95rem; margin-bottom: .2rem; }
.why-item span { font-size: .83rem; color: #cfe3d6; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 85% 20%, #2fb56a, transparent 50%), linear-gradient(120deg, var(--green-900), var(--green)); }
.page-hero.orange { background: radial-gradient(circle at 85% 20%, #ffb03d, transparent 50%), linear-gradient(120deg, #e5432d, #ff7a3d); }
.page-hero.sky { background: radial-gradient(circle at 85% 20%, #7cc4ff, transparent 50%), linear-gradient(120deg, #1c5fd0, #2f95f0); }
.page-hero.violet { background: radial-gradient(circle at 85% 20%, #b39dff, transparent 50%), linear-gradient(120deg, #4c2fc4, #7c5cf0); }
.page-hero .wrap { padding-block: 34px 44px; position: relative; }
.page-hero h1 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 800; max-width: 20ch; }
.page-hero p { color: rgba(255,255,255,.88); margin-top: .45rem; max-width: 52ch; font-size: .95rem; }
.page-hero .ill { position: absolute; right: 20px; bottom: 6px; width: 150px; }
.page-hero .deco { z-index: -1; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 18px; background: radial-gradient(circle at 12px 18px, var(--bg) 12px, transparent 13px) 0 0 / 24px 18px repeat-x; }
.crumbs { display: flex; gap: .4rem; font-size: .8rem; color: rgba(255,255,255,.75); margin-bottom: .7rem; flex-wrap: wrap; }
.crumbs a:hover { color: var(--sun); }
.crumbs.dark { color: var(--ink-3); }

/* ---------- Shop page ---------- */
.shop-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 22px; align-items: start; }
.filters { background: var(--card); border-radius: var(--r-l); border: 1px solid var(--line); padding: 16px; position: sticky; top: 16px; }
.filters h4 { font-family: var(--f-body); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin: 0 0 .5rem; }
.filters .grp + .grp { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.fcat { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: .42rem .55rem; border-radius: 9px; font-weight: 600; font-size: .86rem; text-align: left; transition: background .2s, padding .2s; }
.fcat:hover { background: var(--green-50); padding-left: .8rem; }
.fcat.on { background: var(--green); color: #fff; }
.fcat small { font-size: .72rem; opacity: .7; }
.prange { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field label { font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.input { width: 100%; border: 1.5px solid var(--line); background: var(--card); border-radius: 12px; padding: .62rem .8rem; outline: none; font-size: .9rem; transition: border-color .2s, box-shadow .2s; }
.input:focus { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-100); }
.input.err { border-color: var(--red); box-shadow: 0 0 0 4px var(--pink-50); }
textarea.input { min-height: 110px; resize: vertical; }
.check { display: flex; gap: .55rem; align-items: center; font-weight: 600; font-size: .88rem; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--green); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1rem; flex-wrap: wrap; }
.toolbar .count-txt { color: var(--ink-3); font-size: .9rem; }
.toolbar .count-txt b { color: var(--ink); }
.toolbar select { width: auto; }
.filter-open { display: none; }
.empty { text-align: center; padding: 44px 18px; background: var(--card); border-radius: var(--r-l); border: 1px dashed var(--line); }
.empty img { width: 130px; margin: 0 auto .8rem; }
.empty > svg { width: 56px; height: 56px; color: var(--silver); margin: 0 auto .8rem; }
.empty h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.empty p { color: var(--ink-3); margin-bottom: 1rem; font-size: .92rem; }
.pager { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; align-items: center; margin-top: 1.6rem; max-width: 100%; }
.pager button { min-width: 38px; height: 38px; padding: 0 .55rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); font-weight: 700; color: var(--ink); display: inline-grid; place-items: center; }
.pager button.nav svg { width: 18px; height: 18px; }
.pager .gap { min-width: 20px; text-align: center; color: var(--ink-3); font-weight: 700; }
.pager button.on { background: var(--green); color: #fff; border-color: var(--green); }

/* ---------- Product page ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.pd-media { position: sticky; top: 16px; }
.zoom { position: relative; border-radius: 24px; overflow: hidden; background: var(--silver-100); aspect-ratio: 1; cursor: zoom-in; }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.pd-info { display: flex; flex-direction: column; gap: .8rem; }
.pd-info .cat { font-weight: 800; color: var(--green-500); text-transform: uppercase; font-size: .72rem; letter-spacing: .1em; }
.pd-info h1 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.pd-price { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; }
.pd-price .price { font-size: 1.8rem; }
.pd-price .save { background: var(--red); color: #fff; font-weight: 800; font-size: .76rem; padding: .22rem .55rem; border-radius: 999px; }
.stock { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--green-500); font-size: .86rem; }
.stock i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px var(--green-100); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(37,160,90,.08); } }
.pd-info .desc { color: var(--ink-2); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); }
.qty button { width: 38px; height: 42px; font-size: 1.15rem; font-weight: 700; color: var(--green); }
.qty input { width: 36px; text-align: center; border: 0; background: transparent; font-weight: 800; outline: none; }
.pd-actions { display: flex; gap: .55rem; flex-wrap: wrap; align-items: center; }
.pd-actions .wish-lg { border: 1.5px solid var(--line); border-radius: 50%; color: var(--ink-2); }
.pd-perks { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: .3rem; }
.pd-perks div { display: flex; gap: .6rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: .65rem .8rem; font-size: .82rem; }
.pd-perks svg { width: 20px; height: 20px; color: var(--green); flex: none; }
.pd-tabs { margin-top: 2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px; }
.pd-tabs .panel { margin-top: 1rem; color: var(--ink-2); display: grid; gap: .6rem; max-width: 75ch; font-size: .93rem; }
.pd-tabs .panel ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .25rem; }

/* ---------- Cart & checkout ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.panel-card { background: var(--card); border-radius: var(--r-l); border: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; }
.cart-item + .cart-item { border-top: 1px solid var(--line); }
.cart-item img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; background: var(--silver-100); }
.cart-item h3 { font-family: var(--f-body); font-size: .92rem; font-weight: 700; letter-spacing: 0; }
.cart-item .unit { color: var(--ink-3); font-size: .8rem; }
.cart-item .right { display: flex; flex-direction: column; align-items: flex-end; gap: .45rem; }
.cart-item .qty button { width: 30px; height: 32px; font-size: 1rem; }
.cart-item .qty input { width: 28px; font-size: .9rem; }
.rm { font-size: .78rem; color: var(--ink-3); text-decoration: underline; }
.rm:hover { color: var(--red); }
.summary { background: var(--card); border-radius: var(--r-l); border: 1px solid var(--line); padding: 20px; position: sticky; top: 16px; display: grid; gap: .75rem; }
.summary h3 { font-size: 1.15rem; }
.summary .row { display: flex; justify-content: space-between; gap: 1rem; color: var(--ink-2); font-size: .92rem; }
.summary .row.total { border-top: 1px dashed var(--line); padding-top: .75rem; color: var(--ink); font-weight: 800; font-size: 1.1rem; }
.summary .note { font-size: .78rem; color: var(--ink-3); }
.summary .lines { display: grid; gap: .6rem; max-height: 260px; overflow-y: auto; padding-right: 4px; }
.summary .line { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: .6rem; align-items: center; font-size: .82rem; }
.summary .line img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: var(--silver-100); }
.summary .line b { display: block; font-size: .82rem; line-height: 1.25; }
.secure { display: flex; align-items: center; gap: .45rem; font-size: .78rem; color: var(--ink-3); justify-content: center; }
.secure svg { width: 15px; height: 15px; color: var(--green-500); }
.steps { display: flex; gap: .4rem; align-items: center; margin-bottom: 1rem; font-size: .8rem; font-weight: 700; color: var(--ink-3); flex-wrap: wrap; }
.steps span { display: inline-flex; align-items: center; gap: .35rem; }
.steps i { width: 22px; height: 22px; border-radius: 50%; background: var(--line); color: var(--ink-2); display: grid; place-items: center; font-style: normal; font-size: .72rem; }
.steps .on { color: var(--green); } .steps .on i { background: var(--green); color: #fff; }
.steps .sep { width: 24px; height: 2px; background: var(--line); }
.co-block { padding: 20px; display: grid; gap: .9rem; }
.co-block + .co-block { border-top: 1px solid var(--line); }
.co-block h3 { font-size: 1.05rem; display: flex; align-items: center; gap: .55rem; }
.co-block h3 .n { width: 26px; height: 26px; border-radius: 50%; background: var(--sun); color: var(--green-900); display: grid; place-items: center; font-size: .8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .6rem; }
.choice { position: relative; display: flex; gap: .65rem; align-items: flex-start; padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: var(--r-m); cursor: pointer; transition: border-color .2s, background .2s, transform .25s var(--bounce); }
.choice:hover { transform: translateY(-2px); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--green-50); color: var(--green); display: grid; place-items: center; flex: none; }
.choice .ic svg { width: 19px; height: 19px; }
.choice b { display: block; font-size: .88rem; }
.choice span { font-size: .76rem; color: var(--ink-3); }
.choice:has(input:checked) { border-color: var(--green); background: var(--green-50); box-shadow: 0 0 0 3px var(--green-100); }
.choice:has(input:checked) .ic { background: var(--green); color: #fff; }
.choice::after { content: ""; position: absolute; top: 10px; right: 10px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); background: #fff; }
.choice:has(input:checked)::after { border: 5px solid var(--green); }
.hint { font-size: .78rem; color: var(--ink-3); }

/* order success */
.success { max-width: 640px; margin-inline: auto; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 34px 22px; position: relative; overflow: hidden; }
.tick { width: 86px; height: 86px; border-radius: 50%; background: var(--green-500); color: #fff; display: grid; place-items: center; margin: 0 auto 1rem; animation: pop .7s var(--bounce) both; box-shadow: 0 0 0 10px var(--green-100); }
.tick svg { width: 44px; height: 44px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .45s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.success .ordno { display: inline-block; margin: .8rem 0; background: var(--sun-50); color: var(--green-900); border: 1.5px dashed var(--sun-600); border-radius: 12px; padding: .5rem .9rem; font-weight: 800; letter-spacing: .06em; }
.success .lines { text-align: left; margin: 1rem 0; display: grid; gap: .5rem; }
.confetti-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti-layer span { position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 3px; animation: fall 3s ease-in forwards; }

/* auth */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; max-width: 940px; margin-inline: auto; background: var(--card); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; }
.auth-art { position: relative; background: radial-gradient(circle at 70% 20%, #2fb56a, transparent 55%), linear-gradient(140deg, var(--green-900), var(--green)); color: #fff; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; overflow: hidden; isolation: isolate; }
.auth-art h2 { font-size: 1.7rem; }
.auth-art h2 em { font-style: normal; color: var(--sun); }
.auth-art p { color: #cfe3d6; font-size: .92rem; }
.auth-art ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .88rem; }
.auth-art li { display: flex; gap: .5rem; align-items: center; }
.auth-art li svg { width: 18px; height: 18px; color: var(--sun); }
.auth-art .ill { width: 190px; align-self: center; }
.auth-form { padding: 30px; display: grid; gap: .9rem; align-content: start; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--green-50); border-radius: 999px; padding: 4px; position: relative; }
.seg button { position: relative; z-index: 1; padding: .55rem; border-radius: 999px; font-weight: 800; font-size: .88rem; color: var(--ink-2); transition: color .3s; }
.seg button.on { color: #fff; }
.seg .pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--green); transition: transform .4s var(--bounce); }
.seg.right .pill { transform: translateX(100%); }
.pw { position: relative; }
.pw button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: .75rem; font-weight: 800; color: var(--green); padding: .3rem .5rem; }
.auth-form .row-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .84rem; }
.auth-form .row-between a, .auth-form .linkish { color: var(--green); font-weight: 700; }
.or { display: flex; align-items: center; gap: .7rem; color: var(--ink-3); font-size: .78rem; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* account */
.acct { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }
.acct-side { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px; display: grid; gap: .3rem; position: sticky; top: 16px; }
.avatar { width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, var(--sun), var(--orange)); color: var(--green-900); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; margin-bottom: .4rem; }
.acct-side b { font-size: 1rem; }
.acct-side small { color: var(--ink-3); margin-bottom: .6rem; word-break: break-all; }
.acct-side button { display: flex; align-items: center; gap: .55rem; padding: .55rem .6rem; border-radius: 10px; font-weight: 700; font-size: .88rem; text-align: left; transition: background .2s; }
.acct-side button svg { width: 18px; height: 18px; color: var(--green); }
.acct-side button:hover { background: var(--green-50); }
.acct-side button.on { background: var(--green); color: #fff; }
.acct-side button.on svg { color: var(--sun); }
.order-card { padding: 16px; display: grid; gap: .5rem; }
.order-card + .order-card { border-top: 1px solid var(--line); }
.order-card .top { display: flex; justify-content: space-between; gap: .8rem; flex-wrap: wrap; align-items: center; }
.status { font-size: .72rem; font-weight: 800; padding: .22rem .6rem; border-radius: 999px; background: var(--sun-50); color: #9a6a00; }
.order-card .thumbs { display: flex; gap: .4rem; }
.order-card .thumbs img { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; background: var(--silver-100); }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.story .txt { display: grid; gap: .8rem; color: var(--ink-2); }
.story .txt h2 { color: var(--ink); font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.story .quote { font-family: var(--f-display); font-size: 1.25rem; font-weight: 700; color: var(--green); line-height: 1.25; border-left: 4px solid var(--sun); padding-left: .9rem; }
.collage { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 420px; }
.collage > img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.collage > img:first-child { grid-row: span 2; }
.collage .seal { position: absolute; left: 50%; top: 50%; transform: translate(-60%, -50%); width: 112px; height: 112px; border-radius: 50%; background: var(--card); padding: 10px; box-shadow: var(--shadow); display: grid; place-items: center; animation: float 5s ease-in-out infinite; }
.collage .seal img { width: 100%; object-fit: contain; }
.collage .ill { position: absolute; right: -14px; bottom: -22px; width: 130px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.value { border-radius: var(--r-l); padding: 22px; transition: transform .35s var(--bounce), box-shadow .35s; }
.value:nth-child(1) { background: var(--mint-50); } .value:nth-child(2) { background: var(--lemon-50); } .value:nth-child(3) { background: var(--pink-50); }
.value:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: var(--shadow); }
.value .ic { width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--green); display: grid; place-items: center; margin-bottom: .8rem; box-shadow: var(--shadow-s); }
.value .ic svg { width: 24px; height: 24px; }
.value h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.value p { color: var(--ink-2); font-size: .9rem; }
.founder { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 34px; align-items: center; background: linear-gradient(120deg, var(--green-900), var(--green)); color: #fff; border-radius: 26px; overflow: hidden; }
.founder > img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.founder .txt { padding: 32px 34px 32px 0; display: grid; gap: .8rem; }
.founder .eyebrow { color: var(--sun); }
.founder h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.founder p { color: #cfe3d6; }
.founder-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 320px; }
.founder-pics img { height: 170px; width: 100%; border-radius: 14px; object-fit: cover; object-position: top; border: 3px solid rgba(255,255,255,.15); transition: transform .4s var(--bounce); }
.founder-pics img:hover { transform: translateY(-4px) rotate(-2deg); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 22px; align-items: start; }
.info-cards { display: grid; gap: 10px; }
.info { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; transition: transform .3s var(--bounce); }
.info:hover { transform: translateX(4px); }
.info .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.info:nth-child(1) .ic { background: var(--green-500); } .info:nth-child(2) .ic { background: var(--wa); } .info:nth-child(3) .ic { background: var(--sky); }
.info:nth-child(4) .ic { background: var(--orange); } .info:nth-child(5) .ic { background: var(--pink); }
.info .ic svg { width: 20px; height: 20px; }
.info h3 { font-family: var(--f-body); font-size: .92rem; letter-spacing: 0; margin-bottom: .2rem; }
.info p, .info a { color: var(--ink-2); display: block; font-size: .88rem; }
.info a:hover { color: var(--green); }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; display: grid; gap: .85rem; }
.form-card h2 { font-size: 1.45rem; }
.map { border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: var(--green-100); aspect-ratio: 16/7; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--green); box-shadow: var(--shadow-s); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 14px 18px; font-weight: 700; font-size: .95rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--green-100); color: var(--green); display: grid; place-items: center; transition: transform .35s var(--bounce), background .3s; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--sun); color: var(--green-900); }
.faq .ans { padding: 0 18px 16px; color: var(--ink-2); display: grid; gap: .5rem; font-size: .92rem; }

/* ---------- Policy ---------- */
.prose { max-width: 800px; margin-inline: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 32px; color: var(--ink-2); display: grid; gap: .75rem; font-size: .93rem; }
.prose h2 { color: var(--ink); font-size: 1.2rem; margin-top: .8rem; }
.prose ul { margin: 0; padding-left: 1.3rem; display: grid; gap: .3rem; }
.prose strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #bcd3c4; margin-top: 60px; position: relative; font-size: .9rem; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 23px; background: radial-gradient(circle at 16px 23px, var(--green-900) 16px, transparent 17px) 0 0 / 32px 23px repeat-x; }
.foot-cta { background: linear-gradient(120deg, var(--sun), #ffd76a); color: var(--green-900); border-radius: 22px; padding: 20px 26px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; box-shadow: var(--shadow); position: relative; top: -34px; margin-bottom: -10px; overflow: hidden; isolation: isolate; }
.foot-cta h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
.foot-cta p { font-weight: 600; font-size: .88rem; }
.foot-cta .ill { position: absolute; right: 190px; bottom: -26px; width: 90px; z-index: -1; opacity: .9; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 30px; padding-bottom: 32px; }
.foot-brand img { height: 70px; width: auto; margin-bottom: .8rem; }
.foot-brand p { max-width: 34ch; }
.site-footer h4 { font-family: var(--f-body); color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .8rem; }
.foot-links { display: grid; gap: .45rem; }
.foot-links a { transition: color .2s, padding .2s; }
.foot-links a:hover { color: var(--sun); padding-left: 4px; }
.foot-contact { display: grid; gap: .6rem; }
.foot-contact div { display: flex; gap: .55rem; }
.foot-contact svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--sun); }
.socials { display: flex; gap: .45rem; margin-top: 1rem; }
.socials a { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: background .25s, transform .3s var(--bounce); }
.socials a:hover { background: var(--sun); color: var(--green-900); transform: translateY(-3px) rotate(-6deg); }
.socials svg { width: 18px; height: 18px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.foot-bottom .wrap { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding-block: 14px; font-size: .8rem; flex-wrap: wrap; }
.foot-bottom .left { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.foot-bottom .admin { display: inline-flex; align-items: center; gap: .35rem; color: #fff; font-weight: 700; background: rgba(255,255,255,.08); padding: .38rem .75rem; border-radius: 999px; transition: background .2s; }
.foot-bottom .admin:hover { background: var(--sun); color: var(--green-900); }
.foot-bottom .admin svg { width: 14px; height: 14px; }
.pay-icons { display: flex; gap: .35rem; align-items: center; }
.pay-icons span { background: #fff; color: var(--ink); font-weight: 800; font-size: .66rem; padding: .2rem .45rem; border-radius: 5px; letter-spacing: .02em; }

/* ---------- Floating bits ---------- */
.wa-float { position: fixed; right: 18px; bottom: 20px; z-index: 80; width: 52px; height: 52px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -6px rgba(31,168,85,.6); transition: transform .3s var(--bounce); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
.wa-float svg { width: 27px; height: 27px; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 20px) scale(.95); opacity: 0; visibility: hidden;
  background: var(--green-900); color: #fff; padding: .7rem 1rem; border-radius: 14px; display: flex; gap: .6rem; align-items: center;
  box-shadow: var(--shadow); transition: transform .4s var(--bounce), opacity .3s, visibility .3s; max-width: calc(100vw - 32px); font-weight: 600; font-size: .88rem;
}
.toast.on { transform: translate(-50%, 0) scale(1); opacity: 1; visibility: visible; }
.toast svg { width: 20px; height: 20px; color: var(--sun); flex: none; }
.toast a { color: var(--sun); text-decoration: underline; white-space: nowrap; }
.flyer { position: fixed; z-index: 130; width: 20px; height: 20px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255,194,51,.35); pointer-events: none; }
.tabbar { display: none; }
.back-top { position: fixed; right: 20px; bottom: 84px; z-index: 79; width: 42px; height: 42px; border-radius: 50%; background: var(--card); color: var(--green); box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--bounce); }
.back-top.on { opacity: 1; visibility: visible; transform: none; }
.back-top svg { width: 18px; height: 18px; transform: rotate(-90deg); }

/* welcome popup */
.popup-bg { position: fixed; inset: 0; z-index: 150; background: rgba(8, 30, 18, .55); display: grid; place-items: end center; padding: 0; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.popup-bg.open { opacity: 1; visibility: visible; }
.popup {
  position: relative; width: min(520px, 100%); border-radius: 28px 28px 0 0; overflow: hidden; text-align: center; color: var(--green-900);
  background: radial-gradient(circle at 50% 60%, #ffe07a, var(--sun) 60%, #f5b400); padding: 30px 22px 26px; transform: translateY(100%);
  transition: transform .55s var(--bounce); isolation: isolate;
}
.popup-bg.open .popup { transform: none; }
.popup .rays { position: absolute; inset: -40%; z-index: -1; background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.28) 0 9deg, transparent 9deg 18deg); animation: spin 40s linear infinite; }
.popup .close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-s); transition: transform .3s var(--bounce); }
.popup .close:hover { transform: rotate(90deg); }
.popup .close svg { width: 20px; height: 20px; }
.popup .p-logo { width: 110px; margin: 0 auto .4rem; filter: drop-shadow(0 6px 12px rgba(0,0,0,.2)); }
.popup h2 { font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 800; line-height: .95; text-transform: uppercase; color: var(--green-900); text-shadow: 3px 3px 0 #fff; }
.popup h2 span { display: block; color: var(--red); }
.popup .sub { display: inline-block; margin: .7rem 0 .3rem; background: var(--red); color: #fff; font-weight: 800; font-size: .78rem; padding: .3rem .8rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; transform: rotate(-2deg); }
.popup .p-art { display: flex; justify-content: center; align-items: flex-end; gap: 6px; margin: .6rem 0 .8rem; height: 150px; }
.popup .p-art img:first-child { width: 190px; }
.popup .p-art img:last-child { width: 110px; --r: 8deg; }
.popup .sign { position: absolute; right: 12px; bottom: 100px; background: var(--green); color: #fff; font-weight: 800; font-size: .72rem; line-height: 1.2; padding: .5rem .7rem; border-radius: 10px; border: 3px solid #fff; transform: rotate(6deg); text-transform: uppercase; box-shadow: var(--shadow-s); }

/* image fallback */
.imgfb { background: linear-gradient(135deg, var(--green-100), var(--silver-100)) !important; }
.imgfb img { opacity: 0; }
.imgself { background: linear-gradient(135deg, var(--green-100), var(--silver-100)); color: transparent; }

/* reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(20px) scale(.97); transition: opacity .55s var(--ease), transform .55s var(--bounce); }
.js .stagger.in > * { opacity: 1; transform: none; }
.js .stagger.in > *:nth-child(2) { transition-delay: .05s; } .js .stagger.in > *:nth-child(3) { transition-delay: .1s; }
.js .stagger.in > *:nth-child(4) { transition-delay: .15s; } .js .stagger.in > *:nth-child(5) { transition-delay: .2s; }
.js .stagger.in > *:nth-child(6) { transition-delay: .25s; } .js .stagger.in > *:nth-child(7) { transition-delay: .3s; }
.js .stagger.in > *:nth-child(8) { transition-delay: .35s; } .js .stagger.in > *:nth-child(n+9) { transition-delay: .4s; }

/* ---------- Responsive ---------- */
@media (min-width: 901px) {
  .site-header.stick { position: sticky; top: 0; }
}
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr; }
  .navlinks .phone, .navlinks .spacer { display: none; }
  .signin span { display: none; }
}
@media (max-width: 900px) {
  body { font-size: 14px; padding-bottom: 62px; }
  .wrap { padding-inline: 14px; }
  .menu-btn { display: grid; }
  .hdr-main { flex-wrap: wrap; gap: .5rem; padding-block: 8px 10px; }
  .logo img { height: 42px; }
  .hdr-actions { margin-left: auto; gap: .15rem; }
  .cart-pill { display: none; }
  .mobile-cart { display: grid !important; }
  .signin { padding: 0; width: 40px; height: 40px; justify-content: center; border-radius: 12px; background: transparent; border: 0; }
  .search { order: 3; flex-basis: 100%; }
  .search select, .search .divider { display: none; }
  .search .ic { display: block; }
  .search input { padding: .6rem .7rem; font-size: .88rem; }
  .search button { height: 34px; padding: 0 .8rem; }
  .search button span { display: none; }
  .catnav { background: transparent; border-top: 1px solid rgba(255,255,255,.12); }
  .cat-drop { display: none; }
  .navlinks { justify-content: space-between; }
  .navlinks a { flex-direction: column; gap: .15rem; padding: .5rem .55rem .55rem; font-size: .74rem; }
  .navlinks a svg { width: 22px; height: 22px; }
  .navlinks a::after { left: 22%; right: 22%; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { min-height: 140px; padding: 14px; }
  .tile h3 { font-size: 1rem; }
  .tile small { font-size: .6rem; }
  .tile .pic { width: 58%; right: -16px; bottom: -18px; }
  .trust { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 30%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cats > * { scroll-snap-align: start; }
  .grid, .grid.g4 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .best, .story, .pd, .contact-grid, .founder, .auth-wrap, .acct { grid-template-columns: minmax(0, 1fr); }
  .best .ph { min-height: 240px; }
  .founder .txt { padding: 0 22px 26px; }
  .founder > img { min-height: 300px; max-height: 380px; object-position: top; }
  .duo, .stores, .values { grid-template-columns: minmax(0, 1fr); }
  /* minmax(0, 1fr), not 1fr: a plain 1fr column grows to fit its widest content (e.g. a long row of page numbers)
     and pushed the whole page wider than the phone screen, so the browser zoomed out */
  .shop-layout, .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(310px, 86vw); z-index: 95; border-radius: 0; overflow-y: auto; transform: translateX(-102%); transition: transform .4s var(--ease); top: 0; }
  .filters.open { transform: none; }
  .filter-open { display: inline-flex; }
  .pd-media, .summary, .acct-side { position: static; }
  .collage { height: 340px; }
  .auth-art { padding: 24px; }
  .auth-art .ill { display: none; }
  .deals-art { width: 130px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; background: var(--card); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -8px 24px -16px rgba(11,58,33,.4); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 7px 0 6px; font-size: .66rem; font-weight: 700; color: var(--ink-3); position: relative; }
  .tabbar a.on { color: var(--green); }
  .tabbar a.on::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--sun); }
  .tabbar svg { width: 21px; height: 21px; }
  .tabbar .count { top: 2px; left: 55%; right: auto; border-color: #fff; }
  .wa-float { bottom: 74px; right: 12px; width: 46px; height: 46px; }
  .wa-float svg { width: 24px; height: 24px; }
  .back-top { display: none; }
  .toast { bottom: 76px; }
  .site-footer { margin-top: 70px; }
  .page-hero .ill { width: 96px; right: 10px; }
}
@media (max-width: 640px) {
  .section { padding-block: 30px; }
  .section.tight { padding-block: 16px; }
  .grid, .grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard .body { padding: 8px 10px 10px; }
  .pcard h3 { font-size: .82rem; }
  .price { font-size: .98rem; }
  .add { height: 30px; padding: 0 .6rem; font-size: .74rem; }
  .add .t { display: none; }
  .slider { min-height: 360px; }
  .slide { align-items: flex-start; }
  .slide-copy { max-width: 100%; padding: 20px 18px 60px; }
  .slide h1, .slide h2 { font-size: 1.5rem; max-width: 13ch; margin: .6rem 0 .45rem; }
  .slide p { font-size: .84rem; max-width: 24ch; }
  .slide .cta { margin-top: .9rem; }
  .slide .cta .btn-ghost { display: none; }
  .slide-art { width: 100%; }
  .slide-art .photo { width: 150px; right: -26px; top: auto; bottom: 56px; transform: scale(.85); border-width: 4px; }
  .slide.on .slide-art .photo { transform: scale(1); }
  .slide-art .ill { width: 96px; left: auto; right: 86px; bottom: 44px; }
  .slide-art .sticker { width: 62px; height: 62px; font-size: .6rem; top: auto; bottom: 170px; left: auto; right: 14px; }
  .slider-ui { left: 20px; right: 14px; bottom: 12px; }
  .arrows button { width: 32px; height: 32px; }
  .trust > div { padding: 10px; gap: .5rem; }
  .trust .ic { width: 34px; height: 34px; border-radius: 10px; }
  .trust .ic svg { width: 17px; height: 17px; }
  .trust b { font-size: .78rem; }
  .trust span { font-size: .68rem; }
  .sec-head { margin-bottom: .9rem; }
  .sec-head .tabs { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sec-head .tabs button { flex: none; }
  .deals-band { padding: 18px 12px; border-radius: 20px; }
  .deals-top { min-height: 96px; margin-bottom: 18px; }
  .deals-band::before { top: 118px; } .deals-band::after { top: 138px; }
  .ribbon { padding: 12px 44px 12px 16px; }
  .bubble { font-size: .64rem; padding: 7px 10px; margin-left: -22px; }
  .deals-art { width: 104px; }
  .best .best-info, .why, .prose, .form-card, .co-block, .auth-form { padding: 20px 16px; }
  .why-list { grid-template-columns: 1fr; }
  .promo { padding: 20px; min-height: 180px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-cta { padding: 16px 18px; }
  .foot-cta .ill { display: none; }
  .form-row, .pd-perks { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 62px minmax(0, 1fr); }
  .cart-item img { width: 62px; height: 62px; }
  .cart-item .right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .collage { height: 280px; }
  .collage .seal { width: 84px; height: 84px; }
  .collage .ill { width: 90px; }
  .page-hero .wrap { padding-block: 24px 34px; }
  .page-hero h1 { max-width: 14ch; }
  .popup h2 { text-shadow: 2px 2px 0 #fff; }
  .popup .p-art { height: 120px; }
  .popup .p-art img:first-child { width: 150px; }
  .popup .p-art img:last-child { width: 86px; }
  .popup .sign { bottom: 88px; font-size: .62rem; }
}
@media (min-width: 641px) {
  .popup-bg { place-items: center; padding: 20px; }
  .popup { border-radius: 28px; transform: translateY(40px) scale(.9); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .stagger > * { opacity: 1; transform: none; }
}

/* utilities & late additions */
[hidden] { display: none !important; }
.mini { display: grid; gap: .8rem; }
.mini .it { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: .7rem; align-items: center; }
.mini img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--silver-100); }
.mini b { font-size: .86rem; display: block; line-height: 1.3; }
.mini span { font-size: .8rem; color: var(--ink-3); }
.drawer-foot { padding: .9rem 1rem calc(.9rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: grid; gap: .5rem; }
.drawer-foot .row { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.02rem; }
.cats.all { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
@media (max-width: 900px) {
  .cats.all { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
}
@media (max-width: 480px) { .cats.all { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- model cutouts in banners ---------- */
.slide-art .disc { position: absolute; right: 4%; bottom: -18%; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.28), rgba(255,255,255,.06) 70%); z-index: 0; }
.slide-art .disc::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.45); animation: spin 30s linear infinite; }
.slide-art .model { position: absolute; right: 8%; bottom: 0; height: 94%; width: auto; max-width: none; z-index: 1; filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .6s .15s, transform .9s .15s var(--bounce); }
.slide.on .slide-art .model { opacity: 1; transform: none; }
.slide-art .ill { width: 30%; left: 0; bottom: 6%; z-index: 2; }
.promo .disc { position: absolute; right: -40px; bottom: -70px; width: 260px; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.18); border: 6px solid rgba(255,255,255,.22); z-index: -1; }
.promo .model { position: absolute; right: 12px; bottom: 0; height: 100%; width: auto; max-width: 48%; object-fit: contain; object-position: bottom; z-index: -1; filter: drop-shadow(0 12px 18px rgba(0,0,0,.3)); transition: transform .6s var(--bounce); transform-origin: bottom center; }
.promo:hover .model { transform: scale(1.05) rotate(-2deg); }
.founder .role { font-weight: 700; color: var(--sun); font-size: .95rem; }
@media (max-width: 640px) {
  .slide-art .disc { width: 70%; right: -14%; bottom: -12%; }
  .slide-art .model { height: 54%; right: -4%; }
  .slide-art .ill { display: none; }
  .slide-art .sticker { bottom: auto; top: 14px; right: 14px; }
  .slide .tag { font-size: .62rem; white-space: nowrap; }
  .slide p { max-width: 58%; }
  .promo .model { max-width: 42%; right: 0; }
  .promo p, .promo h3 { max-width: 58%; }
  .promo .disc { width: 190px; right: -50px; bottom: -60px; }
}

/* stock + account bits */
.badge.out { background: var(--ink-2); box-shadow: none; }
.pcard.soldout .ph img { filter: grayscale(.8); opacity: .75; }
span.add[aria-disabled] { border-color: var(--line); color: var(--ink-3); cursor: default; }
span.add[aria-disabled]:hover { background: transparent; color: var(--ink-3); transform: none; }
.stock.out { color: var(--red); }
.stock.out i { box-shadow: 0 0 0 4px var(--pink-50); animation: none; }
.acct-side .signout { display: flex; align-items: center; gap: .55rem; padding: .55rem .6rem; border-radius: 10px; font-weight: 700; font-size: .88rem; color: var(--red); }
.acct-side .signout svg { width: 18px; height: 18px; }
.acct-side .signout:hover { background: var(--pink-50); }
.success-card { justify-items: stretch; text-align: center; }
button:disabled { opacity: .7; cursor: wait; }

/* legal pages */
.prose .updated { font-size: .82rem; font-weight: 700; color: var(--green-500); background: var(--green-50); justify-self: start; padding: .3rem .7rem; border-radius: 999px; }
.prose a { color: var(--green); font-weight: 700; }
.legal-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.legal-nav a { font-size: .82rem; padding: .35rem .8rem; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink-2); font-weight: 700; }
.legal-nav a:hover { border-color: var(--green); color: var(--green); }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); }
.tbl { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 520px; }
.tbl th { text-align: left; background: var(--green-50); color: var(--ink); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; padding: .6rem .8rem; }
.tbl td { padding: .65rem .8rem; border-top: 1px solid var(--line); vertical-align: top; }
.tbl code { font-size: .8rem; background: var(--green-50); padding: .1rem .35rem; border-radius: 5px; color: var(--green-900); }
.foot-bottom .legal { display: flex; gap: 1rem; flex-wrap: wrap; }
.foot-bottom .legal a:hover { color: var(--sun); }

/* cookie notice */
.cookie-bar { position: fixed; left: 18px; bottom: 18px; z-index: 110; max-width: 380px; background: var(--green-900); color: #fff; border-radius: 16px; padding: 14px 16px; display: grid; gap: .7rem; box-shadow: var(--shadow); transform: translateY(20px); opacity: 0; transition: transform .45s var(--bounce), opacity .3s; font-size: .86rem; }
.cookie-bar.on { transform: none; opacity: 1; }
.cookie-bar a { color: var(--sun); font-weight: 700; text-decoration: underline; }
.cookie-bar .btn { justify-self: start; padding: .5rem .95rem; }
@media (max-width: 900px) {
  .cookie-bar { left: 10px; right: 10px; bottom: 72px; max-width: none; grid-template-columns: 1fr auto; align-items: center; }
  .cookie-bar .btn { justify-self: end; }
}
.collage > img.ill { position: absolute; right: -14px; bottom: -22px; width: 130px; height: auto; object-fit: contain; border-radius: 0; grid-row: auto; }
@media (max-width: 640px) { .collage > img.ill { width: 90px; } }
.notice-err { background: var(--pink-50); color: #9a2b18; border-radius: 12px; padding: .7rem .9rem; font-size: .86rem; font-weight: 600; }

/* head-and-shoulders photo: sits flush in the bottom-right corner so the photo's cut edges meet the banner's edges */
.slide-art .model.bust { right: 2%; bottom: 0; height: 92%; max-width: 96%; object-fit: contain; object-position: right bottom; }
.slide-art .model.bust ~ .disc, .slide-art .disc:has(+ .model.bust) { right: 6%; }
.promo .model.bust { right: 3%; bottom: 0; height: 92%; max-width: 50%; object-fit: contain; object-position: right bottom; }
@media (max-width: 640px) {
  .slide-art .model.bust { height: 50%; right: 0; max-width: 56%; }
  .promo .model.bust { max-width: 48%; height: 80%; }
}

/* ---------- Orders: payment, receipt, reference, tracking ---------- */
.success .stack-l { display: grid; gap: 14px; text-align: left; margin-top: 1.1rem; }
.pay-box, .rcpt-box, .ref-box, .track { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: var(--card); text-align: left; }
.pay-box { border: 2px solid var(--green-500); background: var(--green-50); }
.pay-box h3, .rcpt-box h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.bank-rows { display: grid; gap: .45rem; margin: .4rem 0 .8rem; }
.bank-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l btn" "v btn"; align-items: center; column-gap: .6rem; row-gap: .1rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .55rem .75rem; text-align: left; }
.bank-row span { grid-area: l; color: var(--ink-3); font-size: .74rem; font-weight: 700; }
.bank-row b { grid-area: v; grid-column: 1 / -1; font-size: .98rem; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.bank-row.has-copy b { grid-column: 1; }
.bank-row b.big { font-size: clamp(1.02rem, 4.6vw, 1.2rem); letter-spacing: .03em; white-space: nowrap; }
.copy-btn { grid-area: btn; border: 0; background: var(--green); color: #fff; font-weight: 800; font-size: .72rem; border-radius: 999px; padding: .35rem .7rem; cursor: pointer; }
.bank-pick { margin: .35rem 0 0; font-size: .88rem; color: var(--ink-2); }
.bank-acct { display: grid; gap: .45rem; }
.bank-acct.multi { gap: .35rem; padding: .5rem; border: 1.5px dashed var(--green-500); border-radius: 14px; background: rgba(255,255,255,.45); }
.bank-acct .bank-no { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--green); padding: 0 .2rem; }
.pay-steps { margin: 0 0 1rem; padding-left: 1.2rem; display: grid; gap: .35rem; color: var(--ink-2); font-size: .88rem; text-align: left; }
.pay-box h3 { line-height: 1.25; }
.ref-box { background: var(--sun-50); border: 1.5px dashed var(--sun-600); }
.ref-box .lbl { display: block; font-size: .74rem; font-weight: 800; color: #9a6a00; text-transform: uppercase; letter-spacing: .06em; }
.ref-no { display: inline-flex; align-items: center; gap: .45rem; border: 0; background: none; padding: .2rem 0; font: inherit; font-size: 1.35rem; font-weight: 800; color: var(--green-900); letter-spacing: .04em; cursor: pointer; }
.ref-no svg { width: 18px; height: 18px; color: var(--ink-3); }
.ref-box p { font-size: .86rem; color: var(--ink-2); margin-top: .3rem; }
.ref-box a, .rcpt-box a.link { color: var(--green); font-weight: 700; text-decoration: underline; }
.rcpt-box { display: grid; gap: .6rem; }
.rcpt-box .msg { display: flex; gap: .5rem; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.rcpt-box .msg svg { width: 20px; height: 20px; color: var(--green-500); flex: none; }
.track-note { background: var(--sun-50); color: #7a5300; border-radius: 12px; padding: .6rem .8rem; font-size: .86rem; font-weight: 700; margin-bottom: .8rem; }
.track-note.bad { background: #fde8e8; color: #9b1c1c; }
.track-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.track-steps li { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: .7rem; padding-bottom: 1rem; }
.track-steps li:last-child { padding-bottom: 0; }
.track-steps li::before { content: ""; position: absolute; left: 12px; top: 22px; bottom: -2px; width: 2px; background: var(--line); }
.track-steps li:last-child::before { display: none; }
.track-steps li.done::before { background: var(--green-500); }
.track-steps .dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); position: relative; z-index: 1; }
.track-steps li.done .dot { background: var(--green-500); border-color: var(--green-500); box-shadow: inset 0 0 0 5px var(--green-500), inset 0 0 0 9px #fff; }
.track-steps li.now .dot { border-color: var(--sun-600); background: var(--sun); animation: pulse-dot 1.6s ease-in-out infinite; }
.track-steps b { display: block; font-size: .95rem; color: var(--ink-3); }
.track-steps li.done b, .track-steps li.now b { color: var(--ink); }
.track-steps small { display: block; color: var(--ink-3); font-size: .8rem; margin-top: .1rem; }
@keyframes pulse-dot { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 194, 51, .55); } 50% { box-shadow: 0 0 0 8px rgba(255, 194, 51, 0); } }
.track-form { display: flex; gap: .6rem; flex-wrap: wrap; max-width: 560px; margin: 1rem auto 0; }
.track-form .input { flex: 1 1 220px; text-transform: uppercase; font-weight: 700; letter-spacing: .04em; }
.order-card .status.ok { background: var(--green-100); color: var(--green); }
.order-card .status.bad { background: #fde8e8; color: #9b1c1c; }
@media (prefers-reduced-motion: reduce) { .track-steps li.now .dot { animation: none; } }

/* ---------- Hero: full photos (replaces the cut-out banners) ---------- */
.slide.has-scene .deco { display: none; }
.slide-scene { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; z-index: 1; }
.slide-scene img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 34%); mask-image: linear-gradient(to right, transparent 0, #000 34%);
  transform: scale(1.06); transition: transform 6s ease; }
.slide.on .slide-scene img { transform: scale(1); }
.slide.has-scene .slide-copy { text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.slide.has-scene .slide-copy .btn { text-shadow: none; }
@media (max-width: 640px) {
  .slider { min-height: 560px; }
  .slide-scene { width: 100%; top: auto; height: 50%; }
  .slide-scene img { object-position: center 18%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26%); mask-image: linear-gradient(to bottom, transparent 0, #000 26%); }
  .slide.has-scene p { max-width: 100%; }
  .slide.has-scene .slide-copy { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .slide-scene img { transform: none; transition: none; } }

/* ---------- Product colours and sizes ---------- */
.pd-opt { margin: 1rem 0 .2rem; padding: .2rem 0; border-radius: 14px; transition: background .3s; }
.pd-opt .lbl { font-size: .86rem; color: var(--ink-3); font-weight: 700; margin-bottom: .55rem; }
.pd-opt .lbl b { color: var(--ink); }
.pd-opt.need { animation: needpick .5s ease; }
.pd-opt.need .lbl b { color: #dc2626; }
@keyframes needpick { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.swatches, .sizes { display: flex; flex-wrap: wrap; gap: .55rem; }
.swatch { position: relative; display: grid; justify-items: center; gap: .25rem; border: 0; background: none; padding: 0; cursor: pointer; font: inherit; width: 52px; }
.swatch i { width: 40px; height: 40px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), 0 0 0 3px var(--card), 0 0 0 4px var(--line); transition: box-shadow .2s, transform .2s; }
.swatch:hover i { transform: scale(1.06); }
.swatch.on i { box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), 0 0 0 3px var(--card), 0 0 0 5px var(--green); }
.swatch.on::after { content: ""; position: absolute; top: 13px; left: 50%; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 3px 3px; transform: translateX(-50%) rotate(-45deg); filter: drop-shadow(0 0 1.5px rgba(0,0,0,.7)); }
.swatch span { font-size: .7rem; color: var(--ink-3); font-weight: 600; line-height: 1.15; text-align: center; max-width: 60px; overflow-wrap: anywhere; }
.swatch.on span { color: var(--ink); font-weight: 800; }
.size { min-width: 48px; height: 44px; padding: 0 .9rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); font: inherit; font-weight: 800; font-size: .9rem; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.size:hover { border-color: var(--green-500); }
.size.on { border-color: var(--green); background: var(--green); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 14px -8px rgba(27, 107, 63, .8); }
.variant { display: block; font-size: .78rem; font-weight: 700; color: var(--green); margin: .1rem 0; }
@media (prefers-reduced-motion: reduce) { .pd-opt.need { animation: none; } }

/* ---------- Promo cards: full photos ---------- */
.promo-scene { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; z-index: -1; overflow: hidden; }
.promo-scene img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; display: block; transition: transform .6s var(--ease);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40%); mask-image: linear-gradient(to right, transparent 0, #000 40%); }
.promo.has-scene:hover .promo-scene img { transform: scale(1.05); }
.promo.has-scene h3, .promo.has-scene p, .promo.has-scene small { text-shadow: 0 2px 12px rgba(0, 0, 0, .3); position: relative; }
.promo.has-scene p, .promo.has-scene h3 { max-width: 52%; }
@media (max-width: 640px) { .promo-scene { width: 62%; } .promo.has-scene p, .promo.has-scene h3 { max-width: 56%; } }

/* extra banner colours (Admin > Website) */
.slide.s-pink { background: radial-gradient(circle at 80% 25%, #ff8fb3, transparent 55%), linear-gradient(120deg, #c2255c, #ff4f87); }
.slide.s-purple { background: radial-gradient(circle at 80% 25%, #a78bfa, transparent 55%), linear-gradient(120deg, #4c2fc4, #7c5cf0); }
.slide.s-dark { background: radial-gradient(circle at 80% 25%, #4b5563, transparent 55%), linear-gradient(120deg, #111827, #374151); }
.slider.single .slider-ui { display: none; }

/* ---------- Product photo gallery ---------- */
.pd-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); box-shadow: 0 4px 14px -6px rgba(0,0,0,.4); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.pd-nav svg { width: 18px; height: 18px; }
.pd-nav.prev { left: 10px; } .pd-nav.next { right: 10px; }
.pd-count { position: absolute; bottom: 10px; right: 10px; z-index: 2; background: rgba(0,0,0,.55); color: #fff; font-size: .74rem; font-weight: 800; border-radius: 999px; padding: .2rem .6rem; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: thin; }
.pd-thumb { flex: 0 0 68px; height: 68px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--silver-100); cursor: pointer; scroll-snap-align: start; opacity: .7; transition: opacity .2s, border-color .2s; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb.on, .pd-thumb:hover { opacity: 1; border-color: var(--green); }
@media (hover: none) { .pd-nav { width: 34px; height: 34px; } }

/* ---------- Checkout: terms + delivery fee popup ---------- */
.agree { display: flex; gap: .6rem; align-items: flex-start; margin: .2rem 0 .8rem; font-size: .9rem; font-weight: 600; color: var(--ink-2); cursor: pointer; padding: .55rem .65rem; border-radius: 12px; border: 1.5px solid transparent; }
.agree input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--green); }
.agree a { color: var(--green); font-weight: 800; text-decoration: underline; }
.agree.need { border-color: #dc2626; background: #fef2f2; animation: needpick .5s ease; }
.modal { position: fixed; inset: 0; z-index: 9999; background: rgba(10, 25, 15, .55); display: grid; place-items: center; padding: 18px; animation: fadein .2s ease; }
.modal[hidden] { display: none; }
.modal-card { width: min(440px, 100%); background: var(--card, #fff); border-radius: 22px; padding: 24px 22px 20px; box-shadow: 0 30px 70px -25px rgba(0,0,0,.6); text-align: center; animation: popin .25s ease; max-height: calc(100vh - 36px); overflow: auto; }
.modal-ic { width: 56px; height: 56px; border-radius: 16px; display: inline-grid; place-items: center; background: var(--green-100); color: var(--green); margin-bottom: .6rem; }
.modal-ic svg { width: 28px; height: 28px; }
.modal-card h2 { font-size: 1.3rem; margin: 0; }
.big-range { font-size: 1.6rem; font-weight: 800; color: var(--green-900); margin: .35rem 0 .8rem; }
.modal-points { text-align: left; margin: 0 0 1.1rem; padding-left: 1.15rem; display: grid; gap: .45rem; color: var(--ink-2); font-size: .92rem; }
.modal-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: .6rem; }
.modal-actions .btn { justify-content: center; }
body.modal-open { overflow: hidden; }
@keyframes fadein { from { opacity: 0; } }
@keyframes popin { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@media (max-width: 380px) { .modal-actions { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .modal, .modal-card, .agree.need { animation: none; } }
.modal-actions .btn { padding-left: .8rem; padding-right: .8rem; white-space: normal; text-align: center; line-height: 1.2; min-height: 48px; }
.large-note { background: #fff6d6; color: #7a5300; border-radius: 12px; padding: .5rem .7rem; font-size: .88rem; margin: -.3rem 0 .9rem; }

/* ---------- Phone-width safety net ----------
   Grid and flex children may shrink below their content width, so one wide element
   (a long word, a row of buttons, a table) can never stretch the page sideways. */
.shop-layout > *, .cart-layout > *, .acct > *, .pd > *, .contact-grid > *, .story > *, .best > *, .auth-wrap > *, .hero-grid > *, .duo > *, .stores > * { min-width: 0; }
.card h3, .card .name, .pd h1, .crumbs, .count-txt { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  @supports (overflow: clip) { html, body { max-width: 100%; overflow-x: clip; } }
  .toolbar select { max-width: 60vw; }
}
