/**
 * Flavor Child — Custom Theme CSS for LaunchX-431.com
 *
 * @package    Flavor_Child
 * @since      1.0.0
 *
 * Complete custom CSS for an auto diagnostic tools e-commerce site.
 * Overrides the Flavor Starter parent theme.
 *
 * Design Reference: x431tool.com
 *
 * Color Reference:
 *   Black (Header/Nav)  : #1a1a1a
 *   Brand Red (Primary) : #e60012
 *   Brand Dark (Hover)  : #b8000e
 *   Light Gray (BG)     : #f0f0f0
 *   White (Cards)       : #ffffff
 *   Primary Text        : #333333
 *   Secondary Text      : #777777
 *   Border              : #e8e8e8
 *   Success/In Stock    : #27ae60
 *   Warning/Low Stock   : #e67e22
 *
 * Content Width: 1200px centered (max-width: 1200px, margin: 0 auto, padding: 0 20px)
 */


/* ==========================================================================
   1. CSS VARIABLES
   ========================================================================== */

:root {
  /* Brand Colors */
  --lx-brand-primary: #e60012;
  --lx-brand-dark: #b8000e;
  --lx-brand-light: #ff1a2e;

  /* Neutral Colors */
  --lx-color-black: #1a1a1a;
  --lx-color-dark: #333333;
  --lx-color-gray: #777777;
  --lx-color-light-gray: #f0f0f0;
  --lx-color-border: #e8e8e8;
  --lx-color-white: #ffffff;

  /* Status Colors */
  --lx-color-success: #27ae60;
  --lx-color-warning: #e67e22;
  --lx-color-error: #e74c3c;
  --lx-color-info: #3498db;

  /* Typography */
  --lx-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --lx-font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;

  /* Layout */
  --lx-container-max: 1200px;
  --lx-container-padding: 20px;

  /* Spacing Scale */
  --lx-spacing-xs: 4px;
  --lx-spacing-sm: 8px;
  --lx-spacing-md: 16px;
  --lx-spacing-lg: 24px;
  --lx-spacing-xl: 32px;
  --lx-spacing-2xl: 48px;
  --lx-spacing-3xl: 64px;

  /* Border Radius */
  --lx-radius-sm: 4px;
  --lx-radius-md: 8px;
  --lx-radius-lg: 12px;
  --lx-radius-xl: 16px;
  --lx-radius-full: 50%;

  /* Shadows */
  --lx-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --lx-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --lx-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --lx-shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --lx-transition-fast: 0.2s ease;
  --lx-transition-base: 0.3s ease;
  --lx-transition-slow: 0.5s ease;

  /* Z-index Layers */
  --lx-z-dropdown: 100;
  --lx-z-sticky: 200;
  --lx-z-overlay: 500;
  --lx-z-floating: 900;
  --lx-z-modal: 1000;
  --lx-z-toast: 1100;
}


/* ==========================================================================
   2. BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--lx-font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--lx-color-dark);
  background-color: var(--lx-color-light-gray);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--lx-font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--lx-spacing-md);
  color: var(--lx-color-black);
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

p {
  margin: 0 0 var(--lx-spacing-md);
}

a {
  color: var(--lx-brand-primary);
  text-decoration: none;
  transition: color var(--lx-transition-fast);
}

a:hover {
  color: var(--lx-brand-dark);
}

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

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Container */
.lx-container {
  max-width: var(--lx-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--lx-container-padding);
  padding-right: var(--lx-container-padding);
  width: 100%;
}

/* Section Spacing */
.lx-section {
  padding: var(--lx-spacing-3xl) 0;
}

.lx-section--sm {
  padding: var(--lx-spacing-xl) 0;
}

.lx-section--lg {
  padding: 80px 0;
}

.lx-section--gray {
  background-color: var(--lx-color-light-gray);
}

.lx-section--white {
  background-color: var(--lx-color-white);
}

.lx-section--black {
  background-color: var(--lx-color-black);
  color: var(--lx-color-white);
}

.lx-section--red {
  background-color: var(--lx-brand-primary);
  color: var(--lx-color-white);
}

/* Section Header */
.lx-section__header {
  text-align: center;
  margin-bottom: var(--lx-spacing-3xl);
}

.lx-section__title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: var(--lx-spacing-md);
}

.lx-section__subtitle {
  font-size: 18px;
  color: var(--lx-color-gray);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Utility Classes */
.lx-text-center { text-align: center; }
.lx-text-left { text-align: left; }
.lx-text-right { text-align: right; }
.lx-text-primary { color: var(--lx-brand-primary); }
.lx-text-secondary { color: var(--lx-color-gray); }
.lx-text-white { color: var(--lx-color-white); }
.lx-text-success { color: var(--lx-color-success); }
.lx-text-warning { color: var(--lx-color-warning); }
.lx-text-error { color: var(--lx-color-error); }

.lx-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;
}


/* ==========================================================================
   3. TOP BAR
   ========================================================================== */

.lx-topbar {
  background-color: var(--lx-color-black);
  color: var(--lx-color-white);
  padding: 10px 0;
  font-size: 13px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lx-topbar .lx-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--lx-spacing-md);
}

.lx-topbar__left,
.lx-topbar__right {
  display: flex;
  align-items: center;
  gap: var(--lx-spacing-lg);
}

.lx-topbar__link {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--lx-transition-fast);
  white-space: nowrap;
  font-size: 13px;
}

.lx-topbar__link:hover {
  color: var(--lx-brand-primary);
}

.lx-topbar__link--bold {
  font-weight: 600;
  color: var(--lx-color-white);
}

.lx-topbar__divider {
  width: 1px;
  height: 14px;
  background-color: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.lx-topbar__info {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

.lx-topbar__info i {
  color: var(--lx-brand-primary);
  font-size: 14px;
}

.lx-topbar__payments {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lx-topbar__payment-icon {
  width: 28px;
  height: 18px;
  background-color: var(--lx-color-white);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--lx-color-dark);
}

.lx-topbar__currency {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--lx-color-white);
  padding: 4px 10px;
  border-radius: var(--lx-radius-sm);
  font-size: 12px;
  cursor: pointer;
  transition: all var(--lx-transition-fast);
  position: relative;
}

.lx-topbar__currency:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}


/* ==========================================================================
   4. HEADER
   ========================================================================== */

.lx-header {
  background-color: var(--lx-color-black);
  padding: var(--lx-spacing-lg) 0;
  position: relative;
  z-index: var(--lx-z-sticky);
}

.lx-header .lx-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--lx-spacing-xl);
}

