/* ============================================================
   SINELEC TECH — Amazon-Style E-Shop
   Light + Blue Theme | Full CSS Custom Properties
   ============================================================ */

/* ensure [hidden] always beats display:flex/grid overrides */
[hidden] { display: none !important; }

/* ── 1. CSS Custom Properties ─────────────────────────────── */
:root {
  /* Brand */
  --navy:        #0a1a30;
  --navy-mid:    #0a1a30;
  --navy-light:  #0a1a30;
  --blue-pri:    #0a1a30;
  --blue-hover:  #0a1a30;
  --blue-light:  #FFF0F0;
  --blue-mid:    #CCE0FF;
  --blue-accent: #4da6ff;

  /* Commerce Colors */
  --star:     #FF9900;
  --orange:      #0a1a30;
  --orange-dark: #0a1a30;
  --orange-light:#FFF0F0;
  --yellow:      #0a1a30;
  --yellow-dark: #0a1a30;
  --yellow-text: #FFF0F0;
  --deal-red:    #CC0C39;
  --deal-bg:     #FFF0F0;
  --green-stock: #007600;
  --green-light: #E8F5E8;
  --prime:       #0a1a30;

  /* 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:  #f8f9fa;
  --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;
  --z-loader:   700;
}

/* Mobile product-card image fix */
@media (max-width: 768px) {
  .pcard-img-wrap {
    aspect-ratio: 16 / 10;
    min-height: 136px;
  }
  .pcard-img {
    width: 100%;
    height: 100% !important;
    display: block;
    object-fit: cover;
    padding: 0 !important;
  }
}

@media (max-width: 575px) {
  .pcard-img-wrap {
    aspect-ratio: 16 / 9;
    min-height: 132px;
  }
}

/* ── 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);
  box-shadow: 0 2px 8px rgb(0 0 0 / .08);
}

.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 8px;
  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(0,0,0,.12); }
.logo svg { display: block; }
.logo-img { height: 48px; width: auto; display: block; }

/* Shared two-line label/value pattern (Delivery, Account, Orders) */
.h-label {
  display: block;
  font-size: 11px;
  font-weight: var(--fw-normal);
  color: var(--text-muted);
  line-height: 1.3;
}
.h-value {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--text-h);
  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(0,0,0,.12); }
.delivery-loc-text {
  display: inline-block;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Delivery location modal */
.delivery-modal {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) + 40);
  display: grid;
  place-items: center;
}
.delivery-modal[hidden] { display: none; }
.delivery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(10 18 35 / .52);
}
.delivery-modal-dialog {
  position: relative;
  width: min(500px, calc(100% - 20px));
  border-radius: 16px;
  border: 1px solid #d8e3f2;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 16px 16px 14px;
  z-index: 1;
  box-shadow: 0 20px 44px rgb(10 25 55 / .24);
}
.delivery-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid #cfdceb;
  color: #466286;
  font-size: 18px;
  line-height: 1;
  background: #f7fbff;
}
.delivery-modal-title {
  font-size: 18px;
  font-weight: var(--fw-black);
  color: #162d4a;
  margin-bottom: 4px;
}
.delivery-modal-subtitle {
  font-size: 10.5px;
  line-height: 1.4;
  color: #5f7795;
  font-weight: 500;
  margin-bottom: 10px;
}
.delivery-modal-block {
  border: 1px solid #dce7f4;
  border-radius: 12px;
  background: #ffffff;
  padding: 11px;
}
.delivery-modal-label {
  font-size: 12px;
  color: #486383;
  font-weight: 700;
  margin-bottom: 8px;
}
.delivery-modal-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.delivery-modal-inline .delivery-modal-label {
  margin-bottom: 0;
}
.delivery-modal-btn {
  border: 1px solid #cfe0f3;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
  color: var(--blue-pri);
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 800;
  padding: 8px 12px;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.delivery-modal-btn:hover {
  background: var(--blue-pri);
  border-color: var(--blue-pri);
  color: #fff;
}
.delivery-modal-btn--apply { min-width: 64px; }
.delivery-modal-block--info {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
.delivery-info-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 13px;
  border: 1px solid #d8e5f4;
  border-radius: 12px;
  background: linear-gradient(135deg, #f6fbff 0%, #fffdf4 100%);
  color: #183454;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.delivery-info-link:hover {
  transform: translateY(-1px);
  border-color: #bad1ec;
  box-shadow: 0 12px 22px rgb(17 47 84 / .08);
}
.delivery-info-link-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.delivery-info-link-copy strong {
  font-size: 13px;
  color: #16304f;
}
.delivery-info-link-copy small {
  font-size: 11px;
  line-height: 1.45;
  color: #617a98;
}
.delivery-info-link-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #173968;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}
.delivery-modal-or {
  text-align: center;
  font-size: 11px;
  color: #7a8ea8;
  font-weight: 700;
  margin: 8px 0;
}
.delivery-manual-row {
  display: flex;
  gap: 8px;
}
.delivery-manual-inp {
  flex: 1;
  height: 36px;
  border: 1px solid #cfdced;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 13px;
  color: #1f3552;
  outline: none;
  background: #fff;
}
.delivery-manual-inp:focus {
  border-color: #0f5ebf;
  box-shadow: 0 0 0 3px rgb(15 94 191 / .14);
}
.delivery-address-list {
  display: grid;
  gap: 8px;
}
.delivery-address-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #2d4563;
  border: 1px solid #dce7f4;
  background: #f8fbff;
  border-radius: 9px;
  padding: 8px;
}
.delivery-address-item input {
  margin-top: 2px;
  accent-color: #0f5ebf;
}
.delivery-empty-row {
  border: 1px dashed #cfdbeb;
  border-radius: 9px;
  background: #f8fbff;
  color: #617a98;
  font-size: 12px;
  padding: 10px;
}
.delivery-address-main {
  flex: 1;
  line-height: 1.45;
}
.delivery-address-main strong {
  display: block;
  color: #1e3656;
  font-size: 12px;
  margin-bottom: 2px;
}
.delivery-address-main small {
  display: block;
  color: #5f7795;
  font-size: 11px;
  line-height: 1.45;
}
.delivery-address-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.delivery-add-address-link {
  width: 100%;
  min-height: 38px;
  border: 1px dashed #bfd2ea;
  border-radius: 10px;
  background: #f7fbff;
  color: #1d63b3;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.delivery-add-address-link:hover {
  border-color: #96b8de;
  background: #f0f7ff;
}
.delivery-address-action {
  width: 24px;
  height: 24px;
  border: 1px solid #cfdced;
  border-radius: 6px;
  background: #fff;
  color: #4b6687;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.delivery-address-action:hover {
  border-color: #9ab7d8;
}
.delivery-address-action--del {
  color: #ba3552;
  border-color: #ebc7d2;
}

/* ── Deliver-To modal — tabbed redesign ──────────────────────── */
.dloc-dialog {
  padding: 20px 18px 18px;
  width: min(480px, calc(100% - 20px));
}
.dloc-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid #dce7f4;
  margin-bottom: 16px;
}
.dloc-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #617a98;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  border-radius: 0;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.dloc-tab:hover { color: #1a3d6b; }
.dloc-tab.is-active {
  color: #0f5ebf;
  border-bottom-color: #0f5ebf;
}
.dloc-tab svg { flex-shrink: 0; }
.dloc-panel { display: none; }
.dloc-panel.is-active { display: block; }
.dloc-panel-desc {
  font-size: 12px;
  color: #5f7795;
  line-height: 1.5;
  margin-bottom: 14px;
}

