/* ============================================================
   NWAX CLOSS LOW VOLTAGE ELECTRIC
   Main Stylesheet — Landing / User-Facing Pages
   Stack: HTML · CSS · Vanilla JS · Font Awesome 6
   Author: NWAX CLOSS Dev
   ============================================================
   TABLE OF CONTENTS
   ---------------------------------------------------------
   00. GOOGLE FONTS IMPORT
   01. CSS TOKENS & CUSTOM PROPERTIES
   02. RESET & BASE
   03. TYPOGRAPHY
   04. UTILITY CLASSES
   05. LAYOUT — CONTAINERS & GRID
   06. SKIP TO CONTENT
   07. TOPBAR (Announcement Strip)
   08. HEADER & NAVBAR
   09. MOBILE NAV DRAWER
   10. SEARCH OVERLAY
   11. HERO SECTION
   12. SECTION SHELLS & HEADINGS
   13. CATEGORY GRID
   14. PRODUCT CARDS
   15. PRODUCT STRIP / CAROUSEL
   16. VALUE PROPS (Why Choose Us)
   17. CHINT BRAND BANNER
   18. CONTACT CTA STRIP
   19. FOOTER
   20. CART DRAWER
   21. TOAST NOTIFICATIONS
   22. GLOBAL MODAL
   23. LIGHTBOX
   24. BUTTONS
   25. FORM ELEMENTS
   26. BADGES & PILLS
   27. SKELETON LOADERS
   28. PAGES — PRODUCTS LISTING
   29. PAGES — PRODUCT DETAIL
   30. PAGES — CART PAGE
   31. PAGES — CHECKOUT (MULTI-STEP)
   32. PAGES — ORDER CONFIRMATION
   33. PAGES — ABOUT
   34. PAGES — CONTACT
   35. PRINT STYLES
   36. REDUCED MOTION
   37. RESPONSIVE — TABLET (≥768px)
   38. RESPONSIVE — DESKTOP (≥1024px)
   39. RESPONSIVE — WIDE (≥1280px)
   ============================================================ */


/* ============================================================
   00. GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@500;700&display=swap');


/* ============================================================
   01. CSS TOKENS & CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Colors */
  --primary:        #1A3C8F;
  --primary-dark:   #122A6B;
  --primary-light:  #2E56BE;
  --primary-pale:   #E8EEFA;
  --silver:         #C8D0E0;
  --silver-light:   #F0F4FF;
  --white:          #FFFFFF;
  --accent:         #F5A623;
  --accent-dark:    #D4880F;
  --accent-light:   #FDE8B4;
  --danger:         #D64545;
  --danger-light:   #FDEAEA;
  --success:        #2E7D32;
  --success-light:  #E8F5E9;
  --warning:        #E65100;
  --warning-light:  #FFF3E0;
  --info:           #0277BD;
  --info-light:     #E1F5FE;

  /* Text */
  --text-dark:      #0D1B3E;
  --text-mid:       #4A5578;
  --text-light:     #8B95B2;
  --text-placeholder: #B0BAD4;

  /* Borders & Surfaces */
  --border:         #D4DCF0;
  --border-focus:   #1A3C8F;
  --surface:        #FFFFFF;
  --surface-raised: #FAFBFF;

  /* Typography */
  --font-display:   'Montserrat', sans-serif;
  --font-body:      'Inter', sans-serif;
  --font-mono:      'JetBrains Mono', monospace;

  /* Spacing (8pt grid) */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  24px;
  --sp-6:  32px;
  --sp-7:  48px;
  --sp-8:  64px;
  --sp-9:  80px;
  --sp-10: 96px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(26,60,143,.06);
  --shadow-sm: 0 1px 6px rgba(26,60,143,.10);
  --shadow-md: 0 4px 16px rgba(26,60,143,.14);
  --shadow-lg: 0 8px 32px rgba(26,60,143,.18);
  --shadow-xl: 0 16px 56px rgba(26,60,143,.22);

  /* Border Radii */
  --r-xs:   4px;
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-pill: 999px;

  /* Transitions */
  --t-fast: 150ms ease;
  --t-mid:  250ms ease;
  --t-slow: 400ms ease;
  --t-spring: 350ms cubic-bezier(.34,1.56,.64,1);

  /* Z-Index Scale */
  --z-base:     1;
  --z-sticky:   100;
  --z-drawer:   700;
  --z-overlay:  800;
  --z-modal:    900;
  --z-toast:    1000;
  --z-top:      9999;

  /* Layout */
  --container-max: 1200px;
  --header-h:      72px;
  --topbar-h:      36px;
  --sidebar-w:     260px;
}


/* ============================================================
   02. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* Body offset for topbar + header */
body {
  padding-top: calc(var(--topbar-h) + var(--header-h));
}


/* ============================================================
   03. TYPOGRAPHY
   ============================================================ */
h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--font-display);
  font-size: clamp(17px, 3vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}

h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-dark);
}

h5 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
}

p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-mid);
}

small {
  font-size: 12px;
  line-height: 1.5;
}

strong { font-weight: 600; }

.price-tag {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.price-original {
  font-size: 14px;
  color: var(--text-light);
  text-decoration: line-through;
}

.account-number {
  font-family: var(--font-mono);
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--primary);
}

.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--sp-2);
}


/* ============================================================
   04. UTILITY CLASSES
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }
.text-white   { color: var(--white) !important; }
.text-primary { color: var(--primary) !important; }
.text-accent  { color: var(--accent) !important; }
.text-mid     { color: var(--text-mid) !important; }
.text-light-c { color: var(--text-light) !important; }

.bg-primary     { background: var(--primary); }
.bg-primary-dark{ background: var(--primary-dark); }
.bg-silver      { background: var(--silver-light); }
.bg-white       { background: var(--white); }
.bg-accent      { background: var(--accent); }

.fw-400 { font-weight: 400; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

.d-flex         { display: flex; }
.d-grid         { display: grid; }
.d-none         { display: none; }
.d-block        { display: block; }

.align-center   { align-items: center; }
.justify-center { justify-content: center; }
.justify-between{ justify-content: space-between; }
.gap-1 { gap: var(--sp-1); }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-5 { gap: var(--sp-5); }

.w-full  { width: 100%; }
.h-full  { height: 100%; }
.rounded { border-radius: var(--r-md); }
.pill    { border-radius: var(--r-pill); }

.overflow-hidden { overflow: hidden; }
.pos-relative    { position: relative; }

.mt-1 { margin-top: var(--sp-1); }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--sp-5) 0;
}

/* Focus ring — accessibility */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}


/* ============================================================
   05. LAYOUT — CONTAINERS & GRID
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

.container--narrow {
  max-width: 760px;
}

.container--wide {
  max-width: 1440px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.col { flex: 1 1 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.grid-3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }

/* Section spacing */
.section {
  padding-block: var(--sp-7);
}
.section--lg {
  padding-block: var(--sp-9);
}
.section--sm {
  padding-block: var(--sp-5);
}
.section--no-top  { padding-top: 0; }
.section--no-bot  { padding-bottom: 0; }


/* ============================================================
   06. SKIP TO CONTENT
   ============================================================ */