/* Logo */
.lx-logo {
  display: inline-flex;
  align-items: center;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
}

.lx-logo:hover {
  opacity: 0.9;
}

.lx-logo__x431 {
  color: var(--lx-brand-primary);
}

.lx-logo__tool {
  color: var(--lx-color-white);
}

.lx-logo__tagline {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Search Bar */
.lx-search {
  flex: 1;
  max-width: 600px;
  position: relative;
}

.lx-search__form {
  display: flex;
  width: 100%;
  border-radius: var(--lx-radius-md);
  overflow: hidden;
}

.lx-search__input {
  flex: 1;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-right: none;
  border-radius: var(--lx-radius-md) 0 0 var(--lx-radius-md);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  background-color: var(--lx-color-white);
  color: var(--lx-color-dark);
  transition: border-color var(--lx-transition-fast);
}

.lx-search__input::placeholder {
  color: var(--lx-color-gray);
}

.lx-search__input:focus {
  border-color: var(--lx-brand-primary);
}

.lx-search__submit {
  padding: 12px 24px;
  background-color: var(--lx-brand-primary);
  color: var(--lx-color-white);
  border: 2px solid var(--lx-brand-primary);
  border-radius: 0 var(--lx-radius-md) var(--lx-radius-md) 0;
  font-size: 16px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--lx-transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lx-search__submit:hover {
  background-color: var(--lx-brand-dark);
  border-color: var(--lx-brand-dark);
}

/* Header Actions */
.lx-header__actions {
  display: flex;
  align-items: center;
  gap: var(--lx-spacing-xl);
  flex-shrink: 0;
}

.lx-header__action {
  position: relative;
  color: var(--lx-color-white);
  font-size: 24px;
  cursor: pointer;
  transition: color var(--lx-transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
}

.lx-header__action:hover {
  color: var(--lx-brand-primary);
}

.lx-header__action-label {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
  text-align: center;
}

.lx-header__badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background-color: var(--lx-brand-primary);
  color: var(--lx-color-white);
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--lx-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}


/* ==========================================================================
   5. NAVIGATION
   ========================================================================== */

.lx-nav {
  background-color: var(--lx-color-black);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: var(--lx-z-sticky);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.lx-nav .lx-container {
  display: flex;
  align-items: stretch;
}

/* Categories Button */
.lx-nav__categories {
  position: relative;
  background-color: var(--lx-brand-primary);
  color: var(--lx-color-white);
  padding: 14px var(--lx-spacing-lg);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--lx-spacing-sm);
  transition: background-color var(--lx-transition-fast);
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.lx-nav__categories:hover {
  background-color: var(--lx-brand-dark);
}

.lx-nav__categories-icon {
  font-size: 18px;
  display: inline-flex;
}

.lx-nav__categories-arrow {
  font-size: 12px;
  transition: transform var(--lx-transition-fast);
}

.lx-nav__categories:hover .lx-nav__categories-arrow {
  transform: rotate(180deg);
}

/* Categories Dropdown */
.lx-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--lx-color-white);
  min-width: 280px;
  box-shadow: var(--lx-shadow-lg);
  border-radius: 0 0 var(--lx-radius-md) var(--lx-radius-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--lx-transition-base);
  z-index: var(--lx-z-dropdown);
  border-top: 3px solid var(--lx-brand-primary);
}

.lx-nav__categories:hover .lx-nav__dropdown,
.lx-nav__categories:focus-within .lx-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lx-nav__dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--lx-spacing-lg);
  color: var(--lx-color-dark);
  border-bottom: 1px solid var(--lx-color-border);
  transition: all var(--lx-transition-fast);
  font-size: 14px;
}

.lx-nav__dropdown-item:last-child {
  border-bottom: none;
}

.lx-nav__dropdown-item:hover {
  background-color: var(--lx-color-light-gray);
  color: var(--lx-brand-primary);
  padding-left: var(--lx-spacing-xl);
}

.lx-nav__dropdown-item i {
  color: var(--lx-color-gray);
  font-size: 12px;
}

/* Nav Links */
.lx-nav__links {
  display: flex;
  align-items: stretch;
  flex: 1;
}

.lx-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 14px var(--lx-spacing-lg);
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  transition: all var(--lx-transition-fast);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
}

.lx-nav__link:hover {
  color: var(--lx-color-white);
  background-color: rgba(255, 255, 255, 0.05);
}

.lx-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--lx-brand-primary);
  transition: all var(--lx-transition-fast);
  transform: translateX(-50%);
}

.lx-nav__link:hover::after,
.lx-nav__link--active::after {
  width: 100%;
}

.lx-nav__link--active {
  color: var(--lx-color-white);
}

.lx-nav__link--highlight {
  color: var(--lx-brand-primary);
  font-weight: 700;
}

.lx-nav__link--highlight:hover {
  color: var(--lx-brand-light);
}

.lx-nav__link--sale {
  color: var(--lx-brand-primary);
  font-weight: 700;
  animation: lx-pulse 2s ease-in-out infinite;
}

/* Mobile Menu Toggle */
.lx-nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--lx-color-white);
  font-size: 24px;
  cursor: pointer;
  padding: 14px var(--lx-spacing-lg);
}


/* ==========================================================================
   6. HERO BANNER
   ========================================================================== */

.lx-hero {
  background-color: var(--lx-color-white);
  padding: var(--lx-spacing-3xl) 0;
  position: relative;
  overflow: hidden;
}

.lx-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--lx-spacing-3xl);
  position: relative;
  min-height: 400px;
}

.lx-hero__content {
  flex: 1;
  max-width: 600px;
  z-index: 2;
}

.lx-hero__tag {
  display: inline-block;
  background-color: var(--lx-brand-primary);
  color: var(--lx-color-white);
  padding: 8px 24px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  transform: skew(-12deg);
  margin-bottom: var(--lx-spacing-lg);
  box-shadow: var(--lx-shadow-md);
  letter-spacing: 0.5px;
}

.lx-hero__tag-inner {
  display: inline-block;
  transform: skew(12deg);
}

.lx-hero__title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--lx-color-black);
  margin-bottom: var(--lx-spacing-lg);
}

.lx-hero__subtitle {
  font-size: 20px;
  color: var(--lx-color-gray);
  margin-bottom: var(--lx-spacing-xl);
  line-height: 1.6;
}

.lx-hero__actions {
  display: flex;
  gap: var(--lx-spacing-md);
  flex-wrap: wrap;
}

