/* ============================================================
   EasyMove Center Australia - Design System v2.0
   Premium Mobility Equipment E-Commerce
   ============================================================ */

/* ============================================================
   0. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  --primary:        #0F4C81;
  --primary-dark:   #0a3a65;
  --primary-light:  #1565C0;
  --secondary:      #1E88E5;
  --accent:         #00BFA6;
  --accent-dark:    #00897B;
  --accent-light:   #4DD0C4;

  --bg:             #F8FAFC;
  --surface:        #FFFFFF;
  --surface-2:      #F1F5F9;

  --dark:           #1E293B;
  --gray:           #64748B;
  --gray-light:     #CBD5E1;
  --gray-lighter:   #E2E8F0;
  --gray-lightest:  #F8FAFC;

  --warning:        #F59E0B;
  --danger:         #EF4444;
  --success:        #10B981;

  --font-sans:      'Inter', system-ui, -apple-system, sans-serif;
  --font-display:   'Plus Jakarta Sans', var(--font-sans);

  --shadow-sm:      0 1px 3px rgba(15, 76, 129, 0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow:         0 4px 15px rgba(15, 76, 129, 0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-md:      0 8px 30px rgba(15, 76, 129, 0.12), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg:      0 20px 50px rgba(15, 76, 129, 0.15), 0 8px 20px rgba(0,0,0,0.10);

  --radius-sm:      0.5rem;
  --radius:         0.75rem;
  --radius-lg:      1rem;
  --radius-xl:      1.5rem;
  --radius-full:    9999px;

  --transition:     0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   1A. BOOTSTRAP 5 GRID + UTILITIES (self-hosted subset)
   ============================================================ */
.container,
.container-fluid {
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}
.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

/* Gap utilities */
.g-0  { --bs-gutter-x: 0;     --bs-gutter-y: 0; }
.g-1  { --bs-gutter-x: .25rem; --bs-gutter-y: .25rem; }
.g-2  { --bs-gutter-x: .5rem;  --bs-gutter-y: .5rem; }
.g-3  { --bs-gutter-x: 1rem;   --bs-gutter-y: 1rem; }
.g-4  { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; }
.g-5  { --bs-gutter-x: 3rem;   --bs-gutter-y: 3rem; }
.row.g-1, .row.g-2, .row.g-3, .row.g-4, .row.g-5 {
  margin-right: calc(var(--bs-gutter-x) * -.5);
  margin-left:  calc(var(--bs-gutter-x) * -.5);
}
.row.g-1 > *, .row.g-2 > *, .row.g-3 > *, .row.g-4 > *, .row.g-5 > * {
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left:  calc(var(--bs-gutter-x) * .5);
  margin-top: var(--bs-gutter-y);
}
.row.g-lg-5 { --bs-gutter-x: 3rem; --bs-gutter-y: 3rem; }

/* Columns – mobile first (always 100%) */
.col    { flex: 1 0 0%; }
.col-1  { width: 8.333%; }
.col-2  { width: 16.666%; }
.col-3  { width: 25%; }
.col-4  { width: 33.333%; }
.col-5  { width: 41.666%; }
.col-6  { width: 50%; }
.col-7  { width: 58.333%; }
.col-8  { width: 66.666%; }
.col-9  { width: 75%; }
.col-10 { width: 83.333%; }
.col-11 { width: 91.666%; }
.col-12 { width: 100%; }

/* SM ≥576 */
@media (min-width: 576px) {
  .col-sm-1  { width: 8.333%; }
  .col-sm-2  { width: 16.666%; }
  .col-sm-3  { width: 25%; }
  .col-sm-4  { width: 33.333%; }
  .col-sm-5  { width: 41.666%; }
  .col-sm-6  { width: 50%; }
  .col-sm-7  { width: 58.333%; }
  .col-sm-8  { width: 66.666%; }
  .col-sm-9  { width: 75%; }
  .col-sm-10 { width: 83.333%; }
  .col-sm-11 { width: 91.666%; }
  .col-sm-12 { width: 100%; }
}
/* MD ≥768 */
@media (min-width: 768px) {
  .col-md-1  { width: 8.333%; }
  .col-md-2  { width: 16.666%; }
  .col-md-3  { width: 25%; }
  .col-md-4  { width: 33.333%; }
  .col-md-5  { width: 41.666%; }
  .col-md-6  { width: 50%; }
  .col-md-7  { width: 58.333%; }
  .col-md-8  { width: 66.666%; }
  .col-md-9  { width: 75%; }
  .col-md-10 { width: 83.333%; }
  .col-md-11 { width: 91.666%; }
  .col-md-12 { width: 100%; }
}
/* LG ≥992 */
@media (min-width: 992px) {
  .col-lg-1  { width: 8.333%; }
  .col-lg-2  { width: 16.666%; }
  .col-lg-3  { width: 25%; }
  .col-lg-4  { width: 33.333%; }
  .col-lg-5  { width: 41.666%; }
  .col-lg-6  { width: 50%; }
  .col-lg-7  { width: 58.333%; }
  .col-lg-8  { width: 66.666%; }
  .col-lg-9  { width: 75%; }
  .col-lg-10 { width: 83.333%; }
  .col-lg-11 { width: 91.666%; }
  .col-lg-12 { width: 100%; }
}
/* XL ≥1200 */
@media (min-width: 1200px) {
  .col-xl-1  { width: 8.333%; }
  .col-xl-2  { width: 16.666%; }
  .col-xl-3  { width: 25%; }
  .col-xl-4  { width: 33.333%; }
  .col-xl-5  { width: 41.666%; }
  .col-xl-6  { width: 50%; }
  .col-xl-7  { width: 58.333%; }
  .col-xl-8  { width: 66.666%; }
  .col-xl-9  { width: 75%; }
  .col-xl-10 { width: 83.333%; }
  .col-xl-11 { width: 91.666%; }
  .col-xl-12 { width: 100%; }
}

