/* =============================================
   Mondial-Security TUNISIE - CSS Principal
   Inspiré de amyshop.tn + Magento2 Codazon
   Mobile-First Design
============================================= */

/* ---- Google Fonts ---- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap");

/* ---- Variables ---- */
:root {
  --primary: #c0392b;
  --primary-dark: #a93226;
  --primary-light: #e74c3c;
  --secondary: #2c3e50;
  --secondary-light: #34495e;
  --accent: #f39c12;
  --accent-light: #f1c40f;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --gray: #ecf0f1;
  --mid-gray: #bdc3c7;
  --dark-gray: #7f8c8d;
  --text: #2c3e50;
  --text-light: #7f8c8d;
  --border: #dde2e8;
  --success: #27ae60;
  --warning: #f39c12;
  --danger: #e74c3c;
  --info: #3498db;
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --header-height: 140px;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
}
input,
select,
textarea {
  font-family: inherit;
  outline: none;
}

/* ---- Container ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
.container-fluid {
  padding: 0 16px;
}

/* ==========================================
   TOP BAR
========================================== */
.top-bar {
  background: var(--secondary);
  color: var(--white);
  font-size: 12px;
  padding: 6px 0;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar-left {
  display: flex;
  gap: 16px;
  align-items: center;
}
.top-bar-right {
  display: flex;
  gap: 16px;
  align-items: center;
}
.top-bar a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
}
.top-bar a:hover {
  color: var(--accent-light);
}
.top-bar-promo {
  background: var(--primary);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 11px;
  animation: flashPromo 2s infinite;
}
@keyframes flashPromo {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* ==========================================
   HEADER
========================================== */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-main {
  padding: 14px 0;
}
.header-main .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  font-weight: 800;
}
.logo-text {
  line-height: 1.1;
}
.logo-text .brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.logo-text .tagline {
  font-size: 10px;
  color: var(--dark-gray);
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Search Bar */
.search-bar {
  display: flex;
  background: var(--light-gray);
  border: 2px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition: var(--transition);
}
.search-bar:focus-within {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}
.search-category {
  border: none;
  background: transparent;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text);
  border-right: 1px solid var(--border);
  cursor: pointer;
  white-space: nowrap;
  font-weight: 500;
}
.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text);
}
.search-input::placeholder {
  color: var(--dark-gray);
}
.search-btn {
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  font-size: 15px;
  transition: var(--transition);
  border-radius: 0 50px 50px 0;
  font-weight: 600;
}
.search-btn:hover {
  background: var(--primary-dark);
}

/* Autocomplete dropdown */
.search-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 0 0 10px 10px;
  box-shadow: var(--shadow-hover);
  z-index: 500;
  display: none;
  max-height: 320px;
  overflow-y: auto;
}
.search-autocomplete.active {
  display: block;
}
.search-autocomplete-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: var(--transition);
}
.search-autocomplete-item:hover {
  background: var(--light-gray);
}
.search-autocomplete-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
}
.search-autocomplete-item .item-name {
  font-size: 13px;
  font-weight: 500;
}
.search-autocomplete-item .item-price {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}
.search-wrap {
  position: relative;
}

/* Header Icons */
.header-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--text);
  transition: var(--transition);
  position: relative;
  font-size: 11px;
  font-weight: 500;
}
.header-icon-btn:hover {
  background: var(--light-gray);
  color: var(--primary);
}
.header-icon-btn svg {
  width: 22px;
  height: 22px;
}
.badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================
   NAVIGATION / MEGA MENU
========================================== */
.header-nav {
  background: var(--secondary);
}
.header-nav .container {
  display: flex;
  align-items: stretch;
}

.nav-all-cats-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-all-cats-btn:hover {
  background: var(--primary-dark);
}
.nav-all-cats-btn svg {
  width: 18px;
  height: 18px;
}

