/* ==========================================================
   JUMGLY — Premium Hybrid × Bamboo Grove
   ========================================================== */
:root {
  --forest: #205C3C;
  --forest-deep: #143d27;
  --sun: #F8C34A;
  --orange: #F47A32;
  --teal: #39A99B;
  --cream: #FFF8E9;
  --leaf: #A9C77E;
  --bark: #8A5A33;
  --bamboo: #E8C98F;
  --bamboo-lt: #F5E3BC;
  --bamboo-dk: #B88A4E;
  --ink: #1D2B22;
  --muted: #66705F;
  --line: #E9DFC7;
  --card: #FFFDF7;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 40px -22px rgba(32, 92, 60, .45);
  --shadow-sm: 0 6px 18px -10px rgba(32, 92, 60, .35);
  --head: 'Fredoka', 'DM Sans', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  /* bamboo grain used across cards & buttons */
  --grain: repeating-linear-gradient(90deg, rgba(168,120,62,.07) 0 1px, transparent 1px 7px, rgba(168,120,62,.05) 7px 8px, transparent 8px 13px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; font-family: var(--body); color: var(--ink); background: var(--cream);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--forest-deep); letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--forest); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 8px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 10px; background: var(--leaf); border-radius: 0 12px 0 12px; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--forest); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1 var(--head); letter-spacing: .01em;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); position: relative; isolation: isolate;
  transition: transform .35s var(--bounce), box-shadow .3s var(--ease), background .2s;
  box-shadow: 0 4px 0 rgba(0,0,0,.18), var(--shadow-sm);
}
.btn:hover { color: var(--fg); transform: translateY(-3px); box-shadow: 0 7px 0 rgba(0,0,0,.18), var(--shadow); }
.btn:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn-sun { --bg: var(--sun); --fg: var(--forest-deep); }
.btn-orange { --bg: var(--orange); }
.btn-ghost { --bg: transparent; --fg: var(--forest); box-shadow: inset 0 0 0 2px var(--forest); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--forest), var(--shadow-sm); }
.btn-bamboo { --bg: linear-gradient(90deg, var(--bamboo-dk), var(--bamboo-lt) 45%, var(--bamboo) 70%, var(--bamboo-dk)); --fg: var(--forest-deep); background: var(--grain), var(--bg); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; color: var(--forest); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.announce { background: var(--forest); color: var(--cream); text-align: center; font-size: .88rem; padding: 9px 16px; display: flex; gap: 10px; justify-content: center; align-items: center; }
.leaf-dot { width: 14px; height: 8px; background: var(--sun); border-radius: 0 10px 0 10px; flex: none; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 248, 233, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -24px rgba(32,92,60,.5); }
.header-row { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand img { height: 46px; width: auto; transition: transform .4s var(--bounce); }
.brand:hover img { transform: rotate(-3deg) scale(1.04); }
.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a { font-family: var(--head); font-weight: 500; color: var(--ink); padding: 8px 14px; border-radius: 999px; position: relative; transition: background .2s, color .2s; }
.main-nav a:hover, .main-nav a.is-active { background: #fff; color: var(--forest); box-shadow: var(--shadow-sm); }
.nav-mobile-only { display: none; }
.header-actions { display: flex; gap: 6px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--forest); position: relative; transition: background .2s, transform .3s var(--bounce); }
.icon-btn:hover { background: #fff; transform: translateY(-2px); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; border-radius: 10px; background: var(--orange); color: #fff; font: 700 .72rem/19px var(--body); text-align: center; padding: 0 5px; }
.cart-count.pop { animation: pop .5s var(--bounce); }
@keyframes pop { 40% { transform: scale(1.5); } }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 12px 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2.5px; background: var(--forest); border-radius: 3px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- Flash ---------- */
.flash { margin: 18px 0 0; padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 500; background: #fff; border-left: 5px solid var(--teal); box-shadow: var(--shadow-sm); }
.flash-error { border-color: var(--orange); }
.flash-success { border-color: var(--forest); }

/* ---------- Bamboo stalks (decorative) ---------- */
.stalk {
  --h: 520px; --w: 26px; --seg: 90px; --hue: 0deg;
  position: absolute; bottom: 0; width: var(--w); height: var(--h); border-radius: 14px 14px 4px 4px;
  background:
    repeating-linear-gradient(180deg, transparent 0 calc(var(--seg) - 7px), rgba(110,72,30,.35) calc(var(--seg) - 7px) calc(var(--seg) - 5px), rgba(255,240,200,.55) calc(var(--seg) - 5px) calc(var(--seg) - 3px), transparent calc(var(--seg) - 3px) var(--seg)),
    linear-gradient(90deg, #9fb86a, #c9dc94 38%, #b6cd80 62%, #87a25a);
  filter: hue-rotate(var(--hue)); transform-origin: bottom center; animation: sway 7s ease-in-out infinite; opacity: .9; pointer-events: none;
}
.stalk::before, .stalk::after { content: ""; position: absolute; width: 46px; height: 18px; background: var(--leaf); border-radius: 0 28px 0 28px; }
.stalk::before { top: 22%; left: 70%; transform: rotate(-24deg); }
.stalk::after { top: 48%; right: 70%; transform: rotate(204deg); background: #86a95a; }
.stalk.is-bamboo { background:
    repeating-linear-gradient(180deg, transparent 0 calc(var(--seg) - 7px), rgba(110,72,30,.4) calc(var(--seg) - 7px) calc(var(--seg) - 5px), rgba(255,240,200,.7) calc(var(--seg) - 5px) calc(var(--seg) - 3px), transparent calc(var(--seg) - 3px) var(--seg)),
    linear-gradient(90deg, var(--bamboo-dk), var(--bamboo-lt) 40%, var(--bamboo) 65%, var(--bamboo-dk)); }
@keyframes sway { 0%,100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.4deg); } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 90px; }
.hero::before { content: ""; position: absolute; inset: auto -10% -40% -10%; height: 70%; background: radial-gradient(60% 60% at 50% 100%, rgba(169,199,126,.45), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; position: relative; z-index: 2; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .wild { color: var(--orange); position: relative; display: inline-block; }
.hero h1 .wild::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: -.06em; height: .18em; background: var(--sun); border-radius: 0 0 50% 50% / 0 0 100% 100%; z-index: -1; }
.hero .lede { font-size: 1.18rem; color: var(--muted); max-width: 32em; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; color: var(--muted); font-size: .92rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-sm); font-style: normal; }
.hero-stage { position: relative; aspect-ratio: 1; max-width: 560px; margin-inline: auto; width: 100%; }
.hero-sun { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe39a, var(--sun) 55%, #f0a93c); box-shadow: 0 40px 80px -40px rgba(244,122,50,.7); }
.hero-sun::after { content: ""; position: absolute; inset: -9%; border-radius: 50%; border: 2px dashed rgba(32,92,60,.18); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-stage .viewer, .hero-stage .illus-wrap { position: absolute; inset: 0; }
.hero-stage .illus-wrap .illus { width: 52%; margin: 9% auto 0; filter: drop-shadow(0 30px 30px rgba(32,60,40,.35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-16px) rotate(4deg); } }
.leaf { position: absolute; width: 70px; height: 34px; background: var(--leaf); border-radius: 0 40px 0 40px; pointer-events: none; animation: flutter 5s ease-in-out infinite; }
.leaf.dark { background: var(--forest); }
.leaf.teal { background: var(--teal); }
@keyframes flutter { 0%,100% { transform: rotate(var(--r, 0deg)) translateY(0); } 50% { transform: rotate(calc(var(--r, 0deg) + 10deg)) translateY(-8px); } }
.hero .stalk { z-index: 1; }

/* ---------- Ticker ---------- */
.ticker { background: var(--forest); color: var(--cream); overflow: hidden; padding: 16px 0; transform: rotate(-1.4deg) scaleX(1.03); margin: -26px 0 0; position: relative; z-index: 3; }
.ticker-track { display: flex; gap: 46px; width: max-content; animation: marquee 32s linear infinite; font: 600 1.15rem var(--head); white-space: nowrap; }
.ticker-track span { display: inline-flex; align-items: center; gap: 46px; }
.ticker-track span::after { content: ""; width: 18px; height: 10px; background: var(--sun); border-radius: 0 12px 0 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-alt { background: linear-gradient(180deg, #fff6e0, var(--cream)); }
.section-forest { background: var(--forest); color: var(--cream); overflow: hidden; }
.section-forest h2, .section-forest h3 { color: #fff; }
.section-forest .muted, .section-forest p { color: rgba(255,248,233,.78); }
.section-forest .eyebrow { color: var(--sun); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.p-card { background: var(--card); border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); transition: transform .45s var(--bounce), box-shadow .35s var(--ease); display: flex; flex-direction: column; border: 1px solid var(--line); }
.p-card:hover { transform: translateY(-8px) rotate(-.4deg); box-shadow: var(--shadow); }
.p-card .p-media { aspect-ratio: 4/4.4; display: grid; place-items: center; position: relative; overflow: hidden; background: radial-gradient(circle at 50% 45%, #fff 0, var(--tint, #f6ecd5) 70%); }
.p-card .p-media::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .7; pointer-events: none; }
.p-card .p-media:has(img.photo)::after { display: none; }
.p-card .p-media .illus { height: 84%; width: auto; transition: transform .6s var(--bounce); filter: drop-shadow(0 20px 18px rgba(60,40,20,.22)); }
.p-card:hover .p-media .illus { transform: rotate(-8deg) scale(1.05) translateY(-6px); }
.p-card .p-media img.photo { width: 100%; height: 100%; object-fit: cover; }
.p-tag { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--orange); color: #fff; font: 600 .78rem var(--head); padding: 6px 12px; border-radius: 999px; letter-spacing: .03em; }
.p-tag.tag-sun { background: var(--sun); color: var(--forest-deep); }
.p-tag.tag-soon { background: var(--forest); }
.p-wish { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .3s var(--bounce); }
.p-wish svg { width: 20px; fill: none; stroke: var(--orange); stroke-width: 2; }
.p-wish.is-on svg { fill: var(--orange); }
.p-wish:hover { transform: scale(1.12); }
.p-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-body h3 { margin: 0; font-size: 1.4rem; }
.p-body h3 a { color: inherit; }
.p-body p { color: var(--muted); font-size: .95rem; margin: 0; }
.p-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; }
.price { font: 700 1.35rem var(--head); color: var(--forest); }
.price s { color: var(--muted); font-size: .9rem; font-weight: 500; margin-left: 6px; }
.swatches { display: flex; gap: 6px; }
.swatch-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }

/* ---------- Feature / story blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.bamboo-panel { border-radius: 32px; aspect-ratio: 1/1.05; position: relative; overflow: hidden; background: var(--grain), linear-gradient(115deg, var(--bamboo-dk), var(--bamboo-lt) 35%, var(--bamboo) 60%, #d6ad6d); box-shadow: var(--shadow); display: grid; place-items: center; }
.bamboo-panel .illus { height: 82%; width: auto; filter: drop-shadow(0 30px 28px rgba(60,30,0,.35)); }
.bamboo-panel::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 118px, rgba(110,72,30,.25) 118px 121px, rgba(255,240,200,.45) 121px 124px); }
.ticks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23205C3C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; margin-top: 1px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 500; font-size: .9rem; box-shadow: var(--shadow-sm); }

/* "Steps" — how BrushConnect works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 28px 24px; position: relative; counter-increment: step; transition: transform .4s var(--bounce), background .3s; }
.step:hover { transform: translateY(-6px); background: rgba(255,255,255,.13); }
.step::before { content: counter(step); font: 700 2.6rem/1 var(--head); color: var(--sun); display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.15rem; }
.step p { font-size: .95rem; margin: 0; }
.phone { width: 270px; aspect-ratio: 9/18.5; border-radius: 42px; background: var(--ink); padding: 11px; box-shadow: 0 40px 70px -30px rgba(0,0,0,.6); margin-inline: auto; transform: rotate(4deg); }
.phone-screen { width: 100%; height: 100%; border-radius: 32px; background: var(--cream); padding: 24px 18px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; color: var(--ink); }
.phone-screen h4 { margin: 0; font-size: 1rem; color: var(--forest); }
.ring { width: 130px; height: 130px; border-radius: 50%; margin: 6px auto; display: grid; place-items: center; background: conic-gradient(var(--forest) 0 86%, var(--line) 86% 100%); position: relative; }
.ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--cream); }
.ring b { position: relative; font: 700 1.8rem var(--head); color: var(--forest); }
.mini-card { background: #fff; border-radius: 14px; padding: 10px 12px; font-size: .78rem; display: flex; justify-content: space-between; align-items: center; box-shadow: var(--shadow-sm); }
.mini-card b { color: var(--orange); font-family: var(--head); }
.disclaimer { font-size: .82rem; opacity: .75; }

/* Bundle promo cards */
.bundle-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.bundle-card { border-radius: 28px; padding: 34px; position: relative; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 1fr 120px; gap: 10px; align-items: center; border: 1px solid var(--line); transition: transform .45s var(--bounce); }
.bundle-card:hover { transform: translateY(-6px) rotate(.4deg); }
.bundle-card .save { display: inline-block; font: 700 2.6rem/1 var(--head); color: var(--orange); }
.bundle-card .illus { height: 170px; width: auto; }
.bundle-card.sun { background: linear-gradient(140deg, #fff3cf, #ffe39a); }
.bundle-card.teal { background: linear-gradient(140deg, #dff3ef, #bfe6df); }

/* Testimonial-free trust row */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust div { text-align: center; padding: 26px 18px; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); }
.trust i { font-style: normal; font-size: 1.8rem; display: block; margin-bottom: 8px; }
.trust b { font-family: var(--head); display: block; color: var(--forest); font-size: 1.05rem; }
.trust span { font-size: .88rem; color: var(--muted); }

/* ---------- Product page ---------- */
.pdp { padding: 40px 0 80px; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.pdp-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.gallery { position: sticky; top: 100px; }
.stage { aspect-ratio: 1; border-radius: 32px; position: relative; overflow: hidden; background: radial-gradient(circle at 50% 42%, #fff 0, #f7ecd3 60%, #eedcb5); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.stage::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .55; pointer-events: none; }
.stage .illus-wrap { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; transition: opacity .4s; }
.stage .illus-wrap .illus { height: 80%; width: auto; filter: drop-shadow(0 26px 24px rgba(60,40,20,.25)); }
.stage .viewer { position: absolute; inset: 0; z-index: 2; }
.stage.is-3d .illus-wrap, .hero-stage.is-3d .illus-wrap { opacity: 0; }
/* Photo gallery inside the stage */
.stage.has-photos { background: #F6E3D5; }
.stage.has-photos::after { display: none; }
.photo-wrap { position: absolute; inset: 0; z-index: 1; }
.photo-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .5s var(--ease), transform .8s var(--ease); }
.photo-wrap img.on { opacity: 1; transform: none; }
.stage.has-photos .viewer { opacity: 0; pointer-events: none; transition: opacity .4s; background: radial-gradient(circle at 50% 42%, #fff 0, #f7ecd3 60%, #eedcb5); }
.stage.has-photos.is-3d .viewer { opacity: 1; pointer-events: auto; }
.stage.has-photos.is-3d .photo-wrap { opacity: 0; }
.thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding: 2px; }
.thumb { flex: none; width: 74px; height: 74px; border-radius: 16px; overflow: hidden; border: 2px solid transparent; background: #F6E3D5; padding: 0; cursor: pointer; transition: border-color .2s, transform .3s var(--bounce); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { transform: translateY(-2px); }
.thumb.on { border-color: var(--forest); }
.thumb-3d { font: 700 1.05rem var(--head); color: var(--forest); background: radial-gradient(circle, #fff, #f3e6c8); }
.p-card .p-media img.photo { position: relative; z-index: 0; transition: transform .7s var(--ease); }
.p-card:hover .p-media img.photo { transform: scale(1.05); }
.bamboo-panel.photo-panel { background: #FAE9DB; }
.bamboo-panel.photo-panel::before { display: none; }
.bamboo-panel.photo-panel img { width: 100%; height: 100%; object-fit: cover; }
.stage-controls { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.chip { background: rgba(255,255,255,.92); border: 0; border-radius: 999px; padding: 10px 16px; font: 600 .88rem var(--head); color: var(--forest); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; box-shadow: var(--shadow-sm); transition: transform .3s var(--bounce); }
.chip:hover { transform: translateY(-2px); }
.chip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.viewer-status { position: absolute; inset: 0; display: grid; place-items: center; z-index: 3; pointer-events: none; font: 600 .95rem var(--head); color: var(--forest); }
.loader-leaf { width: 46px; height: 24px; background: var(--leaf); border-radius: 0 30px 0 30px; animation: spin 1.1s var(--ease) infinite; margin: 0 auto 10px; }
.viewer-hint { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 12px; }
.pdp-info h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 8px; }
.pdp-info .tagline { font-size: 1.15rem; color: var(--muted); margin-bottom: 20px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.pdp-price .price { font-size: 2.1rem; }
.pdp-price small { color: var(--muted); }
.opt-label { font: 600 .95rem var(--head); color: var(--forest-deep); margin: 0 0 10px; display: flex; justify-content: space-between; }
.opt-label span { font-family: var(--body); font-weight: 500; color: var(--muted); }
.swatch-pick { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.swatch-pick label { cursor: pointer; position: relative; }
.swatch-pick input { position: absolute; opacity: 0; }
.swatch-pick .sw { width: 44px; height: 44px; border-radius: 50%; display: block; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line); transition: transform .3s var(--bounce), box-shadow .2s; }
.swatch-pick input:checked + .sw { box-shadow: 0 0 0 3px var(--forest); transform: scale(1.08); }
.swatch-pick input:focus-visible + .sw { outline: 3px solid var(--sun); outline-offset: 3px; }
.swatch-pick input:disabled + .sw { opacity: .35; }
.swatch-pick input:disabled + .sw::after { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 2px; background: var(--muted); transform: translateX(-50%) rotate(45deg); }
.buy-row { display: flex; gap: 12px; align-items: stretch; margin-bottom: 16px; }
.qty { display: inline-flex; align-items: center; background: #fff; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.qty button { width: 44px; height: 100%; min-height: 50px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--forest); }
.qty input[type=number] { width: 40px; padding: 0; text-align: center; border: 0; background: none; box-shadow: none; font: 600 1.05rem var(--body); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row .btn { flex: 1; white-space: nowrap; }
.buy-row .btn-ghost { flex: none; width: 54px; padding: 0; font-size: 1.3rem; }
.buy-row .btn-ghost.is-on { background: #fde6d3; }
.stock-note { font-size: .9rem; color: var(--muted); margin-bottom: 22px; display: flex; gap: 8px; align-items: center; }
.stock-note i { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); }
.stock-note.low i { background: var(--sun); }
.stock-note.out i { background: var(--orange); }
.perk { display: flex; gap: 14px; background: linear-gradient(120deg, #fff3cf, #fff); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 22px; border: 1px solid #f5dc9b; }
.perk b { font-family: var(--head); color: var(--forest); }
.perk .perk-ico { font-size: 1.6rem; }
.notify { display: flex; gap: 10px; margin-bottom: 20px; }
.notify input { flex: 1; }
details.acc { border-top: 1px solid var(--line); padding: 16px 0; }
details.acc summary { cursor: pointer; font: 600 1.05rem var(--head); color: var(--forest-deep); list-style: none; display: flex; justify-content: space-between; }
details.acc summary::after { content: "+"; font-size: 1.4rem; line-height: 1; transition: transform .3s; }
details.acc[open] summary::after { transform: rotate(45deg); }
details.acc > div { padding-top: 12px; color: var(--muted); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table th { text-align: left; color: var(--ink); font-weight: 600; padding: 7px 14px 7px 0; width: 40%; vertical-align: top; }
.spec-table td { padding: 7px 0; }

/* ---------- Bundle builder ---------- */
.builder { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.bundle-tabs { display: flex; gap: 12px; margin-bottom: 26px; flex-wrap: wrap; }
.bundle-tab { flex: 1; min-width: 200px; text-align: left; padding: 20px 22px; border-radius: var(--radius); background: #fff; border: 2px solid var(--line); cursor: pointer; transition: border-color .2s, transform .3s var(--bounce); font: inherit; }
.bundle-tab:hover { transform: translateY(-3px); }
.bundle-tab.is-active { border-color: var(--forest); background: linear-gradient(120deg, #f2f7ea, #fff); }
.bundle-tab b { font: 600 1.2rem var(--head); color: var(--forest-deep); display: block; }
.bundle-tab .save { color: var(--orange); font-weight: 700; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.slot { background: var(--card); border-radius: var(--radius); padding: 18px; border: 1px solid var(--line); text-align: center; }
.slot-art { height: 170px; display: grid; place-items: center; margin-bottom: 10px; background: radial-gradient(circle, #fff, #f6ecd5 70%); border-radius: var(--radius-sm); }
.slot-art .illus { height: 150px; width: auto; transition: transform .5s var(--bounce); }
.slot.changed .slot-art .illus { animation: wiggle .6s var(--bounce); }
@keyframes wiggle { 30% { transform: rotate(-10deg) scale(1.06); } 60% { transform: rotate(6deg); } }
.slot h4 { margin: 0 0 10px; font-size: 1rem; }
.slot .swatch-pick { justify-content: center; margin: 0; gap: 8px; }
.slot .swatch-pick .sw { width: 32px; height: 32px; }
.summary-card { background: #fff; border-radius: 28px; padding: 28px; box-shadow: var(--shadow); position: sticky; top: 100px; border: 1px solid var(--line); }
.summary-card h3 { margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; color: var(--muted); }
.sum-row.total { border-top: 2px dashed var(--line); margin-top: 8px; padding-top: 16px; color: var(--ink); font: 700 1.3rem var(--head); }
.sum-row.save { color: var(--forest); font-weight: 600; }

/* ---------- Cart ---------- */
.cart-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; padding: 40px 0 80px; }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 20px; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 14px; align-items: center; }
.cart-line .thumb { width: 96px; height: 96px; border-radius: var(--radius-sm); background: radial-gradient(circle, #fff, #f3e6c8); display: grid; place-items: center; }
.cart-line .thumb .illus { height: 84px; width: auto; }
.cart-line h3 { font-size: 1.1rem; margin: 0 0 4px; }
.cart-line .detail { color: var(--muted); font-size: .9rem; }
.cart-line .line-right { text-align: right; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.cart-line .qty button { min-height: 38px; width: 36px; }
.badge-save { display: inline-block; background: #eaf3df; color: var(--forest); font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-top: 6px; }
.coupon-form { display: flex; gap: 8px; margin: 14px 0; }
.coupon-form input { flex: 1; }
.ship-meter { background: #f2ead6; border-radius: 999px; height: 10px; overflow: hidden; margin: 8px 0 4px; }
.ship-meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--leaf), var(--forest)); border-radius: 999px; }
.empty { text-align: center; padding: 80px 20px; }
.empty .illus { height: 200px; width: auto; margin: 0 auto 20px; opacity: .85; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
label.f { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
label.f small { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=search], input[type=date], input[type=datetime-local], select, textarea {
  width: 100%; font: 400 1rem var(--body); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 16px; transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(169,199,126,.35); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--forest); }
.auth-wrap { min-height: 70vh; display: grid; place-items: center; padding: 60px 20px; position: relative; overflow: hidden; }
.auth-card { width: min(460px, 100%); background: #fff; border-radius: 30px; padding: 40px 34px; box-shadow: var(--shadow); position: relative; z-index: 2; border: 1px solid var(--line); }
.auth-card h1 { font-size: 2rem; }
.auth-card .alt { text-align: center; margin-top: 18px; font-size: .95rem; color: var(--muted); }
.card { background: var(--card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hp { position: absolute !important; left: -5000px !important; }

/* ---------- Account ---------- */
.account-grid { display: grid; grid-template-columns: 240px 1fr; gap: 36px; padding: 40px 0 80px; align-items: start; }
.side-nav { display: grid; gap: 4px; position: sticky; top: 100px; }
.side-nav a { padding: 12px 16px; border-radius: 14px; color: var(--ink); font-weight: 500; }
.side-nav a.is-active, .side-nav a:hover { background: #fff; color: var(--forest); box-shadow: var(--shadow-sm); }
.order-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 16px; }
.order-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.status { display: inline-block; padding: 5px 12px; border-radius: 999px; font: 600 .78rem var(--head); background: #eee; letter-spacing: .02em; }
.status-paid, .status-processing { background: #fff1c9; color: #8a5c00; }
.status-shipped { background: #d9f0ec; color: #1b6b61; }
.status-delivered { background: #e3f0d6; color: var(--forest); }
.status-pending { background: #f1ece0; color: var(--muted); }
.status-cancelled, .status-refunded, .status-failed { background: #fde1d3; color: #a6431a; }
.code-box { background: var(--forest); color: var(--cream); border-radius: var(--radius-sm); padding: 18px 20px; margin-top: 14px; }
.code-box h4 { color: var(--sun); margin-bottom: 8px; font-size: 1rem; }
.code { font: 600 1.1rem ui-monospace, 'SFMono-Regular', Menlo, monospace; letter-spacing: .06em; background: rgba(255,255,255,.1); padding: 8px 12px; border-radius: 10px; display: inline-flex; align-items: center; gap: 10px; margin: 4px 0; }
.code.used { opacity: .5; text-decoration: line-through; }
.code button { background: var(--sun); border: 0; border-radius: 8px; padding: 4px 10px; font: 600 .78rem var(--head); cursor: pointer; color: var(--forest-deep); }
.timeline { display: flex; gap: 0; margin: 24px 0; }
.timeline div { flex: 1; text-align: center; position: relative; font-size: .82rem; color: var(--muted); padding-top: 34px; }
.timeline div::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 20px; height: 20px; border-radius: 50%; background: var(--line); z-index: 1; }
.timeline div::after { content: ""; position: absolute; top: 16px; left: -50%; width: 100%; height: 4px; background: var(--line); }
.timeline div:first-child::after { display: none; }
.timeline div.done { color: var(--forest); font-weight: 600; }
.timeline div.done::before { background: var(--forest); box-shadow: 0 0 0 5px rgba(169,199,126,.45); }
.timeline div.done::after { background: var(--leaf); }

/* ---------- Content pages ---------- */
.page-hero { padding: 70px 20px 40px; text-align: center; position: relative; overflow: hidden; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 600px; margin-inline: auto; }
.prose { padding-bottom: 90px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose p, .prose li { color: #3b463d; font-size: 1.05rem; }
.prose em { color: var(--muted); }
.faq-list details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 12px; }
.faq-list summary { cursor: pointer; font: 600 1.08rem var(--head); color: var(--forest-deep); list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq-list summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--orange); transition: transform .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: rgba(255,248,233,.8); position: relative; padding: 110px 0 30px; margin-top: 40px; }
.footer-canopy { position: absolute; top: -1px; left: 0; right: 0; height: 70px; background:
  radial-gradient(40px 34px at 40px 0, var(--cream) 98%, transparent) 0 0/80px 70px repeat-x; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { background: var(--cream); border-radius: 18px; padding: 10px 14px; height: 70px; width: auto; }
.footer-tag { font: 600 1.15rem var(--head); color: var(--sun); margin: 16px 0 22px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.site-footer a { display: block; color: rgba(255,248,233,.78); padding: 4px 0; }
.site-footer a:hover { color: var(--sun); }
.newsletter label { font-weight: 600; color: #fff; display: block; margin-bottom: 8px; }
.nl-row { display: flex; gap: 8px; max-width: 380px; }
.nl-row input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.nl-row input::placeholder { color: rgba(255,255,255,.5); }
.nl-msg { font-size: .88rem; color: var(--sun); margin-top: 8px; min-height: 1.2em; }
.footer-base { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 50px; padding-top: 22px; font-size: .85rem; flex-wrap: wrap; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 220%); visibility: hidden; background: var(--forest); color: #fff; padding: 14px 22px; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow); z-index: 90; transition: transform .45s var(--bounce); display: flex; gap: 12px; align-items: center; max-width: calc(100% - 30px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast a { color: var(--sun); text-decoration: underline; }
.toast.err { background: #a6431a; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .split, .pdp-grid, .builder, .cart-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .gallery, .summary-card { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stage { max-width: 440px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  /* backdrop-filter would trap the fixed off-canvas menu inside the header */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  .brand { margin-right: auto; }
  .brand img { height: 38px; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); flex-direction: column; background: var(--cream); padding: 100px 26px 30px; transform: translateX(105%); transition: transform .45s var(--ease); box-shadow: -20px 0 50px -20px rgba(0,0,0,.3); z-index: 39; margin: 0; }
  .main-nav.open { transform: none; }
  .main-nav a { font-size: 1.25rem; padding: 12px 16px; }
  .nav-mobile-only { display: block; }
  .nav-toggle { position: relative; z-index: 41; }
  .account-grid { grid-template-columns: 1fr; }
  .side-nav { position: static; grid-auto-flow: column; overflow-x: auto; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .header-row { height: 66px; gap: 8px; }
  .icon-btn { width: 40px; height: 40px; }
  .hero { padding-top: 30px; }
  .hero-ctas .btn { flex: 1 1 auto; white-space: nowrap; }
  .steps, .trust, .form-row, .form-row.three { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line .thumb { width: 72px; height: 72px; }
  .cart-line .thumb .illus { height: 62px; }
  .cart-line .line-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .bundle-card { grid-template-columns: 1fr; }
  .bundle-card .illus { height: 130px; }
  .auth-card { padding: 30px 22px; }
  .buy-row { flex-wrap: wrap; }
  .stalk { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