/* Display utilities */
.d-none    { display: none !important; }
.d-block   { display: block !important; }
.d-flex    { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-inline  { display: inline !important; }
@media (min-width: 576px)  { .d-sm-none { display: none !important; } .d-sm-block { display: block !important; } .d-sm-flex { display: flex !important; } .d-sm-inline-flex { display: inline-flex !important; } }
@media (min-width: 768px)  { .d-md-none { display: none !important; } .d-md-block { display: block !important; } .d-md-flex { display: flex !important; } .d-md-inline-flex { display: inline-flex !important; } }
@media (min-width: 992px)  { .d-lg-none { display: none !important; } .d-lg-block { display: block !important; } .d-lg-flex { display: flex !important; } .d-lg-inline-flex { display: inline-flex !important; } }
@media (min-width: 1200px) { .d-xl-none { display: none !important; } .d-xl-block { display: block !important; } .d-xl-flex { display: flex !important; } .d-xl-inline-flex { display: inline-flex !important; } }

/* Flex utilities */
.align-items-center  { align-items: center !important; }
.align-items-start   { align-items: flex-start !important; }
.align-items-end     { align-items: flex-end !important; }
.justify-content-center  { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end     { justify-content: flex-end !important; }
.flex-wrap   { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.flex-column { flex-direction: column !important; }

/* Spacing utilities */
.m-0  { margin: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: .25rem !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .25rem !important; }
.mt-2 { margin-top: .5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.me-auto  { margin-right: auto !important; }
.me-lg-0  { margin-right: 0 !important; }
.ms-auto  { margin-left: auto !important; }
.gap-1 { gap: .25rem !important; }
.gap-2 { gap: .5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 3rem !important; }

/* Text utilities */
.text-center  { text-align: center !important; }
.text-start   { text-align: left !important; }
.text-end     { text-align: right !important; }
.text-white   { color: white !important; }
.fw-bold      { font-weight: 700 !important; }
.fw-bolder    { font-weight: 800 !important; }
.small        { font-size: .875rem !important; }

/* Width utilities */
.w-100 { width: 100% !important; }
.mw-100 { max-width: 100% !important; }

/* Row-cols utilities (product grids) */
.row-cols-1 > * { width: 100%; }
.row-cols-2 > * { width: 50%; }
.row-cols-3 > * { width: 33.333%; }
.row-cols-4 > * { width: 25%; }
@media (min-width: 576px) {
  .row-cols-sm-2 > * { width: 50%; }
  .row-cols-sm-3 > * { width: 33.333%; }
}
@media (min-width: 768px) {
  .row-cols-md-2 > * { width: 50%; }
  .row-cols-md-3 > * { width: 33.333%; }
  .row-cols-md-4 > * { width: 25%; }
}
@media (min-width: 992px) {
  .row-cols-lg-3 > * { width: 33.333%; }
  .row-cols-lg-4 > * { width: 25%; }
}
@media (min-width: 1200px) {
  .row-cols-xl-4 > * { width: 25%; }
  .row-cols-xl-5 > * { width: 20%; }
}

/* Missing spacing */
.fw-600 { font-weight: 600 !important; }
.text-success { color: var(--success) !important; }
.text-danger  { color: var(--danger) !important; }
.mt-2 { margin-top: .5rem !important; }
.fw-bold { font-weight: 700 !important; }

/* Border utilities */
.border   { border: 1px solid var(--gray-lighter) !important; }
.rounded  { border-radius: var(--radius) !important; }
.rounded-0 { border-radius: 0 !important; }

/* Position utilities */
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }

/* Overflow */
.overflow-hidden { overflow: hidden !important; }

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}
.promo-banner:first-child,
body > .promo-banner:first-of-type {
  margin-top: 0 !important;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); transition: color var(--transition); }
a:hover { color: var(--secondary); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); line-height: 1.25; color: var(--dark); }

/* ============================================================
   2. TYPOGRAPHY UTILITIES
   ============================================================ */