/* Geo panel */
.dloc-geo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f5ebf;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.dloc-geo-btn:hover { background: #0a4a9a; }
.dloc-geo-btn:disabled {
  background: #8aadd8;
  cursor: not-allowed;
}

/* Postal code panel */
.dloc-postal-form { margin-bottom: 0; }
.dloc-postal-row {
  display: flex;
  gap: 8px;
}
.dloc-postal-input {
  flex: 1;
  height: 40px;
  border: 1.5px solid #cfdced;
  border-radius: 9px;
  padding: 0 12px;
  font-size: 14px;
  color: #1f3552;
  outline: none;
  background: #fff;
  min-width: 0;
}
.dloc-postal-input:focus {
  border-color: #0f5ebf;
  box-shadow: 0 0 0 3px rgb(15 94 191 / .14);
}
.dloc-postal-btn {
  height: 40px;
  padding: 0 18px;
  background: #0f5ebf;
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s;
}
.dloc-postal-btn:hover { background: #0a4a9a; }
.dloc-postal-btn:disabled { background: #8aadd8; cursor: not-allowed; }

/* Shared feedback area */
.dloc-feedback {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  min-height: 20px;
}
.dloc-feedback.is-ok   { color: #1a7a3d; }
.dloc-feedback.is-warn { color: #ba3552; }
.dloc-feedback.is-info { color: #1e4e8c; }

/* Saved addresses panel */
.dloc-saved-inner { display: flex; flex-direction: column; gap: 10px; }
.dloc-saved-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #617a98;
  padding: 10px 0;
}
.dloc-spin {
  animation: dlocSpin .8s linear infinite;
}
@keyframes dlocSpin { to { transform: rotate(360deg); } }
.dloc-saved-list {
  display: grid;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.dloc-addr-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid #dce7f4;
  border-radius: 10px;
  background: #f8fbff;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.dloc-addr-item:hover { border-color: #9ac0e8; background: #f0f7ff; }
.dloc-addr-item.is-selected {
  border-color: #0f5ebf;
  background: #eef5ff;
}
.dloc-addr-radio { margin-top: 2px; accent-color: #0f5ebf; flex-shrink: 0; }
.dloc-addr-copy { flex: 1; min-width: 0; }
.dloc-addr-name {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #1e3656;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dloc-addr-line {
  display: block;
  font-size: 11.5px;
  color: #5f7795;
  line-height: 1.4;
}
.dloc-add-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: #1d63b3;
  padding: 7px 0;
  border-top: 1px dashed #cfdced;
  margin-top: 2px;
}
.dloc-add-link:hover { color: #0a4a9a; }

/* Login prompt (logged-out saved tab) */
.dloc-login-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 12px;
  text-align: center;
}
.dloc-login-icon {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #eef5ff;
  border: 1.5px solid #cfe0f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #3a72bf;
}
.dloc-login-copy {
  font-size: 13px;
  color: #2e4c72;
  font-weight: 600;
  line-height: 1.4;
  max-width: 240px;
}
.dloc-login-btn {
  background: #0f5ebf;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.dloc-login-btn:hover { background: #0a4a9a; }

/* ── Shipping info footer ──────────────────────────── */
.dloc-info-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #dce7f4;
}
.dloc-info-card {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 14px;
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  text-decoration: none;
  transition: background .18s, border-color .18s, box-shadow .18s;
}
.dloc-info-card:hover {
  background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
  border-color: #93c5fd;
  box-shadow: 0 3px 12px rgba(37,99,235,.12);
}
.dloc-info-icon {
  flex-shrink: 0;
  color: #2563eb;
  margin-top: 1px;
  display: flex;
}
.dloc-info-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.dloc-info-heading {
  font-size: 12px;
  font-weight: 700;
  color: #1e3a8a;
  line-height: 1.35;
}
.dloc-info-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: #2563eb;
}
.dloc-info-desc {
  font-size: 11px;
  color: #4a6179;
  line-height: 1.5;
  margin-top: 1px;
}

/* Responsive */
@media (max-width: 480px) {
  .dloc-dialog { padding: 16px 14px 14px; }
  .dloc-tab {
    font-size: 10px;
    padding: 7px 4px;
    gap: 3px;
  }
  .dloc-tab svg { display: none; }
  .dloc-info-card { gap: 9px; padding: 11px 12px; }
  .dloc-info-icon svg { width: 17px; height: 17px; }
  .dloc-info-heading { font-size: 11.5px; }
  .dloc-info-desc { font-size: 10.5px; }
}

/* Auth modal */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) + 50);
  display: grid;
  place-items: center;
}
.auth-modal[hidden] { display: none; }
.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(9 18 34 / .55);
}
.auth-modal-dialog {
  position: relative;
  width: min(400px, calc(100% - 18px));
  max-height: 90vh;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  border: 1px solid #d9e4f3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 48px rgb(12 26 52 / .24);
  padding: 18px;
  z-index: 1;
}
.auth-modal-dialog::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.auth-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid #d1deef;
  background: #f7fbff;
  color: #446181;
  font-size: 18px;
  line-height: 1;
}
.auth-logo-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 12px; }
.auth-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(140deg, #0f5ebf 0%, #1f73d2 100%);
  color: #fff;
  font-size: 23px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgb(15 94 191 / .30);
}
.auth-logo-title {
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.4px;
  color: #14355b;
}
.auth-logo-sub {
  margin-top: 3px;
  font-size: 10.5px;
  font-weight: 700;
  color: #3c658f;
}
.auth-title {
  display: block;
  margin: 4px 0 4px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #1a3454;
}
.auth-subtitle {
  text-align: center;
  font-size: 10.5px;
  color: #607996;
  line-height: 1.35;
  font-weight: 500;
  margin-bottom: 12px;
}
.auth-panel { display: none; }
.auth-panel.is-active { display: block; }
.auth-form { display: grid; gap: 10px; }
.auth-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.auth-field {
  display: grid;
  gap: 5px;
}
.auth-field span {
  font-size: 12px;
  color: #4e6684;
  font-weight: 700;
}
.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.auth-input-icon {
  position: absolute;
  left: 12px;
  color: #5f7592;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.auth-input-icon svg { color: #5f7592; stroke: currentColor; }
.auth-pass-eye {
  position: absolute;
  right: 9px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: none;
  color: #5d7390;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.auth-field input {
  height: 38px;
  border: 1px solid #cfdced;
  border-radius: 9px;
  padding: 0 40px 0 40px;
  font-size: 13px;
  color: #1f3552;
  outline: none;
  width: 100%;
}
.auth-field input:focus {
  border-color: #0f5ebf;
  box-shadow: 0 0 0 3px rgb(15 94 191 / .14);
}
.auth-phone-combo .auth-phone-code {
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 74px;
  border: 1px solid #cfdced;
  border-radius: 8px;
  background: #f7fbff;
  color: #1f3552;
  font-size: 12px;
  font-weight: 600;
  padding: 0 8px;
  outline: none;
}
.auth-phone-combo .auth-input-icon { left: 90px; }
.auth-phone-combo .auth-phone-number { padding-left: 118px; }
.auth-captcha {
  border: 1px solid #d5e2f1;
  border-radius: 10px;
  background: #fff;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.auth-captcha-cloud {
  min-height: 0;
  padding: 4px 6px;
}
.turnstile-wrap {
  width: 100%;
  display: flex;
  justify-content: stretch;
}
.turnstile-wrap .cf-turnstile {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
}
.auth-captcha-left { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; color: #23425f; }
.auth-captcha-ok {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #1f9956;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.auth-captcha-brand { display: grid; text-align: right; }
.auth-captcha-brand strong { font-size: 11px; letter-spacing: 1.2px; color: #273b56; }
.auth-captcha-brand span { font-size: 10px; color: #647f9f; }
.auth-primary-btn {
  height: 35px;
  border-radius: 999px;
  border: 1px solid #cfe0f3;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
  color: var(--blue-pri);
  font-size: 17px;
  font-weight: 800;
  box-shadow: none;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.auth-primary-btn:hover {
  background: var(--blue-pri);
  border-color: var(--blue-pri);
  color: #fff;
}

.auth-sep {
  margin: 10px 0;
  position: relative;
  text-align: center;
}
.auth-sep::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  border-top: 1px solid #e4ecf8;
}
.auth-sep span {
  position: relative;
  background: #fff;
  padding: 0 10px;
  font-size: 11px;
  color: #6f86a2;
}
.auth-google-btn {
  width: 100%;
  height: 46px;
  border: 1px solid #d4dfef;
  border-radius: 12px;
  background: #fff;
  color: #1f3651;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.auth-google-btn:hover {
  background: #f8fbff;
}
.auth-links-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #5b7391;
}
.auth-links-row-center {
  justify-content: center;
}
.auth-link-btn {
  border: none;
  background: transparent;
  color: #0f5ebf;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.auth-link-btn:hover {
  color: #0c4f9d;
}
.auth-terms {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  color: #617a99;
  line-height: 1.5;
}
.auth-terms a {
  color: #0f5ebf;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .auth-modal-dialog {
    width: calc(100% - 12px);
    padding: 13px 12px;
  }
  .auth-logo-title {
    font-size: 21px;
  }
  .auth-logo-sub { font-size: 10px; }
  .auth-two-col {
    grid-template-columns: 1fr;
  }
  .auth-links-row {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Search */
/* Outer wrapper: handles positioning of the dropdown */
.header-search-wrap {
  flex: 1 1 0;
  min-width: 120px;
  margin: 0 5% 0 12px;
  position: relative;   /* dropdown anchors to this */
}
/* Inner bar: keeps overflow:hidden for border-radius clipping */
.header-search {
  display: flex;
  align-items: center;
  height: 34px;
  width: 100%;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: white;
  border: 1.5px solid var(--gray-300);
  transition: border-color var(--t-fast);
}
.header-search-wrap:focus-within .header-search {
  border-color: var(--navy);
}
.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(--navy);
  color: #ffffff;
  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(--navy-light); }
.search-go svg { width: 18px; height: 18px; }

/* Search suggestions */
/* ═══════════════════════════════════════════════════════
   Search Dropdown — Professional e-commerce style
═══════════════════════════════════════════════════════ */
.search-drop {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #fff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.14), 0 2px 8px rgba(0,0,0,.08);
  z-index: var(--z-dropdown);
  display: none;
  max-height: 480px;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-top: none;
}
.search-drop.open { display: block; animation: sdropIn .12s ease; }
@keyframes sdropIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }

/* Header row */
.sdrop-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px 7px;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
  position: sticky; top: 0; z-index: 1;
}
.sdrop-header-txt { font-size: 11px; color: #64748b; display:flex; align-items:center; gap:5px; }
.sdrop-header-all { font-size: 11px; font-weight: 700; color: #2563eb; text-decoration: none; white-space: nowrap; }
.sdrop-header-all:hover { text-decoration: underline; }

/* Suggestion item */
.sdrop-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 14px; cursor: pointer;
  transition: background .1s;
  border-bottom: 1px solid #f8fafc;
}
.sdrop-item:last-child { border-bottom: none; }
.sdrop-item:hover,
.sdrop-item.is-active { background: #eff6ff; }

/* Product icon box */
.sdrop-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #eff6ff; border-radius: 8px; color: #2563eb;
  margin-top: 1px;
}
.sdrop-thumb {
  width: 44px; height: 44px; flex-shrink: 0;
  object-fit: contain; border-radius: 8px;
  border: 1px solid var(--gray-100);
  background: #fafafa; margin-top: 1px;
}

/* Info column */
.sdrop-info { flex: 1; min-width: 0; }
.sdrop-sku  {
  font-family: var(--mono, monospace); font-size: 10.5px;
  color: #1d4ed8; font-weight: 700; letter-spacing: .3px;
  margin-bottom: 2px;
}
.sdrop-name {
  font-size: 13px; color: #1e293b; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 4px;
}
.sdrop-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }

/* Category badge */
.sdrop-cat {
  display: inline-block; padding: 1px 7px; border-radius: 10px;
  font-size: 9.5px; font-weight: 700; background: #dbeafe; color: #1e40af;
}
/* Stock status */
.sdrop-stock { font-size: 9.5px; font-weight: 700; padding: 1px 7px; border-radius: 10px; }
.sdrop-stock--in  { background: #dcfce7; color: #15803d; }
.sdrop-stock--out { background: #fee2e2; color: #b91c1c; }
/* Product label badge (Bestseller, New, Hot…) */
.sdrop-badge { font-size: 9px; font-weight: 800; padding: 1px 6px; border-radius: 8px; background: #fef9c3; color: #854d0e; }
.sdrop-badge--new        { background: #dcfce7; color: #15803d; }
.sdrop-badge--hot        { background: #fef3c7; color: #b45309; }
.sdrop-badge--bestseller { background: #ede9fe; color: #6d28d9; }
.sdrop-badge--trending   { background: #fce7f3; color: #9d174d; }
/* Rating */
.sdrop-rating { font-size: 9.5px; color: #f59e0b; font-weight: 700; }

/* Match highlight */
mark.sdrop-hl {
  background: #fef08a; color: #1e293b;
  border-radius: 2px; padding: 0 1px; font-style: normal;
}

/* Price column */
.sdrop-price {
  display: flex; flex-direction: column; align-items: flex-end;
  font-weight: 800; color: #1e293b; font-size: 14px;
  white-space: nowrap; flex-shrink: 0; gap: 2px;
}
.sdrop-price-was { font-size: 10px; color: #94a3b8; text-decoration: line-through; font-weight: 400; }

/* Loading */
.sdrop-loading {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 18px 14px;
  font-size: 13px; color: #64748b;
}
.sdrop-spin {
  animation: sdropSpin .8s linear infinite; transform-origin: center;
}
@keyframes sdropSpin { to { transform: rotate(360deg); } }

/* Empty state */
.sdrop-empty {
  display: flex; flex-direction: column; align-items: center;
  padding: 24px 14px; gap: 6px; color: #94a3b8;
}
.sdrop-empty svg   { opacity: .4; }
.sdrop-empty p     { font-size: 13px; color: #475569; margin: 0; font-weight: 600; }
.sdrop-empty small { font-size: 11px; }

/* Footer "See all" */
.sdrop-footer {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  font-size: 12px; font-weight: 700; color: #2563eb;
  cursor: pointer;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  transition: background .1s;
  position: sticky; bottom: 0;
}
.sdrop-footer:hover { background: #eff6ff; }

/* Header Actions */
.header-acts { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.h-act {
  display: flex;
  flex-direction: column;
  align-items: center;
  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(0,0,0,.12); }

/* Account avatar */
.h-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e8edf5;
  color: var(--text-h);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 2px;
}
.h-avatar svg { width: 13px; height: 13px; }
.h-avatar--initial {
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}
.h-value--center {
  justify-content: center;
}

/* 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: var(--text-h);
  font-weight: var(--fw-bold);
  transition: border-color var(--t-fast);
}
.h-cart:hover { border-color: rgba(0,0,0,.12); }

/* 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: var(--text-inv);
  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: var(--text-h);
  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: var(--text-h);
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  font-size: 10px;
}
.h-hamburger:hover { border-color: rgba(0,0,0,.12); }
.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-whatsapp {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37,211,102,.2), rgba(255,212,92,.2));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 16px 34px rgba(2,12,33,.28);
  backdrop-filter: blur(10px);
  color: white;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  animation: qheroWhatsappFloat 2.8s ease-in-out infinite;
}
.qhero-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(2,12,33,.34);
  background: linear-gradient(135deg, rgba(37,211,102,.26), rgba(255,212,92,.28));
}
.qhero-whatsapp:focus-visible {
  outline: 2px solid #25d366;
  outline-offset: 3px;
}
.qhero-whatsapp-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #25d366, #0ea44b);
  color: white;
  box-shadow: 0 10px 18px rgba(37,211,102,.32);
  animation: qheroWhatsappPulse 1.8s ease-in-out infinite;
}
.qhero-whatsapp-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.qhero-whatsapp-copy strong {
  font-size: 14px;
  font-weight: var(--fw-bold);
  line-height: 1.2;
}
.qhero-whatsapp-copy small {
  font-size: 11px;
  color: rgba(255,255,255,.74);
  line-height: 1.3;
}
.qhero-whatsapp-badge {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: #ffd45c;
  font-size: 10px;
  font-weight: var(--fw-black);
  letter-spacing: .08em;
  text-transform: uppercase;
  flex: 0 0 auto;
}
.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; }
@keyframes qheroWhatsappFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes qheroWhatsappPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* 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;
}
.quote-product-search {
  position: relative;
}
.quote-product-drop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: 0 16px 30px rgba(15, 32, 72, 0.14);
  z-index: 15;
  display: none;
  overflow: hidden;
}
.quote-product-drop.open {
  display: block;
}
.quote-product-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--t-fast);
}
.quote-product-item:last-child {
  border-bottom: none;
}
.quote-product-item:hover,
.quote-product-item.active {
  background: var(--blue-light);
}
.quote-product-item img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #f8fbff;
  border-radius: 10px;
  flex-shrink: 0;
}
.quote-product-item-info {
  min-width: 0;
  flex: 1;
}
.quote-product-item-sku {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--blue-pri);
  font-weight: var(--fw-semi);
  margin-bottom: 3px;
}
.quote-product-item-name {
  font-size: 13px;
  color: var(--text-h);
  line-height: 1.35;
}
.quote-product-item-meta {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}
.quote-product-empty {
  padding: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.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; }
  .qhero-whatsapp { width: 100%; justify-content: space-between; }
}
@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; }
  .qhero-whatsapp {
    padding: 11px 12px;
    gap: 10px;
    border-radius: 16px;
  }
  .qhero-whatsapp-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
  .qhero-whatsapp-copy strong { font-size: 13px; }
  .qhero-whatsapp-copy small { font-size: 10px; }
  .qhero-whatsapp-badge { display: none; }
}

/* ── 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: #fff; }
.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-ctas .btn-yellow,
.hero-ctas .btn-ghost-white,
.chip-hero-ctas .btn-yellow,
.chip-hero-ctas .btn-ghost-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.hero-ctas .btn-yellow:hover,
.hero-ctas .btn-ghost-white:hover,
.chip-hero-ctas .btn-yellow:hover,
.chip-hero-ctas .btn-ghost-white:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
}

.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; }
.sec-viewall {
  font-size: var(--fs-sm);
  color: var(--blue-pri);
  font-weight: var(--fw-semi);
  white-space: nowrap;
  border-bottom: 1.5px dashed var(--blue-pri);
  padding-bottom: 1px;
}
.sec-viewall:hover { color: var(--blue-hover); border-bottom-color: var(--blue-hover); }

/* ── Featured Manufacturers Logo Grid ───────────────────────── */
.mfr-logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.mfr-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  border-radius: 14px;
  border: 1.5px solid #e8edf3;
  background: #fff;
  min-height: 90px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
  text-decoration: none;
}
.mfr-logo-card:hover {
  border-color: #c5d3e8;
  box-shadow: 0 6px 20px rgba(0,0,0,.09);
  transform: translateY(-3px);
}
.mfr-svg {
  width: 140px;
  height: 52px;
  display: block;
  opacity: .85;
  transition: opacity .18s;
}
.mfr-logo-card:hover .mfr-svg { opacity: 1; }
.mfr-home-img {
  max-width: 130px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: .85;
  transition: opacity .18s;
}
.mfr-logo-card:hover .mfr-home-img { opacity: 1; }
.mfr-home-name {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  text-align: center;
  line-height: 1.3;
  letter-spacing: .3px;
}

/* ── Services & Tools Cards ──────────────────────────────────── */
.srv-tools-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.srv-tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  padding: 4px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.srv-tool-card:hover {
  border-color: #e0e7ef;
  box-shadow: 0 6px 20px rgba(0,0,0,.07);
  transform: translateY(-3px);
}
.srv-tool-img-wrap {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 14px;
  background: #f0f4f8;
  flex-shrink: 0;
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
}
.srv-tool-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.srv-tool-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 7px;
  line-height: 1.35;
}
.srv-tool-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.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: #ffffff;
  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); }

/* ── No-image placeholder overlay ───────────────────── */
.pcard-img-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.pcard-img-ph-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px;
}
.pcard-img-ph-icon {
  width: 52px;
  height: 52px;
  color: #d1d5db;
  transition: color .3s;
}
.pcard:hover .pcard-img-ph-icon {
  color: #b0b7c3;
}
.pcard-img-ph-sku {
  font-family: 'Courier New', Courier, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .8px;
  color: #9ca3af;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: 3px 10px;
  border-radius: 5px;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: uppercase;
  transition: background .3s, color .3s;
}
.pcard:hover .pcard-img-ph-sku {
  background: #e9ebee;
  color: #6b7280;
}

/* 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;
  top: 8px; right: 8px;
  width: 30px; height: 30px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8;
  opacity: 0;
  transition: all .15s;
  box-shadow: 0 1px 4px rgb(0 0 0/.08);
  z-index: 2;
  cursor: pointer;
}
.pcard:hover .pcard-wish { opacity: 1; }
.pcard-wish:hover { color: #e11d48; border-color: #fda4af; background: #fff1f2; }
.pcard-wish.wished { opacity: 1; color: #e11d48; border-color: #fda4af; }

/* Body */
.pcard-body {
  padding: 10px 12px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.pcard-cat {
  font-size: 10px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pcard-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.pcard-sku {
  font-family: var(--mono);
  font-size: 10px;
  color: #0066cc;
  font-weight: 500;
  letter-spacing: .2px;
}
.pcard-meta-row { display: flex; align-items: center; gap: 6px; }
.pcard-rating {
  display: flex;
  align-items: center;
  gap: 3px;
}
.pcard-stars { display: flex; gap: 1px; }
.pcard-stars svg { width: 11px; height: 11px; }
.star-filled { color: #f59e0b; }
.star-half   { color: #f59e0b; }
.star-empty  { color: #d1d5db; }
.pcard-rating-val { font-size: 10.5px; font-weight: 700; color: #374151; }
.pcard-rc { font-size: 10px; color: #6b7280; }

/* Price */
.pcard-price-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.price-main { font-size: 15px; font-weight: 800; color: #0f172a; letter-spacing: -.2px; }
.price-orig { font-size: 11px; color: #9ca3af; text-decoration: line-through; font-weight: 500; }
.price-sym  { font-size: 11px; font-weight: 700; color: #0f172a; }
.price-save { font-size: 10px; color: #dc2626; font-weight: 600; }

.pcard-delivery {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #1d4ed8;
  margin-top: 2px;
}
.pcard-delivery strong { font-weight: 600; }
.pcard-delivery svg { flex-shrink: 0; opacity: .7; }

/* Footer */
.pcard-footer {
  padding: 0 12px 12px;
  display: flex;
  gap: 6px;
}
.btn-atc {
  flex: 1;
  height: 32px;
  background: #0f172a;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  transition: background .15s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-atc:hover { background: #1e293b; }
.btn-atc.added { background: #16a34a; }
.btn-atc svg { width: 12px; height: 12px; flex-shrink: 0; }

.btn-buynow {
  flex: 1;
  height: 32px;
  background: #fff;
  color: #0066cc;
  border: 1.5px solid #bfdbfe;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s, color .15s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-buynow:hover {
  background: #0066cc;
  border-color: #0066cc;
  color: #fff;
}
.pcard-footer--single {
  justify-content: stretch;
}
.btn-view-detail {
  width: 100%;
  height: 36px;
  border: 1px solid #cfe0f3;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
  color: var(--blue-pri);
  padding: 0 12px;
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.btn-view-detail:hover {
  background: var(--blue-pri);
  border-color: var(--blue-pri);
  color: #fff;
}

/* List view — support the explicit card class and the grid view-state class.
   The second selector is also a safe fallback while an older JS file is cached. */
.pcard.list-v .pcard-footer,
#prodGrid.prod-list > .pcard .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,
#prodGrid.prod-list > .pcard .btn-atc,
#prodGrid.prod-list > .pcard .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; }

/* ── Skeleton loading cards ───────────────────────────────────── */
@keyframes skelShimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}
.pcard--skeleton {
  pointer-events: none;
  border-color: var(--gray-100) !important;
}
.pcard--skeleton .pcard-skel-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 800px 100%;
  animation: skelShimmer 1.4s infinite linear;
}
.pcard--skeleton .pcard-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pcard-skel-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 800px 100%;
  animation: skelShimmer 1.4s infinite linear;
}
.pcard-skel-line.w70 { width: 70%; }
.pcard-skel-line.w50 { width: 50%; }
.pcard-skel-line.w40 { width: 40%; }

/* List view card */
.pcard.list-v,
#prodGrid.prod-list > .pcard {
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  height: auto;
}
.pcard.list-v .pcard-img-wrap,
#prodGrid.prod-list > .pcard .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-img,
#prodGrid.prod-list > .pcard .pcard-img {
  width: 100%;
  height: 100% !important;
  object-fit: contain;
  padding: 12px !important;
}
.pcard.list-v .pcard-body,
#prodGrid.prod-list > .pcard .pcard-body { min-width: 0; padding: 14px; }
.pcard.list-v .pcard-footer,
#prodGrid.prod-list > .pcard .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,
#prodGrid.prod-list > .pcard .pcard-name { -webkit-line-clamp: 3; }
.pcard.list-v .pcard-specs,
#prodGrid.prod-list > .pcard .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;
}

/* Infinite-scroll state shown beneath the product cards. */
.catalog-infinite-status {
  min-height: 54px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  text-align: center;
}
.catalog-infinite-status[hidden] { display: none; }
.catalog-scroll-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-200);
  border-top-color: var(--blue-pri);
  border-radius: 50%;
  animation: catalogSpinner .7s linear infinite;
}
.catalog-scroll-complete {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-full);
  background: #fff;
}
.catalog-scroll-retry {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--blue-pri);
  border-radius: var(--r-full);
  background: #fff;
  color: var(--blue-pri);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
}
.catalog-scroll-retry:hover {
  background: var(--blue-pri);
  color: #fff;
}
@keyframes catalogSpinner { to { transform: rotate(360deg); } }

/* 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: #f8fafc; color: #4b5563; border-top: 1px solid #e2e8f0; margin-top: 20px; }
.footer-back-top { background: #edf2f7; border-bottom: 1px solid #e2e8f0; padding: 13px 0; text-align: center; }
.footer-back-top button { color: #374151; font-size: var(--fs-sm); font-weight: var(--fw-medium); display: flex; align-items: center; gap: 6px; margin: 0 auto; }
.footer-back-top button:hover { color: var(--navy); }
.footer-back-top button svg { width: 14px; height: 14px; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.65fr) repeat(2, minmax(180px, 1fr)); gap: 42px; align-items: start; padding: 32px 0; border-top: 1px solid #e2e8f0; }
.footer-col-title { color: #111827; font-size: var(--fs-sm); font-weight: var(--fw-bold); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .5px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-link { font-size: var(--fs-sm); color: #4b5563; transition: color var(--t-fast); }
.footer-link:hover { color: var(--navy); }
.footer-brand-desc { font-size: var(--fs-sm); line-height: 1.6; margin-bottom: 16px; color: #4b5563; }
.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); color: #4b5563; }
.footer-ci svg { width: 14px; height: 14px; color: var(--blue-pri); margin-top: 2px; flex-shrink: 0; }
.footer-ci strong { color: #111827; }
.footer-socials { display: flex; gap: 8px; margin-top: 14px; }
.fsoc { width: 34px; height: 34px; background: #e8edf4; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; color: #4b5563; 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 #e2e8f0; padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: var(--fs-xs); color: #6b7280; }
.footer-bottom-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-bottom-link { color: #6b7280; transition: color var(--t-fast); }
.footer-bottom-link:hover { color: var(--navy); }
.payment-methods { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pm-chip { background: #e8edf4; border: 1px solid #d1dae6; border-radius: var(--r-sm); padding: 3px 9px; font-size: 10px; font-weight: var(--fw-bold); color: #4b5563; letter-spacing: .3px; }

/* ── 23. Toast ──────────────────────────────────────────────── */
.toast-wrap {
  position: fixed;
  right: 20px;
  top: 20px;
  z-index: 1600;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(380px, calc(100vw - 24px));
  pointer-events: none;
}
.toast {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 12px;
  background: #fff;
  color: var(--text-h);
  padding: 14px 14px 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(10, 26, 48, .10);
  box-shadow: 0 18px 40px rgba(10, 26, 48, .16);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  pointer-events: auto;
  animation: toastIn .28s cubic-bezier(.16,1,.3,1);
}
.toast--pass { border-left: 4px solid #159447; }
.toast--fail { border-left: 4px solid #d93025; }
.toast--warn { border-left: 4px solid #f59e0b; }
.toast.is-leaving { animation: toastOut .22s ease forwards; }
.toast-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  flex-shrink: 0;
}
.toast-icon svg { width: 16px; height: 16px; }
.toast--pass .toast-icon { background: rgba(21, 148, 71, .12); color: #159447; }
.toast--fail .toast-icon { background: rgba(217, 48, 37, .12); color: #d93025; }
.toast--warn .toast-icon { background: rgba(245, 158, 11, .12); color: #f59e0b; }
.toast-text {
  min-width: 0;
  padding-top: 3px;
}
.toast-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #5c6b82;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.toast-close:hover {
  background: rgba(10, 26, 48, .08);
  color: var(--navy);
  transform: rotate(90deg);
}
.toast-close svg { width: 14px; height: 14px; }
@keyframes toastIn {
  from { opacity: 0; transform: translate3d(18px, 0, 0) scale(.96); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  to { opacity: 0; transform: translate3d(18px, 0, 0) scale(.96); }
}

/* ── Global Loader ──────────────────────────────────────────── */
.page-loader-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  background: rgba(10, 26, 48, .28);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.page-loader-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.page-loader-card {
  width: 76px;
  height: 76px;
  background: #fff;
  border: 1px solid rgba(10, 26, 48, .08);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(10, 26, 48, .2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-loader-spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid rgba(10, 26, 48, .14);
  border-top-color: #0a1a30;
  border-right-color: #0a1a30;
  animation: pageLoaderSpin .7s linear infinite;
  flex-shrink: 0;
}
@keyframes pageLoaderSpin {
  to { transform: rotate(360deg); }
}

/* ── 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-link-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.mob-link--accordion {
  width: 100%;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
}
.mob-link--accordion::-webkit-details-marker {
  display: none;
}
.mob-accordion {
  display: grid;
  gap: 0;
}
.mob-accordion[open] .mob-link--accordion {
  background: var(--blue-light);
  color: var(--blue-pri);
}
.mob-accordion[open] .mob-link--accordion svg {
  color: var(--blue-pri);
}
.mob-accordion-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6d84a0;
  transition: transform var(--t-fast), color var(--t-fast);
}
.mob-accordion[open] .mob-accordion-arrow {
  transform: rotate(180deg);
  color: var(--blue-pri);
}
.mob-accordion-body {
  display: grid;
  gap: 6px;
  padding: 4px 10px 10px 18px;
}
.mob-accordion-body--chips {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mob-sub-link {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #f7fbff;
  border: 1px solid #d9e6f5;
  color: #244261;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.mob-sub-link:hover {
  background: var(--blue-light);
  border-color: #b9d0ec;
  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-quick-grid {
  display: grid;
  gap: 10px;
  padding: 8px 10px 10px;
}
.mob-quick-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid #d7e4f4;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
  color: #17314f;
  text-align: left;
  box-shadow: 0 10px 22px rgb(13 38 68 / .06);
}
.mob-quick-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a1a30 0%, #173968 100%);
  color: #fff;
  flex-shrink: 0;
}
.mob-quick-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.mob-quick-copy strong {
  font-size: 13px;
  color: #153252;
}
.mob-quick-copy small {
  font-size: 11px;
  line-height: 1.4;
  color: #667f9d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.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; }
body[data-page="chip-programming"] .srv-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.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: minmax(0, 1.4fr) repeat(2, minmax(170px, 1fr)); gap: 28px; }
  .home-mini-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body[data-page="chip-programming"] .srv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .platform-grid {
    grid-template-columns: repeat(3, 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); }
  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .prod-carousel-track .pcard {
    flex: 0 0 calc((100% - 12px) / 2);
    min-width: calc((100% - 12px) / 2);
    max-width: calc((100% - 12px) / 2);
  }
  .mfr-logos-grid { grid-template-columns: repeat(3, 1fr); }
  .srv-tools-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .mfr-logos-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .srv-tools-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .srv-tool-img-wrap { width: 120px; height: 120px; }
}
@media (max-width: 480px) {
  .mfr-logos-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .srv-tools-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .srv-tool-img-wrap { width: 100px; height: 100px; }
}

@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-wrap { 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); }
  .platform-grid {
    grid-template-columns: 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,
  #prodGrid.prod-list > .pcard { flex-direction: column; }
  .pcard.list-v .pcard-img-wrap,
  #prodGrid.prod-list > .pcard .pcard-img-wrap { width: 100%; min-width: 0; aspect-ratio: 4/3; border-right: none; border-bottom: 1px solid var(--gray-100); }
  .pcard.list-v .pcard-footer,
  #prodGrid.prod-list > .pcard .pcard-footer { width: 100%; min-width: 0; 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-form {
    width: 100%;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
  }
  .newsletter-input {
    min-width: 0;
    width: auto;
    flex: 1 1 auto;
  }
  .newsletter-form .btn {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 42px;
    padding-inline: 14px;
  }
}

/* ── 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-grid--v2 {
  gap: 28px;
}
.about-corp-contact-panel {
  padding: 18px;
  display: grid;
  gap: 14px;
}
.about-corp-contact-panel--v2 {
  border-radius: 24px;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 225, 143, 0.28), transparent 52%),
    linear-gradient(155deg, #0b2f66 0%, #0f4fa8 42%, #1e71d7 100%);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 18px 40px rgba(12, 34, 76, 0.2);
}
.about-corp-contact-hero h3 {
  color: #fff;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: var(--fw-black);
  line-height: 1.3;
  margin-bottom: 8px;
}
.about-corp-contact-hero p {
  color: rgba(255,255,255,0.86);
  font-size: var(--fs-sm);
  line-height: 1.65;
}
.about-corp-contact-kicker {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 11px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.about-corp-contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-corp-contact-card {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 12px 13px;
  border-radius: 14px;
  background: white;
  border: 1px solid rgba(0, 102, 204, 0.08);
}
.about-corp-contact-panel--v2 .about-corp-contact-card {
  background: rgba(255,255,255,0.96);
  border-color: rgba(255,255,255,0.38);
  box-shadow: 0 8px 16px rgba(5, 26, 59, 0.1);
}
.about-corp-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, #edf5ff, #fff4cf);
  color: var(--blue-pri);
  flex: 0 0 34px;
}
.about-corp-contact-icon svg {
  width: 15px;
  height: 15px;
}
.about-corp-contact-label {
  color: #5f6d84;
  font-size: 10px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
}
.about-corp-contact-value {
  margin-top: 2px;
  color: var(--text-h);
  font-size: 0.82rem;
  font-weight: var(--fw-bold);
  line-height: 1.35;
}
.about-corp-contact-value--nowrap {
  white-space: nowrap;
}
.about-corp-contact-note {
  margin-top: 2px;
  color: #5a6780;
  font-size: 11px;
  line-height: 1.4;
}
.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);
}
.about-corp-form-wrap--v2 {
  padding: 28px;
  border-color: rgba(0, 102, 204, 0.18);
  background:
    linear-gradient(180deg, rgba(245, 250, 255, 0.85) 0%, #ffffff 52%);
}
.about-corp-form-head {
  margin-bottom: 16px;
}
.about-corp-form-head p {
  margin-top: 4px;
  color: #5f6d84;
  font-size: var(--fs-sm);
  line-height: 1.6;
}

@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-corp-contact-cards {
    grid-template-columns: 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-corp-contact-panel--v2 {
    padding: 20px;
  }
  .about-corp-form-wrap--v2 {
    padding: 20px;
  }
  .about-team-profile-body h3 {
    font-size: 1.1rem;
  }
  .about-team-profile-body p {
    min-height: 0;
  }
  body[data-page="chip-programming"] .srv-grid {
    grid-template-columns: 1fr;
  }
}

/* ── 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; }

/* ── Supported Platforms (chip-programming) ─────────────────── */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.platform-card {
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 16px 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: 0 8px 18px rgba(15, 42, 84, 0.08);
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  position: relative;
  overflow: hidden;
}
.platform-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: var(--blue-pri);
  opacity: 0.75;
}
.platform-card:hover {
  transform: translateY(-2px);
  border-color: var(--blue-mid);
  box-shadow: 0 12px 24px rgba(15, 42, 84, 0.14);
}
.platform-logo-wrap {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: #eef4ff;
}
.platform-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: saturate(1.05);
}
.platform-logo-fallback {
  font-size: 14px;
  font-weight: var(--fw-black);
  color: var(--navy);
  letter-spacing: .4px;
}
.platform-name {
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--text-h);
  margin-bottom: 5px;
  line-height: 1.35;
}
.platform-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

.platform-card--teal::before { background: #00979d; }
.platform-card--blue::before { background: #03234b; }
.platform-card--orange::before { background: #e7352c; }
.platform-card--red::before { background: #d71920; }
.platform-card--indigo::before { background: #00a9ce; }
.platform-card--pink::before { background: #c51a4a; }
.platform-card--purple::before { background: #cc1f2f; }
.platform-card--gold::before { background: #283272; }

/* ── 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 ──────────────────────────────────────── */
/* ── Manufacturers Page ──────────────────────────────────────── */

/* Hero */
.mfr-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #1e40af 100%);
  border-radius: 18px;
  padding: 36px 40px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.mfr-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 10px;
}
.mfr-hero-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
}
.mfr-hero-sub {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 480px;
}
.mfr-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 16px 24px;
  flex-shrink: 0;
}
.mfr-stat { text-align: center; padding: 0 20px; }
.mfr-stat-val { display: block; font-size: 26px; font-weight: 800; color: #fff; line-height: 1.1; }
.mfr-stat-lbl { display: block; font-size: 11px; color: #94a3b8; margin-top: 3px; }
.mfr-stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.15); flex-shrink: 0; }

/* Directory layout */
.mfr-directory { margin-bottom: 32px; }
.mfr-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: start;
}

/* Sidebar */
.mfr-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 90px;
}
.mfr-sidebar-block {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
}
.mfr-sidebar-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 10px;
}
.mfr-search-box {
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 10px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.mfr-search-box svg { width: 16px; height: 16px; color: #94a3b8; flex-shrink: 0; }
.mfr-search-box:focus-within { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,.12); }
.mfr-search-box input { border: none; outline: none; width: 100%; font-size: 13px; color: var(--text-h); background: transparent; }
.mfr-search-box input::placeholder { color: #94a3b8; }
.mfr-filter-list { display: flex; flex-direction: column; gap: 4px; }
.mfr-filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: #374151;
  background: transparent;
  border: 1.5px solid transparent;
  text-align: left;
  transition: all .15s;
}
.mfr-filter-item:hover { background: #f1f5f9; border-color: #e2e8f0; }
.mfr-filter-item.is-active { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; font-weight: 700; }
.mfr-filter-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mfr-filter-count { margin-left: auto; font-size: 11px; background: #e2e8f0; color: #475569; border-radius: 20px; padding: 1px 7px; font-weight: 700; }
.mfr-filter-item.is-active .mfr-filter-count { background: #bfdbfe; color: #1d4ed8; }

/* Main area */
.mfr-main { min-width: 0; }
.mfr-alpha-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 14px;
}
.mfr-alpha-btn {
  width: 32px;
  height: 32px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  transition: all .15s;
}
.mfr-alpha-btn:first-child { width: auto; padding-inline: 12px; }
.mfr-alpha-btn:hover { border-color: #93c5fd; color: #1d4ed8; background: #eff6ff; }
.mfr-alpha-btn.is-active { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }

.mfr-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.mfr-result-count { font-size: 13px; font-weight: 700; color: #374151; }
.mfr-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: 8px;
  padding: 6px 12px;
  transition: all .15s;
}
.mfr-clear-btn:hover { background: #dbeafe; }

/* Cards grid */
.mfr-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.mfr-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.mfr-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 8px 24px rgba(37,99,235,.1);
  transform: translateY(-2px);
}
.mfr-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.mfr-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .5px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.mfr-new-badge {
  font-size: 10px;
  font-weight: 700;
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  border-radius: 20px;
  padding: 2px 8px;
  line-height: 1.4;
}
.mfr-card-body { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.mfr-card-name { font-size: 14px; font-weight: 700; color: #0f172a; line-height: 1.3; }
.mfr-card-meta { display: flex; align-items: center; gap: 5px; }
.mfr-flag { font-size: 14px; line-height: 1; }
.mfr-country { font-size: 12px; color: #64748b; }
.mfr-type-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.mfr-type-tag {
  font-size: 10px;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  border-radius: 6px;
  padding: 2px 7px;
}
.mfr-type-more { background: #eff6ff; color: #1d4ed8; }
.mfr-card-foot {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}
.mfr-btn-products {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  background: #1d4ed8;
  color: #fff;
  border-radius: 8px;
  padding: 7px 10px;
  transition: background .15s;
  text-decoration: none;
}
.mfr-btn-products:hover { background: #1e40af; color: #fff; }
.mfr-btn-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  background: #f8fafc;
  color: #475569;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 7px 12px;
  transition: all .15s;
  white-space: nowrap;
}
.mfr-btn-detail:hover { border-color: #93c5fd; color: #1d4ed8; background: #eff6ff; }

/* Empty state */
.mfr-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 48px 24px;
  text-align: center;
  color: #94a3b8;
}
.mfr-empty-title { font-size: 16px; font-weight: 700; color: #374151; }
.mfr-empty-sub { font-size: 13px; color: #64748b; }

/* Modal */
.mfr-modal { position: fixed; inset: 0; z-index: 450; display: grid; place-items: center; }
.mfr-modal[hidden] { display: none; }
.mfr-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(2px); }
.mfr-modal-dialog {
  position: relative;
  width: min(520px, calc(100% - 32px));
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 48px rgba(0,0,0,.18);
  padding: 28px;
  z-index: 1;
  text-align: center;
}
.mfr-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #e2e8f0;
  color: #64748b;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}
.mfr-modal-close:hover { background: #fee2e2; border-color: #fca5a5; color: #dc2626; }
.mfr-modal-avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
}
.mfr-modal-title { font-size: 20px; font-weight: 800; color: #0f172a; margin-bottom: 8px; }
.mfr-modal-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  padding: 3px 12px;
  margin-bottom: 20px;
}
.mfr-modal-status.is-new { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.mfr-modal-status.is-estab { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.mfr-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  text-align: left;
  margin-bottom: 20px;
}
.mfr-modal-full { grid-column: 1 / -1; }
.mfr-modal-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
}
.mfr-modal-label { font-size: 10px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.mfr-modal-value { font-size: 13px; font-weight: 600; color: #1e293b; line-height: 1.4; }
.mfr-modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #1d4ed8;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  padding: 11px 24px;
  transition: background .15s;
  text-decoration: none;
  width: 100%;
}
.mfr-modal-cta:hover { background: #1e40af; color: #fff; }

/* Responsive */
@media (max-width: 1100px) {
  .mfr-layout { grid-template-columns: 240px 1fr; }
  .mfr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .mfr-layout { grid-template-columns: 1fr; }
  .mfr-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .mfr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mfr-hero { padding: 24px; }
  .mfr-hero-stats { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .mfr-sidebar { grid-template-columns: 1fr; }
  .mfr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mfr-hero-stats { padding: 12px 16px; }
  .mfr-stat { padding: 0 12px; }
  .mfr-modal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .mfr-grid { grid-template-columns: 1fr; }
}

/* ── 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; }
.tutorial-card-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #000;
}
.tutorial-card-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── 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; }
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.footer-logo-img {
  width: 150px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
  background-color: white;
  border-radius: 6px;
  padding: 4px 6px;
}

.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;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #d1d5db;
}
.pdp-img-placeholder svg {
  /* no extra filter — clean look */
}
.pdp-img-placeholder span {
  font-family: 'Courier New', Courier, monospace !important;
  font-size: 11px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: 3px 12px;
  border-radius: 5px;
  color: #9ca3af !important;
}

/* ── 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-buy-btn { flex: 1; min-width: 120px; }
.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; }

/* ── PDP enhanced layout and tabs ───────────────────────────── */
.pdpx-shell {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid #dde7f3;
  border-radius: 16px;
  padding: clamp(14px, 2vw, 22px);
  margin-bottom: 16px;
}
.pdpx-layout {
  display: grid;
  grid-template-columns: minmax(260px, 430px) 1fr;
  gap: 18px;
}
.pdpx-media {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pdpx-media-frame {
  border: 1px solid #dbe5f2;
  border-radius: 14px;
  background: #fff;
  min-height: 340px;
  display: grid;
  place-items: center;
  padding: 14px;
}
.pdpx-main-img {
  max-height: 320px;
  width: 100%;
  object-fit: contain;
}
.pdpx-media-note {
  font-size: 12px;
  color: #627892;
  background: #eff5ff;
  border: 1px solid #d4e3fa;
  border-radius: 10px;
  padding: 9px 10px;
}
.pdpx-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pdpx-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pdpx-meta-chip {
  border: 1px solid #d5e2f1;
  background: #f8fbff;
  color: #2f4f73;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
}
.pdpx-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
}

.pdpx-tabs {
  background: #fff;
  border: 1px solid #dce6f2;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
}
.pdpx-tabs-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0 14px;
  border-bottom: 1px solid #dbe6f4;
  background: #ffffff;
}
.pdpx-tab-btn {
  border: none;
  background: transparent;
  color: #5f7592;
  font-size: 13px;
  font-weight: 700;
  border-radius: 0;
  padding: 12px 2px 11px;
  position: relative;
  transition: color var(--t-fast);
}
.pdpx-tab-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
  border-radius: 999px;
  transition: background var(--t-fast), transform var(--t-fast);
  transform: scaleX(.35);
}
.pdpx-tab-btn:hover {
  color: #2b4667;
}
.pdpx-tab-btn.is-active {
  color: #0f5ebf;
}
.pdpx-tab-btn.is-active::after {
  background: #0f5ebf;
  transform: scaleX(1);
}
.pdpx-tab-panels {
  padding: clamp(14px, 2vw, 18px);
}
.pdpx-tab-panel {
  display: none;
}
.pdpx-tab-panel.is-active {
  display: block;
}
.pdpx-desc {
  color: #344b67;
  line-height: 1.7;
  font-size: 14px;
}
.pdpx-feature-list {
  margin-top: 10px;
  display: grid;
  gap: 7px;
}
.pdpx-feature-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: #1f3653;
}
.pdpx-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #0f5ebf;
}
.pdpx-spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #dde7f3;
  border-radius: 12px;
  overflow: hidden;
}
.pdpx-spec-table th,
.pdpx-spec-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #edf3fb;
  text-align: left;
}
.pdpx-spec-table tr:last-child th,
.pdpx-spec-table tr:last-child td { border-bottom: none; }
.pdpx-spec-table th {
  width: 35%;
  background: #f7faff;
  color: #4e6786;
  font-size: 12px;
  font-weight: 700;
}
.pdpx-spec-table td {
  color: #1f3653;
  font-size: 13px;
  font-weight: 600;
}
.pdpx-download-table-wrap {
  width: 100%;
  overflow-x: auto;
}
.pdpx-download-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
.pdpx-download-table th,
.pdpx-download-table td {
  border: 1px solid #d9d9d9;
  padding: 16px 18px;
  text-align: left;
}
.pdpx-download-table th {
  background: #f3f3f3;
  color: #2f2f2f;
  font-size: 13px;
  font-weight: 700;
}
.pdpx-download-table td {
  background: #fff;
  color: #3c3c3c;
  font-size: 13px;
}
.pdpx-download-link {
  color: #1b5fc6;
  font-weight: 600;
}
.pdpx-download-link:hover {
  text-decoration: underline;
}
.pdpx-code-block {
  margin: 0;
  border: 1px solid #d8e3f1;
  border-radius: 12px;
  background: #0e1b2d;
  color: #d9e6ff;
  padding: 14px;
  font-size: 12px;
  line-height: 1.7;
  overflow: auto;
}
.pdpx-code-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 10px;
}
.pdpx-code-btn {
  border: 1px solid #0f5ebf;
  background: #0f5ebf;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.pdpx-code-btn--alt {
  background: #fff;
  color: #0f5ebf;
}
.pdpx-code-btn:hover {
  opacity: .92;
}
.pdpx-code-btn.is-done {
  background: #0a8f4a;
  border-color: #0a8f4a;
  color: #fff;
}

@media (max-width: 980px) {
  .pdpx-layout {
    grid-template-columns: 1fr;
  }
  .pdpx-media-frame {
    min-height: 280px;
  }
}
@media (max-width: 640px) {
  .delivery-modal-dialog {
    width: calc(100% - 14px);
    padding: 13px;
  }
  .delivery-modal-inline,
  .delivery-info-link {
    flex-direction: column;
    align-items: stretch;
  }
  .delivery-modal-inline .delivery-modal-btn,
  .delivery-info-link-icon {
    width: 100%;
  }
  .delivery-manual-row {
    flex-direction: column;
  }
  .delivery-modal-btn--apply {
    width: 100%;
  }
  .pdpx-tabs-nav {
    gap: 14px;
    padding: 0 10px;
  }
  .pdpx-tab-btn {
    flex: 0 0 auto;
    padding-top: 11px;
    padding-bottom: 10px;
  }
  .pdpx-download-table th,
  .pdpx-download-table td {
    padding: 12px 12px;
    font-size: 12px;
  }
}

/* Checkout */
.checkout-hero {
  margin-bottom: 24px;
}
.checkout-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.checkout-hero-points span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f5f8ff;
  border: 1px solid #d9e5ff;
  color: var(--blue-pri);
  font-size: 12px;
  font-weight: var(--fw-semi);
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 22px;
  align-items: start;
}
.checkout-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.checkout-summary {
  position: sticky;
  top: calc(var(--header-h) + 22px);
}
.checkout-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 22px;
  box-shadow: 0 18px 34px rgba(16, 30, 62, 0.06);
  overflow: hidden;
}
.checkout-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--gray-100);
  background: linear-gradient(180deg, #fcfdff 0%, #f7faff 100%);
}
.checkout-card-title {
  font-size: 17px;
  font-weight: var(--fw-bold);
  color: var(--text-h);
}
.checkout-card-sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
}
.checkout-card-body {
  padding: 20px;
}
.checkout-link-btn {
  border: none;
  background: transparent;
  color: var(--blue-pri);
  font-size: 13px;
  font-weight: var(--fw-bold);
  cursor: pointer;
}
.checkout-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 20px;
}
.checkout-progress-step {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--gray-200);
  background: #fbfcfe;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checkout-progress-step span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf2ff;
  color: var(--blue-pri);
  font-size: 13px;
  font-weight: var(--fw-black);
}
.checkout-progress-step strong {
  font-size: 13px;
  color: var(--text-h);
}
.checkout-progress-step.is-active {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  border-color: #d7e6ff;
}
.checkout-address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.checkout-address-card {
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  padding: 16px;
  background: #fbfcfe;
  cursor: pointer;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.checkout-address-card:hover {
  transform: translateY(-1px);
  border-color: #cfe0ff;
}
.checkout-address-card.is-selected {
  border-color: #7db2ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.08);
  background: #f6fbff;
}
.checkout-address-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.checkout-address-label {
  font-size: 13px;
  font-weight: var(--fw-bold);
  color: var(--text-h);
}
.checkout-address-badge {
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--blue-pri);
  font-size: 11px;
  font-weight: var(--fw-bold);
}
.checkout-address-name,
.checkout-address-phone {
  font-size: 13px;
  color: var(--text-h);
}
.checkout-address-line {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}
.checkout-address-form-wrap {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.checkout-inline-note {
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.checkout-form-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checkout-form-actions {
  display: flex;
  gap: 10px;
}
.checkout-label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: var(--fw-bold);
  color: var(--text-h);
}
.checkout-textarea-sm {
  min-height: 96px;
}
.checkout-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.checkout-choice-grid--payments {
  margin-bottom: 14px;
}
.checkout-choice-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 16px 44px;
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  background: #fbfcfe;
  cursor: pointer;
}
.checkout-choice-card input {
  position: absolute;
  left: 16px;
  top: 18px;
}
.checkout-choice-main strong {
  display: block;
  font-size: 13px;
  color: var(--text-h);
}
.checkout-choice-main small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.checkout-choice-tag,
.checkout-choice-price {
  font-size: 11px;
  font-weight: var(--fw-bold);
  color: var(--blue-pri);
  white-space: nowrap;
}
.checkout-note-box {
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 16px;
  background: #fff7e6;
  border: 1px solid #ffe3a2;
  font-size: 12px;
  color: #7b5a08;
}
.checkout-optional {
  color: var(--text-muted);
  font-weight: var(--fw-reg);
}
.checkout-summary-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checkout-item {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: #fbfcfe;
  border: 1px solid var(--gray-100);
}
.checkout-item img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 14px;
  background: #f3f7ff;
}
.checkout-item-sku {
  font-size: 10px;
  color: var(--blue-pri);
  font-family: var(--mono);
  margin-bottom: 4px;
}
.checkout-item-name {
  font-size: 13px;
  font-weight: var(--fw-semi);
  color: var(--text-h);
  line-height: 1.45;
}
.checkout-item-meta {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
}
.checkout-item-price {
  font-size: 13px;
  font-weight: var(--fw-bold);
  color: var(--text-h);
}
.checkout-summary-meta,
.checkout-totals {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-100);
}
.checkout-summary-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.checkout-summary-row strong {
  color: var(--text-h);
  font-weight: var(--fw-bold);
  text-align: right;
}
.checkout-summary-row--total {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--gray-200);
  font-size: 16px;
}
.checkout-secure-line {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}
.checkout-place-btn {
  margin-top: 16px;
}
.checkout-empty {
  text-align: center;
}
.checkout-empty p {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-h);
}

@media (max-width: 980px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-summary {
    position: static;
  }
}

@media (max-width: 760px) {
  .checkout-progress,
  .checkout-address-grid,
  .checkout-choice-grid {
    grid-template-columns: 1fr;
  }
  .checkout-card-head,
  .checkout-card-body {
    padding: 16px;
  }
  .checkout-item {
    grid-template-columns: 60px 1fr;
  }
  .checkout-item-price {
    grid-column: 2;
  }
}

/* Shipping and payment terms page */
.shipterm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .9fr);
  gap: 22px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgb(255 214 67 / .24), transparent 32%),
    linear-gradient(135deg, #102a48 0%, #173f6f 58%, #1d548f 100%);
  color: #fff;
  box-shadow: 0 18px 44px rgb(12 32 60 / .16);
}
.shipterm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / .12);
  border: 1px solid rgb(255 255 255 / .18);
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.shipterm-title {
  margin-top: 18px;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  color: #fff;
}
.shipterm-sub {
  margin-top: 14px;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.72;
  color: rgb(234 242 255 / .92);
}
.shipterm-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.shipterm-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / .12);
  border: 1px solid rgb(255 255 255 / .16);
  font-size: 12px;
  font-weight: var(--fw-semi);
  color: #fff;
}
.shipterm-hero-card {
  display: grid;
  gap: 12px;
  align-content: center;
}
.shipterm-hero-stat {
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgb(255 255 255 / .16) 0%, rgb(255 255 255 / .08) 100%);
  border: 1px solid rgb(255 255 255 / .16);
  backdrop-filter: blur(8px);
}
.shipterm-hero-stat strong {
  display: block;
  font-size: 24px;
  line-height: 1.05;
  color: #ffd443;
}
.shipterm-hero-stat span {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.55;
  color: rgb(239 245 255 / .9);
}
.shipterm-section {
  margin-top: 24px;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 24px;
  border: 1px solid #dbe6f3;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 28px rgb(14 38 73 / .06);
}
.shipterm-grid {
  display: grid;
  gap: 16px;
}
.shipterm-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.shipterm-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}
.shipterm-info-card,
.shipterm-process-card,
.shipterm-payment-card,
.shipterm-policy-card,
.shipterm-region-card {
  border-radius: 20px;
  border: 1px solid #dbe7f4;
  background: #fff;
  box-shadow: 0 10px 22px rgb(18 45 81 / .05);
}
.shipterm-info-card {
  padding: 18px;
}
.shipterm-info-card h3,
.shipterm-process-card h3,
.shipterm-payment-card h3,
.shipterm-policy-card h3,
.shipterm-region-card h3 {
  font-size: 18px;
  line-height: 1.25;
  color: #17304f;
}
.shipterm-info-card p,
.shipterm-process-card p,
.shipterm-payment-card p,
.shipterm-policy-card p,
.shipterm-region-card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.72;
  color: #5b728f;
}
.shipterm-icon-badge {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 16px;
}
.shipterm-icon-badge--blue {
  background: #e9f2ff;
  color: #1661c0;
}
.shipterm-icon-badge--gold {
  background: #fff4d6;
  color: #a16b00;
}
.shipterm-icon-badge--green {
  background: #e8fbf0;
  color: #0d8f53;
}
.shipterm-process-card,
.shipterm-payment-card,
.shipterm-policy-card {
  padding: 20px;
}
.shipterm-process-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.shipterm-step {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #163866;
  color: #fff;
  font-size: 12px;
  font-weight: var(--fw-black);
  flex-shrink: 0;
}
.shipterm-payment-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}
.shipterm-payment-card--accent {
  background: linear-gradient(180deg, #fffdf7 0%, #ffffff 100%);
}
.shipterm-list,
.shipterm-steps-list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  color: #34506f;
}
.shipterm-list li,
.shipterm-steps-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.68;
}
.shipterm-list li::before,
.shipterm-steps-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #1c5db0;
}
.shipterm-note-box {
  margin-top: 16px;
  padding: 14px 15px;
  border-radius: 16px;
  background: #fff7e4;
  border: 1px solid #ffe09a;
  font-size: 13px;
  line-height: 1.65;
  color: #7d5a06;
}
.shipterm-policy-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e5edf7;
}
.shipterm-policy-foot strong {
  display: block;
  font-size: 14px;
  color: #17304f;
}
.shipterm-policy-foot span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.65;
  color: #5c7391;
}
.shipterm-table-wrap {
  overflow-x: auto;
  margin-top: 8px;
  border: 1px solid #dbe6f3;
  border-radius: 22px;
  background: #fff;
}
.shipterm-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}
.shipterm-table th,
.shipterm-table td {
  padding: 16px;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid #e8eff8;
}
.shipterm-table th {
  background: #f6f9fe;
  font-size: 12px;
  font-weight: var(--fw-black);
  letter-spacing: .02em;
  color: #17304f;
}
.shipterm-table td {
  font-size: 13px;
  line-height: 1.65;
  color: #516b88;
}
.shipterm-table tbody tr:last-child td {
  border-bottom: none;
}
.shipterm-table-list {
  display: grid;
  gap: 6px;
}
.shipterm-table-list li {
  position: relative;
  padding-left: 15px;
}
.shipterm-table-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #f2b400;
}
.shipterm-mobile-cards {
  display: none;
  margin-top: 8px;
  gap: 14px;
}
.shipterm-region-card {
  padding: 18px;
}
.shipterm-region-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.shipterm-region-head span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #173968;
  color: #fff;
  font-size: 12px;
  font-weight: var(--fw-bold);
  white-space: nowrap;
}
.shipterm-region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.shipterm-region-grid small,
.shipterm-region-payments small {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  color: #6a819d;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.shipterm-region-grid strong {
  font-size: 13px;
  line-height: 1.5;
  color: #17304f;
}
.shipterm-region-payments {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e6edf7;
}

