/* ==========================================================================
   BOUCHERIT AUTO - PIÈCES DE RECHANGE D'ORIGINE
   Style sheet replicating the Chromium WordPress Theme layout & animations
   ========================================================================== */

:root {
  --primary: #fdb819;
  --primary-hover: #e5a408;
  --primary-light: #fff8e7;
  --primary-dark: #cf9309;
  --secondary: #222529;
  --secondary-dark: #1a1d20;
  --secondary-light: #2d3137;
  --accent-red: #e53935;
  --accent-green: #28a745;
  --whatsapp-green: #25d366;
  --whatsapp-hover: #20ba5a;
  --text-color: #333333;
  --text-muted: #666666;
  --text-light: #999999;
  --bg-body: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #eaeaea;
  --border-dark: #dedede;
  --font-main: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: 'Roboto Slab', Georgia, serif;
  --container-max: 1220px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.12);
  --shadow-dropdown: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Base resets & box-sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-color);
  background-color: var(--bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 15px;
}

/* ==========================================================================
   HEADER & TOPBAR
   ========================================================================== */

.top-bar {
  background-color: #1b1e22;
  color: #cfd4db;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 101;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-notice {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #a0a6b1;
}

.top-bar-notice .flag-icon {
  width: 18px;
  height: 12px;
  display: inline-block;
  background: linear-gradient(90deg, #006633 33.3%, #ffffff 33.3%, #ffffff 66.6%, #d21034 66.6%);
  border-radius: 2px;
}

.whatsapp-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--whatsapp-green);
  color: #ffffff !important;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  font-size: 12px;
}

.whatsapp-top-btn:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-1px);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cfd4db;
  transition: color var(--transition-fast);
}

.top-bar-link:hover {
  color: var(--primary);
}

/* Main Header */
.main-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  padding: 18px 0;
  position: relative;
  z-index: 100;
  transition: all var(--transition-normal);
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.site-logo-fallback {
  display: flex;
  flex-direction: column;
}

.site-logo-fallback .brand-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.5px;
  line-height: 1;
}

.site-logo-fallback .brand-title span {
  color: var(--primary);
}

.site-logo-fallback .brand-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  font-weight: 500;
}

/* Search Header */
.header-search-wrapper {
  flex: 1;
  max-width: 620px;
  position: relative;
}

.header-search-box {
  display: flex;
  align-items: center;
  border: 2px solid var(--primary);
  border-radius: 4px;
  background-color: #ffffff;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.search-category-select {
  background-color: #f8f9fa;
  border-right: 1px solid var(--border-color);
  padding: 0 14px;
  height: 42px;
  font-size: 13px;
  color: #444;
  cursor: pointer;
  max-width: 170px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23666' d='M0 0l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 26px;
}

.search-input {
  flex: 1;
  padding: 0 16px;
  height: 42px;
  font-size: 14px;
  color: var(--text-color);
  background: transparent;
}

.search-input::placeholder {
  color: #999;
}

.search-btn {
  background-color: var(--primary);
  color: var(--secondary);
  width: 48px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: background-color var(--transition-fast);
}

.search-btn:hover {
  background-color: var(--primary-hover);
}

/* Search Autocomplete Dropdown */
.search-results-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 0 0 8px 8px;
  box-shadow: var(--shadow-dropdown);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.search-results-dropdown.active {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.search-result-item:hover {
  background-color: #f8f9fa;
}

.search-result-item img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border-light);
}

.search-result-info {
  flex: 1;
}

.search-result-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--secondary);
  margin-bottom: 2px;
  line-height: 1.3;
}

.search-result-meta {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  gap: 10px;
}

.search-result-price {
  font-weight: 700;
  color: var(--accent-red);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header-action-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.action-icon-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f4f6f8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--secondary);
  transition: all var(--transition-fast);
}

.header-action-item:hover .action-icon-wrapper {
  background-color: var(--primary);
  color: var(--secondary);
  transform: translateY(-2px);
}

.action-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--accent-red);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-text-wrapper {
  display: flex;
  flex-direction: column;
}

.action-subtext {
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
}

.action-maintext {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
}

/* ==========================================================================
   NAVIGATION BAR & MEGA MENU
   ========================================================================== */

.main-navigation-bar {
  background-color: var(--secondary);
  color: #ffffff;
  position: relative;
  z-index: 99;
}

.main-navigation-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Categories Mega Menu Trigger */
.categories-menu-container {
  position: relative;
  width: 280px;
  flex-shrink: 0;
}