.main-nav {
  display: flex;
  flex: 1;
}
.main-nav > .nav-item {
  position: relative;
}
.main-nav > .nav-item > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 13px 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav > .nav-item > a:hover,
.main-nav > .nav-item.active > a {
  color: white;
  background: rgba(255, 255, 255, 0.12);
}
.main-nav > .nav-item > a .caret {
  font-size: 10px;
  transition: var(--transition);
}
.main-nav > .nav-item:hover > a .caret {
  transform: rotate(180deg);
}

/* Badge labels */
.nav-badge {
  background: var(--accent);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 4px;
  text-transform: uppercase;
}

/* ---- MEGA DROPDOWN ---- */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 700px;
  max-width: 900px;
  background: white;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 12px 12px;
  border-top: 3px solid var(--primary);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  display: flex;
}
.nav-item:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-col {
  padding: 20px 24px;
  flex: 1;
  border-right: 1px solid var(--border);
}
.mega-col:last-child {
  border-right: none;
}
.mega-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray);
}
.mega-col ul li {
  margin-bottom: 6px;
}
.mega-col ul li a {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
  transition: var(--transition);
}
.mega-col ul li a:hover {
  color: var(--primary);
  padding-left: 6px;
}
.mega-col ul li a::before {
  content: "›";
  color: var(--primary);
  font-weight: 700;
}
.mega-sub {
  position: relative;
}
.mega-sub > a::after {
  content: " ›";
  margin-left: auto;
  color: var(--mid-gray);
}
.mega-sub-dropdown {
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 200px;
  background: white;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  border-left: 3px solid var(--primary);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
}
.mega-sub:hover .mega-sub-dropdown {
  opacity: 1;
  visibility: visible;
}
.mega-sub-dropdown li a {
  padding: 7px 16px;
  font-size: 13px;
}
.mega-sub-dropdown li a:hover {
  background: var(--light-gray);
  color: var(--primary);
  padding-left: 20px;
}

/* ---- Simple dropdown ---- */
.simple-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: white;
  border-radius: 0 0 10px 10px;
  box-shadow: var(--shadow-hover);
  border-top: 3px solid var(--primary);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
}
.nav-item:hover .simple-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.simple-dropdown li a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--text);
  transition: var(--transition);
  border-bottom: 1px solid var(--gray);
}
.simple-dropdown li:last-child a {
  border-bottom: none;
}
.simple-dropdown li a:hover {
  background: var(--light-gray);
  color: var(--primary);
  padding-left: 24px;
}

