/*
    File: style.css
    Purpose: Main stylesheet for OMG Distributors vape store
    Contains: Global styles, navigation, hero, products, sections, footer
*/

/* Poppins loaded via <link> in HTML head for better performance */

/* Import Neon RGB Cycling Scrollbar */
@import url("neon-scrollbar.css");

/* ========================================
   GLOBAL: Password visibility toggle
   ======================================== */
.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.password-input-wrapper input {
  flex: 1;
  padding-right: 44px;
}
.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.password-toggle .eye-icon {
  width: 20px;
  height: 20px;
  display: block;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}
.password-toggle:hover .eye-icon {
  opacity: 1;
}

/* ========================================
   GLOBAL STYLES & RESET
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette */
  --primary-color: #ff6b35;
  --secondary-color: #f7931e;
  --accent-color: #00d4ff;
  --dark-bg: #1a1a1a;
  --light-bg: #ffffff;
  --text-dark: #333333;
  --text-light: #666666;
  --border-color: #e0e0e0;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;

  /* Typography */
  --font-primary: "Poppins", sans-serif;
  --font-heading: "Poppins", sans-serif;

  /* Fluid Typography - Scales between mobile and desktop */
  --font-size-hero: clamp(2rem, 5vw, 4rem);
  --font-size-h1: clamp(1.75rem, 4vw, 3rem);
  --font-size-h2: clamp(1.5rem, 3.5vw, 2.5rem);
  --font-size-h3: clamp(1.25rem, 3vw, 2rem);
  --font-size-h4: clamp(1.1rem, 2.5vw, 1.5rem);
  --font-size-body: clamp(0.875rem, 2vw, 1rem);
  --font-size-small: clamp(0.75rem, 1.5vw, 0.875rem);

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-xxl: 64px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-bg);
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

ul {
  list-style: none;
}

/* Screen reader only - visually hidden but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition-normal);
}

input,
textarea,
select {
  font-family: inherit;
  border: none;
  outline: none;
}

/* ========================================
   GLOBAL SELECT/DROPDOWN STYLING
   ======================================== */

/* Universal select styling - applies to ALL select elements */
select,
select.variant-select,
select.filter-dropdown,
select.filter-select,
#flavour_select,
#nicotine_select,
#sort_by,
#sort_products,
#category_filter_dropdown,
#brand_filter_dropdown,
#status-filter,
#subject,
#business-province,
#checkout_province,
#date-range-filter {
  width: 100% !important;
  padding: 12px 16px !important;
  padding-right: 40px !important;
  border: 2px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  font-family: var(--font-primary) !important;
  background-color: var(--light-bg) !important;
  color: var(--text-dark) !important;
  cursor: pointer !important;
  transition: all var(--transition-normal) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 20px !important;
}

/* Hover state for all selects */
select:hover {
  border-color: var(--primary-color) !important;
  background-color: #fff !important;
}

/* Focus state for all selects */
select:focus {
  outline: none !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1) !important;
  background-color: #fff !important;
}

/* Disabled state */
select:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  background-color: #f5f5f5 !important;
}

/* Style ALL select options - force proper styling */
select option {
  padding: 12px 16px !important;
  background-color: white !important;
  color: #1a1a1a !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  font-family: var(--font-primary) !important;
}

/* Selected/checked option styling */
select option:checked {
  background-color: #ff6b35 !important;
  background: #ff6b35 !important;
  color: white !important;
  font-weight: 600 !important;
}

/* ========================================
   TOP BANNER
   ======================================== */

.top-banner {
  background: linear-gradient(90deg, #0099ff, #0055cc, #00ccff, #0055cc, #0099ff);
  color: var(--light-bg);
  padding: var(--spacing-xs) 0;
  overflow: hidden;
}

.banner-content {
  animation: scroll-banner 20s linear infinite;
  white-space: nowrap;
}

.banner-content p {
  display: inline-block;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding-right: 50px;
}

@keyframes scroll-banner {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ========================================
   NAVIGATION BAR
   ======================================== */

.main-nav {
  background-color: var(--light-bg);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 9999;
  padding: var(--spacing-sm) 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
}

/* Logo */
.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

/* Search Bar */
.search-bar {
  flex: 1;
  max-width: 500px;
  display: flex;
  align-items: center;
  background-color: #f5f5f5;
  border-radius: var(--radius-lg);
  padding: var(--spacing-xs) var(--spacing-sm);
}

.search-bar input {
  flex: 1;
  background: transparent;
  padding: var(--spacing-xs);
  font-size: 14px;
}

.search-bar button {
  padding: var(--spacing-xs) var(--spacing-sm);
  background-color: var(--primary-color);
  color: var(--light-bg);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
}

.search-bar button span {
  display: none; /* Hide "Search" text, show icon only */
}

.search-bar button:hover {
  background-color: var(--secondary-color);
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

/* Hide Mobile Navigation on Desktop */
.mobile-nav-main,
.mobile-nav-submenu,
.mobile-menu-toggle {
  display: none;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav > li {
  position: relative;
}

.desktop-nav > li > a {
  font-weight: 600;
  font-size: 15px;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-md);
  transition: color var(--transition-normal);
  display: block;
  color: var(--text-dark);
  text-decoration: none;
  position: relative;
}

.desktop-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: var(--spacing-sm);
  right: var(--spacing-sm);
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.desktop-nav > li > a:hover::after,
.desktop-nav > li > a.active::after {
  transform: scaleX(1);
}

/* Dropdown Menu for Desktop */
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-md);
  padding: 8px 0;
  min-width: 220px;
  max-height: 400px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 10000;
  list-style: none;
  margin: 4px 0 0 0;
  scrollbar-color: var(--primary-color) #f0f0f0;
  border: 1px solid rgba(0, 0, 0, 0.08);
}


.dropdown-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-dark);
  text-decoration: none;
}

/* Span wraps just the text so ::after is capped to text width */
.dropdown-menu li a .link-text {
  display: inline-block;
  position: relative;
}

