/* =========================================================
   ARSHALIFE — Storefront stylesheet (v5 design)
   Mobile-first. Maroon + black + soft-grey, app-style layout
   that scales up to a full desktop shop.
   ========================================================= */

:root {
  --maroon:        #6e1228;
  --maroon-deep:   #4e0a1c;
  --maroon-soft:   #8f1d3b;
  --maroon-tint:   #f7e9ed;
  --ink:           #111111;
  --ink-soft:      #2a2a2e;
  --muted:         #6f6f77;
  --line:          #e8e6ea;
  --tile:          #efedf0;     /* light grey tiles / cards */
  --white:         #ffffff;
  --success:       #1f7a4d;
  --danger:        #c0262d;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(17,17,17,.08);
  --shadow:    0 8px 24px rgba(17,17,17,.10);

  --font: 'Inter', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Dancing Script', 'Brush Script MT', cursive;

  --bottom-nav-h: 68px;

  /* legacy names (kept so nothing breaks) */
  --color-primary: var(--maroon);
  --color-muted: var(--muted);
  --color-gold: var(--maroon-soft);
  --color-success: var(--success);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font); font-weight: 800; letter-spacing: -.01em; color: var(--ink); margin: 0; }
button { font-family: inherit; }
.text-muted-custom { color: var(--muted) !important; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.page-wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }

/* ---------- Buttons ---------- */
.btn-brand, .btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--maroon); color: #fff !important; border: 0;
  border-radius: 10px; padding: 13px 22px; font-weight: 700; font-size: 15px;
  cursor: pointer; transition: background .15s, transform .1s;
}
.btn-brand:hover, .btn-gold:hover { background: var(--maroon-deep); color:#fff; }
.btn-brand:active, .btn-gold:active { transform: scale(.98); }
.btn-brand.btn-lg, .btn-gold.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-brand.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-outline-brand {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  background: transparent; color: var(--maroon) !important; border: 1.5px solid var(--maroon);
  border-radius: 10px; padding: 11px 20px; font-weight: 700; cursor:pointer;
}
.btn-outline-brand:hover { background: var(--maroon); color:#fff !important; }
.btn-block { width: 100%; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--maroon); color: #fff; font-size: 13px; font-weight: 500;
}
.announce .announce-in {
  max-width: 1240px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: nowrap; white-space: nowrap; font-size: 12px;
}
.announce i { font-size: 16px; vertical-align: -3px; margin-right: 6px; }
.announce .sep { width: 1px; height: 16px; background: rgba(255,255,255,.55); }
.announce a { font-weight: 600; }
.announce a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: var(--white); border-bottom: 1px solid transparent;
  transition: box-shadow .2s, border-color .2s;
}
.site-header.is-scrolled { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.hdr {
  max-width: 1240px; margin: 0 auto; padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 62px;
}
.hdr-btn {
  position: relative; width: 42px; height: 42px; border: 0; background: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--ink); border-radius: 50%; cursor: pointer; flex: 0 0 auto;
}
.hdr-btn:hover { background: rgba(0,0,0,.05); }
.hdr-back { display: none; }
.hdr-left, .hdr-right { display: flex; align-items: center; gap: 2px; min-width: 96px; }
.hdr-right { justify-content: flex-end; }
.brand {
  display: inline-flex; align-items: center; gap: 8px; flex: 0 1 auto; min-width: 0;
}
.brand img { height: 34px; width: auto; }
.brand .brand-word {
  font-weight: 800; font-size: 21px; letter-spacing: .06em; color: var(--ink); line-height: 1;
}
.brand .logo-light { display: none; }
.cart-badge {
  position: absolute; top: 1px; right: 0; min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--maroon); color: #fff; border-radius: 10px; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
}
.hdr-nav { display: none; }
.hdr-account { display: none; }

