/* ===============================
   RAHIDYA VASTRA - PREMIUM DESIGN SYSTEM
   Complete redesign for ethnic & office wear
================================ */

/* ===============================
   GOOGLE FONTS
================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ===============================
   CSS CUSTOM PROPERTIES
================================ */
:root {
  /* Colors - Premium Ethnic Palette - Mahogany/Logo Matched */
  --color-primary: #8B3A1A;
  --color-primary-dark: #6D2E15;
  --color-primary-light: #A64B26;
  --color-secondary: #C9A050;
  --color-secondary-light: #D4B06A;
  --color-accent: #D4A5A5;
  --color-accent-light: #E8C8C8;

  /* Neutrals */
  --color-bg: #FAF7F2;
  --color-bg-alt: #F5F0E8;
  --color-surface: #FFFFFF;
  --color-text: #2D2A26;
  --color-text-muted: #6B6560;
  --color-text-light: #9A948D;
  --color-border: #E8E2D9;
  --color-border-light: #F0EBE3;

  /* Status Colors */
  --color-success: #2E7D32;
  --color-error: #C62828;
  --color-warning: #F9A825;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  --gradient-gold: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
  --gradient-hero: linear-gradient(135deg, #8B3A1A 0%, #6D2E15 50%, #4D200E 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 40px rgba(139, 26, 61, 0.15);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 960px;
  --header-height: 120px;
}

/* ===============================
   RESET & BASE STYLES
================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

/* ===============================
   TYPOGRAPHY
================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text);
}

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

h6 {
  font-size: var(--text-base);
}

.text-accent {
  font-family: var(--font-accent);
  font-style: italic;
}

.text-muted {
  color: var(--color-text-muted);
}

.text-gold {
  color: var(--color-secondary);
}

.text-center {
  text-align: center;
}

/* ===============================
   LAYOUT UTILITIES
================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-20) 0;
}

.section-sm {
  padding: var(--space-12) 0;
}

/* ===============================
   HEADER
================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border-light);
  z-index: 1000;
  transition: all var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-8);
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  height: 90px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.main-nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text);
  position: relative;
  padding: var(--space-2) 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: width var(--transition-base);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.cart-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.cart-link:hover {
  background: var(--color-bg-alt);
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 var(--space-1);
  background: var(--color-primary);
  color: white;
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition-fast);
}

/* ===============================
   BUTTONS
================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
  background: var(--gradient-gold);
  color: var(--color-text);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

.btn-white {
  background: white;
  color: var(--color-primary);
}

.btn-white:hover {
  background: var(--color-bg);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background: #1DA851;
  transform: translateY(-2px);
}

.btn-lg {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-base);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ===============================
   HERO SECTION
================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  background: var(--gradient-hero);
  overflow: hidden;
  margin-top: calc(-1 * var(--header-height));
  padding-top: calc(var(--header-height) + 6rem);
}

.page-hero {
  position: relative;
  background: var(--gradient-hero);
  margin-top: calc(-1 * var(--header-height));
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: var(--space-8);
  text-align: center;
  color: white;
}

.page-hero h1 {
  color: white;
  margin-bottom: var(--space-4);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 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;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding: var(--space-24) 0 var(--space-16);
}

.hero-text {
  color: white;
}

.hero-tagline {
  font-family: var(--font-accent);
  font-size: var(--text-lg);
  font-style: italic;
  color: white;
  margin-bottom: var(--space-4);
  opacity: 1;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  color: white;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.hero-title span {
  color: var(--color-secondary);
}

.hero-description {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-8);
  max-width: 480px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.8s;
}

.hero-image {
  position: relative;
  opacity: 0;
  animation: fadeInRight 1s ease forwards;
  animation-delay: 0.5s;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--color-secondary);
  border-radius: var(--radius-2xl);
  opacity: 0.3;
  z-index: -1;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  animation: bounce 2s infinite;
}

.hero-scroll-icon {
  width: 24px;
  height: 40px;
  border: 2px solid currentColor;
  border-radius: var(--radius-full);
  position: relative;
}

.hero-scroll-icon::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: currentColor;
  border-radius: var(--radius-full);
  animation: scrollDown 1.5s infinite;
}

/* ===============================
   FEATURED COLLECTIONS
================================ */
.featured-section {
  background: var(--color-surface);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-12);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
}