.lx-hero__image {
  flex: 1;
  max-width: 500px;
  position: relative;
  z-index: 1;
}

.lx-hero__image img {
  width: 100%;
  height: auto;
  border-radius: var(--lx-radius-lg);
  box-shadow: var(--lx-shadow-lg);
}

/* Slider */
.lx-hero__slider {
  position: relative;
}

.lx-hero__slides {
  position: relative;
  overflow: hidden;
}

.lx-hero__slide {
  display: none;
}

.lx-hero__slide--active {
  display: flex;
}

.lx-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--lx-color-white);
  color: var(--lx-color-dark);
  width: 48px;
  height: 48px;
  border-radius: var(--lx-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all var(--lx-transition-fast);
  box-shadow: var(--lx-shadow-md);
  border: none;
  z-index: 10;
}

.lx-hero__arrow:hover {
  background-color: var(--lx-brand-primary);
  color: var(--lx-color-white);
  transform: translateY(-50%) scale(1.1);
}

.lx-hero__arrow--prev {
  left: -24px;
}

.lx-hero__arrow--next {
  right: -24px;
}

.lx-hero__dots {
  display: flex;
  justify-content: center;
  gap: var(--lx-spacing-sm);
  margin-top: var(--lx-spacing-xl);
}

.lx-hero__dot {
  width: 12px;
  height: 12px;
  border-radius: var(--lx-radius-full);
  background-color: var(--lx-color-border);
  cursor: pointer;
  transition: all var(--lx-transition-fast);
  border: none;
  padding: 0;
}

.lx-hero__dot:hover {
  background-color: var(--lx-brand-primary);
  opacity: 0.6;
}

.lx-hero__dot--active {
  background-color: var(--lx-brand-primary);
  transform: scale(1.2);
  width: 24px;
  border-radius: 6px;
}


/* ==========================================================================
   7. TRUST BAR
   ========================================================================== */

.lx-trust {
  background-color: var(--lx-color-black);
  padding: var(--lx-spacing-xl) 0;
}

.lx-trust__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--lx-spacing-lg);
}

.lx-trust__item {
  display: flex;
  align-items: center;
  gap: var(--lx-spacing-md);
  color: var(--lx-color-white);
  text-align: left;
}

.lx-trust__icon {
  font-size: 32px;
  color: var(--lx-brand-primary);
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lx-trust__content {
  flex: 1;
}

.lx-trust__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--lx-color-white);
}

.lx-trust__text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}


/* ==========================================================================
   8. BEST PRICE SECTION
   ========================================================================== */

.lx-bestprice {
  background-color: var(--lx-color-white);
  padding: var(--lx-spacing-3xl) 0;
}

.lx-bestprice__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--lx-spacing-xl);
}

.lx-bestprice__card {
  background-color: var(--lx-color-white);
  border: 2px solid var(--lx-color-black);
  border-radius: var(--lx-radius-lg);
  padding: var(--lx-spacing-xl);
  text-align: center;
  transition: all var(--lx-transition-base);
  position: relative;
  overflow: hidden;
}

.lx-bestprice__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--lx-shadow-hover);
  border-color: var(--lx-brand-primary);
}

.lx-bestprice__label {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--lx-brand-primary);
  color: var(--lx-color-white);
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 0 0 0 var(--lx-radius-md);
  letter-spacing: 0.5px;
}

.lx-bestprice__image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: var(--lx-spacing-lg);
}

.lx-bestprice__name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--lx-spacing-sm);
  color: var(--lx-color-black);
}

.lx-bestprice__desc {
  font-size: 14px;
  color: var(--lx-color-gray);
  margin-bottom: var(--lx-spacing-md);
  line-height: 1.5;
}

.lx-bestprice__price {
  font-size: 32px;
  font-weight: 800;
  color: var(--lx-brand-primary);
  margin-bottom: var(--lx-spacing-lg);
}

.lx-bestprice__price-old {
  font-size: 18px;
  color: var(--lx-color-gray);
  text-decoration: line-through;
  margin-left: var(--lx-spacing-sm);
  font-weight: 400;
}

.lx-bestprice__features {
  text-align: left;
  margin-bottom: var(--lx-spacing-lg);
}

.lx-bestprice__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--lx-color-dark);
}

.lx-bestprice__feature i {
  color: var(--lx-color-success);
  font-size: 14px;
}


/* ==========================================================================
   9. CATEGORY CARDS
   ========================================================================== */

.lx-categories {
  padding: var(--lx-spacing-3xl) 0;
  background-color: var(--lx-color-light-gray);
}

.lx-categories__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--lx-spacing-lg);
}

.lx-categories__card {
  background-color: var(--lx-color-white);
  border-radius: var(--lx-radius-lg);
  padding: var(--lx-spacing-xl) var(--lx-spacing-md);
  text-align: center;
  transition: all var(--lx-transition-base);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  border: 1px solid var(--lx-color-border);
}

.lx-categories__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--lx-shadow-hover);
  border-color: var(--lx-brand-primary);
}

.lx-categories__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--lx-spacing-md);
  background-color: var(--lx-color-light-gray);
  border-radius: var(--lx-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--lx-brand-primary);
  transition: all var(--lx-transition-base);
}

.lx-categories__card:hover .lx-categories__icon {
  background-color: var(--lx-brand-primary);
  color: var(--lx-color-white);
  transform: scale(1.1) rotate(5deg);
}

.lx-categories__name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--lx-spacing-xs);
  color: var(--lx-color-black);
}

.lx-categories__count {
  font-size: 13px;
  color: var(--lx-color-gray);
}


/* ==========================================================================
   10. PRODUCT CARDS
   ========================================================================== */

.lx-products {
  padding: var(--lx-spacing-3xl) 0;
  background-color: var(--lx-color-white);
}

.lx-products__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--lx-spacing-3xl);
  flex-wrap: wrap;
  gap: var(--lx-spacing-md);
}

.lx-products__title {
  font-size: 42px;
  margin: 0;
}

.lx-products__filter {
  display: flex;
  gap: var(--lx-spacing-sm);
}

.lx-products__filter-btn {
  padding: 8px 16px;
  background: none;
  border: 1px solid var(--lx-color-border);
  border-radius: var(--lx-radius-md);
  font-size: 14px;
  font-family: inherit;
  color: var(--lx-color-gray);
  cursor: pointer;
  transition: all var(--lx-transition-fast);
}

.lx-products__filter-btn:hover,
.lx-products__filter-btn--active {
  background-color: var(--lx-brand-primary);
  color: var(--lx-color-white);
  border-color: var(--lx-brand-primary);
}

