/* Relaxo demo styles, redesigned. Palette from the logo. Poppins for English, Li Ador Noirrit VR Bold for Bangla. */
@font-face {
  font-family: "Li Ador Noirrit VR Bold";
  src: local("Li Ador Noirrit VR Bold"), local("LiAdorNoirritVR-Bold"),
       url("fonts/li-ador-noirrit-vr-bold.woff2") format("woff2"),
       url("fonts/li-ador-noirrit-vr-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #141A2A;
  --navy: #1D2B4F;
  --navy-deep: #131E3A;
  --amber: #F2A93B;
  --leaf: #3E6B5C;
  --paper: #F6F4EE;
  --sand: #EAE4D6;
  --line: #DCD6C8;
  --muted: #5F6678;
  --bad: #A23B2A;
  --f-body: "Poppins", system-ui, sans-serif;
  --f-bn: "Li Ador Noirrit VR Bold", "Hind Siliguri", sans-serif;
  --max: 1240px;
  --gutter: clamp(16px, 3vw, 32px);
}

:lang(bn), .bn, .bn-line { font-family: var(--f-bn); font-weight: 700; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-size: 17px; }
body { overflow-x: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--f-body); }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.15; color: var(--navy); font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 0.3em 0 0.5em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 0.6em; }
h3 { font-size: 1.05rem; margin: 1em 0 0.4em; }
p { margin: 0.6em 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
code { background: var(--sand); padding: 0 4px; border-radius: 2px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 40; }

/* page frame */
#app, #header, #footer { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
#app { min-height: 62vh; padding-bottom: 72px; }

/* announcement */
.buy-now { background: var(--amber); color: var(--ink); border-color: var(--amber); }

/* header: two rows, no dropdown */

/* home: 1. split hero */
.bn-line { font-size: 1.15rem; color: var(--navy); margin: 0.2em 0 1.4em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--navy); color: var(--paper); border: 1.5px solid var(--navy); border-radius: 0; padding: 13px 26px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; letter-spacing: 0.01em; }
.btn:hover { background: var(--navy-deep); }
.btn.small { padding: 9px 16px; font-size: 0.88rem; }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: var(--paper); }
.btn.amber { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn.amber:hover { background: #E79A2A; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* sections */
.section { padding: clamp(40px, 5vw, 64px) 0 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; }
.sec-head a { font-weight: 500; }
.sub { color: var(--muted); margin: 0; max-width: 56ch; }

/* room tiles (home) */

/* fresh list rows (home) */
.list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.row-item { display: grid; grid-template-columns: 84px 1fr auto auto; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row-item .thumb { width: 84px; height: 84px; background: var(--sand); position: relative; }
.row-item .thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.7rem; color: var(--muted); }
.row-item h3 { margin: 0; font-size: 1rem; }
.row-item h3 a { text-decoration: none; }
.row-item .meta { margin: 0; font-size: 0.85rem; color: var(--muted); }
.row-item .price { margin: 0; font-weight: 600; color: var(--navy); white-space: nowrap; }
.row-item .price s { display: block; color: #8A90A0; font-weight: 400; font-size: 0.8rem; }
.row-item .go { white-space: nowrap; }

/* bundles (home): two big panels */
.bundles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bundle { background: #fff; padding: 26px; display: grid; gap: 10px; align-content: start; }
.bundle h3 { font-size: 1.25rem; margin: 0; }
.bundle ul { margin: 0; padding-left: 18px; color: var(--muted); }
.bundle .price { font-size: 1.2rem; font-weight: 600; color: var(--navy); margin: 0; }

/* order journey (home): steps in sequence */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--navy); }
.journey > div { padding: 22px 22px 0 0; }
.journey h3 { margin-top: 0; color: var(--navy); }
.journey p { color: #3A4256; margin: 0; }

/* reviews (home) */
.stars { color: var(--amber); letter-spacing: 3px; margin: 0; }

/* FAQ (home) */
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: #3A4256; max-width: 70ch; }

/* business band (home) */
.band { background: var(--navy); color: var(--paper); padding: clamp(28px, 4vw, 48px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(40px, 6vw, 72px); }
.band h2 { color: var(--paper); margin: 0 0 6px; }
.band p { margin: 0; opacity: 0.9; max-width: 56ch; }
.band .btn { background: var(--amber); border-color: var(--amber); color: var(--ink); }

/* product grid (shop, category, campaign, wishlist) */
.price { color: var(--navy); font-weight: 600; margin: 4px 0 0; }
.price s { color: #8A90A0; font-weight: 400; margin-left: 6px; font-size: 0.88rem; }
.meta { font-size: 0.8rem; color: var(--muted); margin: 0; }
.chk { font-size: 0.85rem; display: inline-flex; gap: 6px; align-items: center; color: var(--muted); }

/* shop header and tools */
.toolbar { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; margin: 6px 0 16px; }
.toolbar label:first-of-type:has(input[name=q]) { grid-column: 1 / -1; }
.toolbar input, .toolbar select { width: 100%; min-width: 0; font-size: 16px; padding: 9px 10px; }
.toolbar label { display: grid; gap: 4px; font-size: 0.82rem; color: var(--muted); }
.pager { display: flex; gap: 18px; align-items: center; margin: 32px 0; justify-content: center; }
.empty, .empty-state { padding: 28px; background: #fff; }
.notice { background: #fff; border-left: 3px solid var(--leaf); padding: 12px 16px; }
.notice.bad { border-left-color: var(--bad); }
.errors { color: var(--bad); }
.errors p { margin: 4px 0; }
.msg { font-size: 0.9rem; margin: 6px 0; }
.msg.ok { color: var(--leaf); }
.msg.bad { color: var(--bad); }

/* product page */
.crumbs { font-size: 0.85rem; color: var(--muted); margin-top: 22px; }
.crumbs a { color: var(--muted); }
.pdp { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 56px); margin-top: 18px; align-items: start; }
.pdp-info { display: grid; gap: 10px; }
.pdp-info h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0; }
.pdp-info .price { font-size: 1.4rem; }
.variants { border: 0; padding: 0; margin: 14px 0 4px; display: flex; flex-wrap: wrap; gap: 10px; }
.variants legend { font-weight: 600; margin-bottom: 8px; color: var(--navy); }
.swatch { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 7px 12px; cursor: pointer; background: #fff; font-size: 0.9rem; }
.swatch input { accent-color: var(--navy); }
.swatch:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.chip { width: 16px; height: 16px; border-radius: 50%; display: inline-block; border: 1px solid #0002; }
.buy { display: flex; gap: 14px; align-items: flex-end; margin: 10px 0 4px; flex-wrap: wrap; }
.buy label { display: grid; gap: 4px; font-size: 0.85rem; color: var(--muted); }
.buy .btn { flex: 1 1 140px; min-width: 0; }
.buy label { flex: 0 0 90px; }
.buy input { width: 100%; }
#qty { width: 88px; }
.row-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.review { border-top: 1px solid var(--line); padding: 14px 0; }
.review p { margin: 6px 0 0; }

/* forms */
input, select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 0; padding: 11px 12px; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--amber); outline-offset: 0; border-color: var(--navy); }
.stack { display: grid; gap: 16px; max-width: 560px; }
.stack label, .inline-form label { display: grid; gap: 6px; font-size: 0.88rem; color: var(--ink); font-weight: 500; }
.stack label.radio, .stack label.chk { display: flex; gap: 10px; align-items: center; font-weight: 400; }
fieldset { border: 0; border-top: 1px solid var(--line); padding: 18px 0 0; display: grid; gap: 14px; margin: 0; }
legend { font-weight: 600; color: var(--navy); padding: 0; margin-bottom: 4px; font-size: 1.05rem; }
.inline-form { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin: 14px 0 22px; }

/* cart and checkout */
.cart-layout, .checkout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; margin-top: 18px; }
.checkout { grid-template-columns: 1.35fr 1fr; }
.summary { background: #fff; padding: 24px; position: sticky; top: 130px; display: grid; gap: 14px; }
.summary h2 { margin: 0; font-size: 1.25rem; }
.cart-table, table { width: 100%; border-collapse: collapse; margin: 14px 0; background: transparent; }
.cart-table th, table th { text-align: left; font-size: 0.8rem; color: var(--muted); font-weight: 500; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.cart-table td, table td { text-align: left; padding: 16px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 0.93rem; }
.table-scroll { overflow-x: auto; }
.qty { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--line); background: #fff; }
.qty button { background: none; border: 0; padding: 6px 12px; font: inherit; cursor: pointer; color: var(--navy); font-size: 1.05rem; }
.qty span { min-width: 26px; text-align: center; }
.totals { margin: 6px 0 0; }
.tot-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.tot-row dt, .tot-row dd { margin: 0; }
.tot-row dd { font-variant-numeric: tabular-nums; }
.timeline { list-style: none; padding: 0; display: grid; gap: 0; margin: 18px 0; border-left: 2px solid var(--line); }
.timeline li { padding: 0 0 18px 22px; position: relative; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: var(--leaf); }
.timeline li.current { color: var(--navy); font-weight: 600; }
.timeline li.current::before { background: var(--amber); }
.confirm { max-width: 760px; }
.compare th, .compare td { min-width: 150px; }
.plain { list-style: none; padding: 0; margin: 0.4em 0; }
.plain li { margin-bottom: 8px; }
.campaign-hero { background: var(--sand); padding: clamp(28px, 5vw, 56px); margin-top: 22px; }
.campaign-hero h1 { margin: 0 0 8px; }
.campaign-hero p { margin: 0; max-width: 56ch; }

/* footer */

/* mobile bag bar: appears when the cart has items */

/* toast */
#toast { position: fixed; left: 16px; bottom: 16px; background: var(--navy); color: var(--paper); padding: 11px 16px; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; pointer-events: none; z-index: 30; max-width: min(360px, calc(100vw - 180px)); font-size: 0.9rem; }
#toast.show { opacity: 1; transform: none; }

/* chat */
#chat { position: fixed; right: 16px; bottom: 16px; z-index: 20; }
.bub { margin: 0; padding: 8px 12px; max-width: 88%; font-size: 0.9rem; }
.bub.customer { background: var(--navy); color: var(--paper); justify-self: end; }
.bub.bot, .bub.agent { background: var(--sand); }
.bub.agent { border-left: 3px solid var(--amber); }

/* admin (kept functional, lighter styling) */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin: 12px 0; }
.kpi { background: #fff; padding: 16px; display: grid; gap: 4px; }
.kpi span { color: var(--muted); font-size: 0.85rem; }
.kpi strong { color: var(--navy); font-size: 1.3rem; }
.chart { width: 100%; height: auto; background: #fff; padding: 8px; }
.chart rect { fill: var(--navy); }
.chart text { font-size: 10px; fill: var(--muted); }
.narrow { width: 110px; }
.stock-cell { display: inline-flex; gap: 6px; align-items: center; margin-right: 10px; font-size: 0.85rem; }
.log { font-size: 0.85rem; padding-left: 18px; }
.receipt { background: #fff; padding: 12px; white-space: pre-wrap; font: 0.9rem/1.5 ui-monospace, Menlo, Consolas, monospace; }

/* one page-load moment, only the hero */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* small screens */
@media (max-width: 960px) {
  .summary { position: static; }
}
@media (max-width: 720px) {
  .row-item { grid-template-columns: 64px 1fr auto; }
  .row-item .thumb { width: 64px; height: 64px; }
  .row-item .go { grid-column: 1 / -1; }
  #chat { bottom: 70px; }
  #toast { bottom: 70px; }
}


/* ===== storefront layout (mobile first), modelled on the reference sequence ===== */
:root { --cta: #F2A93B; --cta-ink: #141A2A; }
#app { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 40px; }
.utility { background: var(--navy-deep); color: #E9ECF4; font-size: 0.8rem; display: flex; justify-content: center; gap: 24px; padding: 7px 12px; text-align: center; }
.head { background: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 var(--line); }
.head-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; max-width: var(--max); margin: 0 auto; padding: 8px var(--gutter); }
.icon-btn { background: none; border: 0; font: inherit; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 8px 0; justify-self: start; }
.bars { width: 20px; height: 14px; display: inline-block; background: linear-gradient(currentColor 0 0) top/100% 2px no-repeat, linear-gradient(currentColor 0 0) center/100% 2px no-repeat, linear-gradient(currentColor 0 0) bottom/100% 2px no-repeat; }
.brand { justify-self: center; display: block; }
.brand img { width: 60px; height: 60px; object-fit: contain; display: block; }
.search { display: none; }
.tools { display: flex; gap: 16px; align-items: center; justify-self: end; }
.tools a { position: relative; color: var(--ink); text-decoration: none; display: inline-flex; padding: 6px; }
.tools b { position: absolute; top: -2px; right: -6px; background: var(--cta); color: var(--cta-ink); font-size: 0.66rem; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.hide-sm { display: none !important; }

/* drawer */
.drawer-layer { position: fixed; inset: 0; z-index: 60; }
.drawer-bg { position: absolute; inset: 0; background: rgba(20, 26, 42, 0.5); }
.drawer { position: absolute; left: 0; top: 0; bottom: 0; width: min(340px, 86vw); background: #fff; overflow-y: auto; animation: slidein .22s ease-out; }
@keyframes slidein { from { transform: translateX(-100%); } to { transform: none; } }
.drawer-top { display: flex; justify-content: flex-end; padding: 12px 16px; }
.drawer-search { display: flex; margin: 0 16px 12px; border: 1px solid var(--line); }
.drawer-search input { flex: 1; border: 0; padding: 12px; font: inherit; font-size: 16px; min-width: 0; }
.drawer-search button { border: 0; background: none; padding: 0 12px; color: var(--ink); }
.drawer-tabs { display: grid; grid-template-columns: 1fr 1fr; }
.drawer-tabs button { border: 0; background: var(--sand); font: inherit; font-size: 0.85rem; font-weight: 600; padding: 14px; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.drawer-tabs button.on { background: #fff; color: var(--ink); border-bottom-color: var(--cta); }
.drawer-pane a, .drawer-pane .link { display: block; padding: 14px 18px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 0.92rem; font-weight: 500; width: 100%; text-align: left; }

/* slider */
.slider { position: relative; margin: 0 calc(-1 * var(--gutter)); height: clamp(260px, 62vw, 460px); overflow: hidden; background: var(--navy); }
.slide { position: absolute; inset: 0; background: var(--bg); color: var(--fg); display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; padding: 0 clamp(20px, 6vw, 80px); opacity: 0; transition: opacity .7s ease; pointer-events: none; }
.slide.on { opacity: 1; pointer-events: auto; }
.slide-copy { position: relative; z-index: 2; }
.slide-kicker { color: var(--ac); font-weight: 600; font-size: 0.8rem; margin: 0 0 6px; }
.slide h2 { color: var(--fg); font-size: clamp(1.5rem, 5.4vw, 3.4rem); line-height: 1.05; margin: 0 0 10px; }
.slide-copy p { margin: 0 0 16px; font-size: clamp(0.82rem, 2.4vw, 1.1rem); opacity: .9; max-width: 30ch; }
.slide-btn { background: var(--ac); color: var(--bg); border-color: var(--ac); }
.slide-art { position: relative; height: 100%; }
.slide-art span { position: absolute; bottom: 10%; width: 74%; }
.slide-art .s0 { left: 0; z-index: 2; }
.slide-art .s1 { left: 30%; width: 62%; bottom: 20%; z-index: 1; }
.slide-art .s2 { right: -10%; width: 58%; z-index: 3; }
.slide-art .art { width: 100%; height: auto; display: block; }
.slide.on .slide-art .s0 { animation: rise .8s ease-out both; }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.slider .nav { display: none; position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; z-index: 4; }
.slider .prev { left: 10px; } .slider .next { right: 10px; }
.dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 4; }
.dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; background: rgba(255,255,255,.55); padding: 0; cursor: pointer; transition: width .3s; }
.dots button[aria-current="true"] { width: 22px; background: #fff; }

/* sections */
.section { padding: 34px 0 6px; }
.eyebrow-c { text-align: center; color: var(--muted); font-size: 0.78rem; margin: 0 0 4px; }
.centre { text-align: center; margin: 0 0 20px; font-size: clamp(1.25rem, 4.6vw, 1.8rem); }
.centre-link { text-align: center; margin-top: 22px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.sec-head h2 { margin: 0; font-size: clamp(1.15rem, 4.4vw, 1.6rem); }
.sec-head a { font-size: 0.88rem; font-weight: 500; }
.cat-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cat-tiles a { background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); text-align: center; padding: 8px 8px 12px; display: grid; gap: 8px; }
.cat-img .art { width: 100%; height: auto; aspect-ratio: 200 / 150; display: block; }
.cat-tiles strong { font-size: 0.88rem; font-weight: 500; }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); padding: 8px 8px 10px; min-width: 0; }
.card-img { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--sand); }
.card-img .art { width: 100%; height: 100%; display: block; }
.tags { position: absolute; top: 8px; left: 8px; display: grid; gap: 4px; justify-items: start; }
.badge { background: var(--cta); color: var(--cta-ink); font-size: 0.68rem; font-weight: 600; padding: 2px 7px; }
.hot { background: #D9473A; color: #fff; font-size: 0.68rem; font-weight: 600; padding: 2px 7px; }
.sold { background: var(--ink); color: #fff; font-size: 0.68rem; font-weight: 600; padding: 2px 7px; }
.heart { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); cursor: pointer; padding: 0; }
.card h3 { font-size: 0.86rem; font-weight: 500; line-height: 1.35; margin: 10px 0 4px; min-height: 2.7em; }
.card h3 a { text-decoration: none; color: var(--ink); }
.card .price { margin: 0 0 10px; font-size: 0.9rem; }
.card .price span { color: #C2701B; font-weight: 600; }
.card .price s { color: var(--muted); font-size: 0.8rem; }
.btn.cta { margin-top: auto; width: 100%; text-align: center; background: var(--cta); border-color: var(--cta); color: var(--cta-ink); font-size: 0.82rem; padding: 10px 6px; }
.btn.cta.ghost { background: #fff; border-color: var(--line); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 14px) / 2); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.tabs { display: flex; justify-content: center; gap: 22px; margin: -8px 0 20px; }
.tabs a { text-decoration: none; color: var(--muted); font-size: 0.88rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
.tabs a.on { color: var(--ink); border-bottom-color: var(--cta); font-weight: 600; }
.trust .rail { grid-auto-columns: 82%; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); padding: 18px; }
.quote footer { color: var(--muted); font-size: 0.82rem; margin-top: 8px; }

/* shop title band */
.title-band { background: var(--ink); color: #fff; margin: 0 calc(-1 * var(--gutter)); padding: 30px var(--gutter); text-align: center; }
.title-band h1 { color: #fff; margin: 0; font-size: clamp(1.5rem, 6vw, 2.4rem); }
.page-head { margin: 4px 0 12px; }
.pdp-img { background: var(--sand); }
.pdp-img .art { width: 100%; height: auto; display: block; }
.thumb .art { width: 100%; height: 100%; }

/* footer */
#footer { background: #FBF6EC; margin-top: 40px; }
.foot { max-width: var(--max); margin: 0 auto; padding: 36px var(--gutter) 20px; display: grid; gap: 26px; font-size: 0.9rem; }
.foot-logo { width: 64px; height: 64px; object-fit: contain; }
.foot h2 { font-size: 1.05rem; margin: 0 0 10px; }
.foot p { margin: 0 0 6px; color: #3A4152; }
.foot a { display: block; padding: 4px 0; color: var(--ink); text-decoration: none; }
.copy { background: var(--ink); color: #DCE2EE; text-align: center; font-size: 0.78rem; padding: 14px var(--gutter) 84px; margin: 0; }

/* bottom nav (phones) */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
.bottom-nav a { position: relative; display: grid; justify-items: center; gap: 2px; color: var(--ink); text-decoration: none; font-size: 0.7rem; }
.bottom-nav a.on { color: #C2701B; }
.bottom-nav b { position: absolute; top: -4px; left: calc(50% + 6px); background: var(--cta); color: var(--cta-ink); font-size: 0.62rem; min-width: 16px; height: 16px; border-radius: 8px; display: grid; place-items: center; padding: 0 3px; }

/* chat button sits above the bottom bar */
.chat { position: fixed; right: 14px; bottom: 74px; z-index: 31; display: grid; justify-items: end; gap: 8px; }
.chat-fab { background: var(--cta); color: var(--cta-ink); border: 0; font: inherit; font-size: 0.78rem; font-weight: 600; padding: 8px 14px; border-radius: 22px; box-shadow: 0 4px 14px rgba(0,0,0,.18); cursor: pointer; }

@media (min-width: 761px) {
  .hide-sm { display: inline-flex !important; }
  .head-row { grid-template-columns: auto auto 1fr auto; gap: 22px; }
  .brand { justify-self: start; }
  .search { display: flex; border: 1px solid var(--line); max-width: 560px; width: 100%; justify-self: center; }
  .search input { flex: 1; border: 0; padding: 11px 14px; font: inherit; min-width: 0; }
  .search button { border: 0; background: var(--cta); padding: 0 16px; color: var(--cta-ink); cursor: pointer; }
  .cat-tiles { grid-template-columns: repeat(5, 1fr); }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .rail { grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; }
  .trust .rail { grid-auto-columns: calc((100% - 40px) / 3); }
  .foot { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .bottom-nav { display: none; }
  .copy { padding-bottom: 14px; }
  .chat { bottom: 20px; }
  .slider { margin: 18px 0 0; }
  .slider .nav { display: block; }
  .pdp { grid-template-columns: 1.05fr 0.95fr; }
  .toolbar { display: flex; flex-wrap: wrap; }
  .toolbar label { min-width: 180px; }
  .title-band { margin: 0; }
}

.btn.buy-now { background: var(--cta); border-color: var(--cta); color: var(--cta-ink); }

/* ===== photos on the store ===== */
.photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-img .photo { aspect-ratio: 200 / 150; height: auto; }
.pdp-img .photo { aspect-ratio: 1 / 1; height: auto; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.thumbs button { border: 1px solid var(--line); padding: 0; width: 64px; height: 64px; flex: none; background: none; cursor: pointer; }
.slide.has-photo { background-size: cover; background-position: center; }
.slide.has-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 14, 26, .72), rgba(10, 14, 26, .15) 70%); }

/* ===== live chat widget ===== */
.chat-fab { display: inline-flex; align-items: center; gap: 8px; }
.chat-fab b { background: #D9473A; color: #fff; border-radius: 9px; min-width: 18px; height: 18px; display: inline-grid; place-items: center; font-size: .7rem; padding: 0 4px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.on { background: #2E9E5B; box-shadow: 0 0 0 3px rgba(46, 158, 91, .25); } .dot.off { background: #9AA0A6; }
.chat-panel { width: min(360px, calc(100vw - 28px)); height: min(520px, calc(100vh - 170px)); background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 36px rgba(20, 26, 42, .22); display: grid; grid-template-rows: auto 1fr auto; border-radius: 10px; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--navy); color: #fff; }
.chat-head img { width: 36px; height: 36px; border-radius: 50%; background: #fff; object-fit: contain; }
.chat-head div { flex: 1; display: grid; line-height: 1.25; }
.chat-head span { font-size: .75rem; opacity: .85; } .chat-head span.on::before { content: "● "; color: #5BD08A; }
.chat-head .link { color: #fff; font-size: 1.1rem; }
.chat-log { overflow-y: auto; padding: 12px; display: grid; gap: 8px; align-content: start; background: #F7F5F0; }
.bub { border-radius: 12px; line-height: 1.4; }
.bub time { display: block; font-size: .66rem; opacity: .65; margin-top: 3px; }
.bub.customer { border-bottom-right-radius: 3px; } .bub.agent, .bub.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 3px; }
.chat-form { border-top: 1px solid var(--line); padding: 8px; display: grid; gap: 6px; }
.chat-who { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.chat-send { display: flex; gap: 6px; }
.chat-form input { flex: 1; min-width: 0; border: 1px solid var(--line); padding: 9px 10px; font: inherit; font-size: 16px; border-radius: 6px; }

/* ===== admin (mobile first) ===== */
body.in-admin #app { max-width: none; padding: 0; }
body.in-admin { background: #F3F4F7; }
.admin { min-height: 100vh; }
.admin-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px; background: var(--navy); color: #fff; padding: 10px 14px; }
.admin-top strong { flex: 1; font-size: 1rem; }
.amenu-btn { background: none; border: 0; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 4px 6px; }
.view-store { color: #fff; font-size: .85rem; border: 1px solid rgba(255,255,255,.5); padding: 5px 10px; border-radius: 6px; text-decoration: none; }
.admin-side { position: fixed; top: 0; bottom: 0; left: 0; z-index: 50; width: min(300px, 84vw); background: #fff; overflow-y: auto; padding: 16px; transform: translateX(-102%); transition: transform .2s ease; }
.admin.menu-open .admin-side { transform: none; box-shadow: 8px 0 30px rgba(0,0,0,.2); }
.admin-scrim { display: none; }
.admin.menu-open .admin-scrim { display: block; position: fixed; inset: 0; z-index: 45; background: rgba(20, 26, 42, .45); }
.admin-role { font-size: .82rem; color: var(--muted); margin: 0 0 8px; }
.admin-side h3 { font-size: .72rem; color: var(--muted); margin: 16px 0 4px; font-weight: 600; letter-spacing: .02em; }
.admin-side nav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 10px; text-decoration: none; color: var(--ink); border-radius: 6px; font-size: .92rem; }
.admin-side nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.admin-main { padding: 16px 14px 96px; max-width: 1100px; margin: 0 auto; min-width: 0; }
.admin-main h1 { font-size: 1.4rem; margin: 0 0 8px; }
.admin-main h2 { font-size: 1.05rem; }
.admin-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); display: flex; padding: 4px 0 calc(4px + env(safe-area-inset-bottom)); }
.admin-bottom a { flex: 1; position: relative; display: grid; justify-items: center; font-size: .68rem; color: var(--muted); text-decoration: none; padding: 4px 0; }
.admin-bottom a span { font-size: 1.15rem; line-height: 1.2; }
.admin-bottom a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.admin-bottom .ubadge { position: absolute; top: 0; left: calc(50% + 6px); }
.ubadge { background: #D9473A; color: #fff; border-radius: 9px; min-width: 18px; height: 18px; display: inline-grid; place-items: center; font-size: .68rem; padding: 0 5px; font-weight: 600; }
.ahead { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.help { color: var(--muted); font-size: .88rem; margin: 4px 0 12px; }
.acard { background: #fff; border: 1px solid #E3E5EA; border-radius: 10px; padding: 16px; margin: 0 0 14px; }
.acard h2 { margin: 0 0 8px; }
.admin-main label { display: grid; gap: 4px; font-size: .85rem; color: #3A4152; }
.admin-main input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]), .admin-main select, .admin-main textarea { width: 100%; font: inherit; font-size: 16px; padding: 10px 11px; border: 1px solid #CDD1D9; border-radius: 6px; background: #fff; min-width: 0; }
.admin-main input[type=color] { width: 100%; height: 44px; border: 1px solid #CDD1D9; border-radius: 6px; padding: 2px; background: #fff; }
.admin-main .stack { display: grid; gap: 12px; }
.admin-main .btn { border-radius: 6px; }
.admin-main .narrow { width: 110px !important; }
.two-col { display: grid; grid-template-columns: 1fr; gap: 12px; }
.row.wrap { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.check { display: flex !important; align-items: center; gap: 10px; font-size: .92rem !important; padding: 4px 0; }
.check input { width: 20px; height: 20px; }
.upload { display: inline-flex !important; align-items: center; justify-content: center; border: 2px dashed #B9BFCB; border-radius: 8px; padding: 12px 16px; cursor: pointer; font-weight: 600; color: var(--navy) !important; background: #FAFBFC; }
.upload.small { padding: 7px 12px; border-width: 1px; }
.btn.danger { color: #B3261E; border-color: #E8B4B0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* posters */
.poster { display: grid; gap: 12px; border-top: 1px solid #ECEEF2; padding: 14px 0; }
.poster-prev { border-radius: 8px; min-height: 110px; display: flex; align-items: flex-end; padding: 12px; background-size: cover; background-position: center; color: #fff; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.poster-fields { display: grid; gap: 10px; }
.poster-no { margin: 0; font-size: .78rem; color: var(--muted); }

/* categories */
.clist { list-style: none; padding: 0; margin: 0; }
.clist li { display: grid; grid-template-columns: 84px 1fr; gap: 14px; }
.cthumb { width: 84px; height: 84px; border-radius: 8px; overflow: hidden; background: var(--sand); display: grid; place-items: center; font-size: .72rem; color: var(--muted); }
.cthumb img { width: 100%; height: 100%; object-fit: cover; }
.cfields { display: grid; gap: 8px; min-width: 0; }

/* product list */
.pfilter { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 8px 0; }
.plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plist li { background: #fff; border: 1px solid #E3E5EA; border-radius: 10px; padding: 10px; display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; }
.plist li[hidden] { display: none; }
.pthumb { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; background: var(--sand); display: block; }
.pthumb img, .pthumb svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.pinfo { display: grid; gap: 3px; min-width: 0; }
.pinfo strong { font-size: .95rem; }
.low { color: #B3261E; font-weight: 600; }
.price-edit { display: flex !important; align-items: center; gap: 6px; grid-template-columns: none; }
.price-edit input { padding: 6px 8px !important; }
.pact { grid-column: 1 / -1; display: flex; gap: 8px; }
.pact .btn { flex: 1; text-align: center; }

/* product form */
.pform { display: grid; }
.draft-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.draft-photos figure { margin: 0; position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.draft-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.draft-photos .main { position: absolute; left: 6px; bottom: 6px; background: var(--cta); color: var(--cta-ink); font-size: .68rem; font-weight: 600; padding: 2px 6px; border-radius: 4px; }
.draft-photos .link { position: absolute; left: 6px; bottom: 6px; background: #fff; font-size: .68rem; padding: 2px 6px; border-radius: 4px; }
.draft-photos .x { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; }
.colours { display: grid; grid-template-columns: 1fr; gap: 6px; margin-bottom: 10px; }
.colour { display: grid !important; grid-template-columns: 22px 22px 1fr 90px; align-items: center; gap: 10px !important; padding: 6px 8px; border: 1px solid #E3E5EA; border-radius: 8px; }
.colour input[type=checkbox] { width: 20px; height: 20px; }
.colour i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.colour input[type=number], .colour input[name^="cc-name"] { padding: 7px 8px !important; }
.more { margin: 6px 0 12px; } .more summary { cursor: pointer; color: var(--navy); font-weight: 600; font-size: .9rem; padding: 6px 0; }
.savebar { position: sticky; bottom: 64px; display: flex; gap: 10px; background: #F3F4F7; padding: 10px 0; }
.savebar .btn { flex: 1; text-align: center; }

/* live chat inbox */
.switch { display: inline-flex !important; align-items: center; gap: 8px; background: #fff; border: 1px solid #E3E5EA; padding: 6px 12px; border-radius: 20px; font-weight: 600; }
.switch input { width: 18px; height: 18px; accent-color: #2E9E5B; }
.chatbox { display: grid; grid-template-columns: 1fr; background: #fff; border: 1px solid #E3E5EA; border-radius: 10px; overflow: hidden; }
.convos { list-style: none; margin: 0; padding: 0; }
.convos a { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 12px 14px; border-bottom: 1px solid #ECEEF2; text-decoration: none; color: var(--ink); }
.convos a[aria-current="true"] { background: #EEF1F8; }
.cname { font-weight: 600; } .ctime { font-size: .72rem; color: var(--muted); } .clast { grid-column: 1 / -1; font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo { display: none; }
.chatbox.has-sel .convos { display: none; }
.chatbox.has-sel .convo { display: grid; grid-template-rows: auto 1fr auto auto auto; min-height: 60vh; }
.convo-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-bottom: 1px solid #ECEEF2; }
.convo-head strong { flex: 1; }
.convo-log { padding: 12px; display: grid; gap: 8px; align-content: start; overflow-y: auto; max-height: 55vh; background: #F7F5F0; }
.quick { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px 0; }
.qchip { flex: none; white-space: nowrap; border: 1px solid #CDD1D9; background: #fff; border-radius: 16px; padding: 6px 12px; font: inherit; font-size: .78rem; cursor: pointer; }
.reply { display: flex; gap: 8px; padding: 10px 12px; align-items: flex-end; }
.reply textarea { flex: 1; }
.convo > p { margin: 0 12px 10px; }

@media (min-width: 900px) {
  .admin { display: grid; grid-template-columns: 250px 1fr; grid-template-rows: auto 1fr; }
  .admin-top { grid-column: 1 / -1; }
  .amenu-btn { display: none; }
  .admin-side { position: sticky; top: 52px; height: calc(100vh - 52px); transform: none; border-right: 1px solid #E3E5EA; width: auto; }
  .admin-scrim, .admin-bottom { display: none !important; }
  .admin-main { padding: 22px 28px 40px; width: 100%; }
  .two-col { grid-template-columns: 1fr 1fr; }
  .poster { grid-template-columns: 260px 1fr; }
  .pfilter { grid-template-columns: 1fr 240px; }
  .plist li { grid-template-columns: 72px 1fr auto; }
  .pact { grid-column: auto; }
  .pact .btn { flex: none; }
  .colours { grid-template-columns: 1fr 1fr; }
  .draft-photos { grid-template-columns: repeat(6, 1fr); }
  .savebar { bottom: 0; }
  .chatbox { grid-template-columns: 300px 1fr; min-height: 560px; }
  .chatbox .convos { display: block !important; border-right: 1px solid #ECEEF2; max-height: 620px; overflow-y: auto; }
  .convo { display: grid; grid-template-rows: auto 1fr auto auto auto; }
  .chatbox:not(.has-sel) .convo { display: grid; place-items: center; }
  .back-link { display: none; }
}

.olist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.olist .acard { margin: 0; display: grid; gap: 4px; }
.olist p { margin: 0; overflow-wrap: anywhere; }
.ohead { display: flex; justify-content: space-between; } .ototal { font-weight: 600; }
@media (min-width: 900px) { .olist { grid-template-columns: 1fr 1fr; } }
.admin-main table { min-width: 0; }
.admin-main table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.admin-main .inline-form, .admin-main .row:not(.wrap) { display: grid; gap: 10px; }
.admin-main pre, .admin-main code, .admin-main td { overflow-wrap: anywhere; }
.admin-main pre { white-space: pre-wrap; }
@media (min-width: 900px) { .admin-main .inline-form { display: flex; flex-wrap: wrap; align-items: end; } .admin-main .row:not(.wrap) { display: flex; } }

.chat-log, .convo-log { grid-template-columns: minmax(0, 1fr); }
.bub { overflow-wrap: anywhere; }
.bub.customer { justify-self: end; } .bub.agent, .bub.bot { justify-self: start; }
.draft-photos > p { grid-column: 1 / -1; margin: 0; }
.chat-panel { grid-template-columns: minmax(0, 1fr); } .chat-who input { width: 100%; }
.chat-form { grid-template-columns: minmax(0, 1fr); } .chat-send .btn { flex: none; }

.jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.jobs a { display: grid; gap: 2px; padding: 12px; border: 1px solid #E3E5EA; border-radius: 8px; text-decoration: none; color: var(--ink); background: #FAFBFC; }
.jobs a strong { font-size: .9rem; } .jobs a span { font-size: .75rem; color: var(--muted); }
.jobs a:hover { border-color: var(--navy); }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 900px) { .jobs { grid-template-columns: repeat(3, 1fr); } .kpis { grid-template-columns: repeat(3, 1fr); } }

/* settings, payments, invoice */
.zones { display: grid; gap: 10px; }
.zone-row { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 10px; border: 1px solid #E3E5EA; border-radius: 8px; }
.paym { border-top: 1px solid #ECEEF2; padding-top: 10px; display: grid; gap: 8px; }
.trx { margin: 2px 0; font-size: 1rem; letter-spacing: .02em; }
.pay-box { border: 1px solid var(--line); background: #FFF8EC; padding: 12px 14px; display: grid; gap: 8px; }
.pay-box ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.pay-box[hidden] { display: none; }
.invoice { max-width: 760px; margin: 20px auto; background: #fff; padding: 24px; border: 1px solid var(--line); }
.inv-head { display: flex; gap: 14px; align-items: center; border-bottom: 2px solid var(--navy); padding-bottom: 12px; margin-bottom: 12px; }
.inv-head h1 { margin: 0; font-size: 1.4rem; }
.policy-text p { max-width: 70ch; }
@media (min-width: 761px) { .zone-row { grid-template-columns: 1.4fr 0.8fr 1fr auto; align-items: end; } }
@media print { #header, #footer, #bag, #chat, .no-print, .utility { display: none !important; } .invoice { border: 0; margin: 0; } }
.admin-login { max-width: 420px; margin: 8vh auto; background: #fff; border: 1px solid #E3E5EA; border-radius: 12px; padding: 28px 24px; display: grid; gap: 10px; }
.admin-login h1 { font-size: 1.5rem; margin: 0; }
.admin-login label { display: grid; gap: 4px; font-size: .9rem; }
.admin-login select { font: inherit; font-size: 16px; padding: 10px; border: 1px solid #CDD1D9; border-radius: 6px; }
.admin-login .btn { width: 100%; padding: 12px; border-radius: 6px; }