/* ==========================================
   PROMO TICKER
========================================== */
.promo-ticker {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 8px 0;
  overflow: hidden;
}
.ticker-wrap {
  display: flex;
  align-items: center;
  gap: 0;
}
.ticker-label {
  background: rgba(0, 0, 0, 0.3);
  color: white;
  padding: 3px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: 20px;
  border-radius: 3px;
}
.ticker-content {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
}
.ticker-item {
  font-size: 12.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ticker-item::before {
  content: "★";
  color: var(--accent-light);
  font-size: 10px;
}
@keyframes tickerScroll {
  0% {
    transform: translateX(100vw);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ==========================================
   HERO SLIDER
========================================== */
.hero-section {
  position: relative;
  overflow: hidden;
}
.hero-slider {
  position: relative;
  height: 480px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 60%,
    transparent 100%
  );
}
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 60px;
}
.hero-text {
  color: white;
  max-width: 520px;
}
.hero-label {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 3px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.hero-title span {
  color: var(--accent-light);
}
.hero-subtitle {
  font-size: 17px;
  margin-bottom: 28px;
  opacity: 0.9;
  font-weight: 300;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(192, 57, 43, 0.5);
}
.hero-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(192, 57, 43, 0.6);
}
.hero-cta-ghost {
  background: transparent;
  border: 2px solid white;
  margin-left: 12px;
  padding: 12px 28px;
}
.hero-cta-ghost:hover {
  background: white;
  color: var(--text);
}

/* Slider controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--text);
  transition: var(--transition);
  z-index: 10;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}
.slider-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-50%) scale(1.1);
}
.slider-prev {
  left: 20px;
}
.slider-next {
  right: 20px;
}
.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  background: white;
  width: 24px;
  border-radius: 4px;
}

/* ==========================================
   CATEGORY ICONS STRIP
========================================== */
.categories-strip {
  padding: 30px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.cat-icon-card {
  text-align: center;
  padding: 16px 8px;
  border-radius: var(--radius);
  background: var(--light-gray);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.cat-icon-card:hover {
  background: white;
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.cat-icon-card.active {
  border-color: var(--primary);
  background: white;
}
.cat-icon {
  font-size: 30px;
  margin-bottom: 8px;
  display: block;
}
.cat-icon-card span:last-child {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
  display: block;
  line-height: 1.3;
}

/* ==========================================
   SECTIONS COMMUNES
========================================== */
.section {
  padding: 50px 0;
}
.section-alt {
  background: var(--light-gray);
}
.section-title {
  text-align: center;
  margin-bottom: 36px;
}
.section-title h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--secondary);
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.section-title p {
  color: var(--dark-gray);
  font-size: 15px;
  margin-top: 16px;
}

/* ---- Section header with tabs ---- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 12px;
}
.section-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-header h2::before {
  content: "";
  display: block;
  width: 5px;
  height: 22px;
  background: var(--primary);
  border-radius: 3px;
}
.section-tabs {
  display: flex;
  gap: 4px;
}
.section-tab {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-gray);
  cursor: pointer;
  transition: var(--transition);
}
.section-tab.active,
.section-tab:hover {
  background: var(--primary);
  color: white;
}
.view-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}
.view-all:hover {
  color: var(--primary-dark);
}

/* ==========================================
   PRODUCT CARDS
========================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.product-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.badge-sale {
  background: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
}
.badge-new {
  background: var(--success);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
}
.badge-hot {
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--light-gray);
}
.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.4s ease;
}
.product-card:hover .product-image-wrap img {
  transform: scale(1.08);
}

.product-actions {
  position: absolute;
  right: 8px;
  top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateX(50px);
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover .product-actions {
  transform: translateX(0);
  opacity: 1;
}
.product-action-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.product-action-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: scale(1.1);
}

.product-info {
  padding: 14px;
}
.product-brand {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.product-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.stars {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 1px;
}
.review-count {
  font-size: 11px;
  color: var(--dark-gray);
}
.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.price-current {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}
.price-old {
  font-size: 13px;
  color: var(--dark-gray);
  text-decoration: line-through;
}
.price-discount {
  font-size: 11px;
  background: #fef2f2;
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
}

.btn-add-cart {
  width: 100%;
  background: var(--secondary);
  color: white;
  padding: 9px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-add-cart:hover {
  background: var(--primary);
}

/* Stock indicator */
.stock-bar {
  height: 4px;
  background: var(--gray);
  border-radius: 2px;
  margin-bottom: 8px;
  overflow: hidden;
}
.stock-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--success), var(--accent));
  border-radius: 2px;
  transition: width 0.5s ease;
}
.stock-text {
  font-size: 11px;
  color: var(--dark-gray);
  display: flex;
  justify-content: space-between;
}
.stock-text .sold {
  color: var(--primary);
  font-weight: 600;
}