.lx-products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--lx-spacing-xl);
}

/* Individual Product Card */
.lx-product {
  background-color: var(--lx-color-white);
  border-radius: var(--lx-radius-lg);
  overflow: hidden;
  transition: all var(--lx-transition-base);
  position: relative;
  border: 1px solid var(--lx-color-border);
}

.lx-product:hover {
  transform: translateY(-8px);
  box-shadow: var(--lx-shadow-hover);
  border-color: var(--lx-brand-primary);
}

/* Product Image */
.lx-product__image-wrap {
  position: relative;
  overflow: hidden;
  background-color: var(--lx-color-light-gray);
  padding: var(--lx-spacing-lg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lx-product__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--lx-transition-base);
}

.lx-product:hover .lx-product__image {
  transform: scale(1.08);
}

/* Product Badge */
.lx-product__badge {
  position: absolute;
  top: var(--lx-spacing-md);
  left: var(--lx-spacing-md);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--lx-radius-sm);
  color: var(--lx-color-white);
  z-index: 2;
  letter-spacing: 0.3px;
}

.lx-product__badge--sale {
  background-color: var(--lx-brand-primary);
}

.lx-product__badge--new {
  background-color: var(--lx-color-success);
}

.lx-product__badge--hot {
  background-color: var(--lx-color-warning);
}

/* Wishlist Button */
.lx-product__wishlist {
  position: absolute;
  top: var(--lx-spacing-md);
  right: var(--lx-spacing-md);
  width: 36px;
  height: 36px;
  background-color: var(--lx-color-white);
  border-radius: var(--lx-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--lx-transition-fast);
  box-shadow: var(--lx-shadow-sm);
  z-index: 2;
  border: none;
  font-size: 16px;
  color: var(--lx-color-gray);
  opacity: 0;
  transform: scale(0.8);
}

.lx-product:hover .lx-product__wishlist {
  opacity: 1;
  transform: scale(1);
}

.lx-product__wishlist:hover,
.lx-product__wishlist--active {
  background-color: var(--lx-brand-primary);
  color: var(--lx-color-white);
  transform: scale(1.1);
}

/* Product Content */
.lx-product__content {
  padding: var(--lx-spacing-lg);
}

.lx-product__brand {
  font-size: 12px;
  color: var(--lx-color-gray);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--lx-spacing-xs);
  letter-spacing: 0.3px;
}

.lx-product__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--lx-color-black);
  margin-bottom: var(--lx-spacing-sm);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lx-product__title a {
  color: inherit;
}

.lx-product__title a:hover {
  color: var(--lx-brand-primary);
}

.lx-product__meta {
  font-size: 13px;
  color: var(--lx-color-gray);
  margin-bottom: var(--lx-spacing-md);
}

/* Product Rating */
.lx-product__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--lx-spacing-sm);
}

.lx-product__stars {
  display: flex;
  gap: 1px;
  color: #ffc107;
  font-size: 14px;
}

.lx-product__rating-count {
  font-size: 13px;
  color: var(--lx-color-gray);
}

/* Product Price */
.lx-product__price-wrap {
  display: flex;
  align-items: center;
  gap: var(--lx-spacing-sm);
  margin-bottom: var(--lx-spacing-md);
}

.lx-product__price {
  font-size: 24px;
  font-weight: 800;
  color: var(--lx-brand-primary);
}

.lx-product__price-old {
  font-size: 16px;
  color: var(--lx-color-gray);
  text-decoration: line-through;
}

.lx-product__price-save {
  font-size: 12px;
  color: var(--lx-color-success);
  font-weight: 600;
}

/* Stock Status */
.lx-product__stock {
  font-size: 13px;
  margin-bottom: var(--lx-spacing-md);
  display: flex;
  align-items: center;
  gap: 4px;
}

.lx-product__stock--in {
  color: var(--lx-color-success);
}

.lx-product__stock--low {
  color: var(--lx-color-warning);
}

.lx-product__stock--out {
  color: var(--lx-color-error);
}

/* Product Actions */
.lx-product__actions {
  display: flex;
  gap: var(--lx-spacing-sm);
}

.lx-product__add-to-cart {
  flex: 1;
}


/* ==========================================================================
   11. PROMO BANNER
   ========================================================================== */

.lx-promo {
  background: linear-gradient(135deg, var(--lx-brand-primary) 0%, var(--lx-brand-dark) 50%, #8b000a 100%);
  padding: var(--lx-spacing-3xl) 0;
  color: var(--lx-color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lx-promo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.lx-promo .lx-container {
  position: relative;
  z-index: 1;
}

.lx-promo__title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: var(--lx-spacing-md);
  color: var(--lx-color-white);
}

.lx-promo__subtitle {
  font-size: 24px;
  margin-bottom: var(--lx-spacing-xl);
  opacity: 0.95;
  font-weight: 300;
}

.lx-promo__discount {
  font-size: 72px;
  font-weight: 900;
  margin-bottom: var(--lx-spacing-xl);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  line-height: 1;
}

.lx-promo__discount span {
  display: inline-block;
  animation: lxBounce 2s ease-in-out infinite;
}

.lx-promo__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--lx-color-white);
  color: var(--lx-brand-primary);
  padding: 16px 36px;
  border-radius: var(--lx-radius-md);
  font-size: 18px;
  font-weight: 700;
  transition: all var(--lx-transition-fast);
  text-decoration: none;
}

.lx-promo__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  color: var(--lx-brand-dark);
}


/* ==========================================================================
   12. REVIEWS / TESTIMONIALS
   ========================================================================== */

.lx-reviews {
  padding: var(--lx-spacing-3xl) 0;
  background-color: var(--lx-color-light-gray);
}

.lx-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lx-spacing-xl);
}

.lx-review {
  background-color: var(--lx-color-white);
  border-radius: var(--lx-radius-lg);
  padding: var(--lx-spacing-xl);
  box-shadow: var(--lx-shadow-sm);
  transition: all var(--lx-transition-base);
  position: relative;
}

.lx-review:hover {
  box-shadow: var(--lx-shadow-md);
  transform: translateY(-4px);
}

.lx-review::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 64px;
  color: var(--lx-color-border);
  font-family: Georgia, serif;
  line-height: 1;
}

.lx-review__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--lx-spacing-md);
  color: #ffc107;
  font-size: 16px;
}

.lx-review__quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--lx-color-dark);
  margin-bottom: var(--lx-spacing-lg);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.lx-review__author {
  display: flex;
  align-items: center;
  gap: var(--lx-spacing-md);
  padding-top: var(--lx-spacing-md);
  border-top: 1px solid var(--lx-color-border);
}