@media (max-width: 1024px) {
  .shipterm-hero,
  .shipterm-grid--three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .shipterm-hero,
  .shipterm-grid--two,
  .shipterm-region-grid {
    grid-template-columns: 1fr;
  }
  .shipterm-hero {
    padding: 22px 18px;
    border-radius: 22px;
  }
  .shipterm-sub {
    font-size: 14px;
  }
  .shipterm-table-wrap {
    display: none;
  }
  .shipterm-mobile-cards {
    display: grid;
  }
}

/* Shared responsive refinements */
@media (max-width: 1180px) {
  :root {
    --pad: clamp(.85rem, 2vw, 1.35rem);
  }
  .header-main {
    gap: 8px;
  }
  .delivery-loc-text {
    max-width: 96px;
  }
  .mega-products {
    min-width: 720px;
    width: 720px;
  }
  .hero-content {
    max-width: 640px;
  }
  .hero-title {
    font-size: clamp(2.1rem, 5vw, 3.8rem);
  }
  .home-section-wrap,
  .catalog-top,
  .page-hero,
  .mfr-directory,
  .about-corp-page,
  .pdpx-wrap {
    margin-bottom: 22px;
  }
}

@media (max-width: 992px) {
  .topbar {
    display: none;
  }
  .site-header {
    position: sticky;
  }
  .header-main {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 0 8px;
    row-gap: 8px;
  }
  .logo svg {
    width: 168px;
    height: 44px;
  }
  .logo-img {
    height: 44px;
    width: auto;
  }
  .header-search-wrap {
    order: 4;
    flex: 1 0 100%;
  }
  .header-search {
    height: 40px;
  }
  .header-delivery,
  .h-act {
    min-height: 40px;
  }
  .h-hamburger {
    display: inline-flex;
  }
  .nav-bar {
    display: none;
  }
  .hero-slide {
    height: clamp(280px, 48vw, 380px);
  }
  .hero-content {
    max-width: 100%;
    padding: 22px 0;
  }
  .hero-title {
    font-size: clamp(1.9rem, 6vw, 3.2rem);
    line-height: 1.04;
  }
  .hero-subtitle {
    max-width: 620px;
    font-size: 1rem;
  }
  .flash-grid,
  .prod-grid,
  .deal-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .prod-carousel-track .pcard {
    min-width: 220px;
  }
  .catalog-layout,
  .pdp-layout,
  .contact-grid,
  .about-corp-hero-grid,
  .about-corp-story-grid,
  .about-corp-client-grid,
  .about-corp-contact-grid,
  .mfr-layout,
  .pdpx-layout {
    grid-template-columns: 1fr;
  }
  .catalog-sidebar,
  .checkout-summary,
  .about-corp-hero-visual,
  .mfr-sidebar {
    position: static;
  }
  .pdp-layout {
    gap: 20px;
  }
  .about-corp-actions {
    flex-wrap: wrap;
  }
  .about-corp-primary-btn,
  .about-corp-link {
    width: 100%;
    justify-content: space-between;
  }
  .about-corp-mini-metrics,
  .about-corp-segment-grid,
  .about-corp-news-grid,
  .about-team-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-corp-contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .qhero-inner {
    gap: 18px;
  }
  .qhero-left,
  .qhero-steps {
    width: 100%;
  }
  .qhero-steps {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .qlayout {
    grid-template-columns: 1fr;
  }
  .qsidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .checkout-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .checkout-address-grid,
  .checkout-choice-grid {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 768px) {
  :root {
    --pad: 14px;
  }
  body {
    font-size: 13px;
  }
  .wrap {
    padding-inline: 14px;
  }
  .header-main {
    align-items: center;
  }
  .logo svg {
    width: 150px;
    height: 40px;
  }
  .logo-img {
    height: 40px;
    width: auto;
  }
  .search-cat-btn {
    width: 72px;
    padding-left: 9px;
  }
  .search-field {
    font-size: 13px;
    padding-inline: 10px;
  }
  .search-field::placeholder {
    font-size: 12px;
  }
  .header-delivery,
  .h-act {
    display: none;
  }
  .h-cart {
    margin-left: auto;
    padding-right: 0;
  }
  .hero-slide {
    height: auto;
    min-height: 320px;
  }
  .hero-content {
    padding: 28px 0 30px;
  }
  .hero-title,
  .chip-hero-title,
  .about-corp-title,
  .page-title {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
    line-height: 1.06;
  }
  .hero-subtitle,
  .chip-hero-sub,
  .about-corp-sub,
  .page-sub {
    font-size: 14px;
    line-height: 1.6;
  }
  .hero-cta-row,
  .chip-hero-ctas,
  .about-corp-actions,
  .how-cta-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-row .btn,
  .chip-hero-ctas .btn,
  .about-corp-actions a,
  .how-cta-row .btn {
    width: 100%;
    justify-content: center;
  }
  .sec-head {
    gap: 10px;
    margin-bottom: 14px;
  }
  .sec-title {
    font-size: 1.35rem;
  }
  .home-section-wrap {
    padding: 18px 14px;
    border-radius: 16px;
  }
  .home-mini-grid,
  .flash-grid,
  .prod-grid,
  .deal-list,
  .srv-grid,
  .resources-grid,
  .platform-grid,
  .cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .pcard {
    border-radius: 14px;
  }
  .pcard-body {
    padding: 12px 12px 8px;
  }
  .pcard-name {
    font-size: 13px;
    min-height: auto;
  }
  .pcard-footer {
    flex-direction: row;
    gap: 8px;
  }
  .btn-atc,
  .btn-buynow {
    width: auto;
    min-width: 0;
    min-height: 40px;
    padding: 0 12px;
    justify-content: center;
    flex: 1 1 0;
    font-size: 12px;
  }
  .btn-atc {
    white-space: normal;
    line-height: 1.15;
  }
  .btn-atc svg {
    width: 14px;
    height: 14px;
  }
  .pdp-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
  .pdp-qty-wrap {
    grid-column: 1 / -1;
    width: 100%;
  }
  .pdp-cart-btn,
  .pdp-buy-btn {
    min-width: 0;
    width: 100%;
    min-height: 44px;
  }
  .pdp-wish-btn {
    width: 100%;
    min-height: 44px;
    border-radius: var(--r-lg);
  }
  .catalog-toolbar,
  .catalog-toolbar-right,
  .pdp-buy-box-actions,
  .pdp-meta-row,
  .mfr-results-head {
    flex-direction: column;
    align-items: stretch;
  }
  .mfr-sidebar {
    display: grid;
    grid-template-columns: 1fr;
  }
  .mfr-grid,
  .about-corp-mini-metrics,
  .about-corp-segment-grid,
  .about-corp-news-grid,
  .about-corp-contact-cards,
  .checkout-progress,
  .checkout-address-grid {
    grid-template-columns: 1fr;
  }
  .about-corp-section {
    padding-top: 24px;
  }
  .about-corp-form-wrap,
  .about-corp-story-card,
  .about-corp-contact-panel {
    padding: 18px;
  }
  .qhero {
    padding: 22px 0 18px;
  }
  .qcard-head,
  .qcard-body {
    padding: 16px;
  }
  .qsidebar {
    grid-template-columns: 1fr;
  }
  .qgrid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .checkout-card-head,
  .checkout-card-body,
  .checkout-progress {
    padding: 16px;
  }
  .checkout-form-actions,
  .form-row,
  .checkout-summary-row {
    display: grid;
    grid-template-columns: 1fr;
  }
  .checkout-summary-row strong {
    text-align: left;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-brand-desc {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .logo svg {
    width: 132px;
    height: 36px;
  }
  .header-search {
    height: 38px;
  }
  .search-go {
    width: 40px;
  }
  .hero-title,
  .chip-hero-title,
  .about-corp-title,
  .page-title {
    font-size: clamp(1.65rem, 9vw, 2.3rem);
  }
  .flash-grid,
  .prod-grid,
  .deal-list,
  .home-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .srv-grid,
  .resources-grid,
  .platform-grid,
  .cat-grid,
  .qgrid-4 {
    grid-template-columns: 1fr;
  }
  .prod-carousel-track .pcard {
    min-width: 48vw;
  }
  .pcard-img {
    height: 120px;
    padding: 8px;
  }
  .pcard-body {
    padding: 10px 10px 6px;
    gap: 5px;
  }
  .pcard-cat {
    font-size: 9px;
  }
  .pcard-name {
    font-size: 12px;
    line-height: 1.35;
  }
  .pcard-rating {
    gap: 3px;
  }
  .pcard-stars svg {
    width: 10px;
    height: 10px;
  }
  .pcard-rc,
  .pcard-delivery {
    font-size: 9px;
  }
  .price-main { font-size: 14px; }
  .price-orig { font-size: 10px; }
  .pcard-footer {
    gap: 5px;
    padding: 0 10px 10px;
  }
  .btn-atc,
  .btn-buynow {
    height: 30px;
    font-size: 10px;
    flex: 1 1 0;
  }
  .btn-atc svg {
    width: 11px;
    height: 11px;
  }
  .btn-view-detail {
    min-height: 34px;
    font-size: 10px;
    padding: 0 8px;
  }
  .pdp-actions-row {
    grid-template-columns: 1fr;
  }
  .pdp-cart-btn,
  .pdp-buy-btn,
  .pdp-wish-btn {
    width: 100%;
    min-height: 42px;
  }
  .pdp-qty-btn,
  .pdp-qty-inp,
  .pdp-wish-btn {
    height: 42px;
  }
  .cart-panel,
  .mob-menu {
    width: 100%;
  }
  .page-hero,
  .home-section-wrap,
  .chip-hero,
  .about-corp-hero,
  .checkout-card {
    border-radius: 14px;
  }
  .checkout-item {
    grid-template-columns: 56px 1fr;
    gap: 10px;
  }
  .checkout-item img {
    width: 56px;
    height: 56px;
  }
}

/* ── 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(--star); 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; }

/* Product page compatibility layer for current website/product.php markup */
.pdp-wrap {
  padding-top: 18px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--blue-pri);
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.bc-sep {
  color: var(--gray-300);
}
.pdp-top {
  display: grid;
  grid-template-columns: minmax(280px, 460px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 20px;
}
.pdp-img-card,
.pdp-info-card,
.pdp-tab-section {
  border: 1px solid #dde7f3;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 28px rgb(14 38 73 / .06);
}
.pdp-img-card,
.pdp-info-card {
  padding: 18px;
}
/* v2 info card gets a touch more breathing room */
.pdp-info-card { padding: 22px 24px; position: relative; }
.pdp-main-image {
  width: 100%;
  min-height: 360px;
  max-height: 420px;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid #e3ebf6;
  background: #fff;
  padding: 18px;
}
.pdp-main-image-wrap {
  position: relative;
}
.pdp-main-image-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  cursor: zoom-in;
  line-height: 0;
}
.pdp-main-image-button:focus-visible {
  outline: 3px solid rgb(0 102 204 / .28);
  outline-offset: 3px;
}
.pdp-image-zoom-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(9, 27, 52, .82);
  color: #fff;
  font-size: 12px;
  font-weight: var(--fw-semibold);
  line-height: 1;
  box-shadow: 0 8px 20px rgb(8 25 48 / .18);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--t-fast), transform var(--t-fast), background var(--t-fast);
  pointer-events: none;
}
.pdp-main-image-button:hover .pdp-image-zoom-hint,
.pdp-main-image-button:focus-visible .pdp-image-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}
.pdp-image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(16, 34, 58, .76);
  color: #fff;
  backdrop-filter: blur(8px);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  z-index: 2;
}
.pdp-image-nav:hover {
  background: var(--blue-pri);
  border-color: var(--blue-pri);
}
.pdp-image-nav--prev {
  left: 14px;
}
.pdp-image-nav--next {
  right: 14px;
}
.pdp-main-image.pdp-view-0 {
  object-position: center center;
  transform: scale(1);
}
.pdp-main-image.pdp-view-1 {
  object-position: left center;
  transform: scale(1.04);
}
.pdp-main-image.pdp-view-2 {
  object-position: center top;
  transform: scale(1.06);
}
.pdp-main-image.pdp-view-3 {
  object-position: right center;
  transform: scale(1.04);
}
.pdp-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #d1d5db;
}
.pdp-thumbs-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.pdp-thumb-img {
  width: 100%;
  height: 78px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid #d7e3f2;
  background: #fff;
  padding: 8px;
  cursor: pointer;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.pdp-thumb-img:hover,
.pdp-thumb-img.active {
  border-color: var(--blue-pri);
  box-shadow: 0 8px 18px rgb(0 102 204 / .12);
}

/* Same-master SKU selector: the SKU remains the sellable item. */
.pdp-variant-selector {
  width: 100%;
  margin: 0 0 20px;
  padding: 20px 22px 22px;
  border: 1px solid #dce6f2;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 28px rgb(14 38 73 / .06);
}
.pdp-variant-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.pdp-variant-eyebrow {
  display: block;
  margin-bottom: 2px;
  color: #71849c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pdp-variant-heading h2 {
  margin: 0;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.25;
}
.pdp-variant-count {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef5ff;
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 700;
}
.pdp-variant-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}
.pdp-variant-tab {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 7px;
  min-height: 82px;
  padding: 11px 12px;
  border: 1px solid #d8e4f2;
  border-radius: 12px;
  background: #fff;
  color: #334155;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.pdp-variant-tab:hover,
.pdp-variant-tab:focus-visible {
  border-color: #8bbcff;
  background: #f8fbff;
  box-shadow: 0 7px 16px rgb(0 102 204 / .1);
  transform: translateY(-1px);
}
.pdp-variant-tab.is-active {
  border-color: var(--blue-pri);
  background: #edf5ff;
  box-shadow: inset 0 0 0 1px var(--blue-pri);
}
.pdp-variant-name {
  display: -webkit-box;
  overflow: hidden;
  color: #172033;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.pdp-variant-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #71849c;
  font-size: 10px;
}
.pdp-variant-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pdp-variant-meta strong {
  flex: 0 0 auto;
  color: #0f172a;
  font-size: 11px;
}

/* Product image lightbox */
body.pdp-lightbox-open {
  overflow: hidden;
}
.pdp-lightbox[hidden] {
  display: none;
}
.pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgb(4 14 30 / .82);
  backdrop-filter: blur(7px);
}
.pdp-lightbox-dialog {
  width: min(1180px, calc(100vw - 48px));
  height: min(860px, calc(100vh - 48px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .18);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 80px rgb(0 0 0 / .36);
}
.pdp-lightbox-header {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px 12px 22px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}
.pdp-lightbox-heading {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.pdp-lightbox-heading strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pdp-lightbox-heading span {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: var(--fw-semibold);
}
.pdp-lightbox-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9e3ef;
  border-radius: 999px;
  background: #f8fafc;
  color: var(--navy);
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}
.pdp-lightbox-close:hover,
.pdp-lightbox-close:focus-visible {
  border-color: var(--blue-pri);
  background: var(--blue-pri);
  color: #fff;
}
.pdp-lightbox-stage {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 18px 8px;
  overflow: hidden;
  border: 1px solid #e4eaf2;
  border-radius: 14px;
  background:
    linear-gradient(45deg, #f7f9fc 25%, transparent 25%) 0 0 / 20px 20px,
    linear-gradient(-45deg, #f7f9fc 25%, transparent 25%) 0 10px / 20px 20px,
    linear-gradient(45deg, transparent 75%, #f7f9fc 75%) 10px -10px / 20px 20px,
    linear-gradient(-45deg, transparent 75%, #f7f9fc 75%) -10px 0 / 20px 20px,
    #fff;
}
.pdp-lightbox-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 22px 72px;
  user-select: none;
}
.pdp-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255 255 255 / .55);
  border-radius: 999px;
  background: rgb(9 27 52 / .82);
  color: #fff;
  box-shadow: 0 10px 25px rgb(9 27 52 / .2);
  transform: translateY(-50%);
  transition: background var(--t-fast), transform var(--t-fast);
}
.pdp-lightbox-nav:hover,
.pdp-lightbox-nav:focus-visible {
  background: var(--blue-pri);
  transform: translateY(-50%) scale(1.05);
}
.pdp-lightbox-nav--prev {
  left: 16px;
}
.pdp-lightbox-nav--next {
  right: 16px;
}
.pdp-lightbox-thumbs {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px 14px;
  overflow-x: auto;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}
.pdp-lightbox-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  padding: 5px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #fff;
  opacity: .7;
  transition: border-color var(--t-fast), opacity var(--t-fast), transform var(--t-fast);
}
.pdp-lightbox-thumb:hover,
.pdp-lightbox-thumb.active {
  border-color: var(--blue-pri);
  opacity: 1;
  transform: translateY(-2px);
}
.pdp-lightbox-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .pdp-image-zoom-hint {
    opacity: 1;
    transform: none;
  }
  .pdp-lightbox {
    padding: 8px;
  }
  .pdp-lightbox-dialog {
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
    border-radius: 14px;
  }
  .pdp-lightbox-header {
    min-height: 56px;
    padding: 8px 8px 8px 14px;
  }
  .pdp-lightbox-heading strong {
    font-size: 14px;
  }
  .pdp-lightbox-stage {
    margin: 8px;
  }
  .pdp-lightbox-image {
    padding: 12px 44px;
  }
  .pdp-lightbox-nav {
    width: 40px;
    height: 40px;
  }
  .pdp-lightbox-nav--prev {
    left: 6px;
  }
  .pdp-lightbox-nav--next {
    right: 6px;
  }
  .pdp-lightbox-thumbs {
    min-height: 82px;
    justify-content: flex-start;
    padding: 8px 10px 10px;
  }
  .pdp-lightbox-thumb {
    flex-basis: 62px;
    width: 62px;
    height: 62px;
  }
}
.pdp-datasheet-btn {
  margin-top: 14px;
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid #d2dff0;
  background: #fff;
  color: var(--blue-pri);
  font-size: 13px;
  font-weight: var(--fw-bold);
}
.pdp-datasheet-btn:hover {
  background: var(--blue-pri);
  border-color: var(--blue-pri);
  color: #fff;
}
.pdp-badge-sku-row,
.pdp-mfr-row,
.pdp-rating-bar,
.pdp-price-row,
.pdp-share-row,
.pdp-code-header,
.pdp-rv-header,
.pdp-review-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pdp-badge-sku-row {
  margin-bottom: 10px;
}
.pdp-sku-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue-pri);
  font-weight: var(--fw-bold);
}
.pdp-name {
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.18;
  color: var(--text-h);
  margin-bottom: 10px;
}
.pdp-mfr-row {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.pdp-mfr-sep {
  color: var(--gray-300);
}
.star-row {
  display: flex;
  align-items: center;
}
.pdp-review-link {
  font-size: 13px;
  color: var(--blue-pri);
  font-weight: var(--fw-semi);
}
.pdp-review-link:hover {
  text-decoration: underline;
}
.pdp-price-block {
  display: block;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5edf7;
}
.pdp-price-current {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: var(--fw-black);
  line-height: 1;
  color: var(--text-h);
}
.pdp-orig-price {
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.pdp-save-pct {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff3f1;
  color: #d63f39;
  font-size: 11px;
  font-weight: var(--fw-bold);
}
.pdp-vol-wrap {
  margin-bottom: 14px;
  display: none;
}
.pdp-vol-label {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: var(--fw-bold);
  color: var(--text-h);
}
.pdp-vol-table,
.pdp-specs-tbl {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #dde7f3;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.pdp-vol-table th,
.pdp-vol-table td,
.pdp-specs-tbl td {
  padding: 10px 12px;
  border-bottom: 1px solid #edf3fb;
  text-align: left;
  font-size: 13px;
}
.pdp-vol-table th {
  background: #f7faff;
  color: #4e6786;
  font-weight: var(--fw-bold);
}
.pdp-vol-table tr:last-child td,
.pdp-specs-tbl tr:last-child td {
  border-bottom: none;
}
.pdp-vol-best {
  background: #fff9e8;
}
.pdp-stock-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: var(--fw-bold);
}
.pdp-stock-in {
  background: #ebfff3;
  color: #15844b;
}
.pdp-stock-out {
  background: #fff0f0;
  color: #d63f39;
}
.pdp-spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.pdp-spec-chip {
  padding: 7px 10px;
  border-radius: 999px;
  background: #f3f8ff;
  border: 1px solid #d8e5f5;
  font-size: 12px;
  color: #355677;
  font-weight: var(--fw-semi);
}
.pdp-features-list {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.pdp-features-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.65;
  color: #304b6c;
}
.pdp-features-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--blue-pri);
}
.pdp-actions {
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  gap: 8px;
  align-items: stretch;
  margin-top: 12px;
}
.pdp-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
}
.pdp-cart-btn,
.pdp-buynow-btn {
  min-width: 0;
  min-height: 44px;
}
.pdp-buynow-btn {
  border: 1px solid #cfe0f3;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
  color: var(--blue-pri);
  border-radius: 999px;
  font-size: 13px;
  font-weight: var(--fw-bold);
  padding: 0 14px;
}
.pdp-buynow-btn:hover {
  background: var(--blue-pri);
  border-color: var(--blue-pri);
  color: #fff;
}
.pdp-share-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e5edf7;
}
.pdp-share-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: var(--fw-bold);
}
.pdp-share-btn,
.pdp-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #d2dff0;
  background: #fff;
  color: var(--blue-pri);
  font-size: 12px;
  font-weight: var(--fw-bold);
}
.pdp-share-btn:hover,
.pdp-copy-btn:hover {
  background: var(--blue-pri);
  border-color: var(--blue-pri);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   PDP INFO CARD v2  — redesigned purchase panel
═══════════════════════════════════════════════════════════════ */

/* ① Meta row */
.pdp2-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.pdp2-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.pdp2-badge--new      { background: #16a34a; color: #fff; }
.pdp2-badge--featured { background: #0066cc; color: #fff; }
.pdp2-badge--hot      { background: #e53e3e; color: #fff; }
.pdp2-badge--bestseller{ background: #d97706; color: #fff; }
.pdp2-badge--sale     { background: #dc2626; color: #fff; }
.pdp2-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 9px;
  border-radius: 6px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
}
.pdp2-cat-link:hover { background: #dbeafe; }
.pdp2-sku {
  font-size: 11.5px;
  color: #64748b;
  letter-spacing: .2px;
}
.pdp2-sku strong { color: #334155; }

/* ② Name */
.pdp2-name {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.18;
  color: #0f172a;
  margin: 0 0 10px;
  letter-spacing: -.3px;
}
.pdp2-master-family {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px;
  margin: -3px 0 9px;
  color: #71849c;
  font-size: 12px;
}
.pdp2-master-family span::after {
  content: ":";
}
.pdp2-master-family strong {
  color: #294b72;
  font-weight: 700;
}

/* ③ Rating */
.pdp2-rating-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.pdp2-stars { display: flex; align-items: center; }
.pdp2-stars .pcard-stars svg { width: 15px; height: 15px; }
.pdp2-rating-val {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}
.pdp2-sold {
  font-size: 12px;
  color: #64748b;
  background: #f8fafc;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}

/* ④ Price block */
/* ④ Price block */
/* Share button — top-right corner of info card */
.pdp2-share-corner {
  position: absolute;
  top: 16px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 11px;
  border-radius: 20px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
  z-index: 2;
}
.pdp2-share-corner:hover {
  border-color: #0066cc;
  color: #0066cc;
  background: #eff6ff;
}

.pdp2-price-block {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 14px;
}
/* Price left + Qty right layout */
.pdp2-price-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pdp2-price-left { flex: 1; min-width: 0; }
.pdp2-qty-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.pdp2-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.pdp2-price {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  letter-spacing: -.4px;
}
.pdp2-orig {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}
.pdp2-save-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 20px;
  background: #fef2f2;
  color: #dc2626;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #fecaca;
}
.pdp2-delivery-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pdp2-delivery-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #1e40af;
  font-weight: 500;
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  padding: 3px 10px;
}
.pdp2-delivery-chip strong { font-weight: 700; }
.pdp2-vat-text {
  font-size: 11px;
  color: #94a3b8;
}

/* ⑤ Action block */
.pdp2-action-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.pdp2-qty-label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .6px;
  min-width: 26px;
}
.pdp2-qty {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  height: 36px;
}
.pdp2-qty-btn {
  width: 32px;
  background: transparent;
  border: none;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .12s, color .12s;
}
.pdp2-qty-btn:hover { background: #f1f5f9; color: #0f172a; }
.pdp2-qty-inp {
  width: 44px;
  border: none;
  border-left: 1.5px solid #e2e8f0;
  border-right: 1.5px solid #e2e8f0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  background: #fff;
  outline: none;
  -moz-appearance: textfield;
}
.pdp2-qty-inp::-webkit-inner-spin-button,
.pdp2-qty-inp::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Buttons — one row: [Add to Cart] [Buy Now] [♡] */
.pdp2-btn-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.pdp2-cart-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  border-radius: 10px;
  border: none;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .1px;
  transition: background .15s, transform .1s, box-shadow .15s;
  box-shadow: 0 2px 8px rgba(15,23,42,.18);
  white-space: nowrap;
}
.pdp2-cart-btn:hover {
  background: #1e3a5f;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15,23,42,.22);
}
.pdp2-buynow-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  border-radius: 10px;
  border: 1.5px solid #0066cc;
  background: #fff;
  color: #0066cc;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, color .15s, transform .1s;
  white-space: nowrap;
}
.pdp2-buynow-btn:hover {
  background: #0066cc;
  color: #fff;
  transform: translateY(-1px);
}
.pdp2-wish-btn {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.pdp2-wish-btn:hover,
.pdp2-wish-btn.wished {
  border-color: #fca5a5;
  color: #ef4444;
  background: #fff5f5;
}
.pdp2-wish-btn.wished svg { fill: #ef4444; stroke: #ef4444; }

/* ⑦ Trust badges */
.pdp2-trust {
  display: flex;
  gap: 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
}
.pdp2-trust-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 12px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  text-align: center;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
}
.pdp2-trust-item:last-child { border-right: none; }
.pdp2-trust-item svg { color: #0066cc; }


/* ── Responsive ────────────────────────────────────────────────── */
/* pdp2 responsive — largest first (desktop-first) */
@media (max-width: 900px) {
  .pdp2-price { font-size: 1.4rem; }
  .pdp2-name  { font-size: 1.2rem; }
}
@media (max-width: 768px) {
  .pdp2-meta  { gap: 6px; }
  .pdp2-trust { display: grid; grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 640px) {
  .pdp2-price { font-size: 1.25rem; }
  .pdp2-name  { font-size: 1.1rem; }
  .pdp2-trust { grid-template-columns: 1fr; }
  .pdp2-trust-item { flex-direction: row; justify-content: flex-start; border-right: none; border-bottom: 1px solid #e2e8f0; }
  .pdp2-trust-item:last-child { border-bottom: none; }
  .pdp2-price-qty-row { flex-wrap: wrap; }
}
@media (max-width: 400px) {
  .pdp2-price-block { padding: 12px; }
  .pdp2-cart-btn, .pdp2-buynow-btn { min-height: 44px; font-size: 14px; }
}

.pdp-tab-section {
  overflow: hidden;
  margin-bottom: 20px;
}
.pdp-tab-bar {
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid #dbe6f4;
  background: #fff;
  overflow-x: auto;
  white-space: nowrap;
  flex-wrap: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 2px;
}
.pdp-tab-bar::-webkit-scrollbar { display: none; }
.pdp-tab-btn {
  border: none;
  background: transparent;
  color: #5f7592;
  font-size: 13px;
  font-weight: 700;
  padding: 14px 4px 12px;
  margin-right: 18px;
  position: relative;
}
.pdp-tab-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
  transition: background var(--t-fast), transform var(--t-fast);
  transform: scaleX(.35);
}
.pdp-tab-btn:hover,
.pdp-tab-btn.active {
  color: var(--blue-pri);
}
.pdp-tab-btn.active::after {
  background: var(--blue-pri);
  transform: scaleX(1);
}
.pdp-tab-panel {
  display: none;
  padding: 18px;
}
.pdp-tab-panel.active {
  display: block;
}
.pdp-desc-body,
.pdp-desc-empty,
.pdp-dl-desc,
.pdp-rv-text {
  font-size: 14px;
  line-height: 1.72;
  color: #384f6b;
}

/* Rich HTML description content */
.pdp-desc-body ul,
.pdp-desc-body ol { padding-left: 20px; margin: 8px 0; }
.pdp-desc-body li { margin-bottom: 4px; }
.pdp-desc-body h1,.pdp-desc-body h2,.pdp-desc-body h3,
.pdp-desc-body h4,.pdp-desc-body h5,.pdp-desc-body h6 {
  font-weight: 600; margin: 10px 0 4px; color: var(--text-h);
}
.pdp-desc-body h4 { font-size: 13px; }
.pdp-desc-body p  { margin: 6px 0; }
.pdp-desc-body strong,.pdp-desc-body b { font-weight: 600; }
.pdp-desc-body a  { color: var(--blue); text-decoration: underline; }
.pdp-desc-body table { border-collapse: collapse; width: 100%; margin: 10px 0; }
.pdp-desc-body td,.pdp-desc-body th { border: 1px solid var(--gray-200); padding: 6px 10px; font-size: 13px; }
.pdp-desc-body th { background: var(--gray-50); font-weight: 600; }
.pdp-shared-info {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e2eaf4;
}
.pdp-tab-panel .pdp-desc-empty + .pdp-shared-info {
  margin-top: 0;
}
.pdp-shared-info h3 {
  margin: 0 0 12px;
  color: #172033;
  font-size: 15px;
  font-weight: 700;
}
.pdp-shared-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 0;
}
.pdp-shared-info-grid > div {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #dfe8f4;
  border-radius: 12px;
  background: #fff;
}
.pdp-shared-info-grid dt {
  margin-bottom: 4px;
  color: #71849c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.pdp-shared-info-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #172033;
  font-size: 13px;
  font-weight: 600;
}
.pdp-downloads-list,
.pdp-review-cards {
  display: grid;
  gap: 14px;
}
.pdp-download-row,
.pdp-review-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid #dfe8f4;
  border-radius: 16px;
  background: #fff;
}
.pdp-dl-icon,
.pdp-rv-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eef5ff;
  color: var(--blue-pri);
  font-weight: var(--fw-black);
}
.pdp-dl-name,
.pdp-rv-name {
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--text-h);
}
.pdp-dl-desc,
.pdp-rv-date {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
}
.pdp-code-header {
  justify-content: space-between;
  margin-bottom: 12px;
}
.pdp-code-lang {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue-pri);
  font-size: 12px;
  font-weight: var(--fw-bold);
}
.pdp-code-block {
  margin: 0;
  border: 1px solid #d8e3f1;
  border-radius: 12px;
  background: #0e1b2d;
  color: #d9e6ff;
  padding: 14px;
  overflow: auto;
  font-size: 12px;
  line-height: 1.7;
}
/* ── Short description + Read More ─────────────────────────── */
.pdp2-short-desc-wrap {
  margin: 6px 0 10px;
}
.pdp2-short-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pdp2-short-desc--expanded {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.pdp2-read-more-btn {
  background: none;
  border: none;
  padding: 2px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-pri);
  cursor: pointer;
  margin-top: 2px;
}
.pdp2-read-more-btn:hover { text-decoration: underline; }

/* ── Sample Code list ───────────────────────────────────────── */
.pdp-sample-list { display: grid; gap: 12px; }
.pdp-sample-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #dfe8f4;
  border-radius: 14px;
  background: #fff;
}
.pdp-sample-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f0f7ff;
  color: var(--blue-pri);
}
.pdp-sample-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-h);
  margin-bottom: 4px;
}
.pdp-sample-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.pdp-sample-tag {
  font-size: 11px;
  font-weight: 600;
  color: #4b5563;
  background: #f1f5f9;
  border-radius: 6px;
  padding: 2px 8px;
}
.pdp-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  padding: 6px 14px;
  white-space: nowrap;
}