.skip-link {
  position: fixed;
  top: -100%;
  left: var(--sp-4);
  z-index: var(--z-top);
  background: var(--primary);
  color: var(--white);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 14px;
  transition: top var(--t-fast);
}
.skip-link:focus {
  top: var(--sp-4);
}


/* ============================================================
   07. TOPBAR (Announcement Strip)
   ============================================================ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: calc(var(--z-sticky) + 10);
  height: var(--topbar-h);
  background: var(--primary-dark);
  color: var(--silver);
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

.topbar__contacts {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-shrink: 0;
}

.topbar__contacts a {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  color: var(--silver);
  transition: color var(--t-fast);
}
.topbar__contacts a:hover { color: var(--white); }
.topbar__contacts i { font-size: 11px; }

.topbar__promo {
  display: none; /* hidden on mobile, shown on tablet+ */
  font-size: 12px;
  color: var(--accent-light);
  white-space: nowrap;
}

/* Mobile marquee */
.topbar__ticker {
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.topbar__ticker-track {
  display: flex;
  gap: var(--sp-8);
  animation: ticker-scroll 20s linear infinite;
  white-space: nowrap;
}
.topbar__ticker-track:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ============================================================
   08. HEADER & NAVBAR
   ============================================================ */
.header {
  position: fixed;
  top: var(--topbar-h);
  left: 0; right: 0;
  z-index: var(--z-sticky);
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-mid), height var(--t-mid), background var(--t-mid);
}

.header.is-scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header.is-compact {
  height: 60px;
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
  text-decoration: none;
}

.logo__icon {
  width: 40px; height: 40px;
  background: var(--primary);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform var(--t-fast);
}
.logo:hover .logo__icon { transform: rotate(-5deg) scale(1.05); }

.logo__text { line-height: 1.1; }
.logo__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  display: block;
}
.logo__tag {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.03em;
  display: block;
}

/* Nav links (desktop) */
.nav {
  display: none;
  align-items: center;
  gap: var(--sp-1);
}

.nav__link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  position: relative;
  white-space: nowrap;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: var(--sp-3); right: var(--sp-3);
  height: 2px;
  background: var(--accent);
  border-radius: var(--r-pill);
  transform: scaleX(0);
  transition: transform var(--t-mid);
}
.nav__link:hover  { color: var(--primary); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--primary); }

/* Header right cluster */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

/* Search trigger */
.btn-search {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  color: var(--text-mid);
  font-size: 14px;
  background: var(--silver-light);
  transition: all var(--t-fast);
  cursor: pointer;
}
.btn-search:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-pale);
}
.btn-search .search-hint {
  display: none; /* shown on desktop */
  font-size: 13px;
}

/* Cart button */
.btn-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  color: var(--text-dark);
  font-size: 18px;
  background: transparent;
  transition: background var(--t-fast), color var(--t-fast);
}
.btn-cart:hover {
  background: var(--primary-pale);
  color: var(--primary);
}

.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: scale(0);
  transition: transform var(--t-spring);
}
.cart-badge.is-visible { transform: scale(1); }
.cart-badge.bump {
  animation: badge-bump .35s cubic-bezier(.34,1.56,.64,1);
}
@keyframes badge-bump {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.5); }
  100% { transform: scale(1); }
}

/* Hamburger */
.btn-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: var(--sp-2);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--t-fast);
}
.btn-hamburger:hover { background: var(--silver-light); }

.btn-hamburger span {
  display: block;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform var(--t-mid), opacity var(--t-mid), width var(--t-mid);
}
.btn-hamburger span:nth-child(2) { width: 70%; }
.btn-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.btn-hamburger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.btn-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   09. MOBILE NAV DRAWER
   ============================================================ */
.mobile-nav {
  position: fixed;
  top: 0; left: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--white);
  z-index: calc(var(--z-drawer) + 10);
  transform: translateX(-100%);
  transition: transform var(--t-slow);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}
.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--border);
  background: var(--primary-dark);
}

.mobile-nav__close {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  color: var(--silver);
  font-size: 18px;
  transition: background var(--t-fast);
}
.mobile-nav__close:hover { background: rgba(255,255,255,.1); color: var(--white); }

.mobile-nav__links {
  padding: var(--sp-4) 0;
  flex: 1;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  transition: background var(--t-fast), color var(--t-fast);
  border-left: 3px solid transparent;
}
.mobile-nav__link i { width: 20px; color: var(--primary); font-size: 16px; }
.mobile-nav__link:hover,
.mobile-nav__link.is-active {
  background: var(--primary-pale);
  color: var(--primary);
  border-left-color: var(--primary);
}

.mobile-nav__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--sp-3) var(--sp-5);
}

.mobile-nav__footer {
  padding: var(--sp-5);
  border-top: 1px solid var(--border);
  background: var(--silver-light);
}
.mobile-nav__footer p { font-size: 13px; margin-bottom: var(--sp-1); }
.mobile-nav__footer a {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: 13px; color: var(--primary); font-weight: 500;
  padding: var(--sp-1) 0;
}

/* Overlay backdrop */
.nav-overlay,
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: var(--z-drawer);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid);
}
.nav-overlay.is-visible,
.drawer-overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}


/* ============================================================
   10. SEARCH OVERLAY
   ============================================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(13,27,62,.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(60px, 10vh, 120px);
  padding-inline: var(--sp-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid);
}
.search-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.search-box {
  width: 100%;
  max-width: 680px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: var(--sp-4) var(--sp-6) var(--sp-4) 52px;
  font-size: 18px;
  font-family: var(--font-body);
  border: 2px solid transparent;
  border-radius: var(--r-lg);
  background: var(--white);
  color: var(--text-dark);
  outline: none;
  transition: border-color var(--t-fast);
  box-shadow: var(--shadow-xl);
}
.search-input:focus { border-color: var(--accent); }
.search-input::placeholder { color: var(--text-placeholder); }

.search-icon {
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--text-light);
  pointer-events: none;
}

.search-close {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  color: var(--text-light);
  background: var(--silver-light);
  font-size: 14px;
  transition: all var(--t-fast);
}
.search-close:hover { background: var(--border); color: var(--text-dark); }

.search-results {
  width: 100%;
  max-width: 680px;
  background: var(--white);
  border-radius: var(--r-md);
  margin-top: var(--sp-2);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  max-height: 380px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-fast);
  cursor: pointer;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--silver-light); }

.search-result-img {
  width: 48px; height: 48px;
  object-fit: cover;
  border-radius: var(--r-sm);
  background: var(--silver-light);
  flex-shrink: 0;
}

.search-result-info { flex: 1; min-width: 0; }
.search-result-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-brand { font-size: 12px; color: var(--text-light); }
.search-result-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  flex-shrink: 0;
}

.search-no-results {
  padding: var(--sp-6);
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
}

.search-hint-text {
  color: var(--silver);
  font-size: 13px;
  margin-top: var(--sp-3);
  text-align: center;
}


/* ============================================================
   11. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  background: var(--primary);
  overflow: hidden;
  min-height: clamp(480px, 70vh, 720px);
  display: flex;
  align-items: center;
}

/* Circuit pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245,166,35,.08) 0%, transparent 50%);
  pointer-events: none;
}

/* SVG grid pattern */
.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: .06;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding-block: var(--sp-9);
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(245,166,35,.15);
  border: 1px solid rgba(245,166,35,.3);
  color: var(--accent);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
}
.hero__eyebrow i { font-size: 11px; }

