/**
 * Liva Lifestyle - Mobile-First Responsive CSS
 * Optimized for e-commerce UX with touch-friendly interfaces
 * Mobile First: Base styles for mobile, scale up with min-width breakpoints
 */

/* ==========================================================================
   BASE MOBILE STYLES (320px+)
   ========================================================================== */

/* CSS Variables - Mobile First */
:root {
  /* Brand Colors */
  --liva-primary: #B30000;
  --liva-primary-dark: #990000;
  --liva-accent: #D9B3B3;
  --liva-white: #FFFFFF;
  
  /* Spacing - Mobile optimized */
  --spacing-xs: 0.25rem;    /* 4px */
  --spacing-sm: 0.5rem;     /* 8px */
  --spacing-md: 1rem;       /* 16px */
  --spacing-lg: 1.5rem;     /* 24px */
  --spacing-xl: 2rem;       /* 32px */
  --spacing-2xl: 3rem;      /* 48px */
  
  /* Typography - Mobile base sizes */
  --text-xs: 0.75rem;       /* 12px */
  --text-sm: 0.875rem;      /* 14px */
  --text-base: 1rem;        /* 16px */
  --text-lg: 1.125rem;      /* 18px */
  --text-xl: 1.25rem;       /* 20px */
  --text-2xl: 1.5rem;       /* 24px */
  --text-3xl: 1.875rem;     /* 30px */
  --text-4xl: 2.25rem;      /* 36px */
  
  /* Touch targets - minimum 44x44px */
  --touch-target: 44px;
  
  /* Container widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* Base Reset & Mobile-First Typography */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  color: #111111;
  background-color: var(--liva-white);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Images - Mobile optimized */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   NAVIGATION - Mobile First
   ========================================================================== */

/* Fixed Navigation Bar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  max-width: var(--container-xl);
  margin: 0 auto;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo img {
  height: 2.5rem;
  width: auto;
}

/* Hide brand text on mobile */
.nav-brand-text {
  display: none;
}

/* Desktop Navigation Links - Hidden on mobile */
.nav-links-desktop {
  display: none;
}

/* Mobile Menu Button */
.mobile-menu-button {
  min-width: var(--touch-target);
  min-height: var(--touch-target);
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #374151;
  cursor: pointer;
  padding: 0.5rem;
}

/* Icons - Mobile sized */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-icon-link {
  position: relative;
  min-width: var(--touch-target);
  min-height: var(--touch-target);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  text-decoration: none;
}

.cart-count-badge {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  background: var(--liva-primary);
  color: white;
  font-size: 0.625rem;
  min-width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-weight: 600;
}

/* Mobile Menu Dropdown */
#mobileMenu {
  display: none;
  padding: 1rem;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

#mobileMenu.active {
  display: block;
}

#mobileMenu a {
  display: block;
  padding: 0.75rem 1rem;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: background 0.2s;
}

#mobileMenu a:hover,
#mobileMenu a.active {
  background: rgba(179, 0, 0, 0.1);
  color: var(--liva-primary);
}

/* ==========================================================================
   ANNOUNCEMENT BAR - Mobile Optimized
   ========================================================================== */

.announcement-bar {
  background: linear-gradient(to right, #B30000, #DC2626, #B30000);
  color: white;
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  margin-top: 60px; /* Account for fixed nav */
}

.announcement-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.announcement-content span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Hide some announcement items on small screens */
.announcement-content .hide-mobile {
  display: none;
}

/* ==========================================================================
   CATEGORY SCROLL SECTION - Mobile First
   ========================================================================== */

.category-section {
  background: linear-gradient(135deg, #B30000, #DC2626);
  padding: 1rem 0 0.75rem;
  position: relative;
  overflow: hidden;
}

.categories-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0;
}

.categories-scroll-container::-webkit-scrollbar {
  display: none;
}

.categories-scroll-wrapper {
  display: flex;
  gap: 0.75rem;
  padding: 0 1rem;
  min-width: max-content;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 4rem;
  gap: 0.35rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.category-item:active {
  transform: scale(0.95);
}

.category-image {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.4);
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-overlay {
  position: absolute;
  top: -0.125rem;
  right: -0.125rem;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  border-radius: 50%;
  width: 0.875rem;
  height: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  z-index: 10;
}

.category-count {
  color: white;
  font-size: 0.5rem;
  font-weight: 700;
}

.category-name {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   BANNER SLIDER - Mobile First
   ========================================================================== */

.banner-slider-container {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  margin-bottom: 2rem;
  height: clamp(300px, 40vw, 450px);
}

.banner-slides-wrapper {
  display: flex;
  width: 300%;
  transition: transform 0.7s ease-in-out;
  height: 100%;
}

.banner-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Banner Navigation Dots */
.banner-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.banner-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.banner-dot.active {
  background: white;
  transform: scale(1.2);
}

/* Banner Arrows */
.banner-prev,
.banner-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 0.75rem;
}

.banner-prev {
  left: 0.5rem;
}

.banner-next {
  right: 0.5rem;
}

/* ==========================================================================
   TRUST INDICATORS - Mobile Grid
   ========================================================================== */

.trust-section {
  padding: 2rem 1rem;
  background: white;
  border-top: 1px solid #e5e7eb;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: var(--container-xl);
  margin: 0 auto;
}

.trust-item {
  text-align: center;
}

.trust-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.25rem;
}

.trust-item h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
}