/* inner pages: maroon header on mobile (matches mockup) */
.site-header.is-inner { background: var(--maroon); }
.secure-label { color: #fff; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding-right: 6px; }
.secure-label i { font-size: 17px; }
.hdr-search-hide, .hdr-cart-hide { display: none; }
.site-header.is-inner .hdr-btn { color: #fff; }
.site-header.is-inner .hdr-btn:hover { background: rgba(255,255,255,.1); }
.site-header.is-inner .brand .brand-word { color: #fff; }
.site-header.is-inner .brand .logo-dark { display: none; }
.site-header.is-inner .brand .logo-light { display: block; }
.site-header.is-inner .hdr-menu { display: none; }
.site-header.is-inner .hdr-back { display: inline-flex; }
.site-header.is-inner .cart-badge { background: #fff; color: var(--maroon); }
.site-header.is-inner .hdr-left, .site-header.is-inner .hdr-right { min-width: 110px; }

/* search panel */
.search-panel { display: none; background: var(--white); border-top: 1px solid var(--line); padding: 10px 14px 12px; }
.search-panel.open { display: block; }
.search-wrapper { position: relative; max-width: 720px; margin: 0 auto; }
.search-form { display: flex; gap: 8px; }
.search-form .form-control, .search-form input {
  flex: 1; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px; font-size: 15px; background: #fff;
}
.search-form input:focus { outline: 0; border-color: var(--maroon); }
.search-form button {
  border: 0; background: var(--maroon); color: #fff; border-radius: 10px; padding: 0 18px; font-size: 18px;
}
.search-dropdown {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border-radius: var(--r);
  box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; display: none; z-index: 20;
}
.search-dropdown.open { display: block; }
.search-result-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.search-result-item:hover, .search-result-item.focused { background: var(--tile); }
.search-result-img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; background: var(--tile); }
.search-result-info { flex: 1; min-width: 0; }
.search-result-name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-cat { font-size: 12px; color: var(--muted); }
.search-result-price { font-weight: 700; color: var(--maroon); font-size: 14px; text-align: right; }
.search-result-price .original-price { display:block; color: var(--muted); text-decoration: line-through; font-weight: 400; font-size: 12px; }
.search-dropdown-footer { display:block; text-align:center; padding: 11px; font-weight: 600; color: var(--maroon); font-size: 14px; }
.search-dropdown-empty, .search-dropdown-loading { padding: 14px; color: var(--muted); font-size: 14px; }
mark { background: #f7d9e0; color: inherit; padding: 0 1px; border-radius: 2px; }

/* ---------- Off-canvas menu (hamburger) ---------- */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 1998;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); background: #fff; z-index: 1999;
  transform: translateX(-102%); transition: transform .28s cubic-bezier(.3,.8,.3,1);
  display: flex; flex-direction: column; overflow-y: auto; box-shadow: 8px 0 30px rgba(0,0,0,.25);
}
.drawer.open { transform: none; }
.drawer-top {
  background: var(--maroon); color: #fff; text-align: center; padding: 34px 20px 26px; position: relative;
  background-image: linear-gradient(135deg, rgba(255,255,255,.05) 0 40%, transparent 40%);
}
.drawer-close {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; background: transparent;
  color: #fff; font-size: 22px; border-radius: 50%; cursor: pointer;
}
.drawer-close:hover { background: rgba(255,255,255,.15); }
.drawer-top img { height: 62px; width: auto; margin: 0 auto 8px; }
.drawer-top .d-word { font-weight: 800; font-size: 26px; letter-spacing: .12em; line-height: 1.1; }
.drawer-top .d-tag { font-size: 13px; opacity: .9; margin-top: 4px; }
.drawer-list { list-style: none; margin: 0; padding: 8px 0; }
.drawer-list > li > a, .drawer-list > li > button.d-acc {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 15px 22px; border: 0; background: transparent;
  font-size: 16px; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer;
}
.drawer-list > li > a:hover, .drawer-list > li > button.d-acc:hover { background: var(--tile); }
.drawer-list i.d-ic { font-size: 22px; color: var(--ink); width: 26px; text-align: center; }
.drawer-list small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); line-height: 1.2; }
.d-acc .chev { margin-left: auto; transition: transform .2s; }
.d-acc[aria-expanded="true"] .chev { transform: rotate(180deg); }
.d-sub { list-style: none; margin: 0 0 6px 47px; padding: 0 0 0 0; border-left: 1px solid var(--line); display: none; }
.d-sub.open { display: block; }
.d-sub a { display: block; padding: 9px 18px; font-size: 15px; color: var(--ink-soft); }
.d-sub a:hover { color: var(--maroon); }
.drawer-follow {
  margin: auto 18px 22px; background: var(--maroon); color: #fff; border-radius: var(--r); text-align: center; padding: 18px 12px 16px;
}
.drawer-follow .f-title { font-weight: 700; margin-bottom: 10px; }
.drawer-follow .f-title i { display:block; font-size: 26px; margin-bottom: 2px; }
.social-row { display: flex; justify-content: center; gap: 12px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--maroon);
  display: inline-flex; align-items: center; justify-content: center; font-size: 18px; transition: transform .15s;
}
.social-row a:hover { transform: translateY(-2px); }
.social-row.dark a { background: var(--ink); color: #fff; }
.social-row.dark a:hover { background: var(--maroon); }

/* ---------- Bottom navigation (mobile) ---------- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; background: #fff;
  border-top: 1px solid var(--line); display: flex; justify-content: space-around;
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 18px rgba(0,0,0,.06);
}
.bottom-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; position: relative;
  padding: 6px 2px 8px; font-size: 12px; font-weight: 500; color: var(--ink-soft);
}
.bottom-nav a i { font-size: 24px; line-height: 1; }
.bottom-nav a.active { color: var(--maroon); font-weight: 700; }
.bottom-nav a.active::after {
  content: ''; position: absolute; left: 22%; right: 22%; bottom: 0; height: 3px; border-radius: 3px; background: var(--maroon);
}

/* ---------- Hero slider ---------- */
.hero-wrap { max-width: 1240px; margin: 0 auto; }
.hero-slider { position: relative; overflow: hidden; background: var(--tile); aspect-ratio: 16 / 9; }
.hero-track { display: flex; height: 100%; transition: transform .55s cubic-bezier(.4,.1,.2,1); }
.hero-slide { flex: 0 0 100%; height: 100%; position: relative; display: block; }
.hero-slide > img { width: 100%; height: 100%; object-fit: cover; }
.hero-dots {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); background: #fff;
  padding: 7px 16px 5px; border-radius: 14px 14px 0 0; display: flex; gap: 10px; z-index: 3;
}
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: #c9c7cc; cursor: pointer; }
.hero-dots button.active { background: var(--maroon); }

/* text slides */
.hero-slide.is-text {
  background: linear-gradient(120deg, var(--maroon-deep), var(--maroon) 60%, var(--maroon-soft));
  color: #fff; display: flex; align-items: center; padding: 0 7%;
}
.hero-slide.is-text .hs-copy { position: relative; z-index: 2; max-width: 55%; }
.hero-slide .hs-eyebrow { font-size: clamp(8px, 1.8vw, 14px); letter-spacing: .3em; text-transform: uppercase; opacity: .9; }
.hero-slide .hs-title { font-size: clamp(20px, 5.6vw, 54px); font-weight: 800; line-height: 1.04; margin: 6px 0 8px; color: #fff; }
.hero-slide .hs-sub { font-size: clamp(11px, 2vw, 17px); opacity: .92; margin-bottom: 12px; }
.hero-slide .hs-btn {
  display: inline-block; background: #fff; color: var(--maroon); font-weight: 700; border-radius: 40px;
  padding: clamp(6px,1.4vw,12px) clamp(14px,3vw,28px); font-size: clamp(11px, 2vw, 16px);
}
.hero-slide.is-text .hs-art {
  position: absolute; right: 0; top: 0; bottom: 0; width: 46%; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.18); clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-slide.is-text .hs-art img { height: 86%; width: auto; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); border-radius: 12px; }

/* ---------- Section blocks ---------- */
.sec { padding: 22px 0 6px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; gap: 10px; }
.sec-head h2 { font-size: 22px; }
.view-all { color: var(--maroon); font-weight: 600; font-size: 15px; white-space: nowrap; }
.view-all:hover { text-decoration: underline; }

/* category tiles (home) */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cat-tile {
  background: var(--tile); border-radius: var(--r); padding: 12px 4px 10px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--ink); transition: transform .15s, box-shadow .15s;
}
.cat-tile img { width: 44px; height: 44px; object-fit: contain; }
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cat-tile span { line-height: 1.15; }