.dropdown-menu li a .link-text::after {
  content: '';
  display: block;
  height: 2px;
  margin-top: 2px;
  background: var(--primary-color);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.dropdown-menu li a:hover .link-text::after {
  transform: scaleX(1);
}

/* Navigation Actions */
.nav-actions {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}

.icon-btn {
  position: relative;
  border-radius: 50% !important;
  width: 42px;
  height: 42px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.06);
  border: 2px solid rgba(0, 0, 0, 0.35);
  outline: none !important;
  transition: var(--transition-normal);
  color: var(--text-dark);
  flex-shrink: 0;
}

.icon-btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
}

.icon-btn:focus,
.icon-btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

[data-theme="dark"] .icon-btn {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
  color: #e8e8e8;
}

[data-theme="dark"] .icon-btn:hover {
  border-color: var(--primary-color);
  color: #ffffff;
}

.icon-label {
  display: none; /* Hide text labels on desktop */
  font-size: 12px;
  font-weight: 600;
}

/* Cart Count Badge */
.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--danger-color);
  color: var(--light-bg);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* Auth Indicator (Logged-in status) */
.auth-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  background-color: #28a745;
  border: 2px solid white;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 30px;
  justify-content: center;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition-normal);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: var(--dark-bg);
}

@media (min-width: 768px) {
  .hero-section {
    height: 400px;
  }
}

@media (min-width: 1200px) {
  .hero-section {
    height: 700px;
  }
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 767px) {
  .slider-control {
    display: none;
  }
}

.hero-content {
  position: absolute;
  bottom: 70px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--light-bg);
  z-index: 10;
  width: 100%;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: var(--font-size-hero);
  font-weight: 900;
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: clamp(1px, 0.5vw, 2px);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: var(--spacing-lg);
  font-weight: 500;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.cta-button {
  display: inline-block;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 3vw, 3rem);
  background-color: var(--primary-color);
  color: var(--light-bg);
  font-weight: 700;
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  border-radius: var(--radius-lg);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
}

.cta-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

/* Slider Controls */
.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-color: rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: var(--transition-normal);
  cursor: pointer;
  padding: 10px;
  backdrop-filter: blur(4px);
}

.slider-control img {
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  transition: var(--transition-normal);
}

.slider-control:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.slider-control:hover img {
  filter: brightness(0) invert(1);
  transform: scale(1.1);
}

.slider-control.prev {
  left: var(--spacing-md);
}

.slider-control.next {
  right: var(--spacing-md);
}

.slider-control span {
  display: none;
}

/* Slider Indicators */
.slider-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--spacing-sm);
  z-index: 20;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  transition: var(--transition-normal);
}

.indicator.active {
  background-color: var(--primary-color);
  width: 40px;
  border-radius: 6px;
}

/* ========================================
   ALL BRANDS GRID SECTION
   ======================================== */

.all-brands-grid-section {
  padding: var(--spacing-xxl) 0;
  background: white;
  position: relative;
}

.all-brands-grid-section > * {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.all-brands-grid-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - calc(var(--spacing-lg) * 2));
  max-width: 1400px;
  height: 100%;
  background: linear-gradient(
    135deg,
    #ff1493 0%,
    #ff69b4 25%,
    #ffa500 50%,
    #ffd700 75%,
    #ff8c00 100%
  );
  border-radius: 24px;
  z-index: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.all-brands-grid-section > * {
  position: relative;
  z-index: 1;
}

.all-brands-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.brands-grid-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 900;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* Brands Grid */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.brand-grid-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-grid-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.brand-grid-image {
  background: #f5f5f5;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  position: relative;
  flex: 1;
}

.brand-grid-image img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.brand-grid-card:hover .brand-grid-image img {
  transform: scale(1.1);
}

.brand-grid-name {
  background: #2d2d2d;
  color: #ffffff;
  text-align: center;
  padding: var(--spacing-md);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   NEW ARRIVALS SECTION
   ======================================== */

.new-arrivals-section {
  padding: var(--spacing-xl) 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.new-arrivals-section .section-container {
  position: relative;
  z-index: 1;
}

.new-arrivals-section .section-header h2 {
  background: linear-gradient(135deg, #ff6b35 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   BEST SELLERS SECTION
   ======================================== */

.best-sellers-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--light-bg);
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
}

.section-header p {
  font-size: 18px;
  color: var(--text-light);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

/* Product Card */
.product-card {
  background-color: var(--light-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.product-badge {
  position: absolute;
  left: var(--spacing-sm);
  background-color: var(--primary-color);
  color: var(--light-bg);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 10;
  margin-bottom: 6px;
}

/* Stack multiple badges vertically */
.product-badge:nth-child(1) {
  top: var(--spacing-sm);
}

.product-badge:nth-child(2) {
  top: calc(var(--spacing-sm) + 34px);
}

.product-badge:nth-child(3) {
  top: calc(var(--spacing-sm) + 68px);
}

.sale-badge {
  background-color: var(--danger-color);
}

.product-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: var(--spacing-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--spacing-xs);
  min-height: 3em;
  max-height: 3em;
  line-height: 1.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.product-brand {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
}

.product-price {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.current-price {
  font-size: 24px;
  font-weight: 500;
  color: var(--primary-color);
}

.original-price {
  font-size: 16px;
  color: var(--text-light);
  text-decoration: line-through;
}

.price-type {
  display: inline-block;
  align-self: flex-start;
  background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card .add-to-cart-btn {
  width: calc(100% - calc(var(--spacing-md) * 2));
  margin: auto var(--spacing-md) var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--dark-bg);
  color: var(--light-bg);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  display: block;
}

.product-card .add-to-cart-btn:hover {
  background-color: var(--primary-color);
}

/* View All Button */
/* Best Sellers Carousel */
.best-sellers-carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--spacing-xl);
}

.best-sellers-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(to left, var(--light-bg), transparent);
  pointer-events: none;
  z-index: 10;
}

.best-sellers-carousel {
  display: flex;
  gap: var(--spacing-lg);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding-bottom: var(--spacing-sm);
  padding-right: var(--spacing-xl);
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.best-sellers-carousel:active {
  cursor: grabbing;
  scroll-behavior: auto;
}

.best-sellers-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.best-sellers-carousel {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.best-sellers-carousel .product-card {
  flex: 0 0 280px;
  min-width: 280px;
}

.best-sellers-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
}

.view-all-btn-container {
  flex: 1;
}

.view-all-btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-xl);
  background-color: transparent;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius-lg);
  text-transform: uppercase;
  transition: var(--transition-normal);
}

.carousel-controls {
  display: flex;
  gap: var(--spacing-sm);
}

.carousel-control {
  width: 50px;
  height: 50px;
  background-color: transparent;
  border: 2px solid var(--text-dark);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-normal);
  padding: 8px;
}

