@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   2. CSS Custom Properties (Design Tokens)
   ========================================================================== */
:root {
  /* Colors */
  --bg-primary: #FFF8F0;
  --bg-secondary: #FFF0E6;
  --bg-card: #FFFFFF;
  
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-muted: #888888;
  
  --accent-blue: #4A7CFF;
  --accent-pink: #FF6B9D;
  --accent-green: #2ECC71;
  --accent-red: #E74C3C;
  --accent-orange: #F39C12;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg in oklch, var(--accent-blue) 0%, var(--accent-pink) 100%);
  --gradient-primary-hover: linear-gradient(135deg in oklch, #3A6CEF 0%, #EF5B8D 100%);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  --glass-blur: blur(20px);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
  
  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  
  /* Typography */
  --font-cursive: 'Dancing Script', cursive;
  --font-body: 'Inter', system-ui, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Layout */
  --max-width: 1280px;
  --nav-height: 72px;
}

/* Fallback for browsers not supporting 'in oklch' in gradients */
@supports not (background: linear-gradient(in oklch, red, blue)) {
  :root {
    --gradient-primary: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-pink) 100%);
    --gradient-primary-hover: linear-gradient(135deg, #3A6CEF 0%, #EF5B8D 100%);
  }
}

/* ==========================================================================
   3. Base Reset & Typography
   ========================================================================== */
html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-block-start: 0;
  margin-block-end: 0.5em;
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem); }
h2 { font-size: clamp(2rem, 3vw + 1rem, 3rem); }
h3 { font-size: clamp(1.5rem, 2vw + 1rem, 2rem); }

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

img, picture, svg, video {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
}

.cursive-title {
  font-family: var(--font-cursive);
  text-wrap: balance;
  font-weight: 700;
}

/* ==========================================================================
   4. Glassmorphism Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  inset-block-start: 0.75rem;
  inset-inline-start: 0;
  inset-inline-end: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding-inline: 1rem;
  transition: inset-block-start var(--transition-normal);
}

.navbar.scrolled {
  inset-block-start: 0.5rem;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  inline-size: 96%;
  max-inline-size: 1440px;
  block-size: 4.5rem;
  padding-inline: 1.5rem 1rem;
  background: #ffffff;
  border-radius: 100px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  margin-inline: auto;
  transition: box-shadow var(--transition-normal);
}

.navbar.scrolled .navbar-inner {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

/* Logo + Brand Name */
.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-logo img {
  height: 90px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
}

/* Nav Links */
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: #6b7280;
  transition: all var(--transition-fast);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  white-space: nowrap;
  text-decoration: none;
}

.nav-link.nav-link-icon {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link.nav-link-icon i {
  width: 18px;
  height: 18px;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #111827;
  background: #f9fafb;
}

.nav-link.active {
  color: #111827;
  font-weight: 600;
  background: #f3f4f6;
}

/* Right side actions */
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-divider {
  width: 1px;
  height: 24px;
  background: var(--border-color, #e5e7eb);
  margin-inline: 0.5rem;
}

.nav-action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav-action-btn i {
  width: 18px;
  height: 18px;
}

.nav-orders-btn {
  color: #4b5563;
  background: transparent;
}

.nav-orders-btn:hover {
  color: #111827;
  background: #f3f4f6;
}

.nav-cart-btn {
  position: relative;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.25);
}

.nav-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.35);
}

.cart-badge {
  position: absolute;
  inset-block-start: -6px;
  inset-inline-end: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  inline-size: 20px;
  block-size: 20px;
  background: #ff3b30;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(255, 59, 48, 0.4);
}
}

.nav-toggle {
  display: block; /* Mobile visible */
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-primary);
}

/* ==========================================================================
   5. Button System
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn:hover {
  transform: scale(1.02);
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 4px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--gradient-primary-hover);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid transparent;
  background-image: linear-gradient(var(--bg-primary), var(--bg-primary)), var(--gradient-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.05);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ==========================================================================
   6. Product Card System
   ========================================================================== */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

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

.product-card-image {
  aspect-ratio: 1 / 1;
  background-color: var(--bg-secondary);
  overflow: hidden;
  position: relative;
}

