/* OMRINAD storefront UI 0.9.32 — Design System layer (loaded last). Visual style only; colours come from the theme tokens. */
body.store{
  --sc-brand:var(--brand-strong,#175b48);--sc-brand-deep:var(--brand-deep,#163e33);--sc-soft:var(--brand-soft,#eef5eb);
  --sc-ink:#1c2b24;--sc-muted:#6b766f;--sc-line:#e6e9e2;--sc-surface:#fff;--sc-bg:#f6f7f3;--sc-danger:#c0392b;
  --sc-r-sm:10px;--sc-r:14px;--sc-r-lg:18px;--sc-gap:10px;--sc-shadow:0 1px 2px rgba(22,54,39,.06),0 4px 14px rgba(22,54,39,.05);
  --sc-fs-xs:.72rem;--sc-fs-sm:.84rem;--sc-fs-md:.95rem;--sc-fs-lg:1.15rem;
  background:var(--sc-bg);
}
body.store main{padding:12px 14px 96px}
@media(min-width:701px){body.store main{padding:20px 24px 60px}}

/* ---- buttons / inputs / links ---- */
body.store .sc-link-btn{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:999px;background:var(--sc-soft);color:var(--sc-brand);font-weight:700;font-size:var(--sc-fs-sm);text-decoration:none}
body.store .sc-icon-btn{position:relative;display:inline-grid;place-items:center;width:40px;height:40px;padding:0;border-radius:12px;background:transparent;color:var(--sc-ink);text-decoration:none}
body.store .sc-icon-btn:hover{background:var(--sc-soft);text-decoration:none;filter:none}
body.store .sc-icon-btn svg{width:22px;height:22px}
.sc-badge,.store-cart-nav b[data-cart-count]{display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#c95239;color:#fff;font-size:11px;font-weight:800;line-height:1}
.sc-badge[hidden],[data-cart-count][hidden]{display:none}
.sc-icon-btn .sc-badge{position:absolute;top:2px;inset-inline-start:2px}

/* ---- header: one slim row ---- */
body.store .shop-header.sc-header{display:flex;flex-direction:row;align-items:center;gap:6px;padding:6px 10px;min-height:54px;position:sticky;top:0;z-index:25;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid var(--sc-line)}
body.store .sc-header .store-menu-btn{width:44px;height:44px;flex:0 0 auto}
body.store .sc-header .logo{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:8px;font-family:inherit;font-weight:800;font-size:1.05rem;line-height:1.2;letter-spacing:0;color:var(--sc-ink);text-decoration:none}
body.store .sc-header .logo>span:first-child:not(.logo-name){font-size:1.5rem;line-height:1;color:var(--sc-brand)}
body.store .sc-header .logo .logo-name{font-size:1.05rem;color:var(--sc-ink)}
body.store .sc-header .logo-img{width:auto;height:34px;max-width:140px;object-fit:contain;border-radius:0;margin:0}
body.store .sc-header .logo.is-wide .logo-name{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
body.store .sc-header .logo-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.store .sc-header .shop-nav{display:none}
body.store .sc-actions{display:flex;align-items:center;gap:2px;flex:0 0 auto}
body.store .sc-header .cart-link{background:transparent;padding:0;border-radius:12px}
@media(min-width:901px){
  body.store .shop-header.sc-header{padding:8px max(24px,calc((100% - 1232px)/2));gap:16px}
  body.store .sc-header .shop-nav{display:flex;gap:6px;flex:0 1 auto;font-size:var(--sc-fs-md)}
  body.store .sc-header .shop-nav a{padding:8px 12px;border-radius:10px;color:var(--sc-ink)}
  body.store .sc-header .shop-nav a:hover{background:var(--sc-soft);text-decoration:none}
  body.store .sc-header .logo{flex:0 0 auto;margin-inline-end:auto}
}

/* ---- search (+ filter button) ---- */
.sc-search{display:flex;align-items:center;gap:8px;margin:2px 0 12px;max-width:none}
.sc-search-box{position:relative;flex:1;min-width:0;display:flex;align-items:center}
.sc-search input[type=search]{width:100%;min-height:44px;padding:0 42px;border-radius:14px;border:1px solid transparent;background:#eef1ea;font-size:var(--sc-fs-md);-webkit-appearance:none;appearance:none}
.sc-search input[type=search]:focus{outline:2px solid var(--sc-brand);outline-offset:1px;background:#fff}
.sc-search input::-webkit-search-cancel-button{display:none}
.sc-search-ico{position:absolute;top:50%;transform:translateY(-50%);inset-inline-start:13px;color:var(--sc-muted);display:grid;pointer-events:none}
.sc-search-ico svg{width:19px;height:19px}
body.store .sc-search-clear{position:absolute;inset-inline-end:6px;width:32px;height:32px;min-height:0;padding:0;border-radius:50%;background:transparent;color:var(--sc-muted);display:grid;place-items:center}
body.store .sc-search-clear[hidden]{display:none}
.sc-search-clear svg{width:16px;height:16px}
body.store .sc-filter-btn{position:relative;flex:0 0 auto;width:44px;height:44px;min-height:0;padding:0;border-radius:14px;background:var(--sc-soft);color:var(--sc-brand);display:grid;place-items:center}
.sc-filter-btn svg{width:21px;height:21px}
.sc-filter-btn .sc-badge{position:absolute;top:-4px;inset-inline-end:-4px}
@media(min-width:701px){.sc-search{max-width:560px}}

/* ---- filter sheet (native <dialog>, bottom sheet on the phone) ---- */
dialog.sc-sheet{border:0;padding:0;margin:auto auto 0;width:100%;max-width:520px;border-radius:20px 20px 0 0;background:#fff;color:var(--sc-ink);box-shadow:0 -10px 40px rgba(0,0,0,.18)}
dialog.sc-sheet::backdrop{background:rgba(15,30,24,.45)}
@media(min-width:701px){dialog.sc-sheet{margin:auto;border-radius:20px}}
.sc-sheet-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px 4px}
.sc-sheet-head h2{font-size:var(--sc-fs-lg);margin:0}
.sc-sheet-group{border:0;margin:0;padding:6px 16px;display:grid;gap:2px}
.sc-sheet-group legend{font-size:var(--sc-fs-sm);color:var(--sc-muted);padding:0;margin-bottom:4px}
body.store .sc-radio{display:flex;align-items:center;gap:10px;margin:0;min-height:46px;padding:0 4px;font-size:var(--sc-fs-md);border-bottom:1px solid var(--sc-line);cursor:pointer}
body.store .sc-radio input{width:20px;min-height:20px;margin:0;accent-color:var(--sc-brand)}
body.store .sc-radio.sc-check{margin:4px 16px 0;border-bottom:0}
.sc-sheet-foot{display:grid;grid-template-columns:2fr 1fr;gap:8px;padding:12px 16px calc(14px + env(safe-area-inset-bottom))}
body.store .sc-apply{min-height:46px;border-radius:12px;background:var(--sc-brand);color:#fff;font-weight:800}
body.store .sc-reset{min-height:46px;border-radius:12px;background:var(--sc-soft);color:var(--sc-brand);font-weight:700}

/* ---- category tiles ---- */
.sc-cats{display:flex;gap:12px;overflow-x:auto;padding:2px 2px 12px;margin-bottom:2px;scrollbar-width:none;scroll-snap-type:x proximity}
.sc-cats::-webkit-scrollbar{display:none}
body.store .sc-cat{flex:0 0 auto;width:62px;display:grid;justify-items:center;gap:5px;text-decoration:none;color:var(--sc-ink);scroll-snap-align:start}
.sc-cat-ico{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#eef1ea;color:var(--sc-brand);font-size:1.25rem;font-weight:800;transition:background .15s}
.sc-cat-ico svg{width:22px;height:22px}
.sc-cat-name{max-width:62px;font-size:var(--sc-fs-xs);line-height:1.3;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.store .sc-cat.is-active .sc-cat-ico{background:var(--sc-brand);color:#fff}
body.store .sc-cat.is-active .sc-cat-name{font-weight:800;color:var(--sc-brand)}

/* ---- Home hero (compact, never a big banner). Frame ratios = hero_ratios() in media_presets.php (a test keeps them equal) ---- */
.sc-hero{position:relative;margin:2px 0 14px;border-radius:var(--sc-r-lg);overflow:hidden;background:var(--sc-soft);border:1px solid var(--sc-line)}
.sc-hero:not(.has-img){display:flex;align-items:center;padding:14px 16px}
.sc-hero.has-img{--sc-hero-ratio:12/5;aspect-ratio:var(--sc-hero-ratio);border:0;background:#dfe7dc;color:#fff}
@media(min-width:701px){.sc-hero.has-img{--sc-hero-ratio:4/1}}
@media(min-width:1001px){.sc-hero.has-img{--sc-hero-ratio:28/5}}
.sc-hero-pic,.sc-hero-pic img{position:absolute;inset:0;width:100%;height:100%;display:block}
.sc-hero-pic img{object-fit:cover;object-position:center}
.sc-hero.has-img::after{content:"";position:absolute;inset:0;background:linear-gradient(to left,rgba(8,38,28,.82) 0,rgba(8,38,28,.5) 42%,rgba(8,38,28,0) 72%)}
.sc-hero-copy{position:relative;z-index:1;min-width:0}
.sc-hero.has-img .sc-hero-copy{height:100%;max-width:60%;padding:10px 14px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px}
@media(min-width:701px){.sc-hero.has-img .sc-hero-copy{padding:14px 24px;max-width:50%;gap:6px}}
.sc-hero h1{font-size:1.05rem;line-height:1.35;margin:0;color:var(--sc-brand-deep);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sc-hero.has-img h1{color:#fff}
@media(min-width:701px){.sc-hero.has-img h1{font-size:1.5rem}}
.sc-hero p{margin:0 0 8px;font-size:var(--sc-fs-sm);color:var(--sc-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sc-hero.has-img p{color:rgba(255,255,255,.9);margin:0;-webkit-line-clamp:1}
@media(min-width:701px){.sc-hero.has-img p{-webkit-line-clamp:2;font-size:var(--sc-fs-md)}}
.sc-hero-cta{display:inline-flex;align-items:center;min-height:34px;padding:0 14px;border-radius:999px;background:var(--sc-brand);color:#fff;font-size:var(--sc-fs-sm);font-weight:700;text-decoration:none;white-space:nowrap}
.sc-hero.has-img .sc-hero-cta{background:#fff;color:var(--sc-brand-deep);margin-top:2px}
.sc-title{font-size:1.2rem;margin:4px 0 8px}

/* ---- section header + tools ---- */
body.store .sc-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:6px 0 10px}
.sc-heading h2{font-size:var(--sc-fs-lg);margin:0;line-height:1.3}
.sc-heading small{color:var(--sc-muted);font-size:var(--sc-fs-xs)}
.sc-tools{display:flex;align-items:center;gap:6px;min-width:0}
.sc-tools .product-view-toggle{display:none}
@media(min-width:701px){.sc-tools .product-view-toggle{display:flex}}

/* ---- grid: 2 on mobile, then 3 / 4 / 5 ---- */
body.store .store-product-grid.sc-grid{display:grid;grid-template-columns:repeat(var(--mobile-cols,2),minmax(0,1fr)) !important;gap:var(--sc-gap) !important;align-items:start}
@media(min-width:701px){body.store .store-product-grid.sc-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:14px !important}}
@media(min-width:1001px){body.store .store-product-grid.sc-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important}}
@media(min-width:1280px){body.store .store-product-grid.sc-grid{grid-template-columns:repeat(var(--desktop-cols,5),minmax(0,1fr)) !important}}

/* ---- compact product card: picture in a soft rounded tile, one-line name, brand price, outlined add button ---- */
body.store .store-product-grid .product-card.sc-card,body.store .sc-strip .product-card.sc-card{position:relative;display:flex;flex-direction:column;border-radius:var(--sc-r-lg);border:1px solid var(--sc-line);background:var(--sc-surface);box-shadow:var(--sc-shadow);overflow:hidden;padding:8px}
body.store .sc-pic{position:relative;border-radius:var(--sc-r);overflow:hidden;background:#f1f3ec}
body.store .sc-card .product-picture{margin:0;padding:0;border-radius:0;aspect-ratio:var(--picture-ratio,1) !important;background:transparent;display:block}
body.store .sc-card .product-picture img{width:100%;height:100%;object-fit:var(--picture-fit,contain);border-radius:0;mix-blend-mode:multiply}
body.store .sc-card .placeholder{height:100%}
body.store .sc-card .product-info{padding:8px 2px 0 !important;display:flex;flex-direction:column;gap:3px;flex:1}
body.store .sc-card .sc-name{color:var(--sc-ink);text-decoration:none}
body.store .sc-card .sc-name h2{font-size:var(--sc-fs-md) !important;font-weight:700;line-height:1.4;margin:0;min-height:0 !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.store .sc-card .sc-price{margin:0;display:flex;align-items:baseline;flex-wrap:wrap;gap:0 6px;color:var(--sc-brand)}
body.store .sc-card .sc-price b{font-size:1.05rem;font-weight:900;color:var(--sc-brand)}
body.store .sc-card .sc-price small{font-size:var(--sc-fs-xs);color:var(--sc-muted)}
body.store .sc-card .sc-price del{font-size:var(--sc-fs-xs);color:var(--sc-muted)}
body.store .sc-card .sc-fav{position:absolute;top:6px;inset-inline-end:6px;width:30px;height:30px;min-height:0 !important;padding:0 !important;font-size:18px;line-height:1;background:rgba(255,255,255,.92) !important;border:0 !important;border-radius:50%;box-shadow:0 1px 4px rgba(0,0,0,.12);display:grid;place-items:center}
body.store .sc-card .sc-fav.selected{color:#c0392b !important}
body.store .sc-card .badge-row{display:flex;gap:4px;pointer-events:none;position:absolute;top:6px;inset-inline-start:6px;z-index:1}
body.store .sc-add{display:block !important;margin-top:auto;padding-top:6px}
body.store .sc-add-btn{width:100% !important;min-height:38px;padding:0 8px;border-radius:999px;background:transparent;color:var(--sc-brand);border:1.5px solid var(--sc-brand);font-size:var(--sc-fs-sm);font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:5px;transition:transform .12s,background .15s}
body.store .sc-add-btn svg{width:16px;height:16px}
body.store .sc-add-btn:hover{background:var(--sc-soft);filter:none}
body.store .sc-add-btn:active{transform:scale(.97)}
body.store .sc-add.is-busy .sc-add-btn{opacity:.6;pointer-events:none}
body.store .sc-add-btn:disabled{background:#eceee9;border-color:#d9ddd5;color:#6b766f}

/* ---- Home sections ---- */
.sc-section{margin:4px 0 14px}
.sc-section-head{display:flex;align-items:center;justify-content:space-between;margin:4px 0 10px}
.sc-section-head h2{font-size:var(--sc-fs-lg);margin:0}
body.store .sc-more{font-size:var(--sc-fs-sm);font-weight:700;color:var(--sc-brand);text-decoration:none}
.sc-strip{display:flex;gap:var(--sc-gap);overflow-x:auto;padding:2px 2px 10px;scroll-snap-type:x proximity;scrollbar-width:none}
.sc-strip::-webkit-scrollbar{display:none}
body.store .sc-strip .product-card.sc-card{flex:0 0 calc(46% - 5px);scroll-snap-align:start;min-width:0}
@media(min-width:701px){body.store .sc-strip .product-card.sc-card{flex-basis:calc((100% - 3*var(--sc-gap))/4)}}
@media(min-width:1001px){body.store .sc-strip .product-card.sc-card{flex-basis:calc((100% - 4*var(--sc-gap))/5)}}
.sc-all{text-align:center;margin:6px 0 0}

/* list view (existing toggle) stays usable with the compact card */
body.store .store-product-grid.is-list-view.sc-grid{grid-template-columns:1fr !important}
body.store .store-product-grid.is-list-view .sc-card{flex-direction:row}
body.store .store-product-grid.is-list-view .sc-card{align-items:center;gap:10px}
body.store .store-product-grid.is-list-view .sc-card .sc-pic{width:104px;flex:0 0 104px}

/* ---- states: loading, empty ---- */
[data-product-results].is-loading .sc-grid{opacity:.45;pointer-events:none;transition:opacity .15s}
[data-product-results].is-loading .sc-card .product-picture{background:linear-gradient(90deg,#eef0e9 25%,#f7f8f4 50%,#eef0e9 75%);background-size:200% 100%;animation:sc-shimmer 1.1s linear infinite}
@keyframes sc-shimmer{to{background-position:-200% 0}}
.sc-empty{display:grid;justify-items:center;gap:8px;padding:36px 16px;color:var(--sc-muted)}
.sc-empty p{margin:0}
.sc-empty-ico{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--sc-soft);color:var(--sc-brand)}
.sc-empty-ico svg{width:26px;height:26px}
.sc-error{text-align:center;padding:24px 12px;color:var(--sc-danger)}
body.store .pagination{padding:14px 0}
body.store .pagination a{min-height:42px;display:inline-flex;align-items:center;padding:0 22px;border-radius:999px;background:#fff;border:1px solid var(--sc-line);font-weight:700;color:var(--sc-brand)}

/* ---- Bottom Navigation: same 5 links and functions, lighter look ---- */
body.store .bottom-nav.store-bottom{min-height:58px;padding:4px 6px calc(4px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);box-shadow:0 -1px 0 var(--sc-line)}
body.store .store-bottom a{gap:1px !important;min-height:48px;padding:4px 2px;font-size:11px !important;font-weight:600;color:#7a857d;border-radius:12px;background:transparent}
body.store .store-bottom a[aria-current="page"]{color:var(--sc-brand);background:transparent;font-weight:800}
body.store .store-bottom a[aria-current="page"] .store-nav-icon{background:var(--sc-soft);border-radius:999px}
body.store .store-bottom .store-nav-icon{width:46px;height:28px;margin:0;border-radius:999px;display:grid;place-items:center;transition:background .15s}
body.store .store-bottom .store-nav-icon svg{width:22px;height:22px;stroke-width:1.9}
body.store .store-cart-nav .store-nav-icon{width:46px;height:28px;margin-top:0;border-radius:999px;background:transparent;color:inherit;box-shadow:none;border:0}
body.store .store-cart-nav[aria-current="page"] .store-nav-icon{background:var(--sc-soft)}
body.store .store-cart-nav .store-nav-icon svg{width:22px;height:22px}
body.store .store-cart-nav b[data-cart-count]{position:absolute;top:-4px;inset-inline-end:2px;left:auto}

/* toast sits above the bottom bar */
body.store .toast-region{bottom:calc(72px + env(safe-area-inset-bottom))}
@media(prefers-reduced-motion:reduce){[data-product-results].is-loading .sc-card .product-picture{animation:none}}

/* =========================================================================
   Phase 2 (0.9.34): product page, cart + checkout, orders, tracking, account.
   Visual layer only: same forms, same fields, same actions.
   ========================================================================= */
/* ---- shared: panels, section headers, fields, buttons, pills, notes ---- */
body.store .panel{border-radius:var(--sc-r-lg);border:1px solid var(--sc-line);box-shadow:var(--sc-shadow);padding:16px;margin:12px 0;background:#fff}
body.store .sc-h{display:flex;align-items:center;gap:8px;font-size:var(--sc-fs-lg);margin:14px 0 8px}
body.store .sc-panel .sc-h{margin-top:0}
.sc-num{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--sc-brand);color:#fff;font-size:.8rem;font-weight:800}
body.store main input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body.store main select,body.store main textarea{border-radius:12px;border:1px solid #d9dfd6;min-height:46px;background:#fff;font-size:16px}
body.store main input:focus,body.store main select:focus,body.store main textarea:focus{outline:2px solid var(--sc-brand);outline-offset:1px;border-color:transparent}
body.store main label{font-size:var(--sc-fs-sm);color:var(--sc-ink);font-weight:600}
body.store main button:not(.sc-add-btn):not(.sc-fav):not(.favorite):not(.sc-icon-btn):not(.sc-search-clear):not(.sc-filter-btn):not(.sc-apply):not(.sc-reset):not([data-product-view]):not([data-qty-minus]):not([data-qty-plus]):not([data-line-minus]):not([data-line-plus]):not([data-line-remove]):not(.text-button){border-radius:12px;min-height:46px;font-weight:800}
body.store .secondary{background:var(--sc-soft);color:var(--sc-brand)}
body.store .notice{border-radius:var(--sc-r);font-size:var(--sc-fs-sm)}
.sc-pill{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;background:#eceee9;color:#4a554e;font-size:var(--sc-fs-xs);font-weight:800;white-space:nowrap}
.sc-pill.is-ok{background:#e1f2e8;color:#14683e}.sc-pill.is-info{background:#e2edf7;color:#1f4f7a}.sc-pill.is-wait{background:#fbf0d6;color:#7a5a12}.sc-pill.is-bad{background:#f9e0dc;color:#9c2f22}
.sc-note{display:flex;align-items:center;gap:8px;margin:12px 0 0;padding:10px 12px;border-radius:var(--sc-r);background:var(--sc-soft);color:var(--sc-brand-deep);font-size:var(--sc-fs-sm)}
.sc-note svg{width:20px;height:20px;flex:0 0 auto}
.sc-empty h2{font-size:var(--sc-fs-lg);margin:0}

/* ---- product page ---- */
body.store .sc-pdp{display:grid;gap:14px;margin-top:6px}
@media(min-width:801px){body.store .sc-pdp{grid-template-columns:1fr 1fr;gap:32px;align-items:start}}
body.store .sc-gallery{border-radius:var(--sc-r-lg);background:#f1f3ec;border:1px solid var(--sc-line);scrollbar-width:none;overflow-x:auto}
body.store .sc-gallery::-webkit-scrollbar{display:none}
body.store .sc-gallery img{background:transparent;border-radius:0;mix-blend-mode:multiply;object-fit:contain}
@media(min-width:801px){body.store .sc-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:8px}body.store .sc-gallery img{border-radius:var(--sc-r);background:#f1f3ec;max-height:none}body.store .sc-gallery img:first-child{grid-column:1/-1}}
body.store .product-copy{padding-top:2px}
body.store .product-copy h1{font-size:1.35rem;line-height:1.45;margin:2px 0 6px}
body.store .sc-pdp-price{font-size:1.5rem;font-weight:900;color:var(--sc-brand);margin:4px 0 8px}
.sc-pdp-price small{font-size:var(--sc-fs-sm);font-weight:600;color:var(--sc-muted)}
.sc-pdp-price del{font-size:var(--sc-fs-md);color:var(--sc-muted);font-weight:600}
body.store .sc-stock{padding:3px 12px;border-radius:999px;font-size:var(--sc-fs-xs);font-weight:800}
body.store .sc-stock.in{background:#e1f2e8;color:#14683e}body.store .sc-stock.out{background:#f9e0dc;color:#9c2f22}
body.store .sc-pdp .add-form{display:flex;gap:8px;align-items:center}
body.store .sc-pdp .add-cart-button{flex:1;min-height:48px !important;border-radius:999px;background:var(--sc-brand);color:#fff;font-weight:800}
body.store .sc-pdp .add-cart-button:disabled{background:#d9ddd5;color:#6b766f}
body.store .product-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
body.store .product-actions .text-button{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;margin:0;border-radius:999px;background:var(--sc-soft);color:var(--sc-brand);font-size:var(--sc-fs-sm);font-weight:700;text-decoration:none}
body.store .product-description,body.store .similar-products{margin-top:16px}
body.store .product-description .description{background:#fff;border:1px solid var(--sc-line);border-radius:var(--sc-r-lg);padding:14px;margin:8px 0;font-size:var(--sc-fs-md)}
body.store .similar-products .store-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:var(--sc-gap) !important}
@media(min-width:801px){body.store .similar-products .store-product-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important}}

/* ---- cart lines ---- */
body.store .sc-line{display:grid;grid-template-columns:72px 1fr auto;gap:10px;align-items:start;padding:12px 0;border-bottom:1px solid var(--sc-line)}
body.store .sc-line:last-child{border-bottom:0}
.sc-line-pic{display:block;width:72px;height:72px;border-radius:var(--sc-r-sm);overflow:hidden;background:#f1f3ec}
.sc-line-pic img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.sc-line-info{min-width:0;display:grid;gap:3px}
.sc-line-info b{font-size:var(--sc-fs-md);line-height:1.35}
.sc-line-info small{color:var(--sc-muted)}
.sc-line-ctl{display:flex;align-items:center;gap:10px;margin-top:4px}
body.store .sc-qty{display:inline-grid;grid-template-columns:34px 44px 34px;min-height:38px !important;border:1px solid #d9dfd6;border-radius:999px !important;overflow:hidden;background:#fff}
body.store .sc-qty button{min-height:0;height:100%;padding:0;background:transparent;color:var(--sc-brand);font-size:1.15rem;border-radius:0}
body.store .sc-qty input{min-height:0 !important;height:100%;border:0 !important;border-radius:0 !important;text-align:center;padding:0;margin:0;font-weight:800;-moz-appearance:textfield}
body.store .sc-qty input:focus{outline:none}
body.store .sc-line-remove{display:inline-flex;align-items:center;gap:4px;min-height:36px;padding:0 8px;background:transparent;color:#a33b2d;font-size:var(--sc-fs-xs);font-weight:700;border-radius:10px}
.sc-line-remove svg{width:17px;height:17px}
body.store .sc-line-total{font-size:1rem;color:var(--sc-brand);white-space:nowrap;text-align:end}
.sc-line-total small{font-weight:600;color:var(--sc-muted)}
body.store .sc-save{width:100%;margin-top:6px}
.sc-hint{font-size:var(--sc-fs-xs)}
body.store .basket-total{border-radius:var(--sc-r);background:var(--sc-soft);color:var(--sc-brand-deep)}
body.store .summary{border-radius:var(--sc-r-lg);background:var(--sc-soft);max-width:none}
body.store .grand{border-top-color:#cfdccf;color:var(--sc-brand-deep)}
body.store .sc-confirm{width:100%;min-height:52px !important;border-radius:999px !important;background:var(--sc-brand);color:#fff;font-size:1.02rem}

/* ---- tracking timeline / thank-you ---- */
.sc-track p{margin:8px 0}
body.store .sc-steps li{padding:0 32px 18px 0}
body.store .sc-steps li::before{width:18px;height:18px;border-width:2px}
body.store .sc-steps li::after{right:8px;top:24px;background:var(--sc-line)}
body.store .sc-steps li.done::after{background:var(--sc-brand)}
body.store .sc-steps li.done::before{background:var(--sc-brand);border-color:var(--sc-brand)}
body.store .sc-steps li.is-now::before{box-shadow:0 0 0 5px var(--sc-soft)}
body.store .sc-steps li:not(.done){color:var(--sc-muted)}
body.store .sc-steps li.is-now b{color:var(--sc-brand)}
body.store .thank-you{border-radius:var(--sc-r-lg);text-align:center}
body.store .check-mark{background:var(--sc-soft);color:var(--sc-brand)}

/* ---- account + orders ---- */
.sc-me{display:flex;align-items:center;gap:12px;padding:14px;margin:6px 0 10px;border-radius:var(--sc-r-lg);background:#fff;border:1px solid var(--sc-line);box-shadow:var(--sc-shadow)}
.sc-me-avatar{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--sc-brand);color:#fff;font-size:1.2rem;font-weight:800;flex:0 0 auto}
.sc-me-info{flex:1;min-width:0;display:grid;gap:4px;justify-items:start}
.sc-me-info h1{font-size:1.05rem;margin:0;line-height:1.3}
body.store .sc-logout{min-height:40px !important;padding:0 12px;display:inline-flex;gap:6px}
.sc-logout svg{width:18px;height:18px}
.sc-order-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sc-order-head h2,.sc-order-head h3{margin:0;font-size:1rem}
.sc-order-head small{color:var(--sc-muted)}
.sc-order-lines{list-style:none;margin:10px 0 6px;padding:0;display:grid;gap:6px;font-size:var(--sc-fs-sm)}
.sc-order-lines li{display:flex;justify-content:space-between;gap:10px}
.sc-order-lines small{color:var(--sc-muted)}
.sc-order-total{display:flex;justify-content:space-between;margin:8px 0 10px;padding-top:8px;border-top:1px dashed var(--sc-line)}
.sc-order-total b{color:var(--sc-brand)}
.sc-order-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.sc-order-actions form{margin:0}
body.store .account-grid{gap:12px}
@media(max-width:700px){body.store .form-grid,body.store .account-grid{grid-template-columns:1fr}}
body.store .sc-save.is-dirty{background:var(--sc-brand);color:#fff}
.sc-line-total small,.sc-line-info small{display:inline}
.sc-line-info small{display:block}

/* ---- category tile image ---- */
.sc-cat-ico.has-img{padding:0;overflow:hidden;background:#eef1ea}
.sc-cat-ico img{width:100%;height:100%;object-fit:cover;display:block}

/* ---- floating WhatsApp: smaller, always above the bottom bar, never over a button ---- */
body.store .wa-float{width:44px;height:44px;opacity:.95;transition:opacity .15s,transform .15s;bottom:calc(var(--sc-nav-h,66px) + 12px + env(safe-area-inset-bottom))}
body.store .wa-float svg{width:24px;height:24px}
body.store .wa-float.is-covering{opacity:0;pointer-events:none;transform:scale(.8)}
body.store[data-view="product"] .wa-float,body.store[data-view="cart"] .wa-float,body.store[data-view="quick"] .wa-float,body.store[data-view="account"] .wa-float{display:none}
@media(min-width:701px){body.store .wa-float{bottom:22px}}

/* 0.9.36 — variants */
body.store .sc-variants{border:0;margin:6px 0 10px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
body.store .sc-variants legend{font-size:var(--sc-fs-sm);font-weight:800;color:var(--sc-muted);margin-bottom:6px;padding:0}
body.store .sc-vchip{position:relative;cursor:pointer}
body.store .sc-vchip input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
body.store .sc-vchip span{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 16px;border:1.5px solid var(--sc-line,#cfd8d1);border-radius:999px;font-weight:700;background:#fff}
body.store .sc-vchip input:checked+span{border-color:var(--sc-brand);background:#e8f3ec;color:var(--sc-brand)}
body.store .sc-vchip input:focus-visible+span{outline:3px solid var(--sc-brand);outline-offset:2px}
body.store .sc-vchip.is-out span{opacity:.55;text-decoration:line-through;cursor:not-allowed}
body.store .sc-vchip.is-out em{font-style:normal;font-size:var(--sc-fs-xs);text-decoration:none}
body.store .sc-from{font-size:var(--sc-fs-xs);font-weight:700;color:var(--sc-muted)}
body.store .sc-vlabel{display:block;color:var(--sc-muted);font-weight:700}
body.store a.sc-pick{display:flex;align-items:center;justify-content:center;text-decoration:none}