.font-display  { font-family: var(--font-display); }
.text-primary  { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-accent   { color: var(--accent) !important; }
.text-gray     { color: var(--gray) !important; }
.text-dark     { color: var(--dark) !important; }

.section-label,
.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-badge {
  background: rgba(0,191,166,0.12);
  border: 1px solid rgba(0,191,166,0.3);
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   3. PROMO BANNER
   ============================================================ */
.promo-banner {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 9px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 1010;
}
.promo-marquee { display: inline-block; animation: marqueeScroll 45s linear infinite; }
.promo-item { display: inline-block; margin-right: 3rem; }
.promo-item::before { content: "✦"; margin-right: 8px; color: var(--accent); }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================
   4. NAVIGATION
   ============================================================ */
.site-navbar {
  background: var(--surface);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--gray-lighter);
  transition: box-shadow var(--transition);
}
.site-navbar.scrolled {
  box-shadow: var(--shadow-md);
}
.site-navbar .container { min-height: 70px; display: flex; align-items: center; }

.navbar-brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: white;
  letter-spacing: -1px;
  flex-shrink: 0;
}
.brand-text strong { color: var(--dark); font-size: 1.05rem; display: block; line-height: 1.1; }
.brand-text small { color: var(--gray); font-size: 0.68rem; }

/* Nav Links */
.nav-menu { list-style: none; display: flex; align-items: center; gap: 0; margin: 0; padding: 0; }
.nav-menu a {
  display: block;
  padding: 0.55rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--dark);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--primary);
  background: rgba(15, 76, 129, 0.06);
}
.nav-menu .has-dropdown { position: relative; }

/* Mega Dropdown */
.mega-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-lighter);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 200;
}
.has-dropdown:hover .mega-dropdown,
.mega-dropdown:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--dark);
}
.mega-dropdown a:hover { background: var(--gray-lightest); color: var(--primary); }
.mega-dropdown a i { width: 22px; color: var(--accent); font-size: 1rem; }
.mega-dropdown a .dd-desc { font-size: 0.7rem; color: var(--gray); font-weight: 400; display: block; }
.mega-dropdown .dd-divider { height: 1px; background: var(--gray-lighter); margin: 4px 0; }

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-lighter);
  background: transparent;
  color: var(--dark);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  font-size: 1rem;
  text-decoration: none;
}
.nav-btn:hover { background: var(--gray-lightest); border-color: var(--primary); color: var(--primary); }
.nav-btn .badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--danger);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

.btn-primary-nav {
  background: var(--primary);
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(15, 76, 129, 0.3);
  color: white !important;
}

/* Currency Switcher */
.currency-switcher {
  position: relative;
}
.currency-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--gray-lighter);
  border-radius: var(--radius-full);
  background: transparent;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  transition: all var(--transition);
}
.currency-btn:hover { border-color: var(--primary); color: var(--primary); }
.currency-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-lighter);
  min-width: 160px;
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--transition);
  z-index: 500;
}
.currency-switcher:hover .currency-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.currency-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 500;
  transition: background var(--transition);
}
.currency-option:hover { background: var(--gray-lightest); }
.currency-option.active { background: rgba(15,76,129,0.08); color: var(--primary); font-weight: 600; }
.currency-option .cur-code { font-weight: 700; margin-right: 4px; }
.currency-option .cur-symbol { color: var(--gray); font-size: 0.75rem; }

/* Mobile Navbar */
.navbar-toggler {
  border: 1px solid var(--gray-lighter);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  background: transparent;
  cursor: pointer;
  display: none;
}
.navbar-toggler span {
  display: block;
  width: 22px; height: 2px;
  background: var(--dark);
  margin: 4px 0;
  border-radius: 2px;
  transition: all var(--transition);
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.96);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-overlay .search-inner { width: 100%; max-width: 680px; padding: 0 1rem; }
.search-overlay input {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  padding: 1rem 1.5rem;
  font-size: 1.2rem;
  color: white;
  outline: none;
  transition: border-color var(--transition);
}
.search-overlay input:focus { border-color: var(--accent); }
.search-overlay input::placeholder { color: rgba(255,255,255,0.4); }
.search-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: rgba(255,255,255,0.7);
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition);
}
.search-close:hover { color: white; }
.search-results { margin-top: 1rem; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: white;
  transition: background var(--transition);
}
.search-result-item:hover { background: rgba(255,255,255,0.1); }
.search-result-item img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--radius-sm); }
.search-result-item .result-name { font-weight: 600; font-size: 0.9rem; }
.search-result-item .result-price { color: var(--accent); font-size: 0.8rem; }

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 76, 129, 0.35);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
}
.btn-secondary:hover {
  background: var(--primary-light);
  color: white;
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 191, 166, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  color: white;
}