.categories-trigger-btn {
  background-color: var(--primary);
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  width: 100%;
  transition: background-color var(--transition-fast);
}

.categories-trigger-btn:hover {
  background-color: var(--primary-hover);
}

.categories-trigger-btn .trigger-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Categories Dropdown */
.categories-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-dropdown);
  display: none;
  z-index: 110;
}

.categories-dropdown.open,
.categories-menu-container.keep-open .categories-dropdown {
  display: block;
}

.category-dropdown-item {
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}

.category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  color: #333333;
  font-size: 13.5px;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.category-link .cat-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-link .cat-icon {
  width: 20px;
  text-align: center;
  color: var(--primary-dark);
}

.category-dropdown-item:hover > .category-link {
  background-color: #fbfbfb;
  color: var(--primary-dark);
  padding-left: 22px;
}

/* Sub-mega-menu pane */
.category-sub-pane {
  position: absolute;
  left: 100%;
  top: 0;
  width: 600px;
  min-height: 100%;
  background-color: #ffffff;
  border-left: 2px solid var(--primary);
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  padding: 24px;
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  z-index: 120;
}

.category-dropdown-item:hover .category-sub-pane {
  display: grid;
}

.sub-pane-col h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 6px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.sub-pane-col ul li a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: #555555;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.sub-pane-col ul li a:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

/* Horizontal Nav Links */
.horizontal-nav-list {
  display: flex;
  align-items: center;
  flex: 1;
  margin-left: 30px;
  gap: 4px;
}

.nav-link-item a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  color: #f0f0f0;
  font-size: 13.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: color var(--transition-fast), background-color var(--transition-fast);
  border-radius: 4px;
}

.nav-link-item a:hover,
.nav-link-item.active a {
  color: var(--primary);
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-link-item.highlight-wa a {
  background-color: rgba(37, 211, 102, 0.15);
  color: var(--whatsapp-green);
  font-weight: 600;
}

.nav-link-item.highlight-wa a:hover {
  background-color: var(--whatsapp-green);
  color: #ffffff;
}

.nav-phone-direct {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  padding: 10px;
}

/* ==========================================================================
   HERO SECTION WITH SLIDESHOW & YMM VEHICLE SEARCH
   ========================================================================== */

.hero-slider-section {
  position: relative;
  min-height: 520px;
  background-color: #1a1d20;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background Slideshow */
.hero-slides-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1s ease-in-out, transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.08); /* Ken Burns effect */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(20, 23, 26, 0.85) 0%, rgba(20, 23, 26, 0.55) 50%, rgba(20, 23, 26, 0.8) 100%);
  z-index: 2;
}

.hero-content-container {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 60px 0;
}

.hero-text-block {
  max-width: 700px;
  color: #ffffff;
  margin-bottom: 35px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(253, 184, 25, 0.2);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}

.hero-main-heading {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-main-heading span {
  color: var(--primary);
}

.hero-subtext {
  font-size: 16px;
  color: #e0e0e0;
  line-height: 1.5;
  max-width: 600px;
}

/* YMM Horizontal Vehicle Filter Box */
.ymm-horizontal-box {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-radius: 8px;
  padding: 24px 28px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.ymm-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ymm-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ymm-title i {
  color: var(--primary-dark);
}

.ymm-subtitle {
  font-size: 13px;
  color: var(--text-light);
}

.ymm-form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 150px;
  gap: 12px;
  align-items: center;
}

.ymm-select-wrapper {
  position: relative;
}

.ymm-select {
  width: 100%;
  height: 46px;
  background-color: #f8f9fa;
  border: 1px solid #d5d8dc;
  border-radius: 4px;
  padding: 0 14px;
  font-size: 13.5px;
  color: var(--text-color);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23555' d='M0 0l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 28px;
}

.ymm-select:focus {
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(253, 184, 25, 0.2);
}

.ymm-select:disabled {
  background-color: #f0f0f0;
  color: #aaa;
  cursor: not-allowed;
  border-color: #e5e5e5;
}

.ymm-submit-btn {
  height: 46px;
  background-color: var(--primary);
  color: var(--secondary);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ymm-submit-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(253, 184, 25, 0.4);
}

/* Slider Controls */
.slider-bullets-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-bullet.active {
  background: var(--primary);
  width: 26px;
  border-radius: 6px;
}

/* ==========================================================================
   TRUST BADGES / VALUE PROPOSITIONS (SECTION 13)
   ========================================================================== */

.trust-badges-section {
  padding: 30px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-badge-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 8px;
  background-color: #fafbfd;
  border: 1px solid #f0f2f5;
  transition: all var(--transition-normal);
}

.trust-badge-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--primary);
}