.carousel-control img {
  width: 100%;
  height: 100%;
  filter: brightness(0);
  transition: var(--transition-normal);
}

.carousel-control:hover {
  background-color: var(--dark-bg);
  border-color: var(--dark-bg);
}

.carousel-control:hover img {
  filter: brightness(0) invert(1);
}

.carousel-control:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-control:disabled:hover {
  background-color: transparent;
  border-color: var(--text-dark);
}

.carousel-control:disabled:hover img {
  filter: brightness(0);
}

.view-all-btn:hover {
  background-color: var(--dark-bg);
  color: var(--light-bg);
  border-color: var(--dark-bg);
}

/* ========================================
   RUNFREE HERO BANNER SLIDE
   ======================================== */

.runfree-slide { z-index: 1; }

.runfree-banner-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0f3460 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.runfree-banner-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(255,107,53,0.12) 0%, transparent 65%);
}

.runfree-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 40px;
}

.runfree-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  color: #ff6b35;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.runfree-banner-title {
  font-size: clamp(72px, 13vw, 160px);
  font-weight: 900;
  color: #ffffff;
  line-height: 0.9;
  letter-spacing: -4px;
  margin: 0 0 20px;
  text-shadow: 0 0 80px rgba(255,107,53,0.25);
}

.runfree-banner-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.runfree-banner-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.5px;
  margin-bottom: 32px;
}

.runfree-dot {
  color: #ff6b35;
  font-size: 18px;
  line-height: 1;
}

.runfree-cta {
  display: inline-block;
  background: #ff6b35;
  color: #fff;
  padding: 14px 40px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s;
}
.runfree-cta:hover { background: #e55a25; }

/* ========================================
   RUNFREE SPOTLIGHT SECTION
   ======================================== */

.runfree-spotlight {
  background: #0d0d0d;
  padding: 80px 0;
  overflow: hidden;
}

.runfree-spotlight-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.runfree-spotlight-left { flex: 1.2; }
.runfree-spotlight-right { flex: 0.8; }

.runfree-spotlight-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #ff6b35;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.runfree-spotlight-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin: 0 0 24px;
  letter-spacing: -1px;
}

.runfree-x { color: #ff6b35; }

.runfree-spotlight-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 28px;
}

.runfree-spotlight-desc strong { color: #ffffff; }

.runfree-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.runfree-features li {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 10px;
}

.runfree-check {
  color: #ff6b35;
  font-weight: 700;
  font-size: 16px;
}

.runfree-spotlight-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.runfree-btn-primary {
  display: inline-block;
  background: #ff6b35;
  color: #fff;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.2s;
}
.runfree-btn-primary:hover { background: #e55a25; }

.runfree-btn-secondary {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.runfree-btn-secondary:hover { border-color: #ff6b35; color: #ff6b35; }

/* Runfree product card */
.runfree-card {
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(255,107,53,0.1);
}

.runfree-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff6b35;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 6px 22px;
  border-radius: 3px;
  white-space: nowrap;
  text-transform: uppercase;
}

.runfree-card-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0 32px;
}

.runfree-card-brand {
  font-size: 48px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1px;
  line-height: 1;
}

.runfree-card-by {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
  margin-top: 4px;
}

.runfree-card-specs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 20px 0;
}

.runfree-spec {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.runfree-spec-value {
  font-size: 28px;
  font-weight: 900;
  color: #ff6b35;
  line-height: 1;
}

.runfree-spec-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.runfree-spec-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

.runfree-card-cta {
  display: inline-block;
  width: 100%;
  background: rgba(255,107,53,0.15);
  border: 1px solid #ff6b35;
  color: #ff6b35;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.runfree-card-cta:hover { background: #ff6b35; color: #fff; }

@media (max-width: 768px) {
  .runfree-banner-title { font-size: 72px; letter-spacing: -2px; }
  .runfree-banner-stats { flex-wrap: wrap; justify-content: center; }
  .runfree-spotlight-container { flex-direction: column; padding: 0 24px; }
  .runfree-spotlight { padding: 60px 0; }
  .runfree-spotlight-title { font-size: 42px; }
}

/* ========================================
   MOVING BANNER
   ======================================== */

.moving-banner {
  background: linear-gradient(90deg, #ff6b35, #2d2d2d);
  padding: var(--spacing-md) 0;
  overflow: hidden;
  position: relative;
}

.banner-track {
  display: flex;
  animation: scroll-infinite 30s linear infinite;
}

.banner-text {
  display: flex;
  gap: var(--spacing-lg);
  white-space: nowrap;
}

.banner-text span {
  color: var(--light-bg);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.banner-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

@keyframes scroll-infinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ========================================
   FEATURED BRAND SECTION (NASTY)
   ======================================== */

.featured-brand-section {
  padding: var(--spacing-xxl) 0;
  background-color: #f5f5f5;
}

.brand-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.brand-hero {
  position: relative;
  margin-bottom: var(--spacing-xl);
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 500px;
}

.brand-hero-image {
  width: 100%;
  height: 100%;
}

.brand-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-hero-content h2 {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 900;
  color: var(--light-bg);
  text-transform: uppercase;
  text-shadow: 4px 4px 12px rgba(0, 0, 0, 0.7);
}

/* 3D Model Viewer Styling */
.brand-3d-model {
  width: 100%;
  height: 500px;
  --poster-color: transparent;
  --progress-bar-color: #ff6b35;
}

/* Remove model-viewer default styling */
.brand-3d-model::part(default-progress-bar) {
  background-color: #ff6b35;
}

/* Hide background image and add gradient when 3D model is present */
.brand-hero:has(.brand-3d-model) .brand-hero-image {
  display: none;
}

.brand-hero:has(.brand-3d-model) {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
}

/* Brand Products Grid */
.brand-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.brand-product {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.brand-product:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.brand-product:hover .product-name-overlay {
  opacity: 1;
  visibility: visible;
}

.brand-product img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.product-name-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.7) 60%,
    transparent 100%
  );
  color: white;
  padding: 20px 16px 16px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

/* Brand Tagline */
.brand-tagline {
  text-align: center;
  padding: var(--spacing-xl);
  background-color: var(--light-bg);
  border-radius: var(--radius-xl);
}

.brand-tagline h3 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.brand-tagline p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* ========================================
   PRODUCT SHOWCASE SECTION
   ======================================== */

/* ========================================
   TOP BRANDS SECTION - TABBED INTERFACE
   ======================================== */

.top-brands-section {
  padding: var(--spacing-xl) 0;
  background-color: #ffffff;
  position: relative;
}

.top-brands-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.top-brands-header .section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--dark-bg);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Brand Tabs Navigation */
.brand-tabs {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
  padding: 0 var(--spacing-md);
}

.brand-tab {
  background: #f5f5f5;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  padding: var(--spacing-sm) var(--spacing-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  min-width: 140px;
  position: relative;
  overflow: hidden;
}

.brand-tab::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 0;
}

.brand-tab:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.brand-tab:hover::before {
  opacity: 0.08;
}

.brand-tab.active {
  background: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.2);
  transform: translateY(-2px);
}

.brand-tab.active::before {
  opacity: 0.05;
}

.brand-tab .tab-logo {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform var(--transition-normal);
}

.brand-tab:hover .tab-logo {
  transform: scale(1.08);
}

.brand-tab.active .tab-logo {
  transform: scale(1.05);
}

.brand-tab .tab-logo-text {
  font-family: "Arial Black", "Helvetica", sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 3px;
  color: #1a1a1a;
  position: relative;
  z-index: 1;
  transition: transform var(--transition-normal);
}

.brand-tab:hover .tab-logo-text {
  transform: scale(1.08);
}

.brand-tab.active .tab-logo-text {
  transform: scale(1.05);
  color: var(--primary-color);
}

/* Brand Content Wrapper */
.brand-content-wrapper {
  position: relative;
  min-height: 380px;
}

.brand-content {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.brand-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Brand Showcase Section - Airscream */
.brand-showcase-section {
  padding: var(--spacing-xxl) 0;
  background-color: var(--light-bg);
  position: relative;
}

.brand-showcase-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.brand-logo-title {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  justify-content: center;
}

.brand-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.brand-logo-only {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

.brand-logo-main {
  height: 120px;
  width: auto;
  max-width: 500px;
  object-fit: contain;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.1));
}

.nasty-premium .brand-logo-main {
  height: 280px;
  filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%)
    hue-rotate(185deg) brightness(119%) contrast(119%)
    drop-shadow(0 6px 20px rgba(0, 0, 0, 0.25));
  transition: filter 0.3s ease;
}

