/* ============================================
   REVISION FOUNDATIONS - Premium Shop Styles
   ============================================ */

/* CSS Variables */
:root {
  /* Colors */
  --cream-bg: #F6F1FF;
  --lavender-primary: #6C4A8B;
  --lilac-tint: #E9DDF6;
  --plum-text: #2B1538;
  --border-color: rgba(108, 74, 139, 0.18);
  --white: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-bg-strong: rgba(255, 255, 255, 0.95);
  --shadow-soft: 0 4px 24px rgba(43, 21, 56, 0.08);
  --shadow-medium: 0 8px 32px rgba(43, 21, 56, 0.12);
  --shadow-lift: 0 12px 40px rgba(43, 21, 56, 0.16);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--cream-bg);
  color: var(--plum-text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--plum-text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

.text-italic { font-style: italic; }
.text-center { text-align: center; }
.text-small { font-size: 0.875rem; }
.text-muted { opacity: 0.7; }

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: 800px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-lg) 0;
  transition: all var(--transition-base);
}

.navbar.transparent {
  background: transparent;
}

.navbar.transparent .nav-link,
.navbar.transparent .nav-logo {
  color: var(--white);
}

.navbar.scrolled {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
  padding: var(--space-md) 0;
}

.navbar.scrolled .nav-link,
.navbar.scrolled .nav-logo {
  color: var(--plum-text);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  font-style: italic;
  transition: color var(--transition-base);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--transition-base);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--lavender-primary);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-icon-btn {
  position: relative;
  padding: var(--space-sm);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.nav-icon-btn:hover {
  background: rgba(108, 74, 139, 0.1);
}

.nav-icon-btn svg {
  width: 22px;
  height: 22px;
  transition: color var(--transition-base);
}

.navbar.transparent .nav-icon-btn svg {
  color: var(--white);
}

.navbar.scrolled .nav-icon-btn svg {
  color: var(--plum-text);
}

.nav-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--lavender-primary);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}

.nav-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: all var(--transition-base);
}

@media (max-width: 768px) {
  .nav-mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-4xl) var(--space-xl);
    gap: var(--space-lg);
    transition: right var(--transition-slow);
    box-shadow: var(--shadow-lift);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu .nav-link {
    color: var(--plum-text);
    font-size: 1.125rem;
  }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(43, 21, 56, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
  }

  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--lavender-primary) 0%, #8B6AA8 50%, var(--lilac-tint) 100%);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(43, 21, 56, 0.4), rgba(108, 74, 139, 0.6));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: var(--space-xl);
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5rem);
  font-style: italic;
  color: var(--white);
  margin-bottom: var(--space-lg);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  opacity: 0.95;
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn:focus {
  outline: 3px solid rgba(108, 74, 139, 0.4);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--white);
  color: var(--lavender-primary);
}

.btn-primary:hover {
  background: var(--lilac-tint);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

.btn-lavender {
  background: var(--lavender-primary);
  color: var(--white);
}

.btn-lavender:hover {
  background: #5A3D75;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-outline {
  background: transparent;
  color: var(--lavender-primary);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  background: var(--lilac-tint);
  border-color: var(--lavender-primary);
}

.btn-sm {
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.875rem;
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1rem;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-badge {
  display: inline-block;
  background: var(--lilac-tint);
  color: var(--lavender-primary);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.125rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   PRODUCT GRID & CARDS
   ============================================ */
.products-controls {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  align-items: center;
  justify-content: space-between;
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.search-box input {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  padding-left: 3rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--white);
  font-size: 0.9375rem;
  transition: all var(--transition-base);
}

.search-box input:focus {
  outline: none;
  border-color: var(--lavender-primary);
  box-shadow: 0 0 0 4px rgba(108, 74, 139, 0.1);
}

.search-box svg {
  position: absolute;
  left: var(--space-lg);
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--lavender-primary);
  opacity: 0.6;
}

.filter-chips {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.filter-chip {
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--white);
  border: 2px solid var(--border-color);
  transition: all var(--transition-base);
}

.filter-chip:hover {
  border-color: var(--lavender-primary);
}

.filter-chip.active {
  background: var(--lavender-primary);
  color: var(--white);
  border-color: var(--lavender-primary);
}

.sort-dropdown {
  position: relative;
}

.sort-dropdown select {
  appearance: none;
  padding: var(--space-md) var(--space-2xl) var(--space-md) var(--space-lg);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--white);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all var(--transition-base);
}

.sort-dropdown select:focus {
  outline: none;
  border-color: var(--lavender-primary);
}

.sort-dropdown::after {
  content: '';
  position: absolute;
  right: var(--space-lg);
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--plum-text);
  pointer-events: none;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-xl);
}