.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.82rem; }
.btn-icon { padding: 0.6rem; width: 42px; height: 42px; }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   6. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: #0a0a0a;
  overflow: hidden;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-showroom.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  opacity: 1;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(5, 15, 30, 0.78) 0%,
    rgba(5, 15, 30, 0.55) 55%,
    rgba(5, 15, 30, 0.35) 100%
  );
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  z-index: 1;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 15% 70%, rgba(0,191,166,0.12) 0%, transparent 50%);
  z-index: 2;
}
.hero .container { position: relative; z-index: 3; padding: 5rem 1rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,191,166,0.2);
  border: 1px solid rgba(0,191,166,0.5);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: white;
  margin-bottom: 1.5rem;
}
.hero-title em {
  color: var(--accent-light);
  font-style: normal;
  position: relative;
}
.hero-title em::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: 3px;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num { font-size: 1.8rem; font-weight: 800; color: white; line-height: 1; }
.hero-stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }

/* ============================================================
   7. TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--gray-lighter);
  padding: 1rem 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
}
.trust-item i { color: var(--accent); font-size: 1.1rem; }

/* ============================================================
   8. PRODUCT CARDS
   ============================================================ */
/* --- Product Card ---------------------------------------- */
.product-card {
  background: #fff;
  border-radius: 18px;
  border: 1.5px solid #EEF2F7;
  box-shadow: 0 2px 12px rgba(15,76,129,0.06);
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(.2,.8,.3,1), box-shadow 0.28s ease, border-color 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(15,76,129,0.14);
  border-color: var(--accent);
}

/* Image area */
.product-img-wrap {
  position: relative;
  overflow: hidden;
  background: #F6F9FC;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.45s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.07); }

/* Shine sweep on hover */
.product-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
  pointer-events: none;
}
.product-card:hover .product-img-wrap::after { transform: translateX(100%); }

/* Badges */
.product-badges {
  position: absolute;
  top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 5px; z-index: 2;
}
.badge-tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}
.badge-new      { background: var(--accent);   color: #fff; }
.badge-sale     { background: #EF4444;          color: #fff; }
.badge-featured { background: var(--primary);   color: #fff; }
.badge-hot      { background: var(--warning);   color: #fff; }

/* Wishlist / action buttons overlay */
.product-actions {
  position: absolute;
  top: 10px; right: 10px;
  display: flex; flex-direction: column; gap: 7px; z-index: 2;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }

.action-btn {
  width: 38px; height: 38px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid #E2E8F0;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--gray);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.action-btn:hover        { background: var(--primary); color: #fff; border-color: var(--primary); }
.action-btn.wishlisted   { color: #EF4444; border-color: rgba(239,68,68,0.35); }

/* Body */
.product-body {
  padding: 1rem 1.1rem 0.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.product-category {
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent);
}

.product-title {
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--dark);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}
.stars         { color: #F59E0B; font-size: 0.77rem; letter-spacing: 1px; }
.rating-count  { font-size: 0.7rem; color: var(--gray); }

.product-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 6px;
}
.price-current { font-size: 1.25rem; font-weight: 800; color: var(--primary); line-height: 1; }
.price-old     { font-size: 0.85rem; color: #94A3B8; text-decoration: line-through; }
.price-save    { font-size: 0.67rem; background: #FEE2E2; color: #DC2626; padding: 3px 9px; border-radius: 999px; font-weight: 700; }

/* Footer CTA row */
.product-footer {
  padding: 0.75rem 1.1rem 1.1rem;
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.product-footer .btn {
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 0.6rem;
  letter-spacing: 0.02em;
}
.product-footer .btn-primary {
  flex: 2;
  background: var(--primary);
  color: #fff;
  border: none;
}
.product-footer .btn-primary:hover { background: var(--primary-dark); }
.product-footer .btn-outline {
  flex: 1;
  border: 1.5px solid #CBD5E1;
  color: var(--gray);
  background: transparent;
}
.product-footer .btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(15,76,129,0.05); }

/* Out-of-stock overlay */
.product-card.out-of-stock .product-img-wrap::before {
  content: 'OUT OF STOCK';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #64748B;
  z-index: 3;
}

/* ============================================================
   9. CATEGORY CARDS
   ============================================================ */
.cat-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.cat-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cat-card:hover img { transform: scale(1.08); }
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,76,129,0.85) 0%, transparent 55%);
  transition: all var(--transition);
}
.cat-card:hover .cat-card-overlay { background: linear-gradient(to top, rgba(0,137,123,0.85) 0%, transparent 60%); }
.cat-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem;
  color: white;
}
.cat-card-title { font-weight: 800; font-size: 1.05rem; margin-bottom: 2px; }
.cat-card-count { font-size: 0.75rem; opacity: 0.75; }
.cat-card-icon {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: white;
}

/* ============================================================
   10. SECTION LAYOUTS
   ============================================================ */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }
.section-dark { background: var(--dark); color: rgba(255,255,255,0.85); }
.section-primary { background: var(--primary); color: white; }
.section-accent { background: var(--accent-dark); color: white; }
.section-light { background: var(--surface-2); }
.section-gradient { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); color: white; }

/* ============================================================
   11. WHY CHOOSE US / FEATURE BOXES
   ============================================================ */
.feature-box {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--gray-lighter);
  transition: all var(--transition);
  height: 100%;
}
.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.feature-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(15,76,129,0.1) 0%, rgba(0,191,166,0.1) 100%);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.6rem;
  color: var(--primary);
  transition: all var(--transition);
}
.feature-box:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
}
.feature-title { font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.feature-desc { font-size: 0.875rem; color: var(--gray); line-height: 1.6; }

/* ============================================================
   12. TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}
.testimonial-stars { color: var(--warning); font-size: 1rem; letter-spacing: 2px; }
.testimonial-text { color: rgba(255,255,255,0.8); line-height: 1.7; font-size: 0.95rem; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; color: white; flex-shrink: 0;
}
.testimonial-name { font-weight: 700; color: white; font-size: 0.9rem; }
.testimonial-location { font-size: 0.75rem; color: rgba(255,255,255,0.5); }

/* ============================================================
   13. STATS COUNTER SECTION
   ============================================================ */
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ============================================================
   14. NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -40%; right: -5%;
  width: 350px; height: 350px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-full);
}
.newsletter-input-wrap {
  display: flex;
  gap: 0;
  max-width: 500px;
  background: white;
  border-radius: var(--radius-full);
  padding: 5px;
  overflow: hidden;
}
.newsletter-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.7rem 1.25rem;
  font-size: 0.9rem;
  background: transparent;
  color: var(--dark);
}
.newsletter-input::placeholder { color: var(--gray); }

