/* ============================================================
   SINELEC TECH — Amazon-Style E-Shop
   Light + Blue Theme | Full CSS Custom Properties
   ============================================================ */

/* ── 1. CSS Custom Properties ─────────────────────────────── */
:root {
  /* Brand */
  --navy:        #0f233d;
  --navy-mid:    #0c1d33;
  --navy-light:  #162f4e;
  --blue-pri:    #0066CC;
  --blue-hover:  #0052A3;
  --blue-light:  #EBF3FF;
  --blue-mid:    #CCE0FF;
  --blue-accent: #4da6ff;

  /* Commerce Colors */
  --orange:      #FF8C00;
  --orange-dark: #E07800;
  --orange-light:#FFF3E0;
  --yellow:      #FFD814;
  --yellow-dark: #F0C000;
  --yellow-text: #333;
  --deal-red:    #CC0C39;
  --deal-bg:     #FFF0F0;
  --green-stock: #007600;
  --green-light: #E8F5E8;
  --prime:       #00A8E1;

  /* Neutral */
  --gray-50:  #F7F8FA;
  --gray-100: #F0F2F5;
  --gray-200: #E2E6EA;
  --gray-300: #C8CDD4;
  --gray-400: #9AA0A9;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Text */
  --text-h:       #0F1111;
  --text-body:    #333333;
  --text-muted:   #565959;
  --text-link:    var(--blue-pri);
  --text-inv:     #FFFFFF;
  --text-price:   #0F1111;

  /* BG */
  --bg-page:    #F4F6F8;
  --bg-white:   #FFFFFF;
  --bg-card:    #FFFFFF;
  --bg-header:  var(--navy);
  --bg-nav:     var(--navy-light);
  --bg-subtle:  var(--gray-50);

  /* Shadows */
  --shadow-xs:  0 1px 2px rgb(0 0 0/.04);
  --shadow-sm:  0 1px 3px rgb(0 0 0/.07), 0 1px 2px rgb(0 0 0/.04);
  --shadow-md:  0 4px 12px -1px rgb(0 0 0/.07), 0 2px 6px -2px rgb(0 0 0/.04);
  --shadow-lg:  0 10px 20px -3px rgb(0 0 0/.07), 0 4px 8px -4px rgb(0 0 0/.03);
  --shadow-xl:  0 20px 30px -5px rgb(0 0 0/.09), 0 8px 12px -6px rgb(0 0 0/.04);
  --shadow-card:0 1px 4px 0 rgb(0 0 0/.08);
  --shadow-orange: 0 2px 8px rgb(255 140 0 / .35);

  /* Typography */
  --font: 'Inter', 'Amazon Ember', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'Consolas', monospace;
  --fs-xs:   0.6875rem; /* 11px */
  --fs-sm:   0.8125rem; /* 13px */
  --fs-base: 0.875rem;  /* 14px  (Amazon default) */
  --fs-md:   1rem;      /* 16px */
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  1.875rem;
  --fs-4xl:  2.25rem;
  --fw-normal:  400;
  --fw-medium:  500;
  --fw-semi:    600;
  --fw-bold:    700;
  --fw-black:   900;

  /* Layout */
  --max-w: 1440px;
  --pad:   clamp(1rem, 2.5vw, 2rem);
  --header-h: 58px;

  /* Radii */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-xl:   16px;
  --r-full: 9999px;

  /* Transitions */
  --t-fast: 120ms ease;
  --t-med:  200ms ease;
  --t-slow: 300ms cubic-bezier(.16,1,.3,1);

  /* Z */
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;
  --z-toast:    500;
}

/* ── 2. Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--fs-base);
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

/* ── 3. Layout ──────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.page-section { display: none; }
.page-section.active { display: block; }

/* ── 4. Top Deals Bar ───────────────────────────────────────── */
.topbar {
  background: var(--navy-mid);
  color: #ccc;
  font-size: var(--fs-xs);
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar a { color: #ccc; transition: color var(--t-fast); white-space: nowrap; }
.topbar a:hover { color: white; }
.topbar-divider { color: rgba(255,255,255,.2); }

/* ── 5. Header ──────────────────────────────────────────────── */
.site-header {
  background: var(--bg-header);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
}

.header-main {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  height: var(--header-h);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  padding: 2px 6px;
  margin-left: calc(-1 * var(--pad));
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast);
  flex-shrink: 0;
  line-height: 0;
  align-self: center;
}
.logo:hover { border-color: rgba(255,255,255,.35); }
.logo svg { display: block; }

/* Shared two-line label/value pattern (Delivery, Account, Orders) */
.h-label {
  display: block;
  font-size: 11px;
  font-weight: var(--fw-normal);
  color: rgba(255,255,255,.70);
  line-height: 1.3;
}
.h-value {
  display: flex;
  align-items: center;
  gap: 3px;
  color: white;
  font-size: 13px;
  font-weight: var(--fw-bold);
  line-height: 1.3;
}
.h-value svg { flex-shrink: 0; }

/* Delivery */
.header-delivery {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4px 8px;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color var(--t-fast);
  white-space: nowrap;
  flex-shrink: 0;
}
.header-delivery:hover { border-color: rgba(255,255,255,.35); }

/* Search */
.header-search {
  flex: 1;
  display: flex;
  align-items: center;
  height: 34px;
  min-width: 0;
  max-width: 680px;
  border-radius: var(--r-sm);
  overflow: hidden;
  position: relative;
  background: white;
}
.header-search:focus-within {
  outline: 2px solid var(--yellow);
  outline-offset: 0;
}
.search-cat-btn {
  background: white;
  color: #444;
  font-size: 11px;
  font-weight: var(--fw-medium);
  padding: 0 18px 0 10px;
  flex-shrink: 0;
  width: 88px;
  height: 100%;
  appearance: none;
  cursor: pointer;
  outline: none;
  border: none;
  border-radius: 0;
  /* subtle right pipe using box-shadow so it stays inside the box */
  box-shadow: inset -1px 0 0 #dde1e1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 5px center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-cat-btn:hover { color: #111; }
.search-cat-btn:focus { outline: none; }
.search-field {
  flex: 1;
  border: none;
  padding: 0 14px;
  font-size: 14px;
  font-weight: var(--fw-normal);
  outline: none;
  color: var(--text-h);
  background: white;
  min-width: 0;
}
.search-field::placeholder { color: var(--gray-400); font-size: 13.5px; }
.search-go {
  background: var(--yellow);
  color: var(--yellow-text);
  width: 44px;
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-fast);
}
.search-go:hover { background: var(--yellow-dark); }
.search-go svg { width: 18px; height: 18px; }

/* Search suggestions */
.search-drop {
  position: absolute;
  top: calc(100% + 2px);
  left: 0; right: 0;
  background: white;
  border-radius: 0 0 var(--r-md) var(--r-md);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-dropdown);
  display: none;
  max-height: 420px;
  overflow-y: auto;
  border: 1px solid var(--gray-200);
}
.search-drop.open { display: block; }
.sdrop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background var(--t-fast);
  border-bottom: 1px solid var(--gray-100);
}
.sdrop-item:last-child { border-bottom: none; }
.sdrop-item:hover { background: var(--blue-light); }
.sdrop-img {
  width: 44px; height: 44px;
  object-fit: contain;
  border-radius: var(--r-sm);
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  flex-shrink: 0;
  padding: 2px;
}
.sdrop-info { flex: 1; min-width: 0; }
.sdrop-sku { font-family: var(--mono); font-size: 10px; color: var(--blue-pri); font-weight: var(--fw-semi); }
.sdrop-name { font-size: var(--fs-sm); color: var(--text-h); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sdrop-price { font-weight: var(--fw-bold); color: var(--text-h); font-size: var(--fs-base); white-space: nowrap; }
.sdrop-footer {
  padding: 10px 14px;
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--blue-pri);
  font-weight: var(--fw-semi);
  cursor: pointer;
  background: var(--blue-light);
}
.sdrop-footer:hover { background: var(--blue-mid); }

/* Header Actions */
.header-acts { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.h-act {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4px 9px;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
}
.h-act:hover { border-color: rgba(255,255,255,.35); }

/* Cart button */
.h-cart {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  color: white;
  font-weight: var(--fw-bold);
  transition: border-color var(--t-fast);
}
.h-cart:hover { border-color: rgba(255,255,255,.35); }

/* icon + badge wrapper */
.h-cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
}
.h-cart-icon-wrap svg { width: 30px; height: 30px; display: block; }

.cart-count {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: #111;
  font-size: 11px;
  font-weight: var(--fw-black);
  min-width: 18px; height: 18px;
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  line-height: 1;
}
.h-cart-label {
  font-size: 13px;
  font-weight: var(--fw-bold);
  color: white;
  line-height: 1;
  align-self: flex-end;
  padding-bottom: 2px;
}

/* Hamburger */
.h-hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px;
  color: white;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  font-size: 10px;
}
.h-hamburger:hover { border-color: rgba(255,255,255,.35); }
.h-hamburger svg { width: 22px; height: 22px; }

/* ── 6. Nav Bar ─────────────────────────────────────────────── */
.nav-bar {
  background: var(--bg-nav);
  overflow: visible;
}
.nav-inner {
  display: flex;
  align-items: stretch;
  overflow: visible;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  color: rgba(255,255,255,.85);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  white-space: nowrap;
  border: none;
  border-radius: 0;
  margin: 3px 1px;
  transition: color var(--t-fast);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: rgba(255,255,255,.9);
  border-radius: 2px;
  transition: width var(--t-fast);
}
.nav-link:hover { color: white; }
.nav-link.active { color: white; }
.nav-link.active::after { width: 70%; }
.nav-link svg { width: 13px; height: 13px; opacity: .8; }
.nav-badge {
  background: var(--orange);
  color: white;
  font-size: 9px;
  font-weight: var(--fw-black);
  padding: 1px 5px;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: .3px;
}

/* ── Mega dropdown ──────────────────────────────────────────── */
.nav-item { position: relative; }
.mega-menu {
  position: absolute;
  top: 100%; left: 0;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 0 0 var(--r-md) var(--r-md);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-dropdown);
  display: none;
}
.nav-item.open .mega-menu { display: flex; }
.nav-item:hover .mega-menu { display: flex; }

/* 3-column products mega */
.mega-products { min-width: 820px; width: 820px; flex-direction: row; align-items: stretch; }

.mega-cats-col {
  width: 220px; flex-shrink: 0;
  border-right: 1px solid var(--gray-100);
  padding: 8px 0;
  background: #f8f9fa;
}
.mega-cat {
  padding: 10px 16px;
  font-size: var(--fs-sm);
  color: var(--text-h);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: var(--fw-medium);
  border-left: 3px solid transparent;
  transition: background var(--t-fast), color var(--t-fast);
}
.mega-cat svg { flex-shrink: 0; color: var(--gray-400); transition: color var(--t-fast); }
.mega-cat:hover svg, .mega-cat.active svg { color: var(--blue-pri); }
.mega-cat:hover, .mega-cat.active {
  background: white;
  color: var(--blue-pri);
  border-left-color: var(--blue-pri);
}

.mega-see-all {
  display: block;
  margin: 8px 12px 6px;
  padding: 8px 12px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--blue-pri);
  text-transform: uppercase;
  letter-spacing: .6px;
  border-top: 1px solid var(--gray-200);
  text-align: center;
}
.mega-see-all:hover { text-decoration: underline; }

/* Mouser-style right content column */
.mega-content-col { flex: 1; overflow: hidden; background: #fff; }

.mega-panel { display: none; padding: 20px 24px; }
.mega-panel[data-panel-id="newest"].active { display: block; }

.mega-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
}
.mega-panel-head strong { font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--text-h); }
.mega-panel-viewall {
  font-size: var(--fs-xs); color: var(--blue-pri); font-weight: var(--fw-semi);
  white-space: nowrap; margin-left: 12px;
}
.mega-panel-viewall:hover { text-decoration: underline; }

/* Default newest panel — 3-col image grid */
.mega-cat-imgrid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.mega-cat-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 14px 10px;
  border: 1px solid var(--gray-100);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
  cursor: pointer;
}
.mega-cat-card:hover { border-color: var(--blue-pri); box-shadow: 0 2px 8px rgba(0,82,204,.12); }
.mega-cat-card-img {
  width: 52px; height: 52px;
  background: var(--blue-light);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
  font-size: 22px;
}
.mega-cat-card-name { font-size: 11px; font-weight: var(--fw-semi); color: var(--text-h); line-height: 1.35; }