.trust-badge-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.trust-badge-card:hover .trust-badge-img {
  transform: scale(1.1);
}

.trust-badge-content h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 3px;
}

.trust-badge-content p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   BRAND LOGOS CAROUSEL ("NOS MARQUES")
   ========================================================================== */

.brands-section {
  padding: 40px 0 20px;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--secondary);
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}

.brands-carousel-container {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}

.brands-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.brand-card-item {
  width: 170px;
  height: 90px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.brand-card-item:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.brand-card-item img {
  max-height: 55px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter var(--transition-fast), transform var(--transition-fast);
}

.brand-card-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* ==========================================================================
   PRODUCT TABS SECTION ("NOUS VOUS PRÉSENTONS")
   ========================================================================== */

.product-tabs-section {
  padding: 50px 0;
}

.tabs-header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #eaeaea;
  margin-bottom: 30px;
  position: relative;
}

.tabs-section-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary);
  padding-bottom: 12px;
  margin: 0;
}

.tabs-section-title span {
  color: var(--primary-dark);
}

.product-nav-tabs {
  display: flex;
  align-items: center;
  gap: 15px;
}

.product-tab-btn {
  background: transparent;
  padding: 12px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: #777777;
  cursor: pointer;
  position: relative;
  transition: color var(--transition-fast);
  margin-bottom: -2px;
}

.product-tab-btn:hover {
  color: var(--secondary);
}

.product-tab-btn.active {
  color: var(--secondary);
}

.product-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* Product Card - Chromium style */
.product-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: #d8d8d8;
}

/* Card Badges */
.card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 5;
}

.badge {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.4px;
}

.badge-stock-in {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.badge-stock-out {
  background-color: #f5f5f5;
  color: #757575;
  border: 1px solid #e0e0e0;
}

.badge-promo {
  background-color: var(--accent-red);
  color: #ffffff;
}

.badge-genuine {
  background-color: var(--primary);
  color: var(--secondary);
}

/* Card Image & Overlay */
.card-img-wrapper {
  position: relative;
  padding: 20px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  overflow: hidden;
}

.card-img-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

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

/* Quick Actions Overlay Buttons */
.card-actions-overlay {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
  z-index: 6;
}

.product-card:hover .card-actions-overlay {
  opacity: 1;
  transform: translateX(0);
}

.card-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 14px;
}

.card-action-btn:hover {
  background-color: var(--primary);
  color: var(--secondary);
  transform: scale(1.1);
}

.card-action-btn.wa-direct:hover {
  background-color: var(--whatsapp-green);
  color: #ffffff;
}

/* Card Content / Excerpt */
.card-content {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--border-light);
}

.card-category-link {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.card-category-link:hover {
  color: var(--primary-dark);
}

.card-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.35;
  margin-bottom: 10px;
  height: 38px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color var(--transition-fast);
}

.card-title:hover {
  color: var(--primary-dark);
}

/* Mini Specs Table on card */
.card-specs-table {
  width: 100%;
  font-size: 11.5px;
  margin-bottom: 12px;
  border-collapse: collapse;
}

.card-specs-table td {
  padding: 3px 0;
  color: #666;
}

.card-specs-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--secondary);
}

/* Rating */
.card-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.star-rating-stars {
  color: #ffb800;
  font-size: 12px;
}

.reviews-count {
  font-size: 11.5px;
  color: var(--text-light);
}

/* Price & Add to cart button */
.card-footer-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px dashed var(--border-light);
}

.card-price-block {
  display: flex;
  flex-direction: column;
}

.card-old-price {
  font-size: 12px;
  text-decoration: line-through;
  color: var(--text-light);
}

.card-current-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-red);
}

.card-add-btn {
  background-color: #f4f6f8;
  color: var(--secondary);
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.card-add-btn:hover {
  background-color: var(--primary);
  color: var(--secondary);
}

/* ==========================================================================
   DUAL PROMO BANNERS (SECTION 11 - EFFECT-MILO)
   ========================================================================== */

.promo-banners-section {
  padding: 20px 0 50px;
}

.banners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.banner-card {
  position: relative;
  height: 280px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #1a1d20;
  cursor: pointer;
}

.banner-bg-img {
  width: calc(100% + 50px);
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
  will-change: transform;
}

.banner-card:hover .banner-bg-img {
  transform: translate3d(-20px, 0, 0) scale(1.04);
}

.banner-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15, 17, 20, 0.85) 0%, rgba(15, 17, 20, 0.4) 60%, rgba(15, 17, 20, 0.1) 100%);
  z-index: 2;
}

