:root{--green:#0e8c47;--green-d:#0a6b36;--gold:#ffc526;--gold-d:#e5ac0e;--ink:#1b241f;--muted:#68766d;--border:#e6ece7;--bg:#f6f8f6;--card:#fff}
[hidden]{display:none!important}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--ink);background:#fafbfa;line-height:1.5}
img{max-width:100%;height:auto}
a{color:var(--green);text-decoration:none}
.wrap{max-width:1100px;margin:0 auto;padding:0 1.2rem}
.site-header{background:var(--green);box-shadow:0 2px 10px rgba(0,0,0,.08)}
.header-row{display:flex;align-items:center;gap:1.2rem;padding-top:.8rem;padding-bottom:.8rem;flex-wrap:wrap}
.logo{font-weight:800;font-size:1.25rem;color:#fff}
.main-nav{margin-left:auto;display:flex;align-items:center;gap:1.3rem}
.main-nav a{color:#fff;font-weight:500}
.main-nav a:hover{color:var(--gold)}
.cats-pill{background:var(--gold);color:#3a2c00;border:0;font:inherit;font-weight:700;padding:.55rem 1.1rem;border-radius:999px;cursor:pointer}
.cats-pill:hover{background:var(--gold-d)}
/* Hero (reference style: copy left, product visual right) */
.hero2{display:grid;grid-template-columns:1.2fr 1fr;gap:2rem;align-items:center;background:linear-gradient(135deg,#f2f7f3,#e9f3ec);border-radius:20px;padding:2.6rem 2.4rem;margin:1.6rem 0}
.hero-badge{display:inline-block;background:#fff;border:1px solid var(--border);border-radius:999px;padding:.4rem 1rem;font-size:.85rem;font-weight:600;box-shadow:0 4px 14px rgba(0,0,0,.05)}
.hero2 h1{font-size:2.6rem;line-height:1.15;margin:.9rem 0 .6rem;font-weight:800}
.hero2 .accent{color:var(--green)}
.hero-sub{color:var(--muted);max-width:46ch;margin:0 0 1.4rem}
.hero-ctas{display:flex;gap:1.2rem;align-items:center}
.link-underline{color:var(--ink);text-decoration:underline;font-weight:600}
.hero2-visual{position:relative;display:grid;place-items:center}
.hero-product{display:block;background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 18px 40px rgba(14,140,71,.15);aspect-ratio:1;width:min(100%,340px)}
.hero-product img{width:100%;height:100%;object-fit:cover;display:block}
.hero-emoji{display:grid;place-items:center;font-size:4rem}
.float-chip{position:absolute;background:#fff;border-radius:999px;padding:.45rem .9rem;font-size:.8rem;font-weight:700;box-shadow:0 8px 20px rgba(0,0,0,.12)}
.chip-a{top:8%;right:2%}
.chip-b{bottom:10%;left:0}
/* Sections */
.section{margin:2.6rem 0}
.kicker{color:var(--green);font-weight:700;font-size:.85rem;letter-spacing:.04em;text-transform:uppercase;margin:0 0 .2rem;text-align:center}
.section-title{text-align:center;font-size:1.8rem;margin:.1rem 0 1.4rem;font-weight:800}
.section-title .accent{color:var(--green)}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:1rem;flex-wrap:wrap;margin-bottom:1.2rem}
.section-head .kicker,.section-head .section-title{text-align:left;margin-bottom:.2rem}
/* Category circles */
.cat-circles{display:flex;gap:1.6rem;justify-content:center;flex-wrap:wrap}
.cat-circle{display:flex;flex-direction:column;align-items:center;gap:.35rem;color:var(--ink);width:120px;text-align:center}
.cat-circle .circle{width:96px;height:96px;border-radius:50%;background:#f1f5f1;display:grid;place-items:center;font-size:2.2rem;transition:transform .12s,box-shadow .12s}
.cat-circle:hover .circle{transform:translateY(-3px);box-shadow:0 10px 22px rgba(14,140,71,.18);background:#e7f3ea}
.cat-circle strong{font-size:.92rem}
.cat-circle .muted{font-size:.78rem}
/* Promo banners */
.promo-row{display:grid;grid-template-columns:1fr 1fr;gap:1.4rem;margin:2.2rem 0}
.promo{border-radius:18px;padding:1.8rem;display:flex;flex-direction:column;align-items:flex-start;gap:.5rem}
.promo h3{margin:.1rem 0;font-size:1.5rem;font-weight:800}
.promo p{margin:0 0 .8rem;max-width:40ch}
.promo-light{background:#f1f5f1}
.promo-gold{background:var(--gold)}
.promo-gold p{color:#4a3a00}
.promo-pill{background:#fff;border-radius:999px;padding:.3rem .9rem;font-size:.8rem;font-weight:700}
.promo-gold .promo-pill{background:rgba(255,255,255,.85)}
.btn-dark{background:var(--ink)}
.btn-dark:hover{background:#000}
.btn{display:inline-block;background:var(--green);color:#fff;padding:.7rem 1.6rem;border-radius:999px;font-weight:600}
.btn:hover{background:var(--green-d)}
h2{margin:2rem 0 1rem}
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.2rem;margin-bottom:2.5rem}
.product-card{position:relative;background:#fff;border:1px solid var(--border);border-radius:16px;overflow:hidden;transition:transform .12s,box-shadow .12s;color:var(--ink);display:flex;flex-direction:column}
.product-card:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(0,0,0,.08)}
.product-card .thumb{aspect-ratio:1;width:100%;display:grid;place-items:center;font-size:3rem;background:#fff;overflow:hidden}
.product-card .thumb img{width:100%;height:100%;object-fit:cover;display:block}
.product-card .body{padding:.9rem .9rem .4rem;display:flex;flex-direction:column;gap:.15rem}
.sale-badge{position:absolute;top:.7rem;left:.7rem;z-index:2;background:var(--green);color:#fff;font-size:.72rem;font-weight:700;padding:.25rem .7rem;border-radius:999px}
.card-cat{color:var(--green);font-size:.76rem;font-weight:600}
.card-unit{color:var(--muted);font-size:.8rem}
.price-old{color:var(--muted);font-weight:400;font-size:.85rem;margin-left:.35rem}
.card-add{padding: .7rem .9rem .9rem;margin-top:auto}
.btn-add{width:100%;background:#eef7f0;border:1px solid #cfe7d6;color:var(--green-d);font-weight:700;padding:.55rem;border-radius:999px;cursor:pointer;font-size:.9rem}
.btn-add:hover{background:var(--green);color:#fff;border-color:var(--green)}
.product-card h3{margin:0 0 .3rem;font-size:1rem}
.tag{display:inline-block;background:#dff3e2;color:var(--green-d);font-size:.72rem;padding:.12rem .5rem;border-radius:999px}
.price{font-weight:700;margin:.5rem 0 0}
.price small{color:var(--muted);font-weight:400}
.product-detail{display:grid;grid-template-columns:minmax(0,440px) 1fr;gap:2.5rem;margin:1.6rem 0;align-items:start}
.thumb-lg{aspect-ratio:1;width:100%;display:grid;place-items:center;font-size:6rem;background:#fff;border:1px solid var(--border);border-radius:16px;overflow:hidden}
.thumb-lg img{width:100%;height:100%;object-fit:cover;border-radius:16px;display:block}
.meta{color:var(--muted);font-size:.9rem;margin:.3rem 0}
.site-footer{background:var(--green);margin-top:3rem;padding:2.4rem 0 0;color:#eaf6ee;font-size:.9rem}
@media(max-width:820px){.hero2{grid-template-columns:1fr;padding:1.8rem 1.4rem}.hero2 h1{font-size:1.9rem}.hero2-visual{order:-1}.promo-row{grid-template-columns:1fr}.product-detail{grid-template-columns:1fr}}

/* Cart link */
.cart-link{position:relative}
.cart-count{background:var(--gold);color:#3a2c00;border-radius:999px;padding:.05rem .45rem;font-size:.72rem;margin-left:.15rem;font-weight:700}
.flash{padding:.7rem 1rem;border-radius:10px;margin:1rem 0}
.flash.ok,.flash-ok{background:#dff3e2;color:var(--green-d)}
.flash.err,.flash-err{background:#fdecec;color:#a12}

/* Add to cart */
.add-to-cart{display:flex;gap:.8rem;align-items:flex-end;margin:1.2rem 0}
.add-to-cart label{font-size:.82rem;color:var(--muted)}
.add-to-cart input{display:block;padding:.55rem;border:1px solid var(--border);border-radius:8px;margin-top:.3rem;width:120px}
.out-of-stock{color:#c0392b;font-weight:600}

/* Cart table */
.cart-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;margin:1rem 0}
.cart-table th,.cart-table td{padding:.7rem .9rem;text-align:left;border-bottom:1px solid var(--border)}
.cart-table th{background:#f1f6f2;font-size:.78rem;text-transform:uppercase;color:var(--muted)}
.qty-form{display:flex;gap:.4rem;align-items:center}
.qty-form input{width:80px;padding:.4rem;border:1px solid var(--border);border-radius:6px}
button.link{background:none;border:0;color:var(--green);cursor:pointer;font-size:.85rem;padding:0}
button.link.danger{color:#c0392b}
.btn-outline{background:#fff;border:1px solid var(--green);color:var(--green);padding:.55rem 1rem;border-radius:8px;cursor:pointer}

/* Cart footer / totals */
.cart-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:1.5rem;margin-top:1.5rem}
.coupon-form{display:flex;gap:.5rem}
.coupon-form input{padding:.55rem;border:1px solid var(--border);border-radius:8px}
.totals{min-width:280px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:1.1rem}
.totals>div{display:flex;justify-content:space-between;padding:.35rem 0}
.totals .discount{color:var(--green-d)}
.totals .grand{font-weight:700;font-size:1.1rem;border-top:1px solid var(--border);margin-top:.4rem;padding-top:.6rem}
.totals .btn{width:100%;text-align:center;margin-top:.8rem}

/* Checkout */
.checkout-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:2rem;margin-top:1rem}
.checkout-form{background:#fff;border:1px solid var(--border);border-radius:12px;padding:1.4rem}
.checkout-form h2{font-size:1.05rem;margin:1.2rem 0 .5rem}
.checkout-form label{display:block;margin:.6rem 0;font-size:.85rem;color:var(--muted)}
.checkout-form input,.checkout-form textarea{width:100%;padding:.6rem;border:1px solid var(--border);border-radius:8px;margin-top:.3rem}
.checkout-form .radio{display:flex;align-items:center;gap:.5rem}
.checkout-form .radio input{width:auto;margin:0}
.checkout-form .btn{margin-top:1rem}
.order-summary{background:#fff;border:1px solid var(--border);border-radius:12px;padding:1.4rem;height:fit-content}
.order-summary .line{display:flex;justify-content:space-between;padding:.35rem 0;font-size:.92rem}
.order-summary .grand{font-weight:700;border-top:1px solid var(--border);margin-top:.4rem;padding-top:.6rem}
.small{font-size:.8rem}

/* Confirmation */
.confirmation{text-align:center;max-width:640px;margin:2rem auto}
.confirm-badge{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;font-size:1.8rem;margin:0 auto 1rem}
.confirm-badge.ok{background:#dff3e2;color:var(--green-d)}
.confirm-badge.pending{background:#fff3e0;color:#b8730f}
.confirmation .cart-table,.confirmation .totals{text-align:left}
.confirmation .status{color:var(--muted)}
@media(max-width:720px){.checkout-grid{grid-template-columns:1fr}.cart-footer{flex-direction:column}}

/* Product card with add button */
.product-card{display:flex;flex-direction:column}
.card-link{display:block;color:var(--ink)}
.card-add{padding:.8rem;border-top:1px solid var(--border);margin-top:auto}
.card-add .btn-outline{width:100%}

/* Shop header */
.shop-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1.5rem;flex-wrap:wrap;margin:1.5rem 0 1rem}
.shop-head h1{margin:0}
.shop-desc{color:var(--muted);margin:.4rem 0 0;max-width:52ch}
.shop-search{display:flex;gap:.5rem;flex-shrink:0}
.shop-search input{padding:.55rem .8rem;border:1px solid var(--border);border-radius:10px;min-width:200px}
.btn-outline{background:#fff;border:1px solid var(--green);color:var(--green);padding:.55rem 1.1rem;border-radius:10px;cursor:pointer;font-size:.9rem;white-space:nowrap}
.btn-outline:hover{background:#f1f6f2}

/* Shop layout: sidebar + main */
.shop-layout{display:grid;grid-template-columns:220px 1fr;gap:1.8rem;margin-bottom:2.5rem}
.shop-sidebar h3{margin:.2rem 0 .6rem;font-size:.95rem;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}
.cat-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.15rem}
.cat-list a{display:flex;justify-content:space-between;align-items:center;padding:.5rem .7rem;border-radius:8px;color:var(--ink);font-size:.92rem}
.cat-list a:hover{background:#f1f6f2}
.cat-list li.active a{background:var(--green);color:#fff}
.cat-count{background:rgba(0,0,0,.08);border-radius:999px;padding:.05rem .5rem;font-size:.72rem;color:inherit}
.cat-list li.active .cat-count{background:rgba(255,255,255,.25)}

/* Toolbar */
.shop-toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}
.result-count{color:var(--muted);font-size:.9rem}
.sort-control{display:flex;align-items:center;gap:.4rem;font-size:.85rem;flex-wrap:wrap}
.sort-control>span{color:var(--muted)}
.sort-opt{padding:.3rem .7rem;border-radius:999px;background:#f1f6f2;color:var(--ink)}
.sort-opt.active{background:var(--green);color:#fff}

/* Header categories dropdown */
.nav-dropdown{position:relative;display:inline-block}
.nav-dropdown-toggle{background:none;border:0;font:inherit;color:var(--green);cursor:pointer;padding:0;margin-left:1.2rem}
.nav-dropdown-menu{position:absolute;top:130%;left:0;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.1);min-width:220px;padding:.4rem;display:none;z-index:20}
.nav-dropdown:hover .nav-dropdown-menu,.nav-dropdown:focus-within .nav-dropdown-menu{display:block}
.nav-dropdown-menu a{display:flex;justify-content:space-between;align-items:center;padding:.5rem .7rem;border-radius:8px;color:var(--ink)}
.nav-dropdown-menu a:hover{background:#f1f6f2}

/* Related products */
.related{margin:2.5rem 0}
.related h2{margin-bottom:1rem}

@media(max-width:720px){
  .shop-layout{grid-template-columns:1fr}
  .shop-sidebar{order:2}
  .cat-list{flex-direction:row;flex-wrap:wrap}
  .cat-list a{border:1px solid var(--border)}
  .nav-dropdown{display:none}
}

/* Blog */
.blog-head{margin:1.5rem 0 1.5rem}
.blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;margin-bottom:2rem}
.blog-card{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;transition:transform .12s,box-shadow .12s}
.blog-card:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(0,0,0,.08)}
.blog-thumb{display:grid;place-items:center;aspect-ratio:16/10;background:#f1f6f2;font-size:2.5rem;overflow:hidden}
.blog-thumb img{width:100%;height:100%;object-fit:cover}
.blog-card-body{padding:1.1rem;display:flex;flex-direction:column;gap:.5rem}
.blog-card-body h2{margin:0;font-size:1.15rem;line-height:1.3}
.blog-card-body h2 a{color:var(--ink)}
.blog-meta{color:var(--muted);font-size:.82rem;margin:0}
.blog-excerpt{color:#44524a;font-size:.92rem;margin:0}
.read-more{font-size:.88rem;font-weight:600;margin-top:auto}

/* Single post */
.post{max-width:760px;margin:1.5rem auto}
.post-breadcrumb{margin:0 0 .5rem}
.post-header h1{margin:.2rem 0}
.post-terms{margin:.6rem 0}
.term-pill{display:inline-block;background:#f1f6f2;color:var(--green-d);padding:.15rem .7rem;border-radius:999px;font-size:.8rem;margin-right:.3rem}
.post-hero{margin:1.4rem 0;border-radius:14px;overflow:hidden}
.post-hero img{width:100%;display:block}
.post-content{line-height:1.75;font-size:1.05rem}
.post-content p{margin:1rem 0}
.post-content h2,.post-content h3{margin:1.6rem 0 .6rem}
.post-content img{max-width:100%;height:auto;border-radius:10px}
.post-footer{margin-top:2rem;padding-top:1rem;border-top:1px solid var(--border)}

/* Pagination */
.pagination{display:flex;gap:.4rem;justify-content:center;margin:1.5rem 0 2.5rem}
.pagination .page{padding:.45rem .8rem;border-radius:8px;border:1px solid var(--border);color:var(--ink);min-width:40px;text-align:center}
.pagination .page.current{background:var(--green);color:#fff;border-color:var(--green)}

/* Widget extras: green promo + CTA bands */
.promo-green{background:var(--green);color:#fff}
.promo-green p{color:#dff0e5}
.promo-green .promo-pill{background:rgba(255,255,255,.2);color:#fff}
.cta-band{border-radius:20px;padding:2.4rem 2rem;text-align:center;margin:2.6rem 0}
.cta-band h2{margin:.1rem 0 .5rem;font-size:1.7rem;font-weight:800}
.cta-band p{margin:0 auto 1.2rem;max-width:56ch}
.cta-green{background:var(--green);color:#fff}
.cta-green p{color:#dff0e5}
.cta-gold{background:var(--gold)}
.cta-gold p{color:#4a3a00}
.cta-light{background:#f1f5f1}
.btn-gold{background:var(--gold);color:#3a2c00}
.btn-gold:hover{background:var(--gold-d)}

/* ---- v1.2 image harmonisation + accounts ---- */
/* Logo: image replaces the emoji wordmark when set in Settings */
.logo{display:inline-flex;align-items:center;gap:.5rem}
.logo-img{height:38px;width:auto;max-width:190px;object-fit:contain;display:block}

/* Category circles: real photos fill the circle, emoji is the fallback */
.cat-circle .circle{overflow:hidden}
.cat-circle .circle img{width:100%;height:100%;object-fit:cover;display:block}

/* Promo banners with an image: copy left, photo right */
.promo-has-img{display:grid;grid-template-columns:1fr minmax(120px,42%);gap:1rem;align-items:center;padding-right:0;overflow:hidden}
.promo-copy{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;min-width:0}
.promo-img{align-self:stretch;display:grid;place-items:center;overflow:hidden}
.promo-img img{width:100%;height:100%;max-height:230px;object-fit:cover;object-position:center;display:block}

/* Accounts: sign in / register / my account */
.account-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:1.8rem;max-width:440px;margin:2rem auto}
.account-card h1{margin:0 0 .8rem;font-size:1.5rem;font-weight:800}
.account-card h2{margin:0 0 .8rem;font-size:1.1rem;font-weight:700}
.account-form{display:flex;flex-direction:column;gap:.8rem}
.account-form label{display:flex;flex-direction:column;gap:.25rem;font-size:.86rem;font-weight:600;color:var(--muted)}
.account-form input{padding:.65rem .8rem;border:1px solid var(--border);border-radius:10px;font:inherit;color:var(--ink)}
.account-form input:focus{outline:2px solid var(--green);outline-offset:1px}
.account-form input[readonly]{background:#f5f8f6;color:var(--muted)}
.account-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin:1.6rem 0 1rem}
.account-head h1{margin:0;font-size:1.7rem;font-weight:800}
.account-grid{display:grid;grid-template-columns:minmax(280px,380px) 1fr;gap:1.6rem;align-items:start;margin-bottom:2.5rem}
.account-grid h2{font-size:1.1rem;font-weight:700;margin:0 0 .8rem}
.account-orders{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden}
.account-orders th{text-align:left;font-size:.78rem;text-transform:uppercase;letter-spacing:.03em;color:var(--muted);padding:.7rem .9rem;border-bottom:1px solid var(--border);background:#f7faf8}
.account-orders td{padding:.75rem .9rem;border-bottom:1px solid var(--border);font-size:.92rem}
.account-orders tr:last-child td{border-bottom:0}
@media(max-width:820px){
  .account-grid{grid-template-columns:1fr}
  .promo-has-img{grid-template-columns:1fr}
  .promo-img{max-height:180px}
}

/* CTA with a background photo */
.cta-has-img{position:relative;background-size:cover;background-position:center;color:#fff;overflow:hidden}
.cta-has-img::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,50,26,.55),rgba(10,50,26,.72))}
.cta-has-img .cta-inner{position:relative;z-index:1}
.cta-has-img h2,.cta-has-img p{color:#fff}

/* Image cards: photo tiles with copy */
.img-cards{display:grid;gap:1.2rem}
.img-cards.cols-2{grid-template-columns:repeat(2,1fr)}
.img-cards.cols-3{grid-template-columns:repeat(3,1fr)}
.img-cards.cols-4{grid-template-columns:repeat(4,1fr)}
.img-card{background:#fff;border:1px solid var(--border);border-radius:16px;overflow:hidden;color:var(--ink);display:flex;flex-direction:column;transition:transform .12s,box-shadow .12s}
a.img-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(14,140,71,.15)}
.img-card-photo{aspect-ratio:4/3;background:#f1f5f1;overflow:hidden}
.img-card-photo img{width:100%;height:100%;object-fit:cover;display:block}
.img-card-body{padding:1rem}
.img-card-body h3{margin:0 0 .3rem;font-size:1.05rem;font-weight:700}
.img-card-body p{margin:0;color:var(--muted);font-size:.9rem}
@media(max-width:900px){.img-cards.cols-4{grid-template-columns:repeat(2,1fr)}.img-cards.cols-3{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.img-cards.cols-2,.img-cards.cols-3,.img-cards.cols-4{grid-template-columns:1fr}}

/* ---- Delivery location pin ---- */
.pin-field{margin:.2rem 0 1rem}
.pin-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-bottom:.4rem}
.pin-map{height:260px;border-radius:12px;border:1px solid var(--border);overflow:hidden;background:#eef2ee;margin:.5rem 0}
.pin-readout{font-size:.85rem;color:var(--muted);margin:.3rem 0}
.pin-readout a{color:var(--green);font-weight:600}
.leaflet-container{font:inherit}

/* ---- Account navigation ---- */
.account-nav{display:flex;gap:.4rem;flex-wrap:wrap;margin:0 0 1.4rem;border-bottom:1px solid var(--border);padding-bottom:.6rem}
.account-nav a{padding:.45rem .9rem;border-radius:999px;color:var(--ink);font-weight:600;font-size:.9rem}
.account-nav a:hover{background:#eef7f0;color:var(--green-d)}
.account-nav a.is-active{background:var(--green);color:#fff}
.account-sec-head{display:flex;justify-content:space-between;align-items:baseline;gap:1rem}
.account-sec-head h2{margin:0 0 .8rem}

/* ---- Order status ---- */
.status-pill{display:inline-block;padding:.2rem .7rem;border-radius:999px;font-size:.76rem;font-weight:700;background:#eef2ef;color:var(--muted);text-transform:capitalize}
.status-pending{background:#fff4d6;color:#8a6100}
.status-processing,.status-paid{background:#e2effd;color:#14548f}
.status-shipped{background:#e6f0ff;color:#2a4c9b}
.status-delivered{background:#dff3e2;color:var(--green-d)}
.status-cancelled,.status-refunded{background:#fdecec;color:#a12}

/* Tracking pipeline */
.track{list-style:none;display:flex;gap:0;margin:1.4rem 0 2rem;padding:0}
.track-step{flex:1;text-align:center;position:relative;color:var(--muted);font-size:.85rem}
.track-step::before{content:"";position:absolute;top:9px;left:0;right:50%;height:3px;background:var(--border)}
.track-step::after{content:"";position:absolute;top:9px;left:50%;right:0;height:3px;background:var(--border)}
.track-step:first-child::before,.track-step:last-child::after{display:none}
.track-step.is-done::before,.track-step.is-done::after{background:var(--green)}
.track-step.is-done ~ .track-step::before{background:var(--border)}
.track-dot{position:relative;z-index:1;display:block;width:21px;height:21px;border-radius:50%;background:#fff;border:3px solid var(--border);margin:0 auto .4rem}
.track-step.is-done .track-dot{border-color:var(--green);background:var(--green)}
.track-step.is-current .track-dot{box-shadow:0 0 0 4px rgba(14,140,71,.18)}
.track-step.is-done .track-label{color:var(--ink);font-weight:600}
.order-totals{margin-top:1rem;max-width:340px;margin-left:auto}
.order-totals .line{display:flex;justify-content:space-between;padding:.3rem 0}
.order-totals .grand{border-top:1px solid var(--border);margin-top:.3rem;padding-top:.6rem;font-weight:800}
@media(max-width:600px){.track{font-size:.72rem}}

/* Add-to-cart confirmation: stay on the page, offer the next step */
.flash{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;justify-content:space-between}
.flash-actions{display:flex;gap:.9rem;margin-left:auto}
.flash-actions a{font-weight:700;color:var(--green-d);text-decoration:underline}
.flash-actions a:hover{color:var(--green)}

/* Shopping service fee stands out from the plain totals */
.totals .service-fee,.summary .line.service-fee{color:var(--gold-d);font-weight:700}
.totals .service-fee span,.summary .line.service-fee span{color:inherit}
.order-totals .line.service-fee{color:var(--gold-d);font-weight:700}

/* ---- Saved shopping lists ---- */
.list-save-form,.cart-save-list{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center;margin-top:.6rem}
.list-save-form input[type=text],.cart-save-list input[type=text]{flex:1 1 220px;padding:.6rem .8rem;border:1px solid var(--border);border-radius:10px;font:inherit}
.list-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:1.2rem 1.3rem;margin-bottom:1.2rem}
.list-card-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:.8rem}
.list-rename{display:flex;gap:.5rem;align-items:center;flex:1 1 260px}
.list-rename input{flex:1 1 auto;padding:.5rem .7rem;border:1px solid var(--border);border-radius:10px;font:inherit;font-weight:700}
.list-items{width:100%;border-collapse:collapse}
.list-items td{padding:.5rem .4rem;border-bottom:1px solid var(--border);font-size:.92rem;vertical-align:middle}
.list-items tr:last-child td{border-bottom:0}
.list-items td:first-child{width:45%}
.list-qty form{display:flex;gap:.35rem;align-items:center}
.list-qty input{width:80px;padding:.35rem .5rem;border:1px solid var(--border);border-radius:8px;font:inherit}
.list-line{text-align:right;white-space:nowrap;color:var(--muted)}
.list-flag{display:inline-block;margin-left:.4rem;background:#fdecec;color:#a12;border-radius:999px;padding:.1rem .55rem;font-size:.72rem;font-weight:700}
.list-actions{display:flex;gap:.8rem;flex-wrap:wrap;align-items:center;margin-top:1rem;padding-top:.9rem;border-top:1px solid var(--border)}
.btn-link{background:none;border:0;font:inherit;color:var(--green-d);font-weight:600;cursor:pointer;padding:0;text-decoration:underline}
.btn-link:hover{color:var(--green)}
.btn-danger{color:#a12}
.btn-danger:hover{color:#7d0d1a}

/* ============================================================
   MOBILE APP SHELL — drawer, bottom tab bar, touch sizing
   ============================================================ */
.skip-link{position:absolute;left:-9999px;top:0;background:#fff;color:var(--ink);padding:.6rem 1rem;z-index:400;border-radius:0 0 8px 0}
.skip-link:focus{left:0}

/* Hidden on desktop, shown on phones */
.nav-toggle,.header-cart,.tabbar{display:none}

.drawer-backdrop{position:fixed;inset:0;background:rgba(12,32,20,.5);z-index:190;opacity:0;transition:opacity .2s}
.drawer-backdrop.is-open{opacity:1}
.drawer{position:fixed;top:0;left:0;bottom:0;width:min(84vw,320px);background:#fff;z-index:200;
  transform:translateX(-100%);transition:transform .22s ease;display:flex;flex-direction:column;
  overflow-y:auto;-webkit-overflow-scrolling:touch;padding-bottom:env(safe-area-inset-bottom)}
.drawer.is-open{transform:translateX(0);box-shadow:6px 0 26px rgba(0,0,0,.22)}
.drawer-head{display:flex;justify-content:space-between;align-items:center;background:var(--green);color:#fff;
  padding:calc(env(safe-area-inset-top) + .9rem) 1rem .9rem}
.drawer-title{font-weight:800}
.drawer-close{background:none;border:0;color:#fff;font-size:1.9rem;line-height:1;cursor:pointer;padding:0 .2rem}
.drawer-nav{display:flex;flex-direction:column}
.drawer-nav a{padding:.95rem 1.1rem;border-bottom:1px solid var(--border);color:var(--ink);font-weight:600;
  display:flex;justify-content:space-between;align-items:center;min-height:48px}
.drawer-nav a:active{background:#eef7f0}
.drawer-label{margin:1rem 1.1rem .3rem;font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:700}
.drawer-cats a{font-weight:500}
body.no-scroll{overflow:hidden}

@media (max-width: 860px) {
  /* Header becomes an app bar: menu, logo, cart */
  .site-header{position:sticky;top:0;z-index:150;padding-top:env(safe-area-inset-top)}
  .header-row{display:flex;align-items:center;gap:.6rem;padding:.55rem 0;flex-wrap:nowrap}
  .main-nav,.nav-dropdown{display:none}
  .nav-toggle{display:flex;flex-direction:column;justify-content:center;gap:4px;background:none;border:0;
    width:44px;height:44px;cursor:pointer;padding:0 .5rem 0 0;flex:0 0 auto}
  .nav-toggle-bar{display:block;width:22px;height:2px;background:#fff;border-radius:2px}
  .logo{flex:1 1 auto;min-width:0;font-size:1.05rem;gap:.35rem}
  .logo-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .logo-img{height:30px;max-width:130px}
  .header-cart{display:grid;place-items:center;position:relative;width:44px;height:44px;
    color:#fff;font-size:1.25rem;flex:0 0 auto;text-decoration:none}
  .header-cart .cart-count{position:absolute;top:4px;right:2px;background:var(--gold);color:#3a2c00;
    border-radius:999px;min-width:18px;height:18px;font-size:.7rem;font-weight:800;display:grid;place-items:center;padding:0 4px}

  /* Bottom app bar */
  .tabbar{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:160;
    background:#fff;border-top:1px solid var(--border);box-shadow:0 -2px 14px rgba(0,0,0,.07);
    padding-bottom:env(safe-area-inset-bottom)}
  .tabbar a,.tabbar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
    padding:.5rem .2rem;min-height:56px;background:none;border:0;font:inherit;color:var(--muted);cursor:pointer;text-decoration:none}
  .tab-ico{font-size:1.25rem;line-height:1;position:relative}
  .tab-label{font-size:.68rem;font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .tabbar .is-active{color:var(--green);font-weight:700}
  .tab-badge{position:absolute;top:-6px;right:-10px;background:var(--green);color:#fff;border-radius:999px;
    min-width:17px;height:17px;font-size:.65rem;font-weight:800;display:grid;place-items:center;padding:0 4px}
  /* Room for the bar so nothing hides behind it */
  body{padding-bottom:calc(58px + env(safe-area-inset-bottom))}

  /* App-like density */
  .wrap{padding-left:.9rem;padding-right:.9rem}
  .product-grid{grid-template-columns:repeat(2,1fr);gap:.8rem}
  .product-card .body{padding:.6rem .6rem .3rem}
  .product-card h3{font-size:.9rem;line-height:1.3}
  .card-add{padding:.5rem .6rem .6rem}
  .btn-add{padding:.6rem;font-size:.85rem}
  .hero2{padding:1.4rem 1.1rem;gap:1.2rem;border-radius:16px}
  .hero2 h1{font-size:1.55rem}
  .section-title{font-size:1.35rem}
  .cat-circles{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem .6rem}
  .cat-circle{width:auto}
  .cat-circle .circle{width:64px;height:64px;font-size:1.6rem}
  .cat-circle strong{font-size:.8rem}
  /* Comfortable tap targets throughout */
  .btn,.btn-outline{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
}

@media (max-width: 380px) {
  .product-grid{grid-template-columns:repeat(2,1fr);gap:.6rem}
  .tab-label{font-size:.62rem}
  .cat-circles{grid-template-columns:repeat(3,1fr)}
}

/* Larger phones/tablets keep the desktop header but still get the tab bar off */
@media (min-width: 861px) {
  body{padding-bottom:0}
}

/* ============================================================
   FOOTER — v1.7 (content from Admin > Footer + Settings)
   Note: the column count comes from PHP as --footer-cols. Using a fixed
   integer repeat() keeps this valid; repeat(auto-fit, …) beside an fr
   track is INVALID CSS and makes browsers drop the whole rule.
   ============================================================ */
.site-footer{background:#0b5d31;color:#d6ecde;margin-top:3rem;font-size:.92rem;padding:0}
.footer-cta{background:var(--green);border-bottom:1px solid rgba(255,255,255,.12)}
.footer-cta-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding-top:1.1rem;padding-bottom:1.1rem}
.footer-cta-row strong{display:block;color:#fff;font-size:1.05rem}
.footer-cta-row span{color:#d6ecde}

.footer-main{display:grid;grid-template-columns:minmax(220px,1.35fr) repeat(var(--footer-cols,3),minmax(min-content,1fr));
  gap:2rem 2.2rem;padding-top:2.6rem;padding-bottom:2.4rem;align-items:start}
.footer-brand{max-width:36ch}
.footer-logo{display:inline-flex;align-items:center;gap:.5rem;color:#fff;font-weight:800;font-size:1.2rem}
.footer-logo img{height:44px;width:auto;max-width:180px;object-fit:contain;display:block}
.footer-about{color:#bfe0cb;margin:.9rem 0 0;line-height:1.65}
.footer-social{display:flex;gap:.55rem;margin-top:1.1rem;flex-wrap:wrap}
.footer-social a{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;
  display:grid;place-items:center;font-weight:700;transition:background .15s,color .15s}
.footer-social a:hover{background:var(--gold);color:#3a2c00}

.footer-col h3{color:#fff;font-size:.8rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin:.3rem 0 1rem}
.footer-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.65rem}
.footer-col a{color:#d6ecde;transition:color .15s}
.footer-col a:hover{color:var(--gold)}
.footer-contact li,.footer-contact li a{display:flex;gap:.6rem;align-items:flex-start;line-height:1.45}
.fc-ico{flex:0 0 26px;height:26px;border-radius:8px;background:rgba(255,255,255,.1);display:grid;place-items:center;font-size:.8rem}
.fc-break{word-break:break-word}
.fc-nowrap{white-space:nowrap}

.footer-bottom{background:#084a27}
.footer-bottom-row{display:flex;justify-content:space-between;align-items:center;gap:.8rem 1.4rem;flex-wrap:wrap;
  padding-top:1rem;padding-bottom:1rem;color:#a9cfb7;font-size:.85rem}
.footer-note{color:var(--gold)}
.footer-share{display:flex;gap:.5rem;flex-wrap:wrap}
.footer-share-btn{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);color:#fff;font:inherit;
  font-size:.82rem;padding:.4rem .85rem;border-radius:999px;cursor:pointer}
.footer-share-btn:hover{background:var(--gold);color:#3a2c00;border-color:var(--gold)}

/* Tablet: brand across the top, columns two-up */
@media (max-width: 1000px){
  .footer-main{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-brand{grid-column:1/-1;max-width:none}
}
/* Phone: link columns stay two-up (compact); contact gets the full row */
@media (max-width: 600px){
  .footer-main{gap:1.6rem 1.2rem;padding-top:1.8rem;padding-bottom:1.6rem}
  .footer-contact{grid-column:1/-1}
  .footer-bottom-row{flex-direction:column;text-align:center}
  .footer-cta-row{flex-direction:column;align-items:flex-start}
  .footer-cta-row .btn{width:100%}
}

/* ============================================================
   CHECKOUT ACCOUNT OPTION, FORM HINTS, SPAM TRAP, SHARING
   ============================================================ */
.field-hint{display:block;font-size:.78rem;color:var(--muted);font-weight:400;margin-top:.3rem}
.field-optional{font-weight:400;color:var(--muted);font-size:.82rem}
.create-account{border:1px solid #cfe7d6;background:#f3faf5;border-radius:12px;padding:.9rem 1rem;margin:.6rem 0 1.2rem}
.create-account-toggle{display:flex;gap:.7rem;align-items:flex-start;cursor:pointer;margin:0}
.create-account-toggle input{margin-top:.25rem;width:18px;height:18px;flex:0 0 auto;accent-color:var(--green)}
.create-account-fields{margin-top:.8rem;padding-top:.8rem;border-top:1px dashed #cfe7d6}

/* Honeypot: off-screen, not display:none (some bots skip hidden fields) */
.hp-field{position:absolute !important;left:-10000px !important;top:auto;width:1px;height:1px;overflow:hidden}

.share-bar{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;margin:1rem 0}
.share-label{font-weight:700;font-size:.88rem;color:var(--muted)}
.share-btn{display:inline-flex;align-items:center;padding:.4rem .85rem;border-radius:999px;border:1px solid var(--border);
  background:#fff;color:var(--ink);font:inherit;font-size:.84rem;font-weight:600;cursor:pointer;text-decoration:none}
.share-btn:hover{border-color:var(--green);color:var(--green-d)}
.share-whatsapp{border-color:#b9e6c8;background:#effaf3;color:#128c46}
.share-facebook{border-color:#c9d8f5;background:#f1f5fd;color:#1b4fa8}
.share-native{background:var(--green);color:#fff;border-color:var(--green)}