/* Sub-category panels — 2-col link list + illustration */
.mega-panel:not([data-panel-id="newest"]) {
  display: none;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.mega-panel:not([data-panel-id="newest"]).active { display: flex; }
.mega-panel:not([data-panel-id="newest"]) .mega-panel-head { flex: 0 0 100%; }
.mega-sub-2col {
  flex: 1; min-width: 200px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px;
}
.mega-sub-link {
  display: block;
  padding: 6px 8px;
  font-size: var(--fs-sm);
  color: var(--text-h);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
}
.mega-sub-link:hover { background: var(--blue-light); color: var(--blue-pri); padding-left: 14px; }

.mega-panel-img {
  width: 140px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: .75;
}
.mega-panel-img svg { width: 100%; height: auto; }

/* Divider + "Newest" label in cats col */
.mega-cats-divider { height: 1px; background: var(--gray-100); margin: 4px 12px; }
.mega-cat-new { color: var(--blue-pri) !important; }

/* Simple dropdown — Manufacturers / Resources */
.mega-simple { min-width: 220px; flex-direction: column; padding: 8px 0; }
.mega-simple-title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--text-muted);
  padding: 6px 16px 10px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 4px;
}
.mega-simple-link {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  font-size: var(--fs-sm);
  color: var(--text-h);
  transition: all var(--t-fast);
}
.mega-simple-link:hover { background: var(--blue-light); color: var(--blue-pri); }
.mega-simple-link svg { color: var(--gray-400); flex-shrink: 0; }

/* nav-link-drop chevron gap */
.nav-link-drop { gap: 4px; }

/* ── Quote Page ─────────────────────────────────────────────── */

/* Hero banner */
.qhero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  padding: 36px 0 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.qhero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.qhero-tag {
  display: inline-block;
  background: rgba(255,204,0,.15);
  color: #FFD814;
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-full);
  margin-bottom: 10px;
  border: 1px solid rgba(255,204,0,.25);
}
.qhero-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: var(--fw-black); color: white; margin-bottom: 8px; }
.qhero-desc  { font-size: var(--fs-sm); color: rgba(255,255,255,.7); margin-bottom: 16px; max-width: 420px; }
.qhero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.qhero-badge {
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.9);
  font-size: 12px; font-weight: var(--fw-semi);
  padding: 5px 12px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,.15);
}
.qhero-steps {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.qstep { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.qstep-num {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: var(--fw-black); color: white;
}
.qstep-label { font-size: 10px; color: rgba(255,255,255,.6); font-weight: var(--fw-semi); white-space: nowrap; }
.qstep-arrow { font-size: 20px; color: rgba(255,255,255,.3); line-height: 1; }

/* Layout */
.qlayout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}
.qform-col { display: flex; flex-direction: column; gap: 0; }
.quote-form { display: flex; flex-direction: column; gap: 16px; }

/* Cards */
.qcard {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.qcard-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-100);
  background: #fafbfc;
}
.qcard-head-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.qcard-title { font-size: 15px; font-weight: var(--fw-bold); color: var(--text-h); }
.qcard-sub   { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.qcard-body  { padding: 20px; }

/* Fields */
.qfield { display: flex; flex-direction: column; gap: 5px; }
.qlabel { font-size: 12px; font-weight: var(--fw-semi); color: #444; }
.qreq   { color: #dc2626; margin-left: 1px; }
.qopt   { color: var(--gray-400); font-weight: 400; font-size: 11px; }
.qinp {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: var(--fs-sm);
  font-family: var(--font);
  color: var(--text-h);
  background: white;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  box-sizing: border-box;
}
.qinp:focus {
  border-color: var(--blue-pri);
  box-shadow: 0 0 0 3px rgba(0,102,204,.1);
}
.qinp::placeholder { color: var(--gray-400); }
select.qinp {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
  cursor: pointer;
}
.qtextarea { min-height: 80px; resize: vertical; line-height: 1.5; }

/* Grids */
.qgrid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qgrid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }

/* Phone */
.qphone-wrap { display: flex; gap: 8px; }
.qinp-code   { width: 80px; flex-shrink: 0; }

/* Product rows */
.qprow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: #f8f9fa;
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  margin-bottom: 10px;
}
.qprow-num {
  width: 26px; height: 26px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: var(--fw-bold);
  flex-shrink: 0;
  margin-top: 22px;
}
.qprow-fields {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 90px;
  gap: 10px;
}
.qprow-actions { margin-top: 4px; }
.qbtn-add {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: white;
  border: 1.5px dashed var(--blue-pri);
  color: var(--blue-pri);
  border-radius: 8px;
  font-size: var(--fs-sm); font-weight: var(--fw-semi);
  cursor: pointer;
  transition: all var(--t-fast);
}
.qbtn-add:hover { background: var(--blue-light); }

/* Billing toggle */
.qcheck-label {
  display: flex; align-items: center; gap: 8px;
  font-size: var(--fs-sm); color: var(--text-h);
  cursor: pointer; user-select: none;
}
.qcheck-label input { width: 16px; height: 16px; accent-color: var(--navy); cursor: pointer; flex-shrink: 0; }
.qbilling-divider {
  font-size: 12px; font-weight: var(--fw-bold);
  color: var(--text-muted); text-transform: uppercase;
  letter-spacing: .6px;
  border-top: 1px dashed var(--gray-200);
  padding-top: 14px;
  margin: 14px 0 12px;
}

/* Submit row */
.qsubmit-row {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 0 8px;
}
.qsubmit-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  background: var(--yellow);
  color: var(--yellow-text);
  font-size: 15px; font-weight: var(--fw-bold);
  border-radius: 10px;
  border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(255,204,0,.35);
  transition: all var(--t-fast);
}
.qsubmit-btn:hover { background: var(--yellow-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255,204,0,.4); }
.qclear-btn {
  padding: 12px 20px;
  background: transparent;
  border: 1.5px solid var(--gray-300);
  color: var(--text-muted);
  border-radius: 10px;
  font-size: var(--fs-sm); font-weight: var(--fw-semi);
  cursor: pointer;
  transition: all var(--t-fast);
}
.qclear-btn:hover { border-color: var(--gray-400); color: var(--text-h); }

/* Sidebar */
.qsidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 70px); }
.qside-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.qside-title { font-size: 14px; font-weight: var(--fw-bold); color: var(--text-h); margin-bottom: 14px; }
.qside-list  { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.qside-list li { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--text-h); }
.qside-why { border-top: 3px solid #16a34a; }

.qside-contact-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-100); }
.qside-contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.qside-contact-icon { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.qside-contact-label { font-size: 11px; color: var(--text-muted); font-weight: var(--fw-semi); text-transform: uppercase; letter-spacing: .4px; }
.qside-contact-val   { font-size: 13px; color: var(--text-h); font-weight: var(--fw-semi); margin-top: 1px; }
.qside-contact { border-top: 3px solid var(--blue-pri); }

.qside-trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qside-trust-item { background: #f8f9fa; border-radius: 8px; padding: 12px; text-align: center; }
.qside-trust-num  { font-size: 1.4rem; font-weight: var(--fw-black); color: var(--navy); }
.qside-trust-lbl  { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.qside-trust { border-top: 3px solid var(--yellow); }

/* Responsive */
@media (max-width: 900px) {
  .qlayout { grid-template-columns: 1fr; }
  .qsidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .qside-card { flex: 1; min-width: 220px; }
  .qhero-steps { display: none; }
}
@media (max-width: 640px) {
  .qprow-fields { grid-template-columns: 1fr; }
  .qprow { flex-direction: column; }
  .qprow-num { margin-top: 0; }
  .qgrid-2 { grid-template-columns: 1fr; }
  .qgrid-4 { grid-template-columns: 1fr 1fr; }
  .qsubmit-row { flex-direction: column; align-items: stretch; }
  .qsubmit-btn, .qclear-btn { text-align: center; justify-content: center; }
  .qside-card { min-width: 100%; }
  .qhero { padding: 24px 0; }
}

/* ── 7. Hero Carousel ───────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.hero-track { display: flex; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.hero-slide {
  min-width: 100%;
  height: clamp(220px, 30vw, 340px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-slide-1 { background: linear-gradient(120deg, #0d1b3e 0%, #1a3a7c 50%, #0a5a9c 100%); }
.hero-slide-2 { background: linear-gradient(120deg, #1a0d3e 0%, #2d1b7c 50%, #4a0a9c 100%); }
.hero-slide-3 { background: linear-gradient(120deg, #0d2e1b 0%, #1b5a3a 50%, #0a7c3a 100%); }
.hero-slide-4 { background: linear-gradient(120deg, #3e1a0d 0%, #7c3a1b 50%, #9c5a0a 100%); }

/* Image slides — dark left overlay keeps text readable */
.hero-slide-5 {
  background:
    linear-gradient(to right, rgba(8,20,45,.93) 40%, rgba(8,20,45,.55) 70%, rgba(8,20,45,.25) 100%),
    url('https://images.unsplash.com/photo-1518770660439-4636190af475?w=1600&h=500&fit=crop&crop=center') center/cover no-repeat;
}
.hero-slide-6 {
  background:
    linear-gradient(to right, rgba(5,25,15,.93) 40%, rgba(5,25,15,.55) 70%, rgba(5,25,15,.25) 100%),
    url('https://images.unsplash.com/photo-1597852074816-d933c7d2b988?w=1600&h=500&fit=crop&crop=center') center/cover no-repeat;
}
.hero-slide-7 {
  background:
    linear-gradient(to right, rgba(20,10,45,.93) 40%, rgba(20,10,45,.55) 70%, rgba(20,10,45,.25) 100%),
    url('https://images.unsplash.com/photo-1581092162516-efadb11d59cd?w=1600&h=500&fit=crop&crop=center') center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  padding: 4px 12px;
  border-radius: var(--r-full);
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: var(--fw-black);
  color: white;
  line-height: 1.15;
  margin-bottom: 10px;
  letter-spacing: -.5px;
}
.hero-title .hl { color: #FFD814; }
.hero-subtitle { font-size: clamp(.875rem, 1.5vw, 1.05rem); color: rgba(255,255,255,.75); margin-bottom: 24px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }

.hero-visual {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 50%;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 40px;
  pointer-events: none;
}
.hero-chip-graphic {
  width: min(360px, 40vw);
  aspect-ratio: 1;
  opacity: .15;
}

.hero-prev, .hero-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 40px; height: 60px;
  background: rgba(0,0,0,.35);
  color: white;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast);
  border: none;
}
.hero-prev { left: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.hero-next { right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); }
.hero-prev:hover, .hero-next:hover { background: rgba(0,0,0,.55); }
.hero-prev svg, .hero-next svg { width: 20px; height: 20px; }

.hero-dots {
  position: absolute;
  bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 3;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: all var(--t-med);
}
.hero-dot.on { background: white; width: 22px; }

/* ── 8. Deal Timer ──────────────────────────────────────────── */
.deals-bar {
  background: white;
  border-bottom: 1px solid var(--gray-200);
  padding: 0;
}
.deals-bar-inner {
  display: flex;
  align-items: center;
  overflow-x: auto;
  gap: 0;
  scrollbar-width: none;
}
.deals-bar-inner::-webkit-scrollbar { display: none; }
.deals-bar-inner--compact { gap: 8px; padding: 10px 0; }
.deal-tab-btn {
  appearance: none;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  line-height: 1;
  white-space: nowrap;
  transition: all var(--t-fast);
}
.deal-tab-btn:hover {
  border-color: var(--blue-mid);
  color: var(--text-h);
  background: #fff;
}
.deal-tab-btn.active {
  background: var(--blue-pri);
  color: #fff;
  border-color: var(--blue-pri);
  box-shadow: 0 2px 8px rgba(0, 102, 204, .22);
}
.deal-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--t-fast);
}
.deal-tab:hover { color: var(--text-h); border-bottom-color: var(--gray-300); }
.deal-tab.active { color: var(--blue-pri); border-bottom-color: var(--blue-pri); }
.deal-tab-count { background: var(--deal-red); color: white; font-size: 10px; font-weight: var(--fw-black); padding: 1px 6px; border-radius: var(--r-full); }
.deal-whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff 0%, #f4fff8 100%);
  color: #25d366;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(18, 140, 74, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: whatsappCtaFloat 2.8s ease-in-out infinite;
}
.deal-whatsapp-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(37, 211, 102, 0.14);
}
.deal-whatsapp-cta:focus-visible {
  outline: 2px solid #25d366;
  outline-offset: 2px;
}
.deal-whatsapp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #25d366;
  flex: 0 0 auto;
  animation: whatsappIconPulse 1.8s ease-in-out infinite;
}
.deal-whatsapp-text {
  display: inline-block;
  max-width: 190px;
}
@keyframes whatsappCtaFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
@keyframes whatsappIconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.9; }
}