.banner-caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 35px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 3;
  color: #ffffff;
}

.banner-subtitle {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 8px;
}

.banner-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.banner-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary);
  color: var(--secondary);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
}

.banner-btn:hover {
  background-color: #ffffff;
  color: var(--secondary);
  transform: translateX(4px);
}

/* ==========================================================================
   POPULAR CATEGORIES (SECTION 12)
   ========================================================================== */

.popular-categories-section {
  padding: 30px 0 60px;
}

.categories-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.category-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition-normal);
}

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

.category-card-icon {
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: transform var(--transition-fast);
}

.category-card-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.category-card:hover .category-card-icon {
  transform: scale(1.12);
}

.category-card-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.3;
}

.category-card-count {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

/* ==========================================================================
   ABOUT COMPANY OVERVIEW BANNER (BOUCHERIT AUTO INTRO)
   ========================================================================== */

.about-intro-section {
  padding: 50px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text-col h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.about-text-col h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.25;
  margin-bottom: 18px;
}

.about-text-col p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--secondary);
}

.about-feature-item i {
  color: var(--primary-dark);
  font-size: 16px;
}

.about-img-col {
  position: relative;
}

.about-img-col img {
  border-radius: 8px;
  box-shadow: var(--shadow-hover);
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.about-floating-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background: var(--secondary);
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-left: 4px solid var(--primary);
}

.about-floating-badge .badge-stat {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.about-floating-badge .badge-label {
  font-size: 12px;
  color: #cccccc;
  text-transform: uppercase;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */

.site-footer {
  background-color: var(--secondary-dark);
  color: #a0a6b1;
  font-size: 13.5px;
  padding-top: 60px;
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background-color: var(--primary);
}

.footer-about-text {
  line-height: 1.6;
  margin-bottom: 20px;
  color: #a0a6b1;
}

.footer-social-links {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social-btn:hover {
  background-color: var(--primary);
  color: var(--secondary);
  transform: translateY(-2px);
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  color: #a0a6b1;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links-list a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-contact-item i {
  color: var(--primary);
  font-size: 16px;
  margin-top: 3px;
}

.footer-bottom-bar {
  padding: 24px 0;
  text-align: center;
  font-size: 12.5px;
  color: #7b8390;
}

.footer-bottom-bar a {
  color: var(--primary);
}

/* ==========================================================================
   SLIDING CART DRAWER
   ========================================================================== */

.cart-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 90vw;
  height: 100%;
  background-color: #ffffff;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
}

.cart-drawer-backdrop.active .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-header h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-close-btn {
  background: none;
  font-size: 20px;
  color: #888;
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition-fast);
}

.cart-close-btn:hover {
  color: var(--secondary);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.cart-empty-state i {
  font-size: 54px;
  margin-bottom: 16px;
  color: #ddd;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 4px;
  object-fit: contain;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 6px;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 8px;
}

.cart-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.qty-btn {
  background: none;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: #555;
  transition: background-color var(--transition-fast);
}

.qty-btn:hover {
  background-color: #f0f0f0;
}

.qty-input {
  width: 32px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
}

.cart-remove-item {
  background: none;
  color: #999;
  cursor: pointer;
  font-size: 15px;
  transition: color var(--transition-fast);
}

.cart-remove-item:hover {
  color: var(--accent-red);
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-color);
  background-color: #fafbfd;
}

.cart-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
}

.cart-subtotal-amount {
  color: var(--accent-red);
  font-size: 18px;
}