/* ============================================================
   15. BRANDS STRIP
   ============================================================ */
.brands-strip { overflow: hidden; }
.brands-track {
  display: flex;
  gap: 2.5rem;
  animation: brandsScroll 30s linear infinite;
  width: max-content;
}
.brands-track:hover { animation-play-state: paused; }
.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: all var(--transition);
  flex-shrink: 0;
}
.brand-logo:hover { opacity: 1; filter: none; }
.brand-name-text {
  display: flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--gray-lightest);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gray);
  white-space: nowrap;
  transition: all var(--transition);
}
.brand-name-text:hover { background: var(--primary); color: white; }
@keyframes brandsScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================
   16. FINANCING SECTION
   ============================================================ */
.financing-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 2px solid var(--gray-lighter);
  padding: 2rem;
  transition: all var(--transition);
  height: 100%;
}
.financing-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.financing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(15,76,129,0.04) 0%, rgba(0,191,166,0.04) 100%);
}

/* ============================================================
   17. CART SIDEBAR
   ============================================================ */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-sidebar {
  position: fixed;
  top: 0; right: 0;
  width: 420px;
  max-width: 95vw;
  height: 100vh;
  background: var(--surface);
  z-index: 1050;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-sidebar.open { transform: translateX(0); }
.cart-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-lighter);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-header h4 { font-weight: 800; font-size: 1.1rem; }
.cart-close {
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--gray-lightest);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}
.cart-close:hover { background: var(--danger); color: white; }
.cart-body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-item {
  display: flex; gap: 12px;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-lighter);
  position: relative;
}
.cart-item-img {
  width: 72px; height: 72px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
  background: var(--gray-lightest);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: 0.88rem; line-height: 1.4; margin-bottom: 4px; }
.cart-item-price { color: var(--primary); font-weight: 700; font-size: 0.95rem; }
.cart-item-qty {
  display: flex; align-items: center; gap: 8px;
  margin-top: 8px;
}
.qty-btn {
  width: 26px; height: 26px;
  border: 1px solid var(--gray-lighter);
  border-radius: var(--radius-full);
  background: white;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  color: var(--dark);
}
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.qty-val { font-weight: 700; min-width: 20px; text-align: center; font-size: 0.875rem; }
.cart-remove {
  position: absolute; top: 12px; right: 0;
  background: none; border: none; cursor: pointer;
  color: var(--gray); font-size: 0.9rem;
  transition: color var(--transition);
}
.cart-remove:hover { color: var(--danger); }
.cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--gray-lighter);
}
.cart-total-row {
  display: flex; justify-content: space-between;
  font-weight: 700; font-size: 1rem; margin-bottom: 1rem;
}
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--gray); }
.cart-empty i { font-size: 3rem; color: var(--gray-light); margin-bottom: 1rem; display: block; }

/* ============================================================
   18. BREADCRUMB
   ============================================================ */
.breadcrumb-wrap {
  background: var(--surface);
  border-bottom: 1px solid var(--gray-lighter);
  padding: 0.75rem 0;
}
.breadcrumb {
  display: flex; align-items: center;
  flex-wrap: wrap; gap: 4px;
  margin: 0; padding: 0; list-style: none;
}
.breadcrumb-item {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.82rem; color: var(--gray);
}
.breadcrumb-item a { color: var(--gray); text-decoration: none; }
.breadcrumb-item a:hover { color: var(--primary); }
.breadcrumb-item.active { color: var(--dark); font-weight: 600; }
.breadcrumb-item:not(:last-child)::after { content: '/'; color: var(--gray-light); margin-left: 4px; }

