/* Hello Basket — shared styles (storefront + admin)
   Layout: storefront = sticky header + category rail + product grid; admin = top header + navy menu bar.
   Brand colours come from the logo: orange #FE7701, navy #003C7A. Change them here only. */
@import url("../vendor/fonts/fonts.css");

:root {
  --brand: #FE7701;          /* logo orange */
  --brand-ink: #C85A00;      /* orange for text/links on light bg */
  --brand-soft: #FFF1E4;
  --navy: #003C7A;           /* logo navy */
  --navy-2: #0B4E96;
  --navy-soft: #E8EFF8;
  --bg: #F4F6FA;             /* cool neutral, biased to navy */
  --surface: #FFFFFF;
  --surface-2: #F9FAFC;
  --ink: #0F1D33;
  --muted: #5B6880;
  --line: #E1E6EF;
  --ok: #138A4B;  --ok-soft: #E3F5EB;
  --warn: #B26A00; --warn-soft: #FFF4DC;
  --bad: #C42B2B;  --bad-soft: #FDE8E8;
  --info: #1E63C4; --info-soft: #E6EFFC;
  --shadow: 0 1px 2px rgba(15,29,51,.06), 0 4px 16px rgba(15,29,51,.05);
  --radius: 12px;
  --font: "Inter", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-bn: "Hind Siliguri", "Inter", system-ui, sans-serif;

  --bs-body-font-family: var(--font);
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--ink);
  --bs-border-color: var(--line);
  --bs-secondary-color: var(--muted);
  --bs-link-color-rgb: 0,60,122;
  --bs-tertiary-bg: var(--surface-2);
  --bs-emphasis-color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #FF8A26; --brand-ink: #FFA552; --brand-soft: #3A2412;
    --navy: #7FB2F0; --navy-2: #A6CBF7; --navy-soft: #16263F;
    --bg: #0C1424; --surface: #131D31; --surface-2: #18243B; --ink: #E8EDF6; --muted: #9AA7BE; --line: #26334D;
    --ok: #4CC789; --ok-soft: #12301F; --warn: #F2B24C; --warn-soft: #33270F; --bad: #F07373; --bad-soft: #3A1616; --info: #7AAEF5; --info-soft: #14253F;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 20px rgba(0,0,0,.25);
    --bs-link-color-rgb: 127,178,240;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: #FF8A26; --brand-ink: #FFA552; --brand-soft: #3A2412;
  --navy: #7FB2F0; --navy-2: #A6CBF7; --navy-soft: #16263F;
  --bg: #0C1424; --surface: #131D31; --surface-2: #18243B; --ink: #E8EDF6; --muted: #9AA7BE; --line: #26334D;
  --ok: #4CC789; --ok-soft: #12301F; --warn: #F2B24C; --warn-soft: #33270F; --bad: #F07373; --bad-soft: #3A1616; --info: #7AAEF5; --info-soft: #14253F;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 20px rgba(0,0,0,.25);
  --bs-link-color-rgb: 127,178,240;
  color-scheme: dark;
}

/* ---------- base ---------- */
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.55; }
html[lang="bn"] body { font-family: var(--font-bn); font-size: 16px; }
h1,h2,h3,h4,h5 { color: var(--ink); font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--brand-ink); }
.text-muted, .muted { color: var(--muted) !important; }
.tnum { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
.card, .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.panel { padding: 20px; }
.form-control, .form-select { background-color: var(--surface); color: var(--ink); border-color: var(--line); border-radius: 10px; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); background-color: var(--surface); color: var(--ink); }
.form-control::placeholder { color: var(--muted); opacity: .7; }
.form-label { font-weight: 600; font-size: 13.5px; }
.form-label.req::after { content: " *"; color: var(--bad); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.table { --bs-table-bg: transparent; --bs-table-color: var(--ink); --bs-table-border-color: var(--line); --bs-table-hover-bg: var(--surface-2); --bs-table-hover-color: var(--ink); --bs-table-striped-bg: var(--surface-2); }
.table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; background: var(--surface-2); white-space: nowrap; }
.table td { vertical-align: middle; }
.dropdown-menu { --bs-dropdown-bg: var(--surface); --bs-dropdown-color: var(--ink); --bs-dropdown-border-color: var(--line); --bs-dropdown-link-color: var(--ink); --bs-dropdown-link-hover-bg: var(--surface-2); --bs-dropdown-link-hover-color: var(--ink); --bs-dropdown-link-active-bg: var(--brand); box-shadow: var(--shadow); border-radius: 10px; }
.modal-content { background: var(--surface); color: var(--ink); }
.btn-close { filter: var(--close-filter, none); }
:root[data-theme="dark"] .btn-close { filter: invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-close { filter: invert(1); } }

