:root{--green:#164b3c;--gold:#cfa75d;--paper:#f7f5ef;--ink:#223c32;--muted:#748078}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Tahoma,Arial,sans-serif}button,input,select{font:inherit}button,a{cursor:pointer}a{text-decoration:none;color:inherit}.top{background:var(--green);color:white;padding:12px 6%;font-size:12px;display:flex;justify-content:space-between}header{padding:24px 6%;display:flex;align-items:center;gap:35px;background:white;border-bottom:1px solid #e4e8e0}.brand{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:bold}.brand b{background:var(--green);color:var(--gold);padding:12px 18px;border-radius:14px;font-size:30px}.brand small{display:block;font-size:11px;font-weight:normal;margin-top:7px;color:var(--muted)}nav{display:flex;gap:24px;margin:auto;font-size:14px}nav a.active{color:var(--green);border-bottom:2px solid var(--gold);padding-bottom:10px}button{border:0;border-radius:9px;padding:12px 18px;background:var(--green);color:white}button.secondary{background:#e9eee6;color:var(--green)}main{max-width:1280px;margin:auto;padding:32px 40px;min-height:65vh}.hero{display:grid;grid-template-columns:1.25fr 1fr;background:#e6ebdc;border-radius:24px;overflow:hidden;min-height:350px}.heroContent{padding:48px}.eyebrow{font-size:12px;color:#69825c;letter-spacing:1px}h1{font-size:44px;line-height:1.5;margin:14px 0}p{line-height:1.9;color:var(--muted)}.heroArt{display:flex;align-items:center;justify-content:center;background:radial-gradient(circle,#f6edc9 0,transparent 65%);font-size:130px;position:relative}.heroArt span{transform:rotate(-12deg);filter:drop-shadow(0 20px 10px #1a3b2220)}.pill{display:inline-block;border-radius:30px;padding:9px 15px;background:#fff8;font-size:12px;margin:5px}.sectionhead{display:flex;justify-content:space-between;align-items:center;margin:32px 0 20px}h2{font-size:24px;margin:0}.categories{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.category{background:white;border:1px solid #e4e8df;border-radius:14px;padding:22px 10px;text-align:center;color:var(--ink)}.category span{display:block;font-size:34px;margin-bottom:12px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.card{background:white;border:1px solid #e4e8df;border-radius:15px;overflow:hidden}.productArt{height:160px;background:#f0f2e9;display:flex;align-items:center;justify-content:center;font-size:75px;position:relative}.badge{position:absolute;top:12px;right:12px;font-size:11px;background:white;padding:6px 10px;border-radius:20px}.body{padding:18px}.body small{color:var(--muted)}h3{font-size:17px;margin:10px 0}.buy{display:flex;justify-content:space-between;align-items:center;margin-top:18px}.buy button{padding:8px 14px}.price{font-weight:bold}.note{font-size:12px;padding:12px;background:#f1ecd9;border-radius:9px;color:#7b6c45}.toolbar{display:flex;gap:12px;margin:25px 0;flex-wrap:wrap}input,select{border:1px solid #d9dfd3;background:white;padding:13px;border-radius:9px;color:var(--ink)}input{min-width:250px;flex:1}.intro h1{font-size:34px;margin:0}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:35px 0}.feature{padding:25px;background:#fff;border-radius:14px}.feature strong{display:block;margin-bottom:9px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:25px 0}.stat{padding:24px;background:white;border-radius:12px}.stat b{display:block;font-size:30px;margin:10px 0}.tablewrap{overflow:auto;background:white;border-radius:14px}table{width:100%;border-collapse:collapse;text-align:right;white-space:nowrap}th,td{padding:18px;border-bottom:1px solid #e8eae2;font-size:13px}th{background:#edf0e8}.status{color:#8d7337;background:#f5edcf;padding:6px 10px;border-radius:20px}aside{position:fixed;inset:0 auto 0 0;width:400px;max-width:100%;background:white;box-shadow:0 0 0 100vw #0005;padding:25px;z-index:10;overflow:auto}aside[hidden]{display:none}.carthead{display:flex;justify-content:space-between;align-items:center}.cartrow{padding:18px 0;border-bottom:1px solid #ddd;display:flex;gap:12px;align-items:center}.cartrow div{flex:1}.cartrow button{padding:7px 10px}#total{font-weight:bold;margin:25px 0}footer{padding:35px 6%;background:var(--green);color:white}footer p,footer span{color:#cfdbd3;font-size:12px}.empty{text-align:center;padding:50px;color:var(--muted)}@media(max-width:900px){header{flex-wrap:wrap;gap:18px}nav{order:3;width:100%;overflow:auto;gap:20px;white-space:nowrap}.hero{grid-template-columns:1fr}.heroArt{display:none}h1{font-size:32px}.heroContent{padding:28px}.grid{grid-template-columns:repeat(2,1fr)}.categories{grid-template-columns:repeat(3,1fr)}.stats,.features{grid-template-columns:repeat(2,1fr)}main{padding:25px 18px}.top span{display:none}}@media(max-width:480px){.grid{gap:10px}.body{padding:13px}.productArt{height:130px;font-size:60px}.buy{flex-wrap:wrap;gap:12px}.stats,.features{grid-template-columns:1fr}.brand{font-size:18px}}

/* Mobile-first shopping experience */
html{scroll-behavior:smooth}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{min-height:44px;transition:transform .18s,background .18s}button:active{transform:scale(.96)}:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.card{animation:cardEnter .35s ease both}.card:nth-child(2n){animation-delay:.04s}.card:nth-child(3n){animation-delay:.08s}.categoryChips{display:flex;gap:8px;overflow-x:auto;padding:3px 0 12px;scrollbar-width:none}.categoryChips::-webkit-scrollbar{display:none}.chip{flex:none;white-space:nowrap;background:white;border:1px solid #dfe5da;color:var(--green);border-radius:30px;font-size:12px;padding:10px 15px}.chip.selected{background:var(--green);color:white;border-color:var(--green)}.mobileNav{display:none}.toast{position:fixed;bottom:100px;left:50%;transform:translate(-50%,15px);background:var(--green);color:white;border-radius:30px;padding:13px 22px;z-index:30;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;white-space:nowrap;box-shadow:0 6px 22px #164b3c30}.toast.visible{opacity:1;transform:translate(-50%,0)}body.cart-open{overflow:hidden}aside{animation:sheetEnter .25s ease;overscroll-behavior:contain}.cartrow button{min-width:44px}.cartrow p{margin:9px 0}.carthead{position:sticky;top:0;background:white;padding-bottom:14px;z-index:1}#total{background:var(--paper);padding:20px;border-radius:12px}.intro h1{font-size:28px}.toolbar input{font-size:16px;min-height:50px}.toolbar select{font-size:14px;min-height:46px}.body h3{line-height:1.6}.productArt{background:radial-gradient(ellipse at center,#fafbf5,#eef2e7)}@keyframes cardEnter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes sheetEnter{from{transform:translateY(35px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes cartBump{50%{transform:scale(1.12)}}.bump{animation:cartBump .3s ease}
@media(max-width:767px){body{padding-bottom:calc(78px + env(safe-area-inset-bottom))}.top{padding:8px 18px;font-size:11px;justify-content:center}header{padding:14px 18px 10px;gap:10px;position:sticky;top:0;z-index:5;box-shadow:0 4px 16px #173f3010}.brand{font-size:19px;gap:10px}.brand b{font-size:25px;padding:8px 13px;border-radius:12px}.brand small{font-size:10px;margin-top:4px}header #cartButton{margin-right:auto;padding:9px 12px;font-size:12px}nav{display:none}main{padding:22px 16px;min-height:75vh}.intro .eyebrow{font-size:11px}.intro h1{font-size:27px;margin:7px 0}.intro p{font-size:12px;margin:5px 0 15px}.toolbar{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0 12px}.toolbar input{grid-column:1/-1;min-width:0;width:100%;border-radius:14px;padding:14px 16px;box-shadow:0 3px 12px #193d2610}.toolbar select{width:100%;min-width:0;border-radius:12px;padding:10px 8px}.categoryChips{margin-bottom:5px}.note{font-size:10px;line-height:1.7;padding:9px 11px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card{border-radius:18px;box-shadow:0 3px 12px #193d2606}.productArt{height:130px;font-size:64px}.badge{font-size:10px;top:10px;right:10px;padding:5px 8px}.body{padding:12px}.body small{font-size:10px}.body h3{font-size:13px;min-height:42px;margin:6px 0}.buy{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:12px}.price{font-size:17px}.buy button{width:100%;min-height:44px;border-radius:11px;font-size:12px}.mobileNav{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:1fr 1fr 1fr;padding:9px 12px calc(9px + env(safe-area-inset-bottom));background:#fffffff5;backdrop-filter:blur(15px);box-shadow:0 -5px 24px #153c3212;border-top:1px solid #e6e9e0;z-index:8;gap:6px}.mobileNav a,.mobileNav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:51px;border-radius:12px;font-size:11px;background:transparent;color:var(--muted)}.mobileNav .active{background:#e8efe5;color:var(--green);font-weight:bold}.navIcon{font-size:20px;line-height:1}.mobileNav button{color:var(--green);background:#f3f0e4}.mobileNav button span:last-child{font-size:11px}aside{inset:auto 0 0;width:100%;max-height:88dvh;border-radius:24px 24px 0 0;padding:20px 18px calc(25px + env(safe-area-inset-bottom));z-index:20}footer{padding:25px 18px}footer p{margin:8px 0}footer span{font-size:10px}}
@media(min-width:768px){.categoryChips{margin-bottom:16px}.toast{bottom:35px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

.buy button.add-confirmed{background:#e6efe2;color:#164b3c;animation:addConfirm .28s ease}.toast{display:none!important}@keyframes addConfirm{0%{transform:scale(.97)}60%{transform:scale(1.025)}100%{transform:scale(1)}}

.productActions{display:flex;gap:8px;align-items:center;width:100%}.buy .productActions>button{flex:1;min-width:0;padding:8px 10px;white-space:nowrap}.quantityControl{display:flex;align-items:center;border:1px solid #dbe3d4;background:#f6f8f1;border-radius:11px;overflow:hidden;flex:none;direction:rtl}.buy .quantityControl button{background:transparent;color:var(--green);width:32px;min-height:44px;padding:0;border-radius:0;font-size:18px;flex:none}.quantityControl output{min-width:22px;text-align:center;font-size:13px;font-weight:bold}.quantityControl button:disabled{opacity:.3;cursor:default;transform:none}.buy{flex-wrap:wrap}.buy .quantityControl button:hover:not(:disabled){background:#e4eddd}@media(max-width:767px){.productActions{gap:5px}.buy .productActions>button{font-size:11px;padding:6px 4px}.buy .quantityControl button{width:27px}.quantityControl output{min-width:19px;font-size:12px}}@media(max-width:359px){.productActions{flex-wrap:wrap}.quantityControl{width:100%;justify-content:space-between}.buy .quantityControl button{width:44px}}

.cartBackdrop{position:fixed;inset:0;background:#0005;z-index:9}.cartBackdrop[hidden]{display:none}aside{box-shadow:0 -5px 30px #0002}@media(max-width:767px){.cartBackdrop{z-index:19}}

.brandLogo{width:70px;height:70px;object-fit:contain;background:#063b1c;border-radius:13px;padding:5px;flex:none}@media(max-width:767px){.brandLogo{width:58px;height:58px;padding:4px;border-radius:11px}}

#featuredCarousel{margin:20px 0 24px}.carouselHeading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.carouselHeading h2{font-size:19px}.carouselArrow{min-width:44px;padding:8px;background:#e7ede1;color:var(--green);font-size:20px}.carouselTrack{display:flex;overflow-x:auto;gap:14px;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:20px;overscroll-behavior-x:contain}.carouselTrack::-webkit-scrollbar{display:none}.carouselSlide{flex:0 0 100%;min-width:0;scroll-snap-align:start;display:grid;grid-template-columns:1fr 1.4fr;align-items:center;gap:18px;background:linear-gradient(120deg,#e3ead8,#f5efdb);padding:24px;border-radius:20px}.carouselEmoji{font-size:90px;text-align:center}.carouselSlide small{font-size:11px;color:#66775c}.carouselSlide h3{font-size:24px;margin:8px 0}.carouselSlide p{font-size:13px;margin:8px 0 16px;color:var(--green)}.carouselSlide button{font-size:12px}.carouselHint{font-size:10px;margin:8px 0;color:var(--muted)}.carouselEmpty{display:flex;align-items:center;gap:15px;padding:20px;background:#eaf0e1;border:1px dashed #bdceb0;border-radius:18px}.carouselEmpty>span{font-size:32px;color:#a88845}.carouselEmpty strong{font-size:15px}.carouselEmpty p{font-size:11px;margin:5px 0}.featureToggle{width:100%;margin-top:10px;background:#f5f1e4;color:#796635;font-size:11px;min-height:40px;padding:8px 5px;border:1px solid #e5dcc3}.featureToggle[aria-pressed=true]{background:#e5eddf;color:var(--green);border-color:#bed0ae}@media(max-width:767px){.carouselSlide{grid-template-columns:.8fr 1.2fr;gap:10px;padding:18px;min-height:180px}.carouselEmoji{font-size:66px}.carouselSlide h3{font-size:18px}.carouselSlide p{font-size:11px}.carouselSlide button{padding:10px;font-size:11px}.carouselHeading h2{font-size:17px}.carouselEmpty{padding:16px}.featureToggle{font-size:10px}}

#featuredCarousel[hidden]{display:none}main>.toolbar:first-of-type{margin-top:0}#featuredCarousel:not([hidden]){margin-top:0}

.carouselSlide{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(125deg,#174c3c 0%,#2b6d50 48%,#6d864c 78%,#c5a76a 100%);color:#fff;box-shadow:inset 0 0 0 1px #ffffff20}.carouselSlide:nth-child(2n){background:linear-gradient(125deg,#334d34,#667c45 50%,#b49c63)}.carouselSlide::before{content:'';position:absolute;inset:-60%;z-index:-1;background:radial-gradient(circle at 70% 40%,#f6da8f30,transparent 35%),radial-gradient(circle at 25% 75%,#a2dbb625,transparent 30%);animation:gradientDrift 12s ease-in-out infinite alternate;pointer-events:none}.carouselSlide::after{content:'';position:absolute;width:180px;height:180px;right:-45px;bottom:-90px;border:1px solid #ffffff18;border-radius:50%;z-index:-1}.carouselSlide small,.carouselSlide p{color:#e2eadb}.carouselSlide h3{font-weight:bold}.carouselSlide button{background:#f4e6bd;color:#234c37;box-shadow:0 4px 16px #0002}.carouselEmoji{filter:drop-shadow(0 12px 10px #0002);animation:productFloat 4s ease-in-out infinite}.carouselSlide:nth-child(2n) .carouselEmoji{animation-delay:-2s}.carouselTrack{box-shadow:0 8px 26px #164b3c12}.carouselSlide button.add-confirmed{background:#fff;color:var(--green);animation:addConfirm .28s ease}@keyframes gradientDrift{from{transform:translate(-3%,0) rotate(0)}to{transform:translate(3%,2%) rotate(12deg)}}@keyframes productFloat{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-7px) rotate(3deg)}}@media(prefers-reduced-motion:reduce){.carouselEmoji,.carouselSlide::before{animation:none!important}}

.cartQuantity{display:inline-flex;align-items:center;background:#f3f6ed;border:1px solid #dce4d5;border-radius:10px;overflow:hidden;gap:0}.cartrow .cartQuantity button{width:34px;min-width:34px;min-height:34px;height:34px;padding:0;border-radius:0;background:transparent;color:var(--green);font-size:17px}.cartQuantity span{min-width:30px;text-align:center;font-size:13px;font-weight:bold}.cartrow .cartQuantity button:hover{background:#e3ecda}.cartrow>button.secondary{min-width:40px;padding:8px 10px;font-size:11px;min-height:34px}.cartrow strong{font-size:14px}.cartrow p{font-size:12px;margin:8px 0 10px}.cartrow{padding:16px 0}.checkoutButton{width:100%;min-height:48px;font-weight:bold;border-radius:13px;background:var(--green);box-shadow:0 5px 15px #164b3c20;margin-bottom:12px}.checkoutButton:disabled{opacity:.45;cursor:default;box-shadow:none}.checkoutReview{padding:18px;margin-top:10px;background:var(--paper);border-radius:14px}.checkoutReview[hidden]{display:none}.checkoutReview label{display:block;font-size:12px;margin:14px 0 8px}.checkoutReview input,.checkoutReview textarea{display:block;width:100%;min-width:0;min-height:44px;font:inherit;font-size:16px;border:1px solid #d9dfd3;border-radius:10px;padding:12px;background:white}.checkoutReview textarea{min-height:85px;resize:vertical}.checkoutReview p{font-size:12px}#total{margin:18px 0 14px}

.managerOrder{background:white;border:1px solid #dfe5d9;border-radius:16px;padding:20px;margin:15px 0}.orderTop{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.managerOrder p{font-size:13px;margin:10px 0}.managerOrder td,.managerOrder th{padding:12px;font-size:12px}.orderStatusForm{display:flex;gap:10px;flex-wrap:wrap}.orderStatusForm select{flex:1}#orderFeedback{color:var(--green);font-weight:bold;line-height:1.8}#submitOrder{margin-top:10px}

.passwordField{display:flex;align-items:center;gap:8px;margin-top:8px}.passwordField input{min-width:0!important;flex:1;width:100%}.passwordField .passwordToggle{flex:none;min-width:60px;min-height:46px;padding:10px;background:#e8eee1;color:var(--green);font-size:12px}

.productArt.productOpen{width:100%;border-radius:0;color:inherit;padding:0}.productName{background:transparent!important;color:inherit!important;padding:0!important;min-height:0;text-align:right;font:inherit;font-weight:inherit;box-shadow:none!important;white-space:normal}.carouselEmoji.productOpen{background:transparent;color:inherit;padding:0;box-shadow:none}.cartUnit{display:block;font-size:10px;color:var(--muted);margin-top:6px}#productDialog{border:0;border-radius:22px;padding:22px;max-width:490px;width:calc(100% - 28px);max-height:90dvh;background:#fff;color:var(--ink);box-shadow:0 15px 70px #0003;overflow:auto;overscroll-behavior:contain}#productDialog::backdrop{background:#0006}.detailHeader{display:flex;align-items:center;justify-content:space-between;gap:12px}.detailHeader h2{font-size:19px}.detailHeader button{font-size:22px;min-width:44px;padding:5px}.detailArt{height:145px;background:radial-gradient(circle,#f5efdb,#edf2e6);border-radius:17px;display:flex;align-items:center;justify-content:center;font-size:82px;margin:18px 0}.detailName{font-size:22px;margin:10px 0}.detailDescription{font-size:12px;line-height:1.9}.unitOptions{border:0;padding:0;margin:18px 0}.unitOptions legend{font-size:14px;font-weight:bold;margin-bottom:10px}.unitOption{display:flex;align-items:center;gap:10px;padding:14px 10px;margin:9px 0;border:1px solid #dfe6d6;border-radius:12px;cursor:pointer}.unitOption:has(input:checked){border-color:var(--green);background:#eef4e8}.unitOption input{min-width:18px;width:18px;height:18px;flex:none;accent-color:var(--green);padding:0}.unitOption span{flex:1}.unitOption strong{font-size:12px}.unitOption small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.unitOption b{font-size:12px;white-space:nowrap}.detailQtyRow{display:flex;justify-content:space-between;align-items:center;font-size:14px}.detailQtyRow .cartQuantity button{min-width:38px;min-height:38px;background:transparent;color:var(--green);padding:5px}.detailQtyRow output{min-width:35px;text-align:center;font-weight:bold}#selectedUnitInfo{font-size:12px;color:var(--green)}#productFeedback{font-size:12px;color:#9b4c33}@media(max-width:767px){#productDialog{margin:auto auto 0;width:100%;max-width:none;max-height:90dvh;border-radius:24px 24px 0 0;padding:20px 18px calc(22px + env(safe-area-inset-bottom))}.detailArt{height:120px;font-size:72px}.detailName{font-size:20px}}.cartQuantity button:disabled{opacity:.4;cursor:default}body:has(#productDialog[open]){overflow:hidden}

.loadSentinel{text-align:center;padding:25px 10px;color:var(--muted);font-size:12px;display:flex;flex-direction:column;align-items:center;gap:12px}.loadSentinel button{min-width:145px}.productPhoto{width:100%;height:100%;object-fit:contain}.detailGallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:18px 0;border-radius:16px}.detailGallery img{width:100%;height:220px;object-fit:contain;flex:0 0 100%;scroll-snap-align:start;background:var(--paper)}

.stockLabel{font-size:11px!important;color:var(--green)!important;margin:10px 0!important;line-height:1.6}.productActions>button:disabled,.quantityControl button:disabled{opacity:.5;cursor:default}.carouselSlide .stockLabel{color:#eff3e8!important}

#priceCheckDialog{border:0;border-radius:22px;padding:22px;max-width:520px;width:calc(100% - 28px);max-height:88dvh;color:var(--ink);background:white;overflow:auto;box-shadow:0 16px 70px #0003}#priceCheckDialog::backdrop{background:#0007}body:has(#priceCheckDialog[open]){overflow:hidden}.priceCheckHead{display:flex;align-items:center;justify-content:space-between;gap:12px}.priceCheckHead h2{font-size:20px;margin:0}.priceCheckHead button{min-width:44px;min-height:44px;padding:8px}.priceCheckHint,#priceCheckStatus{font-size:12px;line-height:1.8;color:var(--muted)}#priceCheckForm label{display:block;font-size:13px;margin-bottom:9px}#priceCheckForm input{display:block;width:100%;min-width:0;font:inherit;font-size:16px;padding:13px;border:1px solid #ced9cc;border-radius:12px;background:var(--paper)}#priceCheckForm button{width:100%;margin-top:10px;min-height:46px}.priceCheckItem{border:1px solid #e0e6d8;border-radius:15px;padding:15px;margin:12px 0;background:linear-gradient(125deg,#f5f7ef,#fff)}.priceCheckItem h3{font-size:16px;margin:0 0 12px}.priceCheckItem dl{margin:0}.priceCheckItem dl>div{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-top:1px solid #e2e8dc;font-size:14px}.priceCheckItem dd{margin:0;font-weight:bold;color:var(--green)}#priceCheckMore{width:100%;min-height:44px}.priceCheckHeaderButton{background:#e8eedf;color:var(--green);margin-inline-start:auto;white-space:nowrap}.mobileNav:has([data-price-check]){grid-template-columns:repeat(4,1fr)}@media(max-width:767px){header>.priceCheckHeaderButton{display:none}#priceCheckDialog{margin:auto auto 0;width:100%;max-width:none;border-radius:24px 24px 0 0;padding:20px 18px calc(22px + env(safe-area-inset-bottom))}.mobileNav [data-price-check]{font-size:11px}}
.barcodeCameraButton{width:100%;min-height:48px;margin-bottom:14px;background:linear-gradient(120deg,#174c3c,#557943);color:#fff}#barcodeCameraPanel[hidden]{display:none}#barcodeCameraPanel{margin-bottom:18px;padding:12px;border-radius:16px;background:#edf2e7}.barcodeVideoFrame{position:relative;background:#14231c;border-radius:12px;overflow:hidden;aspect-ratio:4/3}.barcodeVideoFrame video{display:block;width:100%;height:100%;object-fit:cover}.barcodeVideoFrame>span{position:absolute;inset:28% 10%;border:2px solid #f2d98b;border-radius:12px;pointer-events:none;box-shadow:0 0 0 100vmax #0003}#barcodeCameraStatus{font-size:12px;line-height:1.8}#stopBarcodeCamera{width:100%;min-height:44px}
.productGallery{margin:18px 0}.productGallery .detailGallery{direction:rtl;gap:0;margin:0;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y}.productGallery .detailGallery::-webkit-scrollbar{display:none}.productGallery .detailGallery img{min-width:100%;height:240px;scroll-snap-stop:always}.galleryControls{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:8px}.galleryControls>button{width:40px;min-width:40px;height:40px;min-height:40px;padding:0;border-radius:50%;background:#e9efdf;color:var(--green);font-size:20px}.galleryDots{display:flex;align-items:center;justify-content:center;gap:0}.galleryDots button{width:32px;min-width:32px;height:36px;min-height:36px;padding:10px;background:transparent;box-shadow:none}.galleryDots button span{display:block;width:8px;height:8px;border-radius:50%;background:#cbd5bf;transition:background .2s,transform .2s}.galleryDots button[aria-pressed=true] span{background:var(--green);transform:scale(1.35)}.galleryCaption{font-size:11px;color:var(--muted);text-align:center;margin:3px 0}.galleryCaption span{font-variant-numeric:tabular-nums}.detailGallery:focus-visible,.galleryDots button:focus-visible{outline:2px solid var(--green);outline-offset:3px}@media(max-width:767px){.productGallery .detailGallery img{height:220px}}@media(prefers-reduced-motion:reduce){.galleryDots button span{transition:none}}
.cardPhotoCarousel{display:block;position:relative;width:100%;height:100%;overflow:hidden}.cardPhotoCarousel .productPhoto{position:absolute;inset:0;opacity:0;transition:opacity .4s ease}.cardPhotoCarousel .productPhoto.currentPhoto{opacity:1}.cardPhotoPosition{position:absolute;bottom:8px;left:8px;font-size:10px;line-height:1.5;padding:3px 7px;background:#ffffffdf;color:var(--green);border-radius:20px;box-shadow:0 2px 7px #0001}@media(prefers-reduced-motion:reduce){.cardPhotoCarousel .productPhoto{transition:none}}
.fulfillmentOptions{display:flex;flex-wrap:wrap;gap:12px;border:1px solid #dce3d5;border-radius:14px;padding:12px;margin:16px 0}.fulfillmentOptions label{display:flex;align-items:center;gap:8px;flex:1;min-width:160px}.fulfillmentOptions input{width:20px;min-width:20px;accent-color:#174c3c}.fulfillmentOptions legend{font-weight:700}#deliveryFields[hidden]{display:none}#deliveryFields input,#deliveryFields textarea{width:100%;box-sizing:border-box}#deliveryLocationSummary{font-size:14px;color:#426252}#locationDialog{width:min(680px,94vw);max-height:92dvh;padding:18px;box-sizing:border-box;border:0;border-radius:20px;overflow:auto}#locationDialog::backdrop{background:#102f27aa}#deliveryMap{height:min(48dvh,420px);min-height:260px;border-radius:14px;direction:ltr;isolation:isolate;background:#e8eee6}.deliveryPin{background:none;border:0;text-align:center}.deliveryPin span{font-size:38px;display:block;filter:drop-shadow(0 3px 2px #0005)}.locationActions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.locationActions button{flex:1}#locationStatus{font-size:14px}#locationDialog .leaflet-control a{color:#174c3c}#locationDialog .leaflet-control-zoom a{min-width:30px;padding:0}#clearLocation{font-size:13px}
/* Checkout */
#cart.checkoutMode{background:#f7f8f3}.checkoutMode>#cartItems,.checkoutMode>#total,.checkoutMode>#checkoutButton,.checkoutMode>.note{display:none}.checkoutMode .carthead{margin-bottom:0;padding-bottom:12px;border-bottom:1px solid #e0e7dc}.checkoutMode .carthead h2{font-size:18px}.checkoutReview{background:transparent;padding:0;margin:0}.checkoutHeading{padding:20px 0 18px}.checkoutBack{background:none;color:#416352;padding:5px 0;font-size:12px;min-height:32px;box-shadow:none;display:block;margin-bottom:14px}.checkoutEyebrow{display:block;color:#8b743e;font-size:11px;letter-spacing:.3px}.checkoutHeading h3{font-size:26px;line-height:1.4;margin:6px 0;color:#123f31}.checkoutHeading p{margin:5px 0;color:#748075;line-height:1.8}.checkoutReview h4,.fulfillmentOptions legend{font-size:14px;font-weight:700;margin:0 0 14px;color:#173f31}.stepNumber{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:50%;background:#eaf0e3;color:#365a3c;font-size:12px;margin-left:7px}.checkoutReview .fulfillmentOptions{border:0;padding:0;margin:0 0 18px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.fulfillmentOptions legend{float:right;width:100%;margin-bottom:12px}.checkoutReview .fulfillmentCard{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;margin:0;padding:16px 12px;border:1.5px solid #dce5d8;background:#fff;border-radius:17px;cursor:pointer;transition:background .2s,border-color .2s,box-shadow .2s}.checkoutReview .fulfillmentCard:has(input:checked){border-color:#2a6049;background:linear-gradient(140deg,#f0f5e9,#fff);box-shadow:0 4px 16px #164b3c0c}.checkoutReview .fulfillmentCard input{position:absolute;inset:14px auto auto 12px;width:19px;min-height:19px;height:19px;margin:0;padding:0;opacity:0}.fulfillmentCard:focus-within{outline:2px solid #ba9b54;outline-offset:3px}.fulfillmentIcon{font-size:25px;line-height:1.2}.fulfillmentCard strong{display:block;font-size:13px;color:#214735}.fulfillmentCard small{display:block;font-size:10px;color:#7a8479;margin-top:5px;line-height:1.6}.selectionTick{position:absolute;top:13px;left:12px;width:19px;height:19px;display:grid;place-items:center;border-radius:50%;border:1px solid #d4ddce;color:transparent;font-size:12px}.fulfillmentCard:has(input:checked) .selectionTick{background:#245640;border-color:#245640;color:white}.checkoutBlock{background:#fff;border:1px solid #e3e9de;border-radius:18px;padding:17px;margin-bottom:14px}.checkoutReview label{color:#4a5b4d;font-size:12px;font-weight:500;margin:12px 0 7px}.checkoutReview input,.checkoutReview textarea{box-sizing:border-box;border-radius:12px;background:#fbfcf8;border:1px solid #dfe6d9;padding:13px 12px;min-height:47px;font-size:15px;transition:border-color .2s,box-shadow .2s}.checkoutReview input:focus,.checkoutReview textarea:focus{outline:none;border-color:#567e57;box-shadow:0 0 0 3px #567e5715}.checkoutReview textarea{min-height:74px}.checkoutReview input::placeholder,.checkoutReview textarea::placeholder{color:#a1aa9b;font-size:12px}.contactFields{display:grid;gap:2px}#chooseDeliveryLocation{width:100%;margin-top:14px;background:#edf3e7;color:#2d573d;border:1px dashed #aebfa2;border-radius:12px;font-size:12px;padding:14px 8px}#deliveryLocationSummary{font-size:11px;line-height:1.8;margin-bottom:0}.checkoutTotals{background:linear-gradient(120deg,#edf1e4,#f4efdf);padding:17px;border-radius:16px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;margin:20px 0 14px}.checkoutTotals>span{font-size:12px;color:#5f6f58}.checkoutTotals>strong{font-size:19px;color:#163f2d}.checkoutTotals #paymentHint{grid-column:1/-1;border-top:1px solid #d9dfcc;padding-top:12px;margin:3px 0 0;font-size:11px;color:#647252}.checkoutReview #submitOrder{min-height:53px;border-radius:14px;background:linear-gradient(120deg,#174c3c,#2c664a);font-size:15px;margin-bottom:4px}.checkoutReview #orderFeedback{line-height:1.8;color:#315b3c}.checkoutMode #checkoutForm{animation:checkoutEnter .22s ease-out}@keyframes checkoutEnter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.checkoutMode #checkoutForm{animation:none}}@media(min-width:768px){#cart.checkoutMode{width:min(530px,100vw)}.contactFields{grid-template-columns:1fr 1fr;gap:12px}}@media(max-width:767px){#cart.checkoutMode{max-height:94dvh;padding:18px 18px calc(24px + env(safe-area-inset-bottom))}.checkoutHeading h3{font-size:25px}}
.checkoutReview .fulfillmentOptions legend{float:none;width:auto;grid-column:1/-1;padding:0;margin:0 0 12px}.checkoutReview .fulfillmentOptions .fulfillmentCard{grid-row:2}.checkoutReview .fulfillmentOptions .fulfillmentCard:first-of-type{grid-column:1}.checkoutReview .fulfillmentOptions .fulfillmentCard:last-of-type{grid-column:2}

/* Compact customer product cards: square media and naturally sized details. */
.grid{align-items:start}
.card{align-self:start}
.card .productArt.productOpen{aspect-ratio:1/1;height:auto;min-height:0;background:#fff}
.card .productArt>.productPhoto{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.card .cardPhotoCarousel{position:absolute;inset:0;width:100%;height:100%}
.card .body{display:flex;flex-direction:column;gap:4px;padding:10px}
.card .body>small{display:block;line-height:1.4;margin:0}
.card .body h3{min-height:0;margin:0;line-height:1.45}
.card .productName{display:block;width:100%;line-height:inherit}
.card .buy{display:flex;flex-direction:column;align-items:stretch;gap:7px;margin-top:4px}
.card .price{line-height:1.3}
.card .productActions{margin:0}
@media(max-width:767px){.card{border-radius:14px}.card .body{padding:9px;gap:3px}.card .body h3{font-size:13px}.card .buy{gap:6px;margin-top:3px}.card .price{font-size:16px}}
/* Keep the price-check glyph independent of the button caption size. */
.mobileNav [data-price-check] .navIcon{font-size:28px;line-height:1;font-weight:700}

/* Storefront theme. Images and map tiles retain their original colors. */
html[data-theme]{color-scheme:light}
#themeToggle{display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border:1px solid #dfe5da;border-radius:50%;background:#edf2e8;color:#214b3b;font-size:28px;line-height:1;flex:none}
.themeSun{display:none}
html[data-theme=dark]{color-scheme:dark;--paper:#101b17;--ink:#edf3ec;--muted:#a8b9ae;--green:#8bd5b3;--gold:#d9b976;--surface:#1a2922;--line:#35483d}
[data-theme=dark] .themeMoon{display:none}
[data-theme=dark] .themeSun{display:block}
[data-theme=dark] #themeToggle{background:#26392e;color:#edcd88;border-color:var(--line)}
[data-theme=dark] header,[data-theme=dark] .card,[data-theme=dark] .category,[data-theme=dark] .carthead,[data-theme=dark] #cart,[data-theme=dark] #productDialog,[data-theme=dark] #priceCheckDialog,[data-theme=dark] #locationDialog{background:var(--surface);color:var(--ink);border-color:var(--line)}
[data-theme=dark] button{background:#286147;color:#f4faf5}
[data-theme=dark] .top,[data-theme=dark] footer{background:#102f24}
[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea,[data-theme=dark] #priceCheckForm input,[data-theme=dark] .checkoutReview input,[data-theme=dark] .checkoutReview textarea{background:#122019;color:var(--ink);border-color:var(--line)}
[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:#9cac9f}
[data-theme=dark] .chip,[data-theme=dark] button.secondary,[data-theme=dark] .priceCheckHeaderButton,[data-theme=dark] .quantityControl,[data-theme=dark] .cartQuantity,[data-theme=dark] .galleryControls>button{background:#25392d;color:var(--green);border-color:var(--line)}
[data-theme=dark] .chip.selected{background:#286147;color:#fff;border-color:#50946f}
[data-theme=dark] .buy .quantityControl button,[data-theme=dark] .detailQtyRow .cartQuantity button{background:transparent;color:var(--green)}
[data-theme=dark] .buy .quantityControl button:hover:not(:disabled){background:#354f3e}
[data-theme=dark] .note{background:#373323;color:#e0ce9b}
[data-theme=dark] .mobileNav{background:#17271ff5;border-color:var(--line);box-shadow:0 -5px 24px #0004}
[data-theme=dark] .mobileNav button{background:#29392b;color:var(--green)}
[data-theme=dark] .mobileNav .active{background:#294332;color:#b0e7c6}
[data-theme=dark] .cartrow,[data-theme=dark] .unitOption,[data-theme=dark] .checkoutMode .carthead,[data-theme=dark] .priceCheckItem dl>div{border-color:var(--line)}
[data-theme=dark] #cart.checkoutMode{background:var(--paper)}
[data-theme=dark] .checkoutBlock,[data-theme=dark] .checkoutReview .fulfillmentCard{background:var(--surface);border-color:var(--line)}
[data-theme=dark] .checkoutReview .fulfillmentCard:has(input:checked),[data-theme=dark] .unitOption:has(input:checked){background:#263e2e;border-color:#8bd5b3}
[data-theme=dark] .checkoutHeading h3,[data-theme=dark] .checkoutReview h4,[data-theme=dark] .fulfillmentOptions legend,[data-theme=dark] .fulfillmentCard strong,[data-theme=dark] .checkoutTotals>strong,[data-theme=dark] .checkoutReview label{color:var(--ink)}
[data-theme=dark] .checkoutHeading p,[data-theme=dark] .fulfillmentCard small,[data-theme=dark] .checkoutTotals>span,[data-theme=dark] .checkoutTotals #paymentHint,[data-theme=dark] #deliveryLocationSummary{color:var(--muted)}
[data-theme=dark] .checkoutBack,[data-theme=dark] .checkoutReview #orderFeedback{color:var(--green)}
[data-theme=dark] .checkoutEyebrow{color:var(--gold)}
[data-theme=dark] .stepNumber,[data-theme=dark] #chooseDeliveryLocation,[data-theme=dark] #barcodeCameraPanel{background:#263c2d;color:#c3e7ca;border-color:#68896c}
[data-theme=dark] .checkoutTotals,[data-theme=dark] .priceCheckItem,[data-theme=dark] .detailArt{background:linear-gradient(125deg,#243c2c,#1b2b23);border-color:var(--line)}
[data-theme=dark] .checkoutTotals #paymentHint{border-color:var(--line)}
[data-theme=dark] #productFeedback{color:#ffb59c}
[data-theme=dark] dialog::backdrop{background:#000a}
@media(max-width:767px){header #cartButton{margin-right:0}header .brand{margin-inline-end:auto;min-width:0}header{flex-wrap:nowrap}#themeToggle{width:44px;height:44px}header .brandLogo{width:48px;height:48px}header .brand{font-size:17px;gap:7px}header .brand small{font-size:9px}}
@media(max-width:359px){header{padding-inline:10px;gap:6px}header .brand{font-size:15px}header .brand small{font-size:8px}header .brandLogo{width:40px;height:40px}header #cartButton{padding-inline:9px}}