.nasty-premium .brand-logo-main:hover {
  filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%)
    hue-rotate(185deg) brightness(119%) contrast(119%)
    drop-shadow(0 8px 25px rgba(0, 0, 0, 0.35));
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text-dark);
  letter-spacing: 4px;
  margin: 0;
}

.brand-tagline {
  font-size: 18px;
  color: var(--text-light);
  font-weight: 300;
  letter-spacing: 1px;
}

.brand-showcase-carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--spacing-xl);
}

.brand-showcase-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(to left, var(--light-bg), transparent);
  pointer-events: none;
  z-index: 10;
}

.brand-showcase-carousel {
  display: flex;
  gap: var(--spacing-lg);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding-bottom: var(--spacing-sm);
  padding-right: var(--spacing-xl);
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.brand-showcase-carousel:active {
  cursor: grabbing;
  scroll-behavior: auto;
}

.brand-showcase-carousel::-webkit-scrollbar {
  display: none;
}

.brand-showcase-carousel {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.brand-showcase-carousel .product-card {
  flex: 0 0 280px;
  min-width: 280px;
}

.brand-showcase-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
}

.view-brand-btn-container {
  flex: 1;
}

/* ========================================
   NASTY PREMIUM SECTION - BEST SELLER
   ======================================== */

.nasty-premium {
  background: linear-gradient(135deg, #7ed957 0%, #6bc73e 50%, #5ab52e 100%);
  position: relative;
  overflow: hidden;
}

.nasty-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.08) 100%
  );
  pointer-events: none;
}

.nasty-header {
  position: relative;
  z-index: 1;
  margin-bottom: 100px;
}

.premium-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 10px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  margin-bottom: var(--spacing-md);
  display: inline-block;
  transition: all 0.3s ease;
}

.premium-badge:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
}

.nasty-tagline {
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 700;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
  letter-spacing: 1.5px;
  font-style: italic;
  font-family: "Brush Script MT", "Lucida Handwriting", "Comic Sans MS", cursive;
  text-transform: none;
}

.nasty-carousel-wrapper::after {
  background: linear-gradient(to left, #5ab52e, transparent) !important;
}

.nasty-carousel .product-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.nasty-carousel .product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
}

.nasty-btn {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #1e90ff !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.nasty-btn:hover {
  background: #ffffff !important;
  color: #0066ff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.6) !important;
}

.nasty-control {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.nasty-control img {
  filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%)
    hue-rotate(185deg) brightness(119%) contrast(119%) !important;
}

.nasty-control:hover {
  background: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.nasty-control:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.nasty-control:disabled:hover {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* NASTY Section Oldman GIF */
.nasty-oldman-gif {
  position: absolute;
  top: 240px;
  left: 30%;
  transform: translateX(-50%) rotate(-8deg);
  width: 140px;
  height: auto;
  z-index: 10;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
  opacity: 0.95;
}

/* NASTY Section Product Card Overrides - Blue Theme */
.nasty-carousel .product-card .current-price {
  color: #1e90ff !important;
}

.nasty-carousel .product-card .add-to-cart-btn {
  background-color: var(--dark-bg) !important;
  color: white !important;
}

.nasty-carousel .product-card .add-to-cart-btn:hover {
  background-color: #1e90ff !important;
}

/* Old Product Showcase Section - Keep for backward compatibility */
.product-showcase-section {
  padding: var(--spacing-xxl) 0;
  background-color: var(--light-bg);
}

.showcase-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Showcase Top & Bottom */
.showcase-top,
.showcase-bottom {
  margin-bottom: var(--spacing-xl);
}

.showcase-heading h2 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: var(--spacing-lg);
  color: var(--text-dark);
}

.showcase-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.showcase-item {
  position: relative;
  background-color: #f5f5f5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: var(--spacing-md);
  transition: var(--transition-normal);
}

.showcase-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.showcase-item img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  margin-bottom: var(--spacing-sm);
}