.lx-review__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--lx-radius-full);
  object-fit: cover;
  flex-shrink: 0;
}

.lx-review__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--lx-color-black);
  margin-bottom: 2px;
}

.lx-review__date {
  font-size: 13px;
  color: var(--lx-color-gray);
}

.lx-review__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--lx-color-success);
  font-weight: 600;
}


/* ==========================================================================
   13. BLOG CARDS
   ========================================================================== */

.lx-blog {
  padding: var(--lx-spacing-3xl) 0;
  background-color: var(--lx-color-white);
}

.lx-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lx-spacing-xl);
}

.lx-blog__card {
  background-color: var(--lx-color-white);
  border-radius: var(--lx-radius-lg);
  overflow: hidden;
  transition: all var(--lx-transition-base);
  border: 1px solid var(--lx-color-border);
}

.lx-blog__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--lx-shadow-hover);
  border-color: var(--lx-brand-primary);
}

.lx-blog__image-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  position: relative;
}

.lx-blog__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--lx-transition-base);
}

.lx-blog__card:hover .lx-blog__image {
  transform: scale(1.08);
}

.lx-blog__category {
  position: absolute;
  bottom: var(--lx-spacing-md);
  left: var(--lx-spacing-md);
  background-color: var(--lx-brand-primary);
  color: var(--lx-color-white);
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--lx-radius-sm);
}

.lx-blog__content {
  padding: var(--lx-spacing-lg);
}

.lx-blog__date {
  font-size: 13px;
  color: var(--lx-color-gray);
  margin-bottom: var(--lx-spacing-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

.lx-blog__card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--lx-spacing-md);
  line-height: 1.3;
}

.lx-blog__card-title a {
  color: var(--lx-color-black);
  transition: color var(--lx-transition-fast);
}

.lx-blog__card-title a:hover {
  color: var(--lx-brand-primary);
}

.lx-blog__excerpt {
  font-size: 14px;
  color: var(--lx-color-gray);
  line-height: 1.6;
  margin-bottom: var(--lx-spacing-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lx-blog__read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--lx-brand-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--lx-transition-fast);
}

.lx-blog__read-more:hover {
  gap: 8px;
}


/* ==========================================================================
   14. NEWSLETTER
   ========================================================================== */

.lx-newsletter {
  background-color: var(--lx-brand-primary);
  padding: var(--lx-spacing-3xl) 0;
  color: var(--lx-color-white);
  text-align: center;
}

.lx-newsletter__title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: var(--lx-spacing-md);
  color: var(--lx-color-white);
}

.lx-newsletter__subtitle {
  font-size: 18px;
  margin-bottom: var(--lx-spacing-xl);
  opacity: 0.95;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.lx-newsletter__form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  border-radius: var(--lx-radius-md);
  overflow: hidden;
  box-shadow: var(--lx-shadow-lg);
}

.lx-newsletter__input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid transparent;
  border-radius: var(--lx-radius-md) 0 0 var(--lx-radius-md);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--lx-transition-fast);
}

.lx-newsletter__input::placeholder {
  color: var(--lx-color-gray);
}

.lx-newsletter__input:focus {
  border-color: var(--lx-color-black);
}

.lx-newsletter__submit {
  padding: 16px 32px;
  background-color: var(--lx-color-black);
  color: var(--lx-color-white);
  border: none;
  border-radius: 0 var(--lx-radius-md) var(--lx-radius-md) 0;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background-color var(--lx-transition-fast);
  white-space: nowrap;
}

.lx-newsletter__submit:hover {
  background-color: var(--lx-color-dark);
}

.lx-newsletter__privacy {
  margin-top: var(--lx-spacing-md);
  font-size: 13px;
  opacity: 0.8;
}


/* ==========================================================================
   15. FOOTER
   ========================================================================== */

.lx-footer {
  background-color: var(--lx-color-black);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--lx-spacing-3xl) 0 var(--lx-spacing-xl);
}

.lx-footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: var(--lx-spacing-3xl);
  margin-bottom: var(--lx-spacing-3xl);
}

/* About Column */
.lx-footer__about-logo {
  margin-bottom: var(--lx-spacing-lg);
}

.lx-footer__about-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--lx-spacing-lg);
}

.lx-footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--lx-spacing-sm);
  margin-bottom: var(--lx-spacing-sm);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.lx-footer__contact-item i {
  color: var(--lx-brand-primary);
  width: 16px;
}

/* Column Titles */
.lx-footer__column-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--lx-spacing-lg);
  color: var(--lx-color-white);
  position: relative;
  padding-bottom: var(--lx-spacing-sm);
}

.lx-footer__column-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--lx-brand-primary);
}

/* Footer Links */
.lx-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lx-footer__link {
  margin-bottom: 10px;
}

.lx-footer__link a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: all var(--lx-transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lx-footer__link a:hover {
  color: var(--lx-brand-primary);
  transform: translateX(4px);
}

/* Social Icons */
.lx-footer__social {
  display: flex;
  gap: var(--lx-spacing-sm);
  margin-top: var(--lx-spacing-lg);
}

.lx-footer__social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--lx-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  transition: all var(--lx-transition-fast);
  text-decoration: none;
}

.lx-footer__social-icon:hover {
  background-color: var(--lx-brand-primary);
  color: var(--lx-color-white);
  transform: translateY(-4px);
}

/* Payment Icons */
.lx-footer__payment-icons {
  display: flex;
  gap: var(--lx-spacing-sm);
  flex-wrap: wrap;
  margin-top: var(--lx-spacing-md);
}

.lx-footer__payment-icon {
  width: 48px;
  height: 32px;
  background-color: var(--lx-color-white);
  border-radius: var(--lx-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--lx-color-dark);
  padding: 2px;
}

/* Footer Bottom */
.lx-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--lx-spacing-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--lx-spacing-md);
}

.lx-footer__copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.lx-footer__bottom-links {
  display: flex;
  gap: var(--lx-spacing-lg);
}

.lx-footer__bottom-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--lx-transition-fast);
}

.lx-footer__bottom-links a:hover {
  color: var(--lx-brand-primary);
}


/* ==========================================================================
   16. FLOATING CART
   ========================================================================== */

.lx-floating-cart {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: var(--lx-z-floating);
}