/* buttons */
.btn { border-radius: 10px; font-weight: 600; }
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-brand:hover, .btn-brand:focus { background: color-mix(in srgb, var(--brand) 88%, #000); border-color: transparent; color: #fff; }
.btn-navy { background: #003C7A; border-color: #003C7A; color: #fff; }
.btn-navy:hover { background: #002C5C; color: #fff; }
.btn-ghost { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-wa { background: #1FA855; border-color: #1FA855; color: #fff; }
.btn-wa:hover { background: #178A45; color: #fff; }

/* status pills */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.pill.info { background: var(--info-soft); color: var(--info); }
.pill.mute { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }

/* order-type tags — the three ways to buy */
.otype { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; letter-spacing: .01em; }
.otype.ready { background: var(--ok-soft); color: var(--ok); }
.otype.pre { background: var(--brand-soft); color: var(--brand-ink); }
.otype.req { background: var(--navy-soft); color: var(--navy); }

/* logo chip: the logo has dark navy text, so it always sits on white */
.logo-chip { display: inline-flex; align-items: center; background: #fff; border-radius: 10px; padding: 4px 8px; }
.logo-chip img { height: 38px; width: auto; display: block; }

/* product image placeholders (replace with real uploads in Laravel) */
.ph { aspect-ratio: 1/1; max-width: 100%; border-radius: 10px; display: grid; place-items: center; position: relative; overflow: hidden; }
.ph i { font-size: clamp(40px, 9vw, 64px); opacity: .85; }
.ph.t1 { background: linear-gradient(140deg, #FFE8D2, #FFD2A6); color: #B65300; }
.ph.t2 { background: linear-gradient(140deg, #DCE8F7, #BFD4EF); color: #003C7A; }
.ph.t3 { background: linear-gradient(140deg, #E2F3E9, #C4E6D2); color: #13734A; }
.ph.t4 { background: linear-gradient(140deg, #F4E4F0, #E6C8DE); color: #8A2E6E; }
.ph.t5 { background: linear-gradient(140deg, #FFF3CF, #FBE09A); color: #8A6200; }
.ph.t6 { background: linear-gradient(140deg, #E5E9F0, #CDD4E0); color: #2E3D57; }

/* ---------- storefront ---------- */
.topbar { background: #003C7A; color: #D7E4F5; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 7px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar .sep { opacity: .4; margin: 0 8px; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 1031; background: var(--surface); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 1030; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; padding-block: 10px; }
.search { flex: 1; position: relative; max-width: 560px; }
.search input { padding-left: 40px; height: 44px; background: var(--surface-2); }
.search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.hdr-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 10px; color: var(--ink); background: transparent; border: 1px solid transparent; font-weight: 600; font-size: 14px; }
.icon-btn:hover { background: var(--surface-2); border-color: var(--line); color: var(--ink); }
.icon-btn i { font-size: 20px; }
.icon-btn .count { position: absolute; top: 2px; right: 2px; background: var(--brand); color: #fff; font-size: 10.5px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: 12.5px; font-weight: 700; }
.lang-switch button { border: 0; background: transparent; padding: 5px 9px; color: var(--muted); }
.lang-switch button.on { background: var(--navy); color: #fff; }
.catnav { border-top: 1px solid var(--line); }
.catnav .wrap { display: flex; gap: 4px; overflow-x: auto; padding-block: 4px; scrollbar-width: none; }
.catnav a { white-space: nowrap; padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--ink); border-radius: 8px; }
.catnav a:hover, .catnav a.on { background: var(--brand-soft); color: var(--brand-ink); }
.mobile-only { display: none !important; }
@media (max-width: 767.98px) {
  .site-header .wrap { flex-wrap: wrap; gap: 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .hide-sm { display: none !important; }
  .mobile-only { display: inline-flex !important; }
  .logo-chip img { height: 32px; }
}

/* hero */
.hero { padding-block: 28px 8px; }
.hero-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; }
.hero-main { background: #003C7A; color: #fff; border-radius: 18px; padding: clamp(24px, 4vw, 44px); position: relative; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; justify-content: center; }
.hero-main h1 { color: #fff; font-size: clamp(28px, 4.2vw, 46px); font-weight: 800; line-height: 1.08; max-width: 15ch; }
.hero-main h1 em { font-style: normal; color: #FF8A26; }
.hero-main p { color: #C9D8EE; max-width: 44ch; font-size: 16px; }
.hero-main .shape { position: absolute; right: -40px; bottom: -60px; width: 300px; height: 300px; background: #FE7701; border-radius: 48px 48px 48px 140px; transform: rotate(-8deg); opacity: .95; }
.hero-main .shape i { position: absolute; left: 70px; top: 60px; font-size: 120px; color: #fff; opacity: .9; }
.hero-main > *:not(.shape) { position: relative; z-index: 1; }
.hero-side { display: grid; gap: 16px; }
.promo { border-radius: 18px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 140px; border: 1px solid var(--line); background: var(--surface); }
.promo.orange { background: var(--brand-soft); border-color: transparent; }
.promo h3 { font-size: 20px; margin: 0; }
.promo .big { font-size: 34px; font-weight: 800; color: var(--brand-ink); line-height: 1; }
@media (max-width: 991.98px) { .hero-grid { grid-template-columns: 1fr; } .hero-main .shape { width: 200px; height: 200px; right: -50px; bottom: -70px; } .hero-main .shape i { font-size: 80px; left: 46px; top: 36px; } }

/* how to order — three types */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.way { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.way .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; }
.way.ready .ic { background: var(--ok-soft); color: var(--ok); }
.way.pre .ic { background: var(--brand-soft); color: var(--brand-ink); }
.way.req .ic { background: var(--navy-soft); color: var(--navy); }
.way h3 { font-size: 17px; margin: 0 0 4px; }
.way p { margin: 0; color: var(--muted); font-size: 14px; }
.way .rule { display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 700; }
@media (max-width: 767.98px) { .ways { grid-template-columns: 1fr; } }

.section { padding-block: 28px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(20px, 2.4vw, 26px); margin: 0; }

/* category tiles */
.cats { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 12px; }
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 10px; text-align: center; color: var(--ink); display: grid; gap: 8px; justify-items: center; }
.cat:hover { border-color: var(--brand); color: var(--ink); }
.cat .ci { width: 52px; height: 52px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 22px; color: var(--navy); }
.cat span { font-weight: 600; font-size: 14px; }
@media (max-width: 991.98px) { .cats { grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* product card */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.pgrid.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 991.98px) { .pgrid, .pgrid.g3 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; } }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; transition: border-color .15s, box-shadow .15s; min-width: 0; }
.pcard:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); box-shadow: var(--shadow); }
.pcard .ph { aspect-ratio: 1/1; }
.pcard .ph .off { position: absolute; top: 8px; left: 8px; background: var(--bad); color: #fff; font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 6px; }
.pcard .ph .wish { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.9); border: 0; color: #003C7A; display: grid; place-items: center; }
.pcard .name { font-weight: 600; font-size: 14.5px; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; }
.price s { color: var(--muted); font-size: 13px; }
.pcard .meta { font-size: 12.5px; color: var(--muted); }
.pcard .btn { margin-top: auto; }
.stock-low { color: var(--warn); font-weight: 600; }

/* offer strip */
.offer-strip { background: var(--brand); color: #fff; border-radius: 16px; padding: 22px clamp(18px,3vw,32px); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.offer-strip h3 { color: #fff; margin: 0; font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; }
.offer-strip .code { background: #fff; color: #003C7A; font-weight: 800; letter-spacing: .08em; padding: 8px 14px; border-radius: 8px; border: 2px dashed #003C7A; font-family: "Inter", monospace; }

/* trust row */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.trust div { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.trust i { font-size: 24px; color: var(--brand-ink); }
.trust b { display: block; font-size: 14px; }
.trust small { color: var(--muted); }
@media (max-width: 991.98px) { .trust { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* social block */
.social-band { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.social-card { border-radius: 16px; padding: 22px; display: flex; gap: 16px; align-items: center; color: #fff; }
.social-card.fb { background: #1A5BD1; }
.social-card.yt { background: #D12A2A; }
.social-card i { font-size: 40px; }
.social-card h3 { color: #fff; font-size: 18px; margin: 0; }
.social-card p { margin: 0; opacity: .9; font-size: 14px; }
.social-card .btn { margin-left: auto; background: #fff; color: #111; flex: none; }
@media (max-width: 767.98px) { .social-band { grid-template-columns: 1fr; } }

/* footer */
.site-footer { background: #0A1A33; color: #B8C6DB; margin-top: 40px; font-size: 14px; }
.site-footer .wrap { padding-block: 40px 20px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer a { color: #D8E2F0; }
.site-footer a:hover { color: #FF8A26; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
@media (max-width: 767.98px) { .fgrid { grid-template-columns: 1fr 1fr; } .fgrid > :first-child { grid-column: 1 / -1; } }
.pay-logos { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-logos span { background: #fff; color: #0A1A33; font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 6px; }
.pay-logos .bk { color: #E2136E; } .pay-logos .ng { color: #EC1C24; } .pay-logos .rk { color: #8C3494; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 16px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.soc { display: flex; gap: 8px; }
.soc a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 16px; }

/* floating WhatsApp */
.wa-float { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 1040; width: 56px; height: 56px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; font-size: 28px; box-shadow: 0 6px 20px rgba(31,168,85,.4); }
.wa-float:hover { color: #fff; transform: scale(1.05); }

/* breadcrumb + page head */
.crumbs { font-size: 13px; color: var(--muted); padding-block: 14px 4px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.page-title { font-size: clamp(24px, 3vw, 32px); margin: 4px 0 18px; }

/* shop listing */
.shop-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 20px; align-items: start; }
.filters { position: sticky; top: 140px; }
.filters h5 { font-size: 14px; margin: 16px 0 8px; }
.filters h5:first-child { margin-top: 0; }
.typetabs { display: flex; gap: 8px; flex-wrap: wrap; }
.typetabs a { border: 1px solid var(--line); background: var(--surface); padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.typetabs a.on { background: #003C7A; border-color: #003C7A; color: #fff; }
@media (max-width: 991.98px) { .shop-layout { grid-template-columns: 1fr; } .filters { position: static; } }

/* product detail */
.pd { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; }
.pd .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.pd .thumbs .ph { border: 2px solid transparent; cursor: pointer; }
.pd .thumbs .ph.on { border-color: var(--brand); }
.pd .thumbs .ph i { font-size: 26px; }
.pd h1 { font-size: clamp(22px, 2.8vw, 30px); }
.pd .price b { font-size: 28px; }
.opt-group { display: flex; gap: 8px; flex-wrap: wrap; }
.opt-group label { border: 1px solid var(--line); border-radius: 8px; padding: 6px 14px; font-weight: 600; font-size: 14px; cursor: pointer; background: var(--surface); }
.opt-group input { display: none; }
.opt-group input:checked + label { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.qty button { width: 40px; border: 0; background: transparent; color: var(--ink); font-size: 18px; }
.qty input { width: 48px; border: 0; text-align: center; font-weight: 700; background: transparent; color: var(--ink); }
.notice { border-radius: 12px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.notice i { font-size: 20px; flex: none; line-height: 1.2; }
.notice.pre { background: var(--brand-soft); color: var(--ink); }
.notice.pre i { color: var(--brand-ink); }
.notice.req { background: var(--navy-soft); }
.notice.req i { color: var(--navy); }
.notice.ok { background: var(--ok-soft); }
.notice.ok i { color: var(--ok); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.kv dt { color: var(--muted); font-weight: 500; }
.kv dd { margin: 0; font-weight: 600; }
@media (max-width: 991.98px) { .pd { grid-template-columns: 1fr; gap: 20px; } }

/* cart / checkout */
.two-col { display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: 20px; align-items: start; }
@media (max-width: 991.98px) { .two-col { grid-template-columns: 1fr; } }
.cart-row { display: grid; grid-template-columns: 84px minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-row .ph i { font-size: 30px; }
.sumrow { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.sumrow.total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 12px; font-size: 18px; font-weight: 800; }
.sumrow.adv { background: var(--brand-soft); margin: 8px -10px 0; padding: 10px; border-radius: 8px; font-weight: 700; color: var(--brand-ink); }
.paybox { display: grid; gap: 10px; }
.paybox label { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: var(--surface); }
.paybox input:checked + span, .paybox label:has(input:checked) { border-color: var(--brand); }
.paybox label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.pay-mark { width: 44px; height: 30px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: #fff; border: 1px solid var(--line); flex: none; }
.steps { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.steps span { font-size: 13px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.steps span b { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; }
.steps span.on { color: var(--ink); }
.steps span.on b { background: var(--brand); border-color: var(--brand); color: #fff; }
.steps .bar { width: 28px; height: 1px; background: var(--line); align-self: center; }

/* tracking timeline */
.track { list-style: none; padding: 0; margin: 0; position: relative; }
.track li { position: relative; padding: 0 0 22px 40px; }
.track li::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.track li:last-child::before { display: none; }
.track .dot { position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 2px solid var(--line); color: var(--muted); font-size: 13px; }
.track li.done .dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.track li.done::before { background: var(--ok); }
.track li.now .dot { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 5px var(--brand-soft); }
.track b { display: block; font-size: 15px; }
.track small { color: var(--muted); }

/* invoice */
.invoice { background: #fff; color: #0F1D33; max-width: 820px; margin: 0 auto; border-radius: 12px; padding: clamp(20px, 4vw, 44px); border: 1px solid var(--line); }
.invoice h1, .invoice h2, .invoice h3 { color: #0F1D33; }
.invoice .inv-top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 3px solid #FE7701; padding-bottom: 18px; }
.invoice table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.invoice th { background: #003C7A; color: #fff; text-align: left; padding: 8px 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.invoice td { padding: 9px 10px; border-bottom: 1px solid #E1E6EF; }
.invoice .r { text-align: right; }
.invoice .muted { color: #5B6880 !important; }
.invoice .stamp { display: inline-block; border: 2px solid #138A4B; color: #138A4B; font-weight: 800; padding: 4px 12px; border-radius: 6px; transform: rotate(-4deg); letter-spacing: .06em; }
.invoice .stamp.due { border-color: #C42B2B; color: #C42B2B; }

/* policy */
.prose { max-width: 72ch; }
.prose h2 { font-size: 20px; margin-top: 28px; }
.prose li { margin-bottom: 6px; }
.toc { position: sticky; top: 140px; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; font-size: 14px; color: var(--ink); }
.toc a:hover { background: var(--surface-2); }
.zone-table td, .zone-table th { font-variant-numeric: tabular-nums; }

/* auth */
.auth-wrap { min-height: 70vh; display: grid; place-items: center; padding-block: 30px; }
.auth-card { width: 100%; max-width: 420px; }

/* ---------- admin ---------- */
.adm-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 1030; }
.adm-header .bar1 { display: flex; align-items: center; gap: 16px; padding-block: 8px; }
.adm-header .search { max-width: 380px; }
.adm-header .search input { height: 38px; }
.adm-menu { background: #003C7A; }
.adm-menu .wrap { display: flex; gap: 2px; align-items: stretch; }
.adm-menu .nav-link, .adm-menu > .wrap > a { color: #CFDCEE; font-weight: 600; font-size: 14px; padding: 11px 13px; display: flex; align-items: center; gap: 7px; border-bottom: 3px solid transparent; white-space: nowrap; }
.adm-menu .nav-link:hover, .adm-menu a:hover { color: #fff; }
.adm-menu .on > .nav-link, .adm-menu a.on { color: #fff; border-bottom-color: #FE7701; }
.adm-menu .dropdown-menu { margin-top: 0 !important; border-top-left-radius: 0; border-top-right-radius: 0; min-width: 220px; }
.adm-menu .dropdown-item { font-size: 14px; padding: 8px 14px; display: flex; gap: 10px; align-items: center; }
.adm-menu .dropdown-item i { color: var(--muted); }
.adm-menu-toggle { display: none; }
@media (max-width: 991.98px) {
  .adm-menu-toggle { display: inline-flex; }
  .adm-menu { display: none; }
  .adm-menu.open { display: block; }
  .adm-menu .wrap { flex-direction: column; padding-block: 6px; }
  .adm-menu .nav-link, .adm-menu > .wrap > a { border-bottom: 0; border-left: 3px solid transparent; }
  .adm-menu .on > .nav-link, .adm-menu a.on { border-left-color: #FE7701; }
  .adm-menu .dropdown-menu { position: static !important; transform: none !important; box-shadow: none; }
  .adm-header .search { display: none; }
}
.adm-main { padding-block: 22px 40px; }
.adm-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.adm-head h1 { font-size: 22px; margin: 0; }
.adm-head .sub { color: var(--muted); font-size: 13.5px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.stat-grid.g6 { grid-template-columns: repeat(6, minmax(0,1fr)); }
@media (max-width: 1199.98px) { .stat-grid.g6 { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 767.98px) { .stat-grid, .stat-grid.g6 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.mini-stat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; color: var(--ink); min-width: 0; }
.mini-stat:hover { border-color: var(--navy); color: var(--ink); }
.mini-stat .lbl { font-size: 12.5px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.mini-stat .val { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.mini-stat .delta { font-size: 12px; font-weight: 600; }
.mini-stat .delta.up { color: var(--ok); } .mini-stat .delta.down { color: var(--bad); }
.mini-stat.alert { border-left: 4px solid var(--warn); }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 14px; }
.filter-bar .form-control, .filter-bar .form-select { height: 38px; font-size: 14px; }
.filter-bar > div { min-width: 140px; }
.filter-bar label { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 3px; display: block; }
.quick { display: flex; gap: 4px; flex-wrap: wrap; }
.quick a { font-size: 12.5px; padding: 6px 10px; border-radius: 7px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; background: var(--surface); }
.quick a.on { background: var(--navy-soft); border-color: var(--navy); color: var(--navy); }
.tbl-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; }
.tbl-wrap .table { margin: 0; font-size: 14px; }
.tbl-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.pager { display: flex; gap: 4px; }
.pager a { min-width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); font-weight: 600; padding: 0 8px; }
.pager a.on { background: #003C7A; border-color: #003C7A; color: #fff; }
.thumb-sm { width: 40px; height: 40px; border-radius: 8px; flex: none; }
.thumb-sm i { font-size: 18px; }
.prod-cell { display: flex; gap: 10px; align-items: center; min-width: 220px; }
.prod-cell b { display: block; font-size: 14px; }
.prod-cell small { color: var(--muted); }
.stockbar { height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; width: 80px; }
.stockbar span { display: block; height: 100%; background: var(--ok); }
.stockbar span.lo { background: var(--warn); } .stockbar span.out { background: var(--bad); }
.grid-2 { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 16px; }
.grid-2e { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; }
@media (max-width: 991.98px) { .grid-2, .grid-2e { grid-template-columns: 1fr; } }
.panel h3 { font-size: 15.5px; margin: 0 0 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.chart-box { position: relative; height: 280px; }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.list-plain li:last-child { border-bottom: 0; }
.typebar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin: 6px 0 10px; }
.typebar span:nth-child(1) { background: var(--ok); } .typebar span:nth-child(2) { background: var(--brand); } .typebar span:nth-child(3) { background: var(--navy); }
.legend-dot { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; }
.tabs-line { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs-line a { padding: 10px 14px; font-weight: 600; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs-line a.on { color: var(--ink); border-bottom-color: var(--brand); }
.sms-preview { background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 12px 14px; font-size: 14px; max-width: 320px; white-space: pre-wrap; }
.adm-login { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.adm-login .side { background: #003C7A; color: #C9D8EE; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.adm-login .side h2 { color: #fff; font-size: 30px; font-weight: 800; max-width: 16ch; }
.adm-login .form-side { display: grid; place-items: center; padding: 32px max(16px, env(safe-area-inset-right, 0px)) 32px max(16px, env(safe-area-inset-left, 0px)); }
@media (max-width: 767.98px) { .adm-login { grid-template-columns: 1fr; } .adm-login .side { display: none; } }

@media print {
  .no-print, .site-header, .topbar, .site-footer, .wa-float, .adm-header, .adm-menu { display: none !important; }
  body { background: #fff; }
  .invoice { border: 0; padding: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* header lockup: logo mark + wordmark in logo colours (navy word lightens in dark mode) */
.brand-lockup { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.brand-lockup img { height: 40px; width: auto; }
.brand-lockup span { font-size: 21px; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.brand-lockup .h { color: #FE7701; font-weight: 800; }
.brand-lockup .b { color: var(--navy); font-weight: 800; }
@media (max-width: 767.98px) { .brand-lockup img { height: 34px; } .brand-lockup span { font-size: 18px; } }
.site-header .catnav .wrap { flex-wrap: nowrap; padding-block: 4px; }
@media (max-width: 767.98px) { .topbar .wrap > div:first-child { display: none; } }

/* ---------- home slider (full width, slides managed in admin → Home slider) ----------
   Laravel: when a slide has an uploaded image, set style="background-image:url(...)" on .hs
   and add .hs-img; the colour themes below are the fallback when no image is uploaded. */
.hero-slider { position: relative; }
.hero-slider .carousel-item { height: clamp(360px, 38vw, 520px); }
.hs { height: 100%; position: relative; overflow: hidden; display: flex; align-items: center; background-size: cover; background-position: center; }
.hs .wrap { width: 100%; position: relative; z-index: 1; }
.hs-copy { max-width: min(600px, 56%); display: grid; gap: 14px; justify-items: start; }
.hs-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hs h2 { font-size: clamp(30px, 4.4vw, 58px); font-weight: 800; line-height: 1.05; letter-spacing: -.025em; margin: 0; }
.hs h2 em { font-style: normal; display: block; }
.hs p { font-size: clamp(15px, 1.3vw, 18px); margin: 0; max-width: 46ch; }
.hs-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.btn-ghost-light { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn-ghost-light:hover { background: rgba(255,255,255,.24); color: #fff; }
.btn-ghost-dark { background: transparent; color: #003C7A; border: 1.5px solid #003C7A; }
.btn-ghost-dark:hover { background: #003C7A; color: #fff; }
.hs-art { position: absolute; top: 50%; right: max(24px, calc((100vw - 1240px) / 2 + 24px)); width: clamp(240px, 32vw, 440px); aspect-ratio: 1; transform: translateY(-50%); }
.hs-art .blob { position: absolute; inset: 0; border-radius: 30% 30% 30% 62%; transform: rotate(-8deg); }
.hs-art i { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(100px, 13vw, 190px); color: #fff; }
.hs-navy { background-color: #003C7A; color: #C9D8EE; }
.hs-navy h2 { color: #fff; } .hs-navy h2 em, .hs-navy .hs-eyebrow { color: #FF8A26; }
.hs-navy .blob { background: #FE7701; }
.hs-orange { background-color: #FE7701; color: #FFF1E2; }
.hs-orange h2 { color: #fff; } .hs-orange h2 em { color: #002B59; } .hs-orange .hs-eyebrow { color: #fff; }
.hs-orange .blob { background: #003C7A; }
.hs-light { background-color: #FFF1E4; color: #3A4A63; }
.hs-light h2 { color: #003C7A; } .hs-light h2 em, .hs-light .hs-eyebrow { color: #C85A00; }
.hs-light .blob { background: #FE7701; }
.hs.hs-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,20,50,.72), rgba(0,20,50,.15) 70%); }
.hs.hs-img .hs-art { display: none; }
.hero-slider .carousel-indicators { margin-bottom: 18px; gap: 6px; }
.hero-slider .carousel-indicators [data-bs-target] { width: 26px; height: 5px; border: 0; margin: 0; border-radius: 3px; background: #fff; opacity: .55; box-shadow: 0 0 0 1px rgba(0,0,0,.12); transition: width .25s, opacity .25s; }
.hero-slider .carousel-indicators .active { width: 42px; opacity: 1; }
.hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { width: 72px; opacity: 1; }
.hs-nav { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.22); color: #fff; font-size: 18px; transition: background .15s; }
.hero-slider button:hover .hs-nav { background: rgba(0,0,0,.4); }
@media (max-width: 991.98px) { .hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { display: none; } }
@media (max-width: 767.98px) {
  .hero-slider .carousel-item { height: 540px; }
  .hs { align-items: flex-start; padding-top: 36px; }
  .hs-copy { max-width: 100%; gap: 12px; }
  .hs-art { width: 190px; top: auto; bottom: -26px; right: -22px; transform: none; }
  .hs-art i { font-size: 82px; }
  .hs.hs-img::before { background: linear-gradient(180deg, rgba(0,20,50,.78), rgba(0,20,50,.25)); }
}

/* offer + pre-order cards under the slider */
.promo-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.promo-row .promo { color: var(--ink); }
.promo-row .promo:hover { border-color: var(--brand); }
.promo-code { font-weight: 800; letter-spacing: .06em; color: var(--navy); border: 2px dashed var(--navy); border-radius: 8px; padding: 4px 10px; }
.promo-go { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #003C7A; color: #fff; display: grid; place-items: center; }
@media (max-width: 767.98px) { .promo-row { grid-template-columns: 1fr; } }

/* categories: 7 tiles in a row on desktop, swipeable row on tablet/phone */
.cats { grid-template-columns: repeat(7, minmax(0,1fr)); }
@media (max-width: 991.98px) {
  .cats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(118px, 28%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
  .cat { scroll-snap-align: start; }
}

/* admin: slider manager */
.slide-list { display: grid; gap: 10px; }
.slide-row { display: grid; grid-template-columns: 24px 168px minmax(0,1fr) auto; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.slide-row.on { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.slide-row .grip { color: var(--muted); cursor: grab; font-size: 18px; }
.slide-thumb { aspect-ratio: 16/6; border-radius: 8px; position: relative; overflow: hidden; display: flex; align-items: center; padding: 0 10px; font-size: 10.5px; font-weight: 800; line-height: 1.15; }
.slide-thumb::after { content: ""; position: absolute; right: -10px; top: 18%; width: 36%; aspect-ratio: 1; border-radius: 30% 30% 30% 62%; }
.slide-thumb.hs-navy::after, .slide-thumb.hs-light::after { background: #FE7701; }
.slide-thumb.hs-orange::after { background: #003C7A; }
.slide-thumb span { position: relative; z-index: 1; max-width: 60%; }
.slide-row .meta { min-width: 0; }
.slide-row .meta b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slide-row .meta small { color: var(--muted); }
.upload-box { border: 2px dashed var(--line); border-radius: 12px; padding: 18px; text-align: center; color: var(--muted); cursor: pointer; display: block; font-size: 13.5px; }
.upload-box:hover { border-color: var(--brand); }
.upload-box i { font-size: 26px; display: block; }
@media (max-width: 767.98px) { .slide-row { grid-template-columns: 110px minmax(0,1fr); } .slide-row .grip { display: none; } .slide-row > :last-child { grid-column: 1 / -1; justify-content: flex-start; } }
.hs-art { width: auto; height: 74%; max-width: 40vw; }
@media (max-width: 767.98px) { .hero-slider .carousel-item { height: 500px; } .hs-art { height: auto; width: 170px; max-width: none; } }