/* ==========================================
   BANNER SECTIONS
========================================== */
.banners-grid {
  display: grid;
  gap: 16px;
}
.banners-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.banners-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.banner-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 180px;
  cursor: pointer;
}
.banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.banner-card:hover img {
  transform: scale(1.05);
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
  display: flex;
  align-items: center;
  padding: 24px;
}
.banner-content {
  color: white;
}
.banner-label {
  font-size: 11px;
  font-weight: 700;
  background: var(--primary);
  padding: 3px 10px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.banner-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 6px;
}
.banner-sub {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 14px;
}
.banner-btn {
  background: var(--primary);
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.banner-btn:hover {
  background: var(--primary-dark);
  transform: translateX(4px);
}

/* ==========================================
   FEATURES BAR
========================================== */
.features-bar {
  background: var(--secondary);
  padding: 20px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}
.feature-item:last-child {
  border-right: none;
}
.feature-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.feature-text h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
.feature-text p {
  font-size: 12px;
  opacity: 0.7;
}

/* ==========================================
   PHOTOVOLTAIQUE SECTION
========================================== */
.solar-section {
  padding: 70px 0;
  background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 40%, #1a2a3a 100%);
  position: relative;
  overflow: hidden;
}
.solar-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(243, 156, 18, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
}
.solar-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.solar-text {
  color: white;
}
.solar-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(243, 156, 18, 0.2);
  color: var(--accent-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(243, 156, 18, 0.3);
}
.solar-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}
.solar-title span {
  color: var(--accent-light);
}
.solar-description {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 28px;
  line-height: 1.8;
}
.solar-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.solar-stat {
  text-align: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.solar-stat .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-light);
  display: block;
}
.solar-stat .label {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 4px;
}
.btn-solar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(243, 156, 18, 0.4);
}
.btn-solar:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(243, 156, 18, 0.5);
}
.solar-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.solar-form-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
}
.solar-form-card p {
  font-size: 14px;
  color: var(--dark-gray);
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-group {
  margin-bottom: 14px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group label span {
  color: var(--primary);
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
  background: var(--light-gray);
}
.form-control:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}
.form-control::placeholder {
  color: var(--dark-gray);
}
.btn-submit-solar {
  width: 100%;
  background: var(--primary);
  color: white;
  padding: 14px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-submit-solar:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4);
}

/* ==========================================
   NEWSLETTER
========================================== */
.newsletter-section {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  padding: 60px 0;
}
.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.newsletter-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
}
.newsletter-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  margin-bottom: 28px;
}
.newsletter-form {
  display: flex;
  background: white;
  border-radius: 50px;
  overflow: hidden;
  padding: 4px;
  gap: 4px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--text);
}
.newsletter-btn {
  background: var(--primary);
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
}
.newsletter-btn:hover {
  background: var(--primary-dark);
}

/* ==========================================
   BRANDS SECTION
========================================== */
.brands-section {
  padding: 30px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--light-gray);
}
.brands-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}
.brand-logo {
  padding: 10px 20px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 16px;
  font-weight: 800;
  color: var(--dark-gray);
  transition: var(--transition);
  cursor: pointer;
}
.brand-logo:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ==========================================
   FOOTER
