/* ==========================================================================
   ELECTROFERRETERÍA BELLAVISTA - DESIGN SYSTEM: ROJO INDUSTRIAL & AMARILLO VIBRANTE
   ========================================================================== */

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Primary Palette: Rojo Potente & Amarillo Construcción */
  --primary-50: #fff1f2;
  --primary-100: #ffe4e6;
  --primary-200: #fecdd3;
  --primary-300: #fda4af;
  --primary-400: #fb7185;
  --primary-500: #e11d48; /* Rojo Ferrari / Industrial principal */
  --primary-600: #dc2626; /* Rojo Fuerte */
  --primary-700: #b91c1c; /* Rojo Oscuro */
  --primary-800: #991b1b;

  /* Amarillo Accento y Ofertas */
  --accent-yellow: #facc15; /* Amarillo vibrante */
  --accent-yellow-dark: #eab308;
  --accent-yellow-light: #fef08a;

  /* Status */
  --success: #10b981;
  --danger: #ef4444;

  /* Fondos y Neutros */
  --dark-bg: #090d16;
  --dark-surface: #111827;
  --dark-card: #1e293b;

  --light-bg: #f8fafc;
  --light-surface: #ffffff;
  --light-border: #e2e8f0;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 25px -5px rgba(225, 29, 72, 0.5);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--light-bg);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 96%;
  max-width: 1750px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* Header & Top Bar */
.top-bar {
  background: #0f172a;
  color: #cbd5e1;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 2px solid var(--accent-yellow);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-item i {
  color: var(--accent-yellow);
}

.main-header {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--light-border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  gap: 15px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-yellow);
  font-size: 20px;
  box-shadow: 0 8px 16px rgba(220, 38, 38, 0.35);
}

.brand-text h1 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #0f172a;
  margin: 0;
}

.brand-text span {
  font-size: 11px;
  color: var(--primary-600);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.search-bar-wrap {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 18px 12px 42px;
  background: #f1f5f9;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  font-size: 14px;
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary-600);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 15px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-600);
}

.cart-button-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  color: white;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  border: 2px solid transparent;
}

.cart-button-header:hover {
  background: var(--primary-600);
  border-color: var(--accent-yellow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.cart-badge {
  background: var(--accent-yellow);
  color: #0f172a;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 12px;
  font-weight: 800;
}

/* Category Sub-Nav Bar */
.category-nav-bar {
  background: #111827;
  color: white;
  padding: 10px 0;
  overflow-x: auto;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.category-nav-list {
  display: flex;
  gap: 12px;
  list-style: none;
}

.category-nav-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
}

.category-nav-item a:hover, .category-nav-item.active a {
  background: var(--primary-600);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

/* ==========================================================================
   CARRUSEL PRINCIPAL MODERNO ESTILO ECOMMERCE PANORÁMICO (HERO SLIDER)
   ========================================================================== */
.hero-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0f172a;
  min-height: 420px;
  max-height: 520px;
}

.hero-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.hero-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 60px 0 70px;
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  min-height: 420px;
}

.hero-slide.hero-slide-banner {
  padding: 0 !important;
  min-height: 420px;
  height: 440px;
  display: block;
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@media (min-width: 1200px) {
  .hero-slider-container {
    min-height: 440px;
    max-height: 480px;
  }
  .hero-slide {
    min-height: 440px;
  }
  .hero-slide.hero-slide-banner {
    min-height: 440px;
    height: 460px;
  }
}

@media (max-width: 992px) {
  .hero-slider-container {
    min-height: 360px;
    max-height: 420px;
  }
  .hero-slide {
    padding: 40px 0 50px;
    min-height: 360px;
  }
  .hero-slide.hero-slide-banner {
    min-height: 340px;
    height: 360px;
  }
}

@media (max-width: 768px) {
  .hero-slider-container {
    min-height: 240px;
    max-height: 320px;
  }
  .hero-slide {
    padding: 30px 15px 40px;
    min-height: 240px;
    background-position: center center !important;
  }
  .hero-slide.hero-slide-banner {
    padding: 0 !important;
    min-height: 220px;
    height: 240px;
  }
  .hero-title {
    font-size: 22px !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
  }
  .hero-subtitle {
    font-size: 12.5px !important;
    margin-bottom: 15px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-cta-group .btn-yellow, .hero-cta-group .btn-outline {
    padding: 8px 16px !important;
    font-size: 12.5px !important;
  }
}

.slide-1 {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(185, 28, 28, 0.88) 100%);
}

.slide-2 {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(153, 27, 27, 0.9) 100%);
}

.slide-3 {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(220, 38, 38, 0.85) 100%);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #0f172a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
}

.hero-slider-container:hover .slider-btn {
  opacity: 1;
}

@media (max-width: 768px) {
  .slider-btn {
    opacity: 0.85;
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
}

.slider-btn:hover {
  background: var(--accent-yellow);
  color: #0f172a;
  border-color: var(--accent-yellow);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.4);
}

.slider-btn.prev { left: 18px; }
.slider-btn.next { right: 18px; }

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 20;
  background: rgba(15, 23, 42, 0.4);
  padding: 5px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.9);
}