.lx-floating-cart__button {
  width: 64px;
  height: 64px;
  background-color: var(--lx-brand-primary);
  color: var(--lx-color-white);
  border: none;
  border-radius: var(--lx-radius-full);
  font-size: 24px;
  cursor: pointer;
  box-shadow: var(--lx-shadow-lg);
  transition: all var(--lx-transition-base);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lx-floating-cart__button:hover {
  background-color: var(--lx-brand-dark);
  transform: scale(1.1);
  box-shadow: var(--lx-shadow-hover);
}

.lx-floating-cart__count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--lx-color-black);
  color: var(--lx-color-white);
  font-size: 12px;
  font-weight: 700;
  min-width: 24px;
  height: 24px;
  border-radius: var(--lx-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  line-height: 1;
  border: 2px solid var(--lx-color-white);
}

/* Slide-out Panel */
.lx-floating-cart__panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100vh;
  background-color: var(--lx-color-white);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
  transition: right var(--lx-transition-base);
  z-index: var(--lx-z-modal);
  display: flex;
  flex-direction: column;
}

.lx-floating-cart__panel--open {
  right: 0;
}

.lx-floating-cart__panel-header {
  padding: var(--lx-spacing-lg) var(--lx-spacing-xl);
  border-bottom: 1px solid var(--lx-color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.lx-floating-cart__panel-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: var(--lx-color-black);
}

.lx-floating-cart__panel-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--lx-color-gray);
  transition: color var(--lx-transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--lx-radius-full);
}

.lx-floating-cart__panel-close:hover {
  color: var(--lx-brand-primary);
  background-color: var(--lx-color-light-gray);
}

.lx-floating-cart__panel-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--lx-spacing-lg) var(--lx-spacing-xl);
}

.lx-floating-cart__panel-footer {
  padding: var(--lx-spacing-lg) var(--lx-spacing-xl);
  border-top: 1px solid var(--lx-color-border);
  flex-shrink: 0;
}

.lx-floating-cart__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--lx-spacing-md);
  font-size: 18px;
  font-weight: 700;
}

.lx-floating-cart__total-amount {
  color: var(--lx-brand-primary);
  font-size: 24px;
}

/* Overlay */
.lx-floating-cart__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: calc(var(--lx-z-modal) - 1);
  opacity: 0;
  visibility: hidden;
  transition: all var(--lx-transition-base);
  backdrop-filter: blur(2px);
}

.lx-floating-cart__overlay--visible {
  opacity: 1;
  visibility: visible;
}

/* Cart Item */
.lx-cart-item {
  display: flex;
  gap: var(--lx-spacing-md);
  padding: var(--lx-spacing-md) 0;
  border-bottom: 1px solid var(--lx-color-border);
}

.lx-cart-item:last-child {
  border-bottom: none;
}

.lx-cart-item__image {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: var(--lx-radius-sm);
  background-color: var(--lx-color-light-gray);
  padding: 4px;
  flex-shrink: 0;
}

.lx-cart-item__details {
  flex: 1;
}

.lx-cart-item__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--lx-color-black);
  margin-bottom: 4px;
  line-height: 1.3;
}

.lx-cart-item__price {
  font-size: 16px;
  font-weight: 700;
  color: var(--lx-brand-primary);
}

.lx-cart-item__qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.lx-cart-item__qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--lx-color-border);
  border-radius: var(--lx-radius-sm);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all var(--lx-transition-fast);
}

.lx-cart-item__qty-btn:hover {
  border-color: var(--lx-brand-primary);
  color: var(--lx-brand-primary);
}

.lx-cart-item__remove {
  background: none;
  border: none;
  color: var(--lx-color-gray);
  cursor: pointer;
  font-size: 18px;
  transition: color var(--lx-transition-fast);
  align-self: flex-start;
}

.lx-cart-item__remove:hover {
  color: var(--lx-color-error);
}


/* ==========================================================================
   17. BUTTONS
   ========================================================================== */

.lx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--lx-spacing-sm);
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--lx-radius-md);
  cursor: pointer;
  transition: all var(--lx-transition-fast);
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1.4;
}

.lx-btn:hover {
  text-decoration: none;
}

/* Primary Button (Red) */
.lx-btn-primary {
  background-color: var(--lx-brand-primary);
  color: var(--lx-color-white);
  border-color: var(--lx-brand-primary);
}

.lx-btn-primary:hover {
  background-color: var(--lx-brand-dark);
  border-color: var(--lx-brand-dark);
  color: var(--lx-color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 0, 18, 0.3);
}

.lx-btn-primary:active {
  transform: translateY(0);
}

/* Outline Button (Black Border) */
.lx-btn-outline {
  background-color: transparent;
  color: var(--lx-color-black);
  border-color: var(--lx-color-black);
}

.lx-btn-outline:hover {
  background-color: var(--lx-color-black);
  color: var(--lx-color-white);
  transform: translateY(-2px);
  box-shadow: var(--lx-shadow-md);
}

.lx-btn-outline:active {
  transform: translateY(0);
}

/* White Button (for dark backgrounds) */
.lx-btn-white {
  background-color: var(--lx-color-white);
  color: var(--lx-brand-primary);
  border-color: var(--lx-color-white);
}

.lx-btn-white:hover {
  background-color: var(--lx-color-light-gray);
  border-color: var(--lx-color-light-gray);
  color: var(--lx-brand-dark);
  transform: translateY(-2px);
  box-shadow: var(--lx-shadow-md);
}

/* Ghost Button */
.lx-btn-ghost {
  background-color: transparent;
  color: var(--lx-brand-primary);
  border-color: transparent;
}

.lx-btn-ghost:hover {
  background-color: rgba(230, 0, 18, 0.08);
  color: var(--lx-brand-dark);
}

/* Button Sizes */
.lx-btn-xs {
  padding: 6px 14px;
  font-size: 12px;
}

.lx-btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

.lx-btn-md {
  padding: 12px 28px;
  font-size: 15px;
}

.lx-btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

.lx-btn-xl {
  padding: 20px 44px;
  font-size: 18px;
}

/* Button Layouts */
.lx-btn-block {
  width: 100%;
}

.lx-btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--lx-radius-full);
}

.lx-btn-icon--sm {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

/* Button States */
.lx-btn:disabled,
.lx-btn--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.lx-btn--loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.lx-btn--loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--lx-color-white);
  border-radius: var(--lx-radius-full);
  animation: lx-spin 0.6s linear infinite;
}


/* ==========================================================================
   18. RESPONSIVE DESIGN
   ========================================================================== */

/* Large Desktop (1400px+) - default styles apply */