.collection-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-slow);
}

.collection-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.collection-card:hover img {
  transform: scale(1.05);
}

.collection-card-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-overlay);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-8);
  color: white;
}

.collection-card h3 {
  font-size: var(--text-2xl);
  color: white;
  margin-bottom: var(--space-2);
}

.collection-card p {
  font-size: var(--text-sm);
  opacity: 0.85;
  margin-bottom: var(--space-4);
}

.collection-card .btn {
  align-self: flex-start;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.collection-card:hover .btn {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   PRODUCTS GRID (SHOP)
================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-10);
  margin-top: var(--space-8);
}

.shop-filters {
  position: sticky;
  top: calc(var(--header-height) + var(--space-8));
  height: fit-content;
}

.filter-group {
  margin-bottom: var(--space-6);
}

.filter-group h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-border);
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.filter-option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.filter-option:hover {
  background: var(--color-bg-alt);
}

.filter-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
}

.color-swatch {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.color-swatch:hover,
.color-swatch.active {
  transform: scale(1.15);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
}

.products-count {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.sort-select {
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: var(--text-sm);
  color: var(--color-text);
  background: white;
  cursor: pointer;
}

#products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

/* Product Card */
.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

.product-card-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-1) var(--space-3);
  background: var(--color-primary);
  color: white;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.product-card-quick {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-3);
  right: var(--space-3);
  display: flex;
  gap: var(--space-2);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.product-card:hover .product-card-quick {
  opacity: 1;
  transform: translateY(0);
}

.product-card-quick .btn {
  flex: 1;
  padding: var(--space-3);
}

.product-card-info {
  padding: var(--space-4);
}

.product-card-category {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-1);
}

.product-card-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.product-card-price {
  font-weight: 600;
  color: var(--color-primary);
}

.product-card-price .original {
  text-decoration: line-through;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-left: var(--space-2);
}

/* ===============================
   PRODUCT DETAIL PAGE
================================ */
.product-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  padding: var(--space-8) 0;
  margin-top: var(--header-height);
}

/* Product Gallery */
.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + var(--space-8));
  height: fit-content;
}

.gallery-main {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-bg-alt);
  margin-bottom: var(--space-4);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.gallery-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
  left: var(--space-4);
}

.gallery-nav.next {
  right: var(--space-4);
}

.gallery-thumbs {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  padding: var(--space-1);
}

.gallery-thumbs::-webkit-scrollbar {
  height: 4px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: var(--radius-full);
}

