/* Chubears — one stylesheet, no framework. Mobile first. */
:root {
  --green: #1f9d3a;
  --green-dk: #0d5c26;
  --plum: #a0177e;
  --ink: #1b2620;
  --ink-2: #4a5850;
  --line: #e6e1d8;
  --cream: #fff8ef;
  --cream-2: #fdf0de;
  --white: #ffffff;
  --sun: #ffb400;
  --danger: #b3261e;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(27, 38, 32, .06), 0 8px 24px rgba(27, 38, 32, .08);
  --head: "Baloo 2", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dk); }
a:hover { color: var(--plum); }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.small { font-size: .88rem; }
.muted { color: var(--ink-2); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* announcement + header */
.announce { background: var(--green-dk); color: #fff; text-align: center; font-size: .85rem; font-weight: 600; padding: 7px 16px; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.logo img { width: 132px; height: auto; }
.nav { display: none; }
.icon-btn { background: none; border: 0; color: var(--ink); width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; cursor: pointer; position: relative; }
.icon-btn:hover { background: var(--cream); }
.cart-btn { margin-left: auto; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--plum); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.cart-count[hidden] { display: none; }
.nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: var(--shadow); }
.nav a { text-decoration: none; color: var(--ink); font-weight: 700; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.nav a:last-child { border-bottom: 0; }
.nav a[aria-current="page"] { color: var(--plum); }
@media (min-width: 900px) {
  .menu-btn { display: none; }
  .logo img { width: 150px; }
  .nav, .nav.open { display: flex; position: static; flex-direction: row; gap: 4px; margin-left: 20px; padding: 0; box-shadow: none; border: 0; background: none; }
  .nav a { border: 0; padding: 8px 12px; border-radius: 999px; font-size: .97rem; }
  .nav a:hover { background: var(--cream); color: var(--ink); }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .08s ease, background .15s ease; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dk); color: #fff; }
.btn-plum { background: var(--plum); color: #fff; }
.btn-plum:hover { background: #7d0f62; color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-wa { background: #25d366; color: #073b1c; }
.btn-wa:hover { background: #1fb457; color: #073b1c; }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; font-size: 1.08rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% 20%, #ffe7c2 0%, transparent 60%), var(--cream); overflow: hidden; }
.hero-grid { display: grid; gap: 20px; padding-top: 32px; padding-bottom: 28px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--plum); background: #fff; border-radius: 999px; padding: 5px 12px; margin-bottom: 14px; box-shadow: var(--shadow); }
.hero p.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .88rem; font-weight: 600; }
.chips li::before { content: "\2713"; color: var(--green); font-weight: 800; margin-right: 6px; }
.hero-img img { border-radius: 28px; box-shadow: var(--shadow); }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; padding-top: 64px; padding-bottom: 56px; }
}

/* sections */
.section { padding: 56px 0; }
.section-cream { background: var(--cream); }
.section-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.section-head p { color: var(--ink-2); }

/* product cards */
.grid-3 { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); border-top: 6px solid var(--accent); }
.card-img { background: #fafafa; display: block; }
.card-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card .need { color: var(--accent); font-weight: 800; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; margin: 0 0 4px; }
.card h3 { font-size: 1.28rem; margin-bottom: 4px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.tagline { color: var(--ink-2); margin-bottom: 10px; }
.price { margin: auto 0 12px; font-size: 1.05rem; }
.price strong { font-size: 1.5rem; font-family: var(--head); }
.mrp { color: var(--ink-2); margin-left: 6px; }
.mrp-note { color: var(--ink-2); font-size: .82rem; margin-left: 6px; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.card-actions .btn-block { grid-column: 1 / -1; }
.badge { display: inline-block; border-radius: 999px; padding: 3px 12px; font-size: .85rem; font-weight: 700; }
.badge-out { background: #f3e8ee; color: var(--plum); }
.badge-in { background: #e5f5e9; color: var(--green-dk); }

/* chooser */
.choose { display: grid; gap: 14px; }
@media (min-width: 900px) { .choose { grid-template-columns: repeat(3, 1fr); } }
.choose a { display: block; text-decoration: none; color: var(--ink); background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); border-left: 6px solid var(--accent); transition: transform .12s ease; }
.choose a:hover { transform: translateY(-2px); color: var(--ink); }
.choose .q { font-family: var(--head); font-weight: 700; font-size: 1.2rem; line-height: 1.25; }
.choose .a { color: var(--accent); font-weight: 800; margin-top: 8px; }

/* compare tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--cream-2); font-family: var(--head); font-size: 1rem; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 700; white-space: nowrap; }
.compare td, .compare th { min-width: 150px; }

/* split feature */
.split { display: grid; gap: 28px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split.rev > :first-child { order: 2; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' stroke='white' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 20px 0; }
.stat { background: #fff; border-radius: var(--radius-sm); padding: 16px; border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--head); font-size: 1.9rem; line-height: 1; color: var(--accent, var(--green-dk)); }
.stat span { font-size: .9rem; color: var(--ink-2); }

/* founders */
.founders { background: linear-gradient(135deg, #fff 0%, var(--cream) 100%); border-radius: 28px; padding: 28px; border: 1px solid var(--line); }
.founders blockquote { font-family: var(--head); font-size: clamp(1.25rem, 3vw, 1.7rem); line-height: 1.3; margin: 0 0 16px; font-weight: 600; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--green); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 18px 16px; color: var(--ink-2); }
.faq-cat { margin-top: 32px; }

/* product page */
.crumbs { font-size: .88rem; padding: 14px 0 0; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }
.pdp { display: grid; gap: 24px; padding: 16px 0 40px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 48px; padding-top: 24px; } .pdp-info { position: sticky; top: 90px; align-self: start; } }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: #fafafa; border: 1px solid var(--line); }
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: 0 0 72px; height: 72px; border: 2px solid var(--line); border-radius: 12px; padding: 0; overflow: hidden; background: #fff; cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); }
.rating-link { font-size: .92rem; color: var(--ink-2); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.stars { color: #f5a300; letter-spacing: 1px; }
.pdp-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 14px 0 4px; }
.pdp-price strong { font-family: var(--head); font-size: 2.2rem; line-height: 1; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; height: 48px; }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; border-radius: 50%; color: var(--ink); }
.qty button:hover { background: var(--cream); }
.qty output, .qty span { min-width: 30px; text-align: center; font-weight: 700; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin: 16px 0 10px; }
.buy-row .btn-plum { grid-column: 1 / -1; }
.assure { list-style: none; padding: 14px 16px; margin: 14px 0; background: var(--cream); border-radius: var(--radius-sm); display: grid; gap: 6px; font-size: .95rem; }
.assure li::before { content: "\2713"; color: var(--green); font-weight: 800; margin-right: 8px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .95rem; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--ink-2); }
.alert { border-radius: var(--radius-sm); padding: 14px 16px; background: #fff4e5; border: 1px solid #ffd7a0; font-size: .95rem; }
.alert-danger { background: #fdecea; border-color: #f4b9b4; }
.cert-row { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.cert-row li { border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-weight: 700; font-size: .85rem; background: #fff; }
.pdp-banner { border-radius: var(--radius); overflow: hidden; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; font-size: 1.7rem; }
.prose h3 { margin-top: 1.2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* sticky mobile buy bar */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; box-shadow: 0 -6px 20px rgba(0,0,0,.08); transform: translateY(110%); transition: transform .2s ease; }
.buybar.show { transform: none; }
.buybar .bb-price { font-family: var(--head); font-weight: 800; font-size: 1.35rem; line-height: 1; }
.buybar .bb-name { font-size: .8rem; color: var(--ink-2); }
.buybar .btn { margin-left: auto; }
@media (min-width: 900px) { .buybar { display: none; } }
body.has-buybar .site-footer { padding-bottom: 90px; }
@media (min-width: 900px) { body.has-buybar .site-footer { padding-bottom: 0; } }

/* drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 60; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 61; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .22s ease; }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.4rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: #fafafa; }
.line-name { font-weight: 700; line-height: 1.3; font-size: .95rem; }
.line .qty { height: 38px; margin-top: 6px; }
.line .qty button { width: 34px; height: 34px; font-size: 1.1rem; }
.line-price { font-weight: 700; text-align: right; }
.link-btn { background: none; border: 0; color: var(--ink-2); text-decoration: underline; cursor: pointer; font-size: .82rem; padding: 4px 0; }
.upsell { margin-top: 18px; }
.upsell .line { border-bottom: 0; padding: 8px 0; }
.mobile-total { display: flex; justify-content: space-between; align-items: center; background: var(--cream); border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 700; margin: 0 0 4px; text-decoration: none; color: var(--ink); }
@media (min-width: 900px) { .mobile-total { display: none; } }
.empty { text-align: center; padding: 40px 0; color: var(--ink-2); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 200px); visibility: hidden; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; z-index: 70; transition: transform .2s ease, visibility .2s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
body.has-buybar .toast { bottom: 96px; }

/* checkout */
.checkout { display: grid; gap: 24px; padding: 24px 0 56px; }
@media (min-width: 900px) { .checkout { grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; } .summary { position: sticky; top: 90px; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.summary { background: var(--cream); }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 5px; }
.field .hint { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cfc8bb; border-radius: 12px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,157,58,.18); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: .85rem; margin-top: 4px; min-height: 0; }
.two { display: grid; gap: 0 12px; grid-template-columns: 1fr 1fr; }
.prefix-input { display: flex; }
.prefix-input span { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid #cfc8bb; border-right: 0; border-radius: 12px 0 0 12px; background: var(--cream); font-weight: 700; }
.prefix-input input { border-radius: 0 12px 12px 0; }
.totals { display: grid; gap: 8px; margin: 14px 0; }
.totals .grand { font-size: 1.25rem; font-weight: 800; border-top: 1px dashed #cfc8bb; padding-top: 10px; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 10px; }
.pay-methods span { font-size: .75rem; font-weight: 700; border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 3px 8px; color: var(--ink-2); }
.or { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: .85rem; margin: 14px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ok-hero { text-align: center; padding-top: 64px; padding-bottom: 64px; }
.ok-hero .tick { width: 76px; height: 76px; border-radius: 50%; background: var(--green); display: grid; place-items: center; margin: 0 auto 16px; }

/* footer */
.site-footer { background: #13201a; color: #d8e2dc; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; gap: 28px; padding: 44px 16px 24px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-grid img { background: #fff; border-radius: 10px; padding: 6px; margin-bottom: 12px; }
.footer-h { font-size: 1.05rem; color: #fff; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.disclaimer { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; padding-bottom: 28px; font-size: .8rem; color: #a9b8b0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