#flash-sales-section,
#best-seller-section,
#popular-section,
#new-arrival-section {
  scroll-margin-top: calc(var(--header-h) + 14px);
}

.home-tabs-section { padding-top: 20px; }
.home-mini-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.mini-pcard {
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 12px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 210px;
  transition: box-shadow var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.mini-pcard:hover {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.mini-pcard-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mini-sku {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--blue-pri);
  background: var(--blue-light);
  padding: 2px 6px;
  border-radius: var(--r-full);
}
.mini-stock {
  font-size: 10px;
  font-weight: var(--fw-bold);
  border-radius: var(--r-full);
  padding: 2px 7px;
  text-transform: uppercase;
}
.mini-stock.in-stock { color: #0b7a36; background: #e8f8ee; }
.mini-stock.low-stock { color: #9a5a00; background: #fff4e0; }
.mini-stock.out-stock { color: #a12323; background: #ffebeb; }
.mini-name {
  font-size: 13px;
  line-height: 1.35;
  color: var(--text-h);
  font-weight: var(--fw-semi);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}
.mini-meta { font-size: 11px; color: var(--text-muted); }
.mini-rate {
  font-size: 11px;
  color: #8b5a00;
  font-weight: var(--fw-semi);
}
.mini-rate span { color: var(--text-muted); font-weight: var(--fw-normal); }
.mini-price-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: auto;
}
.mini-price { font-size: 16px; font-weight: var(--fw-black); color: var(--text-h); }
.mini-mrp { font-size: 11px; text-decoration: line-through; color: var(--gray-500); }
.mini-off {
  font-size: 10px;
  font-weight: var(--fw-bold);
  color: #fff;
  background: var(--deal-red);
  border-radius: var(--r-full);
  padding: 2px 6px;
}
.mini-atc {
  margin-top: 6px;
  width: 100%;
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--yellow);
  color: #111;
  border: 1px solid var(--yellow-dark);
  font-size: 12px;
  font-weight: var(--fw-bold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.mini-atc:hover { background: var(--yellow-dark); }

/* ── 9. Section Wrappers ────────────────────────────────────── */
.home-section-wrap {
  background: var(--bg-white);
  border-radius: var(--r-lg);
  padding: 28px 28px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
}

.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.sec-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-black);
  color: var(--text-h);
  letter-spacing: -.2px;
}
.sec-subtitle { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 4px; }
.see-more-link {
  font-size: var(--fs-sm);
  color: var(--blue-pri);
  font-weight: var(--fw-semi);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3px;
}
.see-more-link:hover { color: var(--blue-hover); text-decoration: underline; }
.see-more-link svg { width: 12px; height: 12px; }

/* ── 10. Category Grid ──────────────────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 12px;
}
.cat-card {
  background: var(--bg-white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 18px 10px;
  text-align: center;
  cursor: pointer;
  transition: all var(--t-slow);
}
.cat-card:hover {
  border-color: var(--blue-pri);
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.cat-card:hover .cat-icon { background: var(--blue-pri); color: white; }
.cat-icon {
  width: 48px; height: 48px;
  background: white;
  border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px;
  color: var(--blue-pri);
  transition: all var(--t-med);
  box-shadow: var(--shadow-sm);
}
.cat-icon svg { width: 22px; height: 22px; }
.cat-name { font-size: 11px; font-weight: var(--fw-semi); color: var(--text-h); line-height: 1.3; }
.cat-count { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

/* ── 11. Product Carousel ───────────────────────────────────── */
.prod-carousel { position: relative; }
.prod-carousel-track-wrap { overflow: hidden; }
.prod-carousel-track {
  display: flex;
  gap: 12px;
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.prod-carousel-track .pcard {
  flex: 0 0 calc((100% - 36px) / 4);
  min-width: calc((100% - 36px) / 4);
  max-width: calc((100% - 36px) / 4);
}

.car-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 2;
  width: 36px; height: 60px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--gray-200);
  color: var(--text-h);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--t-fast);
  cursor: pointer;
}
.car-btn:hover { background: white; box-shadow: var(--shadow-lg); }
.car-btn svg { width: 20px; height: 20px; }
.car-prev { left: -18px; border-radius: var(--r-sm) 0 0 var(--r-sm); }
.car-next { right: -18px; border-radius: 0 var(--r-sm) var(--r-sm) 0; }

/* ── 12. Product Card (main) ────────────────────────────────── */
.pcard {
  background: var(--bg-card);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--t-slow);
  position: relative;
  cursor: pointer;
}
.pcard:hover {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* Image */
.pcard-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: #f8f9fa;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-100);
}
.pcard-img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 0 12px;
  transition: transform .4s ease;
}
.pcard:hover .pcard-img { transform: scale(1.06); }

/* Badges on image */
.pcard-badges {
  position: absolute;
  top: 8px; left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pbadge {
  font-size: 10px;
  font-weight: var(--fw-black);
  padding: 2px 7px;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: .3px;
  display: inline-block;
  width: fit-content;
}
.pbadge-deal       { background: var(--deal-red); color: white; }
.pbadge-new        { background: #008000; color: white; }
.pbadge-hot        { background: var(--orange); color: white; }
.pbadge-popular    { background: var(--blue-pri); color: white; }
.pbadge-bestseller { background: #B45309; color: white; }
.pbadge-sale       { background: var(--yellow); color: var(--yellow-text); }

.pcard-discount {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--deal-red);
  color: white;
  font-size: 11px;
  font-weight: var(--fw-black);
  padding: 3px 7px;
  border-radius: var(--r-sm);
}

/* Express badge */
.pcard-express {
  position: absolute;
  bottom: 6px; left: 6px;
  background: var(--prime);
  color: white;
  font-size: 9px;
  font-weight: var(--fw-black);
  padding: 2px 7px;
  border-radius: var(--r-full);
  letter-spacing: .3px;
}

/* Wishlist btn */
.pcard-wish {
  position: absolute;
  bottom: 8px; right: 8px;
  width: 28px; height: 28px;
  background: white;
  border-radius: var(--r-full);
  border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400);
  opacity: 0;
  transition: all var(--t-fast);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.pcard:hover .pcard-wish { opacity: 1; }
.pcard-wish:hover { color: var(--deal-red); border-color: var(--deal-red); }
.pcard-wish.wished { opacity: 1; color: var(--deal-red); border-color: var(--deal-red); }
.pcard-wish svg { width: 13px; height: 13px; }

/* Body */
.pcard-body { padding: 14px 14px 10px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.pcard-sku { font-family: var(--mono); font-size: 10px; color: var(--blue-pri); font-weight: var(--fw-semi); }
.pcard-mfr { font-size: 10px; color: var(--text-muted); }
.pcard-name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-h);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard-cat-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pcard-cat {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: var(--fw-semi);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pcard-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.pcard-stars { display: flex; gap: 1px; }
.pcard-stars svg { width: 12px; height: 12px; }
.star-filled { color: var(--orange); }
.star-half { color: var(--orange); }
.star-empty { color: var(--gray-300); }
.pcard-rc { font-size: 10px; color: var(--blue-pri); }
.pcard-rc:hover { text-decoration: underline; }

/* Price */
.pcard-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.price-sym { font-size: 12px; font-weight: var(--fw-bold); color: var(--text-h); vertical-align: top; line-height: 1.5; }
.price-main { font-size: 18px; font-weight: var(--fw-black); color: var(--text-h); letter-spacing: -.3px; }
.price-orig { font-size: var(--fs-xs); color: var(--text-muted); text-decoration: line-through; }
.price-save { font-size: var(--fs-xs); color: var(--deal-red); font-weight: var(--fw-semi); }

.pcard-price-break { font-size: 10px; color: var(--text-muted); }
.pcard-price-break strong { color: var(--deal-red); }

/* Stock */
.pcard-stock { font-size: var(--fs-xs); font-weight: var(--fw-semi); }
.in-stock   { color: var(--green-stock); }
.low-stock  { color: #B7600B; }
.out-stock  { color: var(--deal-red); }

.pcard-delivery { font-size: 10px; color: var(--text-muted); }
.pcard-delivery strong { color: var(--text-h); }

/* Footer */
.pcard-footer { padding: 8px 12px 12px; display: flex; flex-direction: row; gap: 6px; }
.btn-atc {
  flex: 1;
  height: 34px;
  background: var(--yellow);
  color: var(--yellow-text);
  padding: 0 10px;
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  display: flex; align-items: center; justify-content: center; gap: 5px;
  transition: background var(--t-fast);
  border: 1px solid var(--yellow-dark);
  white-space: nowrap;
}
.btn-atc:hover { background: var(--yellow-dark); }
.btn-atc.added { background: var(--green-stock); color: white; border-color: var(--green-stock); }
.btn-atc svg { width: 13px; height: 13px; flex-shrink: 0; }

.btn-buynow {
  flex: 1;
  height: 34px;
  background: var(--orange);
  color: white;
  padding: 0 10px;
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast);
  border: 1px solid var(--orange-dark);
  white-space: nowrap;
}
.btn-buynow:hover { background: var(--orange-dark); }

/* List view — buttons stack vertically, compact width */
.pcard.list-v .pcard-footer {
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 6px;
  padding: 12px;
  width: 150px;
  min-width: 150px;
}
.pcard.list-v .btn-atc,
.pcard.list-v .btn-buynow {
  flex: none;
  width: 100%;
  height: 34px;
}

/* ── 13. Flash Deal Card ────────────────────────────────────── */
.flash-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.fdeal-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--t-slow);
  background: white;
}
.fdeal-card:hover { border-color: var(--blue-pri); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.fdeal-img {
  aspect-ratio: 1/1;
  background: var(--gray-50);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.fdeal-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.fdeal-pct {
  position: absolute;
  top: 6px; left: 6px;
  background: var(--deal-red);
  color: white;
  font-size: 11px;
  font-weight: var(--fw-black);
  padding: 2px 8px;
  border-radius: var(--r-sm);
}
.fdeal-body { padding: 10px 12px; }
.fdeal-name { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--text-h); margin-bottom: 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fdeal-price { font-size: 16px; font-weight: var(--fw-black); color: var(--text-h); }
.fdeal-price small { font-size: var(--fs-xs); text-decoration: line-through; color: var(--text-muted); font-weight: normal; margin-left: 5px; }
.fdeal-bar { height: 4px; background: var(--gray-100); border-radius: var(--r-full); margin-top: 8px; }
.fdeal-bar-fill { height: 100%; background: var(--orange); border-radius: var(--r-full); }
.fdeal-claimed { font-size: 10px; color: var(--orange-dark); font-weight: var(--fw-semi); margin-top: 4px; }

/* ── 14. Brand Banner ───────────────────────────────────────── */
.brand-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: linear-gradient(90deg, var(--blue-light), white);
  border-radius: var(--r-lg);
  margin-bottom: 14px;
  border: 1px solid var(--blue-mid);
}
.brand-logo-placeholder {
  background: var(--navy);
  color: white;
  font-size: 12px;
  font-weight: var(--fw-black);
  padding: 8px 16px;
  border-radius: var(--r-md);
  white-space: nowrap;
  letter-spacing: .3px;
  flex-shrink: 0;
}
.brand-tagline { font-size: var(--fs-sm); color: var(--text-muted); flex: 1; }
.brand-tagline strong { color: var(--text-h); display: block; font-size: var(--fs-md); }

/* ── 15. Deal Product Card (horizontal) ─────────────────────── */
.deal-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.deal-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
  background: white;
  transition: all var(--t-slow);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.deal-card:hover { border-color: var(--blue-pri); box-shadow: var(--shadow-md); }
.deal-card-img { aspect-ratio: 4/3; background: var(--gray-50); overflow: hidden; }
.deal-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.deal-card-body { padding: 10px 12px; flex: 1; }
.deal-card-name { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--text-h); margin-bottom: 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── 16. Promo Banners ──────────────────────────────────────── */
.promo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.promo-card {
  border-radius: var(--r-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 150px;
  cursor: pointer;
  transition: all var(--t-med);
  position: relative;
  overflow: hidden;
}
.promo-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.promo-1 { background: linear-gradient(135deg, #0d47a1, #1976d2); }
.promo-2 { background: linear-gradient(135deg, #1b5e20, #388e3c); }
.promo-3 { background: linear-gradient(135deg, #4a148c, #7b1fa2); }
.promo-eyebrow { font-size: 10px; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .8px; color: rgba(255,255,255,.7); }
.promo-title { font-size: var(--fs-xl); font-weight: var(--fw-black); color: white; line-height: 1.2; }
.promo-sub { font-size: var(--fs-xs); color: rgba(255,255,255,.75); }
.promo-cta { display: inline-flex; align-items: center; gap: 6px; background: white; color: var(--text-h); font-size: var(--fs-xs); font-weight: var(--fw-bold); padding: 6px 14px; border-radius: var(--r-full); margin-top: auto; width: fit-content; transition: opacity var(--t-fast); }
.promo-cta:hover { opacity: .9; }

/* ── 17. Catalog Page ───────────────────────────────────────── */
.catalog-wrap { padding: 16px 0 32px; }

/* Toolbar card — breadcrumb on top, controls on bottom */
.catalog-toolbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  padding: 0 16px;
  background: var(--bg-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
  overflow: hidden;
  min-height: 48px;
}

/* Breadcrumb inside toolbar — inline, no bottom border */
.catalog-toolbar .breadcrumb {
  padding: 0;
  margin: 0;
  border-bottom: none;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Spacer between breadcrumb and controls */
.toolbar-bc-sep {
  width: 1px;
  height: 22px;
  background: var(--gray-200);
  margin: 0 24px 0 20px;
  flex-shrink: 0;
}

/* Controls row — pushed to right */
.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  flex-wrap: nowrap;
  padding: 0;
  justify-content: flex-end;
}

/* Search in toolbar */
.toolbar-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.toolbar-search-icon {
  position: absolute;
  left: 10px;
  color: var(--text-muted);
  pointer-events: none;
  flex-shrink: 0;
}
.toolbar-search-inp {
  width: 300px;
  padding: 7px 12px 7px 32px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  background: var(--gray-50);
  color: var(--text-body);
  transition: border-color var(--t-fast), width var(--t-slow), background var(--t-fast);
}
.toolbar-search-inp:focus {
  outline: none;
  border-color: var(--blue-pri);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px var(--blue-light);
  width: 360px;
}
.toolbar-search-inp::placeholder { color: var(--gray-400); }

/* Vertical divider between toolbar sections */
.toolbar-divider {
  display: block;
  width: 1px;
  height: 22px;
  background: var(--gray-200);
  flex-shrink: 0;
}

/* Toolbar inline pagination */
.toolbar-pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.tpg-total {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  white-space: nowrap;
  margin-right: 8px;
}
.tpg-btn {
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: var(--r-md);
  border: 1px solid var(--gray-200);
  background: var(--bg-white);
  font-size: var(--fs-xs);
  color: var(--text-body);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.tpg-btn:hover { background: var(--gray-100); }
.tpg-btn.active { background: var(--blue-pri); color: white; border-color: var(--blue-pri); font-weight: var(--fw-semi); }
.tpg-nav {
  width: 28px;
  height: 28px;
  border-radius: var(--r-md);
  border: 1px solid var(--gray-200);
  background: var(--bg-white);
  font-size: 16px;
  line-height: 1;
  color: var(--text-body);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast);
}
.tpg-nav:hover:not(:disabled) { background: var(--gray-100); }
.tpg-nav:disabled { opacity: 0.35; cursor: default; }
.tpg-ellipsis { font-size: var(--fs-xs); color: var(--text-muted); padding: 0 2px; }

/* Catalog layout */
.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: start; }

/* Filter sidebar */
.filter-col {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + 12px);
}
.filter-header {
  background: var(--bg-nav);
  color: white;
  padding: 12px 16px;
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-header button { font-size: var(--fs-xs); color: rgba(255,255,255,.7); font-weight: var(--fw-medium); }
.filter-header button:hover { color: white; }
.filter-body { padding: 0; max-height: calc(100vh - 140px); overflow-y: auto; }
.filter-group { border-bottom: 1px solid var(--gray-100); padding: 14px 16px; }
.filter-group:last-child { border-bottom: none; }
.filter-group-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--text-h);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}
.filter-group-title svg { width: 14px; height: 14px; color: var(--text-muted); transition: transform var(--t-fast); }
.filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  cursor: pointer;
}
.filter-item label { font-size: var(--fs-sm); color: var(--text-body); cursor: pointer; flex: 1; }
.filter-item:hover label { color: var(--blue-pri); }
.filter-check { width: 15px; height: 15px; accent-color: var(--blue-pri); cursor: pointer; flex-shrink: 0; }
.filter-count { font-size: var(--fs-xs); color: var(--text-muted); }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.price-inp {
  padding: 6px 8px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  outline: none;
  width: 100%;
}
.price-inp:focus { border-color: var(--blue-pri); }
.filter-apply-btn {
  width: 100%;
  background: var(--orange);
  color: white;
  padding: 8px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  margin-top: 8px;
}
.filter-apply-btn:hover { background: var(--orange-dark); }

/* Filter overlay — hidden globally, shown on mobile only */
.filter-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: calc(var(--z-modal) - 1); }

/* Catalog main */
.catalog-main { min-width: 0; }
.results-txt { font-size: var(--fs-sm); color: var(--text-muted); flex: 1; min-width: 200px; }
.results-txt strong { color: var(--text-h); }
.sort-sel {
  padding: 6px 10px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--text-h);
  background: white;
  cursor: pointer;
  outline: none;
}
.sort-sel:focus { border-color: var(--blue-pri); }
.view-toggle { display: flex; border: 1.5px solid var(--gray-300); border-radius: var(--r-sm); overflow: hidden; }
.vbtn { padding: 6px 10px; color: var(--text-muted); background: white; display: flex; align-items: center; }
.vbtn.on { background: var(--blue-pri); color: white; }
.vbtn svg { width: 16px; height: 16px; }

/* Active filter tags */
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.af-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--blue-light);
  color: var(--blue-pri);
  border: 1px solid var(--blue-mid);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  padding: 3px 10px;
  border-radius: var(--r-full);
}
.af-tag button { color: var(--blue-pri); display: flex; align-items: center; }
.af-tag button svg { width: 11px; height: 11px; }

/* Product grid — 4 columns on desktop, responsive */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}
.prod-grid .pcard { height: 100%; display: flex; flex-direction: column; }
.prod-grid .pcard-body { flex: 1; }
.prod-list { display: flex; flex-direction: column; gap: 14px; }

