/* GreenBasket UAE: custom styles (on top of css/tailwind.css) */
:root{--ink:#203b34;--muted:#56665e;--cream:#f8f5ed;--soft:#e8eee5;--rust:#a25439;--line:#dcded4}
html{scroll-behavior:smooth}
body{margin:0;font-family:'DM Sans',system-ui,sans-serif;color:var(--ink);background:var(--cream)}
h1,h2,h3{font-family:'Fraunces',Georgia,serif;font-weight:600;color:var(--ink)}
h1{font-size:clamp(2.4rem,5vw,3.65rem);line-height:1.08}
h2{font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.18}
h3{font-size:1.2rem;line-height:1.3}
section,article[id]{scroll-margin-top:calc(var(--site-header-h,56px) + 12px)}
#produce-catalogue{scroll-margin-top:var(--site-header-h,56px)}
#cart-panel,#order-form,#category-shortcuts,.cat-group{scroll-margin-top:calc(var(--cart-bar-h,100px) + 12px)}
img{max-width:100%}

.skip-link{position:absolute;left:-999px;top:8px;z-index:100;background:#fff;color:var(--ink);padding:.6rem 1rem;border-radius:.6rem;font-weight:700}
.skip-link:focus{left:8px}

.field{width:100%;border:1px solid #bcc9bd;border-radius:12px;background:#fff;padding:12px 14px;color:var(--ink);font:inherit;transition:border-color .18s ease,box-shadow .18s ease}
.field:hover{border-color:#8eaa91}
.field:focus{outline:none;border-color:var(--rust);box-shadow:0 0 0 4px rgba(162,84,57,.12)}
a,button,.card,.panel,.sheet-card,.city-card{transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,color .18s ease,border-color .18s ease}
.card:hover,.sheet-card:hover{box-shadow:0 10px 24px rgba(32,59,52,.08)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--rust);outline-offset:3px}
button:hover:not(:disabled),a.btn:hover{transform:translateY(-1px)}
button:active:not(:disabled),a.btn:active{transform:translateY(0)}
.action{background:var(--ink);color:#fff}
.action:hover{background:#294e42}
.pale-action{background:#f1eee4;color:var(--ink)}
.pale-action:hover{background:#dce9da}
.nav-link:hover{color:var(--rust)}
.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

.photo{overflow:hidden;border-radius:24px}
.photo img{transition:transform .5s ease}
.photo:hover img{transform:scale(1.02)}
.cart-pulse{animation:cart-pulse .3s ease-out}
@keyframes cart-pulse{50%{transform:scale(1.015)}}

.small-label{font-size:.8rem;letter-spacing:.16em;font-weight:700;text-transform:uppercase;color:var(--rust)}
.sheet-card{border:1px solid var(--line);border-radius:18px;background:#fff;padding:1.4rem}
.city-card{border-left:4px solid var(--rust);background:#fff;border-radius:0 18px 18px 0;padding:1.6rem}
.banner{background:#d3ff99;color:#694322}
.soon{display:inline-block;margin-bottom:.6rem;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#694322;background:#d3ff99;border-radius:999px;padding:.2rem .6rem}

/* Owner placeholders: deliberately loud so they are not missed before launch */
.placeholder{background:#fff3c4;color:#6b4a00;border:1px dashed #c9a227;border-radius:6px;padding:0 .35rem;font-weight:600}

/* One compact site-navigation row. The mobile menu overlays rather than growing it. */
:root { --site-header-h: 56px; --catalogue-bar-h: 44px; --cart-bar-h: 100px; }
#site-nav-shell { position: sticky; top: 0; z-index: 40; height: var(--site-header-h); background: var(--cream); }
#site-nav-shell .site-bar { height: 100%; display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; padding: 0 20px; }
#site-nav-shell .site-bar > a:first-child { display: flex; flex: 0 0 auto; gap: 8px; align-items: center; }
.site-logo-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 20px; }
.site-brand-name { font-size: 15px; font-weight: 700; white-space: nowrap; }
#site-nav-shell .main-nav { display: flex; flex: 1; min-width: 0; flex-wrap: nowrap; justify-content: flex-end; gap: 11px; font-size: 12px; white-space: nowrap; }
#site-nav-shell .nav-link { display: flex; align-items: center; min-height: 36px; }
#site-nav-shell .site-bar > a.btn { display: inline-flex; align-items: center; flex-shrink: 0; gap: 6px; padding: 0 10px; min-height: 36px; border-radius: 9px; font-size: 12px; }
#header-cart-summary { font-size: 11px; }
#site-nav-shell .menu-toggle { display: none; min-height: 36px; padding: 0 10px; }
@media(max-width:1199px) {
  #site-nav-shell .menu-toggle { display: inline-flex; align-items: center; order: 3; }
  #site-nav-shell .site-bar > a.btn { margin-left: auto; }
  #site-nav-shell .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 8px 20px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px #203b341a; max-height: calc(100dvh - var(--site-header-h)); overflow-y: auto; flex-direction: column; gap: 0; }
  #site-nav-shell .main-nav.open { display: flex; }
  #site-nav-shell .main-nav a { padding: 8px 0; border-bottom: 1px solid var(--line); }
  #header-cart-summary { display: none; }
}
@media(max-width:640px) {
  :root { --site-header-h: 52px; --cart-bar-h: 96px; }
  #site-nav-shell .site-bar { padding: 0 12px; gap: 8px; }
  .site-brand-name { font-size: 14px; }
  .site-logo-mark { width: 26px; height: 26px; font-size: 19px; }
}

/* Catalogue */
.catalogue-toolbar { position: sticky; top: var(--site-header-h); z-index: 30; height: var(--catalogue-bar-h); box-sizing: border-box; display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; padding: 3px 0; margin-bottom: 16px; }
.catalogue-search-group { display: flex; flex: 0 0 260px; align-items: center; gap: 4px; min-width: 0; }
.catalogue-search-input { position: relative; flex: 1; min-width: 0; }
.catalogue-search-input .field { min-height: 36px; height: 36px; padding: 6px 32px 6px 10px; border-radius: 9px; font-size: 13px; }
#clear-catalogue-search { position: absolute; right: 0; top: 0; width: 32px; height: 36px; font-size: 20px; }
#catalogue-search-btn { width: 36px; min-height: 36px; flex-shrink: 0; border-radius: 9px; font-size: 23px; }
#category-shortcuts { display: flex; flex: 1; min-width: 0; flex-wrap: nowrap; align-items: center; gap: 6px; overflow-x: auto; overflow-y: hidden; height: 38px; scrollbar-width: none; overscroll-behavior-x: contain; }
#category-shortcuts::-webkit-scrollbar { display: none; }
#category-shortcuts .chip { flex: 0 0 auto; white-space: nowrap; height: 36px; min-height: 36px; padding: 0 11px; font-size: 12px; }
.catalogue-filter-options { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.catalogue-filter-options .field { min-height: 36px; width: auto; max-width: 100%; height: 36px; padding: 4px 28px 4px 10px; font-size: 12px; border-radius: 8px; }
@media(max-width:640px) {
  .catalogue-toolbar { gap: 6px; }
  .catalogue-search-group { flex-basis: 158px; }
  .catalogue-search-input .field { font-size: 16px; padding-left: 7px; }
  #category-shortcuts .chip { padding: 0 9px; }
  .catalogue-filter-options .field { min-width: 0; flex: 1; width: 0; }
}
.cart-panel{position:sticky;top:calc(var(--cart-bar-h,64px) + 16px);max-height:calc(100vh - var(--cart-bar-h,64px) - 32px);overflow:auto}
.cart-panel-compact{padding:0.85rem 0.9rem;border-radius:14px}
.cart-panel-compact .cart-title{font-family:'DM Sans',system-ui,sans-serif;font-size:0.95rem;font-weight:700;margin:0 0 0.55rem;line-height:1.25}
.cart-panel-compact .cart-lines{display:flex;flex-direction:column;gap:0.45rem;margin-bottom:0.55rem}
.cart-panel-compact .cart-line{gap:0.45rem;padding-bottom:0.45rem;align-items:center}
.cart-panel-compact .cart-line .font-semibold{font-size:0.82rem;line-height:1.25}
.cart-panel-compact .cart-line .text-sm{font-size:0.72rem;line-height:1.3}
.cart-panel-compact .cart-thumb{width:32px;height:32px;border-radius:7px}
.cart-panel-compact .cart-line button[data-remove]{min-height:32px;font-size:0.72rem}
.cart-panel-compact .cart-totals{font-size:0.8rem;line-height:1.35;display:flex;flex-direction:column;gap:0.2rem}
.cart-panel-compact .cart-total-row{font-size:0.9rem;margin-top:0.25rem;padding-top:0.35rem;border-top:1px solid var(--line)}
.cart-panel-compact .cart-cashback{margin-top:0.45rem;padding:0.45rem 0.55rem;border-radius:9px;font-size:0.75rem}
.cart-panel-compact .cart-cashback-note{font-size:0.68rem;margin-top:0.15rem;line-height:1.35;opacity:0.9}
.cart-panel-compact .cart-checkout-cta{margin-top:0.7rem}
.cart-panel-compact .cart-submit-btn{padding:0.7rem 0.85rem;font-size:0.9rem;line-height:1.2}
.cart-panel-compact .cart-cta-hint{font-size:0.68rem;color:var(--muted);margin-top:0.35rem;line-height:1.35}
@media(min-width:1024px){
  .catalogue-with-cart{grid-template-columns:minmax(0,1fr) 290px;gap:1.5rem;align-items:start}
  #cart-panel.cart-panel-compact{width:100%;max-width:290px}
}
.chip[aria-pressed="true"]{background:var(--ink);color:#fff;border-color:var(--ink)}
.chip:hover{background:#f8f5ed}
.chip[aria-pressed="true"]:hover{background:#294e42}
/* Compact professional product list — 2 columns from tablet up */
.catalogue-list{display:flex;flex-direction:column;gap:1.25rem}
.cat-group{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.cat-heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin:0;padding:.85rem 1rem;font-family:'DM Sans',system-ui,sans-serif;font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink);background:#f4f6f1;border-bottom:1px solid var(--line)}
.cat-count{font-family:'DM Sans',system-ui,sans-serif;font-size:.72rem;font-weight:600;letter-spacing:0;text-transform:none;color:var(--muted);background:#fff;border:1px solid var(--line);border-radius:999px;padding:.15rem .55rem}
.product-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr}
.product-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:.75rem 1rem;padding:.7rem 1rem;border-bottom:1px solid var(--line);background:#fff;min-width:0}
.product-row:last-child{border-bottom:0}
.product-row:hover{background:#fafbf8}
/* Two product columns on tablet/desktop; category heading stays full width */
@media(min-width:768px){
  .product-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-row{grid-template-columns:40px minmax(0,1fr);gap:.5rem .7rem;padding:.65rem .85rem;align-items:start}
  .product-actions{grid-column:1 / -1;justify-self:stretch;justify-content:space-between}
  .product-actions .stepper{flex:1;max-width:none}
  .product-row:nth-child(odd){border-right:1px solid var(--line)}
  .product-list > .product-row:nth-last-child(2):nth-child(odd){border-bottom:0}
  .product-cashback{display:block;width:100%;margin-top:.1rem}
}
.product-thumb{flex:0 0 auto;width:40px;height:40px;object-fit:cover;border-radius:8px;background:var(--soft);border:1px solid var(--line)}
.product-info{min-width:0}
.product-name-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem .65rem}
.product-name{font-weight:600;font-size:.95rem;line-height:1.3;overflow-wrap:anywhere;color:var(--ink)}
.product-in-cart{font-size:.72rem;font-weight:600;color:#2f7d4b}
.product-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:.25rem .55rem;margin-top:.15rem;font-size:.82rem;color:var(--muted)}
.product-price{font-weight:700;color:var(--ink)}
.product-unit{color:var(--muted)}
.product-cashback{color:#5a6b62;font-weight:500}
.product-actions{display:flex;align-items:center;gap:.45rem;justify-self:end}
.stepper{display:flex;align-items:stretch;border:1px solid #bcc9bd;border-radius:10px;overflow:hidden;background:#fff;max-width:11.5rem}
.qty-btn{min-width:36px;min-height:36px;font-weight:700;font-size:1.05rem;background:#fff;color:var(--ink)}
.qty-btn:hover{background:var(--soft)}
.qty-input{width:2.6rem;min-width:2.2rem;border:0;border-left:1px solid var(--line);text-align:right;padding-right:.25rem;font:inherit;font-weight:600;font-size:.9rem;color:var(--ink);-moz-appearance:textfield;appearance:textfield}
.qty-input::-webkit-outer-spin-button,.qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.qty-input:focus{outline:2px solid var(--rust);outline-offset:-2px}
.qty-unit{display:flex;align-items:center;padding:0 .45rem 0 0;font-size:.72rem;color:var(--muted);white-space:nowrap;border-right:1px solid var(--line);max-width:4.5rem;overflow:hidden;text-overflow:ellipsis}
.add-btn{min-height:36px;min-width:4.25rem;width:auto;padding:.4rem .85rem;font-size:.85rem}
.cart-line{display:flex;justify-content:space-between;gap:.75rem;border-bottom:1px solid var(--line);padding-bottom:.6rem}
.cart-thumb{flex:0 0 auto;width:40px;height:40px;object-fit:cover;border-radius:8px;background:var(--soft);border:1px solid var(--line)}
.product-head{display:flex;gap:.9rem;align-items:flex-start}
.product-card{display:flex;flex-direction:column}
.product-card h3{font-size:1.08rem;overflow-wrap:anywhere}
.qty-row{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:auto;padding-top:.75rem}

/* Cashback */
.cashback-hero{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;font-weight:500}
.cashback-hero-badge{display:inline-block;background:#d3ff99;color:var(--ink);font-weight:800;border-radius:999px;padding:.3rem .8rem;letter-spacing:.02em}
.cashback-strip{background:#fff;border:2px dashed #2f7d4b;color:var(--ink)}
.cashback-chip{display:inline-block;align-self:flex-start;font-size:.8rem;font-weight:700;color:#1f5f38;background:#e6f5d8;border-radius:999px;padding:.2rem .65rem}
.cart-cashback{background:#e6f5d8;border-radius:12px;padding:.75rem .9rem;color:#1f5f38}
.terms-list{list-style:disc;padding-left:1.25rem}
.terms-list li{margin:.35rem 0}

/* Business Blog */
.blog-card{display:flex;flex-direction:column;position:relative}
.blog-card .soon{align-self:flex-start}
.blog-link::after{content:'';position:absolute;inset:0}
.blog-link:hover{color:var(--rust)}
.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:.35rem;font-size:.9rem;color:var(--muted)}
.breadcrumbs li+li::before{content:'›';margin-right:.35rem}
.breadcrumbs a{text-decoration:underline}
.prose-gb p,.prose-gb li{line-height:1.7}
.prose-gb ul{list-style:disc;padding-left:1.25rem}
.prose-gb h2{margin-top:2rem;margin-bottom:.75rem;font-size:clamp(1.5rem,2.4vw,2rem)}
.prose-gb ol.steps{list-style:decimal;padding-left:1.25rem}

/* FAQ accordions */
.faq summary{cursor:pointer;list-style:none;font-family:'Fraunces',Georgia,serif;font-size:1.15rem;font-weight:600;display:flex;justify-content:space-between;gap:1rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';font-family:'DM Sans',sans-serif;font-size:1.4rem;line-height:1;color:var(--rust)}
.faq details[open] summary::after{content:'−'}
.faq details p{margin-top:.75rem;color:var(--muted)}

footer a:hover{color:#fff;text-decoration:underline}

/* Mobile bottom nav */
.mobile-app-nav{display:none}
@media(max-width:640px){
  body{padding-bottom:76px}
  .mobile-app-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;z-index:50;bottom:0;left:0;right:0;background:var(--ink);color:#fff;border-top:1px solid rgba(255,255,255,.18);box-shadow:0 -8px 24px rgba(32,59,52,.18);padding:7px 6px calc(7px + env(safe-area-inset-bottom))}
  .mobile-app-nav button{min-height:52px;color:#fff;background:transparent;border:0;border-radius:12px;font-size:.7rem;font-weight:700;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}
  .mobile-app-nav button:hover{background:rgba(255,255,255,.12);transform:none}
  .mobile-app-nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .mobile-cart-count{display:inline-block;min-width:1.1rem;padding:0 .25rem;border-radius:999px;background:#d3ff99;color:var(--ink);font-size:.65rem}
  .product-row{grid-template-columns:40px minmax(0,1fr);gap:.55rem .75rem;padding:.65rem .85rem}
  .product-actions{grid-column:1 / -1;justify-self:stretch;justify-content:space-between}
  .product-actions .stepper{flex:1;max-width:none}
  .cat-heading{padding:.75rem .85rem}
  .cart-panel{position:static;max-height:none;overflow:visible}
  .field,.action,.pale-action{min-height:48px}
  #quick-cart-summary{display:none}
  .site-bar>a.btn{display:none} /* cart is in the bottom bar on phones */
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Toast */
.basket-toast{position:fixed;left:50%;bottom:calc(88px + env(safe-area-inset-bottom));transform:translateX(-50%) translateY(12px);z-index:80;background:var(--ink);color:#fff;font-weight:700;font-size:.9rem;padding:.7rem 1.1rem;border-radius:999px;box-shadow:0 10px 28px rgba(32,59,52,.25);opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease}
.basket-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
@media(min-width:641px){.basket-toast{bottom:28px}}

/* Mobile submit bar (above bottom nav) */
.mobile-submit-bar{display:none}
@media(max-width:640px){
  .mobile-submit-bar{display:block;position:fixed;z-index:55;left:0;right:0;bottom:calc(64px + env(safe-area-inset-bottom));padding:0 8px 6px;pointer-events:none}
  .mobile-submit-bar[hidden]{display:none!important}
  .mobile-submit-btn{pointer-events:auto;width:100%;min-height:52px;height:52px;display:flex;align-items:center;justify-content:space-between;gap:.5rem;background:#d3ff99;color:var(--ink);border:0;border-radius:12px;padding:0 .85rem;font:inherit;font-size:.82rem;font-weight:600;box-shadow:0 6px 18px rgba(32,59,52,.16)}
  .mobile-submit-btn .font-bold{font-size:.82rem}
  body.has-mobile-submit{padding-bottom:128px}
}

/* Checkout page */
.checkout-line{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:.75rem 1rem;align-items:start;padding:1rem 1rem}
.checkout-thumb{width:48px;height:48px;object-fit:cover;border-radius:10px;border:1px solid var(--line);background:var(--soft)}
.checkout-controls{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem}
.checkout-line-price{justify-self:end;white-space:nowrap}
@media(max-width:640px){
  .checkout-line{grid-template-columns:48px minmax(0,1fr);gap:.55rem .75rem}
  .checkout-line-price{grid-column:2;justify-self:start}
}

/* Gallery */
.gallery-group{margin-bottom:2rem;scroll-margin-top:88px}
.gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem;font-family:'DM Sans',system-ui,sans-serif;font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin:0 0 .85rem;padding-bottom:.5rem;border-bottom:1px solid var(--line)}
.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}
@media(min-width:640px){.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}}
@media(min-width:1024px){.gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1.1rem}}
.gallery-tile{margin:0;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.gallery-shot{display:block;width:100%;padding:0;border:0;background:var(--soft);aspect-ratio:1/1;cursor:zoom-in}
.gallery-shot img{width:100%;height:100%;object-fit:cover;display:block}
.gallery-tile figcaption{padding:.65rem .75rem .8rem}
.gallery-name{font-weight:600;font-size:.9rem;color:var(--ink);text-decoration:none}
.gallery-name:hover{color:var(--rust);text-decoration:underline}
.lightbox{position:fixed;inset:0;z-index:100;background:rgba(16,28,24,.88);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem;gap:.75rem}
.lightbox[hidden]{display:none!important}
.lightbox img{max-width:min(920px,100%);max-height:min(80vh,100%);object-fit:contain;border-radius:12px;background:#111}
.lightbox-caption{color:#fff;font-weight:600}
.lightbox-close{position:absolute;top:1rem;right:1rem;width:44px;height:44px;border:0;border-radius:999px;background:#fff;color:var(--ink);font-size:1.6rem;line-height:1;font-weight:700;cursor:pointer}
body.lightbox-open{overflow:hidden}
.product-row-focus{outline:2px solid var(--rust);outline-offset:-2px;background:#fff8f3}

/* Compact checkout cards */
.checkout-section-title{font-family:'DM Sans',system-ui,sans-serif;font-size:0.95rem;font-weight:700;margin:0 0 0.55rem;line-height:1.25}
.checkout-summary-card,.checkout-form-card{padding:1rem 1.05rem;border-radius:14px}
.checkout-basket-card{border-radius:14px}
.checkout-basket-card .cat-heading,.checkout-basket-card [id="basket-title"]{font-size:0.75rem}
.checkout-line{padding:0.75rem 0.9rem;gap:0.55rem 0.75rem}
.checkout-thumb{width:40px;height:40px;border-radius:8px}

/* WhatsApp QR */
.wa-qr-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:1.25rem 1.5rem}
.wa-qr{margin:0;text-align:center;max-width:10rem}
.wa-qr img{display:block;margin:0 auto;background:#fff;border-radius:12px;padding:0.4rem;border:1px solid rgba(255,255,255,.25)}
.wa-qr figcaption{margin-top:0.45rem;font-size:0.75rem;line-height:1.3;color:inherit;opacity:0.9}
.wa-qr-secondary{max-width:7.5rem;opacity:0.95}
.wa-qr-secondary img{padding:0.3rem}
.wa-qr-footer{margin-top:0.35rem}
.wa-qr-footer img{border-color:rgba(255,255,255,.2)}
.wa-qr-checkout img{border:1px solid var(--line)}
.wa-qr-checkout figcaption{color:var(--muted)}

/* Checkout feedback stays visible on mobile and desktop. */
.field-error { color: #8a271e; font-weight: 600; font-size: .875rem; margin-top: .35rem; }
[aria-invalid="true"] { outline: 2px solid #8a271e; outline-offset: 2px; }
#order-status:not(:empty) { padding: .85rem; border: 1px solid #8a4b20; border-radius: .6rem; background: #fff5df; color: #643318; }

/* Compact basket quantity controls, shared by desktop and mobile cart views. */
.cart-panel-compact .cart-line { display: flex; flex-direction: column; align-items: stretch; gap: .4rem; padding: .5rem 0; }
.cart-line-heading { display: flex; align-items: flex-start; gap: .45rem; min-width: 0; }
.cart-line-info { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cart-line-total { text-align: right; flex-shrink: 0; }
.cart-line-actions { display: flex; align-items: center; justify-content: space-between; gap: .4rem; }
.cart-quantity { align-self: center; padding: 0 .4rem; min-width: 3rem; text-align: center; font-size: .8rem; font-weight: 600; }
.cart-unit { font-size: .7rem; font-weight: 400; }
.cart-remove, .cart-panel-compact .cart-line button[data-remove] { min-width: 36px; min-height: 36px; padding: .35rem .4rem; font-size: .75rem; text-decoration: underline; }
#cart-panel { scroll-margin-top: calc(var(--cart-bar-h,64px) + 20px); }
.mobile-edit-basket { pointer-events: auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; min-height: 36px; min-width: 36px; display: flex; align-items: center; justify-content: center; padding: .45rem .65rem; text-decoration: underline; font-weight: 700; font-size: .8rem; white-space: nowrap; }
@media(max-width:640px) {
  .mobile-submit-bar { display: flex; gap: .4rem; align-items: center; }
  .mobile-submit-btn { flex: 1; min-width: 0; flex-wrap: wrap; justify-content: center; gap: 0 .5rem; }
}

/* ---------- Optional customer accounts (/account/) ---------- */
.acct-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:12px;font-weight:700;cursor:pointer}
.acct-btn-full{width:100%}
.acct-btn:disabled{opacity:.6;cursor:wait}
.acct-head-link,.acct-inline-link{display:inline-flex;align-items:center;min-height:36px}
.acct-form{display:flex;flex-direction:column;gap:14px}
.acct-label{display:flex;flex-direction:column;gap:6px;font-weight:600}
.acct-check{display:flex;align-items:flex-start;gap:10px;min-height:36px;font-size:.95rem}
.acct-check input{width:20px;height:20px;margin-top:2px;flex:0 0 auto;accent-color:var(--ink)}
.acct-linkbtn{align-self:flex-start;min-height:36px;padding:0 2px;background:none;border:0;color:var(--ink);font-weight:600;text-decoration:underline;cursor:pointer}
.acct-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:12px;padding:4px;background:#f1eee4;border:1px solid var(--line);border-radius:14px}
.acct-tab{min-height:44px;border:0;border-radius:10px;background:transparent;color:var(--ink);font:inherit;font-weight:700;cursor:pointer}
.acct-tab[aria-selected="true"]{background:var(--ink);color:#fff}
.acct-status{min-height:1.5em;margin-bottom:12px;font-weight:600;color:#2f7d4b}
.acct-status.is-error{color:var(--rust)}
.acct-welcome{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.acct-actions{display:flex;flex-wrap:wrap;gap:10px}
.acct-balance{font-family:'Fraunces',Georgia,serif;font-size:2.2rem;font-weight:600;margin:.2rem 0 .4rem}
.acct-credits{margin-top:10px;display:grid;gap:4px;font-size:.92rem}
.acct-credits .is-expired{color:var(--muted);text-decoration:line-through}
.acct-orders{display:grid;gap:12px;list-style:none;padding:0;margin:0}
.acct-order-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.acct-pill{display:inline-block;font-size:.75rem;font-weight:700;padding:.2rem .6rem;border-radius:999px;background:var(--soft);color:var(--ink);white-space:nowrap}
.acct-pill-delivered{background:#d3ff99;color:#2b4a12}
.acct-pill-cancelled{background:#f4ddd4;color:var(--rust)}
.acct-items{margin-top:8px}
.acct-items summary{min-height:36px;display:flex;align-items:center;cursor:pointer;font-weight:600}
.acct-items ul{margin:4px 0 0 1.1rem;list-style:disc;font-size:.92rem}
.checkout-account-note{font-size:.92rem}
@media (max-width:480px){.acct-welcome{flex-direction:column;align-items:stretch}.acct-actions .acct-btn{flex:1}}

/* ---------- /thank-you/ ---------- */
.ty-items{display:grid;gap:8px;list-style:none;padding:0;margin:0 0 12px}
.ty-items li{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:8px}
.ty-totals{display:grid;gap:6px;margin:0}
.ty-totals div{display:flex;justify-content:space-between;gap:12px}
.ty-totals dt{color:var(--muted)}
.ty-totals dd{margin:0;font-weight:700;text-align:right}
.ty-steps{list-style:decimal;margin:0 0 0 1.2rem;display:grid;gap:6px}

/* ---------- Footer social icons ---------- */
.social-icons{display:inline-flex;align-items:center;gap:2px;vertical-align:middle}
.social-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;min-height:36px;border-radius:10px;color:inherit;opacity:.9;text-decoration:none}
.social-icon:hover,.social-icon:focus-visible{opacity:1;color:#fff;background:rgba(255,255,255,.1);text-decoration:none;outline:2px solid rgba(255,255,255,.45);outline-offset:2px}
.social-icon svg{display:block}


/* Slimmer hero */
.site-hero > div{padding-top:1rem!important;padding-bottom:1rem!important;gap:1.25rem!important}
.site-hero h1{font-size:clamp(1.75rem,3.6vw,2.6rem);line-height:1.12;margin-bottom:.6rem}
.site-hero p.text-lg{font-size:15px!important;line-height:1.5!important;margin-bottom:.9rem!important}
.site-hero .btn{padding:.6rem 1.1rem!important;font-size:14px}
.site-hero .photo{min-height:160px!important;max-height:240px}
@media(min-width:1024px){.site-hero .photo{min-height:220px!important}}
.site-hero .cashback-hero{font-size:14px}