/* Product Card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-base);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.product-card-image {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--lilac-tint), var(--lavender-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-image::before {
  content: '';
  position: absolute;
  inset: 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.1'%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");
}

.product-card-icon {
  font-size: 4rem;
  color: var(--white);
  z-index: 1;
}

.product-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--white);
  color: var(--lavender-primary);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.product-badge.new {
  background: var(--plum-text);
  color: var(--white);
}

.product-wishlist-btn {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-base);
  z-index: 2;
}

.product-wishlist-btn:hover {
  transform: scale(1.1);
}

.product-wishlist-btn svg {
  width: 20px;
  height: 20px;
  color: var(--lavender-primary);
  transition: all var(--transition-base);
}

.product-wishlist-btn.active svg {
  fill: var(--lavender-primary);
}

.product-card-body {
  padding: var(--space-lg);
}

.product-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lavender-primary);
  margin-bottom: var(--space-sm);
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.product-title a:hover {
  color: var(--lavender-primary);
}

.product-description {
  font-size: 0.9375rem;
  opacity: 0.75;
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.product-tag {
  background: var(--lilac-tint);
  color: var(--lavender-primary);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--lavender-primary);
}

.product-price.free {
  color: #22c55e;
}

.product-actions {
  display: flex;
  gap: var(--space-sm);
}

/* ============================================
   QUICK VIEW MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 21, 56, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

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

.modal {
  background: var(--white);
  border-radius: var(--radius-2xl);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-base);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-base);
  z-index: 10;
}

.modal-close:hover {
  background: var(--lilac-tint);
  transform: rotate(90deg);
}

.modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  .modal-content {
    grid-template-columns: 1fr;
  }
}

.modal-image {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--lilac-tint), var(--lavender-primary));
  border-radius: var(--radius-2xl) 0 0 var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: var(--white);
}

.modal-body {
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-body .product-badge {
  position: static;
  display: inline-block;
  width: fit-content;
  margin-bottom: var(--space-md);
}

.modal-body .product-title {
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
}

.modal-body .product-description {
  font-size: 1rem;
  margin-bottom: var(--space-lg);
}

.modal-features {
  margin-bottom: var(--space-xl);
}

.modal-features h4 {
  font-size: 1rem;
  margin-bottom: var(--space-md);
}

.modal-features ul {
  list-style: none;
}

.modal-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: 0.9375rem;
}

.modal-features li::before {
  content: '✓';
  color: var(--lavender-primary);
  font-weight: bold;
}

.modal-actions {
  display: flex;
  gap: var(--space-md);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.testimonial-stars {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  color: #fbbf24;
}

.testimonial-text {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--lilac-tint), var(--lavender-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--white);
}

.testimonial-info h5 {
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 2px;
}

.testimonial-info span {
  font-size: 0.875rem;
  opacity: 0.7;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.faq-question {
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.0625rem;
  font-weight: 500;
  text-align: left;
  transition: all var(--transition-base);
}

.faq-question:hover {
  background: var(--lilac-tint);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--lilac-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-content {
  padding: 0 var(--space-xl) var(--space-lg);
  line-height: 1.7;
  opacity: 0.8;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section {
  background: linear-gradient(135deg, var(--lavender-primary), #8B6AA8);
  color: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-4xl) var(--space-2xl);
  text-align: center;
  margin: var(--space-3xl) 0;
}

.newsletter-section h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.newsletter-section p {
  opacity: 0.9;
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  gap: var(--space-md);
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 500px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--plum-text);
  color: var(--white);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-style: italic;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  opacity: 0.7;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--lavender-primary);
  transform: translateY(-2px);
}

.footer-column h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
  color: var(--white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  opacity: 0.7;
  transition: all var(--transition-base);
  font-size: 0.9375rem;
}

.footer-links a:hover {
  opacity: 1;
  padding-left: var(--space-sm);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.875rem;
  opacity: 0.7;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.toast {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-lift);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  min-width: 300px;
  transform: translateX(120%);
  transition: transform var(--transition-base);
}

.toast.show {
  transform: translateX(0);
}

.toast-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast.success .toast-icon {
  background: #dcfce7;
  color: #22c55e;
}

.toast.info .toast-icon {
  background: var(--lilac-tint);
  color: var(--lavender-primary);
}

.toast.warning .toast-icon {
  background: #fef3c7;
  color: #f59e0b;
}

.toast-content h5 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.toast-content p {
  font-size: 0.8125rem;
  opacity: 0.7;
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail {
  padding-top: 120px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
}

.product-detail-image {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--lilac-tint), var(--lavender-primary));
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  color: var(--white);
  position: sticky;
  top: 120px;
}

.product-detail-info {
  padding: var(--space-xl) 0;
}

.product-detail-info .product-badge {
  position: static;
  display: inline-block;
  margin-bottom: var(--space-lg);
}

.product-detail-info h1 {
  margin-bottom: var(--space-md);
}

.product-detail-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--lavender-primary);
  margin-bottom: var(--space-lg);
}

.product-detail-price.free {
  color: #22c55e;
}

.product-detail-description {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  opacity: 0.85;
}

.product-features {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  margin-bottom: var(--space-2xl);
  box-shadow: var(--shadow-soft);
}

.product-features h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
}

.product-features ul {
  list-style: none;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  font-size: 1rem;
}

.product-features li svg {
  color: var(--lavender-primary);
  flex-shrink: 0;
}

.product-detail-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.related-products {
  margin-top: var(--space-4xl);
}

/* ============================================
   CART PAGE
   ============================================ */