.hero__title { color: var(--white); }
.hero__title span { color: var(--accent); }

.hero__subtitle {
  font-size: clamp(15px, 2.5vw, 18px);
  color: var(--silver);
  max-width: 540px;
  line-height: 1.6;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-2);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.12);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  font-weight: 500;
  color: var(--silver);
}
.hero__trust-item i {
  color: var(--accent);
  font-size: 14px;
}

.hero__image {
  display: none; /* visible on desktop */
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 500px;
  aspect-ratio: 4/3;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,.3));
  pointer-events: none;
}

/* Animated bolt decoration */
.hero__bolt-decoration {
  position: absolute;
  right: 5%;
  top: 10%;
  font-size: clamp(80px, 15vw, 200px);
  color: rgba(255,255,255,.03);
  pointer-events: none;
  line-height: 1;
}


/* ============================================================
   12. SECTION SHELLS & HEADINGS
   ============================================================ */
.section-head {
  margin-bottom: var(--sp-6);
}
.section-head--center { text-align: center; }

.section-head__title {
  position: relative;
  display: inline-block;
  margin-bottom: var(--sp-3);
}
.section-head__title::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0;
  width: 48px; height: 3px;
  background: var(--accent);
  border-radius: var(--r-pill);
}
.section-head--center .section-head__title::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-head__sub {
  margin-top: var(--sp-4);
  max-width: 560px;
  color: var(--text-mid);
}
.section-head--center .section-head__sub {
  margin-inline: auto;
}

.section-head__action {
  margin-top: var(--sp-3);
}

/* Section topline (view all link) */
.section-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-5);
  gap: var(--sp-4);
}


/* ============================================================
   13. CATEGORY GRID
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}

.category-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--t-mid), box-shadow var(--t-mid);
  display: block;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.category-card:active { transform: translateY(-1px); }

.category-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--silver-light);
}

.category-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.category-card:hover .category-img-wrap img {
  transform: scale(1.07);
}

/* Placeholder icon for missing images */
.category-img-wrap--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-pale);
}
.category-img-wrap--placeholder i {
  font-size: 40px;
  color: var(--primary);
  opacity: .4;
}

.category-card__label {
  padding: var(--sp-3);
  background: var(--white);
  text-align: center;
}
.category-card__name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}
.category-card__count {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 2px;
}

/* Blue overlay on hover */
.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,60,143,.0);
  transition: background var(--t-mid);
  pointer-events: none;
}
.category-card:hover::after { background: rgba(26,60,143,.06); }


/* ============================================================
   14. PRODUCT CARDS
   ============================================================ */
.product-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-mid), box-shadow var(--t-mid);
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Image container */
.product-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--silver-light);
  cursor: zoom-in;
}
.product-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.product-card:hover .product-card__img-wrap img {
  transform: scale(1.05);
}

/* Placeholder image state */
.product-card__img-wrap--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card__img-wrap--placeholder i {
  font-size: 48px;
  color: var(--silver);
}

/* Badges */
.product-card__badges {
  position: absolute;
  top: var(--sp-2);
  left: var(--sp-2);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  z-index: 2;
}

/* Quick view overlay */
.product-card__quick-view {
  position: absolute;
  top: var(--sp-2);
  right: var(--sp-2);
  z-index: 2;
  width: 34px; height: 34px;
  background: var(--white);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--t-mid), transform var(--t-mid);
  cursor: pointer;
}
.product-card:hover .product-card__quick-view {
  opacity: 1;
  transform: translateY(0);
}

/* Body */
.product-card__body {
  padding: var(--sp-3);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.product-card__brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__spec {
  font-size: 12px;
  color: var(--text-light);
}
.product-card__pricing {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  margin-top: auto;
  padding-top: var(--sp-2);
}

/* Footer */
.product-card__footer {
  padding: var(--sp-3);
  padding-top: 0;
}

/* Out of stock overlay */
.product-card.is-out-of-stock .product-card__img-wrap::after {
  content: 'Out of Stock';
  position: absolute;
  inset: 0;
  background: rgba(13,27,62,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}


/* ============================================================
   15. PRODUCT STRIP / CAROUSEL
   ============================================================ */
.product-strip {
  position: relative;
}

.product-strip__track {
  display: flex;
  gap: var(--sp-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--sp-2);
}
.product-strip__track::-webkit-scrollbar { display: none; }

.product-strip .product-card {
  flex: 0 0 clamp(160px, 42vw, 240px);
  scroll-snap-align: start;
}

/* Carousel nav arrows (hidden on mobile) */
.carousel-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--primary);
  z-index: 3;
  cursor: pointer;
  transition: all var(--t-fast);
}
.carousel-arrow:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.carousel-arrow--prev { left: -20px; }
.carousel-arrow--next { right: -20px; }
.carousel-arrow.is-disabled { opacity: .4; pointer-events: none; }


/* ============================================================
   16. VALUE PROPS (Why Choose Us)
   ============================================================ */
.value-props {
  background: var(--silver-light);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

.value-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--t-mid), box-shadow var(--t-mid);
  text-align: center;
}
.value-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.value-card__icon {
  width: 60px; height: 60px;
  background: var(--primary-pale);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--sp-4);
  font-size: 24px;
  color: var(--primary);
  transition: background var(--t-mid), transform var(--t-mid);
}
.value-card:hover .value-card__icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05) rotate(-3deg);
}

.value-card__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--sp-2);
}
.value-card__text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
}


/* ============================================================
   17. CHINT BRAND BANNER
   ============================================================ */
.chint-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
  padding-block: var(--sp-8);
}
.chint-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(245,166,35,.12), transparent 60%),
    radial-gradient(ellipse at 100% 0%, rgba(255,255,255,.05), transparent 60%);
}
.chint-banner__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-4);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}
.chint-banner__logo-placeholder {
  width: 100px; height: 50px;
  background: rgba(255,255,255,.15);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  letter-spacing: 2px;
}
.chint-banner__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 700;
  color: var(--white);
  max-width: 560px;
}
.chint-banner__sub {
  color: var(--silver);
  font-size: 15px;
  max-width: 500px;
}


/* ============================================================
   18. CONTACT CTA STRIP
   ============================================================ */
.cta-strip {
  background: var(--primary-pale);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: var(--sp-7);
  text-align: center;
}
.cta-strip__title {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--sp-2);
}
.cta-strip__sub {
  color: var(--text-mid);
  margin-bottom: var(--sp-5);
}
.cta-strip__contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--primary);
}
.cta-strip__contacts a {
  display: flex; align-items: center; gap: var(--sp-2);
  color: var(--primary);
  transition: color var(--t-fast);
}
.cta-strip__contacts a:hover { color: var(--primary-light); }
.cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
}


/* ============================================================
   19. FOOTER
   ============================================================ */