/* ── Empty state ────────────────────────────────────────────── */
.pdp-desc-empty {
  color: var(--text-muted);
  font-size: 13px;
  padding: 24px 0;
  text-align: center;
}

.pdp-review-summary {
  align-items: stretch;
  gap: 18px;
  margin-bottom: 18px;
}
.pdp-review-score {
  min-width: 180px;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #dfe8f4;
  text-align: center;
}
.pdp-review-big-num {
  font-size: 42px;
  line-height: 1;
  font-weight: var(--fw-black);
  color: var(--text-h);
}
.pdp-review-big-stars,
.pdp-rv-stars {
  color: #f2b400;
  letter-spacing: 1px;
}
.pdp-review-total {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
}
.pdp-review-bars {
  flex: 1;
  display: grid;
  gap: 10px;
}
.pdp-review-bar-row {
  display: grid;
  grid-template-columns: 40px 1fr 44px;
  gap: 10px;
  align-items: center;
}
.pdp-review-bar-track {
  height: 10px;
  border-radius: 999px;
  background: #edf3fb;
  overflow: hidden;
}
.pdp-review-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffd34d 0%, #f4b400 100%);
}
.pdp-write-review-btn {
  margin-top: 16px;
}

@media (max-width: 992px) {
  .pdp-top,
  .pdp-review-summary {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .pdp-actions {
    grid-template-columns: 1fr 1fr;
  }
  .pdp-qty {
    grid-column: 1 / -1;
  }
  .pdp-wish-btn {
    width: 100%;
    min-height: 44px;
    border-radius: 14px;
  }
}

@media (max-width: 640px) {
  .pdp-img-card,
  .pdp-info-card,
  .pdp-tab-panel {
    padding: 16px 14px;
  }
  .pdp-main-image {
    min-height: 260px;
    max-height: 320px;
    padding: 12px;
  }
  .pdp-image-nav {
    width: 34px;
    height: 34px;
  }
  .pdp-image-nav--prev {
    left: 10px;
  }
  .pdp-image-nav--next {
    right: 10px;
  }
  .pdp-thumbs-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .pdp-thumb-img {
    height: 62px;
  }
  .pdp-variant-selector {
    padding: 16px;
  }
  .pdp-variant-tabs {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  .pdp-shared-info-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pdp-actions,
  .pdp-download-row,
  .pdp-review-card {
    grid-template-columns: 1fr;
  }
  .pdp-tab-bar {
    padding: 0 12px;
  }
  .pdp-tab-btn {
    margin-right: 12px;
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .pdp-wrap {
    padding-top: 12px;
  }
  .breadcrumb {
    font-size: 11px;
    margin-bottom: 12px;
  }
  .pdp-name {
    font-size: clamp(1.1rem, 5vw, 1.35rem);
    margin-bottom: 8px;
  }
  .pdp-mfr-row,
  .pdp-review-link,
  .pdp-features-list li,
  .pdp-gst-note {
    font-size: 12px;
  }
  .pdp-price-current {
    font-size: clamp(1.3rem, 6vw, 1.65rem);
  }
  .pdp-orig-price {
    font-size: 12px;
  }
  .pdp-stock-chip,
  .pdp-spec-chip {
    font-size: 11px;
  }
  .pdp-tab-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .pdp-tab-bar::-webkit-scrollbar {
    display: none;
  }
  .pdp-tab-btn {
    font-size: 11px;
    margin-right: 8px;
    padding: 12px 2px 10px;
  }
  .pdp-tab-panel {
    padding: 14px;
  }
  .pdp-desc-body,
  .pdp-desc-empty,
  .pdp-dl-desc,
  .pdp-rv-text {
    font-size: 12px;
    line-height: 1.6;
  }
  .pdp-dl-name,
  .pdp-rv-name {
    font-size: 12px;
  }
  .pdp-dl-desc,
  .pdp-rv-date {
    font-size: 11px;
  }
  .pdp-code-lang,
  .pdp-share-label,
  .pdp-share-btn,
  .pdp-copy-btn {
    font-size: 11px;
  }
  .pdp-code-block {
    font-size: 11px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .pdp-tab-btn {
    font-size: 10.5px;
    margin-right: 6px;
  }
  .sec-title {
    font-size: 18px;
  }
  .sec-subtitle {
    font-size: 11px;
  }
  .pdp-shared-info-grid {
    grid-template-columns: 1fr;
  }
  .pdp-variant-tabs {
    grid-template-columns: 1fr;
  }
}

/* Account dropdown + account pages */
.header-account-wrap {
  position: relative;
  flex-shrink: 0;
}
.account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(280px, calc(100vw - 20px));
  border: 1px solid #dbe5f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 42px rgba(10, 26, 48, .18);
  overflow: hidden;
  z-index: calc(var(--z-modal) + 20);
}
.account-menu[hidden] { display: none; }
.account-menu-head {
  padding: 16px 18px 14px;
  background: linear-gradient(135deg, #0a1a30 0%, #173968 100%);
  color: #fff;
}
.account-menu-title {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: 5px;
}
.account-menu-head strong {
  display: block;
  font-size: 16px;
  line-height: 1.25;
}
.account-menu-head span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  opacity: .82;
  word-break: break-word;
}
.account-menu-links {
  display: grid;
  gap: 2px;
  padding: 10px;
}
.account-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  color: #17314f;
  font-size: 13px;
  font-weight: 700;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.account-menu-link:hover {
  background: #f4f8ff;
  color: var(--blue-pri);
  transform: translateX(2px);
}
.account-menu-link.is-logout {
  color: #c33b43;
}
.account-menu-link-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #edf4ff;
  color: var(--blue-pri);
  flex-shrink: 0;
}
.account-menu-link.is-logout .account-menu-link-icon {
  background: #fff1f2;
  color: #c33b43;
}

.account-page {
  padding-block: 30px 42px;
}
.account-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.account-sidebar,
.account-panel,
.account-summary-card,
.account-stat-card,
.account-cta-card,
.account-address-card,
.account-note-card,
.account-empty {
  border: 1px solid #dde7f3;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: 0 16px 36px rgba(11, 35, 68, .08);
}
.account-sidebar {
  padding: 20px;
  position: sticky;
  top: 88px;
}
.account-sidebar-title {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6a7f9a;
  font-weight: 800;
  margin-bottom: 14px;
}
.account-nav {
  display: grid;
  gap: 8px;
}
.account-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 14px;
  color: #1f3c5b;
  font-size: 14px;
  font-weight: 700;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.account-nav-link:hover {
  background: #f2f7ff;
  color: var(--blue-pri);
  transform: translateX(2px);
}
.account-nav-link.is-active {
  background: linear-gradient(135deg, #edf4ff 0%, #fffef6 100%);
  color: var(--blue-pri);
  box-shadow: inset 0 0 0 1px #d7e5f8;
}
.account-nav-link.is-logout {
  color: #c33b43;
}
.account-nav-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #edf4ff;
  color: var(--blue-pri);
  flex-shrink: 0;
}
.account-nav-link.is-logout .account-nav-icon {
  background: #fff1f2;
  color: #c33b43;
}
.account-main {
  display: grid;
  gap: 20px;
}
.account-panel {
  padding: 22px;
}
.account-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  background: linear-gradient(135deg, #0a1a30 0%, #173968 55%, #224f87 100%);
  color: #fff;
}
.account-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.account-hero h1 {
  margin-top: 14px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.12;
}
.account-hero p {
  margin-top: 10px;
  max-width: 620px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
}
.account-avatar {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.16);
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.04em;
  flex-shrink: 0;
}
.account-summary-grid,
.account-stats-grid,
.account-detail-grid,
.account-card-grid,
.account-address-grid {
  display: grid;
  gap: 16px;
}
.account-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.account-summary-card,
.account-stat-card,
.account-cta-card,
.account-note-card,
.account-address-card {
  padding: 18px;
}
.account-summary-card small,
.account-stat-card small,
.account-note-card small {
  display: block;
  margin-bottom: 7px;
  color: #6a809b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.account-summary-card strong,
.account-stat-card strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
  color: #102846;
}
.account-summary-card span,
.account-stat-card span,
.account-note-card p,
.account-address-card p {
  display: block;
  margin-top: 8px;
  color: #5d7491;
  font-size: 13px;
  line-height: 1.6;
}
.account-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.account-detail-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dfe8f4;
}
.account-detail-item label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #7187a1;
  text-transform: uppercase;
}
.account-detail-item div {
  font-size: 15px;
  line-height: 1.55;
  color: #16314f;
  font-weight: 700;
  word-break: break-word;
}
.profile-hero h1 {
  margin-bottom: 0;
}
.profile-editor-panel {
  padding: 24px;
}
.profile-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.profile-field {
  display: grid;
  gap: 7px;
}
.profile-field label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #5f7692;
}
.profile-input-wrap {
  position: relative;
}
.profile-input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d3deec;
  border-radius: 14px;
  padding: 0 44px 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: #17314f;
  background: #fff;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.profile-input[readonly] {
  background: #f7fbff;
}
.profile-input[disabled] {
  background: #f7fbff;
  color: #35587f;
}
.profile-input.is-editing {
  border-color: #0f5ebf;
  box-shadow: 0 0 0 3px rgba(15, 94, 191, .14);
  background: #fff;
}
.profile-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 44px;
  cursor: pointer;
}
.profile-select[disabled] {
  cursor: not-allowed;
}
.profile-input.is-locked {
  padding-right: 78px;
  color: #506784;
}
.profile-edit-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #cfe0f3;
  background: #fff;
  color: #35587f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.profile-edit-btn:hover {
  background: var(--blue-pri);
  border-color: var(--blue-pri);
  color: #fff;
}
.profile-lock-badge {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #d7e3f2;
  background: #fff;
  color: #6b819d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.profile-form-actions {
  margin-top: 20px;
}
.account-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.account-section-head h2 {
  font-size: 22px;
  line-height: 1.2;
  color: #132d4b;
}
.account-section-head p {
  color: #64809f;
  font-size: 13px;
  line-height: 1.6;
}
.account-empty {
  padding: 26px;
  text-align: center;
}
.account-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 20px;
  background: #edf4ff;
  color: var(--blue-pri);
  display: grid;
  place-items: center;
}
.account-empty h3 {
  font-size: 22px;
  color: #132d4b;
}
.account-empty p {
  margin-top: 8px;
  color: #68809a;
  font-size: 14px;
  line-height: 1.7;
}
.account-empty-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.account-btn,
.account-btn-secondary {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.account-btn {
  border: 1px solid #cfe0f3;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
  color: var(--blue-pri);
}
.account-btn:hover {
  background: var(--blue-pri);
  border-color: var(--blue-pri);
  color: #fff;
}
.account-btn-secondary {
  border: 1px solid #d7e3f2;
  background: #fff;
  color: #19385c;
}
.account-btn-secondary:hover {
  border-color: var(--blue-pri);
  color: var(--blue-pri);
}
.account-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.account-field {
  display: grid;
  gap: 6px;
}
.account-field--full {
  grid-column: 1 / -1;
}
.account-field label {
  font-size: 12px;
  color: #4e6684;
  font-weight: 700;
}
.account-field input,
.account-field textarea,
.account-field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d3deec;
  border-radius: 14px;
  padding: 0 14px;
  font-size: 14px;
  color: #17314f;
  outline: none;
  background: #fff;
}
.account-field textarea {
  min-height: 112px;
  padding: 12px 14px;
  resize: vertical;
}
.account-field input:focus,
.account-field textarea:focus,
.account-field select:focus {
  border-color: #0f5ebf;
  box-shadow: 0 0 0 3px rgba(15, 94, 191, .14);
}
.account-form-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.account-address-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.account-address-card.is-selected {
  border-color: #bcd0ea;
  box-shadow: inset 0 0 0 1px #cfe0f3;
}
.account-address-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.account-address-badge {
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue-pri);
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
}
.account-address-card h3 {
  font-size: 17px;
  color: #17314f;
  line-height: 1.3;
}
.account-address-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.account-note-card ul {
  display: grid;
  gap: 10px;
  color: #4f6786;
  font-size: 13px;
  line-height: 1.65;
  padding-left: 18px;
}
.account-note-card li {
  list-style: disc;
}

