/* Baaww — single-page storefront.
   Palette (matches current packaging): cream, blush pink, chocolate brown. */

:root{
  --cream:#FBF5EC;
  --cream-2:#F5EADA;
  --blush:#EFC3C0;
  --blush-soft:#F9E7E2;
  --choc:#3E2723;
  --choc-2:#5D4037;
  --ink:#2E201B;
  --muted:#7A6A61;
  --line:#E8DCC9;
  --white:#FFFDF9;
  --focus:#8D5A2B;
  --radius:18px;
  --shadow:0 18px 40px rgba(62,39,35,.12);
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink);
  background:var(--cream);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);line-height:1.6}
img{max-width:100%}
a{color:var(--choc)}
button{font:inherit;cursor:pointer}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:6px}

.skip-link{position:absolute;left:-9999px;top:0;background:var(--choc);color:#fff;padding:10px 16px;z-index:60;border-radius:0 0 10px 0}
.skip-link:focus{left:0;color:#fff}

/* ---------- Return banners ---------- */
.order-banner{display:flex;align-items:flex-start;gap:14px;background:#EAF4E4;border-bottom:2px solid #9DBE8C;color:#274018;padding:14px 5%}
.order-banner[hidden]{display:none} /* the display:flex above (author CSS) would otherwise override the UA [hidden] rule and show BOTH banners at once */
.order-banner p{margin:0;flex:1}
.order-banner--muted{background:var(--blush-soft);border-bottom-color:var(--blush);color:var(--choc)}
.banner-close{background:none;border:0;font-size:17px;line-height:1;padding:4px;color:inherit}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:26px;padding:13px 5%;background:rgba(251,245,236,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.logo{font-family:'Playfair Display',Georgia,serif;font-size:29px;font-weight:700;letter-spacing:.14em;color:var(--choc);text-decoration:none}
.site-nav{display:flex;gap:22px;margin-left:auto;flex-wrap:wrap}
.site-nav a{text-decoration:none;font-size:13.5px;font-weight:600;color:var(--choc-2)}
.site-nav a:hover{color:var(--choc);text-decoration:underline}
.bag-button{margin-left:6px;background:var(--choc);color:#fff;border:0;border-radius:999px;padding:10px 18px;font-weight:700;font-size:14px;display:inline-flex;align-items:center;gap:9px}
.bag-button:hover{background:var(--choc-2)}
.bag-count{background:var(--blush);color:var(--choc);border-radius:999px;min-width:24px;height:24px;display:inline-grid;place-items:center;font-size:13px;padding:0 6px}

/* ---------- Hero ---------- */
.hero{display:grid;grid-template-columns:1fr 1fr;gap:0;align-items:stretch;background:var(--cream-2)}
.hero-copy{padding:38px 6% 34px 7%;display:flex;flex-direction:column;justify-content:center}
.eyebrow{font-size:12px;font-weight:800;letter-spacing:.24em;text-transform:uppercase;color:var(--choc-2);margin:0 0 10px}
.hero h1{font-family:'Playfair Display',Georgia,serif;font-weight:600;font-size:clamp(29px,3.3vw,42px);line-height:1.12;margin:0 0 12px;color:var(--choc)}
.hero-sub{font-size:15.5px;color:var(--choc-2);max-width:540px;margin:0 0 22px}
.hero-note{font-size:13.5px;color:var(--muted);margin:14px 0 0}
.hero-media{min-height:210px}
.hero-media img{width:100%;height:100%;object-fit:cover;display:block}

.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;border:2px solid var(--choc);padding:13px 26px;font-weight:700;font-size:15px;text-decoration:none;background:transparent;color:var(--choc);transition:background .15s,color .15s,transform .1s}
.button:active{transform:scale(.98)}
.button--primary{background:var(--choc);color:#fff;align-self:flex-start}
.button--primary:hover{background:var(--choc-2)}
.button--buy{background:var(--choc);color:#fff;flex:1}
.button--buy:hover{background:var(--choc-2)}
.button--buy:disabled{opacity:.6;cursor:wait}
.button--bag{background:var(--white);flex:1}
.button--bag:hover{background:var(--blush-soft)}
.button--full{width:100%}

/* ---------- Trust strip ---------- */
.trust-strip{display:flex;flex-wrap:wrap;gap:12px 34px;justify-content:center;padding:16px 5%;background:var(--choc);color:#F7E9DC;font-size:14px;font-weight:600}
.trust-strip a{color:#F7C9C4}

/* ---------- Product sections ---------- */
.product{display:grid;grid-template-columns:1.05fr 1fr;gap:52px;padding:74px 7%;align-items:start;border-bottom:1px solid var(--line);scroll-margin-top:84px}
.product:nth-of-type(even){background:var(--white)}
.product-gallery{display:flex;gap:14px;align-items:flex-start}
.gallery-stage{flex:1;min-width:0;background:#fff;border-radius:var(--radius);overflow:hidden;aspect-ratio:1/1;display:grid;place-items:center;box-shadow:var(--shadow)}
.gallery-main{width:100%;height:100%;object-fit:contain;object-position:center;display:block}
.gallery-video{width:100%;height:100%;object-fit:contain;background:#000;display:block}
/* Photo and video share the stage's single grid cell, so the visible one always fills the stage exactly. */
.gallery-stage>.gallery-main,.gallery-stage>.gallery-video{grid-area:1/1}
/* Author display rules above would otherwise override the UA [hidden] rule — without these guards the photo never hides when a video plays (audio-only bug). */
.gallery-main[hidden],.gallery-video[hidden]{display:none}
.gallery-thumbs{display:flex;flex-direction:column;gap:10px;flex:0 0 auto}
.thumb{border:2px solid var(--line);background:var(--white);border-radius:12px;padding:0;width:64px;height:64px;overflow:hidden;display:grid;place-items:center;font-weight:700;color:var(--choc)}
.thumb img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}
.thumb.is-active{border-color:var(--choc)}
.thumb--video{background:var(--choc);color:#fff;width:64px;height:64px;padding:0 4px;font-size:11.5px;line-height:1.25}
.product-kicker{font-size:12px;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:var(--choc-2);margin:6px 0 8px}
.product-name{font-family:'Playfair Display',Georgia,serif;font-size:clamp(30px,3.2vw,42px);font-weight:600;line-height:1.12;color:var(--choc);margin:0 0 6px}
.product-format{font-size:15px;font-weight:600;color:var(--choc-2);margin:0 0 12px}
.product-price{margin:0 0 16px;color:var(--choc)}
.price-amount{font-size:34px;font-weight:800;line-height:1}
.price-unit{font-size:14px;font-weight:600;color:var(--muted)}
.product-points{list-style:none;margin:0 0 22px;padding:0}
.product-points li{padding:7px 0 7px 30px;position:relative;border-bottom:1px dashed var(--line);max-width:520px}
.product-points li::before{content:'✓';position:absolute;left:4px;color:var(--choc);font-weight:800}
.buy-row{display:flex;gap:12px;align-items:stretch;flex-wrap:wrap;max-width:560px}
.buy-actions{display:flex;flex-direction:column;gap:10px;max-width:560px;margin-top:14px}
.buy-actions .button{width:100%}
.buy-trust{list-style:none;margin:16px 0 0;padding:14px 0 0;border-top:1px dashed var(--line);max-width:560px}
.buy-trust li{font-size:13.5px;color:var(--choc-2);padding:3px 0}

/* ---------- Hero product (best seller) + variations ---------- */
.product--hero{padding-top:56px;background:var(--white)}
.product--hero .product-name{font-size:clamp(28px,2.8vw,38px);line-height:1.18}
.product--hero .aplus-copy p{white-space:pre-line}
.variations{margin:0 0 20px;max-width:560px}
.variations-label{font-size:14px;font-weight:600;color:var(--choc-2);margin:0 0 10px}
.variations-label strong{color:var(--choc)}
.variation-options{display:flex;flex-wrap:wrap;gap:10px}
.variation-pill{display:flex;flex-direction:column;align-items:flex-start;gap:1px;border:2px solid var(--line);background:var(--white);border-radius:14px;padding:10px 16px;min-width:138px;text-align:left;transition:border-color .15s,background .15s}
.variation-pill:hover{border-color:var(--choc-2)}
.variation-pill.is-active{border-color:var(--choc);background:var(--blush-soft);box-shadow:0 0 0 1px var(--choc)}
.variation-pill-name{font-size:14.5px;font-weight:700;color:var(--choc)}
.variation-pill-price{font-size:13.5px;font-weight:600;color:var(--choc-2)}

/* ---------- A+ content band (below each product) ---------- */
.aplus{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center;background:var(--blush-soft);border-radius:var(--radius);padding:38px 42px;margin-top:6px}
.aplus--flip .aplus-media{order:2}
.aplus-media{border-radius:14px;overflow:hidden;box-shadow:var(--shadow);background:#fff}
.aplus-media img{width:100%;height:100%;max-height:380px;object-fit:contain;object-position:center;display:block}
.aplus-copy h3{font-family:'Playfair Display',Georgia,serif;font-size:clamp(24px,2.4vw,32px);font-weight:600;color:var(--choc);margin:0 0 10px;line-height:1.15}
.aplus-copy p{margin:0 0 20px;font-size:15.5px;color:var(--ink);max-width:520px}
.aplus-details{display:grid;grid-template-columns:1fr 1fr;gap:14px 26px;margin:0;max-width:520px}
.aplus-details dt{font-size:11.5px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--choc-2);margin:0 0 3px}
.aplus-details dd{margin:0;font-size:14.5px;font-weight:600;color:var(--choc)}
.qty{display:inline-flex;align-items:center;border:2px solid var(--choc);border-radius:999px;overflow:hidden;background:var(--white)}
.qty button{background:none;border:0;width:42px;height:100%;min-height:48px;font-size:20px;font-weight:700;color:var(--choc)}
.qty button:hover{background:var(--blush-soft)}
.qty-value{min-width:30px;text-align:center;font-weight:800}
.qty--small button{min-height:34px;width:32px;font-size:16px}
.qty--small .qty-value{min-width:22px}
.buy-note{font-size:13px;color:var(--muted);margin:12px 0 0}

/* ---------- FAQ ---------- */
.faq{max-width:860px;margin:0 auto;padding:70px 6% 80px}
.faq h2{font-family:'Playfair Display',Georgia,serif;font-size:clamp(28px,3vw,38px);color:var(--choc);margin:0 0 18px}
.faq details{border-bottom:1px solid var(--line);padding:17px 0}
.faq summary{cursor:pointer;font-weight:700;color:var(--choc);font-size:16.5px}
.faq details p{color:var(--choc-2);margin:10px 0 2px;max-width:700px}

/* ---------- Footer ---------- */
.site-footer{background:var(--choc);color:#F3E4D8;text-align:center;padding:56px 6% 44px}
.footer-logo{font-family:'Playfair Display',Georgia,serif;font-size:32px;font-weight:700;letter-spacing:.14em;margin:0}
.footer-tag{opacity:.85;font-size:14px;margin:8px 0 20px}
.footer-contact{max-width:640px;margin:24px auto 6px}
.footer-contact h2{font-size:17px;margin:0 0 6px;letter-spacing:.02em}
.footer-contact p{font-size:14px;opacity:.9;margin:4px 0}
.footer-contact a{color:#F7C9C4;text-decoration:none;font-weight:600}
.footer-contact a:hover{text-decoration:underline}
.footer-links{display:flex;justify-content:center;gap:26px;flex-wrap:wrap;margin:10px 0}
.footer-links a{color:#F7C9C4;text-decoration:none;font-size:14px;font-weight:600}
.footer-links a:hover{text-decoration:underline}
.social-row{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin:20px 0 4px}
.social-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;border:1.5px solid rgba(247,201,196,.5);color:#F7C9C4;background:rgba(247,201,196,.06);transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease}
.social-btn:hover{background:var(--blush);border-color:var(--blush);color:var(--choc);transform:translateY(-2px)}
.social-btn svg{width:21px;height:21px;display:block}
.footer-small{font-size:12px;opacity:.65;max-width:640px;margin:22px auto 0}

/* ---------- Bag drawer ---------- */
.drawer-overlay{position:fixed;inset:0;background:rgba(46,32,27,.5);z-index:48}
.drawer-overlay[hidden]{display:none}
.bag-drawer{position:fixed;top:0;right:0;bottom:0;width:min(430px,100%);background:var(--cream);z-index:50;transform:translateX(105%);transition:transform .28s ease;display:flex;flex-direction:column;box-shadow:-14px 0 34px rgba(62,39,35,.25)}
.bag-drawer.visible{transform:translateX(0)}
.drawer-head{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;border-bottom:1px solid var(--line)}
.drawer-head h2{font-family:'Playfair Display',Georgia,serif;margin:0;font-size:24px;color:var(--choc)}
.drawer-head button{background:none;border:0;font-size:20px;color:var(--choc)}
.ship-progress{padding:16px 22px 4px}
.ship-progress-bar{background:var(--cream-2);border-radius:999px;height:10px;overflow:hidden}
.ship-progress-bar span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--blush),#C97B72);border-radius:999px;transition:width .3s}
.ship-progress p{font-size:13px;color:var(--choc-2);margin:9px 0 4px}
.bag-items{flex:1;overflow-y:auto;padding:8px 22px}
.bag-line{display:grid;grid-template-columns:64px 1fr auto;gap:13px;padding:15px 0;border-bottom:1px solid var(--line);align-items:start}
.bag-line img{width:64px;height:64px;object-fit:contain;object-position:center;border-radius:10px;background:var(--white)}
.bag-line-info strong{font-size:14px;display:block;color:var(--choc)}
.bag-line-info small{display:block;color:var(--muted);margin:3px 0 9px}
.bag-line-total{font-size:14.5px;color:var(--choc)}
.bag-remove{background:none;border:0;color:#A33B32;font-size:12.5px;font-weight:700;text-decoration:underline;margin-left:8px;padding:4px}
.bag-empty{text-align:center;color:var(--muted);padding:44px 10px;font-size:15px}
.bag-error{background:#FBE9E7;border:1px solid #E2A49E;color:#7A2018;border-radius:10px;padding:12px 15px;font-size:14px;margin:10px 22px}
.drawer-foot{border-top:1px solid var(--line);padding:18px 22px 24px;background:var(--white)}
.subtotal-row{display:flex;justify-content:space-between;font-size:17px;color:var(--choc);margin-bottom:6px}
.drawer-note{font-size:12.5px;color:var(--muted);margin:0 0 14px}

/* ---------- Policy pages ---------- */
.policy-wrap{max-width:760px;margin:0 auto;padding:56px 6% 80px}
.policy-wrap h1{font-family:'Playfair Display',Georgia,serif;color:var(--choc);font-size:36px;margin:0 0 6px}
.policy-wrap h2{color:var(--choc);font-size:20px;margin:30px 0 8px}
.policy-wrap p,.policy-wrap li{color:var(--choc-2);font-size:15.5px}
.policy-updated{color:var(--muted);font-size:13.5px}
.policy-home{display:inline-block;margin-bottom:26px;font-weight:700;text-decoration:none}

/* ---------- Responsive ---------- */
@media(max-width:900px){
  .hero{grid-template-columns:1fr}
  .hero-media{min-height:190px;order:-1}
  .hero-copy{padding:30px 6% 34px}
  .product--hero{padding-top:44px}
  .product{grid-template-columns:1fr;gap:28px;padding:54px 6%}
  .aplus{grid-template-columns:1fr;gap:24px;padding:28px 24px}
  .aplus--flip .aplus-media{order:0}
  .site-nav{display:none}
  .bag-button{margin-left:auto}
}
@media(max-width:520px){
  .variation-pill{flex:1 1 42%;min-width:0}
  .product-gallery{flex-direction:column-reverse}
  .gallery-thumbs{flex-direction:row;flex-wrap:wrap}
  .qty{justify-content:center}
  .aplus-details{grid-template-columns:1fr}
  .trust-strip{justify-content:flex-start}
}

/* Turnstile slot in the bag drawer — collapses to nothing while empty
   (main.js renders the widget here only when TURNSTILE_SITE_KEY is set). */
.turnstile-slot{display:flex;justify-content:center}
.turnstile-slot:not(:empty){margin:2px 0 10px}

/* ---------- Ship-to form + shipping options (bag drawer) ---------- */
.ship-form{padding:16px 22px 6px;border-top:1px solid var(--line)}
.ship-form-title{font-family:'Playfair Display',Georgia,serif;font-size:19px;color:var(--choc);margin:0 0 10px}
.ship-grid label{display:block;font-size:12.5px;font-weight:600;color:var(--choc);margin:0 0 10px}
.ship-grid input{display:block;width:100%;margin-top:4px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;font-size:14.5px;background:var(--white);color:inherit;box-sizing:border-box}
.ship-row{display:grid;grid-template-columns:1fr 76px 96px;gap:10px}
.ship-options{margin:12px 0 4px}
.ship-options[hidden]{display:none}
.ship-option{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;margin:0 0 8px;background:var(--white);cursor:pointer;font-size:14px}
.ship-option input{accent-color:var(--choc)}
.ship-option-label{flex:1}
.ship-option-price s{color:var(--muted);font-weight:400;margin-left:4px}
.ship-stale{font-size:13.5px;color:#7A2018;background:#FBE9E7;border:1px solid #E2A49E;border-radius:10px;padding:10px 12px;margin:0}