.footer {
  background: var(--primary-dark);
  color: var(--silver);
  padding-top: var(--sp-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

/* Brand column */
.footer__brand {}
.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.footer__logo-icon {
  width: 36px; height: 36px;
  background: var(--primary);
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  color: var(--white); font-size: 16px;
}
.footer__logo-name {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 800;
  color: var(--white); letter-spacing: -0.01em;
}
.footer__tagline {
  font-size: 12px; font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.04em;
  display: block;
}

.footer__address {
  font-size: 13px; line-height: 1.8;
  color: var(--silver); margin-bottom: var(--sp-4);
}
.footer__address i { color: var(--accent); margin-right: var(--sp-1); }

.footer__contacts a {
  display: flex; align-items: center;
  gap: var(--sp-2); font-size: 13px;
  color: var(--silver); padding: var(--sp-1) 0;
  transition: color var(--t-fast);
}
.footer__contacts a:hover { color: var(--white); }
.footer__contacts i { color: var(--accent); font-size: 12px; width: 14px; }

.footer__distributor-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(245,166,35,.12);
  border: 1px solid rgba(245,166,35,.25);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  margin-top: var(--sp-4);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.footer__distributor-badge i { font-size: 14px; }

/* Footer col headings */
.footer__col-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__links a {
  display: block;
  font-size: 14px;
  color: var(--silver);
  padding: var(--sp-1) 0;
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.footer__links a:hover { color: var(--white); padding-left: var(--sp-2); }

/* Payment info block */
.footer__payment-block {
  background: rgba(255,255,255,.05);
  border-radius: var(--r-sm);
  padding: var(--sp-4);
  border: 1px solid rgba(255,255,255,.08);
}
.footer__bank-name {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: var(--white); margin-bottom: var(--sp-1);
}
.footer__account-label {
  font-size: 12px; color: var(--text-light); margin-bottom: 2px;
}
.footer__account-name {
  font-size: 14px; font-weight: 600; color: var(--silver);
}
.footer__account-num {
  font-family: var(--font-mono);
  font-size: 16px; font-weight: 700;
  color: var(--accent); letter-spacing: 3px;
  margin-top: var(--sp-2);
}

/* Bottom bar */
.footer__bottom {
  margin-top: var(--sp-7);
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: var(--sp-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}
.footer__copy {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
}


/* ============================================================
   20. CART DRAWER
   ============================================================ */
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(400px, 95vw);
  height: 100vh;
  background: var(--white);
  z-index: calc(var(--z-drawer) + 20);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform var(--t-slow);
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-drawer__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex; align-items: center; gap: var(--sp-2);
}
.cart-drawer__count {
  background: var(--primary);
  color: var(--white);
  font-size: 11px; font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--r-pill);
}
.cart-drawer__close {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  color: var(--text-light);
  font-size: 16px;
  transition: all var(--t-fast);
}
.cart-drawer__close:hover {
  background: var(--silver-light);
  color: var(--danger);
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

/* Empty state */
.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  text-align: center;
  padding: var(--sp-8) var(--sp-5);
}
.cart-empty__icon {
  font-size: 64px;
  color: var(--border);
}
.cart-empty__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}
.cart-empty__sub { font-size: 14px; color: var(--text-light); }

/* Cart item */
.cart-item {
  display: flex;
  gap: var(--sp-3);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; padding-bottom: 0; }

.cart-item__img {
  width: 72px; height: 72px;
  object-fit: cover;
  border-radius: var(--r-sm);
  background: var(--silver-light);
  flex-shrink: 0;
}
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__brand { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); font-weight: 700; }
.cart-item__name {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: var(--sp-2);
}
.cart-item__row {
  display: flex; align-items: center;
  justify-content: space-between; gap: var(--sp-2);
}
.cart-item__price {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  color: var(--primary);
}

.qty-control {
  display: flex; align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.qty-btn {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  font-size: 12px;
  background: var(--silver-light);
  color: var(--text-dark);
  transition: background var(--t-fast);
}
.qty-btn:hover { background: var(--primary); color: var(--white); }
.qty-value {
  min-width: 32px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 700;
  color: var(--text-dark);
  padding: 0 4px;
  border: none;
  outline: none;
  background: var(--white);
}

.cart-item__remove {
  font-size: 14px;
  color: var(--text-light);
  transition: color var(--t-fast);
  padding: 4px;
}
.cart-item__remove:hover { color: var(--danger); }

/* Footer */
.cart-drawer__footer {
  padding: var(--sp-4) var(--sp-5);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--surface-raised);
}
.cart-subtotal {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--sp-4);
}
.cart-subtotal__label {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600; color: var(--text-mid);
}
.cart-subtotal__value {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 800; color: var(--text-dark);
}


/* ============================================================
   21. TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  top: calc(var(--topbar-h) + var(--header-h) + var(--sp-4));
  right: var(--sp-4);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  pointer-events: none;
  width: min(360px, calc(100vw - 32px));
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  background: var(--white);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary);
  pointer-events: all;
  position: relative;
  overflow: hidden;
  transform: translateX(calc(100% + 20px));
  opacity: 0;
  transition: transform var(--t-spring), opacity var(--t-mid);
}
.toast.is-visible {
  transform: translateX(0);
  opacity: 1;
}
.toast.is-hiding {
  transform: translateX(calc(100% + 20px));
  opacity: 0;
}

.toast--success { border-left-color: var(--success); }
.toast--error   { border-left-color: var(--danger); }
.toast--warning { border-left-color: var(--warning); }
.toast--info    { border-left-color: var(--primary); }

.toast__icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.toast--success .toast__icon { color: var(--success); }
.toast--error   .toast__icon { color: var(--danger); }
.toast--warning .toast__icon { color: var(--warning); }
.toast--info    .toast__icon { color: var(--primary); }

.toast__content { flex: 1; }
.toast__title {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}
.toast__message {
  font-size: 13px;
  color: var(--text-mid);
  margin-top: 2px;
  line-height: 1.4;
}

.toast__close {
  font-size: 12px;
  color: var(--text-light);
  flex-shrink: 0;
  padding: 2px;
  transition: color var(--t-fast);
}
.toast__close:hover { color: var(--text-dark); }

/* Progress bar */
.toast__progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: currentColor;
  opacity: .3;
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
  animation: toast-drain linear forwards;
}
.toast--success .toast__progress { color: var(--success); }
.toast--error   .toast__progress { color: var(--danger); }
.toast--warning .toast__progress { color: var(--warning); }
.toast--info    .toast__progress { color: var(--primary); }

@keyframes toast-drain {
  from { width: 100%; }
  to   { width: 0%; }
}


/* ============================================================
   22. GLOBAL MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: var(--z-modal);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--sp-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid);
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: var(--r-lg) var(--r-lg) var(--r-md) var(--r-md);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(40px) scale(.97);
  opacity: 0;
  transition: transform var(--t-spring), opacity var(--t-mid);
}
.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Modal sizes */
.modal--sm { max-width: 400px; }
.modal--md { max-width: 560px; }
.modal--lg { max-width: 720px; }

.modal__header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 2;
}
.modal__icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.modal__title {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  color: var(--text-dark);
  flex: 1;
}
.modal__close {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  font-size: 14px; color: var(--text-light);
  transition: all var(--t-fast);
}
.modal__close:hover { background: var(--silver-light); color: var(--text-dark); }

/* Type theming */
.modal--confirm .modal__icon { background: var(--primary-pale); color: var(--primary); }
.modal--success .modal__icon { background: var(--success-light); color: var(--success); }
.modal--danger  .modal__icon { background: var(--danger-light);  color: var(--danger); }
.modal--info    .modal__icon { background: var(--info-light);    color: var(--info); }
.modal--payment .modal__icon { background: var(--accent-light);  color: var(--accent-dark); }

