/* ==========================================================================
   lesSouq — Electronics eCommerce Storefront
   Main stylesheet (original implementation, Electro-style layout)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --primary: #002b5c;          /* premium indigo (action) */
  --primary-dark: #001b3d;     /* indigo hover */
  --primary-ink: #ffffff;      /* text that sits ON indigo */
  --ink: #11223a;              /* headings (deep indigo-grey) */
  --body: #6b7280;             /* body text */
  --muted: #9aa0a6;
  --line: #e7e8f0;             /* borders (cool) */
  --bg: #ffffff;
  --bg-soft: #f5f6fb;          /* cool light surface */
  --bg-dark: #001b3d;          /* deep indigo navy (topbar/footer/dark buttons) */
  --bg-topbar: #001229;
  --danger: #ee4d2d;
  --success: #3fb911;
  --star: #ffb400;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  /* elevation — committed strategy: subtle layered shadows (premium) */
  --shadow-xs: 0 1px 2px rgba(17,34,58,.05);
  --shadow-sm: 0 1px 2px rgba(17,34,58,.05), 0 1px 3px rgba(17,34,58,.04);
  --shadow-md: 0 2px 4px rgba(17,34,58,.05), 0 4px 10px rgba(17,34,58,.05);
  --shadow: 0 6px 16px -6px rgba(17,34,58,.12), 0 10px 30px -12px rgba(17,34,58,.14);
  --shadow-lg: 0 10px 24px -8px rgba(17,34,58,.16), 0 20px 48px -16px rgba(17,34,58,.18);
  /* borders — low-opacity progression */
  --line: #e7e8f0;
  --line-subtle: rgba(17,34,58,.06);
  --line-strong: rgba(17,34,58,.14);
  /* text hierarchy (4 levels) */
  --text-1: #11223a;
  --text-2: #4a5568;
  --text-3: #7c8595;
  --text-4: #a7adba;
  --accent: #ca8a04;        /* premium gold — validated for navy+gold premium retail */
  --accent-dark: #a16207;
  --accent-soft: #fef3c7;
  --container: 1200px;
  --header-font: 'Rubik', system-ui, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--header-font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg-soft);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;                 /* never allow sideways scroll on mobile */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--primary-dark); }