.cart-checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-wa-order {
  background-color: var(--whatsapp-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.btn-wa-order:hover {
  background-color: var(--whatsapp-hover);
}

.btn-site-checkout {
  background-color: var(--secondary);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 12px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.btn-site-checkout:hover {
  background-color: #000000;
}

/* ==========================================================================
   QUICK VIEW MODAL
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.quickview-modal-content {
  background-color: #ffffff;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 8px;
  position: relative;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.modal-backdrop.active .quickview-modal-content {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f0f0f0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: #555;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--accent-red);
  color: #fff;
}

.quickview-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  padding: 30px;
}

.quickview-img-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fafbfd;
  border-radius: 6px;
  padding: 20px;
}

.quickview-main-img {
  max-height: 300px;
  object-fit: contain;
}

.quickview-info-col h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 8px;
}

.quickview-sku {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.quickview-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.quickview-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-red);
}

.quickview-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.quickview-specs-box {
  background-color: #f8f9fa;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 20px;
}

.quickview-specs-box h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 8px;
}

.quickview-actions-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.quickview-add-cart-btn {
  flex: 1;
  background-color: var(--primary);
  color: var(--secondary);
  font-weight: 700;
  padding: 12px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

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

/* ==========================================================================
   CHECKOUT MODAL & ALGERIAN WILAYAS FORM
   ========================================================================== */

.checkout-modal-content {
  background-color: #ffffff;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 8px;
  padding: 30px;
  position: relative;
}

.checkout-modal-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.checkout-form-group {
  margin-bottom: 16px;
}

.checkout-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 6px;
}

.checkout-input, .checkout-select {
  width: 100%;
  height: 42px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0 14px;
  font-size: 13.5px;
}

.checkout-input:focus, .checkout-select:focus {
  border-color: var(--primary);
}

.checkout-summary-box {
  background-color: #f8f9fa;
  border-radius: 6px;
  padding: 16px;
  margin: 20px 0;
}

.checkout-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 6px;
}

.checkout-summary-line.total {
  font-size: 16px;
  font-weight: 700;
  border-top: 1px solid #ddd;
  padding-top: 8px;
  margin-top: 8px;
  color: var(--accent-red);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (HT-CTC STYLE)
   ========================================================================== */

.floating-whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
}

.whatsapp-bubble-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  position: relative;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  animation: ctcBounce 3s infinite;
}

.whatsapp-bubble-btn:hover {
  background-color: var(--whatsapp-hover);
  transform: scale(1.08);
}

.whatsapp-tooltip-box {
  position: absolute;
  right: 70px;
  background-color: #ffffff;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
}

.floating-whatsapp-widget:hover .whatsapp-tooltip-box {
  opacity: 1;
  transform: translateX(0);
}

@keyframes ctcBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-message {
  background-color: var(--secondary);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 6px;
  box-shadow: var(--shadow-hover);
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid var(--primary);
  animation: toastSlideIn 0.3s ease;
}

@keyframes toastSlideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Mobile Sticky Bottom Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  z-index: 900;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
}

.mobile-bottom-bar-items {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-around;
}

.mobile-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #666666;
  font-size: 11px;
  font-weight: 500;
  position: relative;
  width: 20%;
  height: 100%;
}

.mobile-bar-btn i {
  font-size: 18px;
  margin-bottom: 2px;
}

.mobile-bar-btn.active {
  color: var(--primary-dark);
}