/* List view card */
.pcard.list-v {
  flex-direction: row;
  align-items: stretch;
}
.pcard.list-v .pcard-img-wrap { width: 180px; min-width: 180px; aspect-ratio: auto; border-bottom: none; border-right: 1px solid var(--gray-100); }
.pcard.list-v .pcard-body { padding: 14px; }
.pcard.list-v .pcard-footer { width: 180px; min-width: 180px; border-top: none; border-left: 1px solid var(--gray-100); justify-content: center; padding: 14px; }
.pcard.list-v .pcard-name { -webkit-line-clamp: 3; }
.pcard.list-v .pcard-specs { display: block; }

.pcard-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.spec-tag {
  background: var(--gray-100);
  color: var(--text-muted);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: var(--r-full);
  white-space: nowrap;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}
.pg-btn {
  min-width: 36px; height: 36px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  background: white;
  cursor: pointer;
  transition: all var(--t-fast);
  padding: 0 10px;
}
.pg-btn:hover { border-color: var(--blue-pri); color: var(--blue-pri); }
.pg-btn.on { background: var(--blue-pri); color: white; border-color: var(--blue-pri); }
.pg-btn svg { width: 14px; height: 14px; }

/* ── 18. Product Detail Page ────────────────────────────────── */
.pdp-layout {
  display: grid;
  grid-template-columns: auto 1fr 280px;
  gap: 20px;
  align-items: start;
}

/* Thumbnails */
.pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 60px;
}
.pdp-thumb {
  width: 60px; height: 60px;
  border: 2px solid var(--gray-200);
  border-radius: var(--r-sm);
  cursor: pointer;
  overflow: hidden;
  background: var(--gray-50);
  padding: 4px;
  transition: border-color var(--t-fast);
}
.pdp-thumb:hover, .pdp-thumb.on { border-color: var(--blue-pri); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; }

/* Main image */
.pdp-main-img-wrap {
  width: 340px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
  background: white;
}
.pdp-main-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  padding: 20px;
}