/* Tablet Landscape (1024px) */
@media (max-width: 1024px) {
  .lx-hero__title {
    font-size: 44px;
  }

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

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

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

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

/* Tablet Portrait (768px) */
@media (max-width: 768px) {
  /* Typography */
  h1, .lx-section__title, .lx-hero__title { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 24px; }
  h4 { font-size: 20px; }

  .lx-promo__title { font-size: 36px; }
  .lx-promo__discount { font-size: 56px; }

  /* Container */
  .lx-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Sections */
  .lx-section,
  .lx-bestprice,
  .lx-categories,
  .lx-products,
  .lx-reviews,
  .lx-blog,
  .lx-promo,
  .lx-newsletter {
    padding: var(--lx-spacing-2xl) 0;
  }

  /* Top Bar */
  .lx-topbar .lx-container {
    flex-direction: column;
    gap: var(--lx-spacing-sm);
  }

  .lx-topbar__left,
  .lx-topbar__right {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--lx-spacing-md);
  }

  /* Header */
  .lx-header .lx-container {
    flex-direction: column;
    gap: var(--lx-spacing-md);
  }

  .lx-search {
    max-width: 100%;
    width: 100%;
    order: 3;
  }

  .lx-header__actions {
    order: 2;
  }

  /* Navigation */
  .lx-nav__toggle {
    display: block;
  }

  .lx-nav__links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: var(--lx-color-black);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .lx-nav__links--open {
    display: flex;
  }

  .lx-nav__link {
    padding: var(--lx-spacing-md) var(--lx-spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .lx-nav .lx-container {
    flex-wrap: wrap;
  }

  /* Hero */
  .lx-hero__inner {
    flex-direction: column;
    text-align: center;
    gap: var(--lx-spacing-xl);
  }

  .lx-hero__content {
    max-width: 100%;
  }

  .lx-hero__actions {
    justify-content: center;
  }

  .lx-hero__image {
    max-width: 100%;
  }

  .lx-hero__arrow--prev { left: 8px; }
  .lx-hero__arrow--next { right: 8px; }

  /* Trust Bar */
  .lx-trust__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--lx-spacing-md);
  }

  .lx-trust__item:nth-child(5) {
    grid-column: 1 / -1;
    justify-content: center;
  }

  /* Categories */
  .lx-categories__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--lx-spacing-md);
  }

  /* Products */
  .lx-products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--lx-spacing-md);
  }

  .lx-products__header {
    flex-direction: column;
    text-align: center;
  }

  .lx-products__filter {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Reviews */
  .lx-reviews__grid {
    grid-template-columns: 1fr;
  }

  /* Blog */
  .lx-blog__grid {
    grid-template-columns: 1fr;
  }

  /* Newsletter */
  .lx-newsletter__form {
    flex-direction: column;
    border-radius: var(--lx-radius-md);
    box-shadow: none;
    gap: var(--lx-spacing-md);
  }

  .lx-newsletter__input {
    border-radius: var(--lx-radius-md);
    box-shadow: var(--lx-shadow-md);
  }

  .lx-newsletter__submit {
    border-radius: var(--lx-radius-md);
    width: 100%;
  }

  /* Footer */
  .lx-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--lx-spacing-xl);
  }

  .lx-footer__grid > :first-child {
    grid-column: 1 / -1;
  }

  .lx-footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Floating Cart */
  .lx-floating-cart {
    bottom: 20px;
    right: 20px;
  }

  .lx-floating-cart__button {
    width: 56px;
    height: 56px;
    font-size: 22px;
  }

  .lx-floating-cart__panel {
    width: 100%;
    right: -100%;
  }

  .lx-floating-cart__panel--open {
    right: 0;
  }
}

/* Mobile (480px) */
@media (max-width: 480px) {
  /* Typography */
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  h4 { font-size: 18px; }
  h5 { font-size: 16px; }
  h6 { font-size: 15px; }

  body { font-size: 15px; }

  .lx-section__title { font-size: 28px; }
  .lx-section__subtitle { font-size: 16px; }

  /* Hero */
  .lx-hero {
    padding: var(--lx-spacing-xl) 0;
  }

  .lx-hero__title { font-size: 32px; }
  .lx-hero__subtitle { font-size: 16px; }
  .lx-hero__tag { font-size: 14px; padding: 6px 16px; }

  .lx-hero__arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  /* Trust Bar */
  .lx-trust__grid {
    grid-template-columns: 1fr;
  }

  .lx-trust__item:nth-child(5) {
    grid-column: auto;
  }

  /* Categories */
  .lx-categories__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--lx-spacing-sm);
  }

  .lx-categories__card {
    padding: var(--lx-spacing-md) var(--lx-spacing-sm);
  }

  .lx-categories__icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .lx-categories__name {
    font-size: 14px;
  }

  /* Products */
  .lx-products__grid {
    grid-template-columns: 1fr;
  }

  .lx-product__price {
    font-size: 20px;
  }

  .lx-product__title {
    font-size: 15px;
  }

  /* Best Price */
  .lx-bestprice__grid {
    grid-template-columns: 1fr;
  }

  .lx-bestprice__title { font-size: 28px; }
  .lx-bestprice__price { font-size: 28px; }

  /* Promo */
  .lx-promo__title { font-size: 28px; }
  .lx-promo__subtitle { font-size: 18px; }
  .lx-promo__discount { font-size: 48px; }

  /* Newsletter */
  .lx-newsletter__title { font-size: 28px; }
  .lx-newsletter__subtitle { font-size: 16px; }

  /* Footer */
  .lx-footer__grid {
    grid-template-columns: 1fr;
  }

  .lx-footer__grid > :first-child {
    grid-column: auto;
  }

  /* Buttons */
  .lx-btn {
    padding: 10px 24px;
    font-size: 14px;
  }

  .lx-btn-lg {
    padding: 14px 28px;
    font-size: 16px;
  }

  /* Logo */
  .lx-logo {
    font-size: 26px;
  }

  /* Search */
  .lx-search__submit span {
    display: none;
  }

  .lx-search__submit {
    padding: 12px 16px;
  }

  /* Navigation */
  .lx-nav__categories {
    width: 100%;
    justify-content: center;
  }

  /* Header Actions */
  .lx-header__actions {
    gap: var(--lx-spacing-md);
  }

  .lx-header__action {
    font-size: 20px;
  }

  .lx-header__action-label {
    display: none;
  }
}

/* Small Mobile (360px) */
@media (max-width: 360px) {
  .lx-categories__grid {
    grid-template-columns: 1fr;
  }

  .lx-hero__actions {
    flex-direction: column;
  }

  .lx-hero__actions .lx-btn {
    width: 100%;
  }
}