/* product cards */
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pgrid.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pcard { background: var(--tile); border-radius: var(--r); position: relative; display: flex; flex-direction: column; overflow: hidden; }
.pcard .p-img { display: block; position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--tile); }
.pcard .p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.pcard:hover .p-img img { transform: scale(1.04); }
.p-badge {
  position: absolute; top: 9px; left: 9px; z-index: 2; background: var(--maroon); color: #fff;
  font-size: 11.5px; font-weight: 700; padding: 3px 11px; border-radius: 20px; line-height: 1.4;
}
.p-badge.alt { background: var(--maroon-soft); }
.p-badge.oos { background: #444; }
.p-badge.bs { background: var(--tile); color: var(--maroon); border: 1px solid var(--maroon); }
.wish-btn {
  position: absolute; top: 8px; right: 8px; z-index: 3; width: 34px; height: 34px; border-radius: 50%;
  background: #fff; border: 0; display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px; color: var(--ink); box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .15s;
}
.wish-btn:hover { transform: scale(1.1); }
.wish-btn.on { color: var(--maroon); }
.wish-btn.on i::before { content: "\f415"; } /* bi-heart-fill */
.p-info { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; }
.p-name { font-size: 13.5px; font-weight: 500; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.price-current { font-weight: 800; font-size: 18px; color: var(--ink); }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 13px; margin-left: 6px; font-weight: 500; }
.p-cart {
  width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--maroon); display: inline-flex;
  align-items: center; justify-content: center; font-size: 18px; flex: 0 0 auto; box-shadow: var(--shadow-sm);
}
.p-cart:hover { background: var(--maroon); color: #fff; }
.pcard.sm .p-info { padding: 8px 9px 10px; }
.pcard.sm .p-name { font-size: 12px; }
.pcard.sm .price-current { font-size: 15px; }
.pcard.sm .p-badge { font-size: 10px; padding: 2px 8px; top: 6px; left: 6px; }
.pcard.sm .wish-btn { width: 28px; height: 28px; font-size: 14px; top: 6px; right: 6px; }

/* offer banner */
.offer-banner {
  position: relative; overflow: hidden; border-radius: var(--r); color: #fff; margin: 20px 0 0;
  background: linear-gradient(110deg, var(--maroon-deep), var(--maroon) 55%, var(--maroon-soft));
  display: flex; align-items: center; min-height: 128px; padding: 18px 20px;
}
.offer-banner::after { content:''; position:absolute; right:-40px; top:-20px; bottom:-20px; width:56%; background: rgba(0,0,0,.14); transform: skewX(-18deg); }
.offer-copy { position: relative; z-index: 2; display: flex; align-items: center; gap: 16px; }
.offer-copy .o-up { font-size: 13px; letter-spacing: .14em; font-weight: 600; }
.offer-copy .o-big { font-size: clamp(34px, 9vw, 54px); font-weight: 800; line-height: 1; }
.offer-copy .o-big small { font-size: .55em; font-weight: 800; }
.offer-copy .o-sel { font-size: 12.5px; letter-spacing: .08em; opacity: .95; }
.offer-copy .o-div { width: 1px; align-self: stretch; background: rgba(255,255,255,.55); }
.offer-copy .o-btn {
  border: 1.5px solid #fff; border-radius: 40px; padding: 9px 16px; font-weight: 600; font-size: 14px; color: #fff; white-space: nowrap;
}
.offer-copy .o-btn:hover { background: #fff; color: var(--maroon); }
.offer-art { position: absolute; z-index: 2; right: 4px; top: 6px; bottom: 6px; display: flex; align-items: center; }
.offer-art img { height: 100%; width: auto; max-width: 46vw; }

/* trust strip */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 26px 0 8px; }
.trust-item { display: flex; align-items: center; gap: 12px; background: var(--tile); border-radius: var(--r); padding: 14px; }
.trust-item i { font-size: 26px; color: var(--maroon); }
.trust-item strong { display:block; font-size: 13.5px; line-height: 1.2; }
.trust-item span { font-size: 12px; color: var(--muted); }

/* ---------- Inner page title / toolbar ---------- */
.page-title { font-size: 22px; padding: 18px 0 12px; }
.crumbs { display: none; }
.empty-state { text-align: center; padding: 50px 16px; color: var(--muted); }
.empty-state i { font-size: 54px; color: var(--maroon); opacity: .5; }
.empty-state p { margin: 12px 0 18px; }

/* shop toolbar */
.shop-toolbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.tool-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 12px;
  background: var(--tile); border: 0; font-weight: 600; font-size: 15px; color: var(--ink); cursor: pointer; position: relative; width: 100%;
}
.tool-btn select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: inherit; font-weight: 600; color: inherit; padding: 0 22px 0 0; cursor: pointer; text-align: center; }
.tool-btn select:focus { outline: 0; }
.tool-btn .sort-chev { position: absolute; right: 16px; pointer-events: none; font-size: 13px; }
.shop-count { color: var(--muted); font-size: 13.5px; margin: -4px 0 12px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip { background: var(--maroon-tint); color: var(--maroon); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 20px; display: inline-flex; align-items: center; gap: 6px; }
.chip:hover { background: var(--maroon); color: #fff; }

/* filter panel = bottom sheet on mobile, sidebar on desktop */
.sheet-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1998; opacity: 0; pointer-events: none; transition: opacity .2s; }
.sheet-overlay.open { opacity: 1; pointer-events: auto; }
.filter-panel {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1999; background: #fff; border-radius: 22px 22px 0 0;
  max-height: 86vh; overflow-y: auto; padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  transform: translateY(105%); transition: transform .28s cubic-bezier(.3,.8,.3,1);
}
.filter-panel.open { transform: none; }
.fp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.fp-head h3 { font-size: 19px; }
.fp-close { border: 0; background: var(--tile); width: 34px; height: 34px; border-radius: 50%; font-size: 15px; cursor: pointer; }
.fp-group { padding: 14px 0; border-bottom: 1px solid var(--line); }
.fp-group h6 { font-size: 14px; font-weight: 700; margin: 0 0 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.fp-opt { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; cursor: pointer; }
.fp-opt input { accent-color: var(--maroon); width: 18px; height: 18px; }
.fp-price { display: flex; gap: 10px; align-items: center; }
.fp-price input { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 15px; }
.fp-price input:focus { outline: 0; border-color: var(--maroon); }
.fp-actions { display: flex; gap: 10px; margin-top: 16px; }
.fp-actions .btn-brand, .fp-actions .btn-outline-brand { flex: 1; }

/* pagination */
.pager { display: flex; justify-content: center; gap: 6px; margin: 26px 0 8px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; background: var(--tile); font-weight: 600; font-size: 14px;
}
.pager a:hover { background: var(--maroon-tint); color: var(--maroon); }
.pager .cur { background: var(--maroon); color: #fff; }
.pager .dis { opacity: .4; }

/* ---------- Categories page ---------- */
.cat-hero {
  position: relative; height: 150px; overflow: hidden; background: #222;
}
.cat-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.cat-hero::after { content:''; position:absolute; inset:0; background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.15) 70%); }
.cat-hero .ch-copy { position: absolute; z-index: 2; left: 18px; bottom: 16px; color: #fff; }
.cat-hero h1 { color: #fff; font-size: 21px; letter-spacing: .02em; text-transform: uppercase; line-height: 1.15; }
.cat-hero .script { font-family: var(--font-script); font-size: 22px; font-weight: 600; margin-top: 2px; }
.cat-big-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 18px 0 8px; }
.cat-big {
  background: var(--tile); border-radius: var(--r); aspect-ratio: 1 / .92; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 15px; transition: transform .15s, box-shadow .15s;
}
.cat-big img { width: 54%; max-height: 58%; object-fit: contain; }
.cat-big:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* ---------- Product details ---------- */
.pd-wrap { padding-bottom: 8px; padding-left: 0; padding-right: 0; }
.pd-gallery { position: relative; background: var(--tile); }
.pd-main { aspect-ratio: 1 / 1.02; overflow: hidden; background: var(--tile); }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery .wish-btn { top: 14px; right: 14px; width: 42px; height: 42px; font-size: 21px; }
.pd-thumbs { display: flex; gap: 10px; padding: 12px 14px; background: #fff; overflow-x: auto; }
.product-gallery-thumb {
  width: 58px; height: 58px; border-radius: 10px; object-fit: cover; border: 2px solid transparent; background: var(--tile); cursor: pointer; flex: 0 0 auto;
}
.product-gallery-thumb.active { border-color: var(--maroon); }
.pd-body { padding: 4px 16px 6px; }
.pd-cat { color: var(--muted); font-size: 13px; margin-bottom: 2px; }
.pd-title { font-size: 21px; margin: 0 0 8px; }
.pd-price { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pd-price .price-current { font-size: 30px; color: var(--maroon); }
.pd-price .price-old { font-size: 17px; }
.off-badge { background: var(--maroon); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 5px; }
.stock-note { display: inline-block; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 8px; margin-bottom: 8px; }
.stock-note.low { background: #fff3da; color: #8a5a00; }
.stock-note.out { background: #fde4e6; color: var(--danger); }
.opt-label { font-weight: 700; margin: 14px 0 8px; display: block; font-size: 15px; }
.size-option, .color-option {
  display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 42px; padding: 0 14px; margin: 0 8px 8px 0;
  border: 1.5px solid #d6d4d9; border-radius: 10px; background: #fff; font-weight: 600; font-size: 14.5px; cursor: pointer; user-select: none; transition: all .12s;
}
.size-option:hover, .color-option:hover { border-color: var(--maroon); }
.size-option.active, .color-option.active { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.out-of-stock-option { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.qty-selector { display: inline-flex; align-items: center; border: 1.5px solid #d6d4d9; border-radius: 10px; background: #fff; overflow: hidden; }
.qty-selector button { width: 42px; height: 42px; border: 0; background: transparent; font-size: 20px; font-weight: 600; cursor: pointer; color: var(--ink); }
.qty-selector button:hover { background: var(--tile); }
.qty-selector input { width: 46px; height: 42px; text-align: center; border: 0; font-weight: 700; font-size: 16px; background: transparent; -moz-appearance: textfield; }
.qty-selector input::-webkit-outer-spin-button, .qty-selector input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-selector input:focus { outline: 0; }
.pd-actions { display: grid; gap: 10px; margin-top: 18px; }
.pd-actions .btn-brand { width: 100%; padding: 14px; font-size: 16px; border-radius: 10px; }
.pd-actions .btn-brand.alt { background: var(--maroon-deep); }
.pd-desc { color: var(--muted); margin-top: 14px; font-size: 14.5px; }
.pd-meta { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); display: grid; gap: 6px; }
.pd-meta i { color: var(--maroon); margin-right: 8px; }

/* ---------- Cart ---------- */
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 10px; }
.cart-head h1 { font-size: 20px; }
.cart-head .clear-all { background: transparent; border: 0; color: var(--maroon); font-weight: 600; font-size: 15px; cursor: pointer; padding: 0; }
.cart-item { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; margin-bottom: 12px; align-items: stretch; }
.cart-item-img { width: 92px; height: 104px; object-fit: cover; border-radius: 10px; background: var(--tile); flex: 0 0 auto; }
.ci-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ci-name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.ci-var { font-size: 13px; color: var(--muted); }
.ci-price { font-weight: 800; font-size: 17px; margin-top: 2px; }
.ci-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.qty-mini { display: inline-flex; align-items: center; border: 1.5px solid #d6d4d9; border-radius: 9px; overflow: hidden; background: #fff; }
.qty-mini button { width: 32px; height: 32px; border: 0; background: transparent; font-size: 17px; cursor: pointer; }
.qty-mini button:hover { background: var(--tile); }
.qty-mini input { width: 36px; height: 32px; border: 0; text-align: center; font-weight: 700; background: transparent; -moz-appearance: textfield; }
.qty-mini input::-webkit-outer-spin-button, .qty-mini input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ci-del { margin-left: auto; border: 0; background: transparent; color: var(--ink); font-size: 19px; cursor: pointer; padding: 6px; }
.ci-del:hover { color: var(--danger); }
.summary-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.summary-card h5 { font-size: 17px; margin-bottom: 12px; font-weight: 800; }
.sum-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 15px; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-weight: 800; font-size: 18px; }
.sum-row .free { color: var(--success); font-weight: 700; }
.ship-hint { background: var(--maroon-tint); color: var(--maroon-deep); font-size: 13px; padding: 9px 12px; border-radius: 10px; margin: 8px 0 12px; }
.summary-card .btn-brand { width: 100%; margin-top: 14px; }

/* ---------- Forms / cards ---------- */
.card-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 16px; }
.card-box h6 { font-size: 18px; font-weight: 800; margin: 0 0 14px; }
.form-label { font-weight: 600; font-size: 13.5px; margin-bottom: 5px; color: var(--ink-soft); }
.form-control, .form-select {
  border: 1.5px solid #dcdadf; border-radius: 10px; padding: 12px 14px; font-size: 15px; background-color: #fff; color: var(--ink);
}
.form-control::placeholder { color: #a9a7ae; }
.form-control:focus, .form-select:focus { border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(110,18,40,.12); }
.alert { border-radius: 12px; font-size: 14.5px; }
.payment-option {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px; margin-bottom: 8px; border: 1.5px solid #dcdadf; border-radius: 12px; cursor: pointer; background: #fff; transition: border-color .12s, background .12s;
}
.payment-option:hover { border-color: var(--maroon); }
.payment-option.active { border-color: var(--maroon); background: var(--maroon-tint); }
.payment-option input { accent-color: var(--maroon); width: 19px; height: 19px; flex: 0 0 auto; }
.payment-option .pay-ic { width: 38px; height: 28px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; flex: 0 0 auto; color: #fff; }
.pay-ic.cod { background: #2f7d4f; }
.pay-ic.bkash { background: #e2136e; }
.pay-ic.nagad { background: #f26b21; }
.payment-option strong { display:block; line-height: 1.2; font-size: 15px; }
.payment-option small { color: var(--muted); font-size: 12.5px; }

/* ---------- Branch / About / Contact ---------- */
.banner-img { position: relative; height: 170px; overflow: hidden; background: #222; }
.banner-img img { width: 100%; height: 100%; object-fit: cover; }
.banner-img .b-copy { position: absolute; left: 18px; bottom: 16px; color: #fff; z-index: 2; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.banner-img .b-copy h1 { color: #fff; font-size: 24px; }
.banner-img .b-copy p { margin: 2px 0 0; font-size: 14px; opacity: .95; }
.banner-img::after { content:''; position:absolute; inset:0; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent 55%); }
.branch-card { background: var(--tile); border-radius: var(--r); padding: 16px; margin-bottom: 14px; }
.branch-card h3 { font-size: 16px; display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.branch-card h3 i { color: var(--ink); font-size: 20px; }
.br-line { display: flex; gap: 10px; font-size: 14.5px; margin: 6px 0; color: var(--ink-soft); }
.br-line i { color: var(--maroon); font-size: 17px; flex: 0 0 auto; margin-top: 1px; }
.directions-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; background: #fff; border-radius: 10px; padding: 12px; margin-top: 12px;
  color: var(--maroon); font-weight: 700; border: 1.5px solid var(--line);
}
.directions-btn:hover { border-color: var(--maroon); }
.map-embed { border: 0; width: 100%; height: 260px; border-radius: var(--r); background: var(--tile); }
.story h2 { font-size: 20px; margin-bottom: 10px; }
.story p { color: var(--ink-soft); font-size: 15px; }
.script-sign { font-family: var(--font-script); font-weight: 700; font-size: 38px; color: var(--maroon); margin: 14px 0 0; line-height: 1.1; }
.value-grid { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 22px; }
.value-card { background: var(--tile); border-radius: var(--r); padding: 18px; text-align: center; }
.value-card i { font-size: 30px; color: var(--maroon); }
.value-card h5 { font-size: 16px; margin: 8px 0 4px; }
.value-card p { font-size: 13.5px; color: var(--muted); margin: 0; }
.contact-list { display: grid; gap: 4px; margin: 6px 0 14px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-row > i { color: var(--maroon); font-size: 24px; width: 28px; text-align: center; }
.contact-row strong { display: block; font-size: 15px; }
.contact-row span { color: var(--muted); font-size: 13.5px; }
.follow-block { text-align: center; padding: 18px 0 6px; }
.follow-block h6 { font-size: 16px; margin-bottom: 10px; }

/* account hub */
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 6px 0 10px; }
.hub-tile { background: var(--tile); border-radius: var(--r); padding: 20px 10px; text-align: center; font-weight: 700; font-size: 14.5px; }
.hub-tile i { display: block; font-size: 30px; color: var(--maroon); margin-bottom: 6px; }
.hub-tile:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }

/* order tracking steps */
.track-steps { display: flex; justify-content: space-between; text-align: center; margin: 22px 0; }
.track-steps .ts { flex: 1; font-size: 12px; text-transform: capitalize; }
.track-steps .dot { width: 30px; height: 30px; border-radius: 50%; margin: 0 auto 4px; background: #e2e0e5; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.track-steps .dot.done { background: var(--maroon); }

/* ---------- Footer ---------- */
.site-footer { background: #0f0f10; color: #c9c7cc; margin-top: 34px; padding: 28px 0 14px; font-size: 14px; }
.site-footer a { color: #c9c7cc; }
.site-footer a:hover { color: #fff; }
.site-footer h6 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.footer-grid { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
.footer-grid .f-brand { grid-column: 1 / -1; }
.f-brand img { height: 40px; margin-bottom: 10px; }
.f-brand p { max-width: 380px; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer li i { color: var(--maroon-soft); margin-right: 8px; }
.footer-bottom { border-top: 1px solid #2a2a2e; margin-top: 22px; padding-top: 14px; text-align: center; font-size: 13px; color: #8c8a92; }
.admin-link { opacity: .55; font-size: 12px; }

/* ---------- Toast ---------- */
.ars-toast {
  position: fixed; left: 50%; bottom: calc(var(--bottom-nav-h) + 18px); transform: translate(-50%, 20px); background: #111; color: #fff;
  padding: 10px 18px; border-radius: 30px; font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 3000; white-space: nowrap;
}
.ars-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Tablet
   ========================================================= */
@media (min-width: 768px) {
  .page-wrap { padding: 0 24px; }
  .hero-slider { border-radius: 0; }
  .cat-grid { grid-template-columns: repeat(8, 1fr); gap: 12px; }
  .cat-tile img { width: 52px; height: 52px; }
  .pgrid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .pgrid.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .cat-big-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .trust { grid-template-columns: repeat(4, 1fr); }
  .value-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.6fr; }
  .footer-grid .f-brand { grid-column: auto; }
  .sec-head h2 { font-size: 26px; }
  .offer-banner { min-height: 170px; padding: 28px 40px; }
  .offer-copy .o-up { font-size: 15px; }
  .offer-copy .o-sel { font-size: 14px; }
  .banner-img, .cat-hero { height: 240px; }
  .banner-img .b-copy h1, .cat-hero h1 { font-size: 34px; }
  .cat-hero .script { font-size: 32px; }
}

/* =========================================================
   Desktop
   ========================================================= */
@media (min-width: 992px) {
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .ars-toast { bottom: 24px; }
  .hdr { padding: 12px 24px; min-height: 76px; }
  .hdr-menu, .hdr-back { display: none !important; }
  .hdr-left { min-width: 0; }
  .hdr-right { min-width: 0; gap: 4px; }
  .hdr-account { display: inline-flex; }
  .secure-label { color: var(--maroon); }
  .hdr-search-hide, .hdr-cart-hide { display: inline-flex; }
  .brand img { height: 40px; }
  .brand .brand-word { font-size: 24px; }
  .hdr-nav { display: flex; gap: 6px; margin: 0 auto; }
  .hdr-nav a { padding: 10px 16px; font-weight: 600; font-size: 15px; border-radius: 8px; position: relative; color: var(--ink); }
  .hdr-nav a:hover { color: var(--maroon); }
  .hdr-nav a.active { color: var(--maroon); }
  .hdr-nav a.active::after { content:''; position:absolute; left:16px; right:16px; bottom:2px; height:3px; border-radius:3px; background: var(--maroon); }
  /* inner pages are white on desktop */
  .site-header.is-inner { background: var(--white); }
  .site-header.is-inner .hdr-btn { color: var(--ink); }
  .site-header.is-inner .hdr-btn:hover { background: rgba(0,0,0,.05); }
  .site-header.is-inner .brand .brand-word { color: var(--ink); }
  .site-header.is-inner .brand .logo-dark { display: block; }
  .site-header.is-inner .brand .logo-light { display: none; }
  .site-header.is-inner .cart-badge { background: var(--maroon); color: #fff; }
  .site-header { border-bottom-color: var(--line); }

  .hero-wrap { padding: 18px 24px 0; max-width: 1140px; }
  .hero-slider { border-radius: 22px; aspect-ratio: 16 / 9; }
  .hero-slide > img.hero-cover { object-position: center; }
  .hero-slide.is-text { padding: 0 8%; }
  .hero-dots { background: transparent; bottom: 14px; padding: 0; }
  .hero-dots button { background: rgba(255,255,255,.6); }
  .hero-dots button.active { background: var(--maroon); box-shadow: 0 0 0 2px #fff; }

  .pgrid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .pgrid.cols-3 { grid-template-columns: repeat(6, 1fr); gap: 18px; }
  .p-name { font-size: 14.5px; }
  .crumbs { display: block; padding: 16px 0 4px; font-size: 13.5px; color: var(--muted); }
  .crumbs a:hover { color: var(--maroon); }
  .page-title { font-size: 28px; }

  /* shop layout */
  .shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
  .filter-panel {
    position: static; transform: none; z-index: auto; border-radius: var(--r); background: #fff; border: 1px solid var(--line);
    max-height: none; overflow: visible; padding: 14px 18px 18px; position: sticky; top: 96px;
  }
  .sheet-overlay { display: none; }
  .fp-close { display: none; }
  .shop-toolbar { grid-template-columns: 1fr 220px; }
  .shop-toolbar .tool-filter { display: none; }

  .cat-big-grid { grid-template-columns: repeat(4, 1fr); }
  .cat-hero, .banner-img { height: 280px; border-radius: 0; }

  /* product details split */
  .pd-wrap { padding-left: 24px; padding-right: 24px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; padding-top: 18px; align-items: start; }
  .pd-gallery { border-radius: var(--r); overflow: hidden; }
  .pd-main { aspect-ratio: 1 / 1.08; }
  .pd-thumbs { padding: 14px; }
  .pd-body { padding: 0; }
  .pd-title { font-size: 30px; }
  .pd-actions { grid-template-columns: 1fr 1fr; max-width: 520px; }

  .cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
  .cart-layout .summary-card { position: sticky; top: 96px; }
  .checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 28px; align-items: start; }
  .checkout-layout .summary-card { position: sticky; top: 96px; }
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
  .narrow { max-width: 760px; margin: 0 auto; }
  .hub-grid { grid-template-columns: repeat(4, 1fr); }
}


/* =========================================================
   Pass 2 — second set of reference screens
   ========================================================= */

/* product cards: filled cart button like the mockup */
.p-cart { background: var(--maroon); color: #fff; border-radius: 10px; width: 42px; height: 36px; box-shadow: none; }
.p-cart:hover { background: var(--maroon-deep); color: #fff; }
.pcard { background: #f1eff2; }

/* ---- Shop page ---- */
.shop-banner {
  position: relative; overflow: hidden; background: linear-gradient(100deg, #f3f2f4 0 55%, #e9e7ea 55%); min-height: 150px;
  display: flex; align-items: center; padding: 18px 20px;
}
.shop-banner::before { content:''; position:absolute; right:-8%; top:-30%; bottom:-30%; width:52%; background: var(--maroon); transform: skewX(-22deg); }
.shop-banner .sb-copy { position: relative; z-index: 2; max-width: 56%; }
.shop-banner .sb-eyebrow { font-size: 12px; letter-spacing: .3em; font-weight: 600; }
.shop-banner h2 { font-size: clamp(24px, 7vw, 40px); line-height: 1.02; text-transform: uppercase; margin: 4px 0 6px; }
.shop-banner h2 span { color: var(--maroon); display: block; }
.shop-banner p { margin: 0; font-size: 14px; }
.shop-banner .sb-art { position: absolute; z-index: 2; right: 10px; top: 8px; bottom: 8px; display: flex; align-items: center; }
.shop-banner .sb-art img { height: 100%; width: auto; max-width: 48vw; }
.shop-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 16px 0 10px; }
.shop-head h1 { font-size: 26px; }
.shop-head p { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; }
.view-toggle { display: flex; gap: 8px; flex: 0 0 auto; }
.view-toggle button { width: 46px; height: 42px; border-radius: 10px; border: 0; background: var(--tile); font-size: 20px; cursor: pointer; color: var(--ink); }
.view-toggle button.on { background: var(--maroon); color: #fff; }
.chip-row { display: flex; gap: 10px; overflow-x: auto; padding: 4px 0 14px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.cchip {
  flex: 0 0 auto; border: 1.5px solid #e1dfe4; background: #fff; border-radius: 30px; padding: 8px 18px; font-weight: 600; font-size: 14.5px; color: var(--ink);
}
.cchip:hover { border-color: var(--maroon); color: var(--maroon); }
.cchip.on { background: var(--maroon); border-color: var(--maroon); color: #fff; }
/* list view */
.pgrid.list { grid-template-columns: 1fr; gap: 12px; }
.pgrid.list .pcard { flex-direction: row; align-items: stretch; }
.pgrid.list .pcard .p-img { width: 38%; max-width: 190px; aspect-ratio: 1/1; flex: 0 0 auto; }
.pgrid.list .p-info { justify-content: center; padding: 12px 14px; }
.pgrid.list .p-name { font-size: 15px; -webkit-line-clamp: 3; }

/* ---- Product page (reference layout) ---- */
.pd-gallery2 { display: flex; gap: 10px; padding: 12px 14px 4px; align-items: flex-start; }
.pd-thumbs-v { display: flex; flex-direction: column; gap: 10px; width: 62px; flex: 0 0 62px; max-height: 420px; overflow-y: auto; scrollbar-width: none; }
.pd-thumbs-v::-webkit-scrollbar { display: none; }
.pd-thumbs-v .product-gallery-thumb { width: 62px; height: 62px; border-radius: 10px; }
.pd-gallery2 .pd-gallery { flex: 1; min-width: 0; border-radius: var(--r); overflow: hidden; }
.pd-gallery2 .pd-main { aspect-ratio: 1 / 1.08; }
.pd-counter { position: absolute; right: 12px; bottom: 12px; background: rgba(60,60,60,.7); color: #fff; font-size: 13px; padding: 3px 10px; border-radius: 14px; font-weight: 600; }
.opt-row { display: flex; align-items: center; gap: 12px; margin: 12px 0; flex-wrap: wrap; }
.opt-row .opt-label { margin: 0; font-size: 17px; }
.opt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-list .size-option, .opt-list .color-option { margin: 0; }
.color-option.swatch { min-width: 0; width: 36px; height: 36px; padding: 0; border-radius: 50%; background: var(--sw); border: 2px solid #d6d4d9; position: relative; }
.color-option.swatch.active { background: var(--sw); border-color: var(--maroon); box-shadow: 0 0 0 3px #fff inset; }
.offer-note { display: flex; gap: 14px; align-items: center; background: var(--maroon-tint); border-radius: 12px; padding: 12px 14px; margin: 14px 0; }
.offer-note i { font-size: 26px; color: var(--maroon); }
.offer-note strong { display: block; color: var(--maroon); font-size: 16px; }
.offer-note span { font-size: 14px; color: var(--ink-soft); }
.buy-row { display: flex; gap: 12px; margin-top: 14px; align-items: stretch; }
.buy-row .btn-brand { flex: 1; }
.buy-row .qty-selector { flex: 0 0 auto; }
.buy-now { width: 100%; margin-top: 12px; background: var(--maroon-deep); }
.trust3 { display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 0 6px; text-align: center; font-size: 12.5px; }
.trust3 > div { padding: 2px 6px; border-left: 1px solid var(--line); }
.trust3 > div:first-child { border-left: 0; }
.trust3 i { display: block; font-size: 22px; color: var(--ink); margin-bottom: 4px; }
.acc { border-top: 1px solid var(--line); }
.acc:last-of-type { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 17px; padding: 14px 0; display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc[open] summary i { transform: rotate(180deg); }
.acc-body { padding: 0 0 14px; color: var(--ink-soft); font-size: 14.5px; }

/* ---- Stepper (checkout / success) ---- */
.stepper { display: flex; justify-content: space-between; position: relative; padding: 16px 4px 6px; margin-bottom: 8px; }
.stepper::before { content: ''; position: absolute; left: 12%; right: 12%; top: 38px; height: 2px; background: #d6d4d9; }
.stepper .st { position: relative; flex: 1; text-align: center; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.stepper .st .dot { width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 6px; display: flex; align-items: center; justify-content: center; background: #b5b3b9; color: #fff; font-weight: 700; font-size: 18px; position: relative; z-index: 1; }
.stepper .st.done .dot, .stepper .st.now .dot { background: var(--maroon); }
.stepper .st.done, .stepper .st.now { color: var(--ink); }
.stepper .st.now { color: var(--maroon); }

/* section header bars */
.sect-bar { display: flex; align-items: center; gap: 14px; background: var(--maroon-tint); border-radius: var(--r); padding: 14px 16px; margin: 10px 0 14px; }
.sect-bar > i { font-size: 34px; color: var(--maroon); }
.sect-bar h2 { font-size: 22px; line-height: 1.1; }
.sect-bar p { margin: 2px 0 0; color: var(--ink-soft); font-size: 14.5px; }
.card-box h6 i.hi { color: var(--maroon); margin-right: 10px; font-size: 24px; vertical-align: -3px; }
.addr-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.addr-types label { cursor: pointer; margin: 0; }
.addr-types input { position: absolute; opacity: 0; pointer-events: none; }
.addr-types span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border: 1.5px solid var(--maroon); border-radius: 10px; font-weight: 600; color: var(--ink); background: #fff; }
.addr-types input:checked + span { background: var(--maroon); color: #fff; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--maroon-tint); border-radius: 12px; padding: 12px; font-size: 14.5px; color: var(--ink-soft); margin: 4px 0 14px; }
.secure-note i { color: var(--maroon); font-size: 20px; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--tile); border-radius: 12px; padding: 12px 6px; margin: 16px 0; font-size: 12.5px; }
.trust-strip > div { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 0 6px; border-left: 1px solid #d4d2d7; text-align: left; line-height: 1.25; }
.trust-strip > div:first-child { border-left: 0; }
.trust-strip i { font-size: 22px; }
.pay-rec { margin-left: auto; background: var(--maroon); color: #fff; font-size: 11.5px; font-weight: 600; padding: 3px 12px; border-radius: 20px; align-self: flex-start; }
.os-line { display: flex; gap: 12px; align-items: center; padding: 10px 0; }
.os-line img { width: 66px; height: 66px; object-fit: cover; border-radius: 10px; background: var(--tile); }
.os-line .os-n { font-weight: 700; font-size: 15px; line-height: 1.25; }
.os-line .os-v { font-size: 13px; color: var(--muted); }
.os-line .os-p { margin-left: auto; font-weight: 800; font-size: 17px; color: var(--maroon); white-space: nowrap; }

/* ---- Order success ---- */
.ok-badge { width: 92px; height: 92px; border-radius: 50%; background: #e4f3ea; display: flex; align-items: center; justify-content: center; margin: 8px auto 12px; position: relative; }
.ok-badge i { font-size: 54px; color: var(--success); }
.ok-title { text-align: center; font-size: 28px; }
.ok-title span { color: var(--maroon); }
.ok-sub { text-align: center; color: var(--muted); margin: 6px 0 16px; }
.ok-meta { display: grid; grid-template-columns: 1fr 1fr; background: var(--maroon-tint); border-radius: var(--r); padding: 14px 16px; margin-bottom: 14px; gap: 10px; }
.ok-meta small { display: block; color: var(--ink-soft); font-size: 13px; }
.ok-meta strong { font-size: 22px; color: var(--maroon); }
.ok-meta .m2 { border-left: 1px solid #d9c3ca; padding-left: 14px; font-size: 14.5px; }
.ok-meta .m2 strong { font-size: 15px; color: var(--ink); font-weight: 600; }
.pill-badge { background: var(--maroon); color: #fff; font-size: 13px; font-weight: 600; padding: 5px 14px; border-radius: 20px; white-space: nowrap; }
.total-bar { background: var(--maroon-tint); border-radius: 10px; padding: 12px 14px; display: flex; justify-content: space-between; font-weight: 800; font-size: 20px; margin-top: 8px; }
.total-bar span:last-child { color: var(--maroon); }
.addr-card { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; margin: 14px 0; }
.addr-card > i { font-size: 30px; color: var(--maroon); }
.addr-card strong { display: block; }
.next-box { background: var(--maroon-tint); border-radius: var(--r); padding: 16px; margin-bottom: 14px; }
.next-box h5 { color: var(--maroon); font-size: 18px; margin-bottom: 4px; }
.next-box p { margin: 0 0 12px; font-size: 14px; color: var(--ink-soft); }
.next-steps { display: flex; justify-content: space-between; text-align: center; font-size: 12.5px; }
.next-steps .ns { flex: 1; }
.next-steps .ns .d { width: 26px; height: 26px; border-radius: 50%; background: #bdbbc1; color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 4px; font-size: 14px; }
.next-steps .ns.on .d { background: var(--maroon); }
.next-steps .ns small { display: block; color: var(--muted); }
.help-strip { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; background: var(--tile); border-radius: 12px; padding: 12px; font-size: 14px; margin: 14px 0; }
.help-strip span { display: inline-flex; align-items: center; gap: 8px; }
.btn-line { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--maroon); color: var(--maroon) !important; border-radius: 10px; padding: 13px; font-weight: 700; margin-top: 10px; background: #fff; }

/* ---- About / Contact (reference) ---- */
.photo-hero { position: relative; height: 190px; overflow: hidden; background: #1c1a1f; }
.photo-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-hero::after { content:''; position:absolute; inset:0; background: linear-gradient(90deg, rgba(0,0,0,.7), rgba(0,0,0,.1) 75%); }
.photo-hero .ph-copy { position: absolute; z-index: 2; left: 20px; bottom: 22px; color: #fff; }
.photo-hero h1 { color: #fff; font-size: 34px; }
.photo-hero p { margin: 4px 0 0; font-size: 18px; }
.photo-hero .ph-line { width: 56px; height: 3px; background: var(--maroon-soft); margin-top: 6px; border-radius: 3px; }
.h-under { font-size: 24px; margin: 20px 0 10px; }
.h-under::after { content: ''; display: block; width: 44px; height: 3px; background: var(--maroon); margin-top: 6px; border-radius: 3px; }
.script-box { background: var(--maroon-tint); border-radius: var(--r); text-align: center; padding: 8px; margin: 16px 0; font-family: var(--font-script); font-weight: 700; font-size: 38px; color: var(--maroon); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.why-grid div { background: #fbf7f8; border: 1px solid #efe3e6; border-radius: 12px; text-align: center; padding: 12px 4px; font-size: 13.5px; line-height: 1.25; }
.why-grid i { display: block; font-size: 26px; color: var(--maroon); margin-bottom: 4px; }
.stat-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--maroon-tint); border-radius: var(--r); padding: 14px 6px; margin: 14px 0; text-align: center; }
.stat-strip > div { border-left: 1px solid #d9c3ca; padding: 0 6px; font-size: 13px; }
.stat-strip > div:first-child { border-left: 0; }
.stat-strip i { font-size: 24px; color: var(--maroon); display: block; }
.stat-strip strong { display: block; font-size: 24px; line-height: 1.2; }
.vision { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; margin: 14px 0; }
.vision img { width: 100%; border-radius: var(--r); }
.vision h3 { font-size: 22px; }
.vision h3::after { content: ''; display: block; width: 44px; height: 3px; background: var(--maroon); margin: 6px 0 8px; border-radius: 3px; }
.vision p { margin: 0; color: var(--ink-soft); }
.getintouch { position: relative; border: 1.5px solid var(--maroon); border-radius: 14px; padding: 22px 6px 6px; margin: 22px 0 16px; display: grid; grid-template-columns: 1fr 1fr; }
.getintouch .gi-label { position: absolute; top: -17px; left: 50%; transform: translateX(-50%); background: var(--maroon); color: #fff; font-weight: 700; padding: 6px 22px; border-radius: 30px; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.getintouch a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; }
.getintouch a + a { border-left: 1px solid var(--line); }
.getintouch a > i:first-child { font-size: 28px; color: var(--maroon); }
.getintouch a div { line-height: 1.2; flex: 1; font-size: 15px; }
.getintouch small { color: var(--muted); font-size: 12.5px; }
.contact-hero { position: relative; height: 220px; overflow: hidden; background: #18161a; }
.contact-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-hero::after { content:''; position:absolute; inset:0; background: linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.1) 80%); }
.contact-hero .ph-copy { position: absolute; z-index: 2; left: 20px; top: 50%; transform: translateY(-50%); color: #fff; max-width: 60%; }
.contact-hero h1 { color: #fff; font-size: 36px; }
.contact-hero h1::after { content:''; display:block; width: 90px; height: 3px; background: var(--maroon-soft); margin: 4px 0 8px; }
.contact-hero h3 { color: #fff; font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.contact-hero p { margin: 0; font-size: 14.5px; opacity: .95; }
.c-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.c-tile { background: var(--maroon-tint); border: 1px solid #f0dde2; border-radius: 12px; text-align: center; padding: 14px 6px; font-size: 13px; line-height: 1.35; }
.c-tile .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--maroon); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 21px; margin: 0 auto 8px; }
.c-tile strong { display: block; font-size: 14.5px; word-break: break-word; }
.c-tile small { color: var(--muted); display: block; }
.branches-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.branches-row > i { font-size: 38px; color: var(--maroon); }
.branches-row div { flex: 1; }
.branches-row h3 { font-size: 22px; }
.branches-row p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.msg-head { display: flex; gap: 12px; align-items: center; margin: 16px 0 12px; }
.msg-head > i { font-size: 32px; color: var(--maroon); }
.msg-head h3 { font-size: 22px; }
.msg-head p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.icon-field { position: relative; }
.icon-field > i { position: absolute; left: 14px; top: 14px; font-size: 18px; color: var(--ink-soft); z-index: 2; }
.icon-field .form-control, .icon-field .form-select { padding-left: 44px; }
.follow-box { display: flex; align-items: center; gap: 14px; background: var(--maroon-tint); border-radius: var(--r); padding: 14px 16px; margin: 16px 0; }
.follow-box > div:first-child { flex: 1; border-right: 1px solid #d9c3ca; padding-right: 10px; }
.follow-box strong { font-size: 18px; display: block; }
.follow-box small { color: var(--ink-soft); font-size: 13.5px; line-height: 1.3; display: block; }
.follow-box .social-row a { background: var(--maroon); color: #fff; width: 36px; height: 36px; }
.follow-box .social-row { flex-wrap: wrap; gap: 8px; }

@media (min-width: 992px) {
  .shop-banner { border-radius: 22px; min-height: 220px; margin-top: 18px; }
  .shop-banner h2 { font-size: 46px; }
  .pgrid.list .pcard .p-img { max-width: 240px; }
  .pd-gallery2 { padding: 0; }
  .pd-thumbs-v { width: 78px; flex-basis: 78px; max-height: 560px; }
  .pd-thumbs-v .product-gallery-thumb { width: 78px; height: 78px; }
  .pd-wrap { grid-template-columns: 1.1fr 1fr; }
  .buy-row, .buy-now { max-width: 520px; }
  .why-grid { grid-template-columns: repeat(8, 1fr); }
  .photo-hero, .contact-hero { height: 300px; }
  .c-tiles { gap: 16px; }
}

/* header crowding on small phones */
@media (max-width: 480px) {
  .brand img { height: 30px; }
  .brand .brand-word { font-size: 18px; letter-spacing: .04em; }
  .hdr { padding: 8px 8px; }
  .site-header.is-inner .hdr-left { min-width: 42px; }
  .site-header.is-inner .hdr-right { min-width: 0; }
  .secure-label { font-size: 11.5px; padding-right: 2px; gap: 4px; }
  .secure-label i { font-size: 15px; }
}
.contact-hero::after { background: linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.35) 85%); }
.photo-hero::after { background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.25) 85%); }