@media (max-width: 1100px) {
  .account-shell {
    grid-template-columns: 1fr;
  }
  .account-sidebar {
    position: static;
  }
  .account-summary-grid,
  .account-detail-grid,
  .account-address-grid,
  .account-form-grid,
  .profile-editor-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .account-page {
    padding-block: 18px 28px;
  }
  .account-panel,
  .account-sidebar,
  .account-summary-card,
  .account-stat-card,
  .account-cta-card,
  .account-address-card,
  .account-note-card,
  .account-empty {
    padding: 16px;
  }
  .account-hero {
    flex-direction: column;
    padding: 18px;
  }
  .account-avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }
  .account-summary-grid,
  .account-detail-grid,
  .account-address-grid,
  .account-form-grid,
  .profile-editor-grid {
    grid-template-columns: 1fr;
  }
  .account-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Header responsive refinement */
@media (max-width: 992px) {
  .header-main {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto auto auto;
    grid-template-areas:
      "menu logo search search search search"
      "delivery delivery delivery account account cart";
    align-items: center;
    column-gap: 8px;
    row-gap: 10px;
  }
  .header-main > * {
    min-width: 0;
  }
  .h-hamburger {
    grid-area: menu;
    display: inline-flex;
    width: 46px;
    min-width: 46px;
    min-height: 42px;
    padding: 0;
    justify-content: center;
  }
  .logo {
    grid-area: logo;
    margin-left: 0;
    padding: 0 2px 0 0;
  }
  .header-search-wrap {
    grid-area: search;
    order: initial;
    flex: none;
    width: 100%;
    max-width: none;
    min-width: 0;
  }
  .header-delivery {
    grid-area: delivery;
    display: flex;
    min-height: 44px;
    max-width: 100%;
    padding: 6px 10px;
  }
  .header-account-wrap {
    grid-area: account;
    justify-self: end;
    width: 100%;
    max-width: 220px;
  }
  .h-act {
    display: flex;
    min-height: 44px;
    width: 100%;
    padding: 6px 10px;
  }
  .h-cart {
    grid-area: cart;
    justify-self: end;
    min-height: 44px;
    padding: 6px 8px;
  }
  .header-delivery,
  .h-act,
  .h-cart,
  .h-hamburger {
    border-color: rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .03);
  }
  .header-delivery .h-label,
  .h-act .h-label {
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-delivery .h-value,
  .h-act .h-value {
    min-width: 0;
    font-size: 12px;
  }
  .header-delivery .h-value {
    gap: 5px;
  }
  .h-act .h-value {
    justify-content: space-between;
  }
  .delivery-loc-text {
    max-width: 100%;
  }
  .h-cart-label {
    padding-bottom: 0;
  }
  .account-menu {
    top: calc(100% + 8px);
  }
  .mob-panel {
    width: min(340px, 86vw);
  }
}