.product-card-image img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.product-title {
  font-weight: 500;
  margin: 0;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-block-start: auto;
}

.product-price-selling {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.product-price-mrp {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-badges {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-start: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 1;
}

.badge {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.product-discount-badge {
  background: var(--accent-green);
}

.product-stock-badge {
  background: var(--accent-red);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, var(--bg-secondary) 25%, #f5f5f5 50%, var(--bg-secondary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-image {
  aspect-ratio: 1 / 1;
  border-radius: 0;
}

.skeleton-text {
  block-size: 1lh;
  inline-size: 80%;
  margin-block-end: 0.5rem;
}

.skeleton-price {
  block-size: 1.5lh;
  inline-size: 40%;
}

/* ==========================================================================
   7. Category Cards
   ========================================================================== */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.category-icon {
  font-size: 3rem;
}

.category-title {
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

/* ==========================================================================
   8. Hero Section
   ========================================================================== */
.hero {
  box-sizing: border-box;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  padding-block-start: calc(var(--nav-height) + 1rem);
  position: relative;
  overflow: hidden;
  background-color: var(--bg-primary);
  background-image: radial-gradient(rgba(0, 0, 0, 0.04) 2px, transparent 2px);
  background-size: 24px 24px;
}

/* Floating gradient orbs for depth and visual energy */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
  will-change: transform;
}

.hero-orb-1 {
  width: clamp(300px, 40vw, 600px);
  height: clamp(300px, 40vw, 600px);
  background: radial-gradient(circle, rgba(74, 124, 255, 0.35), transparent 70%);
  top: -10%;
  right: -5%;
  animation: orbFloat1 20s ease-in-out infinite;
}

.hero-orb-2 {
  width: clamp(250px, 35vw, 500px);
  height: clamp(250px, 35vw, 500px);
  background: radial-gradient(circle, rgba(255, 107, 157, 0.3), transparent 70%);
  bottom: -5%;
  left: -5%;
  animation: orbFloat2 25s ease-in-out infinite;
}

.hero-orb-3 {
  width: clamp(150px, 20vw, 300px);
  height: clamp(150px, 20vw, 300px);
  background: radial-gradient(circle, rgba(243, 156, 18, 0.2), transparent 70%);
  top: 40%;
  left: 50%;
  animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 40px) scale(1.1); }
  66% { transform: translate(20px, -20px) scale(0.95); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  50% { transform: translate(-50%, -30px) scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-inline-size: 800px;
  transform: translateY(-10vh);
}

/* Floating emojis */
.hero-floating-emojis {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.floating-emoji {
  position: absolute;
  left: var(--x);
  top: var(--y);
  font-size: var(--size);
  animation: floatEmoji 6s ease-in-out var(--delay) infinite alternate;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

@keyframes floatEmoji {
  0% { transform: translateY(0) rotate(-5deg); }
  100% { transform: translateY(-20px) rotate(5deg); }
}

/* Social Proof Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: var(--text-secondary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  margin-block-end: 0;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 2px rgba(52, 199, 89, 0.2);
}

/* Logo — the hero focal point */
.hero-logo {
  width: clamp(280px, 35vw, 450px);
  max-width: 100%;
  height: auto;
  margin-block-start: -3.5rem;
  margin-block-end: -4rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.08));
  animation: logoEntry 1s ease-out both;
}

@keyframes logoEntry {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Split headline: cursive "Master of" + bold "Sublimations" */
.hero-headline {
  font-size: clamp(3rem, 6vw + 1rem, 5.5rem);
  line-height: 1.1;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
  animation: headlineEntry 1s ease-out 0.2s both;
}

@keyframes headlineEntry {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-headline-cursive {
  font-size: 0.85em;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-headline-bold {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: transparent;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-tagline {
  max-inline-size: 520px;
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  text-wrap: pretty;
  margin: 0;
  animation: headlineEntry 1s ease-out 0.4s both;
}

/* Product category pills — visual highlights */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-block: 0.5rem;
  animation: headlineEntry 1s ease-out 0.6s both;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.9rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  cursor: default;
  user-select: none;
}

.hero-pill:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  animation: headlineEntry 1s ease-out 0.8s both;
  margin-block-start: 1.5rem;
}

.hero-cta {
  font-size: 1.125rem;
  padding: 0.9rem 2.25rem;
}

.hero-cta-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.scroll-indicator {
  position: absolute;
  bottom: 8vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  transition: opacity 0.3s ease;
  z-index: 100;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--text-secondary);
  border-radius: 13px;
  position: relative;
  opacity: 0.6;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--text-secondary);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s ease-out infinite;
}

.scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

@keyframes scrollWheel {
  0% {
    top: 6px;
    opacity: 1;
    transform: translate(-50%, 0) scaleY(1);
  }
  100% {
    top: 20px;
    opacity: 0;
    transform: translate(-50%, 4px) scaleY(0.5);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb { animation: none; }
  .hero-logo { animation: none; }
  .hero-headline { animation: none; }
  .hero-tagline { animation: none; }
  .hero-pills { animation: none; }
  .hero-cta { animation: none; }
  .scroll-indicator { animation: none; }
}

/* ==========================================================================
   9. Sections & Layout
   ========================================================================== */
.section {
  padding-block: 5rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section-title {
  text-align: center;
  margin-block-end: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 1rem auto 0;
  border-radius: var(--radius-pill);
}

.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

/* Auto-fill for flexible cards */
.grid-auto {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Categories grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.category-emoji {
  font-size: 3rem;
  line-height: 1;
}

.category-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}

/* Trust grid */
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  padding-block: 3rem;
}

.small-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

/* ==========================================================================
   10. Trust Signals
   ========================================================================== */
.trust-bar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-block: 3rem;
  background: var(--bg-card);
  border-block: 1px solid var(--glass-border);
}

@media (min-width: 768px) {
  .trust-bar {
    flex-direction: row;
    justify-content: space-around;
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.trust-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-blue);
}

.trust-text {
  font-weight: 500;
  color: var(--text-primary);
}

.trust-subtext {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   11. Footer
   ========================================================================== */
.footer {
  background: #1a1a1a;
  color: #f5f5f5;
  padding-block-start: 4rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

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

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-section h3,
.footer-col h3 {
  font-family: var(--font-cursive);
  font-size: 1.5rem;
  margin-block-end: 1.5rem;
  color: #fff;
}

.footer-col h4 {
  font-size: 1.125rem;
  margin-block-end: 1rem;
  color: #fff;
}

.footer-col p {
  color: #b3b3b3;
  line-height: 1.8;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul a {
  color: #b3b3b3;
  transition: color var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--accent-pink);
}

.footer-col address {
  font-style: normal;
  color: #b3b3b3;
  line-height: 2;
}

.footer-col address p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-block-start: 1rem;
}

.social-icons a {
  color: #b3b3b3;
  transition: color var(--transition-fast);
}

.social-icons a:hover {
  color: var(--accent-pink);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #b3b3b3;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-pink);
}

.footer-bottom {
  margin-block-start: 4rem;
  padding-block: 1.5rem;
  border-block-start: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #888;
  font-size: 0.875rem;
}

/* ==========================================================================
   Mobile Menu Overlay
   ========================================================================== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: flex-end;
}

.mobile-menu-overlay.hidden {
  display: none;
}

.mobile-menu-content {
  width: min(320px, 85vw);
  height: 100%;
  background: var(--bg-primary);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  animation: slideInRight 0.3s ease-out;
  overflow-y: auto;
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.close-mobile-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-block-end: 2rem;
  margin-inline-start: auto;
  color: var(--text-primary);
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-links a {
  display: block;
  padding: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.mobile-nav-links a:hover {
  background: var(--bg-secondary);
}

/* ==========================================================================
   12. Cookie Consent
   ========================================================================== */
.cookie-banner {
  position: fixed;
  inset-block-end: 1.5rem;
  inset-inline: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.5s ease-out forwards;
}

@media (min-width: 768px) {
  .cookie-banner {
    inset-inline: auto 1.5rem;
    max-inline-size: 400px;
  }
}

@keyframes slideUp {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-text {
  font-size: 0.875rem;
  margin: 0;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* ==========================================================================
   13. Scroll Animations
   ========================================================================== */
/* Basic IntersectionObserver fallback classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Modern Scroll-driven animations */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    /* Override basic transition classes */
    .fade-in, .slide-left, .slide-right {
      opacity: 1;
      transform: none;
      transition: none;
    }

    /* Apply scroll-driven animations */
    @keyframes reveal-up {
      from { opacity: 0; transform: translateY(40px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    @keyframes reveal-left {
      from { opacity: 0; transform: translateX(-40px); }
      to { opacity: 1; transform: translateX(0); }
    }

    @keyframes reveal-right {
      from { opacity: 0; transform: translateX(40px); }
      to { opacity: 1; transform: translateX(0); }
    }

    .fade-in {
      animation: reveal-up auto ease-out both;
      animation-timeline: view();
      animation-range: entry 10% cover 30%;
    }

    .slide-left {
      animation: reveal-left auto ease-out both;
      animation-timeline: view();
      animation-range: entry 10% cover 30%;
    }

    .slide-right {
      animation: reveal-right auto ease-out both;
      animation-timeline: view();
      animation-range: entry 10% cover 30%;
    }
  }
}

/* ==========================================================================
   14. Utility Classes
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-block-start: 0.5rem; }
.mt-2 { margin-block-start: 1rem; }
.mt-3 { margin-block-start: 1.5rem; }
.mt-4 { margin-block-start: 2rem; }
.mt-5 { margin-block-start: 3rem; }

.mb-1 { margin-block-end: 0.5rem; }
.mb-2 { margin-block-end: 1rem; }
.mb-3 { margin-block-end: 1.5rem; }
.mb-4 { margin-block-end: 2rem; }
.mb-5 { margin-block-end: 3rem; }

.hidden { display: none !important; }

/* Accessible hidden */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==========================================================================
   15. Responsive Breakpoints
   ========================================================================== */
/* Covered via desktop-first/mobile-first min-width media queries above */

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; }
}

/* ==========================================================================
   16. Scrollbar Styling
   ========================================================================== */
html {
  scrollbar-color: var(--accent-blue) var(--bg-primary);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-blue);
  border-radius: var(--radius-pill);
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-pink);
}
/* ==========================================================================
   Mobile Optimization Overrides
   ========================================================================== */
@media (max-width: 1024px) {
  #nav-login, #nav-signup, .nav-divider {
    display: none !important;
  }
  .nav-action-text {
    display: none;
  }
  .nav-cart-btn, .nav-orders-btn {
    padding: 0.6rem;
    border-radius: 50%;
  }
}

@media (max-width: 768px) {
  /* Navbar Fixes */
  .navbar {
    inset-block-start: 0;
    padding-inline: 0;
  }
  .navbar.scrolled {
    inset-block-start: 0;
  }
  .navbar-inner {
    inline-size: 100%;
    border-radius: 0;
    padding-inline: 1rem 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }
  .navbar-logo img {
    height: 50px;
    max-width: 180px;
  }
  
  /* Hero Fixes */
  .hero-logo {
    width: clamp(220px, 70vw, 280px);
    margin-block-start: -2rem;
    margin-block-end: -2.5rem;
  }
  .hero-headline {
    font-size: clamp(2.5rem, 8vw + 1rem, 3.5rem);
  }
  .hero-headline-cursive {
    font-size: 0.9em;
  }
  .hero-content {
    transform: translateY(0);
  }
  .hero-tagline {
    font-size: 0.95rem;
    margin-top: 1rem;
    padding-inline: 0.5rem;
  }
  .hero-cta-group {
    margin-top: 1.5rem;
  }
  .scroll-indicator {
    bottom: 2vh;
    transform: scale(0.8) translateX(-60%);
  }
  
  /* Trust Signals Grid Fixes */
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding-block: 2rem;
  }
  .trust-icon {
    width: 32px;
    height: 32px;
  }
  .trust-text {
    font-size: 0.85rem;
  }
  
  /* Global Fixes */
  .section-title {
    font-size: 2.2rem;
  }
}