.mobile-bar-badge {
  position: absolute;
  top: 6px;
  right: 22px;
  background-color: var(--accent-red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-main-heading {
    font-size: 34px;
  }
  .ymm-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ymm-submit-btn {
    grid-column: span 2;
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .trust-badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .categories-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .categories-menu-container {
    display: none;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .main-header .container {
    flex-wrap: wrap;
  }
  .header-search-wrapper {
    order: 3;
    max-width: 100%;
    width: 100%;
  }
  .search-category-select {
    display: none;
  }
  .horizontal-nav-list {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .hero-slider-section {
    min-height: auto;
    padding: 30px 0;
  }
  .hero-main-heading {
    font-size: 26px;
  }
  .ymm-form-grid {
    grid-template-columns: 1fr;
  }
  .ymm-submit-btn {
    grid-column: span 1;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .banners-grid {
    grid-template-columns: 1fr;
  }
  .about-intro-grid {
    grid-template-columns: 1fr;
  }
  .categories-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .quickview-grid {
    grid-template-columns: 1fr;
  }
  .mobile-bottom-bar {
    display: block;
  }
  body {
    padding-bottom: 60px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .trust-badges-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   AUTHENTIC CHROMIUM MEGA MENU (AS IN LIVE SITE SCREENSHOTS)
   ========================================================================== */
.mega-menu-nav-item {
  position: relative;
}

.categories-btn-trigger {
  background-color: var(--primary);
  color: #1e1e1e;
  border: none;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 13px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  height: 48px;
  transition: background-color var(--transition-fast);
}

.categories-btn-trigger:hover {
  background-color: var(--primary-hover);
}

.mega-menu-dropdown-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  width: 1140px;
  max-width: calc(100vw - 30px);
  background-color: #ffffff;
  border: 1px solid #e1e4e8;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
  display: none;
  z-index: 9999;
}

.mega-menu-dropdown-wrapper.open,
.mega-menu-nav-item:hover .mega-menu-dropdown-wrapper {
  display: flex !important;
}

.mega-menu-sidebar {
  width: 250px;
  flex-shrink: 0;
  background-color: #ffffff;
  border-right: 1px solid #ebebeb;
  display: flex;
  flex-direction: column;
}

.mega-cat-item {
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 500;
  color: #333333;
  cursor: pointer;
  border-bottom: 1px solid #f2f2f2;
  transition: all var(--transition-fast);
}

.mega-cat-item i {
  font-size: 10px;
  color: #999999;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.mega-cat-item:hover,
.mega-cat-item.active {
  background-color: #f7f8f9;
  color: #1e1e1e;
  font-weight: 700;
  padding-left: 24px;
}

.mega-cat-item:hover i,
.mega-cat-item.active i {
  color: var(--primary);
  transform: translateX(3px);
}

.mega-menu-content-area {
  flex: 1;
  background-color: #fcfcfc;
  padding: 24px 30px;
  min-height: 520px;
  max-height: 620px;
  overflow-y: auto;
}

.mega-content-pane {
  display: none;
}

.mega-content-pane.active {
  display: block;
}

.mega-columns-grid {
  display: grid;
  gap: 24px 32px;
}

.mega-columns-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.mega-columns-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.mega-columns-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.mega-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mega-subgroup {
  margin-bottom: 6px;
}

.mega-subgroup-title {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 10px 0;
  padding-bottom: 4px;
}

.mega-subgroup-title a {
  color: #1e1e1e;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mega-subgroup-title a:hover {
  color: var(--primary);
}

.mega-subgroup-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-subgroup-list li {
  margin-bottom: 4px;
}

.mega-subgroup-list li a {
  font-size: 13px;
  color: #555555;
  text-decoration: none;
  display: inline-block;
  padding: 2px 0;
  line-height: 1.4;
  transition: all var(--transition-fast);
}

.mega-subgroup-list li a:hover {
  color: #fdb819 !important;
  font-weight: 500;
  padding-left: 3px;
}

/* ==========================================================================
   YMM SELECTOR WIDGET & CATALOGUE FILTER BAR
   ========================================================================== */
.custom-filer-before-products {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.ymm-selector-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ymm-select-group {
  flex: 1;
  min-width: 140px;
}

.ymm-select-group select,
.ymm-select {
  width: 100%;
  height: 42px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 0 14px;
  font-size: 13.5px;
  color: #374151;
  background-color: #ffffff;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23666' d='M0 0l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 28px;
  transition: border-color var(--transition-fast);
}

.ymm-select-group select:focus,
.ymm-select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(253, 184, 25, 0.2);
}

.ymm-select.disabled,
.ymm-select-group select:disabled {
  background-color: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  border-color: #e5e7eb;
}

.ymm-search-btn {
  background-color: var(--primary);
  color: #1e1e1e;
  border: none;
  border-radius: 4px;
  height: 42px;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}

.ymm-search-btn:hover {
  background-color: var(--primary-hover);
}

/* Active filters chip banner */
.active-filters-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--primary);
  border-radius: 4px;
  padding: 10px 16px;
  margin-bottom: 20px;
  font-size: 13px;
}

.active-filters-label {
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  padding: 4px 10px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}

.filter-chip-remove {
  color: #94a3b8;
  cursor: pointer;
  font-size: 12px;
  transition: color var(--transition-fast);
}

.filter-chip-remove:hover {
  color: var(--accent-red);
}

.btn-clear-all-filters {
  background: none;
  border: none;
  color: var(--accent-red);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  text-decoration: underline;
  margin-left: auto;
}

.btn-clear-all-filters:hover {
  color: #b91c1c;
}

/* Sidebar Vehicle Filter Box */
.sidebar-vehicle-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-vehicle-box select {
  width: 100%;
  height: 38px;
  font-size: 13px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 0 10px;
  background-color: #ffffff;
}

.sidebar-vehicle-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.sidebar-btn-apply {
  flex: 1;
  background-color: var(--primary);
  color: #1e1e1e;
  border: none;
  border-radius: 4px;
  height: 34px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.sidebar-btn-reset {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  height: 34px;
  padding: 0 12px;
  font-size: 12.5px;
  cursor: pointer;
}

.sidebar-btn-reset:hover {
  background-color: #e2e8f0;
}