/* ============================================================
   19. PRODUCT DETAIL PAGE
   ============================================================ */
.product-gallery-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gray-lightest);
  aspect-ratio: 1;
  position: relative;
}
.product-gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}
.product-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.product-thumb {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid var(--gray-lighter);
  transition: border-color var(--transition);
}
.product-thumb.active { border-color: var(--primary); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 0.75rem; }
.product-detail-price .price-current { font-size: 2rem; }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--gray-lighter); }
.spec-table td {
  padding: 0.75rem 0;
  font-size: 0.9rem;
}
.spec-table td:first-child {
  color: var(--gray);
  font-weight: 500;
  width: 40%;
}
.spec-table td:last-child { font-weight: 600; }

/* ============================================================
   20. FILTERS SIDEBAR (Products Page)
   ============================================================ */
.filter-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-lighter);
  padding: 1.25rem;
}
.filter-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  display: flex; align-items: center; gap: 8px;
}
.filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.875rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.filter-item:hover { color: var(--primary); }
.filter-item input { margin-right: 8px; accent-color: var(--primary); cursor: pointer; }
.filter-count {
  font-size: 0.7rem;
  background: var(--gray-lightest);
  color: var(--gray);
  padding: 1px 7px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

/* Price Range */
.price-range-wrap { padding: 0.5rem 0; }
.price-range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--gray-lighter);
  outline: none;
  margin: 1rem 0;
}
.price-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15,76,129,0.3);
}
.price-display { display: flex; justify-content: space-between; font-size: 0.82rem; font-weight: 600; }

/* Product Toolbar */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--gray-lighter);
  margin-bottom: 1.5rem;
}
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--gray-lighter);
  border-radius: var(--radius-sm);
  background: white;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
  color: var(--gray);
}
.view-btn.active, .view-btn:hover {
  background: var(--primary); color: white; border-color: var(--primary);
}
.sort-select {
  border: 1px solid var(--gray-lighter);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark);
  outline: none;
  cursor: pointer;
  background: white;
}
.sort-select:focus { border-color: var(--primary); }

/* ============================================================
   21. FORMS
   ============================================================ */
.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
  display: block;
}
.form-control {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1.5px solid var(--gray-lighter);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--surface);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: var(--font-sans);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
}
.form-control::placeholder { color: var(--gray-light); }
.form-control.error { border-color: var(--danger); }

/* ============================================================
   22. CART & CHECKOUT PAGES
   ============================================================ */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
  border-bottom: 2px solid var(--gray-lighter);
}
.cart-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--gray-lighter);
  vertical-align: middle;
}
.cart-table img { width: 70px; height: 70px; object-fit: cover; border-radius: var(--radius-sm); }

.order-summary-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-lighter);
  padding: 1.5rem;
}
.order-summary-row {
  display: flex; justify-content: space-between;
  font-size: 0.9rem; padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-lighter);
}
.order-summary-row:last-child { border-bottom: none; }
.order-summary-total {
  font-size: 1.1rem; font-weight: 800; color: var(--primary);
}
.coupon-input-wrap { display: flex; gap: 8px; margin-top: 1rem; }

/* Payment Method Cards */
.payment-method {
  display: block;
  cursor: pointer;
}
.payment-method input { display: none; }
.payment-method-card {
  border: 2px solid var(--gray-lighter);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition);
}
.payment-method input:checked + .payment-method-card {
  border-color: var(--primary);
  background: rgba(15, 76, 129, 0.04);
}
.payment-icon { font-size: 1.5rem; }

/* ============================================================
   23. ADMIN PANEL
   ============================================================ */
.admin-sidebar {
  width: 260px;
  background: var(--primary-dark);
  min-height: 100vh;
  position: fixed;
  left: 0; top: 0;
  z-index: 1000;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.admin-sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; gap: 10px;
}
.admin-brand-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1rem; color: white;
}
.admin-nav { flex: 1; padding: 1rem 0.75rem; overflow-y: auto; }
.admin-nav-section {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  padding: 1.25rem 0.75rem 0.5rem;
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all var(--transition);
  margin-bottom: 2px;
}
.admin-nav-link:hover, .admin-nav-link.active {
  background: rgba(255,255,255,0.1);
  color: white;
}
.admin-nav-link.active { background: rgba(0,191,166,0.2); color: var(--accent-light); }
.admin-nav-link i { width: 20px; font-size: 1rem; flex-shrink: 0; }
.admin-nav-badge {
  margin-left: auto;
  background: var(--danger);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: var(--radius-full);
}