/* Info */
.pdp-info { padding: 0 8px; }
.pdp-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: 12px; flex-wrap: wrap; }
.pdp-breadcrumb a { color: var(--blue-pri); }
.pdp-breadcrumb a:hover { text-decoration: underline; }
.pdp-breadcrumb-sep { color: var(--gray-300); }
.pdp-sku { font-family: var(--mono); font-size: var(--fs-sm); color: var(--blue-pri); font-weight: var(--fw-semi); margin-bottom: 6px; }
.pdp-title { font-size: var(--fs-2xl); font-weight: var(--fw-black); color: var(--text-h); line-height: 1.2; margin-bottom: 8px; }
.pdp-mfr { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 10px; }
.pdp-mfr a { color: var(--blue-pri); }
.pdp-mfr a:hover { text-decoration: underline; }
.pdp-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--gray-200); }
.pdp-stars { display: flex; }
.pdp-stars svg { width: 16px; height: 16px; }
.pdp-rc { font-size: var(--fs-sm); color: var(--blue-pri); }
.pdp-rc:hover { text-decoration: underline; }
.pdp-price-section { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--gray-200); }
.pdp-price-main {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.pdp-price {
  font-size: 28px;
  font-weight: var(--fw-black);
  color: var(--text-h);
}
.pdp-price .curr { font-size: 16px; vertical-align: top; line-height: 2; }
.pdp-orig { font-size: var(--fs-md); color: var(--text-muted); text-decoration: line-through; }
.pdp-save { color: var(--deal-red); font-size: var(--fs-sm); font-weight: var(--fw-semi); }
.pdp-gst-note { font-size: var(--fs-xs); color: var(--text-muted); }
.pdp-price-breaks {
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: 12px;
}
.pdp-pb-head {
  background: var(--bg-subtle);
  padding: 8px 12px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.pdp-pb-row {
  padding: 8px 12px;
  font-size: var(--fs-sm);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--gray-100);
}
.pdp-pb-row.best { background: #FFF9E6; }
.pdp-pb-save { color: var(--deal-red); font-weight: var(--fw-semi); }
.pdp-specs-table { border: 1px solid var(--gray-200); border-radius: var(--r-md); overflow: hidden; margin-bottom: 16px; }
.pdp-spec-row { display: flex; border-bottom: 1px solid var(--gray-100); font-size: var(--fs-sm); }
.pdp-spec-row:last-child { border-bottom: none; }
.pdp-spec-key { background: var(--gray-50); padding: 8px 14px; width: 140px; min-width: 140px; font-weight: var(--fw-semi); color: var(--text-muted); }
.pdp-spec-val { padding: 8px 14px; color: var(--text-h); flex: 1; }
.pdp-features { margin-bottom: 16px; }
.pdp-features h4 { font-size: var(--fs-base); font-weight: var(--fw-bold); color: var(--text-h); margin-bottom: 8px; }
.pdp-feature-item { display: flex; align-items: flex-start; gap: 8px; font-size: var(--fs-sm); color: var(--text-body); padding: 4px 0; }
.pdp-feature-item svg { width: 14px; height: 14px; color: var(--green-stock); flex-shrink: 0; margin-top: 1px; }

/* Buy Box */
.pdp-buybox {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 16px;
  position: sticky;
  top: calc(var(--header-h) + 12px);
}
.buybox-price { font-size: 22px; font-weight: var(--fw-black); color: var(--text-h); margin-bottom: 10px; }
.buybox-price .curr { font-size: 14px; vertical-align: top; line-height: 1.8; }
.buybox-stock { font-size: var(--fs-md); font-weight: var(--fw-semi); margin-bottom: 12px; }
.buybox-delivery { background: var(--gray-50); border-radius: var(--r-sm); padding: 10px; font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: 12px; }
.buybox-delivery strong { color: var(--text-h); font-size: var(--fs-sm); }
.buybox-qty { margin-bottom: 12px; }
.buybox-qty label { font-size: var(--fs-sm); font-weight: var(--fw-semi); color: var(--text-h); margin-bottom: 6px; display: block; }
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.qty-btn { width: 34px; height: 36px; background: var(--gray-100); color: var(--text-h); font-size: 18px; font-weight: var(--fw-bold); display: flex; align-items: center; justify-content: center; transition: background var(--t-fast); }
.qty-btn:hover { background: var(--gray-200); }
.qty-num { width: 50px; text-align: center; font-size: var(--fs-md); font-weight: var(--fw-bold); border: none; outline: none; border-left: 1px solid var(--gray-300); border-right: 1px solid var(--gray-300); height: 36px; }
.buybox-atc { width: 100%; background: var(--yellow); color: var(--yellow-text); padding: 10px; border-radius: var(--r-full); font-size: var(--fs-base); font-weight: var(--fw-bold); display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 8px; border: 1px solid var(--yellow-dark); transition: background var(--t-fast); }
.buybox-atc:hover { background: var(--yellow-dark); }
.buybox-atc svg { width: 16px; height: 16px; }
.buybox-now { width: 100%; background: var(--orange); color: white; padding: 10px; border-radius: var(--r-full); font-size: var(--fs-base); font-weight: var(--fw-bold); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; border: 1px solid var(--orange-dark); transition: background var(--t-fast); }
.buybox-now:hover { background: var(--orange-dark); }
.buybox-divider { border: none; border-top: 1px solid var(--gray-200); margin: 12px 0; }
.buybox-wish { width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: var(--fs-sm); color: var(--blue-pri); padding: 6px; border-radius: var(--r-sm); transition: background var(--t-fast); }
.buybox-wish:hover { background: var(--blue-light); }
.buybox-wish svg { width: 15px; height: 15px; }
.buybox-secured { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--text-muted); margin-top: 10px; justify-content: center; }
.buybox-secured svg { width: 13px; height: 13px; color: var(--green-stock); }

/* ── 19. Cart Sidebar ───────────────────────────────────────── */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: var(--z-overlay); display: none; }
.cart-overlay.on { display: block; }
.cart-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 100vw);
  background: white;
  box-shadow: var(--shadow-xl);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--t-slow);
}
.cart-panel.on { transform: translateX(0); }
.cart-hd {
  background: var(--navy);
  color: white;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-hd-title { font-size: var(--fs-md); font-weight: var(--fw-bold); display: flex; align-items: center; gap: 8px; }
.cart-hd-title svg { width: 20px; height: 20px; }
.cart-close-btn { color: rgba(255,255,255,.7); padding: 4px; border-radius: var(--r-sm); transition: all var(--t-fast); }
.cart-close-btn:hover { color: white; background: rgba(255,255,255,.1); }
.cart-close-btn svg { width: 18px; height: 18px; }
.cart-free-ship { background: var(--green-light); color: var(--green-stock); font-size: var(--fs-xs); font-weight: var(--fw-semi); padding: 8px 18px; text-align: center; border-bottom: 1px solid #c8e6c9; }
.cart-items-wrap { flex: 1; overflow-y: auto; padding: 12px 18px; }
.cart-empty-state { text-align: center; padding: 48px 20px; }
.cart-empty-state svg { width: 56px; height: 56px; color: var(--gray-300); margin: 0 auto 12px; }
.cart-empty-state p { font-size: var(--fs-md); font-weight: var(--fw-semi); color: var(--text-muted); }
.cart-empty-state small { font-size: var(--fs-sm); color: var(--gray-400); }
.cart-item { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--gray-200); border-radius: var(--r-sm); background: var(--gray-50); padding: 4px; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-sku { font-family: var(--mono); font-size: 10px; color: var(--blue-pri); font-weight: var(--fw-semi); }
.cart-item-name { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--text-h); margin: 2px 0 6px; line-height: 1.3; }
.cart-item-actions { display: flex; align-items: center; gap: 8px; }
.ci-qty-ctrl { display: flex; align-items: center; border: 1px solid var(--gray-300); border-radius: var(--r-sm); overflow: hidden; }
.ci-qty-btn { width: 26px; height: 26px; background: var(--gray-100); color: var(--text-h); font-size: 14px; display: flex; align-items: center; justify-content: center; transition: background var(--t-fast); }
.ci-qty-btn:hover { background: var(--gray-200); }
.ci-qty-num { width: 32px; text-align: center; font-size: var(--fs-sm); font-weight: var(--fw-bold); border-left: 1px solid var(--gray-300); border-right: 1px solid var(--gray-300); height: 26px; display: flex; align-items: center; justify-content: center; }
.ci-del { font-size: var(--fs-xs); color: var(--blue-pri); cursor: pointer; }
.ci-del:hover { text-decoration: underline; }
.cart-item-price { font-size: var(--fs-base); font-weight: var(--fw-black); color: var(--text-h); white-space: nowrap; flex-shrink: 0; align-self: center; }
.cart-foot { padding: 14px 18px; border-top: 1px solid var(--gray-200); background: var(--gray-50); }
.cart-subtotal-row { display: flex; justify-content: space-between; font-size: var(--fs-sm); padding: 4px 0; color: var(--text-muted); }
.cart-subtotal-row.total-row { font-size: var(--fs-lg); font-weight: var(--fw-black); color: var(--text-h); padding: 10px 0 0; border-top: 1px solid var(--gray-200); margin-top: 6px; }
.cart-checkout-btn { width: 100%; background: var(--yellow); color: var(--yellow-text); padding: 12px; border-radius: var(--r-full); font-size: var(--fs-base); font-weight: var(--fw-black); display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; border: 1px solid var(--yellow-dark); transition: background var(--t-fast); }
.cart-checkout-btn:hover { background: var(--yellow-dark); }
.cart-checkout-btn svg { width: 16px; height: 16px; }

/* ── 20. Breadcrumb ─────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--text-muted); padding: 8px 0 14px; flex-wrap: wrap; }
.breadcrumb a { color: var(--blue-pri); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--gray-300); }
.breadcrumb-cur { color: var(--text-muted); font-weight: var(--fw-medium); }

/* ── 21. Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 15px; height: 15px; }

.btn-yellow { background: var(--yellow); color: var(--yellow-text); border-color: var(--yellow-dark); }
.btn-yellow:hover { background: var(--yellow-dark); }
.btn-orange { background: var(--orange); color: white; border-color: var(--orange-dark); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-blue { background: var(--blue-pri); color: white; border-color: var(--blue-hover); }
.btn-blue:hover { background: var(--blue-hover); }
.btn-outline { background: white; color: var(--blue-pri); border-color: var(--blue-pri); }
.btn-outline:hover { background: var(--blue-light); }
.btn-ghost-white { background: transparent; color: white; border-color: rgba(255,255,255,.5); }
.btn-ghost-white:hover { background: rgba(255,255,255,.12); border-color: white; }
.btn-sm { padding: 6px 14px; font-size: var(--fs-xs); }
.btn-lg { padding: 12px 24px; font-size: var(--fs-md); }

/* ── 22. Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); margin-top: 20px; }
.footer-back-top { background: var(--navy-light); padding: 13px 0; text-align: center; }
.footer-back-top button { color: white; font-size: var(--fs-sm); font-weight: var(--fw-medium); display: flex; align-items: center; gap: 6px; margin: 0 auto; }
.footer-back-top button svg { width: 14px; height: 14px; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; padding: 32px 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-col-title { color: white; font-size: var(--fs-sm); font-weight: var(--fw-bold); margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-link { font-size: var(--fs-sm); transition: color var(--t-fast); }
.footer-link:hover { color: white; }
.footer-brand-desc { font-size: var(--fs-sm); line-height: 1.6; margin-bottom: 16px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 8px; }
.footer-ci { display: flex; align-items: flex-start; gap: 8px; font-size: var(--fs-sm); }
.footer-ci svg { width: 14px; height: 14px; color: var(--blue-accent); margin-top: 2px; flex-shrink: 0; }
.footer-socials { display: flex; gap: 8px; margin-top: 14px; }
.fsoc { width: 34px; height: 34px; background: rgba(255,255,255,.08); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); transition: all var(--t-fast); }
.fsoc:hover { background: var(--blue-pri); color: white; }
.fsoc svg { width: 15px; height: 15px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: var(--fs-xs); }
.footer-bottom-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-bottom-link { transition: color var(--t-fast); }
.footer-bottom-link:hover { color: white; }
.payment-methods { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pm-chip { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-sm); padding: 3px 9px; font-size: 10px; font-weight: var(--fw-bold); color: rgba(255,255,255,.7); letter-spacing: .3px; }

/* ── 23. Toast ──────────────────────────────────────────────── */
.toast-wrap { position: fixed; bottom: 20px; right: 20px; z-index: var(--z-toast); display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; background: var(--navy); color: white; padding: 12px 18px; border-radius: var(--r-lg); box-shadow: var(--shadow-xl); font-size: var(--fs-sm); font-weight: var(--fw-medium); pointer-events: all; animation: toastIn .3s cubic-bezier(.16,1,.3,1); border-left: 3px solid var(--green-stock); max-width: 360px; }
.toast.err { border-left-color: var(--deal-red); }
.toast.warn { border-left-color: var(--orange); }
.toast svg { width: 16px; height: 16px; flex-shrink: 0; }
.toast.ok svg { color: var(--green-stock); }
.toast.err svg { color: var(--deal-red); }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* ── 24. Floating buttons ───────────────────────────────────── */
.whatsapp-fab { position: fixed; bottom: 20px; right: 20px; width: 52px; height: 52px; background: #25D366; color: white; border-radius: var(--r-full); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(37,211,102,.4); z-index: var(--z-sticky); transition: transform var(--t-med); }
.whatsapp-fab:hover { transform: scale(1.1); }
.whatsapp-fab svg { width: 26px; height: 26px; }
.scroll-top-fab { position: fixed; bottom: 80px; right: 20px; width: 40px; height: 40px; background: var(--navy); color: white; border-radius: var(--r-full); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); z-index: var(--z-sticky); transition: all var(--t-med); opacity: 0; pointer-events: none; }
.scroll-top-fab.visible { opacity: 1; pointer-events: all; }
.scroll-top-fab:hover { background: var(--blue-pri); }
.scroll-top-fab svg { width: 18px; height: 18px; }

/* ── 25. Mobile Menu ────────────────────────────────────────── */
.mobile-menu { position: fixed; inset: 0; z-index: var(--z-modal); display: none; }
.mobile-menu.on { display: flex; }
.mob-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.mob-panel {
  position: relative;
  z-index: 1;
  background: white;
  width: min(300px, 100vw);
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mob-hd { background: var(--navy); padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.mob-hd-title { color: white; font-size: var(--fs-base); font-weight: var(--fw-bold); display: flex; align-items: center; gap: 8px; }
.mob-hd-title svg { width: 18px; height: 18px; }
.mob-close { color: rgba(255,255,255,.7); padding: 4px; }
.mob-close:hover { color: white; }
.mob-close svg { width: 18px; height: 18px; }
.mob-nav { padding: 8px; }
.mob-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-md); font-size: var(--fs-base); color: var(--text-h); font-weight: var(--fw-medium); transition: all var(--t-fast); }
.mob-link:hover, .mob-link.on { background: var(--blue-light); color: var(--blue-pri); }
.mob-link svg { width: 18px; height: 18px; color: var(--gray-400); }
.mob-link.on svg { color: var(--blue-pri); }
.mob-divider { height: 1px; background: var(--gray-100); margin: 6px 8px; }
.mob-section-title { font-size: var(--fs-xs); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .8px; color: var(--text-muted); padding: 10px 12px 4px; }
.mob-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px 8px; }
.mob-cat-btn { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--r-md); padding: 8px 10px; font-size: var(--fs-xs); font-weight: var(--fw-semi); color: var(--text-h); text-align: center; cursor: pointer; transition: all var(--t-fast); }
.mob-cat-btn:hover { background: var(--blue-light); color: var(--blue-pri); border-color: var(--blue-pri); }

/* ── 26. Sponsored Tag ──────────────────────────────────────── */
.sponsored-tag { font-size: 10px; color: var(--text-muted); border: 1px solid var(--gray-300); padding: 1px 6px; border-radius: 2px; display: inline-block; margin-bottom: 3px; }

/* ── 27. Compare Bar ────────────────────────────────────────── */
.compare-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy); color: white; padding: 12px 0; z-index: var(--z-overlay); transform: translateY(100%); transition: transform var(--t-slow); border-top: 2px solid var(--blue-pri); }
.compare-bar.show { transform: translateY(0); }
.compare-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.compare-title { font-size: var(--fs-sm); font-weight: var(--fw-bold); white-space: nowrap; }
.compare-slots { display: flex; gap: 8px; flex: 1; }
.compare-slot {
  width: 72px; height: 56px;
  border: 1.5px dashed rgba(255,255,255,.3);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.4);
  position: relative;
  overflow: hidden;
}
.compare-slot img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.compare-remove { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; background: var(--deal-red); border-radius: var(--r-full); display: flex; align-items: center; justify-content: center; color: white; }
.compare-remove svg { width: 9px; height: 9px; }