.gallery-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--color-primary);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.product-info {
  padding: var(--space-4) 0;
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.product-breadcrumb a:hover {
  color: var(--color-primary);
}

.product-info h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.product-price-block {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.product-price {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-primary);
}

.product-mrp {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.product-discount {
  padding: var(--space-1) var(--space-3);
  background: var(--color-success);
  color: white;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.product-description {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

/* Variant Selectors */
.variant-section {
  margin-bottom: var(--space-6);
}

.variant-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.variant-label span {
  font-weight: 500;
}

.variant-label .selected {
  color: var(--color-text-muted);
  font-weight: 400;
}

.color-options {
  display: flex;
  gap: var(--space-3);
}

.color-option {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.color-option:hover {
  transform: scale(1.1);
}

.color-option.active {
  border-color: var(--color-primary);
}

.color-option.active::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: var(--text-sm);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.size-option {
  min-width: 50px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.size-option:hover {
  border-color: var(--color-primary);
}

.size-option.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.size-option.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Availability */
.availability {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-6);
}

.availability.available {
  background: rgba(46, 125, 50, 0.1);
  color: var(--color-success);
}

.availability.sold-out {
  background: rgba(198, 40, 40, 0.1);
  color: var(--color-error);
}

/* Add to Cart Actions */
.product-actions {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.product-actions .btn {
  flex: 1;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.quantity-btn {
  width: 48px;
  height: 48px;
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.quantity-btn:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.quantity-input {
  width: 60px;
  height: 48px;
  text-align: center;
  font-size: var(--text-base);
  font-weight: 500;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
}

/* Product Features */
.product-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.product-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.product-feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  font-size: var(--text-lg);
}

/* ===============================
   CART PAGE
================================ */
.cart-page {
  margin-top: var(--header-height);
  padding: var(--space-8) 0;
  min-height: 60vh;
}

.cart-page h1 {
  margin-bottom: var(--space-8);
}

.cart-empty {
  text-align: center;
  padding: var(--space-16) 0;
}

.cart-empty-icon {
  font-size: 4rem;
  margin-bottom: var(--space-4);
  opacity: 0.3;
}

.cart-empty h2 {
  margin-bottom: var(--space-4);
}

.cart-empty p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-10);
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: var(--space-6);
  padding: var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.cart-item-image {
  width: 100px;
  height: 130px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-alt);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.cart-item-meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.cart-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.cart-item-price {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-primary);
}

.cart-item-remove {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.cart-item-remove:hover {
  color: var(--color-error);
}

/* Cart Summary */
.cart-summary {
  position: sticky;
  top: calc(var(--header-height) + var(--space-8));
  height: fit-content;
  padding: var(--space-8);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.cart-summary h3 {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
}

.cart-summary-row.total {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-lg);
  font-weight: 600;
}

.cart-summary-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.cart-summary-actions .btn {
  width: 100%;
}

/* ===============================
   WHY SECTION
================================ */
.why-section {
  background: var(--color-bg-alt);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-8);
}

.why-item {
  text-align: center;
  padding: var(--space-8);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.why-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  font-size: 2rem;
  color: white;
}

.why-item h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.why-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ===============================
   INSTAGRAM SECTION
================================ */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.instagram-item {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.instagram-item:hover img {
  transform: scale(1.1);
}

.instagram-item::after {
  content: '📷';
  position: absolute;
  inset: 0;
  background: rgba(139, 26, 61, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.instagram-item:hover::after {
  opacity: 1;
}

/* ===============================
   ABOUT & CONTACT PAGES
================================ */
.page-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  margin-top: calc(-1 * var(--header-height));
  padding-top: var(--header-height);
  text-align: center;
  color: white;
}

.page-hero h1 {
  font-size: var(--text-5xl);
  color: white;
  margin-bottom: var(--space-4);
}

.page-hero p {
  font-size: var(--text-lg);
  opacity: 0.85;
  max-width: 600px;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.contact-card {
  padding: var(--space-8);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.contact-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  font-size: 1.5rem;
  color: white;
}

.contact-card h3 {
  margin-bottom: var(--space-2);
}

.contact-card p,
.contact-card a {
  color: var(--color-text-muted);
}

.contact-card a:hover {
  color: var(--color-primary);
}

/* ===============================
   FOOTER
================================ */
.site-footer {
  background: var(--color-text);
  color: white;
  padding: var(--space-16) 0 var(--space-8);
  margin-top: var(--space-20);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer-brand img {
  height: 60px;
  margin-bottom: var(--space-4);
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  color: white;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-secondary);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: white;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
  color: white;
}

/* ===============================
   ANIMATIONS
================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes scrollDown {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* ===============================
   RESPONSIVE DESIGN
================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-image {
    display: none;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-filters {
    display: none;
    /* Mobile filter drawer would go here */
  }

  .product-page {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .product-gallery {
    position: static;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  h1 {
    font-size: var(--text-3xl);
  }

  h2 {
    font-size: var(--text-2xl);
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: var(--space-16) 0;
  }

  .hero-title {
    font-size: var(--text-3xl);
  }

  .section {
    padding: var(--space-12) 0;
  }

  #products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .product-card-info {
    padding: var(--space-3);
  }

  .product-card-name {
    font-size: var(--text-base);
  }

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .product-actions {
    flex-direction: column;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: var(--space-4);
  }

  .cart-item-right {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    margin-top: var(--space-4);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }

  #products-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .collections-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   UTILITY CLASSES
================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-8 {
  margin-top: var(--space-8);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.w-full {
  width: 100%;
}

/* Loading spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}