.modal__body {
  padding: var(--sp-5);
}
.modal__body p { font-size: 15px; line-height: 1.6; color: var(--text-mid); }

.modal__footer {
  display: flex;
  gap: var(--sp-3);
  justify-content: flex-end;
  padding: var(--sp-4) var(--sp-5);
  border-top: 1px solid var(--border);
  background: var(--surface-raised);
  border-radius: 0 0 var(--r-md) var(--r-md);
}


/* ============================================================
   23. LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: var(--z-top);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__close {
  position: absolute;
  top: var(--sp-4); right: var(--sp-4);
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--white); font-size: 20px;
  cursor: pointer;
  z-index: 2;
  transition: background var(--t-fast);
}
.lightbox__close:hover { background: rgba(255,255,255,.2); }

.lightbox__img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--r-sm);
  transform: scale(.9);
  transition: transform var(--t-spring);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__img.is-zoomed { transform: scale(1.8); cursor: zoom-out; }

.lightbox__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--white); font-size: 18px;
  cursor: pointer;
  transition: background var(--t-fast);
  z-index: 3;
}
.lightbox__arrow:hover { background: rgba(255,255,255,.2); }
.lightbox__arrow--prev { left: var(--sp-4); }
.lightbox__arrow--next { right: var(--sp-4); }
.lightbox__arrow.is-hidden { opacity: 0; pointer-events: none; }

.lightbox__caption {
  margin-top: var(--sp-4);
  text-align: center;
}
.lightbox__caption-title {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700; color: var(--white);
}
.lightbox__caption-brand { font-size: 12px; color: var(--silver); }

.lightbox__dots {
  display: flex; gap: var(--sp-2);
  margin-top: var(--sp-3);
  justify-content: center;
}
.lightbox__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
}
.lightbox__dot.is-active { background: var(--white); transform: scale(1.3); }


/* ============================================================
   24. BUTTONS
   ============================================================ */

/* Base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 10px var(--sp-5);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  border-radius: var(--r-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.btn:disabled, .btn.is-disabled {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary */
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,60,143,.3);
}
.btn-primary:active { transform: translateY(0); }

/* Accent */
.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245,166,35,.35);
}

/* Outlined */
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--primary-pale); }

/* Danger */
.btn-danger {
  background: var(--danger);
  color: var(--white);
  border-color: var(--danger);
}

/* Sizes */
.btn-sm { padding: 6px var(--sp-3); font-size: 12px; }
.btn-lg { padding: 14px var(--sp-6); font-size: 15px; }
.btn-xl { padding: 16px var(--sp-7); font-size: 16px; }
.btn-full { width: 100%; }

/* Loading state */
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::after {
  content: '';
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin .6s linear infinite;
  margin-left: var(--sp-2);
}

@keyframes spin { to { transform: rotate(360deg); } }


/* ============================================================
   25. FORM ELEMENTS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  margin-bottom: var(--sp-4);
}

.form-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  display: flex; align-items: center; gap: var(--sp-2);
}
.form-label .required { color: var(--danger); }
.form-label .optional {
  font-size: 11px; font-weight: 400;
  color: var(--text-light);
  background: var(--silver-light);
  padding: 1px 6px; border-radius: var(--r-pill);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-placeholder); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,60,143,.1);
}

.form-input.has-error,
.form-select.has-error,
.form-textarea.has-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(214,69,69,.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238B95B2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-error {
  font-size: 12px;
  color: var(--danger);
  display: flex; align-items: center; gap: var(--sp-1);
}
.form-error i { font-size: 11px; }

.form-hint {
  font-size: 12px;
  color: var(--text-light);
}

/* Radio/Checkbox */
.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.radio-label,
.checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  cursor: pointer;
  font-size: 14px;
  color: var(--text-dark);
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* File upload drop zone */
.file-drop {
  border: 2px dashed var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-7) var(--sp-5);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
  background: var(--silver-light);
  position: relative;
}
.file-drop:hover,
.file-drop.is-dragover {
  border-color: var(--primary);
  background: var(--primary-pale);
}
.file-drop input[type="file"] {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer;
}
.file-drop__icon {
  font-size: 40px; color: var(--silver);
  margin-bottom: var(--sp-3);
}
.file-drop__title {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700; color: var(--text-dark);
  margin-bottom: var(--sp-1);
}
.file-drop__sub { font-size: 12px; color: var(--text-light); }

.file-preview {
  margin-top: var(--sp-4);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--silver-light);
}
.file-preview img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
}
.file-preview__pdf {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
}
.file-preview__pdf i { font-size: 32px; color: var(--danger); }
.file-preview__name { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.file-preview__size { font-size: 11px; color: var(--text-light); }
.file-preview__remove {
  margin-left: auto; font-size: 16px;
  color: var(--text-light); cursor: pointer;
  transition: color var(--t-fast);
}
.file-preview__remove:hover { color: var(--danger); }


/* ============================================================
   26. BADGES & PILLS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px var(--sp-2);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--r-pill);
  line-height: 1.4;
  white-space: nowrap;
}

.badge--new       { background: var(--primary); color: var(--white); }
.badge--sale      { background: var(--danger); color: var(--white); }
.badge--hot       { background: var(--accent); color: var(--white); }
.badge--featured  { background: var(--primary-light); color: var(--white); }
.badge--out       { background: var(--border); color: var(--text-light); }

/* Status pills (orders) */
.status-pill {
  display: inline-flex; align-items: center; gap: var(--sp-1);
  padding: 4px var(--sp-3);
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700;
  font-family: var(--font-display);
}
.status-pill--pending   { background: #FFF3CD; color: #856404; }
.status-pill--confirmed { background: #D4EDDA; color: #155724; }
.status-pill--delivered { background: #CCE5FF; color: #004085; }
.status-pill--cancelled { background: #F8D7DA; color: #721C24; }
.status-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}


/* ============================================================
   27. SKELETON LOADERS
   ============================================================ */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--silver-light) 25%, var(--border) 50%, var(--silver-light) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r-sm);
}

.skeleton-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.skeleton-img  { width: 100%; aspect-ratio: 4/3; }
.skeleton-body { padding: var(--sp-3); }
.skeleton-line { height: 12px; margin-bottom: var(--sp-2); }
.skeleton-line--short { width: 60%; }
.skeleton-line--med   { width: 80%; }
.skeleton-line--tall  { height: 18px; }
.skeleton-btn  { height: 38px; border-radius: var(--r-sm); margin-top: var(--sp-3); }


/* ============================================================
   28. PAGES — PRODUCTS LISTING
   ============================================================ */
.products-page__header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding-block: var(--sp-6);
  text-align: center;
  color: var(--white);
}
.products-page__header h1 { color: var(--white); }
.products-page__breadcrumb {
  display: flex; align-items: center; gap: var(--sp-2);
  justify-content: center;
  font-size: 13px; color: var(--silver);
  margin-top: var(--sp-2);
}
.products-page__breadcrumb a { color: var(--silver); transition: color var(--t-fast); }
.products-page__breadcrumb a:hover { color: var(--white); }
.products-page__breadcrumb i { font-size: 10px; }

/* Layout */
.products-layout {
  display: flex;
  gap: var(--sp-5);
  align-items: flex-start;
}