.showcase-item-info h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: var(--text-dark);
}

.showcase-item-info .price {
  font-size: 22px;
  font-weight: 500;
  color: var(--primary-color);
}

/* Showcase Hero */
.showcase-hero {
  position: relative;
  margin: var(--spacing-xxl) 0;
  height: 600px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-image-container {
  width: 100%;
  height: 100%;
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-overlay {
  position: absolute;
  bottom: var(--spacing-xl);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--light-bg);
}

.hero-overlay h2 {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
}

.hero-overlay h3 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* ========================================
   FOOTER
   ======================================== */

.main-footer {
  background-color: var(--dark-bg);
  color: var(--light-bg);
  padding: var(--spacing-xxl) 0 var(--spacing-md);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--light-bg);
}

.footer-section p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.footer-section ul li {
  margin-bottom: var(--spacing-sm);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-section ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-normal);
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-credit {
  margin-top: 6px;
  font-size: 12px;
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-credit a:hover {
  color: var(--primary-color);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center {
  text-align: center;
}

.mt-sm {
  margin-top: var(--spacing-sm);
}
.mt-md {
  margin-top: var(--spacing-md);
}
.mt-lg {
  margin-top: var(--spacing-lg);
}

.mb-sm {
  margin-bottom: var(--spacing-sm);
}
.mb-md {
  margin-bottom: var(--spacing-md);
}
.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.pt-sm {
  padding-top: var(--spacing-sm);
}
.pt-md {
  padding-top: var(--spacing-md);
}
.pt-lg {
  padding-top: var(--spacing-lg);
}

.pb-sm {
  padding-bottom: var(--spacing-sm);
}
.pb-md {
  padding-bottom: var(--spacing-md);
}
.pb-lg {
  padding-bottom: var(--spacing-lg);
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
.scroll-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

/* Homepage only - scroll to top on left */
body.homepage .scroll-to-top {
  left: 30px;
  right: auto;
}

/* Shop page - scroll to top lower on right */
body.shop-page .scroll-to-top {
  bottom: 30px;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.scroll-to-top img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

/* ========================================
   FLOATING BUTTONS CONTAINER
   ======================================== */

.floating-buttons {
  position: fixed;
  bottom: 30px;
  left: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

/* WhatsApp Button */
.whatsapp-button {
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-button svg {
  width: 32px;
  height: 32px;
}

/* ========================================
   CHATBOT STYLES
   ======================================== */

.chatbot-toggle {
  position: fixed;
  bottom: 20px;
  right: 30px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
  z-index: 999;
}

.chatbot-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #2d2d2d 0%, #3d3d3d 100%);
}

.chatbot-toggle.pop {
  animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes popIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.chatbot-toggle svg {
  width: 22px;
  height: 22px;
}

.chatbot-window {
  position: fixed;
  bottom: 80px;
  right: 30px;
  width: 400px;
  max-height: calc(100vh - 180px);
  height: 550px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  z-index: 1001;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  visibility: hidden;
}

.chatbot-window.active {
  pointer-events: auto;
  visibility: visible;
  animation: slideUpFade 0.4s ease-out forwards;
}

.chatbot-window.closing {
  display: flex;
  pointer-events: none;
  visibility: visible;
  animation: slideDownFade 0.3s ease-in forwards;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDownFade {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

.chatbot-header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-header svg {
  width: 28px;
  height: 28px;
}

.chatbot-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.chatbot-header span {
  font-size: 12px;
  opacity: 0.8;
  display: block;
  margin-top: 2px;
}

.chatbot-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chatbot-close svg {
  width: 18px;
  height: 18px;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #f8f9fa;
}

.chatbot-message {
  margin-bottom: 16px;
  animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message-content {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  max-width: 80%;
  line-height: 1.5;
}

.bot-message .message-content {
  background: white;
  color: #1a1a1a;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.user-message {
  text-align: right;
}

.user-message .message-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  border-bottom-right-radius: 4px;
}

.message-content p {
  margin: 0 0 6px 0;
  line-height: 1.6;
}

.message-content p:last-child {
  margin-bottom: 0;
}

.message-content strong {
  font-weight: 700;
  color: inherit;
}

.bot-message .message-content strong {
  color: #1a1a1a;
}

.chat-link {
  color: #f97316;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(249, 115, 22, 0.35);
  transition: border-color 0.15s, color 0.15s;
}

.chat-link:hover {
  color: #ea580c;
  border-bottom-color: #ea580c;
}

.message-content .chat-list {
  margin: 6px 0 6px 4px;
  padding-left: 18px;
}

.message-content ul.chat-list {
  list-style-type: disc;
}

.message-content ol.chat-list {
  list-style-type: decimal;
}

.message-content .chat-list li {
  margin: 4px 0;
  line-height: 1.55;
  padding-left: 2px;
}

.message-content .chat-list li + li {
  margin-top: 5px;
}

.chatbot-input-container {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 16px;
  background: white;
  border-top: 1px solid #e0e0e0;
}

.chatbot-input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
  resize: none;
  min-height: 44px;
  max-height: 120px;
  overflow-y: hidden;
  line-height: 1.4;
  background: #f8f9fa;
  box-sizing: border-box;
  vertical-align: middle;
}

.chatbot-input:focus {
  border-color: #1a1a1a;
  background: #ffffff;
}

/* Hide scrollbar for chatbot input */
.chatbot-input::-webkit-scrollbar {
  display: none;
}

.chatbot-input {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.chatbot-send {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.chatbot-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.chatbot-send svg {
  width: 20px;
  height: 20px;
}

.chatbot-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========================================
   CHATBOT PRODUCT CARDS
   ======================================== */

.chatbot-products {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.chatbot-product-card {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.chatbot-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #1a1a1a;
}

.chatbot-product-card .product-image {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.chatbot-product-card .product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chatbot-product-card h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.chatbot-product-card .product-brand {
  margin: 4px 0;
  font-size: 12px;
  color: #666;
}

.chatbot-product-card .product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.chatbot-product-card .product-price {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.chatbot-product-card .product-stock {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.chatbot-product-card .product-stock.in-stock {
  background: #d4edda;
  color: #155724;
}

.chatbot-product-card .product-stock.out-of-stock {
  background: #f8d7da;
  color: #721c24;
}

/* ========================================
   CHATBOT TYPING INDICATOR
   ======================================== */

.typing-indicator .message-content {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 20px !important;
}

.typing-indicator .message-content span {
  width: 8px;
  height: 8px;
  background: #666;
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.typing-indicator .message-content span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator .message-content span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

/* ========================================
   RESPONSIVE - TOP BRANDS TABS
   ======================================== */

@media (max-width: 992px) {
  .top-brands-header .section-title {
    font-size: 32px;
  }

  .brand-tabs {
    gap: var(--spacing-sm);
  }

  .brand-tab {
    min-width: 140px;
    min-height: 70px;
    padding: var(--spacing-sm) var(--spacing-md);
  }

  .brand-tab .tab-logo {
    height: 42px;
    max-width: 120px;
  }

  /* Brand Grid Responsive */
  .brands-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--spacing-md);
  }

  .brands-grid-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .top-brands-header .section-title {
    font-size: 28px;
  }

  .brand-tabs {
    gap: var(--spacing-xs);
    padding: 0 var(--spacing-sm);
  }

  .brand-tab {
    min-width: 120px;
    min-height: 60px;
    padding: var(--spacing-xs) var(--spacing-sm);
  }

  .brand-tab .tab-logo {
    height: 36px;
    max-width: 100px;
  }

  .brand-content-wrapper {
    min-height: 400px;
  }

  /* Brand Grid Responsive */
  .brands-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-sm);
  }

  .brands-grid-title {
    font-size: 24px;
    letter-spacing: 1px;
  }

  .brand-grid-image {
    min-height: 120px;
    padding: 0;
  }

  .brand-grid-image img {
    min-height: 120px;
    object-fit: cover;
  }

  .brand-grid-name {
    font-size: 14px;
    padding: var(--spacing-sm);
  }
}

@media (max-width: 480px) {
  .top-brands-header .section-title {
    font-size: 24px;
    letter-spacing: 0.5px;
  }

  .brand-tabs {
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-xs);
  }

  .brand-tab {
    min-width: 100%;
    min-height: 70px;
  }

  .brand-tab .tab-logo {
    height: 40px;
  }

  .brand-content-wrapper {
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  /* Homepage only - scroll to top on left */
  body.homepage .scroll-to-top {
    left: 20px;
    right: auto;
  }

  /* Shop page - scroll to top lower on right */
  body.shop-page .scroll-to-top {
    bottom: 20px;
  }

  .scroll-to-top img {
    width: 20px;
    height: 20px;
  }

  .floating-buttons {
    bottom: 80px;
    left: 20px;
  }

  .whatsapp-button {
    width: 50px;
    height: 50px;
  }

  .whatsapp-button svg {
    width: 26px;
    height: 26px;
  }

  .chatbot-toggle {
    bottom: 15px;
    right: 20px;
    padding: 12px 18px;
    font-size: 14px;
  }

  .chatbot-window {
    bottom: 70px;
    right: 20px;
    left: 20px;
    width: auto;
    height: 500px;
  }

  .chatbot-input {
    font-size: 13px;
    padding: 8px 12px;
    min-height: 40px;
  }

  .chatbot-send {
    width: 40px;
    height: 40px;
  }

  .chatbot-send svg {
    width: 18px;
    height: 18px;
  }

  .chatbot-input-container {
    padding: 12px;
  }
}

/* Small devices - adjust placeholder */
@media (max-width: 600px) {
  .chatbot-input::placeholder {
    font-size: 13px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .chatbot-toggle {
    bottom: 10px;
    right: 10px;
    padding: 10px 16px;
    font-size: 13px;
  }

  .chatbot-toggle svg {
    width: 18px;
    height: 18px;
  }

  .chatbot-window {
    bottom: 60px;
    right: 10px;
    left: 10px;
    height: 450px;
  }

  .chatbot-header {
    padding: 16px;
  }

  .chatbot-header h3 {
    font-size: 16px;
  }

  .chatbot-header span {
    font-size: 12px;
  }

  .chatbot-messages {
    padding: 16px;
  }

  .chatbot-input {
    font-size: 14px;
    padding: 8px 12px;
  }

  .floating-buttons {
    bottom: 60px;
    right: 10px;
  }
}

/* ========================================
   LIMITED-TIME DEALS SECTION
   ======================================== */

/* Re-registration Campaign Banner */
.rereg-banner-section {
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  padding: 16px 20px;
  position: relative;
  overflow: hidden;
  border-top: 2px solid rgba(251, 146, 60, 0.4);
  box-shadow: 0 -4px 20px rgba(251, 146, 60, 0.15);
}

.rereg-banner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(251, 146, 60, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.rereg-banner-section::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 30%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  animation: rereg-shimmer 4s infinite;
  pointer-events: none;
}

@keyframes rereg-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(500%); }
}

.rereg-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.rereg-banner-icon {
  font-size: 28px;
  flex-shrink: 0;
  animation: rereg-bounce 2s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(251, 146, 60, 0.6));
}

@keyframes rereg-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.rereg-banner-text {
  flex: 1;
  color: white;
  font-size: 14px;
  line-height: 1.5;
}

.rereg-banner-text strong {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
  color: #fb923c;
}

.rereg-banner-text em {
  color: #fbbf24;
  font-style: normal;
  font-weight: 700;
}

.rereg-banner-btn {
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: white;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
  animation: rereg-pulse 2.5s ease-in-out infinite;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.rereg-banner-btn:hover {
  opacity: 0.9;
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.6);
  transform: translateY(-1px);
}

@keyframes rereg-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(249, 115, 22, 0.4); }
  50% { box-shadow: 0 0 35px rgba(249, 115, 22, 0.7); }
}

.rereg-banner-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 22px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  flex-shrink: 0;
}

.rereg-banner-close:hover {
  color: white;
}

@media (max-width: 600px) {
  .rereg-banner-section {
    padding: 14px 16px 14px 16px;
  }
  .rereg-banner-inner {
    gap: 8px;
    flex-wrap: nowrap;
    align-items: flex-start;
    padding-right: 28px;
  }
  .rereg-banner-icon {
    font-size: 20px;
    margin-top: 2px;
  }
  .rereg-banner-text {
    font-size: 13px;
  }
  .rereg-banner-btn {
    display: none;
  }
  .rereg-banner-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    padding: 0;
  }
}

.limited-deals-section {
  background: white;
  padding: var(--spacing-lg) 0;
  position: relative;
}

.limited-deals-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: #0f172a;
  border: 1px solid rgba(255, 107, 53, 0.25);
  border-radius: 24px;
  padding: var(--spacing-lg);
  box-shadow: 0 10px 40px rgba(255, 107, 53, 0.12);
  overflow: hidden;
  animation: dealsBorderPulse 5s ease-in-out infinite alternate;
}

@keyframes dealsBorderPulse {
  0%   {
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.2);
  }
  100% {
    box-shadow: 0 10px 60px rgba(255, 107, 53, 0.25), 0 0 40px rgba(255, 107, 53, 0.08) inset;
    border-color: rgba(255, 107, 53, 0.45);
  }
}

/* Animated background orbs — behind all content */
.limited-deals-container::before {
  content: "";
  position: absolute;
  inset: -15%;
  background:
    radial-gradient(ellipse 70% 80% at 20% 40%, rgba(30, 58, 138, 0.85) 0%, transparent 65%),
    radial-gradient(ellipse 60% 70% at 80% 60%, rgba(88, 28, 135, 0.7) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 50% 5%, rgba(255, 107, 53, 0.12) 0%, transparent 60%);
  animation: dealsOrbShift 14s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes dealsOrbShift {
  0%   { transform: translate(0%, 0%) scale(1);    opacity: 0.75; }
  100% { transform: translate(10%, 8%) scale(1.12); opacity: 1; }
}

/* Lift all direct content above the orbs */
.limited-deals-container > * {
  position: relative;
  z-index: 1;
}

.limited-deals-header {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.deals-fire-icon {
  font-size: 40px;
  display: block;
  margin-bottom: var(--spacing-xs);
  animation: fireFlicker 1.5s ease-in-out infinite;
}

@keyframes fireFlicker {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.1) rotate(-5deg);
  }
  50% {
    transform: scale(0.95) rotate(5deg);
  }
  75% {
    transform: scale(1.05) rotate(-3deg);
  }
}

.limited-deals-header h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: white;
  text-transform: uppercase;
  margin-bottom: 4px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

.limited-deals-header p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.limited-deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.deal-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.deal-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.deal-card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #ff6b35;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
  z-index: 2;
}

.deal-card-badge.special {
  background: #f7931e;
  box-shadow: 0 4px 12px rgba(247, 147, 30, 0.4);
}

.deal-card-image {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  position: relative;
}

.deal-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.deal-card-content {
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.deal-card-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: var(--spacing-md);
  text-align: center;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deal-card-brand {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.deal-card-pricing {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.deal-card-original-price {
  font-size: 20px;
  color: #999;
  text-decoration: line-through;
  font-weight: 500;
}

.deal-card-price {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 500;
  color: #7bc043;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.deal-card-discount {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #ff3b30;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.4);
  z-index: 2;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.deal-card-stock-alert {
  background: #fff3cd;
  border: 2px solid #f7931e;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: var(--spacing-md);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #f7931e;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes offer-border-glow {
  0%, 100% {
    border-color: #f7931e;
    box-shadow: 0 0 0 0 rgba(247, 147, 30, 0.4);
  }
  50% {
    border-color: #ff6b35;
    box-shadow: 0 0 0 5px rgba(247, 147, 30, 0);
  }
}

@keyframes offer-text-bounce {
  0%, 100% { transform: translateY(0); }
  30%       { transform: translateY(-3px); }
  60%       { transform: translateY(-1px); }
}

.deal-card-offer {
  background: linear-gradient(135deg, #fff9e6 0%, #fff3d0 100%);
  border: 2px solid #f7931e;
  border-radius: 12px;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  margin-top: auto;
  text-align: center;
  animation: offer-border-glow 2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.deal-card-offer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(247, 147, 30, 0.12) 50%,
    transparent 100%
  );
  animation: deal-shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

.deal-card-offer p {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.6;
  margin: 0;
  display: inline-block;
  animation: offer-text-bounce 2s ease-in-out infinite;
}

@keyframes deal-pulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(123, 192, 67, 0.35), 0 0 0 0 rgba(123, 192, 67, 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 4px 20px rgba(123, 192, 67, 0.55), 0 0 0 8px rgba(123, 192, 67, 0);
    transform: scale(1.015);
  }
}

@keyframes deal-shimmer {
  0%        { left: -100%; }
  60%, 100% { left: 160%; }
}

@keyframes deal-hover-shimmer {
  0%   { left: -100%; }
  100% { left: 160%; }
}

@keyframes deal-hover-ripple {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(4); opacity: 0; }
}

.deal-card-cta {
  display: block;
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(135deg, #7bc043 0%, #5a9032 100%);
  color: white;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, letter-spacing 0.25s ease;
  box-shadow: 0 4px 12px rgba(123, 192, 67, 0.35);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  animation: deal-pulse 2.2s ease-in-out infinite;
}

/* Idle shimmer sweep */
.deal-card-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 100%
  );
  animation: deal-shimmer 2.2s ease-in-out infinite;
  pointer-events: none;
}

/* Ripple circle on hover */
.deal-card-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
}

.deal-card-cta:hover {
  background: linear-gradient(135deg, #6aaf35 0%, #9be055 100%);
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 32px rgba(123, 192, 67, 0.6), 0 0 0 3px rgba(123, 192, 67, 0.25);
  letter-spacing: 1.5px;
  animation: none;
}

.deal-card-cta:hover::before {
  animation: deal-hover-ripple 0.55s ease-out forwards;
}

.deal-card-cta:hover::after {
  animation: deal-hover-shimmer 0.5s ease forwards;
}

.deal-card-cta:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 6px 16px rgba(123, 192, 67, 0.45);
}

.deal-card-stock {
  text-align: center;
  margin-top: var(--spacing-md);
  font-size: 13px;
  color: #dc3545;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.deal-card-stock::before {
  content: "⚡";
  font-size: 16px;
}

.deal-card-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--spacing-xxl);
  color: white;
}

