/* LION AIR CLIMATIZACION - DESIGN SYSTEM (CLEAN & CONSOLIDATED) */
:root {
  --lion-red: #E30613;
  --lion-red-hover: #C50410;
  --lion-red-subtle: #FDF2F2;
  --lion-black: #111111;
  --lion-dark: #1E2124;
  --lion-gray-800: #333333;
  --lion-gray-600: #666666;
  --lion-gray-400: #999999;
  --lion-gray-200: #E5E7EB;
  --lion-gray-100: #F3F4F6;
  --lion-gray-50: #F9FAFB;
  --lion-white: #FFFFFF;
  --lion-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --lion-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --lion-shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --lion-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --lion-radius: 10px;
  --lion-radius-sm: 6px;
  --lion-radius-lg: 16px;
}

body {
  font-family: var(--lion-font);
  color: var(--lion-gray-800);
  background-color: #FFFFFF !important;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* =========================================================
   STICKY NAVBAR - SOLID WHITE BACKGROUND
========================================================= */
.lion-navbar {
  background-color: #FFFFFF !important;
  border-bottom: 1px solid #E5E7EB;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1050 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

.lion-logo img {
  height: 44px;
  width: auto;
}

.search-bar-header {
  max-width: 580px;
  width: 100%;
}

.search-input-group {
  display: flex;
  background: var(--lion-gray-100);
  border: 1px solid var(--lion-gray-200);
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.search-input-group:focus-within {
  border-color: var(--lion-red);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.15);
}

.search-input-group input {
  border: none;
  background: transparent;
  padding: 10px 18px;
  font-size: 14px;
  width: 100%;
  outline: none;
  color: var(--lion-black);
}

.search-input-group .btn-search {
  background: var(--lion-red);
  border: none;
  color: #FFFFFF;
  padding: 0 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.search-input-group .btn-search:hover {
  background: var(--lion-red-hover);
}

.nav-link-custom {
  color: var(--lion-gray-800);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--lion-radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.nav-link-custom:hover {
  color: var(--lion-red);
  background: var(--lion-red-subtle);
}

.country-badge,
.country-badge-selector {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  background-color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 600;
  color: #1F2937;
  user-select: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.country-flag-img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  display: inline-block;
  vertical-align: middle;
}

.country-badge-name {
  line-height: 1;
}

/* =========================================================
   HERO BANNER - HIGH IMPACT & FULLY VISIBLE PHOTOGRAPHY
========================================================= */
.hero-banner-section {
  position: relative;
  z-index: 1 !important;
  width: 100%;
  height: 380px;
  background-color: #0b0c10;
  overflow: hidden;
}

.hero-banner-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 1;
}

.hero-banner-overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(11, 12, 16, 0.94) 0%, rgba(11, 12, 16, 0.72) 42%, rgba(11, 12, 16, 0) 75%);
  z-index: 2;
  display: flex;
  align-items: center;
}

.hero-text-block {
  max-width: 560px;
  color: #ffffff;
  padding-left: 6px;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #d1d5db;
  margin-bottom: 22px;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.btn-lion-cta {
  background-color: var(--lion-red, #E30613);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(227, 6, 19, 0.45);
  border: none;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.btn-lion-cta:hover {
  background-color: #b8050f;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(227, 6, 19, 0.65);
}

/* =========================================================
   VEHICLE SEARCH CARD - OVERLAPS HERO BANNER WITH WHITE BG
========================================================= */
.hero-search-wrapper {
  position: relative;
  z-index: 50 !important;
  margin-top: -34px;
}

.vehicle-search-card {
  background-color: #FFFFFF !important;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16) !important;
  padding: 16px 20px;
  position: relative;
  z-index: 60 !important;
  border: 1px solid #E5E7EB;
}

.vehicle-search-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--lion-black);
  font-size: 14px;
}

.vehicle-search-header i {
  font-size: 24px;
  color: var(--lion-red);
}

.vehicle-select {
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: #374151;
  background-color: #FFFFFF !important;
  width: 100%;
  outline: none;
  transition: all 0.2s ease;
}

.vehicle-select:focus {
  border-color: var(--lion-red);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.12);
}

.vehicle-select:disabled {
  background-color: #F3F4F6 !important;
  color: #9CA3AF;
  cursor: not-allowed;
}

.btn-search-vehicle {
  background-color: var(--lion-red);
  color: #FFFFFF !important;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 42px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-search-vehicle:hover {
  background-color: #b8050f;
  box-shadow: 0 4px 12px rgba(227, 6, 19, 0.35);
}

/* =========================================================
   FEATURED CATEGORY CARDS (MOCKUP ACCURATE - 4 ON HOME)
========================================================= */
.category-hero-card {
  display: flex;
  align-items: center;
  background-color: #FFFFFF !important;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 14px 18px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  gap: 14px;
}

.category-hero-card:hover {
  transform: translateY(-3px);
  border-color: #D1D5DB;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.category-hero-icon {
  width: 58px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.category-hero-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.category-hero-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.category-hero-desc {
  font-size: 11.5px;
  color: #6B7280;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-hero-arrow {
  margin-left: auto;
  color: var(--lion-red, #E30613);
  font-size: 14px;
  font-weight: bold;
  flex-shrink: 0;
}

/* FEATURED CATEGORIES (CATALOG VIEW) */
.featured-cat-card {
  background: #FFFFFF !important;
  border: 1px solid var(--lion-gray-200);
  border-radius: var(--lion-radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--lion-black);
  transition: all 0.2s ease;
}

.featured-cat-card:hover {
  border-color: var(--lion-red);
  transform: translateY(-2px);
  box-shadow: var(--lion-shadow-md);
  color: var(--lion-red);
}

.featured-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--lion-red-subtle);
  color: var(--lion-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.featured-cat-title {
  font-weight: 700;
  font-size: 14px;
  margin: 0;
  line-height: 1.2;
}

.featured-cat-subtitle {
  font-size: 11px;
  color: var(--lion-gray-600);
  margin-top: 2px;
}

/* CATEGORY SIDEBAR */
.sidebar-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-category-item {
  margin-bottom: 4px;
}

.sidebar-category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-radius: var(--lion-radius-sm);
  color: var(--lion-gray-800);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s ease;
}

.sidebar-category-link:hover {
  background: var(--lion-gray-100);
  color: var(--lion-red);
}

.sidebar-category-link.active {
  background: var(--lion-red-subtle);
  color: var(--lion-red);
  font-weight: 700;
}

.sidebar-category-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 12px;
  background: var(--lion-gray-100);
  color: var(--lion-gray-600);
}

.sidebar-category-link.active .sidebar-category-badge {
  background: var(--lion-red);
  color: #FFFFFF;
}

/* PRODUCT CARD */
.product-card {
  background: #FFFFFF !important;
  border: 1px solid var(--lion-gray-200);
  border-radius: var(--lion-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.2s ease;
  position: relative;
}

.product-card:hover {
  border-color: #D1D5DB;
  transform: translateY(-3px);
  box-shadow: var(--lion-shadow-md);
}

.product-img-wrapper {
  background: #FFFFFF !important;
  height: 190px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid #F3F4F6;
}

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

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

.btn-fav-card {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--lion-gray-200);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lion-gray-400);
  cursor: pointer;
  transition: all 0.2s;
  z-index: 2;
}