/* Filter sidebar */
.filter-sidebar {
  display: none; /* shown on desktop */
  width: var(--sidebar-w);
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--topbar-h) + var(--header-h) + var(--sp-5));
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.filter-sidebar__header {
  padding: var(--sp-4) var(--sp-4);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--silver-light);
}
.filter-sidebar__title {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700; color: var(--text-dark);
  display: flex; align-items: center; gap: var(--sp-2);
}

.filter-group {
  padding: var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.filter-group__title {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--text-dark); margin-bottom: var(--sp-3);
}

.filter-checkbox {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-1) 0; cursor: pointer;
  font-size: 14px; color: var(--text-mid);
  transition: color var(--t-fast);
}
.filter-checkbox:hover { color: var(--primary); }
.filter-checkbox input { accent-color: var(--primary); }
.filter-checkbox__count {
  margin-left: auto;
  font-size: 11px; color: var(--text-light);
  background: var(--silver-light);
  padding: 1px 6px; border-radius: var(--r-pill);
}

/* Price range */
.price-range {
  display: flex; flex-direction: column; gap: var(--sp-2);
}
.price-range input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}
.price-range__labels {
  display: flex; justify-content: space-between;
  font-size: 12px; font-weight: 600; color: var(--primary);
  font-family: var(--font-mono);
}

.filter-sidebar__apply {
  padding: var(--sp-4);
}

/* Filter as bottom sheet on mobile */
.filter-sheet {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: var(--z-drawer);
  background: var(--white);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform var(--t-slow);
  box-shadow: var(--shadow-xl);
}
.filter-sheet.is-open { transform: translateY(0); }

.filter-sheet__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--white); z-index: 2;
}

/* Products main area */
.products-main { flex: 1; min-width: 0; }

.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  flex-wrap: wrap;
}
.products-toolbar__info {
  font-size: 13px; color: var(--text-light);
}
.products-toolbar__info strong { color: var(--text-dark); }

.products-toolbar__right {
  display: flex; align-items: center; gap: var(--sp-3);
}

.sort-select {
  padding: var(--sp-2) var(--sp-4) var(--sp-2) var(--sp-3);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600;
  color: var(--text-dark);
  background: var(--white);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%238B95B2' d='M0 0l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}
.sort-select:focus { outline: none; border-color: var(--primary); }

.btn-filter-mobile {
  display: flex;
  align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600;
  color: var(--text-dark); background: var(--white);
  transition: all var(--t-fast);
}
.btn-filter-mobile:hover { border-color: var(--primary); color: var(--primary); }

/* Active filters chips */
.active-filters {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.filter-chip {
  display: inline-flex; align-items: center; gap: var(--sp-1);
  padding: 4px var(--sp-2);
  background: var(--primary-pale);
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
}
.filter-chip:hover { background: var(--primary); color: var(--white); }
.filter-chip i { font-size: 10px; }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-7);
}
.page-btn {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  font-size: 14px; font-weight: 600;
  color: var(--text-dark);
  border: 1.5px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: all var(--t-fast);
}
.page-btn:hover, .page-btn.is-active {
  background: var(--primary); color: var(--white); border-color: var(--primary);
}
.page-btn.is-active { pointer-events: none; }

/* Load more */
.load-more-wrap {
  text-align: center;
  margin-top: var(--sp-7);
}


/* ============================================================
   29. PAGES — PRODUCT DETAIL
   ============================================================ */
.product-detail {
  padding-block: var(--sp-6);
}
.product-detail__grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

/* Image gallery */
.product-gallery {}
.product-gallery__main {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--silver-light);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--border);
}
.product-gallery__main img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform var(--t-slow);
}
.product-gallery__main:hover img { transform: scale(1.04); }

.product-gallery__thumbs {
  display: flex; gap: var(--sp-2);
  margin-top: var(--sp-3);
  overflow-x: auto;
  scrollbar-width: none;
}
.product-gallery__thumbs::-webkit-scrollbar { display: none; }

.gallery-thumb {
  width: 64px; height: 64px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color var(--t-fast);
  background: var(--silver-light);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.is-active { border-color: var(--primary); }
.gallery-thumb:hover { border-color: var(--primary-light); }

/* Product info */
.product-info {}
.product-info__brand {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--primary);
  margin-bottom: var(--sp-1);
  display: flex; align-items: center; gap: var(--sp-2);
}
.product-info__brand .verified {
  font-size: 10px; background: var(--primary-pale);
  padding: 2px 6px; border-radius: var(--r-pill); color: var(--primary);
}
.product-info__title { margin-bottom: var(--sp-2); }
.product-info__model { font-size: 13px; color: var(--text-light); margin-bottom: var(--sp-4); }

.product-info__pricing {
  display: flex; align-items: baseline; gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border);
}

.product-info__stock {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: 14px; font-weight: 600; margin-bottom: var(--sp-4);
}
.in-stock  { color: var(--success); }
.out-stock { color: var(--danger); }

.product-info__qty {
  display: flex; align-items: center; gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.product-info__qty-label { font-size: 14px; font-weight: 600; color: var(--text-dark); }

.product-info__actions {
  display: flex; flex-direction: column; gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.product-info__meta {
  display: flex; flex-direction: column; gap: var(--sp-2);
  font-size: 13px; padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}
.product-info__meta-item {
  display: flex; align-items: flex-start; gap: var(--sp-2);
  color: var(--text-mid);
}
.product-info__meta-item i { color: var(--primary); width: 16px; margin-top: 2px; }

/* Product tabs */
.product-tabs {
  margin-top: var(--sp-7);
}
.tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--border);
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color var(--t-fast), border-color var(--t-fast);
  background: none; border-top: none; border-left: none; border-right: none;
}
.tab-btn:hover  { color: var(--primary); }
.tab-btn.is-active { color: var(--primary); border-bottom-color: var(--primary); }

.tab-panel { padding-top: var(--sp-5); display: none; }
.tab-panel.is-active { display: block; }

/* Specs table */
.specs-table {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.specs-table tr:nth-child(even) { background: var(--silver-light); }
.specs-table td {
  padding: var(--sp-3) var(--sp-4);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.specs-table td:first-child {
  font-weight: 600; color: var(--text-dark);
  width: 40%;
  border-right: 1px solid var(--border);
}
.specs-table td:last-child { color: var(--text-mid); }
.specs-table tr:last-child td { border-bottom: none; }


/* ============================================================
   30. PAGES — CART PAGE
   ============================================================ */
.cart-page { padding-block: var(--sp-7); }
.cart-page__grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.cart-table {}
.cart-table__header {
  display: none; /* hidden on mobile */
  grid-template-columns: 1fr auto auto auto;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  background: var(--silver-light);
  border-radius: var(--r-sm);
  margin-bottom: var(--sp-3);
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-light);
}

.cart-table__item {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-3);
  background: var(--white);
  transition: box-shadow var(--t-fast);
}
.cart-table__item:hover { box-shadow: var(--shadow-sm); }