.placeholder-loader {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto var(--spacing-md);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.deal-card-placeholder p {
  font-size: 18px;
  font-weight: 600;
}

@media screen and (max-width: 1024px) {
  .limited-deals-section {
    padding: 0;
    background: linear-gradient(135deg, #7bc043 0%, #5a9032 100%);
  }

  .limited-deals-container {
    border-radius: 0;
    box-shadow: none;
    padding: var(--spacing-xxl) var(--spacing-lg);
    max-width: 100%;
  }

  .limited-deals-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .limited-deals-header h2 {
    font-size: 36px;
  }

  /* Brands section - full width on tablet */
  .all-brands-grid-section {
    padding: 0;
    background: linear-gradient(
      135deg,
      #ff1493 0%,
      #ff69b4 25%,
      #ffa500 50%,
      #ffd700 75%,
      #ff8c00 100%
    );
  }

  .all-brands-grid-section::before {
    display: none;
  }

  .all-brands-grid-section > * {
    padding: var(--spacing-xxl) var(--spacing-lg);
  }
}

@media screen and (max-width: 768px) {
  .limited-deals-section {
    padding: 0;
  }

  .limited-deals-container {
    padding: var(--spacing-xl) var(--spacing-lg);
    border-radius: 0;
  }

  /* Brands section - full width on mobile */
  .all-brands-grid-section > * {
    padding: var(--spacing-xl) var(--spacing-lg);
  }

  .limited-deals-header h2 {
    font-size: 28px;
  }

  .limited-deals-header p {
    font-size: 16px;
  }

  .deals-fire-icon {
    font-size: 48px;
  }

  .deal-card-image {
    height: 250px;
  }

  .deal-card-title {
    font-size: 20px;
  }

  .deal-card-price {
    font-size: 28px;
  }

  .deal-card-original-price {
    font-size: 18px;
  }

  .deal-card-content {
    padding: var(--spacing-lg);
  }
}

@media screen and (max-width: 540px) {
  .limited-deals-grid {
    grid-template-columns: 1fr;
  }

  .limited-deals-header h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  .deal-card-badge {
    font-size: 10px;
    padding: 6px 12px;
  }

  .deal-card-discount {
    font-size: 14px;
    padding: 6px 12px;
  }

  .deal-card-image {
    height: 200px;
  }

  .deal-card-title {
    font-size: 18px;
  }

  .deal-card-price {
    font-size: 24px;
  }

  .deal-card-original-price {
    font-size: 16px;
  }

  .deal-card-cta {
    font-size: 14px;
    padding: 14px 20px;
  }
}

/* ========================================
   Global Custom Dropdown Styling
   ======================================== */
.custom-select {
  position: relative;
  width: 100%;
  user-select: none;
}

.custom-select select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  border: none;
}

.custom-select-trigger {
  width: 100%;
  padding: 12px 40px 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  background-color: white;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  box-sizing: border-box;
}

.custom-select-trigger::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #374151;
  transition: transform 0.2s ease;
}