.cart-page {
  padding-top: 120px;
  min-height: 80vh;
}

.cart-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-3xl);
  align-items: start;
}

@media (max-width: 900px) {
  .cart-grid {
    grid-template-columns: 1fr;
  }
}

.cart-items {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-soft);
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
}

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

.cart-item-image {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--lilac-tint), var(--lavender-primary));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
}

.cart-item-info h4 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.cart-item-info p {
  font-size: 0.875rem;
  opacity: 0.7;
  margin-bottom: var(--space-sm);
}

.cart-item-price {
  font-weight: 600;
  color: var(--lavender-primary);
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-md);
}

.quantity-stepper {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--lilac-tint);
  border-radius: var(--radius-full);
  padding: var(--space-xs);
}

.quantity-stepper button {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--lavender-primary);
  transition: all var(--transition-base);
}

.quantity-stepper button:hover {
  background: var(--lavender-primary);
  color: var(--white);
}

.quantity-stepper span {
  width: 40px;
  text-align: center;
  font-weight: 600;
}

.cart-item-remove {
  color: #ef4444;
  font-size: 0.875rem;
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.cart-item-remove:hover {
  opacity: 1;
}

.cart-summary {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 120px;
}

.cart-summary h3 {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-color);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-md);
  font-size: 0.9375rem;
}

.cart-summary-row.total {
  font-size: 1.25rem;
  font-weight: 600;
  padding-top: var(--space-md);
  margin-top: var(--space-md);
  border-top: 2px solid var(--border-color);
}

.cart-summary .btn {
  width: 100%;
  margin-top: var(--space-lg);
}

.cart-empty {
  text-align: center;
  padding: var(--space-4xl);
}

.cart-empty svg {
  width: 80px;
  height: 80px;
  color: var(--lilac-tint);
  margin-bottom: var(--space-lg);
}

.cart-empty h3 {
  margin-bottom: var(--space-md);
}