@media (max-width: 768px) {
  .header-main {
    grid-template-columns: 42px minmax(0, 1fr) 44px;
    grid-template-areas:
      "menu logo cart"
      "search search search";
    row-gap: 9px;
  }
  .h-hamburger {
    width: 42px;
    min-width: 42px;
    min-height: 42px;
  }
  .h-hamburger span {
    display: none;
  }
  .logo {
    justify-self: center;
    margin-inline: auto;
  }
  .logo-img {
    width: auto;
    height: 38px;
  }
  .header-delivery,
  .header-account-wrap {
    display: none !important;
  }
  .h-cart {
    margin-left: 0;
    min-width: 44px;
    padding: 0 8px;
    justify-content: center;
    justify-self: end;
  }
  .h-cart-label {
    display: none;
  }
  .h-cart-icon-wrap svg {
    width: 28px;
    height: 28px;
  }
  .cart-count {
    top: -3px;
  }
  .header-search {
    height: 42px;
  }
  .search-cat-btn {
    width: 66px;
    font-size: 10px;
    padding-left: 8px;
  }
  .search-field {
    font-size: 12.5px;
  }
  .search-field::placeholder {
    font-size: 11.5px;
  }
  .account-menu {
    right: -6px;
    width: min(300px, calc(100vw - 28px));
  }
  .mob-hd {
    padding: 16px;
  }
  .mob-nav {
    padding: 10px;
  }
  .mob-accordion-body--chips {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    box-shadow: 0 2px 10px rgb(0 0 0 / .12);
  }
  .header-main {
    padding: 8px 0 10px;
    grid-template-columns: 40px minmax(0, 1fr) 42px;
  }
  .logo-img {
    width: auto;
    height: 34px;
  }
  .header-search {
    height: 40px;
  }
  .search-cat-btn {
    width: 60px;
    padding-right: 16px;
  }
  .search-go {
    width: 40px;
  }
  .mob-panel {
    width: min(320px, 88vw);
  }
  .mob-accordion-body {
    padding-left: 12px;
  }
  .mob-quick-card {
    padding: 11px;
    border-radius: 14px;
  }
  .mob-quick-icon {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 768px) {
  .delivery-modal {
    align-items: end;
  }
  .delivery-modal-dialog {
    width: 100%;
    max-width: none;
    max-height: min(86vh, 720px);
    border-radius: 20px 20px 0 0;
    padding: 16px 14px 14px;
    overflow-y: auto;
  }
  .delivery-modal-title {
    padding-right: 34px;
    font-size: 17px;
  }
  .delivery-modal-subtitle {
    font-size: 11px;
    line-height: 1.5;
  }
  .delivery-modal-block {
    padding: 10px;
  }
  .delivery-address-item {
    padding: 10px;
  }
  .delivery-info-link {
    align-items: flex-start;
    gap: 12px;
    padding: 11px 12px;
  }
  .delivery-info-link-copy small {
    white-space: normal;
  }
  .delivery-add-address-link,
  .delivery-modal-btn {
    min-height: 42px;
  }
  .delivery-modal-btn--apply {
    min-width: 84px;
  }
  .auth-modal {
    align-items: end;
  }
  .auth-modal-dialog {
    width: 100%;
    max-width: none;
    max-height: min(90vh, 760px);
    border-radius: 22px 22px 0 0;
    padding: 18px 14px 18px;
  }
  .auth-title {
    font-size: 28px;
    margin-top: 8px;
  }
  .auth-subtitle {
    font-size: 12px;
    margin-bottom: 14px;
  }
  .auth-form {
    gap: 12px;
  }
  .auth-field span {
    font-size: 12px;
  }
  .auth-field input {
    height: 42px;
    font-size: 14px;
  }
  .auth-phone-combo .auth-phone-code {
    width: 76px;
  }
  .auth-phone-combo .auth-input-icon {
    left: 92px;
  }
  .auth-phone-combo .auth-phone-number {
    padding-left: 120px;
  }
  .auth-captcha {
    padding: 6px;
    border-radius: 12px;
  }
  .auth-primary-btn,
  .auth-google-btn {
    min-height: 44px;
  }
  .auth-links-row {
    gap: 8px 14px;
  }
  .auth-terms {
    font-size: 11px;
  }
}

@media (max-width: 560px) {
  .delivery-modal-dialog {
    width: 100%;
    padding: 14px 12px 12px;
    border-radius: 18px 18px 0 0;
  }
  .delivery-modal-close,
  .auth-modal-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
  }
  .delivery-modal-inline,
  .delivery-manual-row {
    flex-direction: column;
    align-items: stretch;
  }
  .delivery-modal-btn,
  .delivery-modal-btn--apply {
    width: 100%;
  }
  .delivery-info-link {
    flex-direction: column;
  }
  .delivery-info-link-icon {
    width: 30px;
    height: 30px;
  }
  .auth-modal-dialog {
    width: 100%;
    padding: 16px 12px 16px;
    border-radius: 18px 18px 0 0;
  }
  .auth-title {
    font-size: 24px;
  }
  .auth-field input {
    height: 40px;
    font-size: 13px;
  }
  .auth-primary-btn {
    font-size: 16px;
  }
  .auth-google-btn {
    height: auto;
    min-height: 42px;
    padding: 10px 12px;
    font-size: 14px;
  }
  .auth-links-row {
    justify-content: space-between;
    font-size: 11px;
  }
  .auth-link-btn {
    font-size: 11.5px;
  }
}