/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */

/* Fade In Up */
@keyframes lxFadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lx-animate-fade-in-up {
  animation: lxFadeInUp 0.6s ease forwards;
}

/* Fade In */
@keyframes lxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lx-animate-fade-in {
  animation: lxFadeIn 0.4s ease forwards;
}

/* Slide In Right */
@keyframes lxSlideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.lx-animate-slide-in-right {
  animation: lxSlideInRight 0.4s ease forwards;
}

/* Slide In Left */
@keyframes lxSlideInLeft {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

.lx-animate-slide-in-left {
  animation: lxSlideInLeft 0.4s ease forwards;
}

/* Pulse */
@keyframes lxPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.lx-animate-pulse {
  animation: lxPulse 2s ease-in-out infinite;
}

/* Bounce */
@keyframes lxBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.lx-animate-bounce {
  animation: lxBounce 1.5s ease-in-out infinite;
}

/* Spin */
@keyframes lxSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.lx-animate-spin {
  animation: lxSpin 1s linear infinite;
}

/* Shake */
@keyframes lxShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.lx-animate-shake {
  animation: lxShake 0.4s ease;
}

/* Scale In */
@keyframes lxScaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lx-animate-scale-in {
  animation: lxScaleIn 0.3s ease forwards;
}

/* Stagger delays for grid items */
.lx-stagger-1 { animation-delay: 0.1s; }
.lx-stagger-2 { animation-delay: 0.2s; }
.lx-stagger-3 { animation-delay: 0.3s; }
.lx-stagger-4 { animation-delay: 0.4s; }
.lx-stagger-5 { animation-delay: 0.5s; }


/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

/* Focus visible states */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--lx-brand-primary);
  outline-offset: 2px;
}

/* Skip to content link */
.lx-skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background-color: var(--lx-brand-primary);
  color: var(--lx-color-white);
  padding: 12px 24px;
  border-radius: var(--lx-radius-md);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--lx-transition-fast);
}

.lx-skip-link:focus {
  top: 16px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
  .lx-topbar,
  .lx-nav,
  .lx-floating-cart,
  .lx-header__actions,
  .lx-search,
  .lx-hero__arrow,
  .lx-hero__dots,
  .lx-newsletter,
  .lx-footer__social,
  .lx-promo {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }

  .lx-container {
    max-width: 100%;
    padding: 0;
  }

  .lx-section {
    padding: 20px 0;
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  h1, h2, h3, h4 {
    page-break-after: avoid;
  }
}


/* ==========================================================================
   JS-DEPENDENT STATES
   ========================================================================== */

/*
 * These classes are toggled by assets/js/theme.js.
 * They supplement the base CSS to provide interactive states.
 */

/* Nav scrolled — deeper shadow when page is scrolled past threshold */
.lx-nav--scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* Categories dropdown — show via JS click (not just :hover) */
.lx-nav__dropdown--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Currency selector — open state */
.lx-topbar__currency--open .lx-topbar__currency-dropdown {
  display: block;
}

.lx-topbar__currency-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--lx-color-white);
  color: var(--lx-color-dark);
  border-radius: var(--lx-radius-sm);
  box-shadow: var(--lx-shadow-lg);
  min-width: 140px;
  z-index: var(--lx-z-dropdown);
  padding: 8px 0;
  margin-top: 6px;
  list-style: none;
}

.lx-topbar__currency-dropdown li {
  padding: 8px 16px;
  cursor: pointer;
  font-size: 13px;
  transition: background-color var(--lx-transition-fast);
}

.lx-topbar__currency-dropdown li:hover {
  background-color: var(--lx-color-light-gray);
  color: var(--lx-brand-primary);
}

/* Body lock for open panels (prevents background scroll) */
.lx-body--menu-open,
.lx-body--cart-open {
  overflow: hidden;
}

@media (min-width: 769px) {
  .lx-body--menu-open {
    overflow: auto; /* Don't lock scroll on desktop for menu */
  }
}

/* JS-ready flag — remove FOUC for elements that require JS */
.lx-js-ready .lx-topbar__currency-dropdown {
  display: none; /* Hidden by default, shown via JS */
}

/* Back to Top button */
.lx-back-to-top {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 48px;
  height: 48px;
  background-color: var(--lx-color-black);
  color: var(--lx-color-white);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--lx-radius-full);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--lx-z-floating);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--lx-transition-base);
  box-shadow: var(--lx-shadow-md);
}

.lx-back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lx-back-to-top:hover {
  background-color: var(--lx-brand-primary);
  border-color: var(--lx-brand-primary);
  transform: translateY(-4px);
  box-shadow: var(--lx-shadow-lg);
}


/* ==========================================================================
   WOOCOMMERCE OVERRIDES (optional)
   ========================================================================== */

/* If WooCommerce is active, apply consistent styling */
.woocommerce ul.products li.product {
  margin: 0;
}

.woocommerce ul.products li.product a img {
  border-radius: var(--lx-radius-md) var(--lx-radius-md) 0 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--lx-color-black);
  padding: var(--lx-spacing-md);
}

.woocommerce ul.products li.product .price {
  color: var(--lx-brand-primary);
  font-size: 20px;
  font-weight: 700;
  padding: 0 var(--lx-spacing-md) var(--lx-spacing-md);
}

.woocommerce ul.products li.product .price del {
  color: var(--lx-color-gray);
  font-size: 14px;
}

.woocommerce ul.products li.product .price ins {
  color: var(--lx-brand-primary);
  font-weight: 700;
  text-decoration: none;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background-color: var(--lx-brand-primary);
  color: var(--lx-color-white);
  border: none;
  border-radius: var(--lx-radius-md);
  padding: 12px 24px;
  font-weight: 600;
  transition: all var(--lx-transition-fast);
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background-color: var(--lx-brand-dark);
  color: var(--lx-color-white);
}

.woocommerce .onsale {
  background-color: var(--lx-brand-primary);
  color: var(--lx-color-white);
  border-radius: var(--lx-radius-sm);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  padding: 4px 10px;
}

.woocommerce .stock.in-stock {
  color: var(--lx-color-success);
}

.woocommerce .stock.out-of-stock {
  color: var(--lx-color-error);
}

.woocommerce-message {
  border-top-color: var(--lx-color-success);
}

.woocommerce-error {
  border-top-color: var(--lx-color-error);
}

.woocommerce-info {
  border-top-color: var(--lx-color-info);
}