.btn-fav-card:hover, .btn-fav-card.active {
  color: var(--lion-red);
  background: #FFFFFF;
  border-color: var(--lion-red);
}

.product-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--lion-black);
  margin-bottom: 6px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 36px;
}

.product-card-sku {
  font-size: 12px;
  color: var(--lion-gray-600);
  margin-bottom: 12px;
}

.product-card-sku strong {
  color: var(--lion-black);
}

.product-card-footer {
  margin-top: auto;
}

.btn-view-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 7px 12px;
  border: 1px solid var(--lion-red);
  border-radius: var(--lion-radius-sm);
  color: var(--lion-red);
  background: transparent;
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
  gap: 4px;
  transition: all 0.2s ease;
}

.btn-view-detail:hover {
  background: var(--lion-red);
  color: #FFFFFF !important;
}

/* PRODUCT DETAIL PAGE */
.detail-gallery-main {
  background: #FFFFFF !important;
  border: 1px solid var(--lion-gray-200);
  border-radius: var(--lion-radius);
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  margin-bottom: 14px;
}

.detail-gallery-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.detail-thumb-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.detail-thumb {
  width: 74px;
  height: 74px;
  border: 2px solid var(--lion-gray-200);
  border-radius: var(--lion-radius-sm);
  background: #FFFFFF !important;
  padding: 4px;
  cursor: pointer;
  object-fit: contain;
  transition: all 0.2s;
  flex-shrink: 0;
}

.detail-thumb.active, .detail-thumb:hover {
  border-color: var(--lion-red);
}

.sku-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lion-red-subtle);
  color: var(--lion-red);
  font-weight: 800;
  font-size: 15px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.detail-table {
  width: 100%;
  font-size: 13px;
  border-collapse: separate;
  border-spacing: 0;
}

.detail-table th {
  background: var(--lion-gray-100);
  color: var(--lion-black);
  font-weight: 700;
  padding: 10px 14px;
  border-bottom: 1px solid var(--lion-gray-200);
}

.detail-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--lion-gray-200);
  color: var(--lion-gray-800);
}

.detail-table tr:hover td {
  background: #FCFDFE;
}

/* PWA INSTALL BANNER */
.pwa-install-bar {
  display: none;
  background: var(--lion-dark);
  color: #FFFFFF;
  padding: 10px 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}

.pwa-install-bar.show {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .hero-banner-section {
    height: 320px;
  }
  .hero-title {
    font-size: 30px;
  }
  .hero-subtitle {
    font-size: 11px;
    letter-spacing: 1.5px;
  }
  .hero-search-wrapper {
    margin-top: -24px;
  }
}

@media (max-width: 767px) {
  .hero-banner-section {
    height: 270px;
  }
  .hero-title {
    font-size: 24px;
  }
  .hero-search-wrapper {
    margin-top: 10px;
  }
  .vehicle-search-card {
    padding: 14px;
  }
  .detail-gallery-main {
    height: 300px;
  }
}