========================================== */
.site-footer {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.85);
}
.footer-top {
  padding: 50px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo .logo-icon {
  background: var(--primary);
}
.footer-logo .brand {
  color: white;
  font-size: 18px;
  font-weight: 800;
}
.footer-logo .tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}
.footer-desc {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.8;
  margin-bottom: 20px;
}
.footer-contacts p {
  font-size: 12.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
}
.footer-contacts p span {
  color: var(--accent-light);
  font-weight: 700;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 15px;
  transition: var(--transition);
}
.social-btn:hover {
  background: var(--primary);
  transform: translateY(-3px);
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover {
  color: var(--accent-light);
  padding-left: 6px;
}
.footer-col ul li a::before {
  content: "›";
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  opacity: 0.6;
}
.payment-icons {
  display: flex;
  gap: 8px;
}
.payment-icon {
  background: white;
  color: var(--secondary);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

/* ==========================================
   MINI CART DRAWER
========================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(3px);
}
.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 100vw;
  height: 100vh;
  background: white;
  z-index: 9001;
  transform: translateX(100%);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
}
.cart-drawer.open {
  transform: translateX(0);
}
.cart-drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-drawer-header h3 {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
}
.cart-close-btn:hover {
  background: var(--gray);
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}
.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray);
}
.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius);
  object-fit: contain;
  background: var(--light-gray);
  padding: 6px;
  flex-shrink: 0;
}
.cart-item-info {
  flex: 1;
}
.cart-item-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}
.cart-item-variant {
  font-size: 11px;
  color: var(--dark-gray);
  margin-bottom: 6px;
}
.cart-item-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}
.qty-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.qty-input {
  width: 36px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px;
  font-size: 13px;
  font-weight: 600;
}
.cart-item-remove {
  color: var(--dark-gray);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  padding: 4px;
}
.cart-item-remove:hover {
  color: var(--primary);
}
.cart-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--light-gray);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 800;
}
.cart-total span:last-child {
  color: var(--primary);
}
.btn-checkout {
  width: 100%;
  background: var(--primary);
  color: white;
  padding: 14px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition);
  text-align: center;
  display: block;
}
.btn-checkout:hover {
  background: var(--primary-dark);
}
.btn-view-cart {
  width: 100%;
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  padding: 10px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  transition: var(--transition);
}
.btn-view-cart:hover {
  background: var(--secondary);
  color: white;
}
.cart-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--dark-gray);
}
.cart-empty .empty-icon {
  font-size: 60px;
  margin-bottom: 16px;
}
.cart-empty p {
  font-size: 15px;
  font-weight: 500;
}

/* ==========================================
   TOAST NOTIFICATIONS
========================================== */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
}
.toast {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid var(--success);
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 14px;
}
.toast.show {
  transform: translateX(0);
}
.toast.error {
  border-left-color: var(--danger);
}
.toast.warning {
  border-left-color: var(--warning);
}
.toast-icon {
  font-size: 22px;
}
.toast-text {
  flex: 1;
  font-weight: 500;
}
.toast-close {
  color: var(--dark-gray);
  font-size: 16px;
  cursor: pointer;
}

/* ==========================================
   BREADCRUMB
========================================== */
.breadcrumb {
  padding: 12px 0;
  font-size: 13px;
  color: var(--dark-gray);
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb li::after {
  content: "/";
  color: var(--mid-gray);
}
.breadcrumb li:last-child::after {
  display: none;
}
.breadcrumb li:last-child {
  color: var(--text);
  font-weight: 600;
}
.breadcrumb a {
  color: var(--dark-gray);
}
.breadcrumb a:hover {
  color: var(--primary);
}

/* ==========================================
   PAGINATION
========================================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 30px 0;
}
.page-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.page-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.page-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ==========================================
   MOBILE BOTTOM NAV
========================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--border);
  z-index: 1000;
  padding: 8px 0 10px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}
.mobile-nav-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 6px;
  color: var(--dark-gray);
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.mobile-nav-item.active {
  color: var(--primary);
}
.mobile-nav-item svg {
  width: 22px;
  height: 22px;
}
.mobile-badge {
  position: absolute;
  top: 0;
  right: 18%;
  background: var(--primary);
  color: white;
  font-size: 9px;
  font-weight: 700;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================
   MOBILE MENU DRAWER
========================================== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100vh;
  background: white;
  z-index: 2001;
  transform: translateX(-100%);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-header {
  background: var(--secondary);
  color: white;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu-header .brand {
  font-size: 18px;
  font-weight: 800;
}
.mobile-menu-close {
  font-size: 22px;
  cursor: pointer;
}
.mobile-menu-user {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  background: var(--light-gray);
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-user-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.mobile-user-info h4 {
  font-size: 14px;
  font-weight: 600;
}
.mobile-user-info p {
  font-size: 12px;
  color: var(--dark-gray);
}
.mobile-nav-list {
  padding: 8px 0;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--gray);
  cursor: pointer;
}
.mobile-nav-link:hover {
  background: var(--light-gray);
  color: var(--primary);
}
.mobile-nav-link .icon {
  font-size: 18px;
}
.mobile-sub-list {
  background: var(--light-gray);
  display: none;
}
.mobile-sub-list.open {
  display: block;
}
.mobile-sub-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px 10px 36px;
  font-size: 13px;
  color: var(--text-light);
  border-bottom: 1px solid var(--gray);
}
.mobile-sub-list a:hover {
  color: var(--primary);
  background: white;
}
.mobile-sub-list a::before {
  content: "›";
  color: var(--primary);
}
.mobile-sub-sub {
  background: white;
}
.mobile-sub-sub a {
  padding-left: 52px;
  font-size: 12px;
}

/* ==========================================
   BUTTONS
========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(192, 57, 43, 0.4);
}
.btn-secondary {
  background: var(--secondary);
  color: white;
}
.btn-secondary:hover {
  background: var(--secondary-light);
}
.btn-ghost {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}
.btn-sm {
  padding: 7px 16px;
  font-size: 12px;
}
.btn-full {
  width: 100%;
}

/* ==========================================
   RESPONSIVE - TABLET
========================================== */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .categories-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
  }
  .solar-content {
    gap: 30px;
  }
  .solar-title {
    font-size: 28px;
  }
  .hero-slider {
    height: 360px;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-content {
    padding: 0 30px;
  }
  .mega-dropdown {
    min-width: 500px;
  }
}

/* ==========================================
   RESPONSIVE - MOBILE
========================================== */
@media (max-width: 768px) {
  :root {
    --header-height: 110px;
  }

  /* Header */
  .header-main .container {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }
  .logo-text .tagline {
    display: none;
  }
  .search-category {
    display: none;
  }
  .header-icon-btn span {
    display: none;
  }
  .header-icon-btn {
    padding: 8px;
  }
  .header-nav {
    display: none;
  }

  /* Hero */
  .hero-slider {
    height: 240px;
  }
  .hero-title {
    font-size: 20px;
  }
  .hero-subtitle {
    font-size: 13px;
    display: none;
  }
  .hero-cta {
    padding: 10px 20px;
    font-size: 13px;
  }
  .hero-cta-ghost {
    display: none;
  }
  .hero-content {
    padding: 0 20px;
  }

  /* Grid adjustments */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .banners-grid-2,
  .banners-grid-3 {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .solar-content {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .solar-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Typography */
  .section-title h2 {
    font-size: 22px;
  }
  .banner-title {
    font-size: 16px;
  }

  /* Mobile nav */
  .mobile-bottom-nav {
    display: block;
  }
  body {
    padding-bottom: 64px;
  }

  /* Top bar */
  .top-bar-left {
    display: none;
  }
  .top-bar .container {
    justify-content: center;
  }

  /* Promo ticker */
  .promo-ticker {
    display: none;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-slider {
    height: 200px;
  }
  .section {
    padding: 30px 0;
  }
  .solar-title {
    font-size: 24px;
  }
  .solar-form-card {
    padding: 20px;
  }
  .product-info {
    padding: 10px;
  }
  .price-current {
    font-size: 15px;
  }
  .btn-add-cart {
    font-size: 12px;
    padding: 8px;
  }
  .cart-drawer {
    width: 100vw;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ==========================================
   ANIMATIONS
========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.animate-fade-up {
  animation: fadeInUp 0.6s ease forwards;
}
.animate-fade {
  animation: fadeIn 0.4s ease forwards;
}

/* ==========================================
   SCROLLBAR
========================================== */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--light-gray);
}
::-webkit-scrollbar-thumb {
  background: var(--mid-gray);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--dark-gray);
}

/* ==========================================
   LOADING SKELETON
========================================== */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--gray) 25%,
    #e8ecef 50%,
    var(--gray) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* ==========================================
   BACK TO TOP
========================================== */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 15px rgba(192, 57, 43, 0.4);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}
@media (min-width: 769px) {
  .back-to-top {
    bottom: 20px;
  }
}