.admin-content { margin-left: 260px; min-height: 100vh; background: #F1F5F9; padding: 1.5rem; }
.admin-topbar {
  background: white;
  padding: 0 1.5rem;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--gray-lighter);
  box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 100;
}
.admin-main { padding: 1.5rem; }
.admin-page-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.25rem; }
.admin-page-subtitle { font-size: 0.875rem; color: var(--gray); }

/* Admin Stat Cards */
.admin-stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-lighter);
  transition: all var(--transition);
}
.admin-stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.admin-stat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.icon-blue { background: rgba(15,76,129,0.1); color: var(--primary); }
.icon-teal { background: rgba(0,191,166,0.1); color: var(--accent); }
.icon-orange { background: rgba(245,158,11,0.1); color: var(--warning); }
.icon-red { background: rgba(239,68,68,0.1); color: var(--danger); }
.icon-green { background: rgba(16,185,129,0.1); color: var(--success); }
.icon-purple { background: rgba(139,92,246,0.1); color: #7c3aed; }

.admin-stat-num { font-size: 1.7rem; font-weight: 800; color: var(--dark); line-height: 1; }
.admin-stat-label { font-size: 0.78rem; color: var(--gray); font-weight: 500; }
.admin-stat-trend {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 4px;
}
.trend-up { color: var(--success); }
.trend-down { color: var(--danger); }

/* Admin Table */
.admin-table-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-lighter);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.admin-table-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-lighter);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem;
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  padding: 0.7rem 1.25rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
  background: var(--gray-lightest);
  border-bottom: 1px solid var(--gray-lighter);
}
.admin-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--gray-lighter);
  font-size: 0.875rem;
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--gray-lightest); }
.admin-table img { width: 50px; height: 50px; object-fit: cover; border-radius: var(--radius-sm); }

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.status-active, .status-approved, .status-paid, .status-delivered { background: rgba(16,185,129,0.12); color: var(--success); }
.status-inactive, .status-rejected, .status-cancelled { background: rgba(239,68,68,0.12); color: var(--danger); }
.status-pending { background: rgba(245,158,11,0.12); color: var(--warning); }
.status-processing { background: rgba(30,136,229,0.12); color: var(--secondary); }
.status-shipped { background: rgba(15,76,129,0.12); color: var(--primary); }
.status-draft { background: rgba(100,116,139,0.12); color: var(--gray); }

/* Admin body + card components used in v2.0 pages */
.admin-body { background: #F1F5F9; font-family: 'Inter', sans-serif; }
.admin-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--gray-lighter);
  box-shadow: var(--shadow-sm);
  margin-bottom: 0;
}
.admin-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.25rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-lighter);
  flex-wrap: wrap; gap: 0.5rem;
}
.admin-card-title { font-weight: 700; font-size: 0.95rem; }

/* Stat card with vertical stacked layout (used by dashboard v2) */
.admin-stat-card .stat-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.admin-stat-card .stat-val { font-size: 1.6rem; font-weight: 800; color: var(--dark); line-height: 1.1; }
.admin-stat-card .stat-label { font-size: 0.75rem; color: var(--gray); font-weight: 500; margin-top: 2px; }

/* Allow both flex-row (original) and column stacked layouts */
.admin-stat-card { flex-direction: column; align-items: flex-start; }

/* Admin overlay for mobile sidebar */
.admin-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}
.admin-menu-btn {
  background: none; border: 1px solid var(--gray-lighter);
  border-radius: var(--radius-sm);
  padding: 6px 10px; cursor: pointer;
  font-size: 1.1rem; color: var(--dark);
  display: none;
}

/* Admin topbar needs its own padding reset since it's sticky full-width */
.admin-topbar { padding: 0 1.5rem; }

/* Responsive admin: sidebar collapses at 1199px (handled in section 29)
   admin-menu-btn is shown via section 29 media query override */
@media (max-width: 1199px) {
  .admin-menu-btn { display: block; }
}

/* ============================================================
   24. FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 2rem;
}
.footer-brand { margin-bottom: 1.25rem; }
.footer-brand .brand-mark { background: rgba(255,255,255,0.1); }
.footer-about { font-size: 0.875rem; line-height: 1.7; margin-top: 1rem; max-width: 280px; }
.footer-h6 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.875rem; margin-bottom: 0.75rem;
}
.footer-contact-item i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-social { display: flex; gap: 10px; margin-top: 1rem; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.social-btn:hover { background: var(--accent); color: white; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  font-size: 0.8rem;
}
.footer-payment { display: flex; align-items: center; gap: 8px; }
.payment-icon-img {
  height: 24px;
  width: auto;
  opacity: 0.6;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition);
}
.payment-icon-img:hover { opacity: 1; }

/* ============================================================
   25. FLOATING ELEMENTS
   ============================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 90px; left: 24px;
  z-index: 90;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
}
.whatsapp-btn:hover {
  background: #1FB855;
  color: white;
  transform: scale(1.08);
}
.whatsapp-tooltip {
  position: absolute;
  left: 62px;
  background: var(--dark);
  color: white;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
}
.whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; visibility: visible; left: 66px; }

.back-to-top {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 90;
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: var(--radius-full);
  border: none;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ============================================================
   26. AOS ANIMATIONS OVERRIDE
   ============================================================ */