.cart-table__img {
  width: 80px; height: 80px;
  object-fit: cover;
  border-radius: var(--r-sm);
  background: var(--silver-light);
  flex-shrink: 0;
}
.cart-table__info { flex: 1; min-width: 0; }
.cart-table__brand { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); }
.cart-table__name {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700; color: var(--text-dark);
  margin-block: var(--sp-1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-table__controls {
  display: flex; align-items: center;
  justify-content: space-between; gap: var(--sp-3);
  margin-top: var(--sp-3);
  flex-wrap: wrap;
}
.cart-table__price {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 800; color: var(--primary);
}
.cart-table__remove {
  display: flex; align-items: center; gap: var(--sp-1);
  font-size: 12px; color: var(--text-light);
  transition: color var(--t-fast);
}
.cart-table__remove:hover { color: var(--danger); }

/* Order summary card */
.order-summary {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.order-summary__head {
  padding: var(--sp-4) var(--sp-5);
  background: var(--silver-light);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: var(--text-dark);
}
.order-summary__body { padding: var(--sp-5); }
.order-summary__row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--sp-3);
  font-size: 14px; color: var(--text-mid);
}
.order-summary__row strong { color: var(--text-dark); }
.order-summary__total {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--sp-4);
  border-top: 2px solid var(--primary);
  margin-top: var(--sp-3);
}
.order-summary__total-label {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700; color: var(--text-dark);
}
.order-summary__total-value {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 800; color: var(--primary);
}
.order-summary__footer { padding: var(--sp-5); padding-top: 0; }


/* ============================================================
   31. PAGES — CHECKOUT (MULTI-STEP)
   ============================================================ */
.checkout-page { padding-block: var(--sp-7); }

/* Progress stepper */
.checkout-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--sp-7);
}

.step-item {
  display: flex; align-items: center; gap: 0;
}

.step-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  border: 2px solid var(--border);
  color: var(--text-light);
  background: var(--white);
  position: relative;
  z-index: 1;
  transition: all var(--t-mid);
  flex-shrink: 0;
}
.step-item.is-active .step-circle {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 0 0 4px var(--primary-pale);
}
.step-item.is-done .step-circle {
  border-color: var(--success);
  background: var(--success);
  color: var(--white);
}

.step-label {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600;
  color: var(--text-light);
  margin-left: var(--sp-2);
  white-space: nowrap;
  display: none; /* shown on tablet+ */
  transition: color var(--t-fast);
}
.step-item.is-active .step-label { color: var(--primary); }
.step-item.is-done .step-label { color: var(--success); }

.step-line {
  height: 2px;
  width: clamp(30px, 8vw, 80px);
  background: var(--border);
  transition: background var(--t-mid);
}
.step-line.is-done { background: var(--success); }

/* Step panels */
.checkout-step { display: none; }
.checkout-step.is-active { display: block; }

.checkout-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

/* Form card */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.form-card__header {
  padding: var(--sp-4) var(--sp-5);
  background: var(--silver-light);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: var(--sp-3);
}
.form-card__header-icon {
  width: 36px; height: 36px;
  background: var(--primary-pale);
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  color: var(--primary); font-size: 16px;
}
.form-card__title {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700; color: var(--text-dark);
}
.form-card__body { padding: var(--sp-5); }

/* Payment info card */
.payment-info-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.payment-info-card::before {
  content: '';
  position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}
.payment-info-card__bank {
  display: flex; align-items: center; gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.payment-info-card__bank-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.15);
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  font-size: 20px;
}
.payment-info-card__bank-name {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 800;
}
.payment-info-card__label {
  font-size: 11px; opacity: .7;
  text-transform: uppercase; letter-spacing: .07em;
  margin-bottom: 2px;
}
.payment-info-card__acct-name {
  font-size: 15px; font-weight: 600; opacity: .9;
}
.payment-info-card__acct-num {
  font-family: var(--font-mono);
  font-size: clamp(18px, 4vw, 26px); font-weight: 700;
  letter-spacing: 4px; color: var(--accent);
  margin-block: var(--sp-3);
}
.btn-copy-acct {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-sm);
  color: var(--white);
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: background var(--t-fast);
}
.btn-copy-acct:hover { background: rgba(255,255,255,.2); }

/* Order total callout */
.order-total-callout {
  background: var(--accent-light);
  border: 1.5px solid var(--accent);
  border-radius: var(--r-sm);
  padding: var(--sp-4);
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--sp-4);
}
.order-total-callout__label { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.order-total-callout__value {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800; color: var(--primary);
}

/* Checkout nav buttons */
.checkout-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
}


/* ============================================================
   32. PAGES — ORDER CONFIRMATION
   ============================================================ */
.confirm-page {
  padding-block: var(--sp-8);
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
}

.confirm-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  max-width: 640px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.confirm-card__hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: var(--sp-8) var(--sp-5);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.confirm-card__hero::before {
  content: '';
  position: absolute; top: -40px; left: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}

.confirm-icon-wrap {
  width: 72px; height: 72px;
  background: var(--success);
  border-radius: 50%;
  display: grid; place-items: center;
  margin-inline: auto;
  margin-bottom: var(--sp-4);
  font-size: 32px; color: var(--white);
  box-shadow: 0 0 0 8px rgba(46,125,50,.2);
  animation: confirm-pop .5s var(--t-spring) both;
}
@keyframes confirm-pop {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.confirm-card__hero-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 30px); font-weight: 800;
  color: var(--white); margin-bottom: var(--sp-2);
}
.confirm-card__hero-sub { color: var(--silver); font-size: 15px; }

.confirm-card__body { padding: var(--sp-5); }

.confirm-ref-block {
  background: var(--silver-light);
  border-radius: var(--r-sm);
  padding: var(--sp-4);
  margin-bottom: var(--sp-5);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3);
}
.confirm-ref-item {}
.confirm-ref-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; color: var(--text-light);
  margin-bottom: 2px;
}
.confirm-ref-value {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 800; color: var(--primary);
}

.confirm-items {
  margin-bottom: var(--sp-5);
}
.confirm-items__title {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-light); margin-bottom: var(--sp-3);
}
.confirm-item {
  display: flex; justify-content: space-between;
  font-size: 14px; padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--border);
}
.confirm-item:last-child { border-bottom: none; }
.confirm-item__name { color: var(--text-dark); font-weight: 500; }
.confirm-item__price { font-weight: 700; color: var(--primary); font-family: var(--font-display); }

.confirm-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--sp-4);
  background: var(--primary-pale);
  border-radius: var(--r-sm);
  border: 1.5px solid var(--primary);
  margin-bottom: var(--sp-5);
}
.confirm-total__label { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--text-dark); }
.confirm-total__value { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--primary); }
.confirm-total__sub { font-size: 11px; color: var(--text-light); }

/* Steps list */
.confirm-next-steps {
  margin-bottom: var(--sp-5);
}
.confirm-next-steps__title {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700; color: var(--text-dark);
  margin-bottom: var(--sp-3);
}
.next-step {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.next-step__num {
  width: 28px; height: 28px;
  background: var(--primary);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700; color: var(--white);
  flex-shrink: 0;
}
.next-step__text { font-size: 14px; color: var(--text-mid); padding-top: 4px; line-height: 1.5; }

.confirm-card__actions {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  padding: var(--sp-5);
  padding-top: 0;
}


/* ============================================================
   33. PAGES — ABOUT
   ============================================================ */
.about-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding-block: var(--sp-9);
  text-align: center;
}
.about-hero h1 { color: var(--white); }
.about-hero p  { color: var(--silver); max-width: 560px; margin-inline: auto; margin-top: var(--sp-3); }