.custom-select.open .custom-select-trigger::after {
  transform: translateY(-50%) rotate(180deg);
}

.custom-select-trigger:hover {
  border-color: #fb923c;
}

.custom-select.open .custom-select-trigger {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
  border-radius: 8px 8px 0 0;
}

.custom-select-trigger.placeholder {
  color: #9ca3af;
}

.custom-select-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid var(--primary-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 240px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}

.custom-select.open .custom-select-options {
  display: block;
}

.custom-select-options::-webkit-scrollbar {
  width: 6px;
}

.custom-select-options::-webkit-scrollbar-track {
  background: transparent;
}

.custom-select-options::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 3px;
}

.custom-select-options::-webkit-scrollbar-thumb:hover {
  background: #bbb;
}

.custom-select-option {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.custom-select-option:hover {
  background: #fff7ed;
  color: var(--primary-color);
}

.custom-select-option.selected {
  background: var(--primary-color);
  color: white;
}

.custom-select-option.disabled {
  color: #9ca3af;
  cursor: default;
}

.custom-select-option.disabled:hover {
  background: transparent;
  color: #9ca3af;
}

/* ========================================
   PERFORMANCE & ACCESSIBILITY ADDITIONS
   Wakuza Industries — Aug 2026
   ======================================== */

/* Aspect ratio fix — prevents CLS on product images */
.product-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Contrast fix — #ff6b35 on white is only 2.77:1 (fails WCAG AA).
   Use this darker variant for text-on-light-background instances. */
:root {
  --text-primary: #c0410f; /* 5.2:1 contrast on white — passes WCAG AA */
}

.current-price {
  color: var(--text-primary);
}

/* Minimum touch target size — WCAG 2.5.5 */
@media (max-width: 768px) {
  button,
  a,
  [role="button"] {
    min-height: 44px;
  }

  nav a,
  .nav-link,
  .nav-links a {
    padding: 12px 16px;
  }

  /* Nav icon buttons — keep compact so hamburger isn't pushed off-screen */
  .icon-btn,
  .dark-mode-toggle,
  .mobile-menu-toggle {
    min-height: unset;
    min-width: unset;
    padding: 0;
  }

  /* Override for inline/decorative elements that shouldn't be large */
  .product-badge,
  .cart-count,
  .indicator {
    min-height: unset;
    min-width: unset;
  }
}