h1,h2,h3,h4,h5,h6 { font-family: var(--header-font); color: var(--ink); margin: 0 0 .5rem; font-weight: 500; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
.container-xl { max-width: var(--container); }

/* ---------- Utility ---------- */
.text-primary-ink { color: var(--primary-ink); }
.bg-primary-y { background: var(--primary); }
.price { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.price-old { color: var(--muted); text-decoration: line-through; font-weight: 400; font-size: .9em; margin-left: 6px; }
.section-pad { padding: 34px 0; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  border-radius: var(--radius-sm);
  font-weight: 600;
  letter-spacing: .1px;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-y {
  background: var(--primary);
  color: var(--primary-ink);
  border: 1px solid var(--primary);
  box-shadow: 0 1px 2px rgba(0,43,92,.18);
}
.btn-y:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--primary-ink); box-shadow: 0 6px 16px -6px rgba(0,43,92,.5); }
.btn-dark2 { background: var(--bg-dark); color:#fff; border:1px solid var(--bg-dark); }
.btn-dark2:hover { background:#000; color:#fff; box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); }
.btn-outline-ink { border:1px solid var(--line-strong); background:#fff; color: var(--ink); }
.btn-outline-ink:hover { border-color: var(--ink); background: var(--bg-soft,#f5f6fb); color: var(--ink); }

/* Accessible focus ring (keyboard only) */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
@media (prefers-reduced-motion: reduce){
  .btn, .product-card, .icon-btn { transition: none !important; }
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--bg-topbar);
  color: #cfcfcf;
  font-size: 12px;
}
.topbar a { color: #cfcfcf; }
.topbar a:hover { color: #fff; }
.topbar .inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar ul { display: flex; align-items: center; gap: 18px; }
.topbar .sep { color: #555; }
.topbar select {
  background: transparent; color: #cfcfcf; border: 0; font-size: 12px; cursor: pointer;
}
.topbar select option { color: #000; }

/* ============================================================
   HEADER (logo + search + actions)
   ============================================================ */
.site-header { background: #fff; }
.header-main { display: flex; align-items: center; gap: 28px; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand .logo-mark {
  width: 40px; height: 40px; border-radius: 9px;
  background: var(--primary); color: var(--primary-ink);
  display: grid; place-items: center; font-weight: 700; font-size: 20px;
}
.brand .logo-text { font-size: 26px; font-weight: 700; color: var(--ink); letter-spacing: -.5px; line-height: 1; }
.brand .logo-text span { color: var(--primary-dark); }
.brand .logo-sub { font-size: 10px; color: var(--muted); letter-spacing: 3px; text-transform: uppercase; }

/* hamburger (mobile only) */
.mobile-hamb {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink); font-size: 20px; flex: 0 0 auto;
}
.mobile-hamb:hover { border-color: var(--ink); }

/* search */
.header-search { flex: 1 1 auto; }
.search-box {
  display: flex; align-items: stretch;
  border: 2px solid var(--primary); border-radius: var(--radius); overflow: hidden; background:#fff;
}
.search-box select {
  border: 0; background: #fff; padding: 0 14px; font-size: 13px; color: var(--ink);
  border-right: 1px solid var(--line); max-width: 190px; cursor: pointer;
}
.search-box input {
  border: 0; flex: 1; padding: 0 14px; font-size: 14px; outline: none; min-width: 60px;
}
.search-box button {
  border: 0; background: var(--primary); color: var(--primary-ink);
  padding: 0 22px; font-size: 16px;
}
.search-box button:hover { background: var(--primary-dark); }

/* header actions */
.header-actions { display: flex; align-items: center; gap: 22px; flex: 0 0 auto; }
.header-action { display: flex; align-items: center; gap: 9px; color: var(--ink); position: relative; }
.header-action .ic { font-size: 22px; position: relative; }
.header-action small { display: block; color: var(--muted); font-size: 11px; line-height: 1.2; }
.header-action strong { display: block; font-size: 13px; font-weight: 500; }
.count-badge {
  position: absolute; top: -8px; right: -10px;
  background: var(--primary); color: var(--primary-ink);
  font-size: 10px; font-weight: 700; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 10px; display: grid; place-items: center; line-height: 1;
}

/* ============================================================
   PRIMARY NAV
   ============================================================ */
.primary-nav { background: var(--bg-dark); }
.primary-nav .inner { display: flex; align-items: stretch; }

/* departments button */
.dept-toggle {
  background: var(--primary); color: var(--primary-ink);
  display: flex; align-items: center; gap: 12px;
  padding: 0 22px; font-weight: 600; font-size: 14px;
  min-width: 260px; height: 50px; border: 0; position: relative; text-transform: uppercase;
}
.dept-toggle .fa-bars { font-size: 15px; }
.dept-toggle .fa-angle-down { margin-left: auto; }

/* departments dropdown */
.dept-wrap { position: relative; min-width: 260px; }
.dept-menu {
  position: absolute; top: 100%; left: 0; width: 260px; background: #fff;
  border: 1px solid var(--line); border-top: 0; box-shadow: var(--shadow);
  z-index: 60; display: none;
}
.dept-menu.open { display: block; }
.dept-menu li > a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 20px; color: var(--ink); font-size: 13px; border-bottom: 1px solid #f2f2f2;
}
.dept-menu li:last-child > a { border-bottom: 0; }
.dept-menu li > a:hover { background: var(--bg-soft); color: var(--primary-dark); }
.dept-menu .ic { width: 20px; text-align: center; color: var(--muted); }
/* On the homepage the department menu is shown open by default inside hero */
.dept-static { position: static; display: block; width: 100%; box-shadow: none; border-top: 1px solid var(--line); height: 100%; }

/* horizontal links */
.nav-links { display: flex; align-items: center; margin-left: 10px; }
.nav-links > li > a {
  color: #fff; padding: 0 16px; height: 50px; display: flex; align-items: center;
  font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .3px;
}
.nav-links > li > a:hover,
.nav-links > li.active > a { color: var(--primary); }
.nav-right { margin-left: auto; display: flex; align-items: center; color: #bdbdbd; font-size: 13px; gap: 8px; padding-right: 4px; }
.nav-right .fa { color: var(--primary); }

/* dropdown on nav link */
.has-drop { position: relative; }
.has-drop > a .fa-angle-down { margin-left: 6px; font-size: 11px; }
.drop {
  position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 0; display: none; z-index: 55;
}
.has-drop:hover .drop { display: block; }
.drop li a { display: block; padding: 8px 20px; color: var(--ink); font-size: 13px; }
.drop li a:hover { background: var(--bg-soft); color: var(--primary-dark); }

/* ============================================================
   HERO
   ============================================================ */
.hero-row { display: grid; grid-template-columns: 260px 1fr; gap: 0; background:#fff; border:1px solid var(--line); border-top:0; }
.hero-dept { border-right: 1px solid var(--line); }
.hero-main { padding: 0; }
.hero-slider { position: relative; }
.hero-slide {
  position: relative; overflow: hidden;
  min-height: 420px; display: flex; align-items: center; gap: 24px;
  padding: 44px 52px;
  background:
    radial-gradient(120% 120% at 100% 0%, #eaf2ff 0%, rgba(234,242,255,0) 55%),
    radial-gradient(90% 90% at 0% 100%, #fff6e9 0%, rgba(255,246,233,0) 50%),
    linear-gradient(120deg, #f8fafc, #eef2f7);
}
/* soft decorative accent blobs */
.hero-slide::before, .hero-slide::after {
  content: ""; position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; filter: blur(2px);
}
.hero-slide::before { width: 320px; height: 320px; inset-inline-end: -70px; top: -90px;
  background: radial-gradient(circle at 30% 30%, rgba(0,43,92,.10), rgba(0,43,92,0) 70%); }
.hero-slide::after { width: 240px; height: 240px; inset-inline-start: 34%; bottom: -120px;
  background: radial-gradient(circle at 50% 50%, rgba(245,166,35,.14), rgba(245,166,35,0) 70%); }
.hero-slide .copy { flex: 1 1 54%; position: relative; z-index: 2; }
.hero-slide .visual { flex: 1 1 46%; display: grid; place-items: center; position: relative; z-index: 1; }

/* glass product stage */
.hero-stage {
  position: relative; display: grid; place-items: center;
  width: min(360px, 92%); aspect-ratio: 1 / 1; border-radius: 26px;
  background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(255,255,255,.55));
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 30px 60px -24px rgba(0,43,92,.35), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(4px);
}
.hero-stage::before {
  content: ""; position: absolute; width: 70%; height: 70%; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,73,143,.18), rgba(0,73,143,0) 70%); filter: blur(8px); z-index: 0;
}
.hero-stage img {
  position: relative; z-index: 1; max-height: 260px; width: auto;
  filter: drop-shadow(0 24px 30px rgba(0,0,0,.22));
  animation: heroFloat 5s ease-in-out infinite;
}
@keyframes heroFloat { 0%,100% { transform: translateY(-6px); } 50% { transform: translateY(10px); } }

.hero-badge {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 700;
  padding: 8px 12px; border-radius: 999px; box-shadow: 0 10px 24px -8px rgba(0,0,0,.28);
  animation: heroFloat 6s ease-in-out infinite;
}
.hero-badge i { color: var(--primary); }
.hero-badge.hb-tl { top: 10px; inset-inline-start: -6px; }
.hero-badge.hb-br { bottom: 14px; inset-inline-end: -6px; animation-delay: .8s; }
.hero-badge.hb-br i { color: #1a8a4b; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--primary-dark); font-weight: 700; letter-spacing: .6px; text-transform: uppercase; font-size: 11.5px;
  background: rgba(0,43,92,.07); padding: 6px 12px; border-radius: 999px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent, #f5a623); box-shadow: 0 0 0 4px rgba(245,166,35,.25); }
.hero-title { font-size: 42px; font-weight: 600; color: var(--ink); line-height: 1.1; margin: 14px 0 12px; letter-spacing: -.5px; }
.hero-title strong { font-weight: 800; color: var(--primary-dark); }
.hero-sub { font-size: 15.5px; margin-bottom: 16px; max-width: 440px; color: #5a6470; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.hero-pills .hpill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #35414f;
  background: rgba(255,255,255,.7); border: 1px solid var(--line); padding: 6px 11px; border-radius: 999px;
}
.hero-pills .hpill i { color: var(--primary); }
.hero-price { font-size: 15px; margin-bottom: 18px; color: #5a6470; }
.hero-price b { font-size: 28px; color: var(--danger); font-weight: 800; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
@media (prefers-reduced-motion: reduce){ .hero-stage img, .hero-badge { animation: none; } }

/* Dark hero theme (admin-selectable) */
.hero-slide.theme-dark {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(0,73,143,.55) 0%, rgba(0,27,61,0) 55%),
    radial-gradient(90% 90% at 0% 100%, rgba(245,166,35,.18) 0%, rgba(0,27,61,0) 50%),
    linear-gradient(120deg, #021a3a, #01122a);
}
.hero-slide.theme-dark .hero-title { color: #fff; }
.hero-slide.theme-dark .hero-title strong { color: #ffd37a; }
.hero-slide.theme-dark .hero-sub { color: #b9c6d9; }
.hero-slide.theme-dark .hero-eyebrow { color: #ffd37a; background: rgba(255,255,255,.08); }
.hero-slide.theme-dark .hero-price { color: #b9c6d9; }
.hero-slide.theme-dark .hero-price b { color: #ff8a5c; }
.hero-slide.theme-dark .hero-pills .hpill { color: #e7eefb; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.hero-slide.theme-dark .hero-pills .hpill i { color: #ffd37a; }
.hero-slide.theme-dark .btn-outline-ink { color: #fff; border-color: rgba(255,255,255,.5); }
.hero-slide.theme-dark .btn-outline-ink:hover { background: rgba(255,255,255,.12); }

/* ============================================================
   FEATURE STRIP
   ============================================================ */
.feature-strip {
  background: #fff; border: 1px solid var(--line); border-top: 0;
  display: grid; grid-template-columns: repeat(4,1fr);
}
.feature-strip .feat {
  display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-right: 1px solid var(--line);
}
.feature-strip .feat:last-child { border-right: 0; }
.feature-strip .fa { font-size: 30px; color: var(--ink); }
.feature-strip strong { display: block; color: var(--ink); font-size: 14px; }
.feature-strip small { color: var(--muted); }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.sec-head { display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--line-subtle); margin-bottom: 22px; }
.sec-head h2 { position: relative; font-size: 21px; font-weight: 700; letter-spacing: -.015em; margin: 0 0 -1px; padding-bottom: 14px; text-transform: none; color: var(--text-1); }
.sec-head h2::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -1px; width: 44px; height: 3px; border-radius: 3px; background: var(--primary); }
.sec-head .tabs { display: flex; gap: 18px; margin-left: 8px; }
.sec-head .tabs button {
  background: none; border: 0; color: var(--muted); font-size: 13px; text-transform: uppercase;
  padding: 0 0 12px; border-bottom: 2px solid transparent; font-weight: 500;
}
.sec-head .tabs button.active, .sec-head .tabs button:hover { color: var(--ink); border-color: var(--primary); }
.sec-head .more { margin-left: auto; font-size: 13px; color: var(--muted); padding-bottom: 12px; }
.sec-head .more:hover { color: var(--primary-dark); }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; background: transparent; border: 0; }
.product-grid.cols-3 { grid-template-columns: repeat(3,1fr); }
.product-card {
  background: #fff; border: 1px solid var(--line-subtle); border-radius: var(--radius);
  box-shadow: var(--shadow-xs); padding: 16px; position: relative;
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--line-strong); z-index: 5; }
.product-card .thumb { position: relative; text-align: center; margin-bottom: 14px; background: linear-gradient(180deg,#fafbfd,#f4f6fa); border-radius: var(--radius-sm); padding: 14px; }
.product-card .thumb img { height: 150px; margin: 0 auto; object-fit: contain; }
.badge-tag {
  position: absolute; top: 10px; inset-inline-start: 10px; font-size: 10.5px; font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; color: #fff; z-index: 2;
  box-shadow: 0 2px 6px rgba(17,34,58,.18);
}
.badge-new { background: var(--success); }
.badge-sale { background: var(--danger); }
.badge-hot { background: #ff8a00; }
.product-card .cat { font-size: 11.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.product-card .name { font-size: 14px; color: var(--text-1); margin: 5px 0 7px; min-height: 2.6em; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .name:hover { color: var(--primary-dark); }
.stars { color: var(--star); font-size: 12px; letter-spacing: 1px; }
.stars .muted { color: #dcdcdc; }
.product-card .rate-row { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.product-card .rate-row small { color: var(--text-3); }
.product-card .price { font-size: 18px; font-weight: 700; color: var(--primary-dark); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.product-actions { display: flex; align-items: center; gap: 8px; margin-top: 14px; opacity: 0; transform: translateY(6px); transition: .2s ease; }
.product-card:hover .product-actions { opacity: 1; transform: none; }
.product-actions .btn-add { flex: 1; }
.icon-btn {
  width: 38px; height: 38px; border: 1px solid var(--line-strong); background: #fff; border-radius: var(--radius-sm);
  display: grid; place-items: center; color: var(--text-3);
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); background: #f3f7ff; }

/* list view (shop) */
.product-card.list-view { display: grid; grid-template-columns: 220px 1fr; gap: 20px; }
.product-card.list-view .product-actions { opacity: 1; transform: none; max-width: 320px; }
.product-card.list-view .name { min-height: 0; font-size: 16px; }
.product-card.list-view .desc { margin: 8px 0; }

/* ============================================================
   DEAL / COUNTDOWN
   ============================================================ */
.countdown { display: flex; gap: 8px; }
.countdown .cell {
  background: var(--bg-dark); color: #fff; border-radius: var(--radius); min-width: 46px;
  text-align: center; padding: 6px 4px;
}
.countdown .cell b { display: block; font-size: 18px; line-height: 1; }
.countdown .cell span { font-size: 10px; color: #bdbdbd; text-transform: uppercase; }

/* ============================================================
   PROMO BANNERS
   ============================================================ */
.promo { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 200px;
  display: flex; align-items: center; padding: 30px; color: var(--ink); }
.promo h3 { font-size: 24px; }
.promo.a { background: linear-gradient(120deg,#e8f0fe,#d7e3fb); }
.promo.b { background: linear-gradient(120deg,#e6edf6,#cdddf0); }
.promo.c { background: linear-gradient(120deg,#e9f7e9,#d6f2d6); }
.promo .promo-visual { position: absolute; right: 18px; bottom: 10px; max-height: 150px; opacity: .9; }

/* ============================================================
   CATEGORY TILES
   ============================================================ */
.cat-tiles { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; }
.cat-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 10px; text-align: center; color: var(--ink);
}
.cat-tile:hover { box-shadow: var(--shadow-sm); border-color: var(--primary); color: var(--primary-dark); }
.cat-tile img { height: 56px; margin: 0 auto 10px; }
.cat-tile span { font-size: 13px; }

/* ============================================================
   BRANDS
   ============================================================ */
.brand-strip { display: grid; grid-template-columns: repeat(6,1fr); background:#fff; border:1px solid var(--line); }
.brand-strip .b { padding: 26px; text-align: center; border-right: 1px solid var(--line); color: var(--muted); font-weight: 700; font-size: 18px; letter-spacing: .5px; }
.brand-strip .b:last-child { border-right: 0; }
.brand-strip .b:hover { color: var(--ink); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter { background: var(--primary); }
.newsletter .inner { display: flex; align-items: center; gap: 24px; padding: 26px 0; flex-wrap: wrap; }
.newsletter h3 { color: var(--primary-ink); margin: 0; font-size: 22px; font-weight: 600; }
.newsletter p { color: var(--primary-ink); margin: 0; opacity: .8; }
.newsletter form { margin-left: auto; display: flex; gap: 10px; flex: 1 1 360px; max-width: 480px; }
.newsletter input { flex: 1; border: 0; border-radius: var(--radius); padding: 12px 16px; outline: none; }
.newsletter button { background: var(--bg-dark); color: #fff; border: 0; border-radius: var(--radius); padding: 12px 26px; font-weight: 500; }
.newsletter button:hover { color: var(--primary); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #fff; border-top: 3px solid var(--primary); margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding: 44px 0; }
.footer-top h4 { font-size: 15px; color: var(--ink); margin-bottom: 16px; text-transform: uppercase; }
.footer-top li { margin-bottom: 9px; }
.footer-top li a { color: var(--body); font-size: 13px; }
.footer-top li a:hover { color: var(--primary-dark); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .fa { color: var(--primary-dark); width: 18px; margin-top: 3px; }
.footer-contact strong { color: var(--ink); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; color: var(--body); }
.footer-social a:hover { background: var(--primary); color: var(--primary-ink); }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom .pay { margin-left: auto; display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 22px; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-bar { background: #fff; border-bottom: 1px solid var(--line); padding: 14px 0; }
.breadcrumb-bar .crumbs { font-size: 13px; color: var(--muted); }
.breadcrumb-bar .crumbs a { color: var(--body); }
.breadcrumb-bar .crumbs .sep { margin: 0 8px; }
.page-title { font-size: 26px; margin: 2px 0 0; color: var(--ink); }

/* ============================================================
   SHOP SIDEBAR
   ============================================================ */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 20px; }
.widget h4 { font-size: 14px; text-transform: uppercase; padding: 14px 18px; margin: 0; border-bottom: 1px solid var(--line); }
.widget .widget-body { padding: 14px 18px; }
.widget ul li { margin-bottom: 8px; }
.widget ul li a { color: var(--body); font-size: 13px; display: flex; justify-content: space-between; }
.widget ul li a:hover { color: var(--primary-dark); }
.widget ul li .n { color: var(--muted); }
.check-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; color: var(--body); }

.shop-toolbar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.shop-toolbar .view-toggle { display: flex; gap: 6px; }
.shop-toolbar .view-toggle button { width: 34px; height: 34px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); color: var(--muted); }
.shop-toolbar .view-toggle button.active { color: var(--ink); border-color: var(--ink); }
.shop-toolbar .result { color: var(--muted); font-size: 13px; }
.shop-toolbar select { border: 1px solid var(--line); border-radius: var(--radius); padding: 7px 10px; font-size: 13px; }

/* pagination */
.pagination2 { display: flex; gap: 6px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.pagination2 a { min-width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; border-radius: var(--radius); color: var(--ink); font-size: 13px; }
.pagination2 a.active, .pagination2 a:hover { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.pdp-gallery .main { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; text-align: center; margin-bottom: 14px; }
.pdp-gallery .main img { height: 340px; margin: 0 auto; object-fit: contain; }
.pdp-gallery .thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-gallery .thumbs button { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; background: #fff; width: 76px; height: 76px; }
.pdp-gallery .thumbs button.active { border-color: var(--primary); }
.pdp-gallery .thumbs img { height: 100%; object-fit: contain; }
.pdp h1 { font-size: 26px; margin-bottom: 10px; }
.pdp .pdp-price { font-size: 30px; color: var(--danger); font-weight: 600; margin: 14px 0; }
.pdp .pdp-price .was { font-size: 18px; color: var(--muted); text-decoration: line-through; margin-left: 10px; font-weight: 400; }
.pdp .meta-list { font-size: 13px; margin: 16px 0; }
.pdp .meta-list div { margin-bottom: 6px; }
.pdp .meta-list b { color: var(--ink); display: inline-block; min-width: 110px; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.qty button { width: 38px; height: 44px; border: 0; background: var(--bg-soft); font-size: 16px; color: var(--ink); }
.qty input { width: 56px; border: 0; text-align: center; font-size: 15px; outline: none; }
.pdp-buy { display: flex; gap: 12px; align-items: center; margin: 18px 0; flex-wrap: wrap; }
.in-stock { color: var(--success); font-size: 13px; font-weight: 500; }

.tabs-block { background:#fff; border:1px solid var(--line); border-radius: var(--radius); margin-top: 24px; }
.tabs-nav { display: flex; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tabs-nav button { background: none; border: 0; padding: 16px 24px; font-size: 14px; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; }
.tabs-nav button.active { color: var(--ink); border-color: var(--primary); }
.tabs-body { padding: 24px 28px; font-size: 14px; }
.tabs-body .pane { display: none; }
.tabs-body .pane.active { display: block; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 10px 14px; border: 1px solid var(--line); font-size: 13px; }
.spec-table td:first-child { background: var(--bg-soft); color: var(--ink); width: 220px; font-weight: 500; }

/* ============================================================
   CART & CHECKOUT
   ============================================================ */
.cart-table { width: 100%; border-collapse: collapse; background:#fff; border:1px solid var(--line); }
.cart-table th { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 12px; text-transform: uppercase; color: var(--muted); }
.cart-table td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-prod { display: flex; align-items: center; gap: 14px; }
.cart-prod img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius); }
.cart-prod a { color: var(--ink); }
.cart-remove { color: var(--muted); background: none; border: 0; font-size: 16px; }
.cart-remove:hover { color: var(--danger); }
.cart-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 16px; }
.cart-summary h4 { text-transform: uppercase; font-size: 15px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 18px; color: var(--ink); font-weight: 600; }
.empty-state { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 60px 20px; text-align: center; color: var(--muted); }
.empty-state .fa { font-size: 60px; color: var(--line); margin-bottom: 16px; }

.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; color: var(--ink); margin-bottom: 6px; font-weight: 500; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 14px; font-size: 14px; outline: none; font-family: inherit;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--primary-dark); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.panel h3 { font-size: 16px; text-transform: uppercase; margin-bottom: 18px; }

/* account tabs */
.auth-tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.auth-tabs button { flex: 1; padding: 14px; border: 1px solid var(--line); background: var(--bg-soft); border-radius: var(--radius); font-size: 15px; color: var(--muted); }
.auth-tabs button.active { background: #fff; color: var(--ink); border-bottom: 3px solid var(--primary); }

/* ============================================================
   TOAST
   ============================================================ */
.toast-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; }
.toast2 {
  background: var(--bg-dark); color: #fff; padding: 14px 18px; border-radius: var(--radius);
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; min-width: 260px; max-width: 90vw;
  animation: slideIn .25s ease;
}
.toast2 .fa { color: var(--success); font-size: 18px; }
@keyframes slideIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ============================================================
   MOBILE SLIDE-IN MENU (Bootstrap offcanvas)
   ============================================================ */
.offcanvas .list-group-item { border: 0; border-bottom: 1px solid var(--line); padding: 13px 4px; font-weight: 500; color: var(--ink); background: transparent; }
.offcanvas .list-group-item .fa { width: 22px; color: var(--muted); }
.offcanvas .ocm-label { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin: 18px 0 6px; }
.offcanvas .dept-link { font-weight: 400; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2,1fr); }
  .cat-tiles { grid-template-columns: repeat(3,1fr); }
  .brand-strip { grid-template-columns: repeat(3,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .feature-strip { grid-template-columns: repeat(2,1fr); }
  .hero-row { grid-template-columns: 1fr; }
  .hero-dept { display: none; }
  .shop-layout { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .header-search { order: 3; flex-basis: 100%; }
  .header-main { flex-wrap: wrap; }

  /* mobile nav swap */
  .mobile-hamb { display: inline-flex; }
  .primary-nav { display: none; }
  .product-actions { opacity: 1; transform: none; }   /* always tappable on touch */
  .product-card .thumb img { height: 140px; }
  .hero-slide { min-height: 300px; }
  .sec-head { gap: 12px; }
  .sec-head h2 { font-size: 19px; }
  .newsletter form { flex-basis: 100%; max-width: none; margin-left: 0; }
}

/* touch devices (no hover) — reveal product actions regardless of width */
@media (hover: none) {
  .product-actions { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 575px) {
  .product-grid, .product-grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .cat-tiles { grid-template-columns: repeat(2,1fr); }
  .brand-strip { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .hero-title { font-size: 24px; }
  .hero-slide { padding: 24px 20px; min-height: auto; }
  .hero-slide .visual { display: none; }
  .hero-sub { font-size: 14px; }
  .nav-links { display: none; }
  .topbar .inner ul.left { display: none; }
  .topbar { font-size: 11px; }
  .header-main { gap: 12px; row-gap: 12px; }
  .brand .logo-text { font-size: 22px; }
  .header-actions { gap: 14px; }
  .header-action .ic { font-size: 20px; }
  .product-card.list-view { grid-template-columns: 1fr; }
  .product-card { padding: 14px; }
  .product-card .name { min-height: 36px; font-size: 13px; }
  .product-card .price { font-size: 16px; }
  .feature-strip .feat { padding: 14px; gap: 10px; }
  .feature-strip .fa { font-size: 24px; }
  .countdown .cell { min-width: 40px; }
  .pdp { padding: 18px; }
  .pdp-gallery .main img { height: 230px; }
  .promo { min-height: 150px; padding: 22px; }
  .promo .promo-visual { max-height: 100px; }
  .page-title { font-size: 20px; }
  .section-pad { padding: 22px 0; }
}

/* ============================================================
   OVERFLOW-SAFE GRIDS + SMOOTH TRANSITIONS + LOGO  (mobile fix)
   minmax(0,1fr) lets tracks shrink below content so grids never
   push past the viewport on phones.
   ============================================================ */
html { max-width: 100%; overflow-x: hidden; }

.product-grid              { grid-template-columns: repeat(4, minmax(0,1fr)); }
.product-grid.cols-3       { grid-template-columns: repeat(3, minmax(0,1fr)); }
.feature-strip             { grid-template-columns: repeat(4, minmax(0,1fr)); }
.cat-tiles                 { grid-template-columns: repeat(6, minmax(0,1fr)); }
.brand-strip               { grid-template-columns: repeat(6, minmax(0,1fr)); }

.product-card, .feature-strip .feat, .feature-strip .feat > div,
.cat-tile, .product-actions, .product-actions .btn-add { min-width: 0; }
.product-card .name, .feature-strip strong, .feature-strip small,
.cat-tile span { overflow-wrap: anywhere; }

@media (max-width: 991px) {
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cat-tiles   { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .brand-strip { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .feature-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-slide  { flex-wrap: wrap; }
}
@media (max-width: 575px) {
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cat-tiles   { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .brand-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .product-actions { flex-wrap: wrap; }
  .product-actions .btn-add { flex: 1 1 100%; }
  .product-actions .icon-btn { display: none; }   /* declutter; wishlist stays on product page */
  .feature-strip .feat { padding: 12px; }
  .feature-strip strong { font-size: 12px; line-height: 1.3; }
  .feature-strip small  { font-size: 11px; }
}

/* ---- smoother transitions everywhere ---- */
.btn, .icon-btn, .cat-tile, .product-card, .header-action, .nav-links > li > a,
.dept-menu li > a, .footer-social a, .brand-strip .b, .pagination2 a,
.list-group-item, .search-box button, .qty button {
  transition: color .2s ease, background-color .2s ease, border-color .2s ease,
              box-shadow .25s ease, transform .18s ease;
}
.product-card:hover { transform: translateY(-4px); }
.cat-tile:hover     { transform: translateY(-3px); }
.btn-y:hover, .btn-dark2:hover { transform: translateY(-1px); }
.footer-social a:hover { transform: translateY(-2px); }
.offcanvas { transition: transform .32s cubic-bezier(.4,0,.2,1); }
.carousel-item { transition: transform .6s ease, opacity .6s ease; }

/* ---- logo mark rendered from SVG image ---- */
img.logo-mark { display: block; width: 42px; height: 42px; background: none; border-radius: 0; padding: 0; object-fit: contain; }

/* ============================================================
   LIVE SEARCH AUTOCOMPLETE
   ============================================================ */
.header-search { position: relative; }
.search-suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 70;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; display: none;
}
.search-suggest.open { display: block; }
.search-suggest a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #f2f2f2; color: var(--ink); }
.search-suggest a:last-child { border-bottom: 0; }
.search-suggest a:hover { background: var(--bg-soft); }
.search-suggest img { width: 42px; height: 42px; object-fit: contain; border: 1px solid var(--line); border-radius: 4px; }
.search-suggest .s-name { flex: 1; font-size: 13px; min-width: 0; }
.search-suggest .s-name small { display: block; color: var(--muted); font-size: 11px; }
.search-suggest .s-price { font-weight: 600; color: var(--ink); font-size: 13px; white-space: nowrap; }
.search-suggest .s-more { text-align: center; font-size: 13px; color: var(--primary-dark); font-weight: 500; background: var(--bg-soft); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-top {
  position: fixed; bottom: 20px; right: 20px; z-index: 1500;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--primary); color: var(--primary-ink); font-size: 18px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: .25s ease;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--primary-dark); }

/* ============================================================
   QUICK VIEW MODAL
   ============================================================ */
.qv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.qv-grid .qv-img { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; place-items: center; }
.qv-grid .qv-img img { max-height: 240px; object-fit: contain; }
.qv-grid h3 { font-size: 20px; }
.qv-price { font-size: 24px; color: var(--danger); font-weight: 600; margin: 10px 0; }
.qv-price .was { font-size: 15px; color: var(--muted); text-decoration: line-through; margin-left: 8px; font-weight: 400; }
@media (max-width: 575px){ .qv-grid { grid-template-columns: 1fr; } .qv-grid .qv-img img { max-height: 180px; } }

/* ============================================================
   REVIEWS
   ============================================================ */
.rating-summary { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.rating-big { text-align: center; }
.rating-big .num { font-size: 44px; font-weight: 700; color: var(--ink); line-height: 1; }
.rating-bars { flex: 1; min-width: 220px; }
.rating-bar-row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.rating-bar-row .track { flex: 1; height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.rating-bar-row .fill { height: 100%; background: var(--primary); }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; font-size: 24px; }
.star-input input { display: none; }
.star-input label { color: #dcdcdc; cursor: pointer; transition: color .15s; }
.star-input input:checked ~ label,
.star-input label:hover, .star-input label:hover ~ label { color: var(--star); }

/* ============================================================
   RECENTLY VIEWED
   ============================================================ */
.rv-row { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 12px; }
@media (max-width:991px){ .rv-row { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width:575px){ .rv-row { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.rv-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 12px; text-align:center; }
.rv-card img { height: 80px; object-fit: contain; margin: 0 auto 8px; }
.rv-card .rv-name { font-size: 12px; color: var(--ink); display:block; margin-bottom: 4px; min-height: 32px; }
.rv-card .rv-price { font-size: 13px; font-weight: 600; color: var(--ink); }

/* ============================================================
   ADDRESS BOOK
   ============================================================ */
.addr-card { border:1px solid var(--line); border-radius: var(--radius); padding: 16px; position: relative; }
.addr-card.is-default { border-color: var(--primary); }
.addr-card .def-badge { position:absolute; top:10px; right:12px; background: var(--primary); color: var(--primary-ink); font-size:10px; font-weight:600; padding:2px 8px; border-radius: 10px; }

/* ============================================================
   ELECTRO-STYLE HEADER MATCH
   Rounded pill search (input | category | yellow button) + white nav bar
   ============================================================ */
.search-box { border-radius: 26px; overflow: hidden; }
.search-box input { height: 46px; padding-inline-start: 24px; }
.search-box select { border-right: 0; border-left: 1px solid var(--line); max-width: 170px; background: #fff; }
.search-box button { padding: 0 26px; font-size: 17px; }
.search-suggest { border-radius: 14px; }

/* white primary navigation (department button stays yellow) */
.primary-nav { background: #fff; border: 1px solid var(--line); border-top: 0; }
.nav-links > li > a { color: var(--ink); text-transform: none; font-weight: 500; font-size: 14px; }
.nav-links > li > a:hover, .nav-links > li.active > a { color: var(--primary-dark); }
.nav-right { color: #8a8f98; font-weight: 500; }
.nav-right .fa { color: var(--primary-dark); }
.dept-toggle { text-transform: none; font-weight: 600; }

/* keep the yellow cart badge prominent like the reference */
.header-action .ic .count-badge { border: 2px solid #fff; top: -9px; }

/* ============================================================
   PRODUCT IMAGE ZOOM (Amazon-style hover magnifier)
   ============================================================ */
.pdp-gallery .main.js-zoom { position: relative; overflow: hidden; cursor: crosshair; }
.pdp-gallery .main.js-zoom img { transition: transform .08s linear; transform-origin: center center; }
.pdp-gallery .main .zoom-hint {
  position: absolute; bottom: 10px; right: 12px; background: rgba(28,28,28,.72); color: #fff;
  font-size: 11px; padding: 4px 11px; border-radius: 20px; pointer-events: none; opacity: .9; z-index: 3;
}
.is-rtl .pdp-gallery .main .zoom-hint { right: auto; left: 12px; }
.pdp-gallery .main.js-zoom.zooming .zoom-hint { opacity: 0; }

/* thumbnails: show a clear active ring + hover */
.pdp-gallery .thumbs button { transition: border-color .15s, transform .15s; }
.pdp-gallery .thumbs button:hover { border-color: var(--primary-dark); transform: translateY(-2px); }

/* admin gallery manager thumbs */
.gallery-manage { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery-manage .gi { position: relative; width: 72px; height: 72px; border: 1px solid var(--line, #e4e4e4); border-radius: 6px; overflow: hidden; background:#fff; }
.gallery-manage .gi img { width: 100%; height: 100%; object-fit: contain; }
.gallery-manage .gi .rm { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: #ee4d2d; color: #fff; font-size: 12px; line-height: 1; display: grid; place-items: center; cursor: pointer; }
.gallery-manage .gi .mk { position: absolute; bottom: 0; left: 0; right: 0; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 9px; padding: 2px 0; cursor: pointer; }
.gallery-manage .gi.is-main .mk { background: #3fb911; }

/* ============================================================
   LOGO (mark only in header)
   ============================================================ */
img.logo-mark-lg { width: 50px; height: 50px; }

/* ============================================================
   PAGE PRELOADER
   ============================================================ */
#ls-preloader {
  position: fixed; inset: 0; z-index: 9999; background: #ffffff;
  display: grid; place-items: center; transition: opacity .45s ease, visibility .45s ease;
}
#ls-preloader.hidden { opacity: 0; visibility: hidden; }
#ls-preloader .lsp-inner { position: relative; display: grid; place-items: center; }
#ls-preloader img { animation: lsp-pulse 1.4s ease-in-out infinite; }
#ls-preloader .lsp-spin {
  position: absolute; width: 92px; height: 92px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--primary); animation: lsp-rot .9s linear infinite;
}
@keyframes lsp-rot { to { transform: rotate(360deg); } }
@keyframes lsp-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(.88); } }

/* ============================================================
   TOP PROGRESS BAR
   ============================================================ */
.ls-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 10000;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  box-shadow: 0 0 8px rgba(0,43,92,.5); opacity: 0; transition: width .2s ease, opacity .3s ease;
}
.ls-progress.active { opacity: 1; }

/* ============================================================
   SKELETON LOADING
   ============================================================ */
.skeleton {
  background: #eef0f2;
  background-image: linear-gradient(90deg, #eef0f2 0px, #f7f8fa 40px, #eef0f2 80px);
  background-size: 600px 100%;
  border-radius: 6px; animation: skeleton-shimmer 1.3s linear infinite;
}
@keyframes skeleton-shimmer { 0% { background-position: -200px 0; } 100% { background-position: 400px 0; } }
.skeleton-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:20px; }
.skeleton-card .sk-img { height:150px; margin-bottom:14px; }
.skeleton-card .sk-line { height:12px; margin-bottom:8px; }

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  #ls-preloader img, #ls-preloader .lsp-spin, .skeleton,
  [data-aos] { animation: none !important; transition: none !important; }
}

/* ============================================================
   FEATURE STRIP + DEALS POLISH
   ============================================================ */
.feature-strip { border-radius: 0 0 10px 10px; box-shadow: 0 6px 18px rgba(0,0,0,.04); }
.feature-strip .feat { gap: 16px; }
.feature-strip .feat .fa {
  width: 50px; height: 50px; flex: 0 0 auto; border-radius: 50%;
  background: #e7eef7; color: var(--primary); font-size: 22px;
  display: grid; place-items: center; transition: transform .2s ease, background .2s ease, color .2s ease;
}
.feature-strip .feat:hover .fa { transform: translateY(-3px) scale(1.05); background: var(--primary); color: #fff; }
.feature-strip strong { font-size: 15px; }

/* Deals header gets a soft highlighted bar */
.deals-head {
  background: linear-gradient(90deg, #eef3fa, #fff);
  border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px;
  display: flex; align-items: center; gap: 20px; margin-bottom: 20px; flex-wrap: wrap;
}
.deals-head h2 {
  font-size: 20px; font-weight: 700; text-transform: uppercase; margin: 0;
  display: flex; align-items: center; gap: 10px; color: var(--ink);
}
.deals-head h2 .fa { color: var(--danger); }
.deals-head .ends { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.deals-head .more { color: var(--muted); font-size: 13px; }
.deals-head .more:hover { color: var(--primary-dark); }
.is-rtl .deals-head .ends { margin-left: 0; margin-right: auto; }

/* Category tiles: nicer icon chip + lift */
.cat-tile { padding: 20px 10px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cat-tile img { height: 58px; transition: transform .25s ease; }
.cat-tile:hover img { transform: scale(1.08); }
.cat-tile span { font-weight: 500; }
@media (max-width: 575px){ .feature-strip .feat .fa { width: 42px; height: 42px; font-size: 18px; } }

/* ============================================================
   ACCOUNT NAV + MOBILE REFINEMENTS
   ============================================================ */
.account-nav a { justify-content: flex-start !important; gap: 8px; color: var(--body); }
.account-nav a:hover { color: var(--primary-dark); }

@media (max-width: 575px) {
  .deals-head { padding: 12px 14px; gap: 10px; }
  .deals-head h2 { font-size: 17px; }
  .deals-head .ends { width: 100%; margin-left: 0; justify-content: space-between; flex-wrap: wrap; }
  .is-rtl .deals-head .ends { margin-right: 0; }
  .panel { padding: 18px; }
  .auth-tabs button { font-size: 14px; padding: 12px; }
  .breadcrumb-bar { padding: 10px 0; }
  .pdp-buy .qty, .pdp-buy .btn { margin-bottom: 4px; }
  .cart-summary { margin-top: 16px; }
  .sec-head h2 { font-size: 18px; }
}

/* ============================================================
   HOMEPAGE SMOOTH POLISH
   ============================================================ */
/* product image gently scales on hover */
.product-card .thumb img { transition: transform .35s ease; }
.product-card:hover .thumb img { transform: scale(1.07); }

/* promo banners lift + visual parallax */
.promo { transition: transform .3s ease, box-shadow .3s ease; }
.promo:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.promo .promo-visual { transition: transform .4s ease; }
.promo:hover .promo-visual { transform: scale(1.08) rotate(-3deg); }

/* category tiles: smoother */
.cat-tile { transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease; }

/* section heading: subtle growing underline */
.sec-head h2 { transition: color .2s ease; }

/* newsletter: slow shimmering gradient */
.newsletter { background: linear-gradient(120deg, #002b5c, #013a77, #002b5c); background-size: 220% 100%; animation: nlShift 9s ease-in-out infinite; }
@keyframes nlShift { 0%,100% { background-position: 0 0; } 50% { background-position: 100% 0; } }
.newsletter button { transition: transform .2s ease, color .2s ease, background .2s ease; }
.newsletter button:hover { transform: translateY(-2px); }

/* brand strip cells hover */
.brand-strip .b { transition: color .2s ease, background .2s ease, transform .2s ease; }
.brand-strip .b:hover { background: #eef3fa; transform: translateY(-2px); }

/* hero CTA buttons subtle pulse-ready */
.hero-slide .btn { transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.hero-slide .btn:hover { box-shadow: 0 8px 20px rgba(0,0,0,.14); }

/* countdown cells gentle */
.countdown .cell { transition: transform .2s ease; }
.deals-head:hover .countdown .cell { transform: translateY(-1px); }

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .newsletter { animation: none; }
  .product-card:hover .thumb img, .promo:hover .promo-visual { transform: none; }
}

/* ============================================================
   REELS — Watch & Shop (shoppable vertical videos)
   ============================================================ */
.reels-row { display:flex; gap:16px; overflow-x:auto; padding:4px 2px 16px; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; }
.reels-row::-webkit-scrollbar { height:8px; }
.reels-row::-webkit-scrollbar-thumb { background:var(--line); border-radius:4px; }
.reel-card { flex:0 0 auto; width:212px; aspect-ratio:9/16; border-radius:16px; overflow:hidden; position:relative; background:#111; scroll-snap-align:start; box-shadow:0 6px 18px rgba(0,0,0,.12); transition:transform .25s ease, box-shadow .25s ease; }
.reel-card:hover { transform:translateY(-4px); box-shadow:0 14px 30px rgba(0,0,0,.2); }
.reel-card video { width:100%; height:100%; object-fit:cover; display:block; }
.reel-overlay { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end; color:#fff; text-decoration:none; padding:12px; background:linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.12) 45%, rgba(0,0,0,0) 72%); }
.reel-play { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:50px; height:50px; border-radius:50%; background:rgba(255,255,255,.92); color:#1c1c1c; display:grid; place-items:center; font-size:16px; transition:.25s ease; }
.reel-card:hover .reel-play, .reel-card.playing .reel-play { opacity:0; transform:translate(-50%,-50%) scale(.6); }
.reel-info { display:flex; flex-direction:column; gap:3px; }
.reel-title { font-size:13px; font-weight:600; line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.reel-prod { font-size:12px; opacity:.92; }
.reel-cta { display:inline-block; margin-top:7px; background:var(--primary); color:var(--primary-ink); font-size:12px; font-weight:700; padding:5px 12px; border-radius:20px; align-self:flex-start; }
@media (max-width:575px){ .reel-card { width:152px; border-radius:14px; } }

/* ============================================================
   PRODUCT PAGE — savings, urgency, delivery, share
   ============================================================ */
.pdp-price .save-badge { display:inline-block; background:var(--danger); color:#fff; font-size:13px; font-weight:700; padding:2px 10px; border-radius:20px; margin-left:8px; vertical-align:middle; }
.stock-urgency { display:inline-flex; align-items:center; gap:8px; background:#fff4e5; color:#b5651d; border:1px solid #ffd9a8; padding:8px 14px; border-radius:8px; font-size:13px; font-weight:600; margin:4px 0 10px; }
.pdp-deliver { background:var(--bg-soft); border:1px solid var(--line); border-radius:8px; padding:10px 14px; font-size:13px; color:var(--ink); margin-bottom:14px; }
.pdp-deliver .fa { color:var(--primary-dark); margin-inline-end:6px; }
.pdp-share { display:flex; align-items:center; gap:8px; margin-top:16px; }
.pdp-share .sh { width:36px; height:36px; border-radius:50%; display:grid; place-items:center; border:1px solid var(--line); background:#fff; color:var(--ink); transition:.15s ease; font-size:14px; }
.pdp-share .sh:hover { transform:translateY(-2px); }
.pdp-share .sh.wa:hover { background:#25d366; color:#fff; border-color:#25d366; }
.pdp-share .sh.fb:hover { background:#1877f2; color:#fff; border-color:#1877f2; }
.pdp-share .sh.x:hover { background:#000; color:#fff; border-color:#000; }
.pdp-share .sh.cp:hover { background:var(--primary); color:var(--primary-ink); border-color:var(--primary); }

/* ============================================================
   CUSTOMER DASHBOARD
   ============================================================ */
.acct-hero { background:linear-gradient(120deg,#1c1c1c,#2d333b); color:#fff; border-radius:14px; padding:24px 26px; margin-bottom:18px; position:relative; overflow:hidden; }
.acct-hero::after { content:""; position:absolute; right:-30px; top:-30px; width:150px; height:150px; background:radial-gradient(circle,rgba(60,110,170,.45),transparent 70%); }
.is-rtl .acct-hero::after { right:auto; left:-30px; }
.acct-hero h2 { color:#fff; margin:0 0 4px; font-size:22px; }
.acct-hero p { margin:0; color:#c7ccd3; font-size:14px; }
.acct-stat { background:#fff; border:1px solid var(--line); border-radius:12px; padding:20px; text-align:center; transition:transform .2s ease, box-shadow .2s ease; height:100%; }
.acct-stat:hover { transform:translateY(-3px); box-shadow:var(--shadow); }
.acct-stat .ic { width:52px; height:52px; border-radius:14px; display:grid; place-items:center; margin:0 auto 10px; font-size:22px; }
.acct-stat h3 { margin:0; font-size:26px; color:var(--ink); }
.acct-stat small { color:var(--muted); }
.acct-quick a { display:flex; align-items:center; gap:12px; padding:14px 16px; border:1px solid var(--line); border-radius:10px; color:var(--ink); background:#fff; transition:.18s ease; }
.acct-quick a:hover { border-color:var(--primary); background:#f3f7fc; transform:translateY(-2px); }
.acct-quick a .fa { width:22px; color:var(--primary-dark); font-size:17px; }

/* ---- live order tracker ---- */
.acct-track { background:#fff; border:1px solid var(--line); border-radius:14px; padding:18px 20px; margin-bottom:18px; box-shadow:0 2px 10px rgba(0,43,92,.05); }
.acct-track .at-head { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:18px; }
.acct-track .at-eyebrow { display:block; font-size:11px; text-transform:uppercase; letter-spacing:.6px; color:var(--muted); margin-bottom:2px; }
.acct-track .at-head strong { font-size:16px; color:var(--ink); }
.acct-track .at-total { margin-inline-start:10px; font-weight:700; color:var(--primary); }
.acct-track .at-view { font-size:13px; font-weight:600; color:var(--primary); white-space:nowrap; }
.acct-track .at-steps { display:flex; position:relative; }
.acct-track .at-step { flex:1; text-align:center; position:relative; }
.acct-track .at-step::before { content:""; position:absolute; top:17px; inset-inline-start:-50%; width:100%; height:3px; background:var(--line); z-index:0; }
.acct-track .at-step:first-child::before { display:none; }
.acct-track .at-step .dot { position:relative; z-index:1; width:36px; height:36px; border-radius:50%; display:grid; place-items:center; margin:0 auto 7px; background:#eef1f5; color:#9aa3ad; font-size:14px; border:2px solid #eef1f5; transition:.25s ease; }
.acct-track .at-step .lbl { font-size:12px; color:var(--muted); }
.acct-track .at-step.done .dot, .acct-track .at-step.current .dot { background:var(--primary); color:#fff; border-color:var(--primary); }
.acct-track .at-step.done::before, .acct-track .at-step.current::before { background:var(--primary); }
.acct-track .at-step.current .dot { box-shadow:0 0 0 5px rgba(0,43,92,.12); }
.acct-track .at-step.current .lbl { color:var(--ink); font-weight:700; }
.acct-track .at-tracking { margin-top:16px; padding-top:13px; border-top:1px dashed var(--line); font-size:13px; color:var(--ink); }
.acct-track .at-tracking i { color:var(--primary); margin-inline-end:4px; }

/* ---- keep-shopping prompt ---- */
.acct-cta { margin-top:18px; display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
  background:linear-gradient(120deg,#002b5c,#013a77); color:#fff; border-radius:14px; padding:18px 22px; }
.acct-cta strong { display:block; font-size:16px; }
.acct-cta span { color:#c7d6ea; font-size:13px; }
@media (max-width:575px){ .acct-track .at-step .lbl { font-size:10px; } .acct-cta { text-align:center; justify-content:center; } }

/* ---- loyalty / rewards ---- */
.loy-box { background:#f3f7fc; border:1px solid #d9e4f2; border-radius:10px; padding:12px 14px; margin-bottom:12px; font-size:13px; }
.loy-box .loy-head { color:var(--ink); }
.loy-box .loy-head i { color:#b8860b; margin-inline-end:4px; }
.loy-box .loy-apply { display:inline-block; margin-top:6px; font-weight:700; color:var(--primary); }
.loy-box .loy-applied { margin-top:6px; color:#1a7f3c; font-weight:600; }
.loy-box .loy-applied a { margin-inline-start:8px; color:#c0392b; font-weight:600; }
.loy-earn { margin-top:8px; font-size:12.5px; color:#8a6d00; background:#fff7e0; border-radius:8px; padding:7px 10px; text-align:center; }
.loy-earn i { color:#e0a800; }
.rewards-hero { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px;
  background:linear-gradient(120deg,#002b5c,#013a77); color:#fff; border-radius:14px; padding:22px 24px; overflow:hidden; }
.rewards-hero .rh-bal span { display:block; font-size:13px; color:#c7d6ea; }
.rewards-hero .rh-bal b { font-size:34px; line-height:1.1; display:block; }
.rewards-hero .rh-bal small { color:#c7d6ea; }
.rewards-hero .rh-ico { font-size:58px; color:rgba(255,255,255,.25); }
.rewards-how { list-style:none; padding:0; margin:0; display:grid; gap:10px; }
.rewards-how li { display:flex; align-items:center; gap:10px; font-size:14px; color:var(--ink); }
.rewards-how li i { width:30px; height:30px; border-radius:8px; background:#e7eef7; color:var(--primary); display:grid; place-items:center; flex:0 0 auto; }

/* ---- connected accounts ---- */
.conn-row { display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
  border:1px solid var(--line); border-radius:12px; padding:14px 16px; }
.conn-left { display:flex; align-items:center; gap:12px; }
.conn-ic { width:44px; height:44px; border-radius:10px; background:#f3f5f8; display:grid; place-items:center; font-size:20px; color:#4285F4; flex:0 0 auto; }
.conn-right { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-cats { display:flex; flex-wrap:wrap; gap:8px; }
.blog-cats a { padding:7px 16px; border:1px solid var(--line); border-radius:999px; font-size:13px; color:var(--ink); background:#fff; transition:.15s; }
.blog-cats a:hover { border-color:var(--primary); color:var(--primary); }
.blog-cats a.active { background:var(--primary); color:#fff; border-color:var(--primary); }
.blog-card { display:block; background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; height:100%; color:var(--ink); transition:transform .2s ease, box-shadow .2s ease; }
.blog-card:hover { transform:translateY(-4px); box-shadow:0 10px 28px rgba(0,43,92,.1); color:var(--ink); }
.blog-card .bc-img { aspect-ratio:16/10; overflow:hidden; background:#f3f5f8; }
.blog-card .bc-img img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.blog-card:hover .bc-img img { transform:scale(1.05); }
.blog-card .bc-body { padding:16px 18px; }
.bc-cat { display:inline-block; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; color:var(--primary); background:#e7eef7; padding:3px 10px; border-radius:999px; margin-bottom:8px; }
.blog-card h3 { font-size:17px; line-height:1.35; margin:4px 0 8px; color:var(--ink); }
.blog-card p { font-size:13.5px; color:var(--muted); line-height:1.6; margin:0 0 10px; }
.bc-meta { font-size:12px; color:var(--muted); }
.bc-meta i { margin-inline-end:4px; }
/* article */
.blog-article .ba-title { font-size:30px; line-height:1.25; margin:10px 0 10px; }
.blog-article .ba-meta { color:var(--muted); font-size:13px; margin-bottom:18px; }
.blog-article .ba-cover { border-radius:14px; overflow:hidden; margin-bottom:24px; }
.blog-article .ba-cover img { width:100%; max-height:440px; object-fit:cover; }
.ba-body { font-size:16px; line-height:1.85; color:#33373f; }
.ba-body h2 { font-size:24px; margin:28px 0 12px; color:var(--ink); }
.ba-body h3 { font-size:20px; margin:22px 0 10px; color:var(--ink); }
.ba-body p { margin:0 0 16px; }
.ba-body img { max-width:100%; height:auto; border-radius:10px; margin:14px 0; }
.ba-body ul, .ba-body ol { margin:0 0 16px; padding-inline-start:22px; }
.ba-body li { margin-bottom:6px; }
.ba-body a { color:var(--primary); text-decoration:underline; }
.ba-body blockquote { border-inline-start:4px solid var(--primary); background:#f7f9fc; margin:18px 0; padding:12px 18px; border-radius:0 8px 8px 0; color:#4b5057; }
.ba-share { display:flex; align-items:center; gap:10px; margin-top:28px; padding-top:18px; border-top:1px solid var(--line); font-size:14px; }
.ba-share a { width:38px; height:38px; border-radius:50%; display:grid; place-items:center; background:#f3f5f8; color:var(--ink); transition:.15s; }
.ba-share a:hover { background:var(--primary); color:#fff; }
@media (max-width:575px){ .blog-article .ba-title { font-size:24px; } }

/* ---- Google sign-in ---- */
.gsi-wrap { display:flex; justify-content:center; margin:4px 0 2px; }
.gsi-wrap > div { max-width:100%; }
.auth-or { display:flex; align-items:center; gap:12px; color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:1px; margin:14px 0 6px; }
.auth-or::before, .auth-or::after { content:""; flex:1; height:1px; background:var(--line); }

/* ---- custom dialog (replaces native alert) ---- */
.ls-dialog-overlay { position:fixed; inset:0; z-index:3000; background:rgba(14,22,40,.55); backdrop-filter:blur(2px);
  display:flex; align-items:center; justify-content:center; padding:18px; opacity:0; transition:opacity .2s ease; }
.ls-dialog-overlay.show { opacity:1; }
.ls-dialog { background:#fff; border-radius:16px; max-width:410px; width:100%; padding:30px 28px 22px; text-align:center;
  box-shadow:0 24px 60px rgba(0,0,0,.3); transform:translateY(14px) scale(.97); transition:transform .25s ease; }
.ls-dialog-overlay.show .ls-dialog { transform:none; }
.ls-dialog .lsd-ico { width:62px; height:62px; border-radius:50%; margin:0 auto 16px; display:grid; place-items:center; font-size:27px; }
.ls-dialog .lsd-ico.info { background:#e7eef7; color:#002b5c; }
.ls-dialog .lsd-ico.success { background:#e8f5ec; color:#1a7f3c; }
.ls-dialog .lsd-ico.error { background:#fdecee; color:#c0392b; }
.ls-dialog .lsd-ico.warning { background:#fff4e0; color:#b8860b; }
.ls-dialog h4 { margin:0 0 8px; font-size:19px; color:var(--ink); }
.ls-dialog p { margin:0 0 22px; font-size:14.5px; color:var(--muted); line-height:1.65; }
.ls-dialog .lsd-actions { display:flex; gap:10px; justify-content:center; }
.ls-dialog .lsd-actions .btn { min-width:120px; }

/* ============================================================
   MOBILE HEADER LAYOUT FIX (hamburger · logo · cart + full search)
   ============================================================ */
@media (max-width: 767px) {
  .header-main { flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 0; }
  .mobile-hamb { order: 1; width: 40px; height: 40px; font-size: 18px; }
  .brand { order: 2; margin-inline: auto; }           /* centre the logo */
  img.logo-mark-lg { width: 44px; height: 44px; }
  .header-actions { order: 3; gap: 10px; margin: 0; }
  .header-search { order: 4; flex: 0 0 100%; }
  .header-action .ic { position: relative; font-size: 19px; width: 42px; height: 42px;
    display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px;
    background: #fff; color: var(--primary); box-shadow: 0 1px 3px rgba(0,43,92,.06); }
  .header-action:active .ic { background: #f3f7fc; }
  .count-badge { top: -6px; }
}
@media (max-width: 575px) {
  .header-main { gap: 8px; }
  img.logo-mark-lg { width: 42px; height: 42px; }
}

/* ============================================================
   TRUST STATS BAND
   ============================================================ */
.stats-band { background: linear-gradient(120deg,#002b5c,#013a77); color:#fff; padding:26px 0; margin-top:10px; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.stat-cell { display:flex; align-items:center; gap:14px; justify-content:center; padding:6px 10px; border-right:1px solid rgba(255,255,255,.12); }
.stat-cell:last-child { border-right:0; }
.stat-cell .fa { font-size:30px; color:#bcd0ea; }
.stat-cell b { font-size:28px; display:block; line-height:1; font-weight:700; }
.stat-cell span { font-size:13px; color:#c7d3e4; }
@media (max-width:767px){ .stats-grid { grid-template-columns:repeat(2,1fr); gap:18px; } .stat-cell:nth-child(2){border-right:0;} .stat-cell .fa{font-size:24px} .stat-cell b{font-size:22px} }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tst-row { display:flex; gap:16px; overflow-x:auto; padding:4px 2px 14px; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; }
.tst-row::-webkit-scrollbar{height:8px}.tst-row::-webkit-scrollbar-thumb{background:var(--line);border-radius:4px}
.tst-card { flex:0 0 330px; max-width:86%; background:#fff; border:1px solid var(--line); border-radius:14px; padding:20px; scroll-snap-align:start; box-shadow:var(--shadow-sm); }
.tst-body { color:var(--ink); font-size:14px; line-height:1.65; min-height:72px; }
.tst-meta { display:flex; align-items:center; gap:10px; margin-top:12px; padding-top:12px; border-top:1px solid var(--line); }
.tst-avatar { width:40px; height:40px; border-radius:50%; background:#e7eef7; color:var(--primary); display:grid; place-items:center; font-weight:700; flex:0 0 auto; }
.tst-meta strong { font-size:14px; color:var(--ink); display:block; }
.tst-prod { font-size:12px; color:var(--muted); }
.tst-verified { color:var(--success); margin-left:auto; font-size:15px; }
.is-rtl .tst-verified { margin-left:0; margin-right:auto; }
@media (max-width:575px){ .tst-card { flex-basis:280px; } }

/* ============================================================
   APP-STYLE MOBILE BOTTOM NAV
   ============================================================ */
.mobile-bottom-nav { display:none; }
@media (max-width:991px){
  .mobile-bottom-nav { display:flex; position:fixed; bottom:0; left:0; right:0; z-index:1200; background:#fff; border-top:1px solid var(--line); box-shadow:0 -4px 16px rgba(0,0,0,.07); padding:6px 2px; justify-content:space-around; }
  .mobile-bottom-nav a { flex:1; display:flex; flex-direction:column; align-items:center; gap:3px; color:var(--muted); font-size:10px; text-decoration:none; position:relative; padding:4px 0; transition:color .15s; }
  .mobile-bottom-nav a .fa { font-size:18px; }
  .mobile-bottom-nav a:hover, .mobile-bottom-nav a:active { color:var(--primary); }
  .mbn-cart .mbn-badge { position:absolute; top:-2px; right:26%; background:var(--primary); color:#fff; font-size:9px; font-weight:700; min-width:15px; height:15px; border-radius:8px; display:grid; place-items:center; padding:0 3px; }
  body { padding-bottom:62px; }
  .back-top { bottom:72px; }
  .toast-wrap { bottom:72px; }
}

/* ============================================================
   CART SLIDE-OUT DRAWER + free-shipping progress
   ============================================================ */
.cart-drawer-overlay { position:fixed; inset:0; background:rgba(15,20,35,.5); opacity:0; visibility:hidden; transition:.25s; z-index:1400; }
.cart-drawer-overlay.show { opacity:1; visibility:visible; }
.cart-drawer { position:fixed; top:0; right:0; height:100%; width:390px; max-width:92vw; background:#fff; z-index:1401; display:flex; flex-direction:column; transform:translateX(105%); transition:transform .3s cubic-bezier(.4,0,.2,1); box-shadow:-10px 0 40px rgba(0,0,0,.18); }
.cart-drawer.open { transform:none; }
.is-rtl .cart-drawer { right:auto; left:0; transform:translateX(-105%); box-shadow:10px 0 40px rgba(0,0,0,.18); }
.is-rtl .cart-drawer.open { transform:none; }
body.cd-lock { overflow:hidden; }
.cart-drawer .cd-head { display:flex; align-items:center; justify-content:space-between; padding:16px 20px; border-bottom:1px solid var(--line); }
.cart-drawer .cd-head h4 { margin:0; font-size:17px; }
.cart-drawer .cd-close { background:none; border:0; font-size:20px; color:var(--muted); cursor:pointer; }
.cart-drawer .cd-close:hover { color:var(--ink); }
.cart-drawer .cd-body { flex:1; overflow-y:auto; display:flex; flex-direction:column; }
.cd-empty { text-align:center; color:var(--muted); padding:60px 20px; }
.cd-empty .fa { font-size:50px; color:var(--line); margin-bottom:14px; }
.cd-ship { padding:14px 20px; background:var(--bg-soft); border-bottom:1px solid var(--line); }
.cd-ship-msg { font-size:13px; color:var(--ink); margin-bottom:8px; }
.cd-ship-msg.ok { color:var(--success); font-weight:600; }
.cd-bar { height:7px; background:#e3e6ef; border-radius:5px; overflow:hidden; }
.cd-bar span { display:block; height:100%; background:linear-gradient(90deg,var(--primary),var(--primary-dark)); transition:width .4s ease; }
.cd-items { padding:6px 0; flex:1; }
.cd-item { display:flex; gap:12px; padding:12px 20px; border-bottom:1px solid #f1f2f6; position:relative; }
.cd-item img { width:62px; height:62px; object-fit:contain; border:1px solid var(--line); border-radius:8px; flex:0 0 auto; }
.cd-info { flex:1; min-width:0; }
.cd-name { font-size:13px; color:var(--ink); display:block; line-height:1.4; }
.cd-price { font-size:13px; font-weight:600; color:var(--primary-dark); margin:3px 0 6px; }
.cd-qty { display:inline-flex; align-items:center; border:1px solid var(--line); border-radius:6px; overflow:hidden; }
.cd-qty button { width:28px; height:28px; border:0; background:var(--bg-soft); font-size:15px; color:var(--ink); cursor:pointer; }
.cd-qty span { min-width:34px; text-align:center; font-size:13px; }
.cd-remove { position:absolute; top:12px; right:16px; background:none; border:0; color:var(--muted); font-size:15px; cursor:pointer; }
.is-rtl .cd-remove { right:auto; left:16px; }
.cd-remove:hover { color:var(--danger); }
.cd-foot { padding:16px 20px; border-top:1px solid var(--line); background:#fff; }
.cd-sub { display:flex; justify-content:space-between; font-size:15px; margin-bottom:12px; }
.cd-sub strong { font-size:18px; color:var(--ink); }

/* ============================================================
   COOKIE CONSENT BAR
   ============================================================ */
.cookie-bar { position:fixed; left:16px; right:16px; bottom:16px; z-index:1500; background:var(--bg-dark); color:#e7eaf0; border-radius:12px; padding:14px 18px; display:none; align-items:center; gap:16px; box-shadow:0 10px 30px rgba(0,0,0,.25); max-width:720px; margin:0 auto; }
.cookie-bar.show { display:flex; animation:slideIn .3s ease; }
.cookie-bar span { font-size:13px; line-height:1.5; }
.cookie-bar a { color:var(--primary); text-decoration:underline; }
.cookie-bar .btn { flex:0 0 auto; }
@media (max-width:991px){ .cookie-bar { bottom:74px; } }
@media (max-width:575px){ .cookie-bar { flex-direction:column; align-items:stretch; text-align:center; } }

/* ---- floating WhatsApp button ---- */
.wa-float { position:fixed; bottom:22px; z-index:1400; width:54px; height:54px; border-radius:50%;
  background:#25d366; color:#fff; display:grid; place-items:center; font-size:28px;
  box-shadow:0 6px 18px rgba(37,211,102,.45); transition:transform .2s ease, box-shadow .2s ease; }
.wa-float { inset-inline-end:22px; }
.wa-float:hover { color:#fff; transform:scale(1.08); box-shadow:0 8px 22px rgba(37,211,102,.55); }
@media (max-width:991px){ .wa-float { bottom:78px; width:50px; height:50px; font-size:25px; } }

/* ---- newsletter sign-up pop-up ---- */
.news-pop { position:fixed; inset:0; z-index:1600; background:rgba(14,22,40,.55); backdrop-filter:blur(2px);
  display:none; align-items:center; justify-content:center; padding:18px; opacity:0; transition:opacity .25s ease; }
.news-pop.show { display:flex; opacity:1; }
.news-pop .np-card { position:relative; background:#fff; border-radius:18px; max-width:400px; width:100%;
  padding:34px 28px 24px; text-align:center; box-shadow:0 24px 60px rgba(0,0,0,.3);
  transform:translateY(16px) scale(.97); transition:transform .3s ease; }
.news-pop.show .np-card { transform:none; }
.np-card .np-close { position:absolute; top:12px; inset-inline-end:14px; background:none; border:0; font-size:20px; color:#9aa3ad; cursor:pointer; line-height:1; }
.np-card .np-close:hover { color:var(--ink); }
.np-card .np-badge { width:66px; height:66px; border-radius:50%; margin:0 auto 14px; display:grid; place-items:center;
  background:linear-gradient(135deg,#002b5c,#013a77); color:#fff; font-size:28px; box-shadow:0 8px 20px rgba(0,43,92,.3); }
.np-card h4 { margin:0 0 8px; font-size:21px; color:var(--ink); line-height:1.25; }
.np-card p { margin:0 0 18px; font-size:14px; color:var(--muted); line-height:1.6; }
.np-form { display:flex; gap:8px; }
.np-form input { flex:1; min-width:0; border:1px solid var(--line); border-radius:9px; padding:12px 14px; font-size:14px; }
.np-form input:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 3px rgba(0,43,92,.12); }
.np-form .btn { flex:0 0 auto; padding-inline:20px; }
.np-dismiss { margin-top:14px; background:none; border:0; color:#9aa3ad; font-size:12.5px; cursor:pointer; text-decoration:underline; }
.np-dismiss:hover { color:var(--muted); }
.np-success { padding:14px 0 4px; color:#1a7f3c; font-weight:600; }
.np-code { display:inline-flex; align-items:center; gap:10px; margin:2px 0 16px; padding:9px 16px; cursor:pointer;
  border:1.5px dashed var(--primary); border-radius:9px; background:#f3f7fc; color:var(--primary); font-weight:700; letter-spacing:1px; }
.np-code i { font-size:13px; opacity:.7; }
.np-code.copied { border-style:solid; background:#e8f5ec; border-color:#2e7d32; color:#1a7f3c; }
.np-linkbtn { display:inline-block; padding:12px 28px; }
@media (max-width:420px){ .np-form { flex-direction:column; } .np-form .btn { width:100%; } }

/* ============================================================
   MEGA-MENU (departments panel on desktop)
   ============================================================ */
@media (min-width:992px){
  .dept-wrap:hover .dept-menu:not(.dept-static){ display:grid; }
  .dept-menu.open:not(.dept-static){ display:grid; }
  .dept-menu:not(.dept-static){ width:540px; grid-template-columns:1fr 1fr; gap:2px; padding:10px; border-radius:0 0 12px 12px; }
  .dept-menu:not(.dept-static) li>a{ border-bottom:0; border-radius:8px; padding:11px 14px; }
  .dept-menu:not(.dept-static) li>a:hover{ background:#e7eef7; color:var(--primary-dark); }
  .dept-menu:not(.dept-static) .ic{ color:var(--primary); }
}

/* ============================================================
   COMPARE TABLE
   ============================================================ */
.compare-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:12px; background:#fff; }
.compare-table { width:100%; border-collapse:collapse; min-width:640px; }
.compare-table th, .compare-table td { border:1px solid var(--line); padding:12px 14px; text-align:center; vertical-align:middle; font-size:14px; }
.compare-table .cmp-attr { background:var(--bg-soft); text-align:left; font-weight:600; color:var(--ink); width:170px; position:sticky; left:0; z-index:1; }
.is-rtl .compare-table .cmp-attr { left:auto; right:0; text-align:right; }
.cmp-head td { position:relative; vertical-align:top; }
.cmp-img { height:92px; object-fit:contain; margin:0 auto 8px; }
.cmp-name { display:block; font-size:13px; color:var(--ink); }
.cmp-x { position:absolute; top:6px; right:8px; color:var(--muted); }
.is-rtl .cmp-x { right:auto; left:8px; }
.cmp-x:hover { color:var(--danger); }
.cmp-price { font-weight:700; color:var(--ink); }
.icon-btn.active { background:var(--primary); color:#fff; border-color:var(--primary); }

/* ============================================================
   PRODUCT TABS — advanced redesign
   ============================================================ */
.tabs-block { border:1px solid var(--line); border-radius:16px; overflow:hidden; box-shadow:0 4px 18px rgba(0,0,0,.04); }
.tabs-nav { background:var(--bg-soft); border-bottom:1px solid var(--line); padding:8px; gap:6px; }
.tabs-nav button { border-radius:10px; padding:12px 22px; font-weight:600; font-size:13.5px; color:var(--muted); border:0; display:inline-flex; align-items:center; gap:8px; transition:.18s ease; }
.tabs-nav button .fa { font-size:14px; }
.tabs-nav button:hover { color:var(--ink); background:#fff; }
.tabs-nav button.active { background:var(--primary); color:#fff; box-shadow:0 4px 12px rgba(0,43,92,.25); }
.tabs-body { padding:28px 30px; }
.tabs-body .pane { animation:tabFade .3s ease; }
@keyframes tabFade { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:none} }
.tabs-body .legal-body h4, .tabs-body h4 { color:var(--ink); }
/* spec table refresh */
.spec-table { border-radius:10px; overflow:hidden; border:1px solid var(--line); }
.spec-table td { border:0; border-bottom:1px solid var(--line); }
.spec-table tr:last-child td { border-bottom:0; }
.spec-table td:first-child { background:var(--bg-soft); font-weight:600; width:240px; }
.spec-table tr:hover td { background:#f3f6fb; }
.spec-table tr:hover td:first-child { background:#e9eef6; }
@media (max-width:575px){ .tabs-body { padding:20px 16px; } .tabs-nav button { padding:10px 14px; font-size:12.5px; } .spec-table td:first-child{width:auto} }

/* ============================================================
   BACK-IN-STOCK NOTIFY + INVOICE/PRINT
   ============================================================ */
.stock-notify { background:#eef3fa; border:1px solid #d6e1f0; border-radius:10px; padding:14px 16px; margin:14px 0; }
.stock-notify p { font-size:13.5px; color:var(--ink); }

/* ============================================================
   MOBILE OPTIMIZATION — consolidated polish + sticky buy bar
   ============================================================ */
.pdp-sticky { display: none; }
@media (max-width: 991px) {
  .pdp { grid-template-columns: 1fr; gap: 20px; padding: 18px; }
  .pdp-gallery .main img { height: 260px; }
}
@media (max-width: 767px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  img { max-width: 100%; height: auto; }
  main { padding-bottom: 76px; }                 /* room for bottom nav + sticky bar */
  .section-pad { padding-top: 24px; padding-bottom: 24px; }
  .container, .container-xl { padding-left: 14px; padding-right: 14px; }
  .page-title { font-size: 21px; }
  .section-title, h2.section-title { font-size: 19px; }
  .hero-title { font-size: 25px; line-height: 1.2; }
  .hero-sub { font-size: 13.5px; }
  .pdp-gallery .main img { height: 230px; }
  .pdp-price { font-size: 25px; }
  .pdp-buy .btn { flex: 1; }
  /* data tables scroll horizontally inside their wrapper */
  .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cart-table { min-width: 500px; }
  /* sticky add-to-cart bar (sits just above the app bottom nav) */
  .pdp-sticky {
    display: flex; align-items: center; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 56px; z-index: 1200;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(0,0,0,.08); padding: 10px 14px;
  }
  .pdp-sticky .ps-price { font-weight: 800; color: var(--primary); font-size: 18px; white-space: nowrap; }
  .pdp-sticky .btn { flex: 1; padding-top: 11px; padding-bottom: 11px; }
}
@media (max-width: 480px) {
  .hero-slide .visual img { max-height: 180px; }
  .btn { padding-left: 14px; padding-right: 14px; }
}

/* ---- mobile fixes: product buy buttons + hero controls ---- */
@media (max-width: 575px){
  .pdp-buy { gap: 10px; align-items: stretch; }
  .pdp-buy .qty { flex: 0 0 auto; align-self: center; }
  .pdp-buy .js-add-cart { flex: 1 1 auto; min-width: 0; white-space: nowrap; padding-left: 12px; padding-right: 12px; }
  .pdp-buy .js-buy-now  { flex: 1 1 100%; white-space: nowrap; }
  #heroCarousel .carousel-control-prev,
  #heroCarousel .carousel-control-next { display: none; }
  .meta-list { font-size: 13.5px; }
}

/* ===== Product variants (PDP) ===== */
.pdp-variants { margin: 14px 0; }
.pdp-variants .pv-label { color: #1c1c1c; }
.pv-chips { gap: 8px; }
.pv-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1.5px solid #e3e6ea; border-radius: 10px;
  background: #fff; cursor: pointer; font-size: 14px; font-weight: 500; color: #1c1c1c;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.pv-chip:hover { border-color: #f5a623; }
.pv-chip.active { border-color: #002b5c; background: #f3f7ff; box-shadow: 0 0 0 2px rgba(0,43,92,.12); }
.pv-chip .pv-chip-price { font-size: 12.5px; color: #6b7178; font-weight: 600; }
.pv-chip.oos { opacity: .5; cursor: not-allowed; text-decoration: line-through; }
[dir=rtl] .pv-chip { direction: rtl; }

/* ===== Saved for later ===== */
.saved-later h5 { font-size: 16px; }
.saved-card { transition: box-shadow .15s; }
.saved-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.07); }
.cd-variant { margin-top: 2px; }

/* ===== Homepage stats band ===== */
.stats-band {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 14px;
  background: linear-gradient(120deg,#002b5c,#01498f); border-radius: 16px;
  padding: 22px 18px; color: #fff;
}
.stats-band .stat { text-align: center; }
.stats-band .stat i { font-size: 20px; color: #f5a623; margin-bottom: 6px; display: block; }
.stats-band .stat b { display: block; font-size: 26px; font-weight: 800; line-height: 1.1; }
.stats-band .stat span { font-size: 12.5px; opacity: .85; }
@media (max-width: 575px){
  .stats-band { grid-template-columns: repeat(2,1fr); padding: 18px 12px; }
  .stats-band .stat b { font-size: 21px; }
}

/* ===== PDP delivery estimator ===== */
.pdp-ship {
  margin: 12px 0; padding: 12px 14px; border: 1px solid #e8ebef;
  border-radius: 12px; background: #fafbfc;
}
.pdp-ship-head { font-weight: 600; font-size: 13.5px; margin-bottom: 8px; color: #1c1c1c; }
.pdp-ship-head i { color: #002b5c; margin-inline-end: 4px; }
.pdp-ship .form-select { max-width: 280px; }
.pdp-ship-result { margin-top: 10px; font-size: 14px; }
.pdp-ship-result .ok { color: #1a8a4b; font-weight: 600; }
.pdp-ship-result .muted { color: #6b7178; font-size: 12.5px; }
.pdp-ship-result .eta { margin-top: 4px; color: #1c1c1c; }
.pdp-ship-result .eta i { color: #f5a623; margin-inline-end: 4px; }

/* ===== Sticky product gallery (desktop) ===== */
@media (min-width: 992px){
  .pdp { align-items: start; }
  .pdp-gallery { position: sticky; top: 90px; align-self: start; }
}

/* ===== Gallery expand button ===== */
.pdp-gallery .main { position: relative; }
.pdp-gallery .main img { cursor: zoom-in; }
.gallery-expand {
  position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.92); color: #002b5c; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.08); transition: transform .15s, background .15s;
}
.gallery-expand:hover { transform: scale(1.08); background: #fff; }

/* ===== Fullscreen lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column;
  align-items: center; justify-content: center; background: rgba(12,16,22,.94);
  -webkit-user-select: none; user-select: none;
}
.lightbox[hidden] { display: none; }
.lb-bar {
  position: absolute; top: 0; inset-inline: 0; display: flex; align-items: center;
  justify-content: space-between; padding: 14px 18px; color: #fff; z-index: 3;
}
.lb-counter { font-size: 14px; font-weight: 600; letter-spacing: .3px; opacity: .9; }
.lb-tools { display: flex; gap: 10px; }
.lb-tools button, .lb-nav {
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; font-size: 17px;
  display: inline-flex; align-items: center; justify-content: center; transition: background .15s;
}
.lb-tools button:hover, .lb-nav:hover { background: rgba(255,255,255,.26); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; }
.lb-prev { inset-inline-start: 16px; }
.lb-next { inset-inline-end: 16px; }
.lb-stage {
  flex: 1; width: 100%; display: flex; align-items: center; justify-content: center;
  padding: 70px 70px 110px; overflow: hidden;
}
.lb-stage img {
  max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .2s;
  cursor: zoom-in;
}
.lb-stage img.zoomed { transform: scale(2.2); cursor: zoom-out; }
.lb-thumbs {
  position: absolute; bottom: 14px; inset-inline: 0; display: flex; gap: 8px;
  justify-content: center; padding: 0 16px; overflow-x: auto; z-index: 3;
}
.lb-thumbs button {
  flex: 0 0 auto; width: 58px; height: 58px; border-radius: 8px; padding: 4px;
  background: rgba(255,255,255,.1); border: 2px solid transparent; cursor: pointer;
}
.lb-thumbs button.active { border-color: #f5a623; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 575px){
  .lb-stage { padding: 60px 12px 100px; }
  .lb-nav { width: 40px; height: 40px; }
  .lb-prev { inset-inline-start: 6px; } .lb-next { inset-inline-end: 6px; }
}
@media (prefers-reduced-motion: reduce){
  .lb-stage img, .gallery-expand, .lb-tools button, .lb-nav { transition: none; }
}

/* ===== Shop active-filter chips ===== */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.filter-chips .chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: #1c1c1c; text-decoration: none; transition: border-color .15s, background .15s;
}
.filter-chips .chip:hover { border-color: var(--primary); }
.filter-chips .chip i { font-size: 11px; color: var(--muted); }
.filter-chips .chip-clear { background: #fff4f1; border-color: #ffd9cf; color: #d9480f; font-weight: 600; }

/* ===== Product card hover (secondary image) ===== */
.product-card .thumb.has-hover { position: relative; }
.product-card .thumb.has-hover a { display: block; position: relative; }
.product-card .thumb.has-hover .img2 {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.product-card:hover .thumb.has-hover .img2 { opacity: 1; }
.product-card:hover .thumb.has-hover .img1 { opacity: 0; transition: opacity .3s ease; }

/* ===== Skeleton loading ===== */
.skeleton {
  background: linear-gradient(90deg,#eef1f4 25%,#e3e7ec 37%,#eef1f4 63%);
  background-size: 400% 100%; border-radius: 8px; animation: skshimmer 1.3s ease-in-out infinite;
}
@keyframes skshimmer { 0%{background-position:100% 0} 100%{background-position:-100% 0} }
.sk-line { height: 12px; margin: 8px 0; }
.sk-img { height: 180px; }
@media (prefers-reduced-motion: reduce){ .skeleton { animation: none; } }

/* ===== Frequently bought together ===== */
.fbt {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius, 12px); padding: 20px 24px;
}
.fbt-items { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.fbt-card {
  width: 150px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px; transition: box-shadow .15s, border-color .15s;
}
.fbt-card:hover { box-shadow: 0 6px 16px rgba(0,0,0,.08); border-color: var(--primary); }
.fbt-card.is-current { border-color: var(--primary); background: #f3f7ff; }
.fbt-card img { height: 92px; object-fit: contain; margin-bottom: 8px; }
.fbt-name { font-size: 12.5px; line-height: 1.3; min-height: 2.6em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fbt-price { font-weight: 700; font-size: 14px; margin-top: 4px; color: var(--danger); }
.fbt-plus { display: flex; align-items: center; color: var(--muted); font-size: 16px; padding: 0 2px; align-self: center; }
.fbt-buy { min-width: 220px; flex: 1 1 220px; max-width: 280px; }
.fbt-total { display: flex; flex-direction: column; margin-bottom: 10px; }
.fbt-total strong { font-size: 22px; color: var(--ink); }
@media (max-width: 575px){
  .fbt { padding: 16px; }
  .fbt-card { width: calc(50% - 20px); }
  .fbt-buy { max-width: none; }
}

/* ===== Recent searches dropdown ===== */
.search-suggest .s-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.search-suggest .s-clear { border: 0; background: none; color: var(--primary); font-size: 12px; font-weight: 600; cursor: pointer; }
.search-suggest .s-recent { display: flex; align-items: center; gap: 10px; padding: 9px 14px; color: var(--ink); }
.search-suggest .s-recent > i { color: var(--muted); font-size: 13px; }
.search-suggest .s-recent .s-name { flex: 1; }
.search-suggest .s-recent .s-rm { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 2px 6px; }
.search-suggest .s-recent:hover { background: var(--bg-soft, #f5f6fb); }

/* ===== Mobile filter bottom-sheet ===== */
.filter-sheet-head { display: none; }
.filter-backdrop { display: none; }
@media (max-width: 991px){
  #shopFilters {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 1300; max-height: 85vh; overflow-y: auto;
    background: var(--bg, #fff); border-top-left-radius: 18px; border-top-right-radius: 18px;
    box-shadow: 0 -12px 40px rgba(0,0,0,.22); padding: 0 16px 20px; transform: translateY(100%);
    transition: transform .28s cubic-bezier(.22,.61,.36,1); visibility: hidden;
  }
  #shopFilters.open { transform: translateY(0); visibility: visible; }
  .filter-sheet-head {
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; background: var(--bg, #fff); padding: 16px 2px 12px; margin-bottom: 4px;
    border-bottom: 1px solid var(--line); font-size: 16px; z-index: 2;
  }
  .filter-sheet-head::before { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 40px; height: 4px; border-radius: 4px; background: var(--line); }
  .filter-close { border: 0; background: var(--bg-soft,#f5f6fb); width: 34px; height: 34px; border-radius: 50%; font-size: 16px; cursor: pointer; }
  .filter-backdrop.show { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1290; }
  body.filter-open { overflow: hidden; }
}

/* ===== PDP Shipping & Returns tab ===== */
.sr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sr-box h4 { font-size: 15px; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.sr-box h4 i { color: var(--primary); }
.sr-box ul { list-style: none; padding: 0; margin: 0 0 14px; }
.sr-box ul li { position: relative; padding-inline-start: 22px; margin-bottom: 9px; font-size: 14px; color: var(--body); line-height: 1.5; }
.sr-box ul li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset-inline-start: 0; color: var(--success, #3fb911); font-size: 12px; top: 3px; }
.sr-eta { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 6px; }
.sr-eta th { text-align: start; color: var(--muted); font-weight: 600; padding: 6px 10px; border-bottom: 2px solid var(--line); font-size: 12px; text-transform: uppercase; }
.sr-eta td { padding: 7px 10px; border-bottom: 1px solid var(--line); }
.sr-eta tr:last-child td { border-bottom: 0; }
@media (max-width: 767px){ .sr-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ============================================================
   Data-driven premium pass (ui-ux-design-pro: e-commerce =
   feature-rich showcase, navy + premium gold, hover lift+scale,
   conversion urgency). 
   ============================================================ */
/* Real-discount pill (conversion / high visual hierarchy) */
.product-card .disc-pill{
  position:absolute; top:10px; inset-inline-end:10px; z-index:3;
  background:var(--accent); color:#1a1205; font-weight:800; font-size:11.5px;
  letter-spacing:.01em; padding:4px 9px; border-radius:999px;
  box-shadow:0 2px 8px rgba(202,138,4,.35); font-variant-numeric:tabular-nums;
}
/* Card image lift + subtle scale on hover (data: card hover lift 200ms + scale) */
.product-card .thumb img{ transition:transform .3s cubic-bezier(.22,.61,.36,1); will-change:transform; }
.product-card:hover .thumb .img1{ transform:scale(1.045); }
@media (prefers-reduced-motion: reduce){ .product-card .thumb img{ transition:none; } .product-card:hover .thumb .img1{ transform:none; } }

/* Gold accent emphasis where value/premium is signalled */
.save-badge{ background:var(--accent-soft); color:var(--accent-dark); font-weight:700; }
.hero-eyebrow .dot{ background:var(--accent); box-shadow:0 0 0 4px rgba(202,138,4,.22); }
.hero-badge.hb-tl i{ color:var(--accent); }

/* PDP price: stronger hierarchy + tabular figures */
.pdp .pdp-price{ font-variant-numeric:tabular-nums; letter-spacing:-.02em; }
.pdp .pdp-price .save-badge{ vertical-align:middle; font-size:13px; padding:3px 9px; border-radius:999px; }

/* Trust green for in-stock (semantic color carries meaning) */
.in-stock{ color:#047857; font-weight:600; }
