:root{--green:#2f6b39;--green-deep:#214b2a;--green-mid:#4a8a4b;--lime:#d9ed87;--orange:#f59a32;--cream:#fbfaf4;--ink:#213127;--muted:#728076;--line:#e5e9de;--white:#fff;--shadow:0 14px 38px rgba(35,75,43,.09);--radius:22px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fffdf8;font-size:15px;line-height:1.5}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}.container{width:min(1180px,calc(100% - 44px));margin-inline:auto}.announcement{display:flex;align-items:center;justify-content:center;gap:9px;padding:8px 16px;background:var(--green-deep);color:#f8ffe9;font-size:12px;font-weight:600;letter-spacing:.02em}.site-header{position:sticky;top:0;z-index:20;background:rgba(255,253,248,.93);backdrop-filter:blur(16px);border-bottom:1px solid rgba(229,233,222,.85);padding:14px max(22px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:inline-flex;align-items:center;gap:10px;min-width:max-content}.brand-mark{display:grid;place-items:center;width:45px;height:45px;border-radius:15px;background:var(--lime);font-size:25px;box-shadow:inset 0 0 0 1px rgba(47,107,57,.07)}.brand strong{display:block;font-size:14px;letter-spacing:.055em;line-height:1.25;color:var(--green-deep)}.brand small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.header-actions{display:flex;align-items:center;gap:12px;flex:1;justify-content:flex-end}.search-box{display:flex;align-items:center;gap:9px;width:min(410px,100%);padding:10px 14px;background:#fff;border:1px solid var(--line);border-radius:999px;color:#849184}.search-box span{font-size:25px;line-height:1}.search-box input{border:0;outline:0;background:transparent;width:100%;color:var(--ink);font-size:13px}.button{border:0;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 19px;font-weight:750;font-size:13px;transition:transform .15s,box-shadow .15s,opacity .15s}.button:hover{transform:translateY(-1px)}.button:disabled{opacity:.45;cursor:not-allowed;transform:none}.button-dark{background:var(--green-deep);color:#fff}.button-dark b{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:99px;background:var(--lime);color:var(--green-deep);font-size:11px}.button-orange{background:var(--orange);color:#2c3a22;box-shadow:0 8px 18px rgba(245,154,50,.2)}.hero{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:30px;min-height:430px;padding-top:32px;padding-bottom:34px}.hero-copy{padding:26px 0}.eyebrow{display:flex;align-items:center;gap:8px;color:var(--green-mid);font-size:10px;font-weight:850;letter-spacing:.14em;margin:0 0 12px}.eyebrow span{width:7px;height:7px;border-radius:50%;background:var(--orange)}h1,h2,p{margin-top:0}.hero h1{font-size:clamp(35px,4.3vw,57px);line-height:1.08;letter-spacing:-.045em;margin:0;color:var(--green-deep)}.hero h1 em{color:var(--green-mid);font-style:normal}.hero-text{max-width:490px;color:var(--muted);line-height:1.8;font-size:14px;margin:21px 0 24px}.hero-points{display:flex;flex-wrap:wrap;gap:16px;margin-top:24px;color:#647568;font-size:11px;font-weight:650}.hero-points span::first-letter{color:var(--green-mid)}.hero-art{height:335px;position:relative;isolation:isolate;border-radius:42px;background:linear-gradient(145deg,#eef6cc 3%,#d8ebad 52%,#a4ce87 100%);overflow:hidden;display:grid;place-items:center}.sun-disc{position:absolute;width:245px;height:245px;right:14%;top:-53px;border-radius:50%;background:rgba(255,255,255,.42);z-index:-1}.vegetable-illustration{position:relative;font-size:116px;filter:drop-shadow(0 20px 10px rgba(45,95,42,.15));transform:rotate(-7deg)}.vegetable-illustration span{position:absolute;font-size:82px;left:-73px;top:55px;transform:rotate(-22deg)}.vegetable-illustration i{position:absolute;font-style:normal;font-size:84px;right:-53px;top:-12px;transform:rotate(18deg)}.vegetable-illustration b{position:absolute;font-size:66px;right:-63px;bottom:-33px}.art-note{position:absolute;bottom:24px;left:24px;padding:13px 17px;background:rgba(255,255,255,.82);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.65);border-radius:16px;box-shadow:0 8px 20px rgba(46,90,37,.08)}.art-note strong,.art-note small{display:block}.art-note strong{font-size:12px;color:var(--green-deep)}.art-note small{font-size:10px;color:var(--muted);margin-top:3px}.leaf{position:absolute;width:52px;height:92px;background:rgba(67,131,66,.18);border-radius:100% 0 100% 0;transform:rotate(42deg)}.leaf-one{right:-8px;bottom:24px}.leaf-two{left:22px;top:18px;transform:rotate(-25deg) scale(.7)}.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding-bottom:49px}.benefits>div{display:flex;align-items:center;gap:13px;padding:16px 18px;background:white;border:1px solid var(--line);border-radius:18px}.benefit-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;background:#f1f7e1;border-radius:13px;font-size:20px}.benefits strong,.benefits small{display:block}.benefits strong{font-size:12px;color:var(--green-deep)}.benefits small{font-size:10px;color:var(--muted);margin-top:3px}.catalog-section{padding:24px 0 62px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}.section-heading h2,.drawer-head h2{margin:0;color:var(--green-deep);font-size:clamp(24px,3vw,32px);letter-spacing:-.03em}.muted{color:var(--muted)}.section-heading .muted{font-size:13px;margin:7px 0 0}.result-count{color:var(--muted);font-size:12px;white-space:nowrap;padding-bottom:5px}.category-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 15px;scrollbar-width:thin}.chip{white-space:nowrap;padding:9px 15px;border-radius:999px;border:1px solid var(--line);background:white;color:#5f6e62;font-size:12px;font-weight:700}.chip.active,.chip:hover{background:var(--green);border-color:var(--green);color:white}.status-banner{padding:14px 16px;border:1px solid #ead7a0;background:#fff8e0;border-radius:14px;color:#6e5819;font-size:13px;margin:12px 0 20px}.status-banner[hidden]{display:none}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.product-card{min-width:0;background:white;border:1px solid var(--line);border-radius:19px;overflow:hidden;box-shadow:0 3px 12px rgba(35,75,43,.03);transition:box-shadow .2s,transform .2s}.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.product-image-wrap{height:175px;position:relative;background:linear-gradient(145deg,#f3f7e7,#e6f0d4);display:grid;place-items:center;overflow:hidden}.product-image{width:100%;height:100%;object-fit:contain;padding:12px}.product-image-placeholder{display:block;position:absolute;inset:0;width:100%;height:100%;background:#f7f8ef}.product-tag{position:absolute;top:11px;left:11px;background:#fff9e7;border:1px solid #f4e3b5;border-radius:999px;padding:5px 8px;color:#8c681d;font-size:9px;font-weight:800}.product-content{padding:14px}.product-category{font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--green-mid);margin-bottom:5px}.product-content h3{font-size:15px;line-height:1.3;margin:0 0 6px;color:#26382b}.product-description{font-size:11px;color:var(--muted);line-height:1.6;min-height:34px;margin-bottom:12px}.field-label{display:block;color:#68766b;font-size:10px;font-weight:750;margin:8px 0 5px}.select-field,.quantity-field,.nominal-field{width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;padding:9px 10px;background:#fffdf8;color:var(--ink);font-size:11px;outline:none}.select-field:focus,.quantity-field:focus,.nominal-field:focus{border-color:var(--green-mid);box-shadow:0 0 0 3px rgba(74,138,75,.1)}.price-row{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:14px 0 8px}.price-main{font-weight:850;color:var(--green-deep);font-size:18px;letter-spacing:-.035em}.price-unit{font-size:10px;color:var(--muted)}.stock-pill{display:inline-flex;padding:4px 8px;border-radius:999px;background:#edf7e3;color:#3a753d;font-weight:750;font-size:9px}.stock-pill.low{background:#fff4d8;color:#8c681d}.stock-pill.none{background:#fae8e4;color:#a84e3a}.quantity-row{display:flex;align-items:center;gap:7px;margin-top:8px}.quantity-row .quantity-field{width:84px}.nominal-field{margin-top:7px}.add-button{flex:1;padding:10px 8px;border:0;border-radius:10px;background:var(--green);color:white;font-weight:800;font-size:11px}.add-button:disabled{opacity:.45;cursor:not-allowed}.empty-state{grid-column:1/-1;text-align:center;padding:42px 18px;border:1px dashed #dce5d4;border-radius:18px;color:var(--muted);background:#fff}.empty-state strong{display:block;color:var(--green-deep);margin-bottom:6px}.kitchen-note{display:flex;align-items:center;gap:18px;padding:21px 25px;border-radius:22px;background:#f0f6df;margin-bottom:65px}.kitchen-note-icon{display:grid;place-items:center;width:50px;height:50px;background:#fff;border-radius:16px;font-size:25px;flex-shrink:0}.kitchen-note strong{font-size:14px;color:var(--green-deep)}.kitchen-note p{font-size:11px;color:var(--muted);margin:4px 0 0;line-height:1.6}.kitchen-note a{margin-left:auto;white-space:nowrap;color:var(--green);font-size:12px;font-weight:850}.site-footer{padding:26px 0;background:#f7f8f0;border-top:1px solid var(--line)}.footer-inner{display:flex;align-items:center;gap:24px}.footer-brand .brand-mark{width:38px;height:38px;font-size:21px;border-radius:12px}.footer-brand strong{font-size:12px}.footer-inner p{margin:0;color:var(--muted);font-size:11px;flex:1}.footer-inner>span{font-size:10px;color:var(--muted)}.mobile-nav{display:none}.drawer-backdrop,.modal-backdrop{position:fixed;inset:0;background:rgba(15,36,22,.45);backdrop-filter:blur(4px);z-index:50}.cart-drawer{position:fixed;z-index:51;top:0;right:0;height:100dvh;width:min(470px,100%);background:#fffdf8;padding:24px;display:flex;flex-direction:column;box-shadow:-20px 0 50px rgba(0,0,0,.12);animation:slide-in .18s ease-out}.cart-drawer[hidden],.drawer-backdrop[hidden],.modal-backdrop[hidden]{display:none}.drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.drawer-head .eyebrow{margin-bottom:4px}.drawer-head h2{font-size:23px}.icon-button{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:white;color:#526356}.cart-items{flex:1;overflow:auto;min-height:0}.empty-cart{font-size:13px;color:var(--muted);text-align:center;padding:40px 10px}.cart-line{display:grid;grid-template-columns:1fr auto;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.cart-line strong{display:block;font-size:12px;color:var(--green-deep)}.cart-line small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.cart-line-total{font-weight:800;font-size:12px;color:var(--green-deep);text-align:right}.cart-line-actions{display:flex;align-items:center;gap:8px;justify-content:flex-end;margin-top:8px}.cart-line-actions button{border:1px solid var(--line);background:white;border-radius:8px;min-width:28px;padding:3px 7px;color:var(--green-deep)}.cart-summary{padding-top:17px;border-top:1px solid var(--line)}.cart-summary>div,.checkout-total{display:flex;justify-content:space-between;gap:12px;align-items:center}.cart-summary>div span,.checkout-total span{font-size:12px;color:var(--muted)}.cart-summary>div strong,.checkout-total strong{font-size:22px;color:var(--green-deep)}.tiny{font-size:10px;line-height:1.5}.full-width{width:100%}.modal-backdrop{display:flex;align-items:center;justify-content:center;padding:16px}.checkout-modal{width:min(520px,100%);max-height:min(92dvh,850px);overflow:auto;background:#fffdf8;border-radius:22px;padding:24px;box-shadow:0 20px 65px rgba(0,0,0,.2)}.form-stack{display:grid;gap:13px}.form-stack label{font-size:11px;font-weight:750;color:#536358}.form-stack input,.form-stack textarea{display:block;width:100%;margin-top:6px;padding:11px 12px;border:1px solid var(--line);border-radius:11px;background:white;color:var(--ink);outline:none;font-size:13px}.form-stack input:focus,.form-stack textarea:focus{border-color:var(--green-mid)}.checkout-total{padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.checkout-total strong{font-size:24px}.toast{position:fixed;z-index:100;left:50%;bottom:26px;transform:translate(-50%,20px);opacity:0;pointer-events:none;max-width:calc(100% - 30px);background:var(--green-deep);color:white;border-radius:999px;padding:12px 18px;font-size:12px;font-weight:700;box-shadow:var(--shadow);transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}@keyframes slide-in{from{transform:translateX(30px);opacity:.6}to{transform:translateX(0);opacity:1}}
@media(max-width:1000px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero{min-height:390px}.hero-art{height:300px}.site-header{gap:14px}.search-box{max-width:330px}}
@media(max-width:720px){body{padding-bottom:72px}.container{width:min(100% - 30px,540px)}.announcement{font-size:10px;padding:7px 12px}.site-header{position:relative;padding:13px 15px;flex-wrap:wrap;gap:12px}.brand-mark{width:40px;height:40px;border-radius:13px}.brand strong{font-size:12px}.brand small{font-size:10px}.header-actions{display:contents}.search-box{order:3;width:100%;max-width:none;flex:1;padding:10px 13px}.cart-open{display:none}.hero{grid-template-columns:1fr;gap:10px;padding-top:18px;padding-bottom:25px;min-height:0}.hero-copy{padding:14px 0 0}.hero h1{font-size:clamp(32px,9vw,45px)}.hero-text{font-size:13px;margin:16px 0 19px;line-height:1.7}.hero-points{gap:9px 12px;font-size:10px;margin-top:17px}.hero-art{height:210px;border-radius:28px}.vegetable-illustration{font-size:88px}.vegetable-illustration span{font-size:62px;left:-52px;top:47px}.vegetable-illustration i{font-size:62px;right:-42px}.vegetable-illustration b{font-size:51px;right:-47px}.art-note{bottom:12px;left:12px;padding:9px 12px}.benefits{grid-template-columns:1fr;gap:8px;padding-bottom:27px}.benefits>div{padding:10px 13px;border-radius:14px}.benefit-icon{width:36px;height:36px;flex-basis:36px;font-size:18px}.catalog-section{padding:10px 0 35px}.section-heading{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:15px}.section-heading h2{font-size:26px}.section-heading .muted{font-size:12px}.result-count{padding:0}.category-chips{margin-right:-15px;padding-right:15px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-image-wrap{height:132px}.product-image{padding:7px}.product-content{padding:11px}.product-content h3{font-size:13px}.product-description{font-size:10px;min-height:44px;margin-bottom:9px}.price-main{font-size:16px}.price-unit{font-size:9px}.select-field{font-size:10px;padding:8px 6px}.field-label{font-size:9px}.quantity-row{gap:5px}.quantity-row .quantity-field{width:58px;font-size:10px;padding:9px 5px}.add-button{font-size:10px;padding:9px 5px}.stock-pill{font-size:8px}.kitchen-note{align-items:flex-start;gap:12px;padding:16px;margin-bottom:32px;flex-wrap:wrap}.kitchen-note-icon{width:40px;height:40px;flex-basis:40px;font-size:21px}.kitchen-note>div{flex:1;min-width:180px}.kitchen-note p{font-size:10px}.kitchen-note a{margin:0 0 0 52px;font-size:11px}.site-footer{padding:18px 0}.footer-inner{flex-wrap:wrap;gap:10px}.footer-inner p{flex-basis:100%;order:3}.footer-inner>span{margin-left:auto}.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:35;display:flex;justify-content:space-around;padding:7px 4px calc(7px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid var(--line);box-shadow:0 -8px 25px rgba(33,75,42,.06)}.mobile-nav>a,.mobile-nav>button{position:relative;flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;border:0;background:none;color:#8a978c;font-size:9px;font-weight:700}.mobile-nav a span,.mobile-nav button span{font-size:20px;line-height:1.2}.mobile-nav .mobile-nav-active{color:var(--green)}.mobile-nav button span{position:relative}.mobile-nav button b{position:absolute;top:-3px;right:-10px;display:grid;place-items:center;min-width:15px;height:15px;padding:0 3px;border-radius:100%;background:var(--orange);color:#263728;font-size:8px}.cart-drawer{padding:19px 17px calc(18px + env(safe-area-inset-bottom))}.checkout-modal{padding:20px 17px;border-radius:18px}.checkout-modal .drawer-head h2{font-size:21px}.toast{bottom:85px;font-size:11px;white-space:nowrap}.result-count{font-size:11px}}
@media(max-width:365px){.container{width:calc(100% - 22px)}.product-grid{gap:8px}.product-content{padding:9px}.product-image-wrap{height:115px}.hero h1{font-size:31px}.brand{gap:7px}.brand strong{font-size:11px}.brand small{font-size:9px}}

/* Sahabat Sayur homepage refresh — responsive, brand-asset driven */
:root{--green:#2e713c;--green-deep:#174a2a;--green-mid:#548c43;--lime:#dfee8e;--orange:#f5a029;--cream:#fffdf5;--ink:#223429;--muted:#728075;--line:#e7ebdf;--shadow:0 16px 40px rgba(28,76,39,.10);--radius:24px}
body{background:#fffef9;color:var(--ink)}
.announcement{gap:10px;min-height:34px;background:#174a2a;color:#f9ffe9;font-size:11px;letter-spacing:.005em}
.announcement strong{color:#ffdf60}.announcement a{margin-left:5px;color:#e3f3af;text-decoration:underline;text-underline-offset:3px;font-size:10px}
.announcement-leaf{color:#f8cf45;font-size:13px}
.site-header{display:flex;gap:22px;padding-top:12px;padding-bottom:12px;background:rgba(255,254,249,.95)}
.brand{gap:10px}.brand-logo-wrap{background:linear-gradient(145deg,#eff6ce,#d8ed8c);overflow:hidden}.brand-logo-wrap img{display:block;width:100%;height:100%;object-fit:contain;padding:4px}
.brand strong{letter-spacing:.075em;font-size:13px}.brand small{font-size:10px;letter-spacing:.01em}
.desktop-links{display:flex;align-items:center;gap:21px;margin-left:auto;padding:0 3px;white-space:nowrap}
.desktop-links a{font-size:11px;font-weight:750;color:#657368;transition:color .15s}
.desktop-links a:hover,.desktop-links .desktop-link-active{color:var(--green-deep)}
.desktop-links .desktop-link-active{position:relative}.desktop-links .desktop-link-active:after{content:"";position:absolute;left:0;right:0;bottom:-17px;height:3px;border-radius:8px;background:var(--orange)}
.header-actions{flex:0 1 405px;min-width:270px;gap:9px}.search-box{width:100%;max-width:none;padding:9px 12px;border-color:#e8ebdf;background:#fff;box-shadow:0 2px 8px rgba(28,76,39,.025)}.search-box span{font-size:23px}.search-box input{font-size:12px}.button{font-size:12px}.button-dark{background:#194f2d}.button-orange{background:linear-gradient(105deg,#ffbd43,#f4a02d);box-shadow:0 7px 18px rgba(245,154,50,.17)}
.home-hero{padding:22px 0 0;background:radial-gradient(ellipse at 8% 7%,rgba(223,238,142,.24),transparent 44%),linear-gradient(#fffef9,#fffdf8)}
.hero-slider{position:relative;isolation:isolate;overflow:hidden;border:1px solid rgba(56,100,45,.09);border-radius:25px;background:#f9f6e6;aspect-ratio:2/1;box-shadow:0 17px 44px rgba(33,76,36,.12)}
.hero-slides{position:absolute;inset:0}.hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .55s ease;pointer-events:none}.hero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}.hero-slide picture,.hero-slide img{display:block;width:100%;height:100%}.hero-slide img{object-fit:cover;object-position:center}
.hero-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:39px;height:39px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.8);border-radius:50%;background:rgba(255,255,255,.88);color:#23582f;font-size:29px;line-height:1;box-shadow:0 4px 16px rgba(26,63,31,.16);transition:transform .18s,background .18s}.hero-arrow:hover{background:#fff;transform:translateY(-50%) scale(1.05)}.hero-prev{left:15px}.hero-next{right:15px}
.hero-slider-controls{position:absolute;z-index:3;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:space-between;padding:34px 18px 12px;background:linear-gradient(transparent,rgba(24,62,31,.30));pointer-events:none}.hero-dots{display:flex;align-items:center;gap:7px;pointer-events:auto}.hero-dot{width:8px;height:8px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.67);box-shadow:0 1px 3px rgba(0,0,0,.16);transition:width .2s,background .2s}.hero-dot.is-active{width:25px;background:#ffd25e}.hero-slider-caption{font-size:10px;font-weight:750;letter-spacing:.04em;color:white;text-shadow:0 1px 4px rgba(0,0,0,.3)}
.hero-under-note{display:flex;align-items:center;gap:10px;min-height:52px;padding:10px 4px 0;color:#6f7d71;font-size:11px}.hero-check{display:grid;place-items:center;flex:0 0 21px;width:21px;height:21px;border-radius:50%;background:#e9f4c6;color:#2e713c;font-weight:900}.hero-under-note a{margin-left:auto;white-space:nowrap;color:#2e713c;font-weight:850}.hero-under-note a span{color:#ec9a22;margin-left:3px}
.categories-section{padding-top:42px;padding-bottom:34px}.section-heading{margin-bottom:18px}.category-heading{align-items:flex-end}.eyebrow{letter-spacing:.13em;font-size:9px;margin-bottom:8px}.section-title{margin:0;color:var(--green-deep);font-size:clamp(24px,2.8vw,33px);line-height:1.17;letter-spacing:-.045em}.category-heading .muted,.benefits-section .muted{font-size:12px;margin:8px 0 0;line-height:1.6}.text-link{font-size:11px;font-weight:850;color:var(--green);white-space:nowrap;padding-bottom:4px}.text-link span{color:#e99b25;margin-left:3px}
.category-gallery{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.category-tile{min-width:0;aspect-ratio:1/1;display:block;padding:3px;border:1px solid rgba(48,100,45,.06);border-radius:21px;background:#fff;box-shadow:0 7px 22px rgba(37,77,37,.045);overflow:hidden;transition:transform .2s,border-color .2s,box-shadow .2s}.category-tile:hover,.category-tile:focus-visible{transform:translateY(-4px);border-color:rgba(78,137,58,.35);box-shadow:0 13px 25px rgba(37,77,37,.09);outline:none}.category-tile img{display:block;width:100%;height:100%;object-fit:contain}
.benefits-section{padding-top:21px;padding-bottom:49px}.benefits-section .section-heading{margin-bottom:17px}.benefit-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.benefit-tile{min-width:0;aspect-ratio:746/527;display:grid;place-items:center;overflow:hidden;border:1px solid #edf0e7;border-radius:17px;background:#fff;box-shadow:0 5px 17px rgba(37,77,37,.035)}.benefit-tile img{display:block;width:100%;height:100%;object-fit:contain}
.planner-banner{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:255px;margin-bottom:55px;padding:30px 48px;border:1px solid #e8edda;border-radius:27px;background-color:#f7f8e9;background-image:linear-gradient(100deg,rgba(255,254,242,.93),rgba(255,254,242,.79)),url('/assets/images/brand/background-cream.webp');background-size:cover;background-position:center;overflow:hidden}.planner-banner:after{content:"";position:absolute;z-index:-1;right:-55px;bottom:-100px;width:330px;height:330px;border-radius:50%;background:radial-gradient(circle,rgba(223,238,142,.58),rgba(223,238,142,0) 70%)}.planner-copy{max-width:660px}.planner-copy h2{font-size:clamp(26px,3.2vw,38px);line-height:1.12;letter-spacing:-.045em;color:var(--green-deep);margin:0}.planner-copy h2 em{font-style:normal;color:#5b9245}.planner-copy>p:not(.eyebrow){max-width:570px;margin:13px 0 19px;color:#6f7d71;font-size:12px;line-height:1.8}.planner-copy .button{padding:13px 19px}.planner-stamp{flex:0 0 174px;width:174px;height:174px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.9);border-radius:50%;background:rgba(255,255,255,.73);box-shadow:0 8px 25px rgba(40,83,37,.08);transform:rotate(5deg)}.planner-stamp span{font-size:43px;line-height:1.2}.planner-stamp strong{font-size:16px;letter-spacing:.05em;color:var(--green-deep)}.planner-stamp small{color:#728075;font-size:9px;margin-top:2px}
.catalog-section{padding:0 0 48px;scroll-margin-top:95px}.catalog-section .section-heading h2{font-size:clamp(25px,2.7vw,32px)}.category-chips{padding-bottom:14px}.chip{border-color:#e5eadb}.status-banner{line-height:1.65}.product-image-wrap{background:linear-gradient(145deg,#fafbee,#eaf2dc)}.product-card{border-radius:19px}.product-content h3{letter-spacing:-.015em}.kitchen-note{display:none}
.closing-note{display:flex;align-items:center;gap:14px;padding:17px 21px;margin-bottom:43px;border:1px solid #e6eed4;border-radius:19px;background:linear-gradient(100deg,#f4f8e6,#fffdf7)}.closing-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:14px;background:#fff;font-size:23px}.closing-note>div{min-width:0;flex:1}.closing-note strong{display:block;color:#224f2d;font-size:12px}.closing-note p{margin:4px 0 0;color:#728075;font-size:10px;line-height:1.6}.closing-note>a{white-space:nowrap;color:#2e713c;font-size:11px;font-weight:850}.closing-note>a span{color:#e99b25}
.site-footer{background:#f7f8ef;border-color:#e5eadb}.footer-inner{gap:24px}.footer-inner nav{display:flex;gap:13px}.footer-inner nav a{font-size:10px;color:#5b6d5d;font-weight:750}.footer-inner nav a:hover{color:var(--green)}.footer-brand .brand-mark{width:38px;height:38px;border-radius:12px}.footer-brand .brand-mark img{padding:3px}.mobile-nav .mobile-nav-active{color:var(--green)}
@media(max-width:1100px){.site-header{gap:15px}.desktop-links{gap:13px}.desktop-links a{font-size:10px}.header-actions{flex-basis:350px;min-width:230px}.category-gallery{gap:10px}.benefit-gallery{gap:8px}}
@media(max-width:850px){.desktop-links{display:none}.site-header{gap:16px}.brand{margin-right:auto}.header-actions{flex:0 1 430px}.category-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.category-tile{border-radius:18px}.benefit-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.benefit-tile:nth-child(4){grid-column:1/2}.benefit-tile:nth-child(5){grid-column:2/3}.planner-banner{padding:28px 30px}}
@media(max-width:680px){
 body{padding-bottom:76px}.announcement{min-height:32px;padding:6px 9px;gap:6px;font-size:9px}.announcement a{font-size:9px;margin-left:0}.site-header{padding:11px 15px 12px;gap:11px}.brand{gap:8px;min-width:0}.brand-mark{width:38px;height:38px;border-radius:12px;flex:0 0 38px}.brand strong{font-size:11px;letter-spacing:.055em}.brand small{font-size:9px}.header-actions{display:contents}.search-box{order:3;width:100%;max-width:none;flex:1;padding:9px 12px;border-radius:13px}.search-box input{font-size:12px}.cart-open{display:none}
 .home-hero{padding-top:10px}.hero-slider{aspect-ratio:4/3;border-radius:17px;box-shadow:0 9px 25px rgba(33,76,36,.10)}.hero-slide img{object-fit:cover}.hero-arrow{width:31px;height:31px;font-size:24px;background:rgba(255,255,255,.83)}.hero-prev{left:8px}.hero-next{right:8px}.hero-slider-controls{padding:22px 10px 9px}.hero-dot{width:6px;height:6px}.hero-dot.is-active{width:20px}.hero-slider-caption{font-size:8px}.hero-under-note{gap:7px;align-items:flex-start;padding-top:10px;font-size:9px;line-height:1.55}.hero-check{flex-basis:18px;width:18px;height:18px;font-size:10px}.hero-under-note a{font-size:9px;padding-top:2px}
 .categories-section{padding-top:30px;padding-bottom:21px}.section-heading{margin-bottom:14px}.category-heading{align-items:flex-start;flex-direction:column;gap:10px}.section-title{font-size:25px}.category-heading .muted,.benefits-section .muted{font-size:11px;margin-top:6px}.text-link{font-size:10px}.category-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.category-tile{padding:2px;border-radius:14px;box-shadow:0 4px 14px rgba(37,77,37,.04)}
 .benefits-section{padding-top:13px;padding-bottom:31px}.benefits-section .section-title{font-size:23px}.benefit-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.benefit-tile{border-radius:12px}.benefit-tile:nth-child(4){grid-column:auto}.benefit-tile:nth-child(5){grid-column:1/-1;width:calc(50% - 4px);justify-self:center}
 .planner-banner{min-height:0;gap:10px;padding:21px 17px;border-radius:20px;margin-bottom:38px}.planner-copy{max-width:100%}.planner-copy h2{font-size:24px}.planner-copy>p:not(.eyebrow){font-size:10px;line-height:1.65;margin:9px 0 13px}.planner-copy .button{font-size:10px;padding:11px 13px;gap:7px}.planner-stamp{width:84px;height:84px;flex:0 0 84px}.planner-stamp span{font-size:25px}.planner-stamp strong{font-size:11px}.planner-stamp small{font-size:6px;text-align:center;max-width:64px}
 .catalog-section{padding-bottom:29px;scroll-margin-top:8px}.catalog-section .section-heading{gap:7px}.catalog-section .section-heading h2{font-size:24px}.catalog-section .section-heading .muted{font-size:11px}.result-count{font-size:10px}.product-grid{gap:9px}.product-image-wrap{height:126px}.product-content{padding:10px}.product-content h3{font-size:12px}.product-description{font-size:9px;min-height:42px}.field-label{font-size:8px}.select-field{font-size:9px}.price-main{font-size:15px}.quantity-row .quantity-field{width:51px}.add-button{font-size:9px}
 .closing-note{align-items:flex-start;gap:10px;padding:13px;margin-bottom:25px;flex-wrap:wrap;border-radius:15px}.closing-icon{width:36px;height:36px;flex-basis:36px;font-size:19px}.closing-note>div{flex:1;min-width:160px}.closing-note strong{font-size:10px}.closing-note p{font-size:9px}.closing-note>a{margin-left:46px;font-size:10px}.footer-inner{gap:9px}.footer-inner nav{width:100%;order:4}.footer-inner nav a{font-size:10px}.footer-inner p{font-size:10px}.footer-inner>span{font-size:9px}.footer-brand strong{font-size:11px}.footer-brand small{font-size:9px}
}
@media(max-width:390px){.announcement{font-size:8px}.hero-slider{aspect-ratio:4/3}.section-title{font-size:23px}.category-gallery{gap:6px}.benefit-gallery{gap:6px}.planner-banner{padding:17px 13px}.planner-stamp{width:70px;height:70px;flex-basis:70px}.planner-stamp span{font-size:21px}.planner-copy h2{font-size:21px}.planner-copy .button{padding:10px}.product-image-wrap{height:110px}.product-content{padding:8px}.quantity-row .quantity-field{width:45px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-slide,.category-tile,.button{transition:none}}

/* Rev15 catalog UX + typography/accessibility refinements */
:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--cream:#fffdf6;--orange:#f5a623;--green:#28743c;--green-deep:#124b2b}
body{font-size:16px;background:#fffdf7}
h1,h2,h3,.brand-caption,.desktop-links,.button,.chip,.eyebrow,.section-title,.product-category,.field-label,.product-detail-link,.footer-columns h2,.mobile-nav,.page-button{font-family:"Plus Jakarta Sans",Inter,ui-sans-serif,system-ui,sans-serif}
[hidden]{display:none!important}
.brand{flex-direction:column;align-items:flex-start;gap:0;min-width:136px;max-width:180px}
.brand-wordmark{display:block;width:148px;height:53px;object-fit:contain;object-position:left center}
.brand-caption{display:block;margin-top:-2px;font-size:10px;font-weight:600;color:var(--green-deep);line-height:1.25;letter-spacing:.01em}
.site-header{gap:18px}
.desktop-links{flex-shrink:0}
.desktop-links a{font-size:12px}
.search-box{min-height:46px}
.search-box input{font-size:14px}
.button{min-height:44px;font-size:13px}
.home-hero{padding-top:20px}
.hero-slider{aspect-ratio:2/1;background:#f9f7e8}
.hero-slide img{object-fit:contain;background:#faf8e9}
.hero-slider-controls{padding:30px 18px 12px}
.hero-under-note{font-size:12px}
.category-tile{cursor:pointer}
.showcase-section{padding:14px 0 34px;scroll-margin-top:100px}
.showcase-section .section-heading{margin-bottom:16px}
.showcase-section .section-heading h2{margin:0;color:var(--green-deep);font-size:clamp(23px,2.7vw,31px);letter-spacing:-.035em}
.showcase-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.catalog-toolbar{display:grid;grid-template-columns:minmax(140px,1fr) minmax(140px,1fr) auto minmax(190px,1.1fr);align-items:end;gap:12px;padding:14px;margin:4px 0 20px;border:1px solid #e8eddd;border-radius:17px;background:linear-gradient(100deg,#fbfdf5,#fffdf7)}
.catalog-toolbar>label{display:flex;flex-direction:column;gap:6px;color:#49634e;font-size:12px;font-weight:700}
.catalog-toolbar input[type=number],.catalog-toolbar select{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #dce6d6;border-radius:11px;background:#fff;color:#213127;font:inherit;font-size:13px;outline-offset:2px}
.catalog-toolbar .featured-filter{flex-direction:row;align-items:center;justify-content:flex-start;gap:9px;min-height:44px;padding:0 4px;white-space:nowrap}
.catalog-toolbar .featured-filter input{width:19px;height:19px;accent-color:var(--green)}
.product-image-link{display:block}
.product-image-wrap{height:190px}
.product-image-placeholder{position:absolute;inset:0;display:grid;place-items:center;background:#faf9ef}
.product-image{position:relative;z-index:1;background:transparent}
.product-image[hidden]{display:none!important}
.product-content h3{font-family:"Plus Jakarta Sans",Inter,sans-serif;font-size:15px}
.product-content h3 a:hover,.product-detail-link:hover{color:#dd8517}
.product-description{font-size:12px;line-height:1.6;min-height:40px}
.field-label{font-size:11px}
.select-field,.quantity-field,.nominal-field{font-family:Inter,sans-serif;font-size:12px;min-height:42px}
.price-main{font-family:Inter,sans-serif;font-size:18px}
.price-unit{font-size:11px}
.add-button{min-height:44px;font-family:"Plus Jakarta Sans",Inter,sans-serif;font-size:11px}
.product-detail-link{display:inline-flex;align-items:center;gap:4px;margin-top:9px;color:#2b7139;font-size:11px;font-weight:700}
.product-pagination{display:flex;align-items:center;justify-content:center;gap:14px;padding-top:26px;color:#5b6f5e;font-size:13px}
.page-button{display:inline-grid;place-items:center;width:44px;height:44px;border:1px solid #dbe6d3;border-radius:13px;background:white;color:var(--green-deep);font-size:23px}
.page-button:disabled{opacity:.35;cursor:not-allowed}
.site-footer{margin-top:30px;padding:36px 0 0;background:#f2f5e8;border-top:1px solid #e3e9d9}
.footer-columns{display:grid;grid-template-columns:1.35fr 1fr 1.25fr 1fr;gap:28px;padding-bottom:26px}
.footer-about{max-width:340px}
.footer-brand{display:inline-flex;flex-direction:column;align-items:flex-start;gap:0}
.footer-wordmark{display:block;width:190px;height:86px;object-fit:contain;object-position:left center}
.footer-brand .brand-caption{font-size:12px;margin-top:-2px}
.footer-about p,.footer-columns p,.footer-columns a{font-size:12px;line-height:1.8;color:#607263}
.footer-about p{margin:10px 0}
.footer-about strong{font-size:12px;color:var(--green-deep)}
.footer-columns h2{margin:6px 0 12px;font-size:14px;color:var(--green-deep)}
.footer-columns nav{display:flex;flex-direction:column;gap:6px}
.footer-columns>div:not(.footer-about)>a{display:block;margin:5px 0}
.footer-bottom{display:flex;justify-content:space-between;gap:12px;padding:15px 0;border-top:1px solid #dfe7d5;color:#728075;font-size:11px}
.floating-whatsapp{position:fixed;right:22px;bottom:23px;z-index:30;display:inline-flex;align-items:center;gap:9px;padding:12px 17px;border-radius:999px;background:#1f9e58;color:white;box-shadow:0 12px 28px rgba(10,90,42,.23);font:700 12px "Plus Jakarta Sans",Inter,sans-serif}
.floating-whatsapp span:first-child{display:grid;place-items:center;width:26px;height:26px;border:1.5px solid rgba(255,255,255,.86);border-radius:50%;font-size:20px}
.mobile-nav{gap:0}
.mobile-nav a,.mobile-nav button{min-height:56px;font-size:10px}
.mobile-nav a>span,.mobile-nav button>span{font-size:19px}
@media(max-width:1100px){.footer-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.showcase-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.catalog-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.site-header{gap:12px}.brand{min-width:116px;max-width:132px}.brand-wordmark{width:124px;height:46px}.brand-caption{font-size:9px}.showcase-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-image-wrap{height:155px}}
@media(max-width:680px){
 body{font-size:16px;padding-bottom:73px}
 .container{width:calc(100% - 28px)}
 .announcement{font-size:11px;line-height:1.35;min-height:36px}
 .announcement a{font-size:11px}
 .site-header{padding:9px 14px 11px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 10px}
 .brand{grid-column:1;grid-row:1;min-width:0;max-width:145px;align-items:flex-start;gap:0}
 .brand-wordmark{width:126px;height:41px;object-position:left center}
 .brand-caption{font-size:9px;margin-top:-2px}
 .header-actions{display:contents}
 .search-box{grid-column:1/-1;grid-row:2;width:100%;min-height:44px;border-radius:12px;padding:8px 12px}
 .search-box input{font-size:14px}
 .cart-open{display:inline-flex;grid-column:2;grid-row:1;padding:9px 11px;font-size:11px;min-height:42px;align-self:center}
 .home-hero{padding-top:9px}
 .hero-slider{aspect-ratio:4/3;border-radius:13px}
 .hero-slide img{object-fit:contain}
 .hero-arrow{width:38px;height:38px;font-size:26px}
 .hero-slider-controls{padding:23px 9px 8px}
 .hero-slider-caption{font-size:10px}
 .hero-under-note{font-size:11px;line-height:1.5;gap:7px}
 .categories-section{padding-top:24px;padding-bottom:18px}
 .section-title{font-size:24px}
 .category-heading .muted,.benefits-section .muted{font-size:13px}
 .category-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .category-tile{border-radius:13px}
 .benefits-section{padding-top:12px;padding-bottom:25px}
 .benefit-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .benefit-tile{border-radius:11px}
 .benefit-tile:nth-child(5){grid-column:1/-1;width:calc(50% - 4px);justify-self:center}
 .planner-banner{gap:13px;padding:20px 15px;margin-bottom:30px}
 .planner-copy h2{font-size:23px}
 .planner-copy>p:not(.eyebrow){font-size:13px;line-height:1.65}
 .planner-copy .button{min-height:44px;font-size:12px;padding:10px 12px}
 .planner-stamp{width:76px;height:76px;flex:0 0 76px}
 .planner-stamp span{font-size:22px}
 .planner-stamp strong{font-size:10px}
 .planner-stamp small{font-size:8px}
 .showcase-section{padding:12px 0 24px}
 .showcase-section .section-heading{align-items:flex-start;flex-direction:column;gap:6px}
 .showcase-section .section-heading h2{font-size:23px}
 .showcase-section .section-heading .muted{font-size:13px}
 .showcase-grid,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .catalog-section{padding-bottom:25px;scroll-margin-top:8px}
 .catalog-section .section-heading h2{font-size:24px}
 .catalog-section .section-heading .muted{font-size:13px}
 .result-count{font-size:11px}
 .catalog-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px;border-radius:14px}
 .catalog-toolbar>label{font-size:11px}
 .catalog-toolbar input[type=number],.catalog-toolbar select{min-height:44px;padding:9px;font-size:12px}
 .catalog-toolbar .featured-filter{white-space:normal;align-items:flex-start;font-size:11px;line-height:1.35}
 .catalog-toolbar .featured-filter input{flex-shrink:0}
 .product-image-wrap{height:137px}
 .product-content{padding:10px}
 .product-category{font-size:10px}
 .product-content h3{font-size:13px;line-height:1.35}
 .product-description{font-size:12px;min-height:55px;line-height:1.45;margin-bottom:8px}
 .field-label{font-size:10px;margin-top:8px}
 .select-field,.quantity-field,.nominal-field{font-size:12px;min-height:42px;padding:8px}
 .price-row{align-items:flex-start;flex-direction:column;gap:2px;margin:10px 0 7px}
 .price-main{font-size:16px}
 .price-unit{font-size:11px}
 .quantity-row{gap:5px}
 .quantity-row .quantity-field{width:62px;flex:0 0 62px}
 .add-button{font-size:10px;padding:9px 5px;min-height:42px}
 .product-detail-link{font-size:11px}
 .product-pagination{padding-top:18px;font-size:12px}
 .closing-note{align-items:flex-start;gap:10px;padding:13px;margin-bottom:25px;flex-wrap:wrap}
 .closing-note strong{font-size:12px}.closing-note p{font-size:12px}
 .closing-note>a{margin-left:46px;font-size:11px}
 .footer-columns{grid-template-columns:1fr;gap:17px;padding-bottom:22px}
 .footer-wordmark{width:180px;height:78px}
 .footer-columns p,.footer-columns a,.footer-about p{font-size:13px}
 .footer-columns h2{font-size:14px}
 .footer-bottom{font-size:11px;flex-direction:column;gap:3px}
 .floating-whatsapp{right:12px;bottom:84px;padding:10px 12px;font-size:11px}
 .mobile-nav a,.mobile-nav button{font-size:10px;min-height:57px}
}
@media(max-width:390px){.catalog-toolbar{gap:8px;padding:8px}.product-image-wrap{height:122px}.product-content{padding:8px}.product-description{min-height:60px;font-size:11px}.product-content h3{font-size:12px}.price-main{font-size:15px}.add-button{font-size:9px}.brand-wordmark{width:116px;height:39px}}
@media(prefers-reduced-motion:reduce){.hero-slide,.category-tile,.button,.product-card{transition:none}}

/* Rev15: compact informational pages and readable base typography */
body{font-size:16px}
@media(max-width:680px){body{font-size:16px}.search-box input{font-size:16px}}
.info-page{min-height:100vh;display:flex;flex-direction:column;background:#fffdf7}
.info-page .site-header{min-height:78px}
.info-main{flex:1;padding-top:24px;padding-bottom:54px;max-width:950px}
.info-card{padding:clamp(22px,4.5vw,48px);border:1px solid #e6ebd9;border-radius:24px;background:linear-gradient(145deg,#fffef6,#f4f7e8);box-shadow:0 15px 45px rgba(38,80,39,.07)}
.info-card h1{font:700 clamp(28px,4vw,42px)/1.15 "Plus Jakarta Sans",Inter,sans-serif;letter-spacing:-.035em;color:var(--green-deep);margin:0 0 18px}
.info-card h2{font:600 20px/1.3 "Plus Jakarta Sans",Inter,sans-serif;color:var(--green-deep);margin:26px 0 10px}
.info-card p,.info-card li,.info-card address{font:400 16px/1.85 Inter,sans-serif;color:#455549}
.info-card li{margin-bottom:8px}
.info-card address{font-style:normal}
.info-card .button{min-height:46px;margin-top:10px}
.info-page .breadcrumbs{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:3px 0 20px;color:#738073;font-size:13px}
.info-page .breadcrumbs a{color:var(--green);font-weight:700}
.info-page .detail-footer{padding-top:20px;padding-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
@media(max-width:680px){.info-main{padding-top:14px;padding-bottom:30px}.info-card{border-radius:18px}.info-card p,.info-card li,.info-card address{font-size:16px}.info-page .site-header{padding:10px 14px}.info-page .site-header .button{min-height:42px;padding:10px 13px;font-size:12px}.info-page .detail-footer{padding-bottom:86px;justify-content:center;text-align:center}}

.product-image[hidden]{display:none!important}


/* Rev18 — Stage 1 product detail, empty photo slots, and accessible image zoom */
.product-image-wrap{background:#f7f8ef}
.product-image-placeholder{background:#f7f8ef}
.detail-page{min-height:100vh;background:#fffdf7}
.detail-header{min-height:82px}
.detail-header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.button-light{background:#fff;border:1px solid #dfe8d7;color:var(--green-deep)}
.detail-main{padding-top:18px;padding-bottom:58px}
.breadcrumbs{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:4px 0 20px;color:#748174;font-size:13px}
.breadcrumbs a{color:var(--green);font-weight:700}
.detail-layout{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:clamp(22px,4vw,48px);align-items:start}
.detail-image-panel{min-width:0}
.detail-image-frame{position:relative;display:grid;place-items:center;aspect-ratio:1/1;overflow:hidden;border:1px solid #e4eadb;border-radius:24px;background:#f7f8ef}
.detail-image-frame.is-empty{background:#f7f8ef}
.detail-image-frame img{display:block;width:100%;height:100%;object-fit:contain;padding:14px}
.detail-image-frame img[hidden]{display:none!important}
.detail-image-note{margin:10px 2px 0;color:#829083;font-size:12px}
.detail-zoom-button{margin-top:12px;min-height:44px}
.detail-information{min-width:0;padding:6px 0}
.detail-information h1{margin:0 0 12px;color:var(--green-deep);font:700 clamp(26px,3.2vw,38px)/1.2 "Plus Jakarta Sans",Inter,sans-serif;letter-spacing:-.035em}
.detail-short-description{margin:0 0 18px;color:#68766b;font-size:15px;line-height:1.8}
.detail-price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;padding:17px 0;margin-bottom:17px;border-top:1px solid #e5eadb;border-bottom:1px solid #e5eadb}
.detail-price strong{font:800 clamp(25px,3vw,34px)/1.2 Inter,sans-serif;color:var(--green-deep);letter-spacing:-.04em}
.detail-price span{color:#758275;font-size:13px}
.detail-purchase-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.detail-purchase-fields label{display:grid;gap:6px;color:#526454;font-size:12px;font-weight:700}
.detail-purchase-fields label:first-child{grid-column:1/-1}
.detail-purchase-fields .select-field,.detail-purchase-fields .quantity-field{min-height:46px;font-size:14px}
.detail-stock{display:inline-flex;margin:15px 0;padding:6px 11px;border-radius:999px;background:#e9f5df;color:#326b37;font-size:12px;font-weight:750}
.detail-actions{display:flex;gap:10px;flex-wrap:wrap}
.detail-actions .button{min-height:48px;flex:1}
.detail-note{margin-top:15px;color:#7d887d;font-size:12px;line-height:1.7}
.detail-copy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:30px}
.detail-copy-card{padding:20px;border:1px solid #e5eadb;border-radius:17px;background:#fff}
.detail-copy-card h2{margin:0 0 9px;color:var(--green-deep);font:650 16px/1.35 "Plus Jakarta Sans",Inter,sans-serif}
.detail-copy-card p{margin:0;color:#647265;font-size:14px;line-height:1.8}
.related-section{padding-top:38px}
.related-section .section-heading h2{font:700 clamp(22px,2.6vw,30px)/1.2 "Plus Jakarta Sans",Inter,sans-serif}
.related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.related-card{min-width:0;display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:11px;padding:10px;border:1px solid #e5eadb;border-radius:15px;background:white}
.related-image-frame{width:76px;height:76px;overflow:hidden;border-radius:10px;background:#f7f8ef}
.related-image-frame img{width:100%;height:100%;object-fit:contain;padding:4px}
.related-card strong,.related-card small{display:block}
.related-card strong{font:600 12px/1.45 "Plus Jakarta Sans",Inter,sans-serif;color:var(--green-deep)}
.related-card small{margin-top:4px;color:#526d54;font-size:12px;font-weight:750}
.detail-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding-block:18px}
.photo-zoom-dialog{width:min(92vw,900px);max-width:none;max-height:92dvh;padding:16px;border:0;border-radius:20px;background:#fffdf7;box-shadow:0 20px 75px rgba(0,0,0,.3)}
.photo-zoom-dialog::backdrop{background:rgba(13,33,18,.76)}
.photo-zoom-dialog form{display:flex;justify-content:flex-end}
.photo-zoom-close{min-height:44px;padding:10px 16px;border:1px solid #dfe8d7;border-radius:999px;background:white;color:var(--green-deep);font-weight:700}
.photo-zoom-dialog img{display:block;max-width:100%;max-height:calc(92dvh - 82px);object-fit:contain;margin:8px auto 0}
@media(max-width:850px){.related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-copy-grid{grid-template-columns:1fr}.detail-layout{gap:22px}}
@media(max-width:680px){.detail-main{padding-top:10px;padding-bottom:26px}.detail-header{padding:10px 14px;gap:12px;flex-wrap:wrap}.detail-header-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.detail-header-actions .button{padding:11px 10px;min-height:44px;font-size:12px}.breadcrumbs{margin:8px 0 14px;font-size:12px}.detail-layout{grid-template-columns:1fr;gap:18px}.detail-image-frame{border-radius:17px;aspect-ratio:1/1}.detail-information{padding:0}.detail-information h1{font-size:27px}.detail-short-description{font-size:16px}.detail-price strong{font-size:28px}.detail-purchase-fields .select-field,.detail-purchase-fields .quantity-field{font-size:16px}.detail-purchase-fields label{font-size:13px}.detail-actions{display:grid;grid-template-columns:1fr}.detail-actions .button{min-height:48px;font-size:14px}.detail-copy-card{padding:17px}.detail-copy-card p{font-size:15px}.related-grid{grid-template-columns:1fr}.related-card{grid-template-columns:76px 1fr}.detail-footer{padding-bottom:84px;justify-content:center;text-align:center}.detail-footer .footer-wordmark{object-position:center}.photo-zoom-dialog{padding:10px;border-radius:14px}}
@media(max-width:680px){.site-header{position:sticky;top:0;z-index:30}}

/* Tahap 2 — checkout tamu, instruksi pembayaran dan pelacakan pesanan */
.location-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:14px;border:1px solid #e3e9d8;border-radius:14px;background:#f8fbf2}.location-panel p{margin:4px 0 0}.location-panel .button{padding:10px 14px;white-space:nowrap}.shipping-quote{padding:12px 14px;border-radius:12px;background:#f1f7e4;color:#315c35;border:1px solid #e0eccd;font-size:13px}.payment-methods-field{border:0;padding:0;margin:5px 0}.payment-methods-field legend{font-weight:800;margin-bottom:10px;color:var(--green-deep);font-family:"Plus Jakarta Sans",Inter,sans-serif}.payment-method-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.payment-method-card{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid #dfe7d6;border-radius:14px;background:#fff;cursor:pointer;min-height:76px}.payment-method-card:has(input:checked){border-color:var(--green);box-shadow:0 0 0 2px rgba(40,116,60,.12);background:#fbfdf5}.payment-method-card input{margin-top:3px;width:18px;height:18px;accent-color:var(--green);flex:0 0 auto}.payment-method-card.is-disabled{opacity:.55;background:#f8f8f5;cursor:not-allowed}.payment-method-body{display:flex;flex-direction:column;gap:3px;min-width:0}.payment-method-body strong{font-family:"Plus Jakarta Sans",Inter,sans-serif;font-size:13px;color:var(--green-deep)}.payment-method-body small{color:var(--muted);font-size:11px;line-height:1.45}.payment-method-logo{display:block;object-fit:contain;object-position:left center;height:28px;max-width:108px;background:#fff;margin-bottom:3px}.checkout-breakdown{padding:14px;border:1px solid #e6eadd;border-radius:14px;background:#fffdf8}.checkout-breakdown>div{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:5px 0;font-size:13px}.checkout-breakdown>div strong{font-variant-numeric:tabular-nums;text-align:right}.checkout-breakdown .checkout-total{border-top:1px solid #e6eadd;margin-top:11px;padding-top:12px;font-size:15px;color:var(--green-deep);font-weight:800}.order-main{max-width:880px;padding-bottom:70px}.order-track-card,.order-summary-card,.payment-instruction-card{background:#fff;border:1px solid #e3eadb;border-radius:22px;box-shadow:0 12px 32px rgba(34,77,41,.06);padding:clamp(18px,3vw,30px);margin:0 0 18px}.order-track-card h1{color:var(--green-deep);font-size:clamp(28px,4vw,42px);line-height:1.15;margin-bottom:10px}.track-form{max-width:540px;margin-top:22px}.track-form label,.payment-upload label{display:flex;flex-direction:column;gap:7px;color:#49634e;font-size:13px;font-weight:750}.track-form input,.payment-upload input[type=file]{min-height:46px;border:1px solid #dce6d6;border-radius:12px;padding:10px 13px;background:#fff;color:var(--ink);width:100%}.track-form input:focus,.payment-upload input:focus{outline:2px solid #b8d88c;outline-offset:1px}.order-result{display:grid;gap:18px}.order-summary-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.order-summary-heading h2{font-size:clamp(22px,3vw,30px);margin:0;color:var(--green-deep);overflow-wrap:anywhere}.status-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 11px;background:#eef7db;color:#2f6b39;font-size:11px;font-weight:800;text-align:center}.status-pill.is-cancelled{background:#fff0e9;color:#9b3d26}.order-progress{padding:16px 0 19px;border-bottom:1px solid #e8eddf;margin-bottom:17px}.order-step-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;list-style:none;margin:0;padding:0}.order-step-list li{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;color:#879386;font-size:10px}.order-step-list li>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;border:1px solid #dce4d3;background:#fff;font-size:12px;font-weight:800}.order-step-list li.is-current{color:var(--green-deep);font-weight:800}.order-step-list li.is-current>span,.order-step-list li.is-done>span{border-color:#2f793f;background:#2f793f;color:#fff}.order-step-list li small{font-size:10px;line-height:1.4}.order-items-list h3,.payment-upload h3{font-family:"Plus Jakarta Sans",Inter,sans-serif;color:var(--green-deep);font-size:15px;margin:8px 0 10px}.order-item-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #eef0e9;font-size:13px}.order-item-row>span{display:flex;flex-direction:column;gap:4px}.order-item-row small{font-size:11px;color:var(--muted)}.order-item-row>strong{white-space:nowrap}.order-money-lines{border-top:1px solid #dfe7d6;margin-top:13px;padding-top:9px}.order-money-lines>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:6px 0;font-size:13px}.order-money-lines>div strong{font-variant-numeric:tabular-nums;text-align:right}.order-money-lines>div.is-total{font-size:15px;font-weight:850;color:var(--green-deep)}.order-address{overflow-wrap:anywhere}.order-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:17px}.button-outline{border:1px solid #d4e1ca;background:#fff;color:var(--green-deep)}.payment-instruction-card h2{color:var(--green-deep);margin-bottom:15px}.payment-account-row{padding:16px;border-radius:15px;background:#fbfcf6;border:1px solid #e6ecdd}.payment-account-row p{margin:10px 0 0;font-size:13px;overflow-wrap:anywhere}.account-number{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid #e0e8d9;border-radius:12px;padding:9px 10px;margin:12px 0}.account-number>span{font-weight:850;letter-spacing:.06em;font-size:17px;overflow-wrap:anywhere}.account-number .button{padding:8px 12px;min-height:38px;font-size:11px;flex:0 0 auto}.payment-deadline{display:grid;grid-template-columns:1fr auto;gap:4px 12px;margin-top:14px;padding:14px;background:#fff8e8;border:1px solid #ffe3ad;border-radius:13px}.payment-deadline span{font-size:12px;color:#6e603f}.payment-deadline strong{font-size:18px;font-variant-numeric:tabular-nums;color:#8b4b0a}.payment-deadline small{grid-column:1/-1;color:#7c6c50;font-size:11px}.payment-upload{margin-top:22px;padding-top:20px;border-top:1px solid #e5eadf}.payment-upload>p{font-size:13px}.order-alert{margin:14px 0 0;padding:12px 14px;border-radius:12px;background:#eef7db;color:#285d32;font-size:13px}.order-alert.is-error{background:#fff0e9;color:#913b25}.order-help{padding:6px 0 25px}.order-help a{text-decoration:underline;color:var(--green)}.form-error{color:#a33a24;font-size:13px}
@media(max-width:680px){.location-panel{grid-template-columns:1fr}.location-panel .button{width:100%}.payment-method-options{grid-template-columns:1fr}.order-step-list{gap:4px}.order-step-list li small{font-size:8px}.order-step-list li>span{width:25px;height:25px}.order-summary-heading{flex-direction:column}.order-actions>.button{width:100%}.account-number>span{font-size:15px}.order-main{padding-bottom:40px}}

.form-stack input[type="radio"]{width:18px;height:18px;padding:0;margin:0;border:0;display:block;flex:0 0 auto;accent-color:var(--green)}

.footer-payment-methods{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:10px 0 12px}.footer-payment-logo{display:block;object-fit:contain;height:28px;max-width:78px;padding:4px 7px;border:1px solid #e2e9dc;border-radius:8px;background:#fff}.payment-footer-label{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:5px 8px;background:#fff;border:1px solid #e2e9dc;border-radius:8px;color:var(--green-deep);font:800 10px "Plus Jakarta Sans",Inter,sans-serif}
@media(min-width:681px){.footer-payment-logo{height:32px}}

/* Promo content managed from the owner dashboard. */
.active-promotions-section{padding-top:18px;padding-bottom:20px}.active-promotions-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:12px}.active-promotions-heading h2{margin:0;font-family:"Plus Jakarta Sans",sans-serif;font-size:clamp(20px,2.5vw,28px);color:#24532e}.active-promotion-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.active-promo-card{display:grid;align-content:start;gap:8px;padding:18px;border:1px solid #dce8cf;border-radius:15px;background:linear-gradient(140deg,#fbfff4,#f0f8e5)}.active-promo-card strong{font-family:"Plus Jakarta Sans",sans-serif;color:#24532e}.active-promo-card p{margin:0;font-size:14px;color:#566655;line-height:1.6}.active-promo-card span{font-size:12px;font-weight:700;color:#92520d}.active-promo-card code{width:max-content;padding:5px 8px;border:1px dashed #c0d6a7;border-radius:7px;background:white;color:#315c30;font-weight:700}@media(max-width:680px){.active-promotions-heading{align-items:start;flex-direction:column;gap:5px}.active-promotion-list{grid-template-columns:1fr}.active-promo-card{padding:14px}}

/* Penyesuaian logo header Sahabat Sayur */
.site-header .brand {
  flex: 0 0 auto;
  min-width: 0;
  max-width: 260px;
}

.site-header .brand-wordmark {
  display: block;
  width: 240px;
  height: 76px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 1100px) {
  .site-header .brand-wordmark {
    width: 190px;
    height: 65px;
  }
}

@media (max-width: 680px) {
  .site-header .brand {
    max-width: 190px;
  }

  .site-header .brand-wordmark {
    width: 180px;
    height: 58px;
  }
}

@media (max-width: 390px) {
  .site-header .brand-wordmark {
    width: 155px;
    height: 50px;
  }
}


/* === Sahabat Sayur layout refinement === */
:root {
  color-scheme: light;
}
html, body {
  background: #ffffff;
}
.site-header, .site-footer {
  background-color: #ffffff;
}
.brand-wordmark {
  width: clamp(112px, 13vw, 160px);
  height: auto;
  max-height: 66px;
  object-fit: contain;
}
.footer-wordmark {
  width: clamp(130px, 15vw, 190px);
  height: auto;
  max-height: 82px;
  object-fit: contain;
}
.product-grid, .catalog-grid, #productGrid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.product-card {
  min-width: 0;
}
.product-image-wrap {
  aspect-ratio: 1 / 1;
}
.product-name {
  font-size: clamp(12px, 0.95vw, 15px);
  line-height: 1.4;
}
.product-price {
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.35;
  font-weight: 800;
}
.section-title, .catalog-title {
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.25;
}
.footer-about > strong {
  font-size: 13px;
}
@media (max-width: 1000px) {
  .product-grid, .catalog-grid, #productGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .brand-wordmark {
    width: 108px;
    max-height: 48px;
  }
  .footer-wordmark {
    width: 145px;
    max-height: 65px;
  }
  .product-name {
    font-size: 11px;
    line-height: 1.35;
  }
  .product-price {
    font-size: 13px;
  }
  .section-title, .catalog-title {
    font-size: 20px;
  }
}
/* === End layout refinement === */

/* === Sahabat Sayur responsive refinement v2 === */
html, body {
  background: #ffffff;
}

.site-header, .site-footer {
  background-color: #ffffff;
}

.brand-wordmark {
  display: block;
  width: clamp(112px, 13vw, 160px) !important;
  height: auto !important;
  max-height: 66px;
  object-fit: contain;
}

.footer-wordmark {
  display: block;
  width: clamp(112px, 13vw, 160px) !important;
  height: auto !important;
  max-height: 66px;
  object-fit: contain;
}


.product-content h3 {
  font-size: clamp(12px, 0.95vw, 15px);
  line-height: 1.4;
}

.price-main {
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.35;
}

@media (max-width: 680px) {
  .brand-wordmark, .footer-wordmark {
    width: 108px !important;
    max-height: 48px;
  }


  .product-content {
    padding: 8px;
  }

  .product-content h3 {
    font-size: 11px;
    line-height: 1.35;
  }

  .price-main {
    font-size: 13px;
  }
}
/* === End responsive refinement v2 === */

/* === Sahabat Sayur product card alignment v3 === */

/* Semua kartu dalam satu baris memiliki tinggi yang konsisten */
.product-grid {
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.product-image-wrap {
  flex: 0 0 175px;
  height: 175px;
}

.product-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

/* Area informasi produk */
.product-category {
  min-height: 14px;
}

.product-content h3 {
  min-height: 39px;
  overflow-wrap: anywhere;
}

.product-description {
  min-height: 53px;
  margin-bottom: 10px;
}

/* Label dan pilihan dibuat memenuhi lebar kartu */
.field-label {
  line-height: 1.35;
}

.select-field,
.quantity-field,
.nominal-field {
  min-height: 41px;
}

/* Harga tidak berpindah akibat teks satuan yang panjang */
.price-row {
  min-height: 38px;
  align-items: center;
  margin: 12px 0 8px;
}

.price-main {
  flex: 0 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.price-unit {
  flex: 0 1 auto;
  text-align: right;
}

/* Tombol keranjang dan jumlah sejajar pada dasar kartu */
.quantity-row {
  align-items: stretch;
  min-height: 48px;
  margin-top: auto;
  gap: 7px;
}

.quantity-row .quantity-field {
  flex: 0 1 68px;
  width: 68px;
  min-width: 0;
  min-height: 48px;
}

.add-button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 48px;
  padding: 7px 5px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.product-content > .muted,
.product-content > a {
  margin-top: 10px;
}

/* Tetap terbaca pada layar kecil */
@media (max-width: 680px) {

  .product-image-wrap {
    flex-basis: 100px;
    height: 100px;
  }

  .product-content {
    padding: 8px;
  }

  .product-content h3 {
    min-height: 32px;
    font-size: 11px;
  }

  .product-description {
    min-height: 58px;
    font-size: 10px;
  }

  .price-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    margin-top: 8px;
  }

  .price-unit {
    text-align: left;
    overflow-wrap: anywhere;
  }

  .quantity-row {
    gap: 5px;
  }

  .quantity-row .quantity-field {
    flex-basis: 42px;
    width: 42px;
    padding: 7px 5px;
    font-size: 10px;
  }

  .add-button {
    font-size: 10px;
  }
}

/* === End product card alignment v3 === */

/* === Sahabat Sayur card alignment v4 === */

/* Samakan susunan isi setiap kartu */
.product-grid {
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.product-content h3 {
  min-height: 2.6em;
  margin-bottom: 6px;
}

.product-description {
  min-height: 4.8em;
  margin-bottom: 12px;
}

/* Label dan dropdown memiliki tinggi yang seragam */
.product-content > .field-label {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.product-content .select-field {
  width: 100%;
  height: 42px;
  flex: 0 0 42px;
}

/* Harga memiliki area dengan tinggi tetap */
.product-content .price-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  margin: 12px 0 8px;
  gap: 5px;
}

.product-content .price-main {
  min-width: 0;
  font-size: clamp(13px, 1vw, 17px);
  overflow-wrap: anywhere;
}

.product-content .price-unit {
  min-width: 0;
  text-align: right;
  overflow-wrap: anywhere;
}

/* Produk tanpa nominal tetap menyediakan ruang yang sama */
.product-content .nominal-field {
  display: block;
  width: 100%;
  height: 41px;
  min-height: 41px;
  margin: 0 0 4px;
}

.product-content .nominal-field[hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
}

/* Tombol pembelian disejajarkan */
.product-content .quantity-row {
  display: flex;
  align-items: stretch;
  gap: 7px;
  min-height: 48px;
  margin: 0;
}

.product-content .quantity-row .quantity-field {
  flex: 0 0 68px;
  width: 68px;
  height: 48px;
  min-height: 48px;
}

.product-content .add-button {
  flex: 1 1 0;
  min-width: 0;
  height: 48px;
  min-height: 48px;
  padding: 5px;
  line-height: 1.25;
  white-space: normal;
}

/* Tautan detail dan keterangan minimum punya area tetap */
.product-content .product-detail-link {
  display: flex;
  align-items: center;
  min-height: 28px;
  margin-top: 5px;
}

.product-content [data-role="minimum"] {
  display: block;
  min-height: 16px;
  margin: 0;
}

.product-content [data-role="minimum"][hidden] {
  display: block !important;
  visibility: hidden;
}

/* Responsif untuk tampilan HP */
@media (max-width: 680px) {

  .product-content {
    padding: 8px;
  }

  .product-content h3 {
    min-height: 2.6em;
    font-size: 11px;
  }

  .product-description {
    min-height: 5.5em;
    font-size: 10px;
  }

  .product-content .price-row {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }

  .product-content .price-unit {
    text-align: left;
  }

  .product-content .quantity-row .quantity-field {
    flex-basis: 42px;
    width: 42px;
    padding: 5px;
    font-size: 10px;
  }

  .product-content .add-button {
    font-size: 10px;
  }
}

/* === End card alignment v4 === */
/* Header marketplace Sahabat Sayur */
.site-header {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 24px);
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-header .brand {
  flex: 0 0 auto;
  width: clamp(165px, 15vw, 205px);
  max-width: none;
  min-width: 0;
}

.site-header .brand-wordmark {
  display: block;
  width: 100% !important;
  height: 76px !important;
  max-height: none;
  object-fit: contain;
  object-position: left center;
}

.site-header .desktop-links {
  flex: 0 0 auto;
  margin-left: 0;
  gap: clamp(10px, 1vw, 17px);
}

.site-header .header-actions {
  flex: 0 1 430px;
  min-width: 0;
  max-width: none;
  gap: 9px;
}

.site-header .search-box {
  flex: 1 1 175px;
  width: auto;
  min-width: 150px;
  max-width: 190px;
  min-height: 46px;
  border-radius: 12px;
  padding: 9px 12px;
}

.site-header .search-box input {
  min-width: 0;
  font-size: 13px;
}

.site-header .cart-open {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .site-header {
    gap: 12px;
  }

  .site-header .brand {
    width: 165px;
  }

  .site-header .brand-wordmark {
    height: 64px !important;
  }

  .site-header .desktop-links {
    gap: 10px;
  }

  .site-header .header-actions {
    flex-basis: 370px;
    min-width: 0;
  }

  .site-header .search-box {
    min-width: 125px;
    max-width: 165px;
  }
}

@media (max-width: 850px) and (min-width: 681px) {
  .site-header {
    flex-wrap: wrap;
  }

  .site-header .brand {
    width: 180px;
  }

  .site-header .header-actions {
    flex: 1 1 55%;
  }

  .site-header .desktop-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 10px 14px 12px;
  }

  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
    width: min(190px, 100%);
    max-width: none;
  }

  .site-header .brand-wordmark {
    width: 100% !important;
    height: 58px !important;
  }

  .site-header .header-actions {
    display: contents;
  }

  .site-header .search-box {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 9px 13px;
    border-radius: 12px;
  }

  .site-header .cart-open {
    display: none;
  }
}

@media (max-width: 390px) {
  .site-header .brand {
    width: min(165px, 100%);
  }

  .site-header .brand-wordmark {
    height: 51px !important;
  }
}
/* Akun pelanggan: login, registrasi, dan status sesi */
.site-header .account-open {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--line, #dce5d9);
  border-radius: 12px;
}
.account-modal {
  width: min(100% - 28px, 460px);
  max-height: min(88vh, 760px);
  overflow-y: auto;
  margin: auto;
  padding: 22px;
  border-radius: 20px;
  background: var(--surface, #fff);
  color: var(--text, #203126);
  box-shadow: 0 20px 70px rgba(0,0,0,.22);
}
#accountBackdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(15,25,17,.56);
}
#accountBackdrop[hidden],
#accountSignedOut[hidden],
#accountSignedIn[hidden],
#customerRegisterForm[hidden],
#customerLoginForm[hidden] {
  display: none !important;
}
.account-modal .drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.account-modal h2 { margin: 0; }
.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 18px;
}
.account-tab {
  min-height: 42px;
  border: 1px solid var(--line, #dce5d9);
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.account-tab.is-active {
  background: #e8f5e9;
  border-color: #2f6b39;
  color: #24552d;
  font-weight: 700;
}
.account-modal .form-stack { display: grid; gap: 14px; }
.account-modal .form-stack label { display: grid; gap: 6px; }
.account-modal .form-stack input {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line, #dce5d9);
  border-radius: 10px;
  font: inherit;
}
.account-modal .account-message {
  min-height: 1em;
  margin: 0;
  color: #a12b24;
  font-size: 13px;
}
.account-modal .account-hint,
.account-modal .account-guest-note {
  color: var(--muted, #657267);
  font-size: 13px;
  line-height: 1.5;
}
.account-modal .account-guest-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line, #dce5d9);
}
@media(max-width:680px) {
  .site-header .account-open {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    min-height: 40px;
    padding: 8px 10px;
  }
  .account-modal { padding: 18px; }
}

/* Tata letak tombol Login dan Belanja Tamu */
.account-login-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 10px;
  margin-top: 4px;
}
.account-login-actions .button {
  min-width: 0;
  min-height: 46px;
  padding: 11px 10px;
  white-space: normal;
  text-align: center;
}
.account-login-actions .button-guest {
  background: #e8f5e9;
  color: #194f2d;
  border: 1px solid #4a8a4b;
  box-shadow: 0 3px 10px rgba(47,107,57,.12);
}
.account-login-actions .button-guest:hover {
  background: #d9edcf;
}
@media (max-width: 380px) {
  .account-login-actions { gap: 7px; }
  .account-login-actions .button {
    font-size: 11px;
    padding-inline: 6px;
  }
}
/* Perbaikan layout modal checkout dan lokasi pengantaran */
.checkout-modal {
  box-sizing: border-box;
  width: min(520px, 100%);
  min-width: 0;
  overflow-x: hidden;
}

.checkout-modal *,
.checkout-modal *::before,
.checkout-modal *::after {
  box-sizing: border-box;
  min-width: 0;
}

.checkout-modal .form-stack > label,
.checkout-modal .location-panel > div,
.checkout-modal .location-panel > label {
  display: block;
  width: 100%;
  overflow-wrap: anywhere;
}

.checkout-modal .location-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.checkout-modal .location-panel .button {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.checkout-modal .location-panel input,
.checkout-modal .form-stack input,
.checkout-modal .form-stack textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.checkout-modal .payment-method-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 520px) {
  .modal-backdrop {
    padding: 8px;
    align-items: flex-start;
  }

  .checkout-modal {
    width: 100%;
    max-height: calc(100dvh - 16px);
    padding: 17px 14px;
    margin: 0 auto;
  }

  .checkout-modal .payment-method-options {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Perbaikan khusus kartu pembayaran pada checkout */
@media (max-width: 680px) {
  .checkout-modal .payment-method-options {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px;
  }

  .checkout-modal .payment-method-card {
    display: flex;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
    gap: 10px;
    padding: 13px;
  }

  .checkout-modal .payment-method-body {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .checkout-modal .payment-method-body strong,
  .checkout-modal .payment-method-body small {
    overflow-wrap: anywhere;
    word-break: normal;
  }
}
/* Fix isi kartu metode pembayaran */
.checkout-modal .payment-method-options {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100% !important;
  min-width: 0 !important;
}

.checkout-modal .payment-method-card {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 10px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.checkout-modal .payment-method-card > input {
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  margin: 3px 0 0 !important;
}

.checkout-modal .payment-method-card .payment-method-body {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere;
}

.checkout-modal .payment-method-body strong,
.checkout-modal .payment-method-body small {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}
/* === Brand text beside logo === */
.site-header .brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.site-header .brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.site-header .brand-name {
  color: #205b32;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.25px;
}

.site-header .brand-tagline {
  margin-top: 4px;
  color: #64715f;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1px;
}

@media (max-width: 1100px) and (min-width: 681px) {
  .site-header .brand {
    gap: 7px;
  }

  .site-header .brand-name {
    font-size: 12px;
  }

  .site-header .brand-tagline {
    font-size: 9px;
  }
}

@media (max-width: 680px) {
  .site-header .brand {
    gap: 6px;
  }

  .site-header .brand-copy {
    white-space: normal;
  }

  .site-header .brand-name {
    font-size: 12px;
  }

  .site-header .brand-tagline {
    font-size: 9px;
  }
}
/* === End brand text beside logo === */

/* Header balance: widen the usable row and keep brand text beside its mark. */
.site-header {
  padding-left: max(24px, calc((100vw - 1480px) / 2));
  padding-right: max(24px, calc((100vw - 1480px) / 2));
}

.site-header .brand {
  display: flex;
  flex-direction: row;
  flex: 0 0 320px;
  width: 320px;
  max-width: 320px;
  gap: 12px;
}

.site-header .brand-wordmark {
  flex: 0 0 68px;
  width: 68px !important;
  height: 68px !important;
  max-height: 68px;
  object-fit: contain;
}

.site-header .brand-copy {
  flex: 1 1 auto;
}

.site-header .brand-name {
  font-size: 15px;
}

.site-header .brand-tagline {
  font-size: 10px;
}

.site-header .header-actions {
  flex: 0 1 540px;
  min-width: 0;
  gap: 10px;
}

.site-header .search-box {
  flex: 1 1 270px;
  min-width: 230px;
  max-width: 280px;
}

@media (max-width: 1250px) and (min-width: 851px) {
  .site-header {
    flex-wrap: wrap;
    gap: 10px 24px;
  }

  .site-header .brand {
    flex-basis: 280px;
    width: 280px;
  }

  .site-header .header-actions {
    flex: 1 1 500px;
  }

  .site-header .search-box {
    min-width: 210px;
    max-width: 280px;
  }

  .site-header .desktop-links {
    order: 3;
    width: 100%;
    justify-content: center;
    padding: 4px 0 8px;
  }

  .site-header .desktop-links .desktop-link-active:after {
    bottom: -8px;
  }
}

@media (max-width: 850px) {
  .site-header .brand {
    flex: 0 1 250px;
    width: min(250px, 100%);
    max-width: 250px;
    gap: 8px;
  }

  .site-header .brand-wordmark {
    flex-basis: 58px;
    width: 58px !important;
    height: 56px !important;
    max-height: 56px;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-header .brand {
    flex: initial;
    width: 100%;
    max-width: 260px;
    gap: 7px;
  }

  .site-header .brand-wordmark {
    flex-basis: 52px;
    width: 52px !important;
    height: 50px !important;
    max-height: 50px;
  }

  .site-header .brand-name {
    font-size: 12px;
  }

  .site-header .brand-tagline {
    font-size: 9px;
  }

  .site-header .search-box {
    min-width: 0;
    max-width: none;
  }
}

/* === Rev23: grid responsif, kartu produk ringkas, navigasi bawah 4 menu === */
.product-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px}
@media (max-width:1100px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media (max-width:900px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px}}
@media (max-width:680px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}}

.product-content{padding:12px}
.product-content h3{font-size:14px;line-height:1.3;min-height:2.6em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:normal;word-break:normal}
.product-content .product-description{font-size:11px!important;line-height:1.45!important;min-height:0!important;height:2.9em;margin-bottom:10px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-content .field-label{font-size:11px}
.product-content .select-field{font-size:12px;padding-left:8px;padding-right:22px;text-overflow:ellipsis}
.product-content .price-row{flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;min-height:44px}
.product-content .price-main{white-space:nowrap;overflow-wrap:normal;word-break:normal;font-size:15px}
.product-content .price-unit{text-align:left;font-size:11px;line-height:1.3;overflow-wrap:normal;word-break:normal}
.product-content .quantity-row .quantity-field{flex:0 0 58px;width:58px}
.product-content .add-button{white-space:nowrap;font-size:12px;padding:0 6px;overflow:hidden;text-overflow:ellipsis}
.product-content .product-detail-link{font-size:11px;white-space:nowrap}

@media (max-width:680px){
  /* deskripsi disembunyikan di HP agar kartu rapi */
  .product-content .product-description{display:none!important}
  .product-content{padding:9px}
  .product-content h3{font-size:12.5px}
  .product-content .field-label{font-size:10px}
  .product-content .select-field{height:38px;flex-basis:38px;font-size:11.5px}
  .product-content .price-main{font-size:14px}
  .product-content .quantity-row .quantity-field{flex-basis:50px;width:50px}
  .product-content .add-button{font-size:11.5px;padding:0 4px}
}
@media (max-width:360px){
  .product-content .quantity-row{flex-direction:column;min-height:0;gap:6px}
  .product-content .quantity-row .quantity-field{width:100%;flex:0 0 40px;height:40px;min-height:40px}
  .product-content .add-button{flex:0 0 40px;height:40px;min-height:40px}
}

/* ikon SVG */
.announcement-leaf svg{display:block}
#getLocation{display:inline-flex;align-items:center;justify-content:center;gap:6px}
#getLocation svg{flex:none}
.floating-whatsapp svg{flex:none}
.floating-whatsapp span:first-child:not(:last-child){width:auto;height:auto;border:0;border-radius:0;font-size:inherit}

/* navigasi bawah HP: Beranda, Kategori, Keranjang, Lacak Pesanan */
@media (max-width:720px){
  .mobile-nav{display:grid!important;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:0;padding:6px 2px calc(6px + env(safe-area-inset-bottom))}
  .mobile-nav>a,.mobile-nav>button{min-width:0;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;background:none;color:#7d8b80;font-family:"Plus Jakarta Sans",Inter,sans-serif;font-weight:700;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent;padding:0}
  .mobile-nav .nav-icon{display:block;width:22px;height:22px;flex:none}
  .mobile-nav .nav-label{display:block;max-width:100%;font-size:10px!important;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mobile-nav .nav-icon-wrap{position:relative;display:block;line-height:0;font-size:0}
  .mobile-nav .nav-icon-wrap b{position:absolute;top:-6px;right:-10px;display:grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--orange);color:#263728;font-size:9px;line-height:1}
  .mobile-nav .mobile-nav-active{color:var(--green)}
  .floating-whatsapp{right:12px;bottom:calc(72px + env(safe-area-inset-bottom));padding:11px}
  .floating-whatsapp span:last-child{display:none}
}


/* foto produk selalu selebar kartu */
.product-image-link{display:block;width:100%}
.product-image-wrap{width:100%;aspect-ratio:auto!important;height:170px;flex:0 0 auto}
@media (max-width:900px){.product-image-wrap{height:150px}}
@media (max-width:680px){.product-image-wrap{height:135px}}

/* Form checkout & akun harus tampil di atas keranjang (z-index 51) */
#checkoutBackdrop,#accountBackdrop{z-index:70}

/* Riwayat status & notifikasi pesanan */
.order-history{margin-top:18px}
.order-history h3{margin:0 0 10px;font-size:15px}
.history-list{list-style:none;margin:0;padding:0;position:relative}
.history-list li{position:relative;display:flex;gap:12px;padding:0 0 14px 0}
.history-list li::before{content:"";position:absolute;left:6px;top:14px;bottom:-2px;width:2px;background:#dbe6d5}
.history-list li:last-child::before{display:none}
.history-dot{flex:none;width:14px;height:14px;margin-top:3px;border-radius:50%;background:#c9d8c2;border:2px solid #fff;box-shadow:0 0 0 1px #c9d8c2;position:relative;z-index:1}
.history-list .is-latest .history-dot{background:#2f7a3d;box-shadow:0 0 0 1px #2f7a3d}
.history-list strong{display:block;font-size:14px;color:#1d2d20}
.history-list small{display:block;margin-top:2px;color:#6a7a6c;font-size:12px}
.history-list p{margin:4px 0 0;font-size:12.5px;color:#7a3b1d}
.push-box{margin-top:14px}
.push-box .push-on{margin:0;padding:10px 12px;border-radius:12px;background:#eef6e8;color:#2d5a34;font-size:13px;font-weight:600}
.push-box .muted{margin:8px 0 0}

/* Banner utuh di HP: memakai gambar lebar penuh (2:1) tanpa pemotongan */
@media(max-width:680px){
  .hero-slider{aspect-ratio:2/1;border-radius:13px}
  .hero-slide img{object-fit:cover}
  .hero-arrow{width:30px;height:30px;font-size:22px}
  .hero-slider-controls{padding:16px 8px 6px}
}

/* Rev26: kartu produk 5 kolom (desktop) dan 4 kolom (HP/tablet), ukuran dan font diperkecil */
.product-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}
.product-content{padding:10px}
.product-content h3{font-size:13px}
.product-content .select-field{height:36px;flex-basis:36px;font-size:12px}
.product-content .price-main{font-size:14px}
.product-image-wrap{height:150px}
.nominal-conversion,.conversion{margin:4px 0 0;font-size:11px;font-weight:600;color:#2d5a34;line-height:1.3}
.cart-conv{color:#2d5a34;font-weight:600}
@media(max-width:900px){
  .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
  .product-content .product-description{display:none!important}
  .product-image-wrap{height:110px}
}
@media(max-width:680px){
  .product-grid{gap:6px!important}
  .product-card{border-radius:12px}
  .product-image-wrap{height:84px}
  .product-tag{top:4px!important;left:4px!important;transform:scale(.72);transform-origin:top left}
  .product-content{padding:6px 6px 8px}
  .product-content .product-category{font-size:8px;letter-spacing:.03em;margin-bottom:2px}
  .product-content h3{font-size:11px;min-height:2.6em;line-height:1.3}
  .product-content .field-label{font-size:8.5px;gap:2px;margin-top:4px}
  .product-content .select-field{height:27px;min-height:27px;flex-basis:27px;font-size:10px;padding:0 13px 0 5px;border-radius:8px;background-size:8px;background-position:right 4px center}
  .product-content .price-row{min-height:34px;margin-top:4px}
  .product-content .price-main{font-size:12px}
  .product-content .price-unit{font-size:9px}
  .product-content .nominal-field{height:27px;min-height:27px;font-size:10px;padding:0 5px;border-radius:8px}
  .product-content .quantity-row{flex-direction:column!important;gap:4px;min-height:0}
  .product-content .quantity-row .quantity-field{width:100%;flex:0 0 27px;height:27px;min-height:27px;font-size:11px;padding:0 5px;border-radius:8px}
  .product-content .add-button{width:100%;flex:0 0 30px;height:30px;min-height:30px;font-size:10px;padding:0 2px;border-radius:8px}
  .product-content .product-detail-link{font-size:9.5px}
  .product-content .product-detail-link span{display:none}
  .product-content .tiny,.product-content .conversion{font-size:8.5px}
}



/* UI/UX Rev31: tokens, accessible onboarding, banner hierarchy, and responsive product rails. */
:root {
  --green: #205C3B;
  --green-deep: #205C3B;
  --green-mid: #367A4A;
  --lime: #EDF4DE;
  --orange: #F4AD32;
  --cream: #FBF9F3;
  --ink: #263D2E;
  --muted: #6B756C;
  --line: #E7E4DA;
  --white: #FFFFFF;
  --shadow: 0 12px 32px rgba(32, 92, 59, .10);
  --radius: 18px;
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body {
  color: var(--ink);
  background: var(--cream);
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
}
[hidden] { display: none !important; }
button, input, select, textarea { font-family: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(54, 122, 74, .38);
  outline-offset: 2px;
}
.button, .add-button, .select-field, .quantity-field, .nominal-field { min-height: 40px; }
.button { min-height: 44px; font-size: 13px; }
.button-orange { background: var(--orange); color: #263D2E; box-shadow: 0 6px 16px rgba(244, 173, 50, .18); }
.button-dark, .add-button { background: var(--green); }
.button-outline { border-color: #cbd9ca; color: var(--green-deep); }

/* Banner identitas diposisikan setelah header/pencarian dan sebelum Hero Slider. */
.planner-banner {
  margin-top: 20px;
  margin-bottom: 22px;
  min-height: 0;
  padding: clamp(22px, 3vw, 36px) clamp(20px, 4vw, 48px);
  border-color: var(--line);
  border-radius: 22px;
  background-color: var(--cream);
  box-shadow: 0 8px 26px rgba(32, 92, 59, .045);
}
.planner-banner[hidden] { display: none !important; }
.planner-copy { max-width: 690px; }
.planner-copy .eyebrow { font-size: 12px; letter-spacing: .11em; }
.planner-copy h2 {
  max-width: 680px;
  font-size: clamp(24px, 2.7vw, 32px);
  line-height: 1.2;
  letter-spacing: -.035em;
  color: var(--green-deep);
}
.planner-copy h2 em { color: var(--green-mid); }
.planner-copy > p:not(.eyebrow) {
  max-width: 610px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 12px 0 18px;
}
.planner-actions { gap: 10px !important; }
.planner-copy .button { font-size: 13px; min-height: 44px; padding: 12px 18px; }
.planner-dismiss {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(32, 92, 59, .10);
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  color: var(--green-deep);
  font-size: 25px;
  line-height: 1;
}
.planner-stamp { flex-basis: 150px; width: 150px; height: 150px; }
.planner-stamp span { font-size: 38px; }
.planner-stamp strong { font-size: 15px; }
.planner-stamp small { font-size: 11px; }
.home-hero { padding-top: 0; }
.section-title { color: var(--green-deep); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; letter-spacing: -.025em; }
.section-heading h2, .drawer-head h2 { font-size: clamp(22px, 2.4vw, 26px); line-height: 1.25; }
.section-heading .muted, .category-heading .muted, .benefits-section .muted { font-size: 14px; line-height: 1.6; }
.eyebrow { font-size: 11px; letter-spacing: .1em; }
.search-box { border-color: var(--line); background: #fff; }
.search-box input { min-height: 24px; font-size: 14px; }

/* First-visit introduction overlay. The SVG is an existing illustration placeholder; a real dish photo is not present in this ZIP. */
.intro-open { overflow: hidden; }
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
  overflow-y: auto;
  background: rgba(22, 47, 29, .58);
  backdrop-filter: blur(8px);
}
.intro-overlay[hidden] { display: none !important; }
.intro-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  width: min(900px, 100%);
  max-height: min(760px, 94dvh);
  overflow: auto;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 24px;
  background: var(--cream);
  box-shadow: 0 24px 80px rgba(13, 42, 22, .28);
}
.intro-visual {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background: radial-gradient(circle at 22% 20%, #fff 0, transparent 32%), linear-gradient(145deg, #EDF4DE, #d6e8bd 70%, #b9d69c);
}
.intro-visual::before, .intro-visual::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 210px;
  border-radius: 100% 0 100% 0;
  background: rgba(54, 122, 74, .11);
  transform: rotate(32deg);
  pointer-events: none;
}
.intro-visual::before { left: -54px; top: 20px; }
.intro-visual::after { right: -60px; bottom: -70px; transform: rotate(60deg); }
.intro-visual img { z-index: 1; display: block; width: min(100%, 360px); max-height: 330px; object-fit: contain; filter: drop-shadow(0 12px 20px rgba(32, 92, 59, .12)); }
.intro-visual-badge {
  position: absolute;
  z-index: 2;
  bottom: 22px;
  left: 22px;
  right: 22px;
  width: fit-content;
  max-width: calc(100% - 44px);
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 6px 18px rgba(32,92,59,.08);
}
.intro-content { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(24px, 4vw, 46px); }
.intro-content .eyebrow { margin-bottom: 12px; color: var(--green-mid); }
.intro-content h2 { margin: 0 0 14px; color: var(--green-deep); font-size: clamp(25px, 2.4vw, 28px); line-height: 1.2; letter-spacing: -.035em; }
.intro-content > p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 18px; }
.intro-countdown { color: #788376 !important; font-size: 12px !important; margin-bottom: 18px !important; }
.intro-countdown strong { color: var(--green-deep); font-variant-numeric: tabular-nums; }
.intro-actions { display: grid; gap: 10px; }
.intro-actions > * { width: 100%; min-height: 46px; font-size: 13px; }
.intro-close {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(32,92,59,.12);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--green-deep);
  font-size: 27px;
  line-height: 1;
}

/* Product showcase carousels: independent horizontal overflow; the main catalogue remains a searchable grid. */
.showcase-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.showcase-controls { display: flex; align-items: center; gap: 8px; }
.showcase-scroll-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--green-deep);
  font-size: 25px;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(32,92,59,.05);
}
.showcase-scroll-button:disabled { opacity: .35; cursor: default; box-shadow: none; }
.showcase-carousel { min-width: 0; max-width: 100%; }
.showcase-grid.product-carousel {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 12px !important;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 3px 2px 15px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #b8cdb2 transparent;
  touch-action: pan-x pan-y;
  cursor: grab;
}
.showcase-grid.product-carousel.is-dragging { cursor: grabbing; user-select: none; scroll-snap-type: none; }
.showcase-grid.product-carousel > .product-card {
  flex: 0 0 43.5%;
  min-width: 0;
  scroll-snap-align: start;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(32,92,59,.055);
}
.showcase-grid.product-carousel > .product-card:hover { transform: translateY(-2px); }
.showcase-grid.product-carousel .product-image-wrap { height: 150px; }
.showcase-grid.product-carousel .product-content { padding: 12px; }
.showcase-grid.product-carousel .product-category { font-size: 10px; line-height: 1.35; letter-spacing: .045em; margin-bottom: 4px; }
.showcase-grid.product-carousel .product-content h3 { min-height: 2.55em; margin-bottom: 5px; font-size: 16px; line-height: 1.3; }
.showcase-grid.product-carousel .product-content .field-label { font-size: 11px; margin-top: 8px; }
.showcase-grid.product-carousel .select-field { min-height: 40px; font-size: 12px; padding: 8px 22px 8px 9px; }
.showcase-grid.product-carousel .price-row { align-items: flex-start; flex-direction: column; gap: 1px; min-height: 0; margin: 10px 0 6px; }
.showcase-grid.product-carousel .price-main { font-size: 18px; line-height: 1.3; }
.showcase-grid.product-carousel .price-unit { font-size: 11px; line-height: 1.35; }
.showcase-grid.product-carousel .quantity-row { gap: 7px; }
.showcase-grid.product-carousel .quantity-row .quantity-field { flex: 0 0 56px; width: 56px; height: 40px; min-height: 40px; padding: 7px; font-size: 13px; }
.showcase-grid.product-carousel .add-button { min-height: 40px; padding: 8px 7px; font-size: 11.5px; border-radius: 10px; }
.showcase-grid.product-carousel .product-detail-link { font-size: 11px; }
.showcase-grid.product-carousel .stock-pill { font-size: 10px; }
.carousel-hint { margin: 1px 2px 0; color: var(--muted); font-size: 12px; }
.carousel-hint[hidden] { display: none !important; }

@media (min-width: 600px) {
  .showcase-grid.product-carousel { gap: 14px !important; }
  .showcase-grid.product-carousel > .product-card { flex-basis: 29%; }
}
@media (min-width: 1024px) {
  .showcase-grid.product-carousel { gap: 14px !important; }
  .showcase-grid.product-carousel > .product-card { flex-basis: 22.5%; }
  .carousel-hint { font-size: 11px; }
}
@media (max-width: 850px) {
  .planner-banner { gap: 16px; padding: 24px 22px; border-radius: 19px; }
  .planner-copy h2 { font-size: clamp(23px, 3.5vw, 28px); }
  .planner-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.6; }
  .planner-stamp { flex-basis: 112px; width: 112px; height: 112px; }
  .planner-stamp span { font-size: 30px; }
  .planner-stamp strong { font-size: 13px; }
  .planner-stamp small { font-size: 9px; }
}
@media (max-width: 680px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  /* Keep category chips scrollable without extending the document viewport. */
  .catalog-section .category-chips { margin-right: 0; padding-right: 12px; max-width: 100%; }
  .catalog-section .product-content h3 { font-size: 14px; line-height: 1.3; }
  .catalog-section .product-category { font-size: 10px; }
  .catalog-section .price-main { font-size: 16px; }
  .catalog-section .price-unit { font-size: 10px; }
  .catalog-section .field-label { font-size: 10px; }
  .catalog-section .select-field { min-height: 40px; font-size: 11px; }
  .catalog-section .quantity-row .quantity-field { min-height: 40px; width: 56px; font-size: 12px; }
  .catalog-section .add-button { min-height: 40px; font-size: 11px; }
  .container { width: calc(100% - 28px); }
  .site-header { padding-top: 9px; padding-bottom: 9px; }
  .planner-banner { align-items: flex-start; flex-direction: column; gap: 12px; margin-top: 12px; margin-bottom: 15px; padding: 21px 16px 17px; border-radius: 17px; }
  .planner-copy { max-width: 100%; padding-right: 9px; }
  .planner-copy .eyebrow { font-size: 10px; margin-bottom: 8px; }
  .planner-copy h2 { font-size: clamp(23px, 6.5vw, 27px); line-height: 1.2; }
  .planner-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.6; margin: 9px 0 14px; }
  .planner-actions { width: 100%; }
  .planner-actions .button { flex: 1 1 140px; min-width: 0; padding: 11px 12px; white-space: normal; text-align: center; font-size: 12px; }
  .planner-stamp { display: none; }
  .planner-stamp span { font-size: 21px; }
  .planner-stamp strong { font-size: 9px; }
  .planner-stamp small { display: none; }
  .planner-dismiss { width: 36px; height: 36px; top: 8px; right: 8px; font-size: 22px; }
  .home-hero { padding-top: 0; }
  .section-heading { gap: 11px; }
  .section-title { font-size: 23px; }
  .section-heading h2, .drawer-head h2 { font-size: 22px; }
  .section-heading .muted, .category-heading .muted, .benefits-section .muted { font-size: 13px; }
  .showcase-section { padding-top: 12px; padding-bottom: 16px; }
  .showcase-section .section-heading { flex-direction: row; align-items: flex-end; gap: 8px; }
  .showcase-actions { gap: 7px; }
  .showcase-actions .text-link { display: none; }
  .showcase-scroll-button { width: 35px; height: 35px; font-size: 22px; }
  .showcase-grid.product-carousel { gap: 10px !important; padding-bottom: 12px; scrollbar-width: none; }
  .showcase-grid.product-carousel::-webkit-scrollbar { display: none; }
  .showcase-grid.product-carousel > .product-card { flex-basis: 43.5%; border-radius: 13px; }
  .showcase-grid.product-carousel .product-image-wrap { height: 122px; }
  .showcase-grid.product-carousel .product-content { padding: 10px; }
  .showcase-grid.product-carousel .product-category { font-size: 9.5px; }
  .showcase-grid.product-carousel .product-content h3 { font-size: 15px; min-height: 2.6em; }
  .showcase-grid.product-carousel .product-content .field-label { font-size: 10.5px; }
  .showcase-grid.product-carousel .select-field { height: 38px; min-height: 38px; font-size: 11px; }
  .showcase-grid.product-carousel .price-main { font-size: 17px; }
  .showcase-grid.product-carousel .price-unit { font-size: 10px; }
  .showcase-grid.product-carousel .quantity-row { flex-direction: column !important; align-items: stretch; gap: 6px; }
  .showcase-grid.product-carousel .quantity-row .quantity-field { flex: 0 0 40px; width: 100%; height: 40px; min-height: 40px; }
  .showcase-grid.product-carousel .add-button { width: 100%; min-height: 40px; height: 40px; font-size: 11px; }
  .showcase-grid.product-carousel .product-detail-link { font-size: 10.5px; }
  .carousel-hint { font-size: 11px; }
  .mobile-nav { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; padding: 5px 2px calc(5px + env(safe-area-inset-bottom)); }
  .mobile-nav .nav-label { font-size: 9px !important; }
  .mobile-nav .nav-icon { width: 21px; height: 21px; }
  .intro-overlay { padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom)); align-items: center; }
  .intro-card { display: flex; flex-direction: column; width: min(430px, 100%); max-height: 96dvh; border-radius: 20px; }
  .intro-visual { min-height: 0; height: clamp(140px, 26vh, 205px); flex: 0 0 auto; padding: 10px 30px; }
  .intro-visual img { width: min(58%, 190px); max-height: 155px; }
  .intro-visual-badge { bottom: 9px; left: 12px; max-width: calc(100% - 24px); padding: 5px 9px; font-size: 10px; }
  .intro-content { padding: 20px 20px 22px; }
  .intro-content .eyebrow { font-size: 10px; margin-bottom: 7px; }
  .intro-content h2 { font-size: clamp(24px, 6.5vw, 29px); margin-bottom: 9px; }
  .intro-content > p:not(.eyebrow) { font-size: 13px; line-height: 1.55; margin-bottom: 12px; }
  .intro-countdown { font-size: 11px !important; margin-bottom: 12px !important; }
  .intro-actions { gap: 8px; }
  .intro-actions > * { min-height: 42px; }
  .intro-close { width: 36px; height: 36px; top: 8px; right: 8px; font-size: 23px; }
}
@media (max-width: 390px) {
  .intro-visual { height: 145px; }
  .intro-content { padding: 16px 16px 18px; }
  .intro-content h2 { font-size: 24px; }
  .intro-content > p:not(.eyebrow) { font-size: 12.5px; }
  .intro-countdown { margin-bottom: 9px !important; }
  .intro-actions > * { min-height: 40px; font-size: 12px; }
  .planner-copy h2 { font-size: 22px; }
  .planner-actions .button { font-size: 11.5px; padding: 10px; }
  .showcase-grid.product-carousel .product-image-wrap { height: 108px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* UI/UX Rev32: correct legacy grid overrides without changing showcase card dimensions. */
.catalog-section #productGrid.product-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch;
}
.catalog-section #productGrid > .product-card {
  min-width: 0;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(32, 92, 59, .055);
}
.catalog-section #productGrid .product-image-wrap {
  height: 150px;
  flex: 0 0 150px;
  aspect-ratio: auto;
}
.catalog-section #productGrid .product-content { padding: 12px; }
.catalog-section #productGrid .product-category {
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: .045em;
  margin-bottom: 4px;
}
.catalog-section #productGrid .product-content h3 {
  min-height: 2.55em;
  margin-bottom: 5px;
  font-size: 16px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.catalog-section #productGrid .product-content .field-label {
  font-size: 11px;
  line-height: 1.35;
  margin-top: 8px;
}
.catalog-section #productGrid .select-field {
  min-height: 40px;
  height: 40px;
  font-size: 12px;
  padding: 8px 22px 8px 9px;
}
.catalog-section #productGrid .product-content .price-row {
  align-items: flex-start;
  flex-direction: column;
  gap: 1px;
  min-height: 0;
  margin: 10px 0 6px;
}
.catalog-section #productGrid .product-content .price-main {
  font-size: 18px;
  line-height: 1.3;
}
.catalog-section #productGrid .product-content .price-unit {
  text-align: left;
  font-size: 11px;
  line-height: 1.35;
}
.catalog-section #productGrid .product-content .quantity-row {
  align-items: stretch;
  gap: 7px;
  margin-top: auto;
}
.catalog-section #productGrid .product-content .quantity-row .quantity-field {
  flex: 0 0 56px;
  width: 56px;
  height: 40px;
  min-height: 40px;
  padding: 7px;
  font-size: 13px;
}
.catalog-section #productGrid .product-content .add-button {
  min-width: 0;
  min-height: 40px;
  height: 40px;
  padding: 8px 7px;
  font-size: 11.5px;
  border-radius: 10px;
}
.catalog-section #productGrid .product-content .product-detail-link { font-size: 11px; }
.catalog-section #productGrid .product-content .stock-pill { font-size: 10px; }

@media (max-width: 1199px) {
  .catalog-section #productGrid.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (max-width: 900px) {
  .catalog-section #productGrid.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .catalog-section #productGrid .product-image-wrap { height: 150px; flex-basis: 150px; }
}
@media (max-width: 680px) {
  .catalog-section #productGrid.product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .catalog-section #productGrid > .product-card { border-radius: 13px; }
  .catalog-section #productGrid .product-image-wrap { height: 122px; flex-basis: 122px; }
  .catalog-section #productGrid .product-content { padding: 10px; }
  .catalog-section #productGrid .product-category { font-size: 9.5px; }
  .catalog-section #productGrid .product-content h3 { font-size: 15px; min-height: 2.6em; }
  .catalog-section #productGrid .product-content .field-label { font-size: 10.5px; }
  .catalog-section #productGrid .select-field { height: 38px; min-height: 38px; font-size: 11px; }
  .catalog-section #productGrid .product-content .price-main { font-size: 17px; }
  .catalog-section #productGrid .product-content .price-unit { font-size: 10px; }
  .catalog-section #productGrid .product-content .quantity-row {
    flex-direction: column !important;
    align-items: stretch;
    gap: 6px;
  }
  .catalog-section #productGrid .product-content .quantity-row .quantity-field {
    flex: 0 0 40px;
    width: 100%;
    height: 40px;
    min-height: 40px;
    padding: 7px;
  }
  .catalog-section #productGrid .product-content .add-button {
    width: 100%;
    min-height: 40px;
    height: 40px;
    font-size: 11px;
  }
  .catalog-section #productGrid .product-content .product-detail-link { font-size: 10.5px; }
}
@media (max-width: 390px) {
  .catalog-section #productGrid .product-image-wrap { height: 108px; flex-basis: 108px; }
}

/* On mobile, keep the three homepage rails as two-row scrollable groups (up to 8 cards).
   Card width, typography, padding and internal controls remain the existing showcase design. */
@media (max-width: 680px) {
  .showcase-grid.product-carousel {
    display: grid !important;
    grid-template-rows: repeat(2, max-content) !important;
    grid-auto-flow: column !important;
    grid-auto-columns: 43.5%;
    align-items: stretch;
  }
  .showcase-grid.product-carousel > .product-card {
    flex: none;
    width: auto;
    height: 100%;
  }
}


/* UI/UX Rev33: catalog uses the same horizontal carousel geometry as the three home showcases.
   Keep card dimensions unchanged; all filtered products remain reachable by swiping and pagination. */
.catalog-carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  margin: 4px 0 8px;
}
.catalog-carousel-toolbar[hidden] { display: none !important; }
.catalog-carousel-toolbar .carousel-hint { margin: 0; }
.catalog-section #productGrid.catalog-product-carousel {
  display: flex !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  grid-auto-flow: initial !important;
  grid-auto-columns: initial !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 3px 2px 15px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
}
.catalog-section #productGrid.catalog-product-carousel.is-dragging { cursor: grabbing; user-select: none; scroll-snap-type: none; }
.catalog-section #productGrid.catalog-product-carousel > .product-card {
  flex: 0 0 43.5%;
  width: auto;
  min-width: 0;
  height: 100%;
  scroll-snap-align: start;
}
.catalog-section #productGrid.catalog-product-carousel > .empty-state {
  flex: 0 0 100%;
  min-width: 0;
}
.catalog-carousel-toolbar .showcase-scroll-button:focus-visible {
  outline: 3px solid rgba(54, 122, 74, .3);
  outline-offset: 2px;
}
@media (min-width: 600px) {
  .catalog-section #productGrid.catalog-product-carousel { gap: 14px !important; }
  .catalog-section #productGrid.catalog-product-carousel > .product-card { flex-basis: 29%; }
}
@media (min-width: 1024px) {
  .catalog-section #productGrid.catalog-product-carousel { gap: 14px !important; }
  .catalog-section #productGrid.catalog-product-carousel > .product-card { flex-basis: 22.5%; }
}
@media (max-width: 680px) {
  .catalog-section #productGrid.catalog-product-carousel {
    display: grid !important;
    grid-template-columns: repeat(var(--catalog-columns, 4), calc(50% - 5px)) !important;
    grid-template-rows: repeat(2, max-content) !important;
    grid-auto-flow: row !important;
    grid-auto-columns: auto !important;
    gap: 10px !important;
    align-items: stretch;
    scrollbar-width: none;
  }
  .catalog-section #productGrid.catalog-product-carousel::-webkit-scrollbar { display: none; }
  .catalog-section #productGrid.catalog-product-carousel > .product-card {
    flex: none;
    width: auto;
    height: 100%;
    border-radius: 13px;
  }
  .catalog-section #productGrid.catalog-product-carousel > .empty-state { grid-column: 1 / -1; }
  .catalog-section #productGrid.catalog-product-carousel.catalog-product-carousel-empty {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    grid-auto-flow: row !important;
    overflow-x: hidden;
  }
  .catalog-carousel-toolbar { margin-top: 0; }
  .catalog-carousel-toolbar .showcase-scroll-button { width: 35px; height: 35px; font-size: 22px; }
}

/* REV34: foto kartu produk selalu persegi 1:1 mengikuti lebar kartu dan tampil utuh (tidak terpotong).
   Sebelumnya kotak foto bertinggi tetap (108–190px) sehingga foto persegi terpotong di bagian bawah. */
.product-card .product-image-wrap,
.catalog-section #productGrid .product-image-wrap,
.showcase-grid.product-carousel .product-image-wrap {
  width: 100%;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  flex: 0 0 auto !important;
}
.product-card .product-image-wrap .product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* REV36: pilihan ukuran (satuan jual) berjajar ke samping, menggantikan dropdown di kartu produk. */
.product-card .unit-choices { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 4px; }
.product-card .unit-choice {
  flex: 0 1 auto; min-height: 34px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px;
  background: #fffdf8; color: var(--ink); font: inherit; font-size: 11px; font-weight: 700; line-height: 1.2; cursor: pointer;
}
.product-card .unit-choice.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.product-card .unit-choice:focus-visible { outline: 3px solid rgba(74, 138, 75, .35); outline-offset: 1px; }
.product-card select[data-role="unit"][hidden] { display: none !important; }
.product-card .field-label-qty { margin-top: 8px; margin-bottom: 0; }
@media (max-width: 420px) { .product-card .unit-choice { font-size: 10px; padding: 6px 9px; } }

/* REV38: tombol − dan + di dalam kolom jumlah pada kartu produk (hanya tampilan HP, lebar <= 680px).
   Ukuran kolom jumlah, tinggi kartu, dan tata letak tidak berubah; di tablet/desktop kolom jumlah tetap seperti semula. */
.product-card .qty-stepper { display: contents; }
.product-card .qty-btn { display: none; }
@media (max-width: 680px) {
  .product-card .qty-stepper { display: block; position: relative; width: 100%; min-width: 0; }
  .product-card .qty-stepper .quantity-field {
    width: 100% !important; box-sizing: border-box; text-align: center; padding-left: 38px; padding-right: 38px;
    -moz-appearance: textfield; appearance: textfield;
  }
  .product-card .qty-stepper .quantity-field::-webkit-inner-spin-button,
  .product-card .qty-stepper .quantity-field::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
  .product-card .qty-btn {
    display: flex; align-items: center; justify-content: center; position: absolute; top: 1px; bottom: 1px; width: 36px;
    margin: 0; padding: 0; border: 0; border-radius: 9px; background: transparent; color: var(--green-deep);
    font-size: 20px; font-weight: 800; line-height: 1; cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .product-card .qty-minus { left: 1px; }
  .product-card .qty-plus { right: 1px; }
  .product-card .qty-btn:active:not(:disabled) { background: #eaf3e8; }
  .product-card .qty-btn:disabled { opacity: .3; cursor: default; }
  .product-card .qty-btn:focus-visible { outline: 3px solid rgba(74, 138, 75, .35); outline-offset: -2px; }
}

/* REV44: foto produk non-1:1 tampil utuh di kotak putih; label "Tersedia" selalu di atas foto;
   foto di halaman detail tidak lagi terpotong/membesar.
   - Sebelumnya .product-image (z-index:1) menutupi label stok (.product-tag tanpa z-index).
   - Sebelumnya <img> detail memakai height:100% di dalam grid auto, sehingga foto tinggi (mis. botol kecap) ikut membesar dan terpotong. */
.product-card .product-image-wrap { background: #fff; }
.product-card .product-image-wrap .product-image { padding: 6px; background: #fff; }
.product-card .product-image-placeholder { background: #fff; }
.product-card .product-tag { z-index: 3; background: #fff9e7; box-shadow: 0 1px 4px rgba(0, 0, 0, .14); }
.product-card .promo-badge { z-index: 4; }

.detail-image-frame { background: #fff; display: block; }
.detail-image-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 14px;
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.detail-image-frame .promo-badge { z-index: 3; }