/* Auth mobile optimization */
@media (max-width: 767px) {
  .auth-modal {
    align-items: flex-end;
    padding: 0;
  }
  .auth-modal-dialog {
    width: 90%;
    max-width: none;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
    padding: 14px 12px 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .auth-title {
    font-size: 22px;
    margin: 2px 0 4px;
  }
  .auth-subtitle {
    font-size: 11px;
    margin-bottom: 10px;
    line-height: 1.35;
  }
  .auth-form {
    gap: 9px;
  }
  .auth-field {
    gap: 4px;
  }
  .auth-field span {
    font-size: 11px;
  }
  .auth-field input {
    height: 40px;
    font-size: 13px;
    border-radius: 8px;
  }
  .auth-phone-combo .auth-phone-code {
    width: 70px;
    font-size: 11px;
    border-radius: 7px;
  }
  .auth-phone-combo .auth-input-icon {
    left: 84px;
  }
  .auth-phone-combo .auth-phone-number {
    padding-left: 110px;
  }
  .auth-captcha {
    padding: 5px;
    border-radius: 10px;
  }
  .auth-primary-btn,
  .auth-google-btn {
    min-height: 40px;
    height: 40px;
    font-size: 14px;
    border-radius: 10px;
  }
  .auth-links-row {
    margin-top: 8px;
    gap: 7px 10px;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .auth-link-btn {
    font-size: 11px;
  }
  .auth-terms {
    margin-top: 8px;
    font-size: 10px;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .auth-modal-dialog {
    padding: 12px 10px 14px;
    border-radius: 16px 16px 0 0;
  }
  .auth-modal-close {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
  }
  .auth-title {
    font-size: 20px;
  }
  .auth-field input {
    height: 38px;
    font-size: 12px;
    padding-left: 36px;
    padding-right: 34px;
  }
  .auth-input-icon {
    left: 10px;
  }
  .auth-pass-eye {
    right: 6px;
    width: 28px;
    height: 28px;
  }
  .auth-phone-combo .auth-phone-code {
    width: 66px;
  }
  .auth-phone-combo .auth-input-icon {
    left: 78px;
  }
  .auth-phone-combo .auth-phone-number {
    padding-left: 102px;
  }
  .auth-primary-btn,
  .auth-google-btn {
    min-height: 38px;
    height: 38px;
    font-size: 13px;
  }
}

/* ============================================================
   Structured responsive system
   Breakpoints: 1199 / 991 / 767 / 575
   ============================================================ */

@media (max-width: 1199px) {
  :root {
    --max-w: 1220px;
    --pad: 20px;
  }
  .wrap {
    padding-inline: 20px;
  }
  .hero-slide-wrap,
  .hero-content,
  .about-corp-hero-grid,
  .about-corp-story-grid,
  .about-corp-client-grid,
  .mfr-layout,
  .checkout-layout {
    gap: 20px;
  }
  .hero-visual {
    opacity: .94;
  }
  .deals-bar-inner {
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .deals-bar-inner::-webkit-scrollbar {
    display: none;
  }
  .footer-main {
    gap: 24px;
  }
  .mfr-grid,
  .resources-grid,
  .platform-grid,
  .srv-grid,
  .about-corp-news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .checkout-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, .85fr);
  }
}

@media (max-width: 991px) {
  :root {
    --pad: 18px;
  }
  .wrap {
    padding-inline: 18px;
  }
  .page-wrap,
  .catalog-wrap,
  .account-page {
    padding-top: 14px;
  }
  .home-section-wrap,
  .page-inner,
  .account-panel,
  .account-sidebar,
  .checkout-card,
  .mfr-sidebar,
  .mfr-main {
    border-radius: 18px;
  }
  .sec-head,
  .about-corp-section-head,
  .checkout-card-head,
  .mfr-results-head,
  .catalog-toolbar,
  .toolbar-controls {
    flex-wrap: wrap;
    gap: 12px;
  }
  .hero-slide {
    min-height: 360px;
  }
  .hero-slide-wrap,
  .hero-content {
    min-height: inherit;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-visual,
  .hero-prev,
  .hero-next {
    display: none;
  }
  .hero-dots {
    bottom: 14px;
  }
  .flash-grid,
  .prod-grid,
  .deal-list,
  .resources-grid,
  .platform-grid,
  .srv-grid,
  .mfr-grid,
  .about-corp-news-grid,
  .about-team-track,
  .checkout-progress,
  .checkout-choice-grid--payments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-layout,
  .checkout-layout,
  .mfr-layout,
  .about-corp-hero-grid,
  .about-corp-story-grid,
  .about-corp-client-grid,
  .about-corp-contact-grid,
  .pdpx-layout,
  .pdp-top,
  .checkout-address-grid,
  .checkout-choice-grid {
    grid-template-columns: 1fr;
  }
  .catalog-main,
  .checkout-main,
  .checkout-summary,
  .mfr-main,
  .pdp-info-card,
  .pdp-img-card {
    min-width: 0;
  }
  .checkout-summary,
  .mfr-sidebar,
  .catalog-sidebar,
  .about-corp-hero-visual {
    position: static;
  }
  .catalog-toolbar .breadcrumb,
  .toolbar-search-wrap,
  .toolbar-pagination {
    width: 100%;
  }
  .toolbar-search-inp,
  .sort-sel {
    width: 100%;
  }
  .qhero-inner,
  .qhero-left,
  .qhero-steps,
  .qlayout,
  .qgrid-2,
  .qsidebar,
  .qgrid-4 {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .qsidebar {
    display: grid;
    gap: 14px;
  }
  .about-corp-mini-metrics,
  .about-corp-segment-grid,
  .about-corp-contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .checkout-payment-switch-grid,
  .checkout-summary-meta,
  .checkout-totals {
    gap: 12px;
  }
  .cart-panel {
    width: min(420px, 100vw);
  }
  .compare-inner {
    gap: 12px;
  }
}

@media (max-width: 767px) {
  :root {
    --pad: 14px;
  }
  body {
    font-size: 13px;
  }
  .wrap {
    padding-inline: 14px;
  }
  .page-wrap,
  .catalog-wrap,
  .account-page {
    padding-top: 12px;
  }
  .page-hero,
  .chip-hero,
  .qhero,
  .about-corp-hero,
  .checkout-hero,
  .mfr-directory {
    border-radius: 18px;
  }
  .hero-slide {
    min-height: 320px;
  }
  .hero-content {
    padding: 26px 0 34px;
    text-align: left;
  }
  .hero-title,
  .chip-hero-title,
  .about-corp-title,
  .page-title,
  .checkout-hero h1,
  .mfr-directory h1 {
    font-size: clamp(1.85rem, 8vw, 2.65rem);
    line-height: 1.08;
  }
  .hero-subtitle,
  .chip-hero-sub,
  .about-corp-sub,
  .page-sub,
  .checkout-hero p,
  .mfr-directory p {
    font-size: 14px;
    line-height: 1.6;
  }
  .hero-ctas,
  .chip-hero-ctas,
  .about-corp-actions,
  .how-cta-row,
  .checkout-form-actions,
  .account-form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn,
  .chip-hero-ctas .btn,
  .about-corp-actions a,
  .how-cta-row .btn,
  .checkout-form-actions > *,
  .account-form-actions > * {
    width: 100%;
    justify-content: center;
  }
  .deals-bar-inner {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .deal-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 11px;
    padding: 8px 12px;
    gap: 6px;
  }
  .home-section-wrap,
  .page-inner,
  .checkout-card,
  .account-panel,
  .account-sidebar,
  .mfr-sidebar,
  .mfr-main,
  .resource-card,
  .platform-card {
    padding: 16px 14px;
    border-radius: 16px;
  }
  .sec-title,
  .about-corp-section-head h2,
  .checkout-card-title,
  .mfr-results-head h2 {
    font-size: 1.3rem;
  }
  .flash-grid,
  .prod-grid,
  .deal-list,
  .resources-grid,
  .platform-grid,
  .srv-grid,
  .mfr-grid,
  .about-corp-news-grid,
  .about-team-track,
  .about-corp-mini-metrics,
  .about-corp-segment-grid,
  .about-corp-contact-cards,
  .checkout-progress,
  .checkout-choice-grid--payments,
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .prod-carousel-track .pcard {
    min-width: 46vw;
  }
  .pcard,
  .resource-card,
  .platform-card,
  .srv-card,
  .mfr-card {
    min-width: 0;
  }
  .pcard-img {
    height: 130px;
  }
  .pcard-body {
    padding: 10px 10px 8px;
    gap: 6px;
  }
  .pcard-name,
  .resource-card-title,
  .platform-name,
  .mfr-card-name {
    font-size: 13px;
  }
  .pcard-footer {
    gap: 8px;
  }
  .btn-atc,
  .btn-buynow {
    min-height: 38px;
    padding: 0 10px;
    font-size: 12px;
    flex: 1 1 0;
  }
  .catalog-toolbar,
  .toolbar-controls,
  .toolbar-pagination,
  .view-toggle {
    width: 100%;
  }
  .toolbar-pagination,
  .view-toggle {
    justify-content: space-between;
  }
  .filter-col {
    width: min(320px, calc(100vw - 24px));
  }
  .pdp-top,
  .pdp-actions-row,
  .pdp-spec-row,
  .checkout-payment-switch-grid,
  .checkout-vat-row,
  .mfr-region-grid {
    grid-template-columns: 1fr;
  }
  .pdp-main-image-wrap {
    min-height: 250px;
  }
  .pdp-thumbs-strip {
    justify-content: center;
    flex-wrap: wrap;
  }
  .pdp-spec-row {
    display: grid;
  }
  .pdp-spec-key {
    width: 100%;
    min-width: 0;
  }
  .checkout-summary-row {
    flex-wrap: wrap;
    gap: 6px 12px;
  }
  .checkout-summary-row strong {
    width: 100%;
  }
  .checkout-address-change-btn {
    margin-top: 6px;
  }
  .checkout-vat-row {
    display: grid;
    gap: 10px;
  }
  .checkout-vat-apply-btn,
  .checkout-vat-input {
    width: 100%;
  }
  .qhero-whatsapp {
    width: 100%;
  }
  .mfr-chip-row,
  .mfr-alpha-wrap {
    flex-wrap: wrap;
  }
  .mfr-search-box input,
  .mfr-detail-btn,
  .mfr-clear-btn {
    width: 100%;
  }
  .shipterm-table-wrap,
  .spt-table-wrap {
    border-radius: 14px;
  }
  .cart-panel {
    width: 100vw;
  }
  .compare-bar {
    padding: 10px 0;
  }
  .compare-inner,
  .compare-slots {
    width: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 575px) {
  :root {
    --pad: 12px;
  }
  .wrap {
    padding-inline: 12px;
  }
  .page-wrap,
  .catalog-wrap,
  .account-page {
    padding-top: 10px;
  }
  .home-section-wrap,
  .page-inner,
  .checkout-card,
  .account-panel,
  .account-sidebar,
  .mfr-sidebar,
  .mfr-main,
  .resource-card,
  .platform-card {
    padding: 14px 12px;
    border-radius: 14px;
  }
  .hero-title,
  .chip-hero-title,
  .about-corp-title,
  .page-title,
  .checkout-hero h1,
  .mfr-directory h1 {
    font-size: clamp(1.6rem, 9vw, 2.15rem);
  }
  .hero-subtitle,
  .chip-hero-sub,
  .about-corp-sub,
  .page-sub,
  .checkout-hero p,
  .mfr-directory p {
    font-size: 13px;
  }
  .flash-grid,
  .prod-grid,
  .deal-list,
  .resources-grid,
  .platform-grid,
  .srv-grid,
  .mfr-grid,
  .about-corp-news-grid,
  .about-team-track,
  .about-corp-mini-metrics,
  .about-corp-segment-grid,
  .about-corp-contact-cards,
  .checkout-progress,
  .checkout-choice-grid--payments,
  .footer-main,
  .qgrid-4 {
    grid-template-columns: 1fr;
  }
  .prod-carousel-track .pcard {
    min-width: 72vw;
  }
  .deal-tab {
    font-size: 10px;
    padding: 7px 10px;
    gap: 5px;
  }
  .pcard-img {
    height: 120px;
  }
  .toolbar-controls,
  .sec-head,
  .checkout-card-head,
  .account-section-head,
  .mfr-results-head,
  .password-head,
  .profile-editor-head {
    gap: 10px;
  }
  .toolbar-pagination,
  .view-toggle,
  .account-address-actions,
  .checkout-form-actions,
  .account-form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .pdp-main-image-wrap {
    min-height: 220px;
  }
  .pdp-thumb-img {
    width: 58px;
    height: 58px;
  }
  .delivery-detail-row,
  .paid-by-box {
    grid-template-columns: 1fr;
  }
  .price-row,
  .checkout-summary-row,
  .account-hero,
  .account-address-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .mfr-chip-row,
  .mfr-chip-col,
  .mfr-alpha-wrap {
    gap: 8px;
  }
  .shipterm-region-card,
  .spt-table-wrap,
  .shipterm-table-wrap {
    border-radius: 12px;
  }
  .compare-title,
  .checkout-secure-line,
  .cart-secure-note {
    width: 100%;
  }
}

/* Final mobile header alignment override */
@media (max-width: 768px) {
  .header-main {
    display: grid;
    grid-template-columns: 44px auto minmax(0, 1fr) 44px;
    grid-template-areas:
      "menu logo . cart"
      "search search search search";
    align-items: center;
    column-gap: 8px;
    row-gap: 8px;
  }
  .h-hamburger {
    grid-area: menu;
    width: 44px;
    min-width: 44px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    justify-content: center;
    align-items: center;
  }
  .h-hamburger span {
    display: none;
  }
  .logo {
    grid-area: logo;
    justify-self: left;
    align-self: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
  }
  .logo-img {
    display: block;
    width: auto;
    height: 38px;
    object-fit: contain;
    object-position: center;
  }
  .h-cart {
    grid-area: cart;
    justify-self: end;
    width: 44px;
    min-width: 44px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    margin: 0;
    justify-content: center;
    align-items: center;
  }
  .h-cart-label {
    display: none;
  }
  .h-cart-icon-wrap {
    width: 30px;
    height: 30px;
  }
  .h-cart-icon-wrap svg {
    width: 28px;
    height: 28px;
  }
  .header-search-wrap {
    grid-area: search;
    width: 100%;
    max-width: 100%;
  }
}

/* Products toolbar mobile: keep pagination + sort + view in one row */
@media (max-width: 767px) {
  body[data-page="products"] .toolbar-controls {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
  }
  body[data-page="products"] .toolbar-search-wrap {
    grid-column: 1 / -1;
    width: 100% !important;
  }
  body[data-page="products"] .toolbar-divider {
    display: none;
  }
  body[data-page="products"] .toolbar-pagination {
    grid-column: 1;
    width: auto !important;
    display: flex;
    flex-direction: row !important;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    white-space: nowrap;
    margin-right: 2px;
  }
  body[data-page="products"] .toolbar-pagination .tpg-btn,
  body[data-page="products"] .toolbar-pagination .tpg-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }
  body[data-page="products"] .sort-sel {
    grid-column: 2;
    width: 100% !important;
    min-width: 0;
    max-width: none;
    min-height: 32px;
    font-size: 11px;
    padding: 4px 8px;
  }
  body[data-page="products"] .view-toggle {
    grid-column: 3;
    width: auto !important;
    display: flex;
    flex-direction: row !important;
    align-items: stretch;
    flex-wrap: nowrap;
  }
  body[data-page="products"] #mobileFilterBtn {
    grid-column: 1 / -1;
    justify-self: end;
    min-height: 32px;
    padding: 0 9px;
    font-size: 11px;
  }
}

@media (max-width: 575px) {
  body[data-page="products"] .toolbar-controls {
    gap: 5px;
  }
  body[data-page="products"] .toolbar-pagination .tpg-total {
    display: none;
  }
  body[data-page="products"] .toolbar-pagination {
    margin-right: 0;
    gap: 3px;
  }
  body[data-page="products"] .toolbar-pagination .tpg-btn,
  body[data-page="products"] .toolbar-pagination .tpg-nav {
    min-width: 24px;
    width: 24px;
    height: 24px;
    padding: 0;
    font-size: 11px;
  }
  body[data-page="products"] .sort-sel {
    min-width: 112px;
    font-size: 10.5px;
  }
  body[data-page="products"] .view-toggle {
    min-width: 58px;
  }
  body[data-page="products"] .view-toggle .vbtn {
    padding: 4px 7px;
  }
}

/* Request a Quote page responsive refinement */
@media (max-width: 1024px) {
  body[data-page="request-a-quote"] .qlayout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 16px;
  }
  body[data-page="request-a-quote"] .qcard-head,
  body[data-page="request-a-quote"] .qcard-body,
  body[data-page="request-a-quote"] .qside-card {
    padding: 14px;
  }
}

@media (max-width: 900px) {
  body[data-page="request-a-quote"] .qlayout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  body[data-page="request-a-quote"] .qform-col,
  body[data-page="request-a-quote"] .qsidebar {
    min-width: 0;
  }
  body[data-page="request-a-quote"] .qsidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 767px) {
  body[data-page="request-a-quote"] .qhero {
    padding: 16px 0 14px;
    border-radius: 14px;
  }
  body[data-page="request-a-quote"] .qhero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  body[data-page="request-a-quote"] .qhero-left {
    min-width: 0;
  }
  body[data-page="request-a-quote"] .qhero-title {
    font-size: clamp(1.2rem, 6vw, 1.45rem);
    margin-bottom: 6px;
  }
  body[data-page="request-a-quote"] .qhero-desc {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  body[data-page="request-a-quote"] .qhero-tag {
    font-size: 9px;
    padding: 3px 9px;
    margin-bottom: 8px;
  }
  body[data-page="request-a-quote"] .qhero-badges {
    gap: 6px;
  }
  body[data-page="request-a-quote"] .qhero-badge {
    font-size: 10px;
    padding: 4px 8px;
  }
  body[data-page="request-a-quote"] .qhero-steps,
  body[data-page="request-a-quote"] .qhero-whatsapp-badge {
    display: none;
  }
  body[data-page="request-a-quote"] .qhero-whatsapp {
    width: 100%;
    margin-top: 10px;
    padding: 10px 11px;
    border-radius: 14px;
    gap: 8px;
    justify-content: flex-start;
  }
  body[data-page="request-a-quote"] .qhero-whatsapp-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  body[data-page="request-a-quote"] .qhero-whatsapp-copy strong {
    font-size: 12px;
  }
  body[data-page="request-a-quote"] .qhero-whatsapp-copy small {
    font-size: 10px;
  }

  body[data-page="request-a-quote"] .quote-form {
    gap: 10px;
  }
  body[data-page="request-a-quote"] .qcard {
    border-radius: 14px;
  }
  body[data-page="request-a-quote"] .qcard-head,
  body[data-page="request-a-quote"] .qcard-body,
  body[data-page="request-a-quote"] .qside-card {
    padding: 12px;
  }
  body[data-page="request-a-quote"] .qcard-head {
    gap: 9px;
  }
  body[data-page="request-a-quote"] .qcard-head-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }
  body[data-page="request-a-quote"] .qcard-title {
    font-size: 13px;
  }
  body[data-page="request-a-quote"] .qcard-sub {
    font-size: 10.5px;
  }

  body[data-page="request-a-quote"] .qfield {
    gap: 4px;
    min-width: 0;
  }
  body[data-page="request-a-quote"] .qlabel {
    font-size: 11px;
  }
  body[data-page="request-a-quote"] .qopt {
    font-size: 10px;
  }
  body[data-page="request-a-quote"] .qinp {
    width: 100%;
    min-width: 0;
    min-height: 36px;
    padding: 7px 10px;
    font-size: 11px;
    border-radius: 7px;
  }
  body[data-page="request-a-quote"] .qtextarea {
    min-height: 76px;
  }
  body[data-page="request-a-quote"] .qgrid-2,
  body[data-page="request-a-quote"] .qgrid-4 {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  body[data-page="request-a-quote"] .qphone-wrap {
    gap: 6px;
    min-width: 0;
  }
  body[data-page="request-a-quote"] .qinp-code {
    width: 74px;
    flex: 0 0 74px;
  }

  body[data-page="request-a-quote"] .qprow {
    padding: 10px;
    gap: 8px;
    margin-bottom: 8px;
    flex-direction: column;
    align-items: stretch;
  }
  body[data-page="request-a-quote"] .qprow-num {
    width: 22px;
    height: 22px;
    font-size: 10px;
    margin-top: 0;
    align-self: flex-start;
  }
  body[data-page="request-a-quote"] .qprow-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    min-width: 0;
  }
  body[data-page="request-a-quote"] .qfield-qty,
  body[data-page="request-a-quote"] .qfield-qty .qinp,
  body[data-page="request-a-quote"] .quote-product-search,
  body[data-page="request-a-quote"] .quote-product-input {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  body[data-page="request-a-quote"] .quote-product-drop {
    max-height: 240px;
    overflow-y: auto;
  }
  body[data-page="request-a-quote"] .qbtn-add {
    width: 100%;
    justify-content: center;
    min-height: 34px;
    font-size: 11px;
    padding: 7px 10px;
  }

  body[data-page="request-a-quote"] .qcheck-label {
    align-items: flex-start;
    font-size: 11px;
  }
  body[data-page="request-a-quote"] .qcheck-label input {
    width: 14px;
    height: 14px;
    margin-top: 2px;
  }
  body[data-page="request-a-quote"] .qbilling-divider {
    font-size: 10px;
    padding-top: 10px;
    margin: 10px 0 8px;
  }

  body[data-page="request-a-quote"] .qsubmit-row {
    padding: 10px 0 4px;
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
  }
  body[data-page="request-a-quote"] .qsubmit-btn,
  body[data-page="request-a-quote"] .qclear-btn {
    width: 100%;
    min-height: 36px;
    font-size: 11px;
    justify-content: center;
    text-align: center;
    padding: 0 10px;
  }

  body[data-page="request-a-quote"] .qside-title {
    font-size: 12px;
    margin-bottom: 8px;
  }
  body[data-page="request-a-quote"] .qside-list li {
    font-size: 11px;
    gap: 6px;
  }
  body[data-page="request-a-quote"] .qside-contact-item {
    gap: 8px;
    padding: 8px 0;
  }
  body[data-page="request-a-quote"] .qside-contact-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }
  body[data-page="request-a-quote"] .qside-contact-label {
    font-size: 10px;
  }
  body[data-page="request-a-quote"] .qside-contact-val {
    font-size: 11px;
  }
  body[data-page="request-a-quote"] .qside-trust-item {
    padding: 10px 8px;
  }
  body[data-page="request-a-quote"] .qside-trust-num {
    font-size: 1.1rem;
  }
  body[data-page="request-a-quote"] .qside-trust-lbl {
    font-size: 10px;
  }
}

@media (max-width: 575px) {
  body[data-page="request-a-quote"] .wrap {
    padding-inline: 12px;
  }
  body[data-page="request-a-quote"] .qhero-badges {
    display: grid;
    grid-template-columns: 1fr;
  }
  body[data-page="request-a-quote"] .qhero-whatsapp-copy {
    gap: 1px;
  }
}

@media (max-width: 420px) {
  body[data-page="request-a-quote"] .wrap {
    padding-inline: 10px;
  }
  body[data-page="request-a-quote"] .qhero-title {
    font-size: 1.15rem;
  }
  body[data-page="request-a-quote"] .qhero-desc {
    font-size: 11px;
  }
  body[data-page="request-a-quote"] .qhero-badge {
    font-size: 9.5px;
    padding: 3px 7px;
  }
  body[data-page="request-a-quote"] .qcard-head,
  body[data-page="request-a-quote"] .qcard-body,
  body[data-page="request-a-quote"] .qside-card {
    padding: 10px;
  }
  body[data-page="request-a-quote"] .qinp {
    font-size: 10.5px;
  }
  body[data-page="request-a-quote"] .qsubmit-btn,
  body[data-page="request-a-quote"] .qclear-btn {
    min-height: 34px;
    font-size: 10.5px;
  }
}

/* ============================================================
   FORGOT PASSWORD PAGE
   ============================================================ */
.fp-main {
  min-height: 60vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 52px 16px 96px;
  background: var(--bg-page);
}

.fp-card {
  background: #ffffff;
  border: 1px solid #d9e4f3;
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  padding: 36px 32px 28px;
  box-shadow: 0 8px 40px rgba(12, 26, 52, 0.12);
}

/* Brand logo */
.fp-brand {
  text-align: center;
  margin-bottom: 24px;
}
.fp-brand-logo {
  height: 34px;
  object-fit: contain;
}

/* Step indicator */
.fp-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}

.fp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 60px;
}
.fp-step span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #c8d8ec;
  background: #f4f8ff;
  color: #9ab0c8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  font-family: var(--font);
}
.fp-step small {
  font-size: 10.5px;
  color: #9ab0c8;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}
.fp-step.is-active span {
  border-color: #0f5ebf;
  background: #0f5ebf;
  color: #ffffff;
}
.fp-step.is-active small {
  color: #1a3454;
  font-weight: 700;
}
.fp-step.is-done span {
  border-color: #22C55E;
  background: #22C55E;
  color: #ffffff;
}
.fp-step.is-done small {
  color: #15803d;
}

.fp-step-connector {
  flex: 1;
  height: 2px;
  background: #d9e4f3;
  min-width: 28px;
  margin-top: 15px;
  transition: background 0.2s;
}
.fp-step-connector.is-done {
  background: #22C55E;
}

/* Page headings */
.fp-title {
  font-size: 20px;
  font-weight: 800;
  color: #1a3454;
  margin: 0 0 6px;
  text-align: center;
  letter-spacing: -0.3px;
}
.fp-subtitle {
  font-size: 13px;
  color: #607996;
  margin: 0 0 22px;
  text-align: center;
  line-height: 1.65;
}
.fp-subtitle strong {
  color: #1a3454;
  font-weight: 700;
}

/* Form */
.fp-form {
  display: grid;
  gap: 12px;
}

.fp-field {
  display: grid;
  gap: 5px;
}
.fp-field label {
  font-size: 12px;
  font-weight: 700;
  color: #4e6684;
}

.fp-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.fp-input-icon {
  position: absolute;
  left: 12px;
  color: #5f7592;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.fp-input {
  width: 100%;
  background: #f5f8ff;
  border: 1.5px solid #d0ddf0;
  border-radius: 9px;
  padding: 10px 14px 10px 38px;
  color: #1a3454;
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.fp-input:focus {
  border-color: #0f5ebf;
  box-shadow: 0 0 0 3px rgba(15, 94, 191, 0.12);
  background: #ffffff;
}
.fp-pass-eye {
  position: absolute;
  right: 8px;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: #5f7592;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s;
}
.fp-pass-eye:hover { color: #0f5ebf; }

/* Captcha */
.fp-captcha {
  margin-top: 2px;
}

/* Submit button */
.fp-submit-btn {
  width: 100%;
  background: #0f5ebf;
  color: #ffffff;
  border: none;
  border-radius: 9px;
  padding: 11px 18px;
  font-size: 14.5px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s, opacity 0.15s;
  margin-top: 2px;
}
.fp-submit-btn:hover:not(:disabled) { background: #0a4ea3; }
.fp-submit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Back link */
.fp-back-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: #607996;
  text-decoration: none;
  transition: color 0.15s;
}
.fp-back-link:hover { color: #0f5ebf; }

/* ── OTP inputs ── */
.fp-otp-group {
  display: flex;
  gap: 9px;
  justify-content: center;
  margin: 6px 0 4px;
}
.fp-otp-digit {
  width: 46px;
  height: 52px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  font-family: var(--mono);
  background: #f5f8ff;
  border: 2px solid #d0ddf0;
  border-radius: 10px;
  color: #1a3454;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  caret-color: #0f5ebf;
}
.fp-otp-digit:focus {
  border-color: #0f5ebf;
  box-shadow: 0 0 0 3px rgba(15, 94, 191, 0.13);
  background: #ffffff;
}
.fp-otp-digit.is-filled {
  border-color: #0f5ebf;
  background: #eef4ff;
}

/* OTP timer */
.fp-otp-timer {
  text-align: center;
  font-size: 12.5px;
  color: #607996;
  margin-bottom: 4px;
}
.fp-timer-val {
  font-weight: 800;
  color: #1a3454;
  font-family: var(--mono);
}
.fp-timer-expired {
  color: #dc2626;
  font-weight: 600;
}
.fp-timer-expired a {
  color: #0f5ebf;
  text-decoration: underline;
  font-weight: 700;
}

/* Resend row */
.fp-resend-row {
  text-align: center;
  margin-top: 8px;
  font-size: 12.5px;
  color: #607996;
}
.fp-resend-btn {
  background: none;
  border: none;
  color: #0f5ebf;
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  transition: color 0.15s;
}
.fp-resend-btn:hover:not(:disabled) { color: #0a4ea3; }
.fp-resend-btn:disabled {
  color: #9ab0c8;
  text-decoration: none;
  cursor: not-allowed;
}

/* ── Password strength ── */
.fp-strength-bar {
  height: 4px;
  border-radius: 2px;
  background: #e0e8f4;
  margin-top: 7px;
  overflow: hidden;
}
.fp-strength-fill {
  height: 100%;
  border-radius: 2px;
  width: 0%;
  background: transparent;
  transition: width 0.3s ease, background 0.3s ease;
}
.fp-strength-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-top: 3px;
  min-height: 16px;
  letter-spacing: 0.3px;
}

/* Password match hint */
.fp-match-hint {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  margin-top: 2px;
  min-height: 16px;
}
.fp-match-hint.is-match  { color: #16a34a; }
.fp-match-hint.is-mismatch { color: #dc2626; }

/* Password requirements */
.fp-pass-requirements {
  background: #f5f8ff;
  border: 1px solid #d0ddf0;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 4px;
}
.fp-req-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #4e6684;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.fp-req-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 8px;
}
.fp-req-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #8ca6c0;
  transition: color 0.2s;
  line-height: 1.4;
}
.fp-req-item.is-met {
  color: #16a34a;
}
.fp-req-icon {
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 520px) {
  .fp-card {
    padding: 28px 18px 24px;
    border-radius: 14px;
  }
  .fp-otp-group { gap: 7px; }
  .fp-otp-digit {
    width: 40px;
    height: 46px;
    font-size: 19px;
  }
  .fp-req-list {
    grid-template-columns: 1fr;
  }
  .fp-steps { gap: 0; }
  .fp-step { min-width: 52px; }
}

/* ═══════════════════════════════════════════════════════════════
   MANUFACTURERS PAGE
   ═══════════════════════════════════════════════════════════════ */

/* Hero Banner */
/* ── Hero ── */
.mfr-page-hero {
  background: linear-gradient(135deg, #0b1120 0%, #131a2e 50%, #0e1a3a 100%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 36px 0 32px;
}
.mfr-page-hero-inner { display: flex; flex-direction: column; gap: 16px; }
.mfr-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 500;
}
.mfr-breadcrumb a {
  display: flex; align-items: center; gap: 5px;
  color: #94a3b8; transition: color .15s;
}
.mfr-breadcrumb a:hover { color: #e2e8f0; }
.mfr-breadcrumb span { color: #60a5fa; font-weight: 600; }
.mfr-bc-sep { color: #475569; flex-shrink: 0; }
.mfr-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: #60a5fa;
  background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.2);
  border-radius: 20px; padding: 4px 12px;
}
.mfr-hero-title {
  font-size: clamp(20px, 3.5vw, 30px); font-weight: 900;
  color: #fff; line-height: 1.15; margin: 0 0 8px;
}
.mfr-hero-sub { font-size: 14px; color: #94a3b8; line-height: 1.6; margin: 0; max-width: 580px; }

/* ── Filter Bar (search + alphabet + meta) ── */
.mfr-filterbar-wrap {
  background: #fff; border-bottom: 1.5px solid #e8edf4;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.mfr-filterbar {
  display: flex; align-items: center; gap: 12px;
  padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap;
}
.mfr-fb-search {
  display: flex; align-items: center; gap: 8px;
  width: 240px; flex-shrink: 0;
  background: #f8fafc; border: 1.5px solid #e2e8f0;
  border-radius: 10px; padding: 0 12px; height: 38px;
  transition: border-color .15s, box-shadow .15s;
}
.mfr-fb-search svg { color: #94a3b8; flex-shrink: 0; }
.mfr-fb-search:focus-within { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,.1); background: #fff; }
.mfr-fb-search input {
  border: none; outline: none; background: transparent;
  font-size: 13px; color: #0f172a; width: 100%;
}
.mfr-fb-search input::placeholder { color: #94a3b8; }
.mfr-alpha-strip {
  display: flex; flex-wrap: wrap; gap: 3px; flex: 1;
}
.mfr-a-btn {
  min-width: 28px; height: 28px; padding: 0 5px;
  font-size: 11.5px; font-weight: 700;
  border: 1.5px solid transparent; border-radius: 6px;
  color: #64748b; background: transparent; cursor: pointer;
  transition: all .12s; line-height: 1;
}
.mfr-a-btn:first-child { padding: 0 10px; }
.mfr-a-btn:hover { background: #f1f5f9; border-color: #cbd5e1; color: #1d4ed8; }
.mfr-a-btn.is-active { background: #1d4ed8; border-color: #1d4ed8; color: #fff; box-shadow: 0 2px 6px rgba(29,78,216,.25); }
.mfr-fb-meta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mfr-fb-count { font-size: 13px; font-weight: 700; color: #374151; white-space: nowrap; }
.mfr-fb-clear {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; color: #3b82f6;
  background: #eff6ff; border: 1.5px solid #bfdbfe;
  border-radius: 8px; padding: 5px 12px; cursor: pointer; transition: all .15s;
}
.mfr-fb-clear:hover { background: #dbeafe; }

/* ── Body layout ── */
.mfr-page-body {
  display: grid;
  grid-template-columns: 228px 1fr;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 56px;
  align-items: start;
}

/* ── Category Sidebar ── */
.mfr-cat-sidebar {
  background: #fff;
  border: 1.5px solid #e8edf4;
  border-radius: 14px;
  overflow: hidden;
  position: sticky;
  top: 72px;
}
.mfr-cat-sidebar-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 12px;
  font-size: 12.5px;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1.5px solid #f1f5f9;
  background: #f8fafc;
}
.mfr-cat-sidebar-head svg { color: #3b82f6; flex-shrink: 0; }
.mfr-cat-sel-count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  background: #1d4ed8;
  color: #fff;
  border-radius: 20px;
  padding: 1px 8px;
  min-width: 22px;
  text-align: center;
}
.mfr-cat-list {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
}
.mfr-cat-list::-webkit-scrollbar { width: 4px; }
.mfr-cat-list::-webkit-scrollbar-track { background: transparent; }
.mfr-cat-list::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 4px; }
.mfr-cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  cursor: pointer;
  transition: background .12s;
  user-select: none;
}
.mfr-cat-item:hover { background: #f8fafc; }
.mfr-cat-item input[type="checkbox"] { display: none; }
.mfr-cat-checkmark {
  width: 16px;
  height: 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
  flex-shrink: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .12s;
  position: relative;
}
.mfr-cat-item input:checked ~ .mfr-cat-checkmark {
  background: #1d4ed8;
  border-color: #1d4ed8;
}
.mfr-cat-item input:checked ~ .mfr-cat-checkmark::after {
  content: '';
  display: block;
  width: 4px;
  height: 7px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}
.mfr-cat-item:has(input:checked) { background: #eff6ff; }
.mfr-cat-label {
  font-size: 12.5px;
  font-weight: 500;
  color: #374151;
  line-height: 1.3;
  flex: 1;
}
.mfr-cat-item:has(input:checked) .mfr-cat-label { color: #1d4ed8; font-weight: 700; }
.mfr-cat-clear-btn {
  width: 100%;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  background: #f8fafc;
  border-top: 1.5px solid #f1f5f9;
  border-radius: 0;
  cursor: pointer;
  text-align: center;
  transition: all .12s;
}
.mfr-cat-clear-btn:hover { color: #dc2626; background: #fef2f2; }

/* ── Manufacturer Grid ── */
.mfr-main-col { min-width: 0; }
.mfr-pg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}

/* ── Card ── */
.mfr-pg-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1.5px solid #e8edf4;
  border-radius: 16px; overflow: hidden;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  position: relative;
}
.mfr-pg-card:hover {
  box-shadow: 0 8px 32px rgba(29,78,216,.1), 0 2px 8px rgba(0,0,0,.06);
  transform: translateY(-3px); border-color: #bfdbfe;
}
.mfr-pg-card-top {
  position: relative; background: #f8fafc;
  display: flex; align-items: center; justify-content: center;
  height: 96px; border-bottom: 1.5px solid #f1f5f9;
}
.mfr-pg-partner-badge {
  position: absolute; top: 8px; right: 8px;
  display: flex; align-items: center; gap: 4px;
  font-size: 9.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: #1d4ed8;
  background: #eff6ff; border: 1px solid #bfdbfe;
  border-radius: 20px; padding: 2px 7px;
}
.mfr-pg-logo-box {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; padding: 12px 20px;
}
.mfr-pg-logo-img { max-width: 110px; max-height: 52px; object-fit: contain; display: block; }
.mfr-pg-avatar {
  width: 56px; height: 56px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 900; color: #fff;
  font-family: var(--font-mono, monospace);
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.mfr-pg-card-body {
  flex: 1; display: flex; flex-direction: column; gap: 7px;
  padding: 14px 14px 10px;
}
.mfr-pg-name { font-size: 13.5px; font-weight: 800; color: #0f172a; line-height: 1.3; margin: 0; }
.mfr-pg-card-foot { padding: 0 14px 12px; margin-top: auto; display: flex; }
.mfr-pg-detail-btn {
  display: inline-flex; align-items: center; gap: 5px;
  height: 28px; padding: 0 12px;
  background: transparent;
  color: #1a1a1a; font-size: 11.5px; font-weight: 600;
  border: 1.5px solid #d1d5db;
  border-radius: 7px; cursor: pointer; transition: all .15s;
}
.mfr-pg-detail-btn:hover {
  background: #f1f5f9;
  border-color: #9ca3af;
}

/* ── Manufacturer Detail Modal ── */
.mfrd-modal {
  position: fixed; inset: 0; z-index: 500;
  display: grid; place-items: center;
}
.mfrd-modal[hidden] { display: none; }
.mfrd-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55); backdrop-filter: blur(3px);
}
.mfrd-dialog {
  position: relative;
  width: min(480px, calc(100% - 32px));
  background: #fff; border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,.2);
  padding: 32px 28px 28px;
  z-index: 1; text-align: center;
  max-height: calc(100vh - 40px); overflow-y: auto;
}
.mfrd-close {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid #e2e8f0; background: #f8fafc;
  color: #64748b; display: flex; align-items: center;
  justify-content: center; cursor: pointer; transition: all .15s;
}
.mfrd-close:hover { background: #fee2e2; border-color: #fca5a5; color: #dc2626; }
.mfrd-logo-wrap {
  width: 80px; height: 80px; border-radius: 18px;
  background: #f8fafc; border: 1.5px solid #e8edf4;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; overflow: hidden; padding: 8px;
}
.mfrd-logo-img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.mfrd-avatar {
  width: 80px; height: 80px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 900; color: #fff;
  margin: 0 auto 14px;
  font-family: var(--font-mono, monospace);
}
.mfrd-partner-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: #1d4ed8;
  background: #eff6ff; border: 1px solid #bfdbfe;
  border-radius: 20px; padding: 4px 12px; margin-bottom: 10px;
}
.mfrd-name {
  font-size: 20px; font-weight: 900; color: #0f172a;
  margin: 0 0 16px; line-height: 1.2;
}
.mfrd-desc-wrap { margin-bottom: 16px; }
.mfrd-desc {
  font-size: 13.5px; color: #475569; line-height: 1.65;
  margin: 0; text-align: left;
}
.mfrd-info-grid {
  background: #f8fafc; border: 1.5px solid #f1f5f9;
  border-radius: 12px; padding: 14px 16px;
  margin-bottom: 20px; text-align: left;
}
.mfrd-info-item { display: flex; flex-direction: column; gap: 4px; }
.mfrd-info-label {
  font-size: 10.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .06em; color: #94a3b8;
}
.mfrd-info-val { font-size: 13px; font-weight: 600; color: #374151; line-height: 1.5; }
.mfrd-actions { display: flex; gap: 10px; }
.mfrd-btn-primary {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  height: 42px; background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff; font-size: 13.5px; font-weight: 700;
  border-radius: 11px; text-decoration: none; transition: all .15s;
  box-shadow: 0 3px 10px rgba(29,78,216,.25);
}
.mfrd-btn-primary:hover { background: linear-gradient(135deg,#1e40af,#1d4ed8); color:#fff; }
.mfrd-btn-secondary {
  height: 42px; padding: 0 20px; font-size: 13px; font-weight: 700;
  color: #64748b; background: #f1f5f9; border: 1.5px solid #e2e8f0;
  border-radius: 11px; cursor: pointer; transition: all .15s;
}
.mfrd-btn-secondary:hover { background: #e2e8f0; }

/* ── Empty state ── */
.mfr-pg-empty {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; padding: 64px 24px; text-align: center;
}
.mfr-pg-empty-icon { color: #cbd5e1; }
.mfr-pg-empty-title { font-size: 16px; font-weight: 800; color: #374151; margin: 0; }
.mfr-pg-empty-sub { font-size: 13px; color: #64748b; margin: 0; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .mfr-page-body { grid-template-columns: 200px 1fr; gap: 16px; }
}
@media (max-width: 720px) {
  .mfr-page-body { grid-template-columns: 1fr; }
  .mfr-cat-sidebar { position: static; }
  .mfr-cat-list { max-height: 220px; }
  .mfr-pg-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mfr-fb-search { width: 180px; }
}
@media (max-width: 480px) {
  .mfr-page-hero { padding: 24px 0 20px; }
  .mfr-pg-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .mfr-filterbar { gap: 8px; }
  .mfr-fb-search { width: 100%; }
}
@media (max-width: 360px) {
  .mfr-pg-grid { grid-template-columns: 1fr; }
}

/* Final mobile authentication layout */
@media (max-width: 767px) {
  .auth-modal {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: max(8px, env(safe-area-inset-top)) 8px 0;
    overflow: hidden;
  }
  .auth-modal[hidden] {
    display: none;
  }
  .auth-modal-dialog {
    width: min(100%, 460px);
    max-width: 100%;
    max-height: calc(100vh - 8px);
    max-height: calc(100dvh - max(8px, env(safe-area-inset-top)));
    margin: 0;
    padding: 14px 14px max(18px, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #b6c5d8 transparent;
    touch-action: pan-y;
    border-radius: 18px 18px 0 0;
  }
  .auth-modal-dialog::-webkit-scrollbar {
    display: block;
    width: 5px;
    height: 5px;
  }
  .auth-modal-dialog::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #b6c5d8;
  }
  .auth-modal-close {
    position: sticky;
    top: 0;
    z-index: 4;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 -40px auto;
    font-size: 24px;
    background: rgb(247 251 255 / .96);
    backdrop-filter: blur(6px);
  }
  .auth-title {
    min-height: 40px;
    margin: 0 0 2px;
    padding: 5px 44px 0;
    font-size: 22px;
    line-height: 1.35;
  }
  .auth-subtitle {
    margin: 0 0 12px;
    padding-inline: 28px;
    font-size: 13px;
  }
  .auth-form {
    gap: 10px;
  }
  .auth-field {
    gap: 5px;
  }
  .auth-field span {
    font-size: 12px;
  }
  .auth-field input {
    height: 44px;
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 10px;
    font-size: 16px;
  }
  .auth-input-icon {
    left: 12px;
  }
  .auth-pass-eye {
    right: 7px;
    width: 36px;
    height: 36px;
  }
  .auth-phone-combo .auth-phone-code {
    left: 5px;
    top: 5px;
    bottom: 5px;
    width: 72px;
    font-size: 16px;
  }
  .auth-phone-combo .auth-input-icon {
    left: 84px;
  }
  .auth-phone-combo .auth-phone-number {
    padding-left: 110px;
  }
  .auth-captcha,
  .auth-captcha-cloud {
    width: 100%;
    min-width: 0;
    padding: 5px;
    overflow: hidden;
    border-radius: 10px;
  }
  .turnstile-wrap,
  .turnstile-wrap .cf-turnstile,
  .auth-captcha iframe,
  .fp-captcha .cf-turnstile,
  .fp-captcha iframe {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .auth-primary-btn,
  .auth-google-btn {
    width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 15px;
  }
  .auth-sep {
    margin: 10px 0;
  }
  .auth-links-row {
    margin-top: 10px;
    gap: 6px 12px;
    justify-content: space-between;
  }
  .auth-link-btn {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
  }
  .auth-terms {
    margin: 8px 0 0;
    padding-bottom: 2px;
    font-size: 11px;
    line-height: 1.5;
  }

  .fp-main {
    min-height: calc(100dvh - 120px);
    padding: 24px 10px max(36px, env(safe-area-inset-bottom));
    overflow-x: hidden;
  }
  .fp-card {
    width: 100%;
    max-width: 440px;
    padding: 24px 16px 22px;
    overflow: hidden;
    border-radius: 16px;
  }
  .fp-brand {
    margin-bottom: 18px;
  }
  .fp-steps {
    width: 100%;
    margin-bottom: 22px;
  }
  .fp-step {
    min-width: 0;
    flex: 0 1 74px;
  }
  .fp-step small {
    text-align: center;
    white-space: normal;
    line-height: 1.25;
  }
  .fp-step-connector {
    min-width: 8px;
  }
  .fp-subtitle {
    margin-bottom: 18px;
  }
  .fp-input {
    min-height: 44px;
    font-size: 16px;
  }
  .fp-submit-btn {
    min-height: 44px;
  }
  .fp-captcha {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .fp-otp-group {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
  }
  .fp-otp-digit {
    width: 100%;
    min-width: 0;
    height: 48px;
    font-size: 19px;
  }
}

@media (max-width: 360px) {
  .auth-modal {
    padding-inline: 4px;
  }
  .auth-modal-dialog {
    padding-inline: 10px;
  }
  .auth-title {
    padding-inline: 42px;
    font-size: 20px;
  }
  .auth-links-row:not(.auth-links-row-center) {
    align-items: stretch;
    flex-direction: column;
  }
  .auth-links-row:not(.auth-links-row-center) .auth-link-btn {
    justify-content: center;
  }
  .fp-card {
    padding-inline: 12px;
  }
  .fp-otp-group {
    gap: 4px;
  }
  .fp-otp-digit {
    height: 44px;
    font-size: 17px;
  }
}