/* ── 28. Services, About, Contact pages ─────────────────────── */
.page-inner { background: white; border-radius: var(--r-md); padding: 32px; box-shadow: var(--shadow-card); margin-bottom: 14px; }
.page-title { font-size: var(--fs-3xl); font-weight: var(--fw-black); color: var(--text-h); margin-bottom: 8px; }
.page-sub { font-size: var(--fs-md); color: var(--text-muted); margin-bottom: 28px; }
.srv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.srv-card { border: 1.5px solid var(--gray-200); border-radius: var(--r-lg); padding: 20px; transition: all var(--t-slow); }
.srv-card:hover { border-color: var(--blue-pri); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.srv-icon { width: 48px; height: 48px; background: var(--blue-light); border-radius: var(--r-xl); display: flex; align-items: center; justify-content: center; color: var(--blue-pri); margin-bottom: 14px; transition: all var(--t-med); }
.srv-card:hover .srv-icon { background: var(--blue-pri); color: white; }
.srv-icon svg { width: 22px; height: 22px; }
.srv-title { font-size: var(--fs-lg); font-weight: var(--fw-bold); color: var(--text-h); margin-bottom: 6px; }
.srv-desc { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.srv-features { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.srv-feat { display: flex; align-items: center; gap: 7px; font-size: var(--fs-sm); color: var(--text-body); }
.srv-feat svg { width: 13px; height: 13px; color: var(--green-stock); flex-shrink: 0; }
.srv-price { display: inline-flex; align-items: center; gap: 6px; background: var(--blue-light); color: var(--blue-pri); font-size: var(--fs-sm); font-weight: var(--fw-bold); padding: 5px 12px; border-radius: var(--r-full); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.contact-form-wrap { background: var(--gray-50); border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--gray-200); }
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: var(--fs-sm); font-weight: var(--fw-semi); color: var(--text-h); margin-bottom: 5px; }
.form-inp { width: 100%; padding: 9px 12px; border: 1.5px solid var(--gray-300); border-radius: var(--r-sm); font-size: var(--fs-sm); outline: none; font-family: var(--font); transition: border-color var(--t-fast); background: white; }
.form-inp:focus { border-color: var(--blue-pri); }
.form-inp.textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── 29. Responsive ─────────────────────────────────────────── */
@media (max-width: 1300px) {
  .cat-grid { grid-template-columns: repeat(5, 1fr); }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; }
  .home-mini-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .pdp-layout { grid-template-columns: auto 1fr; }
  .pdp-buybox { display: none; }
  .flash-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
  .catalog-layout { grid-template-columns: 230px 1fr; }
  .toolbar-search-inp { width: 160px; }
  .toolbar-search-inp:focus { width: 210px; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .deal-list { grid-template-columns: repeat(3, 1fr); }
  .promo-row { grid-template-columns: 1fr 1fr; }
  .promo-row > :last-child { grid-column: 1 / -1; }
  .home-mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prod-carousel-track .pcard {
    flex: 0 0 calc((100% - 24px) / 3);
    min-width: calc((100% - 24px) / 3);
    max-width: calc((100% - 24px) / 3);
  }
}

@media (max-width: 900px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .flash-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-carousel-track .pcard {
    flex: 0 0 calc((100% - 12px) / 2);
    min-width: calc((100% - 12px) / 2);
    max-width: calc((100% - 12px) / 2);
  }
}

@media (max-width: 768px) {
  :root { --header-h: 62px; }
  .header-delivery, .h-act { display: none; }
  .h-hamburger { display: flex !important; }
  .nav-bar { display: none; }
  .header-search { order: 3; flex-basis: 100%; }
  .header-main { flex-wrap: wrap; height: auto; padding: 6px 0; gap: 6px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .flash-grid { grid-template-columns: repeat(2, 1fr); }
  .toolbar-controls { flex-wrap: wrap; }
  .toolbar-search-inp { width: 100%; }
  .toolbar-search-inp:focus { width: 100%; }
  .toolbar-divider { display: none; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-col { position: fixed; left: -100%; top: 0; bottom: 0; z-index: var(--z-modal); border-radius: 0; width: 290px; transition: left var(--t-slow); overflow-y: auto; }
  .filter-col.open { left: 0; }
  .filter-overlay.show { display: block; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .deal-list { grid-template-columns: repeat(2, 1fr); }
  .promo-row { grid-template-columns: 1fr; }
  .promo-row > :last-child { grid-column: auto; }
  .pdp-layout { grid-template-columns: 1fr; }
  .pdp-thumbs { flex-direction: row; width: 100%; }
  .pdp-thumb { width: 50px; height: 50px; }
  .pdp-main-img-wrap { width: 100%; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .home-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .flash-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-carousel-track .pcard {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
  }
  .catalog-toolbar { flex-wrap: wrap; padding: 8px 12px; gap: 6px; }
  .catalog-toolbar .breadcrumb { flex-basis: 100%; }
  .toolbar-bc-sep { display: none; }
  .hero-title { font-size: 1.4rem; }
  .home-mini-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .pcard.list-v { flex-direction: column; }
  .pcard.list-v .pcard-img-wrap { width: 100%; border-right: none; border-bottom: 1px solid var(--gray-100); }
  .pcard.list-v .pcard-footer { width: 100%; border-left: none; border-top: 1px solid var(--gray-100); }
  .footer-main { grid-template-columns: 1fr; }
  .toast-wrap { left: 12px; right: 12px; bottom: 12px; }
  .toast { max-width: none; }
}

/* Scroll bar styling */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ── Page wrapper padding ───────────────────────────────────── */
.page-wrap { padding-block: 24px; }
.page-wrap--lg { padding-block: 32px; }
.page-inner { max-width: 960px; }

/* ── Page hero / title block ────────────────────────────────── */
.page-hero { max-width: 700px; margin-bottom: 28px; }
.page-eyebrow {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue-pri);
  margin-bottom: 6px;
}

/* ── Services strip (dark banner on home) ───────────────────── */
.services-strip {
  background: linear-gradient(135deg, var(--navy), #1B2741);
  border-radius: var(--r-lg);
  padding: 32px;
  margin-bottom: 14px;
  color: var(--text-inv);
}
.services-strip-hd {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.services-strip-eyebrow {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue-accent);
  margin-bottom: 6px;
}
.services-strip-title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  color: var(--text-inv);
  margin-bottom: 4px;
}
.services-strip-sub {
  color: rgba(255,255,255,.65);
  font-size: var(--fs-base);
}
.services-strip-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.srv-strip-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 16px;
}
.srv-strip-card-icon { font-size: 1.5rem; margin-bottom: 8px; }
.srv-strip-card-title { font-weight: var(--fw-bold); color: var(--text-inv); margin-bottom: 4px; }
.srv-strip-card-desc { font-size: var(--fs-xs); color: rgba(255,255,255,.6); }
.srv-strip-card-price { font-size: var(--fs-sm); color: var(--yellow); font-weight: var(--fw-bold); margin-top: 8px; }

/* ── Trust badges ────────────────────────────────────────────── */
.trust-badges {
  background: var(--bg-white);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: 0 2px 5px rgba(213,217,217,.5);
}
.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  text-align: center;
}
.trust-badge-icon { font-size: 1.8rem; margin-bottom: 6px; }
.trust-badge-title { font-weight: var(--fw-bold); font-size: var(--fs-base); }
.trust-badge-sub { font-size: var(--fs-xs); color: var(--gray-400); }
.trust-badge-payment-img {
  display: block;
  margin: 0 auto 8px;
  width: 100%;
  max-width: 260px;
  border-radius: 4px;
}

/* ── Testimonials ────────────────────────────────────────────── */
.testimonials-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.rating-summary-box {
  background: #FFF9E6;
  padding: 8px 14px;
  border-radius: var(--r-md);
  text-align: center;
}
.rating-summary-num { font-size: var(--fs-2xl); font-weight: var(--fw-black); color: var(--text-h); }
.rating-summary-stars { display: flex; color: var(--orange); font-size: var(--fs-xs); }
.rating-summary-count { font-size: var(--fs-xs); color: var(--gray-400); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.testimonial-card {
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 16px;
}
.testimonial-stars { display: flex; color: var(--orange); font-size: var(--fs-base); margin-bottom: 8px; }
.testimonial-text { font-size: var(--fs-sm); color: var(--text-body); line-height: 1.6; margin-bottom: 10px; }
.testimonial-author { font-size: var(--fs-xs); font-weight: var(--fw-semi); color: var(--text-h); }
.testimonial-company { font-size: var(--fs-xs); color: var(--gray-400); }

/* ── Newsletter ──────────────────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(90deg, var(--blue-light), #DBEAFE);
  border-radius: var(--r-lg);
  padding: 28px;
  margin-bottom: 14px;
  border: 1px solid var(--blue-mid);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.newsletter-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue-pri);
  margin-bottom: 4px;
}
.newsletter-title { font-size: var(--fs-xl); font-weight: var(--fw-black); color: var(--text-h); }
.newsletter-sub { font-size: var(--fs-sm); color: var(--gray-500); margin-top: 4px; }
.newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-input {
  padding: 10px 16px;
  border: 1.5px solid #93C5FD;
  border-radius: var(--r-full);
  font-size: var(--fs-base);
  outline: none;
  min-width: 260px;
  background: var(--bg-white);
  font-family: var(--font);
  transition: border-color var(--t-fast);
}
.newsletter-input:focus { border-color: var(--blue-pri); }
@media (max-width: 600px) {
  .newsletter-section { flex-direction: column; align-items: flex-start; }
  .newsletter-input { min-width: 0; width: 100%; }
}

/* ── Brand banner variants ───────────────────────────────────── */
.brand-banner--ti {
  background: linear-gradient(90deg, #FFF8E1, white);
  border-color: #FFE082;
}
.brand-logo--ti { background: #e33c2d; }

/* ── About page ──────────────────────────────────────────────── */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.about-stat-card {
  background: var(--blue-light);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}
.about-stat-num { font-size: 2.5rem; font-weight: var(--fw-black); color: var(--blue-pri); }
.about-stat-lbl { font-weight: var(--fw-semi); color: var(--text-h); margin-top: 4px; }
.about-body-text { font-size: 15px; color: #444; line-height: 1.7; margin-bottom: 16px; }

/* ── Corporate about page ────────────────────────────────────── */
.about-corp-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 34px;
  background:
    radial-gradient(circle at top right, rgba(0, 102, 204, 0.16), transparent 28%),
    radial-gradient(circle at left center, rgba(255, 204, 0, 0.14), transparent 24%),
    linear-gradient(180deg, #0f1f43 0%, #162b59 64%, #f6f9ff 64%, #f6f9ff 100%);
}
.about-corp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 34px;
  align-items: center;
}
.about-corp-hero-copy { color: white; padding: 18px 0; }
.about-corp-title {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1.02;
  color: white;
}
.about-corp-sub {
  max-width: 620px;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}
.about-corp-actions {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.about-corp-primary-btn,
.about-corp-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 270px;
  min-height: 58px;
  padding: 10px 12px 10px 14px;
  border-radius: 16px;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.about-corp-primary-btn {
  background: linear-gradient(135deg, #ffd44d 0%, #ffbf1f 100%);
  border: 1px solid rgba(255, 219, 102, 0.55);
  box-shadow: 0 18px 34px rgba(255, 191, 31, 0.22);
  color: #142d5c;
}
.about-corp-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(255, 191, 31, 0.28);
}
.about-corp-primary-btn-text,
.about-corp-link-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.about-corp-primary-btn-text strong {
  color: #102755;
  font-size: 14px;
  line-height: 1.1;
}
.about-corp-primary-btn-text small {
  color: rgba(16, 39, 85, 0.72);
  font-size: 9px;
  line-height: 1.2;
}
.about-corp-primary-btn-icon,
.about-corp-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 11px;
  flex: 0 0 30px;
}
.about-corp-primary-btn-icon {
  background: rgba(255, 255, 255, 0.46);
  color: #102755;
  box-shadow: inset 0 0 0 1px rgba(16, 39, 85, 0.08);
}
.about-corp-link {
  background: linear-gradient(135deg, #18366a 0%, #0f2347 100%);
  border: 1px solid rgba(255, 212, 77, 0.34);
  box-shadow: 0 20px 36px rgba(6, 14, 32, 0.24);
  color: white;
}
.about-corp-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 212, 77, 0.48);
  box-shadow: 0 26px 42px rgba(6, 14, 32, 0.28);
}
.about-corp-link-copy strong {
  color: #fff7d2;
  font-size: 14px;
  line-height: 1.1;
}
.about-corp-link-copy small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 9px;
  line-height: 1.2;
}
.about-corp-link-icon {
  background: linear-gradient(135deg, #ffd34d, #ffbc1f);
  color: #102755;
}
.about-corp-mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
  max-width: 560px;
}
.about-corp-mini-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 102, 204, 0.07);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 24px rgba(5, 15, 38, 0.08);
}
.about-corp-mini-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #0066cc, #ffd34d);
}
.about-corp-mini-card:nth-child(2)::before {
  background: linear-gradient(180deg, #0e7cff, #4fc3ff);
}
.about-corp-mini-card:nth-child(3)::before {
  background: linear-gradient(180deg, #ffbe2e, #ffe07f);
}
.about-corp-mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: linear-gradient(135deg, #edf5ff, #fff4cf);
  color: var(--blue-pri);
  box-shadow: inset 0 0 0 1px rgba(0, 102, 204, 0.06);
  grid-row: 1 / span 2;
}
.about-corp-mini-value {
  display: block;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--blue-pri);
  letter-spacing: -0.02em;
}
.about-corp-mini-label {
  font-size: 11px;
  color: #627089;
  font-weight: var(--fw-semi);
  line-height: 1.3;
}
.about-corp-hero-visual { position: relative; }
.about-corp-image-stack {
  position: relative;
  max-width: 500px;
  margin-left: auto;
}
.about-corp-image {
  display: block;
  width: 100%;
  object-fit: cover;
}
.about-corp-image-main {
  height: clamp(300px, 34vw, 350px);
  border-radius: 28px;
  box-shadow: 0 28px 50px rgba(5, 15, 38, 0.26);
}
.about-corp-page { margin-top: 8px; }
.about-corp-section { padding: 30px 0 4px; }
.about-corp-section-head {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 22px;
}
.about-corp-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: start;
}
.about-corp-story-copy,
.about-corp-client-copy {
  font-size: 15px;
  color: #495770;
  line-height: 1.85;
}
.about-corp-story-copy p,
.about-corp-client-copy p { margin: 0 0 14px; }
.about-corp-story-card,
.about-corp-contact-panel {
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 20px 40px rgba(16, 38, 84, 0.08);
  border: 1px solid rgba(0, 102, 204, 0.08);
}
.about-corp-story-card { padding: 24px; }
.about-corp-story-card-title {
  font-size: 1.05rem;
  color: var(--text-h);
  font-weight: var(--fw-bold);
  margin-bottom: 16px;
}
.about-corp-check-list {
  display: grid;
  gap: 14px;
}
.about-corp-check-list div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #435069;
  font-size: 14px;
  line-height: 1.65;
}
.about-corp-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  color: #22a65b;
  font-size: 13px;
  font-weight: var(--fw-black);
  flex: 0 0 22px;
}
.about-corp-segment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.about-corp-segment-card,
.about-corp-news-card {
  padding: 22px;
  border-radius: 22px;
  background: white;
  box-shadow: 0 16px 34px rgba(16, 38, 84, 0.07);
  border: 1px solid rgba(0, 102, 204, 0.08);
}
.about-corp-segment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #edf5ff, #fff4cf);
  color: var(--blue-pri);
}
.about-corp-segment-card h3,
.about-corp-news-card h3 {
  margin: 0 0 10px;
  color: var(--text-h);
  font-size: 1.05rem;
}
.about-corp-segment-card p,
.about-corp-news-card p {
  margin: 0;
  color: #55637d;
  font-size: 14px;
  line-height: 1.75;
}
.about-corp-client-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  align-items: center;
}
.about-corp-lead {
  font-size: 1.1rem;
  color: var(--text-h);
  font-weight: var(--fw-semi);
}
.about-corp-image-secondary {
  min-height: 330px;
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(16, 38, 84, 0.12);
}
.about-corp-client-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.about-corp-client-stat {
  padding: 22px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fdfefe 0%, #f4f8ff 100%);
  border: 1px solid rgba(0, 102, 204, 0.08);
  box-shadow: 0 14px 28px rgba(16, 38, 84, 0.06);
  text-align: center;
}
.about-corp-client-stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-pri);
  font-size: 2rem;
  line-height: 1;
  font-weight: var(--fw-black);
}
.about-corp-client-stat span {
  color: #53627e;
  font-size: 13px;
  font-weight: var(--fw-semi);
}
.about-team-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.about-team-nav {
  display: inline-flex;
  gap: 10px;
  flex: 0 0 auto;
}
.about-team-nav-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: white;
  color: var(--blue-pri);
  box-shadow: 0 12px 24px rgba(16, 38, 84, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.about-team-nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(16, 38, 84, 0.14);
}
.about-team-nav-btn:disabled {
  opacity: 0.38;
  cursor: default;
  transform: none;
  box-shadow: 0 8px 16px rgba(16, 38, 84, 0.08);
}
.about-team-slider {
  overflow: hidden;
}
.about-team-track {
  display: flex;
  gap: 18px;
  transition: transform 0.35s ease;
  will-change: transform;
}
.about-team-slide {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
}
.about-team-profile-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 16px 32px rgba(16, 38, 84, 0.08);
  border: 1px solid rgba(0, 102, 204, 0.08);
}
.about-team-profile-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 16px 16px 30px;
  background:
    linear-gradient(135deg, rgba(8, 52, 118, 0.98), rgba(14, 63, 136, 0.98) 55%, rgba(10, 28, 61, 0.99)),
    radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent 30%);
  color: white;
}
.about-team-profile-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.35;
  pointer-events: none;
}
.about-team-profile-avatar-wrap {
  position: relative;
  z-index: 2;
  margin: -36px auto 0;
  width: 86px;
}
.about-team-profile-avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 4px solid white;
  box-shadow: 0 10px 22px rgba(16, 38, 84, 0.14);
}
.about-team-profile-body {
  padding: 14px 16px 18px;
  text-align: center;
}
.about-team-profile-body h3 {
  margin: 0 0 6px;
  color: var(--blue-pri);
  font-size: 1.2rem;
  line-height: 1.15;
}
.about-team-profile-role {
  color: #6a7791;
  font-size: 13px;
  margin-bottom: 12px;
}
.about-team-profile-body p {
  margin: 0;
  color: #66738d;
  font-size: 13px;
  line-height: 1.65;
  min-height: 104px;
}
.about-team-profile-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}
.about-team-profile-social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  color: var(--blue-pri);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.about-team-profile-social:hover {
  transform: translateY(-2px);
  background: #e4ecff;
}
.about-corp-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.about-corp-news-card {
  overflow: hidden;
  padding: 0;
}
.about-corp-news-image {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.about-corp-news-body {
  padding: 18px 20px 20px;
}
.about-corp-news-meta {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf5ff;
  color: var(--blue-pri);
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.about-corp-news-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--blue-pri);
  font-size: 13px;
  font-weight: var(--fw-bold);
  text-decoration: none;
}
.about-corp-news-link::after {
  content: "→";
  font-size: 14px;
  line-height: 1;
}
.about-corp-news-link:hover {
  color: var(--blue-hover);
}
.about-corp-contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}
.about-corp-contact-panel {
  padding: 18px;
  display: grid;
  gap: 14px;
}
.about-corp-contact-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 18px;
  background: white;
  border: 1px solid rgba(0, 102, 204, 0.08);
}
.about-corp-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #edf5ff, #fff4cf);
  color: var(--blue-pri);
  flex: 0 0 42px;
}
.about-corp-contact-label {
  color: #5f6d84;
  font-size: 12px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.about-corp-contact-value {
  margin-top: 4px;
  color: var(--text-h);
  font-size: 1rem;
  font-weight: var(--fw-bold);
}
.about-corp-contact-note {
  margin-top: 4px;
  color: #5a6780;
  font-size: 13px;
  line-height: 1.6;
}
.about-corp-form-wrap {
  padding: 24px;
  border-radius: 24px;
  background: white;
  border: 1px solid rgba(0, 102, 204, 0.08);
  box-shadow: 0 18px 38px rgba(16, 38, 84, 0.08);
}

@media (max-width: 1100px) {
  .about-corp-hero-grid,
  .about-corp-story-grid,
  .about-corp-client-grid,
  .about-corp-contact-grid {
    grid-template-columns: 1fr;
  }
  .about-corp-segment-grid,
  .about-corp-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-team-slide {
    flex-basis: calc((100% - 18px) / 2);
  }
  .about-corp-image-stack { margin: 0; }
}

@media (max-width: 760px) {
  .about-corp-hero { padding: 34px 0 22px; }
  .about-corp-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-corp-primary-btn,
  .about-corp-link {
    width: 100%;
    min-width: 0;
    min-height: 58px;
  }
  .about-corp-mini-metrics,
  .about-corp-client-stats,
  .about-corp-segment-grid,
  .about-corp-news-grid {
    grid-template-columns: 1fr;
  }
  .about-corp-mini-metrics {
    max-width: 100%;
  }
  .about-team-topbar {
    flex-direction: column;
    align-items: stretch;
  }
  .about-team-nav {
    justify-content: flex-end;
  }
  .about-team-slide {
    flex-basis: 100%;
  }
  .about-corp-section-head {
    flex-direction: column;
    gap: 10px;
  }
  .about-corp-image-main,
  .about-corp-image-secondary {
    height: 220px;
  }
  .about-corp-form-wrap,
  .about-corp-story-card,
  .about-corp-contact-panel {
    padding: 18px;
  }
  .about-team-profile-body h3 {
    font-size: 1.1rem;
  }
  .about-team-profile-body p {
    min-height: 0;
  }
}

/* ── How it works (chip programming) ────────────────────────── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.how-step { text-align: center; }
.how-step-num {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 18px;
  font-weight: var(--fw-black);
  color: var(--blue-pri);
}
.how-step-title { font-weight: var(--fw-bold); margin-bottom: 6px; }
.how-step-desc { font-size: var(--fs-sm); color: var(--gray-500); }
.how-cta-row { margin-top: 24px; text-align: center; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── Contact page ────────────────────────────────────────────── */
.contact-info-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-icon {
  width: 42px;
  height: 42px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-pri);
  flex-shrink: 0;
}
.contact-info-icon--wa { background: var(--green-light); color: #25D366; }
.contact-info-label { font-weight: var(--fw-bold); margin-bottom: 2px; }
.contact-info-val { font-size: var(--fs-base); color: var(--gray-500); }
.contact-info-note { font-size: var(--fs-xs); color: var(--gray-400); }

/* ── PDP description box ─────────────────────────────────────── */
.pdp-desc-box {
  background: var(--gray-50);
  border-radius: var(--r-md);
  padding: 14px;
  margin-bottom: 16px;
}
.pdp-desc-text { font-size: var(--fs-sm); color: var(--gray-500); line-height: 1.6; }

/* ── PDP action buttons row ──────────────────────────────────── */
.pdp-actions-row { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* ── Manufacturers page ──────────────────────────────────────── */
.mfr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.mfr-card {
  background: var(--bg-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--t-slow);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.mfr-card:hover {
  border-color: var(--blue-pri);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.mfr-logo-placeholder {
  width: 64px;
  height: 64px;
  background: var(--navy);
  color: var(--text-inv);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: var(--fw-black);
  letter-spacing: .5px;
  text-align: center;
  line-height: 1.2;
  padding: 4px;
}
.mfr-card-name { font-weight: var(--fw-bold); color: var(--text-h); font-size: var(--fs-sm); }
.mfr-card-country { font-size: var(--fs-xs); color: var(--gray-400); }
.mfr-card-products { font-size: var(--fs-xs); color: var(--blue-pri); font-weight: var(--fw-semi); }

/* ── Resources page ──────────────────────────────────────────── */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.resource-card {
  background: var(--bg-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--t-fast);
}
.resource-card:hover {
  border-color: var(--blue-pri);
  box-shadow: var(--shadow-md);
}
.resource-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.resource-card-title { font-weight: var(--fw-bold); color: var(--text-h); font-size: var(--fs-md); }
.resource-card-desc { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.5; }
.resource-card-link {
  font-size: var(--fs-sm);
  color: var(--blue-pri);
  font-weight: var(--fw-semi);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.resource-card-link:hover { text-decoration: underline; }

/* ── New arrivals page header ────────────────────────────────── */
.new-arrivals-hero {
  background: linear-gradient(120deg, #0d2e1b 0%, #1b5a3a 50%, #0a7c3a 100%);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin-bottom: 20px;
  color: var(--text-inv);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.new-arrivals-hero-eyebrow {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.7);
  margin-bottom: 6px;
}
.new-arrivals-hero-title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  color: var(--text-inv);
  margin-bottom: 6px;
}
.new-arrivals-hero-sub { font-size: var(--fs-sm); color: rgba(255,255,255,.7); }

/* ── Hero wrap (inside hero slides) ─────────────────────────── */
.hero-slide-wrap {
  position: relative;
  z-index: 2;
  padding-block: clamp(28px, 4vw, 52px);
}

/* ── Utility: flex-shrink-0 ──────────────────────────────────── */
.flex-shrink-0 { flex-shrink: 0; }

/* ── Chip programming page ───────────────────────────────────── */
.chip-hero {
  background: linear-gradient(120deg, #1a0d3e 0%, #2d1b7c 50%, #4a0a9c 100%);
  border-radius: var(--r-lg);
  padding: 32px;
  margin-bottom: 20px;
  color: var(--text-inv);
}
.chip-hero-eyebrow {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.7);
  margin-bottom: 6px;
}
.chip-hero-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: var(--fw-black);
  color: var(--text-inv);
  margin-bottom: 8px;
}
.chip-hero-sub {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.7);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.chip-hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Section header ──────────────────────────────────────────── */
.section-head-title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  color: var(--text-h);
  margin-bottom: 24px;
}

/* ── Manufacturer brand banner ───────────────────────────────── */
.brand-logo-placeholder {
  background: var(--navy);
  color: var(--text-inv);
  font-weight: var(--fw-black);
  font-size: var(--fs-sm);
  padding: 8px 16px;
  border-radius: var(--r-md);
  white-space: nowrap;
}

/* ── Footer utilities ────────────────────────────────────────── */
.footer-logo-wrap { margin-bottom: 14px; }

.cart-secure-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}
.cart-secure-note svg { vertical-align: middle; }

/* ── Global utility ──────────────────────────────────────────── */
.hidden { display: none !important; }

/* ── Flash deals section heading ─────────────────────────────── */
.flash-deals-title { color: var(--deal-red); }
.flash-icon { vertical-align: middle; margin-right: 4px; }

/* ── Carousel inline navigation buttons ─────────────────────── */
.carousel-nav-btns { display: flex; gap: 8px; }
.car-btn-inline {
  position: static;
  transform: none;
  height: 36px;
  width: 36px;
  border-radius: 50%;
}

/* ── Catalog toolbar right ───────────────────────────────────── */
.toolbar-right {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

/* ── Quote form icon colour variants ─────────────────────────── */
.qcard-head-icon--blue   { background: #EBF4FF; }
.qcard-head-icon--green  { background: #F0FFF4; }
.qcard-head-icon--orange { background: #FFF7ED; }
.qcard-head-icon--purple { background: #F5F3FF; }

/* ── Quote form grid row spacing ─────────────────────────────── */
.qgrid-mt { margin-top: 14px; }

/* ── Notes textarea min-height ───────────────────────────────── */
.qnotes { min-height: 100px; }

/* ── Contact form utilities ──────────────────────────────────── */
.contact-form-title { font-size: var(--fs-lg); font-weight: var(--fw-bold); margin-bottom: 16px; }
.contact-submit-btn { width: 100%; padding: 12px; font-size: 15px; }

/* ── PDP Gallery column ──────────────────────────────────────── */
.pdp-gallery { display: flex; flex-direction: column; gap: 10px; }
.pdp-img-placeholder {
  width: 100%;
  height: 300px;
  background: var(--gray-50);
  border: 2px dashed var(--gray-200);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
}

/* ── PDP product meta ────────────────────────────────────────── */
.pdp-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.pdp-brand { font-size: var(--fs-sm); font-weight: var(--fw-semi); color: var(--blue-pri); }
.pdp-partno { font-family: var(--mono); font-size: var(--fs-xs); color: var(--text-muted); }

/* ── PDP rating row ──────────────────────────────────────────── */
.pdp-rating-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.pdp-rating-count { font-size: var(--fs-sm); color: var(--blue-pri); }

/* ── PDP price block ─────────────────────────────────────────── */
.pdp-price-block {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.pdp-old-price { font-size: var(--fs-md); color: var(--text-muted); text-decoration: line-through; }
.pdp-save-badge {
  background: var(--deal-bg);
  color: var(--deal-red);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  padding: 2px 8px;
  border-radius: var(--r-full);
}

/* ── PDP stock row ───────────────────────────────────────────── */
.pdp-stock-row { margin-bottom: 14px; }

/* ── PDP qty controls ────────────────────────────────────────── */
.pdp-qty-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
}
.pdp-qty-btn {
  background: var(--gray-50);
  border: none;
  padding: 0 14px;
  height: 44px;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-h);
  transition: background var(--t-fast);
}
.pdp-qty-btn:hover { background: var(--gray-200); }
.pdp-qty-inp {
  width: 56px;
  text-align: center;
  border: none;
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--text-h);
  padding: 0;
  height: 44px;
  outline: none;
}

/* ── PDP action buttons ──────────────────────────────────────── */
.pdp-cart-btn { flex: 1; min-width: 140px; }
.pdp-wish-btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--gray-200);
  background: var(--bg-white);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--t-fast);
  flex-shrink: 0;
}
.pdp-wish-btn:hover, .pdp-wish-btn.wished { color: var(--deal-red); border-color: var(--deal-red); }

/* ── PDP price breaks table ──────────────────────────────────── */
.pdp-pb-title { font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--text-h); margin-bottom: 8px; }
.pdp-pb-table {
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
  font-size: var(--fs-sm);
  margin-bottom: 14px;
  width: 100%;
}
.pdp-pb-table th {
  background: var(--gray-50);
  padding: 7px 14px;
  text-align: left;
  font-weight: var(--fw-semi);
  color: var(--text-muted);
  border-bottom: 1px solid var(--gray-200);
}
.pdp-pb-table td { padding: 7px 14px; border-bottom: 1px solid var(--gray-100); }
.pdp-pb-table tr:last-child td { border-bottom: none; }

/* ── PDP specs section ───────────────────────────────────────── */
.pdp-specs-box { margin-top: 16px; }
.pdp-specs-title { font-size: var(--fs-base); font-weight: var(--fw-bold); color: var(--text-h); margin-bottom: 8px; }

/* ── Deal card price row ─────────────────────────────────────── */
.deal-card-stars { margin-top: 6px; }
.deal-card-price { margin-top: 6px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.deal-price-main { font-size: 18px; font-weight: var(--fw-black); color: var(--text-h); }
.deal-price-orig { font-size: var(--fs-xs); color: var(--gray-400); text-decoration: line-through; }
.deal-price-save { font-size: var(--fs-xs); color: var(--deal-red); font-weight: var(--fw-semi); }

/* ── Catalog empty state ─────────────────────────────────────── */
.catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 24px;
  color: var(--text-muted);
}
.catalog-empty-icon { font-size: 3rem; margin-bottom: 12px; }
.catalog-empty-title { font-size: var(--fs-lg); font-weight: var(--fw-semi); color: var(--text-h); }
.catalog-empty-sub { margin-top: 8px; font-size: var(--fs-sm); }

/* ── Filter sidebar – group collapse ─────────────────────────── */
.filter-group-title span { flex: 1; }
.fg-chevron { flex-shrink: 0; color: var(--text-muted); transition: transform var(--t-fast); }
.fg-collapsed .filter-group-body { display: none; }

/* ── Filter search input ──────────────────────────────────────── */
.filter-search-group { padding: 10px 14px 6px; border-bottom: 1px solid var(--gray-100); }
.filter-search-wrap { position: relative; display: flex; align-items: center; }
.filter-search-icon {
  position: absolute;
  left: 9px;
  color: var(--text-muted);
  pointer-events: none;
  flex-shrink: 0;
}
.filter-search-inp {
  width: 100%;
  padding: 7px 10px 7px 30px;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  background: var(--gray-50);
  transition: border-color var(--t-fast), background var(--t-fast);
  color: var(--text-body);
}
.filter-search-inp:focus {
  outline: none;
  border-color: var(--blue-pri);
  background: var(--bg-white);
  box-shadow: 0 0 0 2px var(--blue-light);
}
.filter-search-inp::placeholder { color: var(--text-muted); }

/* ── Filter group body wrapper ────────────────────────────────── */
.filter-group-body { padding-top: 4px; }

/* ── Category accordion (no radio inputs) ────────────────────── */
.cat-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 6px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
  user-select: none;
}
.cat-row:hover { background: var(--blue-light); }
.cat-row.active { background: var(--blue-light); }
.cat-row.active .cat-row-name { color: var(--blue-pri); font-weight: var(--fw-semi); }