.trust-item p {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0;
}

/* ==========================================================================
   PRODUCT GRID - Mobile First (1 column)
   ========================================================================== */

.collection-section {
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}

.collection-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--liva-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  text-align: center;
}

.collection-subtitle {
  font-size: 0.875rem;
  color: #666666;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:active {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(179, 0, 0, 0.15);
}

.product-image-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 0;
  padding-bottom: 125%; /* 4:5 aspect ratio */
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:active .product-image {
  transform: scale(1.05);
}

.product-info {
  padding: 1rem;
  text-align: center;
}

.product-name {
  font-size: 1rem;
  font-weight: 600;
  color: #222222;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--liva-primary);
  margin-bottom: 0.75rem;
}

.product-button {
  background: white;
  color: var(--liva-primary);
  border: 2px solid var(--liva-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s;
  min-height: var(--touch-target);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.product-button:active {
  background: var(--liva-primary);
  color: white;
  transform: scale(0.98);
}

.view-all-button {
  background: var(--liva-primary);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto;
  border: none;
  cursor: pointer;
  min-height: var(--touch-target);
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(179, 0, 0, 0.25);
  transition: all 0.3s;
}

.view-all-button:active {
  background: var(--liva-primary-dark);
  transform: scale(0.98);
}

/* ==========================================================================
   CATEGORY CARDS - Mobile Stack
   ========================================================================== */

.categories-section {
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #fff5f5, #fff0f0);
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(to right, #fef2f2, #fee2e2);
  color: var(--liva-primary);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.categories-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.category-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-height: 140px;
  transition: all 0.3s;
}

.category-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.category-card-text {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(to right, white, #fff5f5);
}

.category-card-link {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--liva-primary), #DC2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all 0.3s;
}

.category-card-image {
  width: 100%;
  height: 180px;
  position: relative;
  background: linear-gradient(135deg, #fee2e2, #fecaca);
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   FOOTER - Mobile Optimized
   ========================================================================== */

footer {
  background: #111827;
  color: white;
  padding: 2rem 1rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 3rem;
}

.footer-description {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background 0.3s;
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-section a:hover,
.footer-section a:active {
  color: white;
}

.footer-payment {
  border-top: 1px solid #374151;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.payment-methods {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.payment-methods img {
  height: 2rem;
  opacity: 0.75;
}

.footer-copyright {
  text-align: center;
  color: #6b7280;
  font-size: 0.75rem;
  margin-top: 1.5rem;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 1rem;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none;
}

/* Touch-friendly spacing */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ==========================================================================
   SMALL DEVICES (480px and up)
   ========================================================================== */

@media (min-width: 480px) {
  /* Navigation */
  .nav-brand-text {
    display: block;
  }
  
  .nav-logo img {
    height: 3rem;
  }
  
  /* Announcement Bar */
  .announcement-bar {
    font-size: 0.875rem;
  }
  
  .announcement-content .hide-mobile {
    display: flex;
  }
  
  /* Categories */
  .category-item {
    min-width: 4.5rem;
  }
  
  .category-image {
    width: 4rem;
    height: 4rem;
  }
  
  .category-name {
    font-size: 0.75rem;
  }
  
  /* Product Grid - 2 columns */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  /* Trust Grid - 3 columns */
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Collection Title */
  .collection-title {
    font-size: 2.25rem;
  }
  
  .collection-subtitle {
    font-size: 1rem;
  }
  
  /* Banner */
  .banner-slide img {
    max-height: 450px;
  }
  
  .banner-prev,
  .banner-next {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.875rem;
  }
}

/* ==========================================================================
   TABLET (768px and up)
   ========================================================================== */

@media (min-width: 768px) {
  /* Navigation - Show desktop links */
  .nav-links-desktop {
    display: flex;
    gap: 2rem;
  }
  
  .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .nav-link:hover {
    color: var(--liva-primary);
  }
  
  .nav-link-indicator {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--liva-primary);
    opacity: 0;
    transition: opacity 0.3s;
    margin-top: 0.25rem;
  }
  
  .nav-link:hover .nav-link-indicator,
  .nav-link.active .nav-link-indicator {
    opacity: 1;
  }
  
  .mobile-menu-button {
    display: none;
  }
  
  #mobileMenu {
    display: none !important;
  }
  
  /* Announcement Bar */
  .announcement-bar {
    margin-top: 80px;
  }
  
  /* Categories */
  .category-image {
    width: 4.75rem;
    height: 4.75rem;
  }
  
  .category-item {
    min-width: 5.5rem;
  }
  
  .category-name {
    font-size: 0.85rem;
  }
  
  .category-overlay {
    width: 1.25rem;
    height: 1.25rem;
  }
  
  .category-count {
    font-size: 0.65rem;
  }
  
  /* Banner */
  .banner-slider-container {
    margin-bottom: 3rem;
    height: clamp(350px, 45vw, 500px);
  }
  
  .banner-prev,
  .banner-next {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
  
  .banner-prev {
    left: 1rem;
  }
  
  .banner-next {
    right: 1rem;
  }
  
  .banner-dot {
    width: 0.7rem;
    height: 0.7rem;
  }
  
  /* Product Grid */
  .product-grid {
    gap: 2rem;
  }
  
  .product-image-container {
    padding-bottom: 140%; /* Taller aspect for tablet */
  }
  
  /* Collection Section */
  .collection-section {
    padding: 3rem 2rem;
  }
  
  .collection-title {
    font-size: 3rem;
  }
  
  .collection-subtitle {
    font-size: 1.125rem;
  }
  
  /* Category Cards - Horizontal layout */
  .category-card {
    min-height: 160px;
  }
  
  .category-card-inner {
    flex-direction: row;
  }
  
  .category-card-text {
    width: 50%;
  }
  
  .category-card-image {
    width: 50%;
    height: auto;
  }
  
  .category-card-link {
    font-size: 3rem;
  }
  
  /* Categories Section */
  .categories-section {
    padding: 3rem 2rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
  
  .footer-payment {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==========================================================================
   DESKTOP (1024px and up)
   ========================================================================== */

@media (min-width: 1024px) {
  /* Container */
  .container {
    padding: 0 2rem;
  }
  
  /* Categories */
  .category-image {
    width: 5.625rem;
    height: 5.625rem;
  }
  
  .category-item {
    min-width: 6.5rem;
  }
  
  .category-name {
    font-size: 0.9rem;
  }
  
  .category-overlay {
    width: 1.5rem;
    height: 1.5rem;
  }
  
  .category-count {
    font-size: 0.7rem;
  }
  
  /* Banner - Single slide view on desktop too */
  .banner-slides-wrapper {
    width: 300%;
  }
  
  .banner-slide {
    flex: 0 0 100%;
  }
  
  .banner-slider-container {
    margin-bottom: 4rem;
    height: clamp(400px, 35vw, 550px);
  }
  
  .banner-prev,
  .banner-next {
    width: 2.75rem;
    height: 2.75rem;
  }
  
  .banner-dot {
    width: 0.75rem;
    height: 0.75rem;
  }
  
  /* Product Grid - Auto-fill responsive */
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .product-image-container {
    padding-bottom: 125%;
  }
  
  /* Hover Effects (Desktop Only) */
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(179, 0, 0, 0.2);
  }
  
  .product-card:hover .product-image {
    transform: scale(1.1);
  }
  
  .product-button:hover {
    background: var(--liva-primary);
    color: white;
    box-shadow: 0 0 20px rgba(179, 0, 0, 0.5);
  }
  
  .view-all-button:hover {
    background: var(--liva-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(179, 0, 0, 0.4);
  }
  
  /* Category Cards - Slide effect */
  .category-card-image {
    transform: translateX(100%);
    transition: transform 0.5s;
  }
  
  .category-card:hover .category-card-image,
  .category-card:focus-within .category-card-image {
    transform: translateX(0);
  }
  
  .category-card-text {
    transition: transform 0.5s;
  }
  
  .category-card:hover .category-card-text,
  .category-card:focus-within .category-card-text {
    transform: translateX(-100%);
  }
  
  /* Collection Section */
  .collection-section {
    padding: 4rem 2rem;
  }
  
  .collection-title {
    font-size: 3.5rem;
  }
  
  .collection-subtitle {
    font-size: 1.25rem;
  }
  
  /* Categories Section */
  .categories-section {
    padding: 4rem 2rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .section-subtitle {
    font-size: 1.125rem;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  }
  
  .footer-brand {
    grid-column: 1 / 2;
    text-align: left;
  }
  
  .footer-logo {
    justify-content: flex-start;
  }
  
  .footer-social {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   LARGE DESKTOP (1280px and up)
   ========================================================================== */

@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
  
  .collection-title {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 3.5rem;
  }
}

/* ==========================================================================
   ACCESSIBILITY & INTERACTIONS
   ========================================================================== */

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--liva-primary);
  outline-offset: 2px;
}

/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}

/* Reduce motion for accessibility */
@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;
  }
}

/* ==========================================================================
   LOADING STATES
   ========================================================================== */

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(179, 0, 0, 0.1);
  border-top-color: var(--liva-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
  nav,
  footer,
  .banner-slider-container,
  .category-section {
    display: none !important;
  }
  
  body {
    background: white !important;
  }
  
  .product-card {
    break-inside: avoid;
  }
}