[data-aos="fade-up"]    { transform: translateY(30px); }
[data-aos="fade-down"]  { transform: translateY(-30px); }
[data-aos="fade-left"]  { transform: translateX(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="zoom-in"]    { transform: scale(0.92); }

/* ============================================================
   27. ALERTS & TOASTS
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast-msg {
  display: flex; align-items: center; gap: 10px;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  pointer-events: all;
  min-width: 200px;
  max-width: 400px;
  box-shadow: var(--shadow-md);
  animation: toastIn 0.3s ease;
}
.toast-success { background: var(--success); }
.toast-error   { background: var(--danger); }
.toast-info    { background: var(--primary); }
@keyframes toastIn { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }

/* ============================================================
   28. MEDIA LIBRARY
   ============================================================ */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.75rem; }
.media-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.media-item:hover { border-color: var(--primary); }
.media-item.selected { border-color: var(--accent); }
.media-item img { width: 100%; height: 100%; object-fit: cover; }
.media-item-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  opacity: 0;
  transition: opacity var(--transition);
}
.media-item:hover .media-item-overlay { opacity: 1; }

/* ============================================================
   29. RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
  .admin-content { margin-left: 0; }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
}

@media (max-width: 991px) {
  .nav-menu { display: none; }
  .navbar-toggler { display: block; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: white;
    padding: 0.75rem 1rem 1.25rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-lighter);
    z-index: 500;
    gap: 2px;
    max-height: 85vh;
    overflow-y: auto;
  }
  /* Each top-level mobile link */
  .nav-menu.open > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--gray-lighter);
    color: var(--dark);
  }
  .nav-menu.open > li:last-child > a { border-bottom: none; }
  /* Products dropdown — hidden by default on mobile, toggled by JS */
  .mega-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0.75rem;
    background: var(--gray-lightest);
    padding: 0.5rem 0.75rem;
    margin: 4px 0 8px;
    display: none; /* hidden until toggled */
  }
  .mega-dropdown.mobile-open { display: block; }
  .mega-dropdown a {
    padding: 0.6rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
  }
  .mega-dropdown a:hover { background: rgba(15,76,129,0.08); }
  /* Mobile currency row */
  .mobile-currency-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem 0;
    flex-wrap: wrap;
    border-top: 1px solid var(--gray-lighter);
    margin-top: 4px;
  }
  .mobile-currency-row .currency-btn {
    background: var(--gray-lightest);
    border: 1px solid var(--gray-lighter);
    border-radius: var(--radius-full);
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex; align-items: center; gap: 5px;
  }
  .mobile-currency-row .currency-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: var(--shadow);
    border-radius: 0.75rem;
    border: 1px solid var(--gray-lighter);
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    display: none;
    margin-top: 6px;
  }
  .mobile-currency-row .currency-dropdown.mobile-open { display: block; }
  .hero-title { font-size: clamp(1.8rem, 5vw, 2.8rem); }
  .hero-desc { font-size: 1rem; }
  .newsletter-section { padding: 2rem; }
}

@media (max-width: 767px) {
  .section { padding: 3.5rem 0; }
  .hero .container { padding: 3.5rem 1rem; }
  .hero-stats { gap: 1.25rem; }
  .hero-stat-num { font-size: 1.5rem; }
  .trust-bar .container { overflow-x: auto; }
  .products-toolbar { flex-direction: column; align-items: flex-start; }
  .cart-sidebar { width: 100%; }
  .admin-content { margin-left: 0; }
}

@media (max-width: 575px) {
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .newsletter-input-wrap { flex-direction: column; padding: 0.5rem; }
  .newsletter-input-wrap .btn { border-radius: var(--radius-full); }
  .filter-card { display: none; }
  .filter-card.mobile-open { display: block; }
}

/* ============================================================
   30. UTILITY CLASSES
   ============================================================ */
.rounded-pill { border-radius: var(--radius-full) !important; }
.shadow-custom { box-shadow: var(--shadow) !important; }
.shadow-lg-custom { box-shadow: var(--shadow-lg) !important; }
.bg-primary-gradient { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important; }
.bg-accent-gradient  { background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%) !important; }
.hover-lift { transition: transform var(--transition); }
.hover-lift:hover { transform: translateY(-4px); }
.cursor-pointer { cursor: pointer; }
.overflow-hidden { overflow: hidden !important; }
.object-cover { object-fit: cover; }
.aspect-square { aspect-ratio: 1; }
.aspect-video { aspect-ratio: 16/9; }
.divider { height: 1px; background: var(--gray-lighter); margin: 1rem 0; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--gray-lightest); }
::-webkit-scrollbar-thumb { background: var(--gray-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray); }
