/* Botani Plus storefront.
   Type: Fraunces (display serif, warm optical character for a plant-oil brand)
   + Plus Jakarta Sans (UI sans, keeps small sizes legible). Reason: R-06/R-20.
   Palette: ink + paper + green core, one soft-yellow accent used sparingly
   (wordmark period, ticker stars, selected bank, add-to-bag hover, success mark,
   focus rings). Reason: R-29. */
:root{
  --ink:#22231e;--muted:#6b6b60;--paper:#f8f7f4;--line:#e8e5dd;--green:#43513e;
  --accent:#f3e3a4;--accent-deep:#756120;--accent-bright:#e8cf7a;
  --serif:'Fraunces',Georgia,serif;--sans:'Plus Jakarta Sans',Arial,sans-serif;
  --radius:12px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:14px;-webkit-font-smoothing:antialiased}
button,input,textarea{font:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--accent-deep);outline-offset:2px}
.wrap{width:min(1120px,calc(100% - 64px));margin:0 auto}

.announcement{background:#252820;color:#e9e8df;text-align:center;padding:10px 16px;font-size:10px;letter-spacing:.07em}
.announcement span{padding:0 8px;color:var(--accent-bright)}

/* Header inverted: black bar, white wordmark. The bar spans the full width while
   the inner .wrap keeps the content column. Sticky so the wordmark and the
   Keranjang button stay on top while the page scrolls (the announcement bar
   scrolls away normally). z-index sits under the overlay (20), drawer (21),
   modal (30) and success screen (50) so those still cover the bar. */
.nav-bar{position:sticky;top:0;z-index:15;background:#191a14;box-shadow:0 1px 0 rgba(0,0,0,.2)}
/* Anchored sections clear the sticky bar when scrolled to via #shop/#story links. */
section[id],main[id]{scroll-margin-top:84px}
.nav{height:72px;display:flex;align-items:center;justify-content:space-between}
.wordmark{display:inline-flex;align-items:center;gap:7px;text-decoration:none;color:#f8f7f4;font-weight:700;font-size:18px;letter-spacing:-.04em}
.mark{font:500 19px var(--serif);background:#33382e;color:#f8f7f4;width:27px;height:27px;display:grid;place-items:center;border-radius:50%}
.period{color:var(--accent-bright);margin-left:-7px}
.bag-button{color:#f8f7f4;text-decoration:none;font-size:12px;border:0;background:none}
.bag-button span{display:inline-grid;place-items:center;background:#3c4036;color:#e9e8df;border-radius:50%;width:21px;height:21px;margin-left:7px;font-size:10px}

/* Hero banner: two 16:9 slots (art made for 1600x900) that rotate on their own,
   one photo every 3s (see
   initHeroSlides in app.js). Each slot keeps its own labelled placeholder until its
   file actually loads, so a missing banner is never a blank box. Reason: R-38. */
.hero-banner{padding:26px 0 10px}
.banner-frame{position:relative;aspect-ratio:16/9;border-radius:var(--radius);overflow:hidden;background:#eceadf}
.hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .7s ease,visibility .7s}
.hero-slide.is-active{opacity:1;visibility:visible}
.banner-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block}
.hero-slide.has-photo .banner-placeholder{display:none}
.banner-placeholder{position:absolute;inset:0;margin:0;display:grid;place-items:center;text-align:center;padding:16px;font-size:11px;line-height:1.9;letter-spacing:.06em;color:#63604f}
.banner-placeholder b{display:block;font:600 13px var(--sans);letter-spacing:.02em;color:#4c4a3c}
/* Hero controls sit under the frame rather than over the photo. Dots are the
   position readout and a jump target. */
.hero-controls{display:flex;align-items:center;justify-content:space-between;margin-top:10px}
.hero-dots{display:flex;align-items:center;gap:2px;margin-left:-11px}
.hero-dot{width:44px;height:44px;border:0;background:none;display:grid;place-items:center}
/* Inactive dot border #8a887c clears 3:1 on paper (3.33:1), because the dot is the
   only mark telling you which banner you are on. */
.hero-dot:before{content:'';width:9px;height:9px;border-radius:50%;border:1px solid #8a887c;transition:background .2s,border-color .2s}
.hero-dot:hover:before{border-color:var(--accent-deep)}
.hero-dot[aria-current=true]:before{background:var(--accent-deep);border-color:var(--accent-deep)}

.button{border:0;display:inline-flex;align-items:center;justify-content:space-between;gap:30px;padding:14px 18px;text-decoration:none;font-size:11px;font-weight:500;transition:transform .2s,background .2s}
.button:hover{transform:translateY(-2px)}
.button:active{transform:translateY(0) scale(.98)}
.button-dark{background:#2d3029;color:#fff}
.button-dark:hover{background:#464b3f}
.button span{font-size:16px}

.ticker{overflow:hidden;background:#ecebe4;padding:13px 0;color:#66665d;font-size:9px;letter-spacing:.19em;white-space:nowrap}
.ticker div{width:max-content;animation:marquee 30s linear infinite}
.ticker b{color:var(--accent-deep);padding:0 23px}
@keyframes marquee{to{transform:translateX(-35%)}}

.shop-stats{display:flex;gap:16px;margin:10px auto 0;padding:18px 0;flex-wrap:wrap;justify-content:center;align-items:center}
.shop-stats .stat{position:relative;display:flex;flex:0 1 280px;max-width:280px;min-height:140px;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:22px 24px;border-radius:18px;text-align:center;opacity:0;animation:stat-in .6s cubic-bezier(.2,.8,.2,1) forwards}
.shop-stats .stat:nth-child(2){animation-delay:.12s}
.shop-stats .stat:nth-child(3){animation-delay:.24s}
@keyframes stat-in{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
.shop-stats .stat strong{font:700 clamp(34px,4vw,44px)/.98 var(--sans);letter-spacing:-.045em;color:#735a15;text-shadow:0 2px 0 #fff9;transition:transform .3s}
.shop-stats .stat:nth-child(2) strong{color:#3f5a36}
.shop-stats .stat:nth-child(3) strong{color:#2e5a74}
.shop-stats .stat:hover strong{transform:scale(1.08)}
.shop-stats .stat span:not(.stat-kicker){font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#54564c}
.shop-stats .stat .stat-kicker{font-size:8px;font-weight:700;letter-spacing:.2em;color:#756120}
.shop-stats .stat:nth-child(2) .stat-kicker{color:#496641}
.shop-stats .stat:nth-child(3) .stat-kicker{color:#38617a}
.shop-stats .stat .stat-spark{position:absolute;top:13px;right:16px;color:#c7a335;font-size:17px;font-style:normal;opacity:.75;transition:transform .3s}
.shop-stats .stat:nth-child(2) .stat-spark{color:#6a8a55}
.shop-stats .stat:nth-child(3) .stat-spark{color:#4d84a6}
.shop-stats .stat:hover .stat-spark{transform:rotate(45deg) scale(1.15)}
.shop{padding-top:94px;padding-bottom:105px}
.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:38px}
.section-heading h2,.story h2{font:500 clamp(30px,3.6vw,42px)/1.12 var(--serif);letter-spacing:-.02em;margin:14px 0 0}
.section-heading>p{max-width:280px;margin:0 2px 5px 20px;color:var(--muted);font-size:11px;line-height:1.8}
.eyebrow{font-size:9px;font-weight:600;letter-spacing:.17em;color:#63655c}
.products{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}
.product-image{height:242px;position:relative;display:grid;place-items:center;overflow:hidden;background:#eeece5;border-radius:var(--radius) var(--radius) 0 0}
.product-image.gold{background:#edebe2}
.product-image.sand{background:#e9e5da}
.product-image.olive{background:#e7e8df}
.product-image.clay{background:#eee6dc}
.product-image:before{content:'';position:absolute;width:140px;height:140px;border-radius:50%;background:#d8d1ad;opacity:.45;top:20px;right:15px}
.product-bottle{position:relative;width:85px;height:152px;border-radius:13px 13px 11px 11px;background:linear-gradient(90deg,#806744,#b39a69 28%,#8d754f 80%,#6f5a3c);box-shadow:14px 18px 22px #35372b24;display:grid;place-items:center}
.product-bottle:before{content:'';position:absolute;top:-12px;width:35px;height:15px;background:#34342d;border-radius:3px}
.product-bottle:after{content:'B\A BOTANI PLUS\A PURE OIL';white-space:pre;text-align:center;display:grid;place-items:center;background:#f4f0e5;width:53px;height:65px;color:#4c4c3f;font:7px/1.8 var(--sans);letter-spacing:.12em}
.product-size{position:absolute;bottom:12px;right:12px;font-size:8px;letter-spacing:.08em;color:#6f6e63}
.product-meta{padding:14px 2px}
.product-name{font:500 16px var(--serif);margin:0 0 5px}
.product-bottom{display:flex;flex-direction:column;align-items:stretch;gap:11px;margin-top:13px}
.price{font-size:11px;font-weight:600}
.add-button{border:1px solid #d8d6ce;border-radius:999px;background:transparent;color:#33372e;font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:11px 12px;line-height:1;transition:background .15s}
.add-button:hover{background:var(--accent);border-color:var(--accent-deep);color:#33372e}
.add-button:active{background:#ecd78b}

/* What they say: buyer reviews, sitting under the product grid. Copy lives in
   index.html and is sample text until real reviews replace it. */
.reviews{padding:74px 0 105px;border-top:1px solid var(--line)}
/* Reviews section ("Kata mereka") inverted: a full-width dark band with light
   type and dark review cards. The band itself separates the sections, so the
   inner hairline border goes away. */
.reviews-band{background:#191a14}
.reviews-band .reviews{border-top:0}
.reviews-band .eyebrow{color:var(--accent-bright)}
.reviews-band .section-heading h2{color:#f8f7f4}
.reviews-band .section-heading>p{color:#a5a496}
.reviews-band .review-card{background:#23251d}
.reviews-band .review blockquote{color:#d9d8cd}
.reviews-band .review-name{color:#f8f7f4}
.reviews-band .review-buy{color:#a5a496}
.reviews-band .review-stars{color:var(--accent-bright)}
.reviews-band .review figcaption{border-top-color:#3a3d33}
.reviews-band .review + .review{border-left-color:#3a3d33;border-top-color:#3a3d33}
.reviews-band .reviews-rail:focus-visible{outline-color:var(--accent-bright)}
/* Reviews rail: one card per view, holding two reviews side by side, rotating on
   its own so the rest get seen without anyone hunting for them. Native scroll-snap
   keeps touch and trackpad momentum; the arrows page by exactly one card for click
   and keyboard users, since the bare scrollbar is hidden. Reason: one card per view
   gives each quote a full measure instead of three cramped columns. */
.reviews-rail{display:flex;gap:17px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;-ms-overflow-style:none}
.reviews-rail::-webkit-scrollbar{display:none}
.reviews-rail:focus-visible{outline:2px solid var(--accent-deep);outline-offset:4px;border-radius:var(--radius)}
.review-card{flex:0 0 100%;scroll-snap-align:start;background:#f1efe7;border-radius:var(--radius);padding:22px;display:grid;grid-template-columns:1fr 1fr;gap:26px}
.review{display:flex;flex-direction:column;gap:11px;margin:0}
.review + .review{border-left:1px solid #e1ded3;padding-left:26px}
/* Rail arrows and page counter are gone; autoplay carries the reviews on its own. */
.hero-btn{width:44px;height:44px;border:1px solid #d8d6ce;border-radius:var(--radius);background:transparent;color:#33372e;font-size:15px;line-height:1;display:grid;place-items:center;transition:background .15s}
.hero-btn:hover{background:var(--accent);border-color:var(--accent-deep)}
.hero-btn:active{background:#ecd78b}
.review-stars{color:var(--accent-deep);font-size:11px;letter-spacing:.2em}
.review blockquote{margin:0;font:400 13px/1.7 var(--serif);color:#3b3c33}
.review figcaption{margin-top:auto;display:flex;flex-direction:column;gap:3px;border-top:1px solid #e1ded3;padding-top:11px}
.review-name{font-size:10px;font-weight:600}
.review-buy{font-size:9px;color:var(--muted)}
/* Videos: two 9:16 embed slots sitting under the reviews rail, still on the
   dark band. The white boxes are template placeholders — drop the real
   <iframe>/<video> inside each slot; aspect-ratio keeps them 9:16. */
.videos{display:grid;grid-template-columns:repeat(2,1fr);gap:17px;max-width:680px;margin:46px auto 0}
.video-slot{aspect-ratio:9/16;background:#f8f7f4;border-radius:var(--radius);display:grid;place-items:center;overflow:hidden}
.video-slot video{width:100%;height:100%;object-fit:cover;display:block}
.video-placeholder{font-size:9px;font-weight:600;letter-spacing:.14em;color:#a5a496}

.story{background:#ecebe4;padding:84px 0;text-align:center}
.story-inner>p{max-width:440px;margin:18px auto 21px;color:#63635a;font-size:12px;line-height:1.8}
.story h2{font-size:39px}
/* Two certificates of equal weight, so the two cards match on purpose: the hierarchy
   here is the heading above them, not one card over the other. Left-aligned text
   because a certificate number is read, not admired. */
.certs{display:grid;grid-template-columns:repeat(2,1fr);gap:17px;max-width:680px;margin:0 auto 30px;text-align:left}
.cert{background:var(--paper);border-radius:var(--radius);padding:22px;display:flex;flex-direction:column;gap:10px}
.cert-label{font-size:9px;font-weight:600;letter-spacing:.17em;color:#63655c}
.cert-number{margin:0;border:1px dashed #cfccbe;border-radius:8px;padding:11px 12px;font-size:10px;letter-spacing:.06em;color:#4c4a3c}
.cert-note{margin:0;font-size:10px;line-height:1.7;color:var(--muted)}
/* Story CTA: the quiet text link became a big, bold buy button. */
.story-cta{font-size:15px;font-weight:700;letter-spacing:.02em;padding:18px 34px;justify-content:center}
.story h2 em,.checkout-main>h1 em,.success-card h1 em{font-weight:500;color:#737f60;font-style:italic}

/* Footer: no wordmark here any more, just the click-to-open support panels and
   the small print. Panels are native <details> so keyboard and screen readers
   get the open/close behaviour for free. */
.footer{padding:0 0 34px;color:#6f6e64;font-size:9px}
.footer-accordion{border-top:1px solid var(--line)}
.footer-item{border-bottom:1px solid var(--line)}
.footer-item summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 2px;font-size:10px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;color:#4b4c44;list-style:none;cursor:pointer}
.footer-item summary::-webkit-details-marker{display:none}
.footer-item summary:after{content:'';width:7px;height:7px;margin-bottom:4px;border-right:1.5px solid #8a887c;border-bottom:1.5px solid #8a887c;transform:rotate(45deg);transition:transform .2s}
.footer-item[open] summary:after{transform:rotate(225deg);margin-bottom:-4px}
.footer-item summary:hover{color:var(--ink)}
.footer-panel{padding:0 2px 22px;max-width:660px;font-size:11px;line-height:1.85;color:#63635a}
.footer-panel p{margin:0 0 11px}
.footer-panel p:last-child{margin-bottom:0}
.footer-panel b{color:#42433c}
.footer-line{display:flex;gap:14px}
.footer-line b{flex:0 0 78px;font-weight:600}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;padding-top:20px}

.overlay{position:fixed;inset:0;background:#17181265;z-index:20;opacity:0;visibility:hidden;transition:.25s}
.overlay.show{opacity:1;visibility:visible}
.drawer{position:fixed;z-index:21;right:0;top:0;height:100dvh;width:min(440px,100%);background:var(--paper);padding:27px 30px;transform:translateX(102%);transition:transform .3s;display:flex;flex-direction:column}
.drawer.open{transform:translateX(0)}
.drawer-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:17px}
.drawer-head h2{font:500 24px var(--serif);margin:0}
.drawer-head h2 span{font:10px var(--sans);color:var(--muted)}
.icon-button{border:0;background:none;font-size:24px;color:#555}
.cart-items{overflow:auto;flex:1}
.empty-bag{color:var(--muted);text-align:center;padding:60px 0;font-size:12px}
.cart-row{display:grid;grid-template-columns:67px 1fr auto;gap:14px;padding:17px 0;border-bottom:1px solid var(--line);align-items:center}
.cart-thumb{height:70px;background:#eae8e0;display:grid;place-items:center}
.mini-bottle{width:25px;height:45px;background:linear-gradient(90deg,#806744,#b39a69,#806744);border-radius:5px;position:relative}
.mini-bottle:before{content:'';position:absolute;top:-5px;left:7px;width:11px;height:7px;background:#333;border-radius:2px}
.cart-row h3{font:500 13px var(--serif);margin:0 0 4px}
.cart-row p{font-size:9px;color:var(--muted);margin:0}
.qty-control{display:flex;align-items:center;gap:9px;margin-top:8px}
.qty-control button{position:relative;width:21px;height:21px;background:none;border:1px solid var(--line);font-size:12px}
.qty-control button:after{content:'';position:absolute;inset:-11px}
.qty-control span{font-size:10px}
.cart-price{font-size:10px;font-weight:600;align-self:start;padding-top:3px}
.drawer-bottom{border-top:1px solid var(--line);padding-top:18px}
.subtotal,.summary-line{display:flex;justify-content:space-between;align-items:center;font-size:11px}
.drawer-bottom>p{font-size:9px;color:var(--muted);margin:8px 0 15px}
.full{width:100%}
.continue{border:0;background:none;width:100%;margin-top:12px;font-size:10px;color:#666660}

.checkout-screen,.success-screen{display:none;min-height:100dvh;background:#f8f7f4}
.checkout-screen.active,.success-screen.active{display:block}
.checkout-nav{height:68px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}
.checkout-nav>span{font-size:8px;letter-spacing:.15em;color:#6b6b66}
.back-link{border:0;background:none;font-size:13px;color:#52534b}
.back-link span{font-size:10px;margin-left:5px}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:80px;padding-top:46px;padding-bottom:70px}
.checkout-main>h1,.success-card h1{font:500 clamp(44px,6.5vw,64px)/1 var(--serif);letter-spacing:-.03em;margin:24px 0 20px}
.checkout-main>h1{font-size:48px;margin:13px 0 24px}
.checkout-items{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:31px}
.checkout-item{display:flex;justify-content:space-between;padding:12px 0;font-size:10px}
.checkout-item span:last-child{color:#555}
.checkout-main form>h2{font:500 19px var(--serif);margin:0 0 19px}
.field{margin-bottom:15px}
.field label{display:block;font-size:10px;margin-bottom:7px;color:#42433c}
.field input:not([type=file]),.field textarea{width:100%;border:1px solid #dedcd4;background:#fff;padding:11px 12px;font-size:11px;color:var(--ink);border-radius:0}
.field input:focus,.field textarea:focus{border-color:var(--accent-deep)}
.field textarea{min-height:74px;resize:vertical}
.payment-title{margin-top:28px!important;margin-bottom:7px!important}
.helper{color:var(--muted);font-size:10px;margin:0 0 13px}
.bank-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:15px}
.bank-options input{position:absolute;opacity:0}
.bank-options label span{display:grid;place-items:center;border:1px solid #dedcd4;height:40px;background:#fff;font-size:10px;cursor:pointer}
.bank-options input:checked+span{border-color:var(--accent-deep);background:var(--accent)}
.bank-options input:focus-visible+span{outline:2px solid var(--accent-deep);outline-offset:2px}
.bank-details{padding:13px 15px;margin-bottom:15px;background:#edede6;font-size:10px;line-height:1.8}
.bank-details strong{display:block;font-size:13px;letter-spacing:.05em}
.bank-details span{color:#5f5f58}
.upload-field input[type=file]{width:100%;padding:10px;border:1px dashed #c7c4ba;background:#fff;font-size:10px}
.upload-field small,.promo-field small{display:block;font-size:9px;color:#6f6e63;margin-top:6px}
.promo-row{display:flex}
.promo-row input{flex:1}
.promo-row button{border:1px solid #dedcd4;border-left:0;background:#eeede7;padding:0 17px;font-size:10px}
.promo-field{margin-top:4px}
.submit-button{margin-top:6px}
.privacy-note{text-align:center;font-size:9px;color:#6b6b6b;margin-top:12px}
.form-error{color:#a33;font-size:10px;margin-top:9px}
.summary{padding:21px;background:#efeee8;height:max-content;margin-top:69px}
.summary>#summary-items{margin:14px 0 17px;border-bottom:1px solid #dcdad1}
.summary .summary-line{margin:10px 0;font-size:10px}
.summary .discount-line{color:#4f5c3d}
.summary .total-line{border-top:1px solid #d4d2c9;padding-top:13px;font-size:13px}
.summary-foot{border-top:1px solid #dcdad1;margin-top:16px;padding-top:15px;font-size:9px;color:#66665e}

.success-screen{position:fixed;inset:0;z-index:50;display:none;place-items:center;padding:25px}
.success-screen.active{display:grid}
.success-card{max-width:440px;text-align:center}
.success-icon{display:grid;place-items:center;margin:0 auto 25px;width:45px;height:45px;background:var(--accent);border-radius:50%;color:#4c5535;font-size:20px}
.success-card h1{font-size:53px;margin:18px 0}
.success-card>p{color:#63635a;line-height:1.8;font-size:12px}
.success-card .order-reference{font-size:9px;color:#6e6d63;margin:18px 0}
.success-card .button{margin-top:12px}
.hidden{display:none!important}

/* product photos */
.product-photo{position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
/* The photo is the click target for the detail popup; the hover zoom is the hint. */
.product-image[data-view]{cursor:pointer}
.product-image[data-view]:hover .product-photo{transform:scale(1.04)}
.product-size{z-index:2;background:#f8f7f4d9;padding:3px 7px;border-radius:3px}
.cart-photo{width:100%;height:100%;object-fit:cover;display:block}

/* Product detail popup: opens from a product photo, closes via Tutup, the ×,
   the backdrop, or Escape. The add button feeds the same cart flow. */
.modal-overlay{position:fixed;inset:0;z-index:30;background:#17181280;display:none;place-items:center;padding:20px}
/* Entrance: the backdrop fades in while the card springs up from below with a
   visible overshoot before settling; both restart on every open because .show
   flips display. */
.modal-overlay.show{display:grid;animation:overlay-fade .3s ease}
@keyframes overlay-fade{from{opacity:0}to{opacity:1}}
.modal-card{position:relative;background:var(--paper);border-radius:var(--radius);width:min(430px,100%);max-height:calc(100dvh - 40px);overflow:auto;animation:modal-in .45s cubic-bezier(.22,1,.36,1)}
@keyframes modal-in{0%{opacity:0;transform:translateY(40px) scale(.9)}60%{opacity:1}75%{transform:translateY(-5px) scale(1.015)}100%{opacity:1;transform:translateY(0) scale(1)}}
.modal-x{position:absolute;top:10px;right:10px;z-index:3;width:34px;height:34px;background:#f8f7f4d9;border-radius:50%;display:grid;place-items:center}
.modal-image{height:280px;position:relative;display:grid;place-items:center;overflow:hidden;background:#eeece5}
.modal-image.gold{background:#edebe2}
.modal-image.sand{background:#e9e5da}
.modal-image.olive{background:#e7e8df}
.modal-image.clay{background:#eee6dc}
.modal-body{padding:20px 24px 24px}
.modal-body h2{font:500 26px var(--serif);margin:8px 0 3px}
.modal-size{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:0}
.modal-desc{font-size:13px;line-height:1.8;color:#3b3c33;margin:14px 0 0}
.modal-extra{font-size:11px;line-height:1.8;color:var(--muted);margin:10px 0 0}
.modal-bottom{border-top:1px solid var(--line);margin-top:18px;padding-top:16px;display:flex;flex-direction:column;gap:12px}
/* Quantity picker inside the popup: how many bottles the add button will put
   in the cart. Minus is disabled at 1 so the count can never hit zero here. */
.modal-qty-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.modal-qty-label{font-size:9px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.modal-qty{margin:0}
.modal-qty button{width:34px;height:34px;border-radius:50%;font-size:15px;display:grid;place-items:center}
.modal-qty button:disabled{opacity:.35;cursor:default}
.modal-qty span{font-size:12px;font-weight:600;min-width:22px;text-align:center}
.modal-price{font-size:15px}
.modal-actions{display:flex;flex-direction:column;gap:6px}
.modal-actions .button{justify-content:center;font-weight:700;font-size:12px}
.modal-close-text{border:0;background:none;font-size:11px;color:var(--muted);min-height:40px}
.modal-close-text:hover{color:var(--ink)}

/* tablet: real middle state, not a stretched desktop or a stretched stack */
@media(max-width:980px){
  .products{grid-template-columns:repeat(3,1fr)}
  .checkout-layout{gap:44px}
  .shop{padding:80px 0}
  .banner-frame{aspect-ratio:16/9}
}

/* mobile: designed state with its own scale, not an override patch */
@media(max-width:760px){
  .wrap{width:calc(100% - 36px)}
  .shop-stats{gap:10px;padding:10px 0;justify-content:center;margin:10px auto 0}
  .shop-stats .stat{min-width:0;flex:0 1 auto;padding:14px 12px;max-width:180px}
  .shop-stats .stat strong{font-size:18px}
  .announcement{font-size:9px;letter-spacing:.04em}
  .nav{height:62px}
  .bag-button{margin-left:18px;padding-right:0;min-height:44px;display:inline-flex;align-items:center}
  .hero-banner{padding:16px 0 6px}
  .banner-frame{aspect-ratio:16/9;border-radius:10px}
  .ticker{font-size:8px}
  .shop{padding:64px 0}
  .section-heading{align-items:start;gap:15px;flex-direction:column}
  .section-heading>p{margin:0;max-width:360px}
  .products{grid-template-columns:repeat(2,1fr);gap:12px}
  .product-image{height:205px}
  .product-bottle{transform:scale(.87)}
  .add-button{min-height:44px;font-size:9px}
  .story{padding:56px 0}
  /* Mobile: the certificates stack, one per row, so the numbers keep a full measure. */
  .certs{grid-template-columns:1fr;gap:12px;margin-bottom:24px}
  .cert{padding:19px}
  .story-cta{width:100%;font-size:14px;padding:16px 24px}
  .reviews{padding:52px 0 64px}
  .reviews-rail{gap:12px}
  /* Mobile: the video slots sit side by side in a swipe rail instead of stacking.
     Each slot takes ~72% of the row so the next video peeks in and invites the
     swipe; native scroll-snap gives touch momentum a clean stop (same pattern as
     .reviews-rail). The scrollbar is hidden like the rail's. */
  .videos{display:flex;gap:12px;margin-top:34px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;-ms-overflow-style:none;padding-bottom:4px}
  .videos::-webkit-scrollbar{display:none}
  .video-slot{flex:0 0 72%;scroll-snap-align:start}
  /* Mobile: the two quotes stack inside one card, split by a rule instead of a
     column gap, so each one keeps a readable measure on a narrow screen. */
  .review-card{grid-template-columns:1fr;gap:18px;padding:19px}
  .review + .review{border-left:0;border-top:1px solid #e1ded3;padding-left:0;padding-top:18px}
  .footer{padding:0 0 26px}
  .footer-item summary{min-height:52px;padding:0 2px}
  .footer-panel{font-size:11px;padding-bottom:18px}
  .footer-line{flex-direction:column;gap:2px}
  .footer-line b{flex:none}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:7px;font-size:8px}
  .button{min-height:44px}
  .icon-button{width:44px;height:44px;display:grid;place-items:center}
  .cart-row{grid-template-columns:56px 1fr auto}
  .cart-thumb{height:56px}
  .qty-control button{width:30px;height:30px}
  .modal-qty button{width:34px;height:34px}
  .drawer{width:100%;padding:20px 18px}
  .modal-overlay{padding:14px}
  .modal-image{height:220px}
  .modal-body{padding:17px 18px 20px}
  .field input:not([type=file]),.field textarea{font-size:16px}
  .bank-options label span{height:46px}
  .promo-row button{padding:0 14px;min-height:44px}
  .continue{min-height:44px}
  .back-link{min-height:44px;display:inline-flex;align-items:center}
  .checkout-layout{grid-template-columns:1fr;gap:10px;padding-top:31px}
  .checkout-main>h1{font-size:43px}
  .summary{grid-row:1;margin:0 0 27px;padding:17px}
  .checkout-nav>span{font-size:7px}
  .checkout-nav .wordmark{font-size:15px}
  .summary-foot{display:none}
}

@media(max-width:390px){
  .bag-button{margin-left:10px}
  .banner-frame{aspect-ratio:16/9}
  .banner-placeholder{font-size:10px}
  .product-image{height:175px}
  .announcement{letter-spacing:0}
  .checkout-nav .back-link span{display:none}
}

@media(hover:none){
  .button:hover{transform:none}
}

@supports (padding:env(safe-area-inset-bottom)){
  .drawer{padding-bottom:max(20px,env(safe-area-inset-bottom))}
  .footer{padding-bottom:max(26px,env(safe-area-inset-bottom))}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .ticker div{animation:none}
  .shop-stats .stat{animation:none;opacity:1}
  .hero-slide{transition:none}
  .button,.add-button,.overlay,.drawer,.footer-item summary:after{transition:none}
  .modal-card,.modal-overlay.show{animation:none}
  .product-photo{transition:none}
}
/* Koleksi: skeleton shimmer saat katalog sedang dimuat + error state dengan retry. */
.product-card.skeleton .product-image,.product-card.skeleton .product-meta{animation:shimmer 1.2s ease-in-out infinite}
@keyframes shimmer{0%{opacity:1}50%{opacity:.55}100%{opacity:1}}
.products-error{border:1px solid var(--line);border-radius:var(--radius);padding:28px 20px;text-align:center;color:var(--muted);font-size:12px;line-height:1.7}
.products-error .button{margin-top:14px;justify-content:center}
@media(prefers-reduced-motion:reduce){.product-card.skeleton .product-image,.product-card.skeleton .product-meta{animation:none}}

/* QRIS payment option: four payment tiles + the QR image in the details box. */
.bank-options{grid-template-columns:1fr}
.shipping-options{grid-template-columns:repeat(3,1fr)}
.bank-details img.qris-image{display:block;margin-top:8px;max-width:220px;width:100%;height:auto;background:#fff;border:1px solid #dedcd4}
.ongkir-status{font-size:11px;color:#6a6b62;margin:0 0 10px}.shipping-options{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.shipping-options label span{height:auto;min-height:40px;padding:8px 6px;font-size:10px;line-height:1.4}
.order-summary .checkout-item{border-bottom:1px solid var(--line)}.order-summary .summary-line{margin:8px 0;font-size:10px;color:#4b4c44}.order-summary .summary-line.total-line{color:#1d1e1a;font-size:12px}
#ongkir-destination select{width:100%;height:40px;border:1px solid #dedcd4;background:#fff;padding:0 10px;margin-bottom:10px;font-size:12px}#ongkir-destination label{display:block;font-size:11px;color:#4b4c44}.ongkir-destination-label{display:block;font-size:11px;color:#6a6b62;margin-bottom:8px}
/* Pemilih kelurahan: kartu tap-able (pengganti <select>, teks panjang bisa wrap). */
.ongkir-picker-title{font-size:11px;color:#4b4c44;margin:0 0 8px}
.ongkir-destination-list{display:grid;gap:8px;margin-bottom:12px}
.ongkir-destination-option{display:grid;gap:3px;text-align:left;width:100%;max-width:100%;border:1px solid #dedcd4;background:#fff;padding:10px 12px;cursor:pointer;overflow-wrap:anywhere}
.ongkir-destination-option strong{font-size:12px;color:var(--ink)}
.ongkir-destination-option span{font-size:10px;color:#6a6b62}
.ongkir-destination-option:hover,.ongkir-destination-option:focus-visible{border-color:#1d1e1a}
/* Mobile: iOS Safari zooms the page when a focused control is under 16px —
   selects are controls too. Also clamp horizontal overflow from long labels. */
@media(max-width:760px){
  select,#ongkir-destination select{font-size:16px}
  .checkout-layout,.checkout-main,.order-summary,#ongkir-destination{max-width:100%;overflow-x:clip}
}

/* Markdown-rendered product description */
.modal-desc .md-heading{display:block;font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:#1f2019;margin:12px 0 2px}
.modal-desc p{margin:6px 0}
.modal-desc ul,.modal-desc ol{margin:4px 0 8px 18px;padding:0}
.modal-desc li{margin:3px 0}
.modal-desc strong{font-weight:700}
.modal-desc hr{border:0;border-top:1px solid #ddd;margin:10px 0}

/* Retry affordance when the courier API is briefly unreachable */
.ongkir-retry{margin-left:6px;padding:0;border:0;background:none;color:inherit;font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}
/* Brand label centered above the generated QRIS code */
.bank-details .qris-brand{margin:10px 0 2px;text-align:center;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#1f2019}