.cat-row-name {
  flex: 1;
  font-size: var(--fs-sm);
  color: var(--text-body);
  font-weight: var(--fw-normal);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.cat-row:hover .cat-row-name { color: var(--blue-pri); }

.cat-all-row { border-bottom: 1px solid var(--gray-100); margin-bottom: 4px; }

.cat-accordion { margin-bottom: 1px; }

.acc-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: var(--r-sm);
  color: var(--gray-400);
  flex-shrink: 0;
  transition: background var(--t-fast), color var(--t-fast);
}
.acc-toggle:hover { background: var(--blue-mid); color: var(--blue-pri); }
.acc-chevron { transition: transform var(--t-med); }
.cat-accordion.expanded .acc-chevron { transform: rotate(180deg); }

/* subcategory list */
.cat-subcats {
  display: none;
  margin: 2px 0 4px 10px;
  padding-left: 10px;
  border-left: 2px solid var(--blue-mid);
}
.cat-accordion.expanded .cat-subcats { display: block; }

.subcat-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px;
  border-radius: var(--r-sm);
  cursor: pointer;
  user-select: none;
  transition: background var(--t-fast);
}
.subcat-row span:first-child {
  flex: 1;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.subcat-row .filter-count { font-size: 10px; }
.subcat-row:hover { background: var(--blue-light); }
.subcat-row:hover span:first-child { color: var(--blue-pri); }
.subcat-row.active { background: var(--blue-light); }
.subcat-row.active span:first-child { color: var(--blue-pri); font-weight: var(--fw-semi); }

/* ── Rating filter ────────────────────────────────────────────── */
.rating-filter-item { gap: 7px; }
.rf-label { display: flex; align-items: center; gap: 4px; flex: 1; }
.rf-stars { color: var(--orange); font-size: 12px; letter-spacing: 0.5px; line-height: 1; }
.rf-up { font-size: var(--fs-xs); color: var(--text-muted); }
.rating-filter-item input:checked ~ .rf-label .rf-stars { font-weight: var(--fw-bold); }

/* ── Package filter ───────────────────────────────────────────── */
.filter-empty-note { font-size: var(--fs-xs); color: var(--text-muted); padding: 4px 0; }


/* ── Active filter tags – close button ───────────────────────── */
.af-tag button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  margin-left: 4px;
  color: inherit;
  opacity: .7;
  padding: 0 2px;
}
.af-tag button:hover { opacity: 1; }

/* ── Search form display:contents (no visible box, preserves flex flow) */
.search-form-contents { display: contents; }

/* ── Cart count — hidden by default, shown by JS ─────────────── */
.cart-count-initial { display: none; }

/* ── Mega menu category card colour variants ─────────────────── */
.mega-cat-card-img--blue   { background: var(--blue-light); }
.mega-cat-card-img--green  { background: #F0FFF4; }
.mega-cat-card-img--orange { background: #FFF7ED; }
.mega-cat-card-img--purple { background: #F5F3FF; }
.mega-cat-card-img--red    { background: #FFF0F0; }
.mega-cat-card-img--sky    { background: #F0F9FF; }

/* ── Resource card icon colour variants ──────────────────────── */
.resource-card-icon--blue   { background: var(--blue-light);  color: var(--blue-pri); }
.resource-card-icon--green  { background: #F0FFF4;            color: #16a34a; }
.resource-card-icon--orange { background: #FFF7ED;            color: #ea7c1e; }

/* ── Spacing utility ─────────────────────────────────────────── */
.mt-32 { margin-top: 32px; }
