/* My Catalogue — industry catalogue templates (v11). Loaded after storefront.css.
   Each template sets a few variables; the shared "tpl-pack" rules below use them.
   --brand (the business colour) is the accent in every template. */

body.tpl-pack{
  --t-bg:#f7f6fb;--t-ink:#1b1740;--t-muted:#6b6890;--t-card:#fff;--t-line:rgba(0,0,0,.07);
  --t-head-bg:var(--brand);--t-head-ink:#fff;--t-font:system-ui,sans-serif;--t-title:var(--t-font);
  --t-radius:16px;--t-shadow:0 2px 6px rgba(0,0,0,.04),0 10px 24px rgba(0,0,0,.06);--t-img-bg:#fff;
  --t-ratio:1/1;--t-fit:contain;--t-pad:8px;--t-cols:2;--t-cols-d:4;--t-gap:12px;--t-btn-radius:12px;
  --t-accent-ink:#fff;--t-search:#fff;--t-transform:none;--t-track:normal;
  background:var(--t-bg);color:var(--t-ink);font-family:var(--t-font)
}
body.tpl-pack header{background:var(--t-head-bg);color:var(--t-head-ink);box-shadow:none;border-bottom:1px solid var(--t-line)}
body.tpl-pack header h1{font-family:var(--t-title);text-transform:var(--t-transform);letter-spacing:var(--t-track)}
body.tpl-pack header .logo{box-shadow:0 0 0 2px var(--t-line)}
body.tpl-pack #installCatalogue{background:var(--brand)!important;color:var(--t-accent-ink)!important;font-family:var(--t-font)}
body.tpl-pack .toolbar{background:var(--t-bg)}
body.tpl-pack .search{background-color:var(--t-search);color:var(--t-ink);font-family:var(--t-font);border:1px solid var(--t-line);box-shadow:none}
body.tpl-pack .title{font-family:var(--t-title);text-transform:var(--t-transform);letter-spacing:var(--t-track);color:var(--t-ink)}
body.tpl-pack .grid{grid-template-columns:repeat(var(--t-cols),minmax(0,1fr));gap:var(--t-gap)}
@media(min-width:760px){body.tpl-pack .grid{grid-template-columns:repeat(var(--t-cols-d),minmax(0,1fr))}}
body.tpl-pack .category,body.tpl-pack .product,body.tpl-pack .empty{background:var(--t-card);color:var(--t-ink);border-radius:var(--t-radius);box-shadow:var(--t-shadow);border:1px solid var(--t-line)}
body.tpl-pack .category:hover,body.tpl-pack .product:hover{box-shadow:var(--t-shadow);transform:translateY(-2px)}
body.tpl-pack .category img,body.tpl-pack .product img,body.tpl-pack .category .placeholder,body.tpl-pack .product>.placeholder{height:auto;aspect-ratio:var(--t-ratio);object-fit:var(--t-fit);padding:var(--t-pad);background:var(--t-img-bg)}
body.tpl-pack .name{font-family:var(--t-title);color:var(--t-ink)}
body.tpl-pack .count,body.tpl-pack .desc,body.tpl-pack footer,body.tpl-pack .mc-search-note{color:var(--t-muted)}
body.tpl-pack .category .info:after{color:var(--brand)}
body.tpl-pack .category-chip{background:var(--t-card);color:var(--t-ink);border:1px solid var(--t-line);box-shadow:none;font-family:var(--t-font)}
body.tpl-pack .category-chip:before{background:var(--brand)}
body.tpl-pack .category-art,body.tpl-pack .placeholder{background:color-mix(in srgb,var(--brand) 12%,var(--t-card));color:var(--brand)}
body.tpl-pack .priceChoice{background:var(--t-card);color:var(--t-ink);border:1px solid var(--t-line);border-radius:var(--t-btn-radius);font-family:var(--t-font)}
body.tpl-pack .priceChoice.active{background:var(--brand);color:var(--t-accent-ink);border-color:var(--brand);box-shadow:none}
body.tpl-pack .qtybtn{background:color-mix(in srgb,var(--t-ink) 8%,transparent);color:var(--t-ink);border-radius:var(--t-btn-radius)}
body.tpl-pack .addbtn,body.tpl-pack .back,body.tpl-pack .cartbar{background:var(--brand);color:var(--t-accent-ink);border-radius:var(--t-btn-radius);box-shadow:none;font-family:var(--t-font);text-transform:var(--t-transform);letter-spacing:var(--t-track)}
body.tpl-pack .cartbar{border-radius:999px;box-shadow:0 10px 26px rgba(0,0,0,.25)}
body.tpl-pack .cartbar .mc-cart-total{color:var(--t-accent-ink)}
body.tpl-pack .box{color:#111827}

/* ---------- Chocolate & Sweets ---------- */
body.template-chocolate{--t-bg:#f6efe6;--t-ink:#2b1a12;--t-muted:#7a6252;--t-card:#fffaf3;--t-line:#ead9c3;--t-head-bg:linear-gradient(135deg,#3b2418,#5a3826);--t-font:'Inter',system-ui,sans-serif;--t-title:'Playfair Display',Georgia,serif;--t-radius:18px;--t-img-bg:#fffaf3;--t-shadow:0 8px 24px rgba(59,36,24,.08);--t-cols-d:4}
body.template-chocolate header{border-bottom:3px solid #c9a45c}
body.template-chocolate .title{font-size:28px;font-weight:700}
body.template-chocolate .title:after{content:'';display:block;width:56px;height:2px;background:#c9a45c;margin-top:8px}
body.template-chocolate .name{font-weight:700;font-size:17px}

/* ---------- Luxury ---------- */
body.template-luxury{--t-bg:#0e0e0e;--t-ink:#f3ede2;--t-muted:#a99f8e;--t-card:#161616;--t-line:#2b2620;--t-head-bg:#0e0e0e;--t-head-ink:#f3ede2;--t-font:'Jost',system-ui,sans-serif;--t-title:'Cormorant Garamond',Georgia,serif;--t-radius:2px;--t-shadow:none;--t-img-bg:#f7f3ec;--t-pad:18px;--t-ratio:4/5;--t-btn-radius:0;--t-accent-ink:#0e0e0e;--t-search:#161616;--t-transform:uppercase;--t-track:.12em;--t-cols:2;--t-cols-d:3;--t-gap:18px}
body.template-luxury header{border-bottom:1px solid var(--brand)}
body.template-luxury header h1{font-weight:600;font-size:26px}
body.template-luxury .title{font-weight:500;font-size:22px;text-align:center}
body.template-luxury .name{font-weight:600;font-size:19px;letter-spacing:.02em}
body.template-luxury .addbtn{background:transparent;color:var(--brand);border:1px solid var(--brand)}
body.template-luxury .addbtn:hover{background:var(--brand);color:#0e0e0e}
body.template-luxury .category,body.template-luxury .product{border-color:#2b2620}

/* ---------- Small Store / Boutique ---------- */
body.template-boutique{--t-bg:#fbf6f2;--t-ink:#3a2a2a;--t-muted:#8c7470;--t-card:#fff;--t-line:#f0e2db;--t-head-bg:#fbf6f2;--t-head-ink:#3a2a2a;--t-font:'DM Sans',system-ui,sans-serif;--t-title:'DM Serif Display',Georgia,serif;--t-radius:24px;--t-btn-radius:999px;--t-shadow:0 10px 28px rgba(120,70,60,.08);--t-cols-d:4}
body.template-boutique header h1{font-weight:400;font-size:28px}
body.template-boutique .title{font-weight:400;font-size:27px}
body.template-boutique .name{font-weight:400;font-size:18px}
body.template-boutique .category img,body.template-boutique .product img{border-radius:18px}

/* ---------- Mini Market ---------- */
body.template-minimarket{--t-bg:#f2f7ef;--t-ink:#14301d;--t-muted:#5d7464;--t-card:#fff;--t-line:#dfe9d9;--t-head-bg:var(--brand);--t-font:'Nunito',system-ui,sans-serif;--t-title:'Nunito',system-ui,sans-serif;--t-radius:14px;--t-pad:6px;--t-gap:9px;--t-cols:2;--t-cols-d:5;--t-shadow:0 2px 8px rgba(20,48,29,.06)}
body.template-minimarket header{border-bottom:4px solid #facc15}
body.template-minimarket .name{font-weight:800;font-size:14.5px}
body.template-minimarket .title{font-weight:900}
body.template-minimarket .priceChoice small{font-size:15px;font-weight:900}

/* ---------- Supermarket ---------- */
body.template-supermarket{--t-bg:#f4f4f4;--t-ink:#1d1d1f;--t-muted:#6e6e73;--t-card:#fff;--t-line:#e6e6e6;--t-head-bg:var(--brand);--t-font:'Poppins',system-ui,sans-serif;--t-title:'Poppins',system-ui,sans-serif;--t-radius:8px;--t-btn-radius:8px;--t-pad:5px;--t-cols:3;--t-cols-d:6;--t-gap:7px;--t-shadow:none}
body.template-supermarket .name{font-weight:600;font-size:12.5px;line-height:1.3}
body.template-supermarket .body,body.template-supermarket .info{padding:7px}
body.template-supermarket .desc{display:none}
body.template-supermarket .priceChoices{grid-template-columns:1fr}
body.template-supermarket .priceChoice{background:#ffd60a;color:#1d1d1f;border:0;font-weight:800;padding:5px 4px;font-size:11px}
body.template-supermarket .priceChoice.active{background:#ffd60a;color:#1d1d1f;outline:2px solid var(--brand)}
body.template-supermarket .priceChoice small{font-size:15px;font-weight:800}
body.template-supermarket .qtyrow{gap:3px}
body.template-supermarket .qtybtn{width:28px;height:28px;font-size:16px}
body.template-supermarket .addbtn{padding:8px 4px;font-size:12px}
body.template-supermarket .title{font-weight:800;font-size:19px}
@media(max-width:380px){body.template-supermarket .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- Wholesaler / Distributor ---------- */
body.template-wholesale{--t-bg:#eef1f5;--t-ink:#0f1f33;--t-muted:#5b6b80;--t-card:#fff;--t-line:#d7dde5;--t-head-bg:#0f1f33;--t-font:'Inter',system-ui,sans-serif;--t-title:'Inter',system-ui,sans-serif;--t-radius:6px;--t-btn-radius:6px;--t-shadow:none;--t-cols:2;--t-cols-d:4;--t-gap:8px;--t-pad:6px}
body.template-wholesale header{border-bottom:4px solid var(--brand)}
body.template-wholesale #products.grid{grid-template-columns:1fr;gap:6px}
@media(min-width:760px){body.template-wholesale #products.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
body.template-wholesale .product{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:start}
body.template-wholesale .product img,body.template-wholesale .product>.placeholder{width:96px;height:96px;aspect-ratio:1/1;border-right:1px solid var(--t-line)}
body.template-wholesale .product .body{padding:8px 10px}
body.template-wholesale .name{font-weight:700;font-size:14px}
body.template-wholesale .desc{font-size:12px}
body.template-wholesale .priceChoices{display:flex;flex-wrap:wrap}
body.template-wholesale .priceChoice{flex:1;min-width:84px}
body.template-wholesale .qtyrow{display:inline-flex;margin-top:8px}
body.template-wholesale .addbtn{display:inline-block;width:auto;padding:9px 16px;margin-left:8px}
body.template-wholesale .title{font-weight:800;text-transform:uppercase;letter-spacing:.04em;font-size:17px}

/* ---------- Bakery & Café ---------- */
body.template-bakery{--t-bg:#fff7f0;--t-ink:#4a2c22;--t-muted:#9a7a6c;--t-card:#fff;--t-line:#f6e3d6;--t-head-bg:linear-gradient(135deg,var(--brand),color-mix(in srgb,var(--brand) 60%,#f6b48f));--t-font:'Nunito',system-ui,sans-serif;--t-title:'Fredoka',system-ui,sans-serif;--t-radius:26px;--t-btn-radius:999px;--t-shadow:0 10px 26px rgba(217,119,91,.12);--t-cols-d:4}
body.template-bakery .title{font-weight:600;font-size:26px}
body.template-bakery .name{font-weight:600;font-size:17px}
body.template-bakery .category img,body.template-bakery .product img{border-radius:22px}

/* ---------- Fashion ---------- */
body.template-fashion{--t-bg:#fff;--t-ink:#111;--t-muted:#6b6b6b;--t-card:#fff;--t-line:transparent;--t-head-bg:#fff;--t-head-ink:#111;--t-font:'Jost',system-ui,sans-serif;--t-title:'Jost',system-ui,sans-serif;--t-radius:0;--t-btn-radius:0;--t-shadow:none;--t-img-bg:#f4f4f4;--t-ratio:3/4;--t-fit:cover;--t-pad:0;--t-transform:uppercase;--t-track:.08em;--t-cols:2;--t-cols-d:4;--t-gap:14px;--t-search:#f4f4f4}
body.template-fashion header{border-bottom:1px solid #eee}
body.template-fashion header h1{font-weight:600}
body.template-fashion .name{font-weight:500;font-size:14px;text-transform:uppercase;letter-spacing:.06em}
body.template-fashion .body,body.template-fashion .info{padding:10px 2px}
body.template-fashion .category:hover,body.template-fashion .product:hover{transform:none}
body.template-fashion .title{font-weight:600;font-size:18px}

/* ---------- Electronics & Tech ---------- */
body.template-electronics{--t-bg:#0b1220;--t-ink:#e6edf7;--t-muted:#8ea0bb;--t-card:#111a2e;--t-line:#1e2a44;--t-head-bg:#0b1220;--t-head-ink:#e6edf7;--t-font:'Inter',system-ui,sans-serif;--t-title:'Rajdhani',system-ui,sans-serif;--t-radius:14px;--t-btn-radius:10px;--t-shadow:0 0 0 1px #1e2a44;--t-img-bg:#fff;--t-accent-ink:#04131a;--t-search:#111a2e;--t-cols-d:4}
body.template-electronics header{border-bottom:1px solid var(--brand);box-shadow:0 0 24px color-mix(in srgb,var(--brand) 30%,transparent)}
body.template-electronics .title{font-weight:700;font-size:26px;text-transform:uppercase;letter-spacing:.06em}
body.template-electronics .name{font-weight:700;font-size:18px}
body.template-electronics .product:hover,body.template-electronics .category:hover{box-shadow:0 0 0 1px var(--brand),0 0 22px color-mix(in srgb,var(--brand) 25%,transparent)}

/* ---------- Beauty & Pharmacy ---------- */
body.template-beauty{--t-bg:#fbf5fb;--t-ink:#3d2440;--t-muted:#8d7290;--t-card:#fff;--t-line:#f1e1f0;--t-head-bg:linear-gradient(135deg,color-mix(in srgb,var(--brand) 85%,#fff),color-mix(in srgb,var(--brand) 55%,#b9a7f5));--t-font:'Quicksand',system-ui,sans-serif;--t-title:'Marcellus',Georgia,serif;--t-radius:22px;--t-btn-radius:999px;--t-shadow:0 10px 26px rgba(192,85,154,.10);--t-cols-d:4}
body.template-beauty .title{font-weight:400;font-size:26px}
body.template-beauty .name{font-weight:400;font-size:17px}
body.template-beauty .desc{font-weight:500}

/* =====================================================================
   v12 — industry layouts (layouts.js). Each template has its own hero,
   category display and product card. Shared helpers first.
   ===================================================================== */
#mcHero:empty{display:none}
#mcHero{margin:4px 0 14px}
body.tpl-pack .L-eyebrow{display:block;font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;opacity:.8}
body.tpl-pack .L-row{display:flex;align-items:center;gap:8px;justify-content:space-between}
body.tpl-pack .L-grow{flex:1}
body.tpl-pack .L-link{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--brand);background:none;border:0;padding:0;cursor:pointer;font-family:inherit}
body.tpl-pack .L-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 22px;background:var(--brand);color:var(--t-accent-ink);text-decoration:none;font-weight:700;border-radius:var(--t-btn-radius);margin-top:14px}
body.tpl-pack .L-pic{position:relative;overflow:hidden}
body.tpl-pack .L-pic img,body.tpl-pack .L-pic .placeholder{display:block;width:100%}
body.tpl-pack .L-price{font-weight:800;font-size:17px;color:var(--t-ink)}
body.tpl-pack .qtyrow.L-mini{margin-top:8px;gap:4px}
body.tpl-pack .qtyrow.L-mini .qtybtn{width:30px;height:30px;font-size:16px}
body.tpl-pack .priceChoices.L-pills{display:flex;flex-wrap:wrap;gap:6px}
body.tpl-pack .priceChoices.L-pills .priceChoice{flex:0 1 auto;padding:6px 10px;border-radius:999px;font-size:11.5px}
body.tpl-pack .priceChoices.L-pills .priceChoice small{display:inline;margin-left:5px;font-size:12px}
body.tpl-pack .addbtn svg{vertical-align:-4px;margin-right:6px}
body.tpl-pack .L-fab{width:42px!important;height:42px;margin:8px 0 0!important;padding:0!important;border-radius:50%!important;display:grid;place-items:center;flex:0 0 42px}
body.tpl-pack .L-fab svg{margin:0}
body.tpl-pack .category-cover,body.tpl-pack .category-art{display:block;width:100%}
body.tpl-pack .category-art{display:grid;place-items:center;font-size:40px}

/* ---------- Chocolate ---------- */
.L-choc-hero{position:relative;border-radius:22px;overflow:hidden;background:#2b1a12;color:#f6efe6;min-height:250px;display:flex;align-items:flex-end}
.L-choc-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.45}
.L-choc-hero .L-in{position:relative;padding:26px 22px;background:linear-gradient(0deg,rgba(43,26,18,.92),rgba(43,26,18,0));width:100%}
.L-choc-hero h2{font-family:var(--t-title);font-size:36px;margin:6px 0;line-height:1.1}
.L-choc-hero p{margin:0;max-width:520px;opacity:.9;line-height:1.5}
.L-choc-hero .L-eyebrow{color:#e2c48a}
body.template-chocolate #categoryGrid{grid-template-columns:1fr;gap:14px}
@media(min-width:760px){body.template-chocolate #categoryGrid{grid-template-columns:repeat(2,1fr)}}
body.template-chocolate .L-choc-col{display:grid;grid-template-columns:46% 1fr;align-items:center;text-align:left}
body.template-chocolate .L-choc-col.alt{grid-template-columns:1fr 46%}
body.template-chocolate .L-choc-col.alt .category-cover,body.template-chocolate .L-choc-col.alt .category-art{order:2}
body.template-chocolate .L-choc-col .category-cover,body.template-chocolate .L-choc-col .category-art{aspect-ratio:1/1;height:auto;object-fit:cover;padding:0}
body.template-chocolate .L-choc-col .info{padding:18px}
body.template-chocolate .L-choc-col .name{font-size:22px;margin:4px 0 10px}
body.template-chocolate .L-choc-col .L-eyebrow{color:#a0805e}
body.template-chocolate .L-choc-col .info:after{display:none}
body.template-chocolate .L-choc-card{text-align:center}
body.template-chocolate .L-choc-card .priceChoices{justify-content:center}
body.template-chocolate .L-choc-card .qtyrow{justify-content:center}
body.template-chocolate .L-choc-card .desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.template-chocolate .L-from{color:#a0742a;font-weight:700;font-family:var(--t-title);font-size:18px;margin:8px 0}
body.template-chocolate .L-choc-card .addbtn{background:transparent;color:var(--brand);border:1.5px solid var(--brand)}
body.template-chocolate .L-choc-card .addbtn:hover{background:var(--brand);color:#fff}

/* ---------- Luxury ---------- */
.L-lux-hero{text-align:center;padding:40px 18px 34px;border-top:1px solid var(--t-line);border-bottom:1px solid var(--t-line)}
.L-lux-hero img{width:74px;height:74px;object-fit:contain;border-radius:50%;background:#f7f3ec;margin-bottom:14px}
.L-lux-hero h2{font-family:var(--t-title);font-weight:500;font-size:40px;letter-spacing:.16em;text-transform:uppercase;margin:0}
.L-lux-hero i{display:block;width:60px;height:1px;background:var(--brand);margin:16px auto}
.L-lux-hero p{font-family:var(--t-title);font-style:italic;font-size:19px;opacity:.85;margin:0 auto;max-width:540px}
body.template-luxury #categoryGrid{grid-template-columns:repeat(2,1fr);gap:10px}
body.template-luxury .L-lux-col{position:relative}
body.template-luxury .L-lux-col .category-cover,body.template-luxury .L-lux-col .category-art{aspect-ratio:3/4;object-fit:cover;padding:0;height:auto}
body.template-luxury .L-lux-col .info{position:absolute;inset:auto 0 0 0;padding:40px 12px 14px;background:linear-gradient(0deg,rgba(0,0,0,.85),transparent);text-align:center}
body.template-luxury .L-lux-col .name{color:#f3ede2;font-size:18px;text-transform:uppercase;letter-spacing:.14em}
body.template-luxury .L-lux-col .L-link{color:var(--brand);font-size:11px;letter-spacing:.2em;text-transform:uppercase}
body.template-luxury .L-lux-col .info:after{display:none}
body.template-luxury .L-lux-card{text-align:center;background:transparent;border-color:transparent}
body.template-luxury .L-lux-card .body{padding:14px 6px}
body.template-luxury .L-lux-card .name{font-size:16px;text-transform:uppercase;letter-spacing:.1em}
body.template-luxury .L-lux-card .L-price{color:var(--brand);font-weight:500;font-size:15px;letter-spacing:.08em;margin:6px 0}
body.template-luxury .priceChoices.L-text{display:flex;justify-content:center;gap:14px}
body.template-luxury .priceChoices.L-text .priceChoice{background:none;border:0;border-bottom:1px solid transparent;border-radius:0;padding:4px 0;color:var(--t-muted);font-size:11px;letter-spacing:.12em;text-transform:uppercase}
body.template-luxury .priceChoices.L-text .priceChoice small{display:none}
body.template-luxury .priceChoices.L-text .priceChoice.active{background:none;color:var(--t-ink);border-bottom-color:var(--brand)}
body.template-luxury .L-lux-card .qtyrow{justify-content:center}

/* ---------- Boutique (+ round categories shared with Beauty) ---------- */
.L-bou-hero{display:flex;gap:16px;align-items:center;background:#fff;border:1px solid var(--t-line);border-radius:26px;padding:18px}
.L-bou-hero img{width:78px;height:78px;border-radius:50%;object-fit:contain;background:#fbf6f2;flex:0 0 78px}
.L-bou-hero h2{font-family:var(--t-title);font-weight:400;font-size:28px;margin:2px 0}
.L-bou-hero p{margin:0;color:var(--t-muted);line-height:1.5}
.L-bou-hero .L-eyebrow{color:var(--brand)}
body.template-boutique #categoryGrid,body.template-beauty #categoryGrid{grid-template-columns:repeat(3,1fr);gap:14px 8px}
@media(min-width:760px){body.template-boutique #categoryGrid,body.template-beauty #categoryGrid{grid-template-columns:repeat(6,1fr)}}
body.tpl-pack .L-bou-cat{background:transparent!important;border:0!important;box-shadow:none!important;text-align:center}
body.tpl-pack .L-ring{display:block;padding:3px;border-radius:50%;background:conic-gradient(from 210deg,var(--brand),color-mix(in srgb,var(--brand) 40%,#fff),var(--brand))}
body.tpl-pack .L-ring .category-cover,body.tpl-pack .L-ring .category-art{aspect-ratio:1/1;border-radius:50%;object-fit:cover;padding:0;height:auto;border:3px solid var(--t-bg);background:#fff}
body.tpl-pack .L-bou-cat .info{padding:8px 0 0}
body.tpl-pack .L-bou-cat .name{font-size:14px}
body.tpl-pack .L-bou-cat .count{font-size:11px}
body.tpl-pack .L-bou-cat .info:after{display:none}
body.template-boutique .L-bou-card{position:relative}
body.template-boutique .L-heart{position:absolute;top:12px;right:12px;width:34px;height:34px;border-radius:50%;background:#fff;display:grid;place-items:center;color:var(--brand);box-shadow:0 4px 12px rgba(0,0,0,.08)}
body.template-boutique .L-bou-card .L-row:first-child{align-items:flex-start}
body.template-boutique .L-bou-card .L-price{color:var(--brand);white-space:nowrap}
body.template-boutique .L-bou-card .addbtn{margin-top:8px}

/* ---------- Mini market ---------- */
.L-mm-hero{display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--brand);color:#fff;border-radius:16px;padding:14px 16px;border-bottom:4px solid #facc15}
.L-mm-hero b{display:block;font-size:19px;font-weight:900}
.L-mm-hero span{font-size:13px;opacity:.92}
.L-mm-ic{width:46px;height:46px;border-radius:50%;background:#facc15;color:#14301d;display:grid;place-items:center;flex:0 0 46px}
body.template-minimarket #categoryGrid{grid-template-columns:repeat(3,1fr);gap:8px}
@media(min-width:760px){body.template-minimarket #categoryGrid{grid-template-columns:repeat(6,1fr)}}
body.template-minimarket .L-mm-cat{text-align:center}
body.template-minimarket .L-mm-cat .category-cover,body.template-minimarket .L-mm-cat .category-art{aspect-ratio:1/1;object-fit:contain;height:auto;padding:8px;background:#f6faf3}
body.template-minimarket .L-mm-cat .info{padding:6px}
body.template-minimarket .L-mm-cat .name{font-size:12.5px;font-weight:800}
body.template-minimarket .L-mm-cat .info:after{display:none}
body.template-minimarket .L-mm-card .L-price{font-size:19px;font-weight:900;color:var(--brand)}
body.template-minimarket .L-mm-card .name{font-size:13.5px;font-weight:700;margin-top:2px}

/* ---------- Supermarket ---------- */
body.template-supermarket #categoryBoard,body.template-supermarket #homeTitle{display:none}
.L-sm-hero{background:var(--brand);color:#fff;border-radius:14px;padding:18px;position:relative;overflow:hidden}
.L-sm-hero:after{content:'';position:absolute;right:-30px;top:-30px;width:140px;height:140px;border-radius:50%;background:#ffd60a;opacity:.9}
.L-sm-hero>div{position:relative;z-index:1}
.L-sm-hero h2{margin:4px 0;font-size:24px;font-weight:800}
.L-sm-hero p{margin:0;opacity:.92;font-size:13.5px}
.L-sm-strip{display:flex;gap:10px;overflow-x:auto;padding:14px 2px 4px;scrollbar-width:none}
.L-sm-aisle{flex:0 0 78px;border:0;background:none;text-align:center;font:600 11.5px var(--t-font);color:var(--t-ink);cursor:pointer;padding:0}
.L-sm-aisle .category-cover,.L-sm-aisle .category-art{width:66px!important;height:66px!important;border-radius:50%;object-fit:cover;background:#fff;margin:0 auto 6px;padding:0;font-size:26px;border:2px solid #eee}
.L-sm-aisle span{display:block;line-height:1.2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
body.template-supermarket #categoryGrid.L-sm-rows{display:block}
.L-sm-row{background:#fff;border-radius:12px;padding:12px 0 12px 12px;margin-bottom:12px}
.L-sm-head{display:flex;justify-content:space-between;align-items:center;padding-right:12px;margin-bottom:8px}
.L-sm-head h3{margin:0;font-size:17px;font-weight:800}
.L-sm-scroll{display:flex;gap:8px;overflow-x:auto;padding-right:12px;scrollbar-width:none}
.L-sm-mini{flex:0 0 112px;border:1px solid #eee;border-radius:10px;background:#fff;padding:6px;text-align:left;font:500 12px var(--t-font);color:var(--t-ink);cursor:pointer;display:flex;flex-direction:column;gap:4px;position:relative}
.L-sm-mini img,.L-sm-mini .placeholder{width:100%;aspect-ratio:1/1;object-fit:contain;border-radius:6px}
.L-sm-mini span{line-height:1.25;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
body.tpl-pack .L-tag{display:inline-block;background:#ffd60a;color:#1d1d1f;font-weight:800;font-size:13px;border-radius:6px;padding:2px 7px;align-self:flex-start}
body.template-supermarket .L-sm-card{position:relative}
body.template-supermarket .L-sm-card>.L-tag{position:absolute;left:6px;top:6px;z-index:1;box-shadow:0 2px 6px rgba(0,0,0,.15)}
body.template-supermarket .L-sm-card .addbtn{display:flex;align-items:center;justify-content:center;gap:2px;margin-top:8px}
body.template-supermarket .L-sm-card .addbtn svg{width:16px;height:16px;margin:0}

/* ---------- Wholesale ---------- */
.L-ws-hero{background:#0f1f33;color:#fff;border-radius:8px;padding:16px;border-left:6px solid var(--brand);display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:flex-end}
.L-ws-hero h2{margin:4px 0 0;font-size:22px;font-weight:800}
.L-ws-stats{display:flex;gap:16px;flex-wrap:wrap;font-size:13px;opacity:.92}
.L-ws-stats b{font-size:16px}
body.template-wholesale #categoryGrid.L-ws-list{grid-template-columns:1fr;gap:6px}
@media(min-width:760px){body.template-wholesale #categoryGrid.L-ws-list{grid-template-columns:repeat(2,1fr)}}
body.template-wholesale .L-ws-cat{display:grid;grid-template-columns:52px 1fr 24px;align-items:center;gap:12px;padding:8px 12px;text-align:left}
body.template-wholesale .L-ws-cat .category-cover,body.template-wholesale .L-ws-cat .category-art{width:52px;height:52px;aspect-ratio:1/1;padding:2px;font-size:24px;border-radius:4px}
body.template-wholesale .L-ws-cat .info{padding:0}
body.template-wholesale .L-ws-cat .info:after{display:none}
body.template-wholesale .L-go{color:var(--brand)}
body.template-wholesale #products.grid{grid-template-columns:1fr!important;gap:0;background:#fff;border:1px solid var(--t-line);border-radius:8px;overflow:hidden}
body.template-wholesale .L-ws-th{display:none}
body.template-wholesale .L-ws-row{display:grid!important;grid-template-columns:64px minmax(0,1fr);grid-template-areas:"pic name" "pic units" "qty add";gap:6px 12px;align-items:center;border:0!important;border-bottom:1px solid var(--t-line)!important;border-radius:0!important;padding:10px 12px}
body.template-wholesale .L-ws-row .L-pic{grid-area:pic}
body.template-wholesale .L-ws-row .L-pic img,body.template-wholesale .L-ws-row .L-pic .placeholder{width:64px!important;height:64px!important;aspect-ratio:1/1;padding:2px;border:1px solid var(--t-line);border-radius:4px}
body.template-wholesale .L-ws-name{grid-area:name}
body.template-wholesale .L-ws-units{grid-area:units;display:flex!important;gap:6px;margin:0}
body.template-wholesale .L-ws-units .priceChoice{flex:1;padding:6px;font-size:11px}
body.template-wholesale .L-ws-units .priceChoice small{font-size:13.5px}
body.template-wholesale .L-ws-row .qtyrow{grid-area:qty;margin:0}
body.template-wholesale .L-ws-row .addbtn{grid-area:add;margin:0;display:flex;align-items:center;justify-content:center;width:100%;padding:9px}
@media(min-width:760px){
 body.template-wholesale .L-ws-th{display:grid;grid-template-columns:64px minmax(0,1.6fr) minmax(0,1.6fr) 120px 110px;gap:14px;padding:10px 12px;background:#f5f7fa;font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--t-muted);border-bottom:1px solid var(--t-line)}
 body.template-wholesale .L-ws-row{grid-template-columns:64px minmax(0,1.6fr) minmax(0,1.6fr) 120px 110px;grid-template-areas:"pic name units qty add";gap:14px}
}

/* ---------- Bakery & café ---------- */
.L-bak-hero{display:flex;align-items:center;gap:14px;background:linear-gradient(135deg,color-mix(in srgb,var(--brand) 18%,#fff),#fff7f0);border-radius:28px;padding:20px;border:1px solid var(--t-line)}
.L-bak-hero>div{flex:1}
.L-bak-hero h2{font-family:var(--t-title);font-size:30px;margin:4px 0;color:var(--t-ink)}
.L-bak-hero p{margin:0;color:var(--t-muted);line-height:1.5}
.L-bak-hero .L-eyebrow{color:var(--brand)}
.L-bak-hero img{width:120px;height:120px;border-radius:50%;object-fit:cover;flex:0 0 120px;border:5px solid #fff;box-shadow:0 10px 24px rgba(0,0,0,.1)}
body.template-bakery .L-bak-cat .category-cover,body.template-bakery .L-bak-cat .category-art{aspect-ratio:4/3;object-fit:cover;padding:0;height:auto}
body.template-bakery #products.L-bak-menu{grid-template-columns:1fr;gap:10px}
@media(min-width:760px){body.template-bakery #products.L-bak-menu{grid-template-columns:repeat(2,1fr)}}
body.template-bakery .L-bak-row{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;padding:10px;gap:4px}
body.template-bakery .L-bak-row .L-pic img,body.template-bakery .L-bak-row .L-pic .placeholder{width:96px!important;height:96px!important;border-radius:50%;object-fit:cover;padding:0;aspect-ratio:1/1}
body.template-bakery .L-bak-row .body{padding:0 4px 0 10px}
body.template-bakery .L-bak-row .L-row:first-child{align-items:flex-start}
body.template-bakery .L-bak-row .L-price{color:var(--brand);white-space:nowrap}
body.template-bakery .L-bak-row .desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:2px}

/* ---------- Fashion ---------- */
.L-fa-hero{position:relative;margin:0 -12px;min-height:340px;display:flex;align-items:flex-end;justify-content:center;background:#eee;overflow:hidden}
.L-fa-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.L-fa-hero .L-in{position:relative;text-align:center;padding:30px 16px;width:100%;background:linear-gradient(0deg,rgba(0,0,0,.55),transparent)}
.L-fa-hero h2{color:#fff;font-weight:600;font-size:34px;letter-spacing:.14em;text-transform:uppercase;margin:0}
.L-fa-hero .L-btn{background:#fff;color:#111;border-radius:0;text-transform:uppercase;letter-spacing:.12em;font-size:13px}
body.template-fashion #categoryBoard{display:none}
body.template-fashion #categoryGrid{grid-template-columns:1fr;gap:12px}
@media(min-width:760px){body.template-fashion #categoryGrid{grid-template-columns:repeat(3,1fr)}}
body.template-fashion .L-fa-col{position:relative}
body.template-fashion .L-fa-col .category-cover,body.template-fashion .L-fa-col .category-art{aspect-ratio:4/3;object-fit:cover;padding:0;height:auto}
body.template-fashion .L-fa-col .info{position:absolute;inset:auto 0 0 0;padding:16px;text-align:center;background:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}
body.template-fashion .L-fa-col .name{color:#fff;font-size:18px;text-transform:uppercase;letter-spacing:.14em}
body.template-fashion .L-fa-col .L-link{color:#fff;text-transform:uppercase;letter-spacing:.1em;font-size:11px}
body.template-fashion .L-fa-col .info:after{display:none}
body.template-fashion .L-fa-card .L-price{font-weight:500;font-size:14px;margin:2px 0 6px}
body.template-fashion .priceChoices.L-sizes{display:flex;flex-wrap:wrap;gap:6px}
body.template-fashion .priceChoices.L-sizes .priceChoice{flex:0 0 auto;min-width:46px;border:1px solid #ddd;border-radius:0;padding:7px 9px;font-size:11px;text-transform:uppercase}
body.template-fashion .priceChoices.L-sizes .priceChoice small{display:none}
body.template-fashion .priceChoices.L-sizes .priceChoice.active{background:#111;color:#fff;border-color:#111}
body.template-fashion .L-fa-card .addbtn{background:#111;color:#fff;border-radius:0}

/* ---------- Electronics ---------- */
.L-el-hero{border-radius:18px;padding:22px;background:radial-gradient(circle at 85% 10%,color-mix(in srgb,var(--brand) 35%,transparent),transparent 55%),linear-gradient(135deg,#0f1a30,#0b1220);border:1px solid #1e2a44}
.L-el-hero .L-eyebrow{color:var(--brand)}
.L-el-hero h2{font-family:var(--t-title);font-size:28px;line-height:1.15;margin:6px 0 14px;color:#fff}
.L-badges{display:flex;flex-wrap:wrap;gap:8px}
.L-badges span{display:inline-flex;align-items:center;gap:6px;border:1px solid #2a3a5c;background:#111a2e;border-radius:999px;padding:6px 12px;font-size:12px;color:#c9d6ea}
body.template-electronics .L-el-cat{text-align:center}
body.template-electronics .L-el-cat .category-cover,body.template-electronics .L-el-cat .category-art{aspect-ratio:1/1;object-fit:contain;padding:14px;height:auto;background:radial-gradient(circle,#ffffff 55%,#e8eef7)}
body.template-electronics .L-el-cat .info:after{display:none}
body.tpl-pack .L-chip{display:inline-block;font-size:10.5px;font-weight:700;letter-spacing:.06em;color:var(--brand);border:1px solid color-mix(in srgb,var(--brand) 50%,transparent);border-radius:6px;padding:2px 6px;margin-bottom:6px}
body.template-electronics .L-el-card .L-price{color:var(--brand);font-family:var(--t-title);font-size:24px;margin:6px 0}
body.template-electronics .L-el-card .desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.template-electronics .L-el-card .addbtn{display:flex;align-items:center;justify-content:center;margin-top:8px}

/* ---------- Beauty ---------- */
.L-be-hero{text-align:center;border-radius:28px;padding:30px 20px;background:linear-gradient(135deg,color-mix(in srgb,var(--brand) 20%,#fff),#f4effd)}
.L-be-hero .L-eyebrow{color:var(--brand)}
.L-be-hero h2{font-family:var(--t-title);font-weight:400;font-size:28px;line-height:1.25;margin:8px auto 0;max-width:520px;color:var(--t-ink)}
body.template-beauty .L-be-card .L-eyebrow{color:var(--brand);font-size:10px;margin-bottom:2px}
body.template-beauty .L-be-card .L-pic img{background:color-mix(in srgb,var(--brand) 6%,#fff)}
body.template-beauty .L-be-card .L-price{margin:6px 0}
body.template-beauty .L-be-card .addbtn{margin-top:8px}
/* v12 fixes */
body.tpl-pack .L-pic .placeholder{aspect-ratio:var(--t-ratio);height:auto!important;display:grid;place-items:center;font-size:42px;padding:0}
body.tpl-pack .L-row{flex-wrap:wrap}
body.tpl-pack .L-row .addbtn.L-grow{flex:1 1 100%;width:100%}
body.tpl-pack .L-lux-col .info,body.tpl-pack .L-fa-col .info,body.tpl-pack .L-bou-cat .info{display:block}
body.tpl-pack .L-bou-cat .name,body.tpl-pack .L-bou-cat .count{text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* =====================================================================
   v13 — moving banner (banner.js). Works with every template.
   ===================================================================== */
#mcBanner:empty,#mcBanner[hidden]{display:none}
.mcb{position:relative;margin:6px 0 16px;border-radius:var(--t-radius,20px);overflow:hidden;background:var(--t-card,#fff);border:1px solid var(--t-line,rgba(0,0,0,.06));box-shadow:0 10px 30px rgba(0,0,0,.08)}
.mcb-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.mcb-track::-webkit-scrollbar{display:none}
.mcb-slide{flex:0 0 100%;scroll-snap-align:start;display:grid;grid-template-columns:46% 1fr;align-items:center;min-height:210px;background:linear-gradient(120deg,color-mix(in srgb,var(--brand,#7c3aed) 16%,var(--t-card,#fff)),var(--t-card,#fff) 70%);color:var(--t-ink,#1b1740)}
.mcb-img{height:100%;display:flex;align-items:center;justify-content:center;padding:14px}
.mcb-img img{width:100%;height:100%;max-height:200px;object-fit:contain;filter:drop-shadow(0 12px 18px rgba(0,0,0,.14));animation:mcbIn .7s ease}
.mcb-cap{padding:16px 16px 30px 6px;display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.mcb-head{font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--brand,#7c3aed)}
.mcb-cap b{font-family:var(--t-title,inherit);font-size:20px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.mcb-price{font-size:22px;font-weight:800;color:var(--brand,#7c3aed)}
.mcb-go{border:0;background:var(--brand,#7c3aed);color:var(--t-accent-ink,#fff);border-radius:var(--t-btn-radius,999px);padding:10px 18px;font:700 13.5px var(--t-font,inherit);cursor:pointer;margin-top:4px}
.mcb-video{display:block;position:relative;background:#000}
.mcb-video video{display:block;width:100%;height:240px;object-fit:cover}
.mcb-video .mcb-cap{position:absolute;inset:auto 0 0 0;padding:40px 16px 30px;background:linear-gradient(0deg,rgba(0,0,0,.7),transparent);color:#fff}
.mcb-video .mcb-head{color:#fff;opacity:.85}
.mcb-dots{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;gap:6px}
.mcb-dot{width:7px;height:7px;border-radius:999px;border:0;padding:0;background:color-mix(in srgb,var(--t-ink,#1b1740) 25%,transparent);cursor:pointer;transition:width .25s}
.mcb-dot.on{width:22px;background:var(--brand,#7c3aed)}
.mcb-video~.mcb-dots .mcb-dot{background:rgba(255,255,255,.5)}
.mcb-nav{display:none;position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:#111;font-size:24px;line-height:1;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.15)}
.mcb-nav.prev{left:10px}.mcb-nav.next{right:10px}
@media(min-width:760px){.mcb-slide{min-height:320px;grid-template-columns:50% 1fr}.mcb-img img{max-height:300px}.mcb-cap b{font-size:30px}.mcb-price{font-size:28px}.mcb-video video{height:380px}.mcb-nav{display:block}}
@keyframes mcbIn{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}}
.product.mcb-flash{outline:3px solid var(--brand,#7c3aed);outline-offset:2px;transition:outline-color 1s}
/* template touches */
body.template-luxury .mcb{border-radius:2px;background:#0e0e0e;border-color:#2b2620}
body.template-luxury .mcb-slide{background:linear-gradient(120deg,#1a1712,#0e0e0e 70%);color:#f3ede2}
body.template-luxury .mcb-img{background:#f7f3ec;margin:14px;height:auto;align-self:stretch}
body.template-luxury .mcb-cap b{text-transform:uppercase;letter-spacing:.08em;font-weight:500}
body.template-luxury .mcb-go{background:transparent;border:1px solid var(--brand);color:var(--brand);border-radius:0;text-transform:uppercase;letter-spacing:.14em;font-size:11px}
body.template-fashion .mcb{border-radius:0;border:0;box-shadow:none;margin-left:-12px;margin-right:-12px}
body.template-fashion .mcb-slide{background:#f4f4f4}
body.template-fashion .mcb-cap b{text-transform:uppercase;letter-spacing:.1em;font-weight:500}
body.template-fashion .mcb-go{background:#111;border-radius:0;text-transform:uppercase;letter-spacing:.12em}
body.template-electronics .mcb{background:#0b1220;border-color:#1e2a44}
body.template-electronics .mcb-slide{background:radial-gradient(circle at 25% 50%,color-mix(in srgb,var(--brand) 22%,transparent),transparent 60%),#0f1a30;color:#e6edf7}
body.template-electronics .mcb-img img{background:#fff;border-radius:14px;padding:8px}
body.template-supermarket .mcb-price{background:#ffd60a;color:#1d1d1f;border-radius:8px;padding:2px 10px}
body.template-chocolate .mcb-slide{background:linear-gradient(120deg,#3b2418,#5a3826 70%);color:#f6efe6}
body.template-chocolate .mcb-head,body.template-chocolate .mcb-price{color:#e2c48a}
body.template-premium .mcb{background:#1f2937;border-color:#374151}
body.template-premium .mcb-slide{color:#f9fafb;background:linear-gradient(120deg,color-mix(in srgb,var(--brand) 30%,#1f2937),#1f2937 70%)}

/* =====================================================================
   v14 — special prices (sales.js)
   ===================================================================== */
.mc-was{font-weight:500;opacity:.6;text-decoration:line-through;text-decoration-thickness:1.5px;font-size:.82em;margin-right:2px}
.priceChoice.active .mc-was{opacity:.8}
.mc-sale-badge{position:absolute;top:8px;left:8px;z-index:2;background:#e11d48;color:#fff;font:800 12px/1 system-ui,sans-serif;padding:6px 8px;border-radius:999px;box-shadow:0 4px 12px rgba(225,29,72,.35);letter-spacing:.02em;pointer-events:none}
.product.mc-on-sale{position:relative}
.mc-sale-until{font-size:11.5px;font-weight:700;color:#e11d48;margin:2px 0 4px}
.mcb-img{position:relative}
.L-sm-mini .mc-sale-badge{top:4px;left:4px;font-size:10px;padding:4px 6px}
.L-tag .mc-was{font-size:.75em}
body.template-luxury .mc-sale-badge,body.template-fashion .mc-sale-badge{border-radius:0;background:#111;box-shadow:none;letter-spacing:.1em}
body.template-luxury .mc-sale-badge{background:var(--brand);color:#0e0e0e}
body.template-supermarket .mc-sale-badge{top:auto;bottom:8px;left:auto;right:6px}
body.template-wholesale .mc-sale-badge{top:2px;left:2px;font-size:10px;padding:3px 5px;border-radius:4px}

/* =====================================================================
   v15 — stock on the catalogue (stock.js)
   ===================================================================== */
.product.mc-out{position:relative}
.product.mc-out img,.product.mc-out .placeholder,.mc-out .mcb-img img,.L-sm-mini.mc-out img{filter:grayscale(1);opacity:.55}
.product.mc-out .priceChoice{opacity:.6}
.mc-stock-tag{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-8deg);background:rgba(17,17,17,.88);color:#fff;font:800 13px/1 system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;padding:9px 14px;border-radius:6px;pointer-events:none;white-space:nowrap}
.mc-stock-line{font-size:11.5px;font-weight:700;margin:2px 0 4px;display:flex;align-items:center;gap:5px}
.mc-stock-line:before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor}
.mc-stock-line.out{color:#6b7280}.mc-stock-line.low{color:#d97706}.mc-stock-line.ok{color:#059669}
.addbtn.mc-out-btn,.addbtn.mc-out-btn:hover{background:#e5e7eb!important;color:#6b7280!important;border-color:#e5e7eb!important;cursor:not-allowed;box-shadow:none!important;transform:none}
.L-fab.mc-out-btn{font-size:0!important}
.L-fab.mc-out-btn:after{content:'✕';font-size:16px}
body.template-luxury .mc-stock-tag,body.template-fashion .mc-stock-tag{transform:translate(-50%,-50%);border-radius:0;font-weight:600;letter-spacing:.2em}
body.template-electronics .addbtn.mc-out-btn,body.template-luxury .addbtn.mc-out-btn,body.template-premium .addbtn.mc-out-btn{background:#1f2937!important;color:#9ca3af!important;border-color:#374151!important}

/* =====================================================================
   v16 — price on request (quote.js)
   ===================================================================== */
.mc-quote-note{font-size:13px;font-weight:700;color:var(--brand,#7c3aed);margin:6px 0}
.mc-quote-acts{display:flex;flex-direction:column;gap:6px;margin-top:8px;grid-column:1/-1}
.addbtn.mc-quote-btn{background:transparent!important;color:var(--brand,#7c3aed)!important;border:1.5px dashed var(--brand,#7c3aed)!important;box-shadow:none!important;width:100%;margin:0!important}
.addbtn.mc-quote-btn:hover{background:color-mix(in srgb,var(--brand,#7c3aed) 10%,transparent)!important}
.mc-ask{display:block;text-align:center;font-size:12.5px;font-weight:700;color:#15803d;text-decoration:none;padding:4px}
.mc-ask:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:#22c55e;margin-right:6px;vertical-align:1px}
.mc-q{color:var(--brand,#7c3aed)}
body.template-luxury .addbtn.mc-quote-btn,body.template-fashion .addbtn.mc-quote-btn{border-style:solid!important;border-radius:0!important;text-transform:uppercase;letter-spacing:.12em;font-size:11px}

/* ---------- v20: Arabic / RTL, product page, checkout extras, tracking ---------- */
.mc-rtl{font-family:"Segoe UI",Tahoma,"Noto Kufi Arabic","Noto Sans Arabic",Arial,sans-serif}
.mc-rtl #installCatalogue{margin-left:0!important;margin-right:auto!important}
.mc-rtl .cartline,.mc-rtl .checkout,.mc-rtl .box{text-align:right}
.mc-rtl .mc-sale-badge{left:auto;right:8px}
.mc-lang{flex:0 0 auto;white-space:nowrap;border:1px solid rgba(255,255,255,.55);background:transparent;color:inherit;border-radius:10px;padding:8px 10px;font-weight:800;margin-inline-start:8px;cursor:pointer}
.mc-noscroll{overflow:hidden}
.mc-pdp{position:fixed;inset:0;z-index:60;background:var(--bg,#fff);color:var(--ink,#16201d);overflow-y:auto;padding:0 0 110px;-webkit-overflow-scrolling:touch}
.mc-pdp[hidden]{display:none}
.mc-pdp-top{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:8px;padding:10px 14px;background:var(--brand,#173f35);color:#fff}
.mc-pdp-top button{border:0;border-radius:10px;padding:9px 13px;font-weight:800;background:rgba(255,255,255,.16);color:#fff;cursor:pointer}
.mc-pdp-body{max-width:1100px;margin:0 auto;padding:18px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:26px}
@media (max-width:760px){.mc-pdp-body{grid-template-columns:1fr;padding:12px;gap:14px}}
.mc-pdp-gal img#mcPdpMain{width:100%;aspect-ratio:1;object-fit:contain;background:#fff;border-radius:16px;border:1px solid rgba(0,0,0,.08)}
.mc-pdp-ph{display:grid;place-items:center;aspect-ratio:1;border-radius:16px;background:rgba(0,0,0,.06);font-size:64px;font-weight:900;color:var(--brand,#173f35)}
.mc-pdp-thumbs{display:flex;gap:8px;overflow-x:auto;margin-top:10px}
.mc-pdp-thumbs button{flex:0 0 64px;height:64px;padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;background:#fff;cursor:pointer}
.mc-pdp-thumbs button.on{border-color:var(--brand,#173f35)}
.mc-pdp-thumbs img{width:100%;height:100%;object-fit:cover}
.mc-pdp-cat{font-size:13px;opacity:.65;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.mc-pdp-info h2{font-size:clamp(22px,3.4vw,32px);margin:4px 0 12px;line-height:1.2}
.mc-pdp-units{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 14px}
.mc-pdp-units button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:110px;padding:10px 14px;border-radius:12px;border:2px solid rgba(0,0,0,.12);background:#fff;color:#16201d;cursor:pointer;font:inherit}
.mc-pdp-units button.on{border-color:var(--brand,#173f35);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand,#173f35) 18%,transparent)}
.mc-pdp-units b{font-size:19px}.mc-pdp-units s{font-size:12px;opacity:.6}
.mc-opt{display:block;margin:0 0 10px;font-weight:700}
.mc-opt select{display:block;width:100%;margin-top:4px;padding:11px;border-radius:10px;border:1px solid rgba(0,0,0,.2);font:inherit;background:#fff}
.mc-opt select.bad{border-color:#c0392b;box-shadow:0 0 0 3px rgba(192,57,43,.18)}
.mc-pdp-buy{display:flex;gap:10px;align-items:center;margin:14px 0}
.mc-pdp-qty{display:flex;align-items:center;border:1px solid rgba(0,0,0,.15);border-radius:12px;overflow:hidden;background:#fff;color:#16201d}
.mc-pdp-qty button{border:0;background:transparent;width:42px;height:46px;font-size:20px;cursor:pointer}
.mc-pdp-qty b{min-width:34px;text-align:center}
.mc-pdp-add{flex:1;border:0;border-radius:12px;height:48px;font-weight:900;font-size:16px;background:var(--brand,#173f35);color:#fff;cursor:pointer}
.mc-pdp-desc{line-height:1.65;margin:12px 0;white-space:normal}
.mc-pdp-meta{font-size:13px;opacity:.6}
.mc-pdp-wa{display:inline-block;margin-top:12px;padding:10px 14px;border-radius:12px;background:#25d366;color:#fff;font-weight:800;text-decoration:none}
.mc-pdp-out,.mc-pdp-low{display:inline-block;padding:5px 10px;border-radius:999px;font-weight:800;font-size:13px;margin-bottom:10px}
.mc-pdp-out{background:#fde8e6;color:#b3261e}.mc-pdp-low{background:#fff4d6;color:#8a5a00}
.mc-pdp-quote{font-weight:800}
.mc-pdp-rel-t{max-width:1100px;margin:10px auto 8px;padding:0 18px}
.mc-pdp-rel{max-width:1100px;margin:0 auto;padding:0 18px;display:grid;grid-auto-flow:column;grid-auto-columns:150px;gap:10px;overflow-x:auto}
.mc-pdp-rel button{display:flex;flex-direction:column;gap:4px;text-align:start;border:1px solid rgba(0,0,0,.1);border-radius:12px;padding:8px;background:#fff;color:#16201d;cursor:pointer;font:inherit}
.mc-pdp-rel img,.mc-pdp-rel .mc-pdp-ph{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;font-size:30px}
.mc-pdp-rel small{opacity:.7}
.mc-co{display:grid;gap:8px;margin-bottom:8px}
.mc-co select,.mc-code input{width:100%;padding:11px;border-radius:10px;border:1px solid rgba(0,0,0,.2);font:inherit;background:#fff;box-sizing:border-box}
.mc-code{display:flex;gap:8px}.mc-code button{border:0;border-radius:10px;padding:0 16px;font-weight:800;background:var(--brand,#173f35);color:#fff;cursor:pointer}
.mc-pay{display:grid;gap:6px;padding:10px;border:1px solid rgba(0,0,0,.12);border-radius:12px}
.mc-pay-opt{display:flex!important;gap:8px;align-items:flex-start;font-weight:600}
.mc-pay-opt input{width:auto!important;margin-top:3px}
.mc-pay-opt small{display:block;opacity:.7;font-weight:500;word-break:break-all}
.mc-sum{display:grid;gap:4px;font-size:14px}
.mc-sum div{display:flex;justify-content:space-between;gap:10px}
.mc-sum-d b{color:#1e8449}.mc-sum-t{font-size:18px;font-weight:900;border-top:1px solid rgba(0,0,0,.12);padding-top:6px}
.mc-after{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:12px}
.mc-tracklink,.mc-paylink{display:inline-block;padding:10px 14px;border-radius:12px;background:var(--brand,#173f35);color:#fff!important;font-weight:800;text-decoration:none}
.mc-paylink{background:#1e66d0}
.mc-track{max-width:640px;margin:0 auto;padding:22px 16px;display:grid;gap:14px}
.mc-steps{list-style:none;padding:0;margin:0;display:grid;gap:0}
.mc-steps li{position:relative;padding:8px 0 8px 30px;opacity:.45;font-weight:700}
.mc-rtl .mc-steps li{padding:8px 30px 8px 0}
.mc-steps li::before{content:"";position:absolute;inset-inline-start:4px;top:11px;width:14px;height:14px;border-radius:50%;border:2px solid currentColor;box-sizing:border-box}
.mc-steps li.done,.mc-steps li.now{opacity:1}
.mc-steps li.done::before{background:#1e8449;border-color:#1e8449}
.mc-steps li.now::before{background:var(--brand,#173f35);border-color:var(--brand,#173f35);box-shadow:0 0 0 4px color-mix(in srgb,var(--brand,#173f35) 25%,transparent)}
.mc-track-items{display:grid;gap:6px;border:1px solid rgba(0,0,0,.1);border-radius:12px;padding:10px}
.mc-track-items div{display:flex;justify-content:space-between;gap:10px}
.mc-track-items small{opacity:.65}
.mc-track-biz{display:flex;align-items:center;gap:10px;font-size:18px}.mc-track-biz img{width:44px;height:44px;border-radius:10px;object-fit:cover}

/* ---------- v23 Restaurant & Delivery (delivery-app menu) ---------- */
body.template-restaurant{--t-bg:#f6f6f6;--t-card:#fff;--t-ink:#1b1b1f;--t-muted:#6b6b76;--t-line:#ececf0;--t-title:"Poppins",system-ui,sans-serif;font-family:"Inter",system-ui,sans-serif}
body.template-restaurant #categoryBoard,body.template-restaurant #homeTitle{display:none}
.L-rs-hero{background:#fff;border-radius:22px;overflow:hidden;border:1px solid var(--t-line);margin-bottom:10px}
.L-rs-cover{height:170px;background:linear-gradient(135deg,var(--brand),color-mix(in srgb,var(--brand) 55%,#000))}
.L-rs-cover img{width:100%;height:100%;object-fit:cover;display:block}
@media(min-width:760px){.L-rs-cover{height:240px}}
.L-rs-head{display:flex;gap:14px;align-items:flex-end;padding:0 16px;margin-top:-38px;position:relative}
.L-rs-logo{width:84px;height:84px;border-radius:20px;object-fit:cover;background:#fff;border:4px solid #fff;box-shadow:0 6px 18px rgba(0,0,0,.14);flex:0 0 auto}
.L-rs-logo0{display:grid;place-items:center;font:800 34px var(--t-title);color:#fff;background:var(--brand)}
.L-rs-head>div{padding-bottom:4px;min-width:0}
.L-rs-head h2{font:800 24px/1.15 var(--t-title);margin:0;color:var(--t-ink)}
.L-rs-head p{margin:3px 0 0;color:var(--t-muted);font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.L-rs-info{display:flex;flex-wrap:wrap;gap:6px;padding:12px 16px 16px}
.L-rs-info:empty{padding:6px}
.L-rs-info span{background:#f3f3f6;border-radius:999px;padding:6px 11px;font-size:13px;font-weight:600;color:var(--t-ink)}
.L-rs-tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:8px 2px;margin:6px 0 4px;background:var(--t-bg)}
.L-rs-tabs::-webkit-scrollbar{display:none}
.L-rs-tabs a{flex:0 0 auto;white-space:nowrap;text-decoration:none;color:var(--t-ink);font-weight:700;font-size:14px;padding:9px 14px;border-radius:999px;background:#fff;border:1px solid var(--t-line)}
.L-rs-tabs a.on{background:var(--t-ink);color:#fff;border-color:var(--t-ink)}
.L-rs-fixed{position:fixed;top:0;left:0;right:0;z-index:40;margin:0;padding:10px 12px;box-shadow:0 4px 14px rgba(0,0,0,.08);background:#fff}
.L-rs-fixed[hidden]{display:none}
body.template-restaurant #categoryGrid.L-rs-menu{display:block}
.L-rs-sec{scroll-margin-top:70px;margin:0 0 18px}
.L-rs-sec h3{font:800 20px var(--t-title);margin:14px 4px 10px;color:var(--t-ink)}
.L-rs-sec h3 small{font:600 13px var(--t-title);color:var(--t-muted)}
.L-rs-list{background:#fff;border:1px solid var(--t-line);border-radius:18px;overflow:hidden}
@media(min-width:900px){.L-rs-list{display:grid;grid-template-columns:1fr 1fr;background:transparent;border:0;gap:12px}.L-rs-list .L-rs-dish{border:1px solid var(--t-line);border-radius:16px;background:#fff}}
.L-rs-dish{display:flex;gap:14px;align-items:stretch;padding:14px;cursor:pointer;border-bottom:1px solid var(--t-line);background:#fff;text-align:start}
.L-rs-dish:last-child{border-bottom:0}
.L-rs-dish:hover{background:#fafafa}
.L-rs-dish.out{opacity:.55}
.L-rs-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.L-rs-txt .name{font:700 16px/1.3 var(--t-title);color:var(--t-ink)}
.L-rs-txt p{margin:0;color:var(--t-muted);font-size:13.5px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.L-rs-price{margin-top:auto;font-weight:800;color:var(--t-ink);font-size:15px}
.L-rs-price small{font-weight:600;color:var(--t-muted)}
.L-rs-price s{color:var(--t-muted);font-weight:500;font-size:13px;margin-inline-start:4px}
.L-rs-price.ask{color:var(--brand);font-size:14px}
.L-rs-out{align-self:flex-start;font-size:12px;font-weight:800;color:#b3261e;background:#fde8e6;border-radius:999px;padding:3px 8px}
.L-rs-ph{position:relative;flex:0 0 112px;height:112px;border-radius:14px;overflow:visible}
.L-rs-ph img,.L-rs-ph0{width:100%;height:100%;object-fit:cover;border-radius:14px;display:block;background:#f1f1f4}
.L-rs-ph0{display:grid;place-items:center;font:800 34px var(--t-title);color:var(--brand)}
.L-rs-add{position:absolute;right:-6px;bottom:-6px;width:38px;height:38px;border-radius:50%;border:0;background:#fff;color:var(--brand);box-shadow:0 3px 10px rgba(0,0,0,.18);display:grid;place-items:center;cursor:pointer}
.mc-rtl .L-rs-add{right:auto;left:-6px}
.L-rs-add:active{transform:scale(.92)}
.L-rs-q{position:absolute;top:-6px;right:-6px;min-width:24px;height:24px;border-radius:999px;background:var(--brand);color:#fff;font:800 13px/24px var(--t-title);text-align:center;font-style:normal;padding:0 6px;box-shadow:0 2px 6px rgba(0,0,0,.2)}
.mc-rtl .L-rs-q{right:auto;left:-6px}
.L-rs-q[hidden]{display:none}
body.template-restaurant #products .L-rs-one{padding:0;border:0;background:transparent;box-shadow:none}
body.template-restaurant #products .L-rs-one .L-rs-dish{border:1px solid var(--t-line);border-radius:16px}