.slider-dot.active {
  background: var(--accent-yellow);
  width: 24px;
  border-radius: 999px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(250, 204, 21, 0.15);
  border: 1px solid var(--accent-yellow);
  color: var(--accent-yellow);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-title span {
  color: var(--accent-yellow);
}

.hero-subtitle {
  font-size: 16px;
  color: #cbd5e1;
  margin-bottom: 30px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Botones Rojos y Amarillos */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  box-shadow: 0 15px 30px rgba(220, 38, 38, 0.5);
}

.btn-yellow {
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-yellow-dark));
  color: #0f172a;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(250, 204, 21, 0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-yellow:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(250, 204, 21, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
}

/* Barra de Ventajas */
.hero-features-bar {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 25px 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  margin-top: -30px;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-bottom: 3px solid var(--primary-600);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: #fef2f2;
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 15px;
  margin-bottom: 2px;
}

.feature-item p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Tarjetas de Producto */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
}

.section-header h2 {
  font-size: 28px;
  position: relative;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-600);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-300);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.badge-oferta {
  background: var(--primary-600);
  color: white;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.4);
}

.badge-destacado {
  background: var(--accent-yellow);
  color: #0f172a;
  font-weight: 800;
}

.product-thumb-wrap {
  position: relative;
  background: #f8fafc;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
}

.product-thumb-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-thumb-wrap img {
  transform: scale(1.08);
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}

.product-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
  color: #1e293b;
}

.product-title a:hover {
  color: var(--primary-600);
}

.product-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 15px;
  display: flex;
  gap: 10px;
}

.product-pricing {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 15px;
}

.price-current {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-700);
  font-family: var(--font-heading);
}

.price-old {
  font-size: 14px;
  color: #94a3b8;
  text-decoration: line-through;
}

.product-actions {
  display: flex;
  gap: 8px;
}

.btn-add-cart {
  flex: 1;
  background: #0f172a;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-add-cart:hover {
  background: var(--primary-600);
}

.btn-quick-view {
  background: #f1f5f9;
  color: #334155;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-quick-view:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Categorías */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
  margin-bottom: 60px;
}

.category-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 25px 15px;
  text-align: center;
  transition: var(--transition);
}

.category-card:hover {
  border-color: var(--primary-600);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fef2f2;
  color: var(--primary-600);
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: var(--transition);
}

.category-card:hover .category-card-icon {
  background: var(--primary-600);
  color: var(--accent-yellow);
  transform: scale(1.1);
}

/* Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: #ffffff;
  z-index: 1000;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.open { right: 0; }

.cart-header {
  padding: 20px;
  border-bottom: 2px solid var(--primary-600);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-close-drawer {
  background: none;
  border: none;
  font-size: 20px;
  color: #64748b;
  cursor: pointer;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f1f5f9;
}

.cart-item-img {
  width: 65px;
  height: 65px;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  flex-shrink: 0;
}

.cart-item-info { flex: 1; }
.cart-item-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; color: #1e293b; }
.cart-item-price { font-weight: 700; color: var(--primary-600); font-size: 14px; }

.cart-qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.btn-qty {
  width: 24px;
  height: 24px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
}

.cart-footer {
  padding: 20px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 15px;
}

.btn-checkout-whatsapp {
  width: 100%;
  background: #25D366;
  color: white;
  border: none;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}

.btn-checkout-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
}

/* Footer */
.main-footer {
  background: #090d16;
  color: #94a3b8;
  padding-top: 60px;
  margin-top: auto;
  border-top: 3px solid var(--primary-600);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 17px;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-yellow);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--accent-yellow);
  padding-left: 5px;
}

.footer-bottom {
  background: #05080e;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Global E-commerce Style */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-cta-group { justify-content: center; }
  .hero-features-bar { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links-desktop { display: none; }
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 10px 0;
  }
  .brand-logo img {
    height: 48px !important;
    max-width: 180px !important;
  }
  .search-bar-wrap {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin-top: 4px;
  }
  .search-input {
    padding: 9px 14px 9px 38px;
    font-size: 13px;
  }
  .search-icon {
    font-size: 13px;
    left: 14px;
  }
  .nav-actions {
    gap: 8px;
  }
  .client-auth-btn {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
  .cart-button-header {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
  .cart-button-header span:first-of-type {
    display: inline;
  }

  .hero-floating-card-col {
    display: none !important;
  }

  /* Slider Responsive */
  .hero-slider-container {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    max-height: 320px;
  }
  .hero-slider-track {
    height: 100%;
  }
  .hero-slide {
    min-height: 0 !important;
    height: 100% !important;
    padding: 20px 15px 30px !important;
    aspect-ratio: 16 / 9;
    background-size: cover !important;
    background-position: center center !important;
  }
  .hero-slide.hero-slide-banner {
    min-height: 0 !important;
    height: 100% !important;
    padding: 0 !important;
    aspect-ratio: 16 / 9;
    background-size: cover !important;
  }
  .hero-slide .hero-grid {
    gap: 15px;
  }
  .hero-title {
    font-size: 18px !important;
    line-height: 1.2 !important;
    margin-bottom: 6px !important;
  }
  .hero-subtitle {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-cta-group {
    gap: 8px !important;
  }
  .hero-cta-group .btn-yellow, 
  .hero-cta-group .btn-outline {
    padding: 6px 14px !important;
    font-size: 11.5px !important;
    border-radius: 999px !important;
  }
  .slider-dots {
    bottom: 8px;
    padding: 3px 8px;
    gap: 5px;
  }
  .slider-dot {
    width: 6px;
    height: 6px;
  }
  .slider-dot.active {
    width: 16px;
  }
}

@media (max-width: 600px) {
  .hero-features-bar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar { display: none; }
  .slider-btn { display: none; }
}