.cart-empty p {
  opacity: 0.7;
  margin-bottom: var(--space-xl);
}

/* ============================================
   WISHLIST PAGE
   ============================================ */
.wishlist-page {
  padding-top: 120px;
  min-height: 80vh;
}

.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.wishlist-empty {
  text-align: center;
  padding: var(--space-4xl);
  grid-column: 1 / -1;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-page {
  padding-top: 120px;
}

.about-hero {
  text-align: center;
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, var(--lilac-tint), rgba(233, 221, 246, 0.3));
  border-radius: var(--radius-2xl);
  margin-bottom: var(--space-4xl);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

@media (max-width: 900px) {
  .about-content {
    grid-template-columns: 1fr;
  }
}

.about-text h2 {
  margin-bottom: var(--space-lg);
}

.about-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  opacity: 0.85;
}

.about-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--lavender-primary), #8B6AA8);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-4xl);
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-base);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.value-icon {
  width: 64px;
  height: 64px;
  background: var(--lilac-tint);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 1.5rem;
  color: var(--lavender-primary);
}

.value-card h4 {
  margin-bottom: var(--space-sm);
}

.value-card p {
  font-size: 0.9375rem;
  opacity: 0.75;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page {
  padding-top: 120px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info h1 {
  margin-bottom: var(--space-lg);
}

.contact-info > p {
  font-size: 1.125rem;
  opacity: 0.8;
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.contact-method-icon {
  width: 56px;
  height: 56px;
  background: var(--lilac-tint);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lavender-primary);
  flex-shrink: 0;
}

.contact-method h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.7;
  margin-bottom: 4px;
}

.contact-method p {
  font-weight: 500;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-soft);
}

.contact-form-card h3 {
  margin-bottom: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--lavender-primary);
  box-shadow: 0 0 0 4px rgba(108, 74, 139, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #ef4444;
}

.form-error {
  color: #ef4444;
  font-size: 0.8125rem;
  margin-top: var(--space-xs);
  display: none;
}

.form-group.error .form-error {
  display: block;
}

/* ============================================
   CHECKOUT MODAL
   ============================================ */
.checkout-modal .modal {
  max-width: 500px;
  text-align: center;
  padding: var(--space-3xl);
}

.checkout-modal .modal-icon {
  width: 80px;
  height: 80px;
  background: var(--lilac-tint);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  font-size: 2rem;
  color: var(--lavender-primary);
}

.checkout-modal h2 {
  margin-bottom: var(--space-md);
}

.checkout-modal p {
  opacity: 0.8;
  margin-bottom: var(--space-xl);
}

/* ============================================
   LOAD MORE BUTTON
   ============================================ */
.load-more-container {
  text-align: center;
  margin-top: var(--space-3xl);
}

/* ============================================
   PAGE TRANSITIONS & ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ============================================
   MOBILE FILTER DRAWER
   ============================================ */
.filter-drawer {
  display: none;
}

@media (max-width: 768px) {
  .products-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    max-width: none;
  }

  .filter-chips {
    display: none;
  }

  .filter-drawer-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-weight: 500;
  }

  .filter-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    padding: var(--space-xl);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
    z-index: 2000;
    box-shadow: 0 -4px 32px rgba(43, 21, 56, 0.15);
    display: block;
  }

  .filter-drawer.open {
    transform: translateY(0);
  }

  .filter-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
  }

  .filter-drawer h3 {
    font-size: 1.25rem;
  }

  .filter-drawer .filter-chips {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
  }

  .filter-drawer .sort-dropdown {
    width: 100%;
  }

  .filter-drawer .sort-dropdown select {
    width: 100%;
  }
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--lavender-primary);
  transition: opacity var(--transition-base);
}

.breadcrumbs a:hover {
  opacity: 0.7;
}

.breadcrumbs span {
  opacity: 0.5;
}

.breadcrumbs .current {
  opacity: 0.7;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.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;
}

.hidden {
  display: none !important;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-md {
  gap: var(--space-md);
}

.mt-xl {
  margin-top: var(--space-xl);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}