.about-story {
  padding-block: var(--sp-8);
}
.about-story__grid {
  display: flex; flex-direction: column; gap: var(--sp-6);
}
.about-story__img-wrap {
  width: 100%; aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--silver-light);
  border: 1px solid var(--border);
}
.about-story__img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.about-stats {
  background: var(--primary);
  padding-block: var(--sp-7);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4);
}
.stat-item { text-align: center; }
.stat-item__number {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 48px); font-weight: 800; color: var(--white);
  line-height: 1;
}
.stat-item__label { font-size: 13px; color: var(--silver); margin-top: var(--sp-1); }

.about-map {
  border-radius: var(--r-md);
  overflow: hidden;
  height: 280px;
  background: var(--silver-light);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.about-map iframe { width: 100%; height: 100%; border: none; }
.about-map__placeholder {
  text-align: center; color: var(--text-light);
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-3);
}
.about-map__placeholder i { font-size: 48px; }


/* ============================================================
   34. PAGES — CONTACT
   ============================================================ */
.contact-page { padding-block: var(--sp-7); }
.contact-grid {
  display: flex; flex-direction: column; gap: var(--sp-6);
}

.contact-info-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  color: var(--white);
}
.contact-info-card h2 { color: var(--white); margin-bottom: var(--sp-5); }

.contact-detail {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.contact-detail__icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.12);
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  font-size: 16px; color: var(--accent);
  flex-shrink: 0;
}
.contact-detail__label { font-size: 11px; opacity: .7; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.contact-detail__value { font-size: 14px; font-weight: 600; }
.contact-detail__value a { color: var(--white); text-decoration: none; }

.contact-hours {
  background: rgba(255,255,255,.08);
  border-radius: var(--r-sm);
  padding: var(--sp-4);
  margin-top: var(--sp-5);
}
.contact-hours__title {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--accent); margin-bottom: var(--sp-3);
}
.contact-hours__row {
  display: flex; justify-content: space-between;
  font-size: 13px; padding: var(--sp-1) 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.contact-hours__row:last-child { border-bottom: none; }
.contact-hours__closed { color: rgba(255,255,255,.4); font-style: italic; }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.contact-form-card__header {
  padding: var(--sp-4) var(--sp-5);
  background: var(--silver-light);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700; color: var(--text-dark);
}
.contact-form-card__body { padding: var(--sp-5); }

.contact-direct-btns {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
}
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.btn-whatsapp:hover { background: #1ea855; border-color: #1ea855; }


/* ============================================================
   35. PRINT STYLES
   ============================================================ */
@media print {
  .topbar,
  .header,
  .footer,
  .cart-drawer,
  .toast-container,
  .modal-overlay,
  .lightbox,
  .btn-cart,
  .btn-hamburger,
  .mobile-nav,
  .nav-overlay,
  .confirm-card__actions .btn:not(.btn-print) {
    display: none !important;
  }

  body {
    padding-top: 0;
    font-size: 12pt;
    color: black;
  }

  .confirm-card {
    box-shadow: none;
    border: 1px solid #ccc;
    max-width: 100%;
  }

  a[href]::after {
    content: none;
  }
}


/* ============================================================
   36. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .topbar__ticker-track { animation: none; }
}


/* ============================================================
   37. RESPONSIVE — TABLET (≥768px)
   ============================================================ */
@media (min-width: 768px) {

  /* Topbar */
  .topbar__ticker  { display: none; }
  .topbar__promo   { display: block; }

  /* Header */
  .btn-search .search-hint { display: inline; }

  /* Hero */
  .hero__image { display: block; }
  .hero__inner { max-width: 58%; }

  /* Category grid */
  .category-grid { grid-template-columns: repeat(3, 1fr); }

  /* Value grid */
  .value-grid { grid-template-columns: repeat(4, 1fr); }

  /* Product grid */
  .product-grid { grid-template-columns: repeat(3, 1fr); }

  /* Carousel arrows */
  .carousel-arrow { display: flex; }

  /* Footer */
  .footer__grid { grid-template-columns: repeat(2, 1fr); }

  /* Products layout */
  .filter-sidebar { display: block; }
  .btn-filter-mobile { display: none; }

  /* Grid 3 and 4 cols */
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* Step labels */
  .step-label { display: block; }

  /* Checkout grid 2-col */
  .checkout-grid { flex-direction: row; align-items: flex-start; }
  .checkout-grid > *:first-child { flex: 1; }
  .checkout-grid > *:last-child { width: 340px; flex-shrink: 0; position: sticky; top: calc(var(--topbar-h) + var(--header-h) + var(--sp-4)); }

  /* Cart page grid */
  .cart-page__grid { flex-direction: row; align-items: flex-start; }
  .cart-table { flex: 1; }
  .order-summary { width: 320px; flex-shrink: 0; position: sticky; top: calc(var(--topbar-h) + var(--header-h) + var(--sp-4)); }

  /* Product detail */
  .product-detail__grid { flex-direction: row; align-items: flex-start; }
  .product-gallery { width: 50%; flex-shrink: 0; }
  .product-info { flex: 1; }

  /* Cart table header */
  .cart-table__header { display: grid; }

  /* Product info actions row */
  .product-info__actions { flex-direction: row; }

  /* About */
  .about-story__grid { flex-direction: row; align-items: center; }
  .about-story__img-wrap { width: 45%; flex-shrink: 0; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }

  /* Contact */
  .contact-grid { flex-direction: row; align-items: flex-start; }
  .contact-info-card { width: 340px; flex-shrink: 0; }
  .contact-form-card { flex: 1; }

  /* Modal alignment: center on tablet+ */
  .modal-overlay { align-items: center; }
  .modal { border-radius: var(--r-lg); }
}


/* ============================================================
   38. RESPONSIVE — DESKTOP (≥1024px)
   ============================================================ */
@media (min-width: 1024px) {

  /* Nav */
  .nav { display: flex; }
  .btn-hamburger { display: none; }

  /* Category grid */
  .category-grid { grid-template-columns: repeat(4, 1fr); }

  /* Product grid */
  .product-grid { grid-template-columns: repeat(4, 1fr); }

  /* Grid utils */
  .grid-4 { grid-template-columns: repeat(4, 1fr); }

  /* Footer */
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }

  /* Hero */
  .hero__inner { max-width: 55%; padding-block: var(--sp-10); }

  /* Product card quick view hover enabled */
  .product-card__quick-view { pointer-events: all; }

  /* Products layout: sidebar always visible */
  .btn-filter-mobile { display: none; }

  /* Container padding */
  .container { padding-inline: var(--sp-5); }
}


/* ============================================================
   39. RESPONSIVE — WIDE (≥1280px)
   ============================================================ */
@media (min-width: 1280px) {

  :root {
    --header-h: 80px;
  }

  .container { padding-inline: var(--sp-6); }

  .hero { min-height: 85vh; }

  .product-strip .product-card { flex: 0 0 240px; }

  .footer__grid { grid-template-columns: 2.5fr 1fr 1fr 1.5fr; gap: var(--sp-8); }
}


/* ============================================================
   END OF NWAX CLOSS STYLESHEET
   ============================================================ */
