/* ============================================
   A Cup of Jules - Earthy Pottery Design System
   ============================================ */

/* CSS Variables - Earthy Color Palette */
:root {
  /* Primary Colors */
  --color-clay: #8B5A3C;
  --color-clay-dark: #6B4530;
  --color-terracotta: #C67B5C;
  --color-terracotta-light: #E8A48A;
  
  /* Neutral Earth Tones */
  --color-sand: #F5E6D3;
  --color-sand-light: #FBF6F0;
  --color-cream: #FFFEF9;
  --color-warm-white: #FAF8F5;
  
  /* Accent Colors */
  --color-sage: #8FA580;
  --color-sage-light: #B8C9AD;
  --color-moss: #6B7F5E;
  --color-charcoal: #3D3D3D;
  --color-stone: #7A7A7A;
  
  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-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: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;
  --text-6xl: 4.5rem;
  
  /* 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: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(61, 61, 61, 0.05);
  --shadow-md: 0 4px 12px rgba(61, 61, 61, 0.08);
  --shadow-lg: 0 12px 32px rgba(61, 61, 61, 0.12);
  --shadow-xl: 0 24px 48px rgba(61, 61, 61, 0.16);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  
  /* Layout */
  --max-width: 1200px;
  --nav-height: 80px;
}

/* ============================================
   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-charcoal);
  background-color: var(--color-warm-white);
  background-image: 
    radial-gradient(ellipse at 20% 0%, rgba(198, 123, 92, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(143, 165, 128, 0.05) 0%, transparent 50%);
  min-height: 100vh;
}

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

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

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

ul, ol {
  list-style: none;
}

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

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-charcoal);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Layout
   ============================================ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-4xl) 0;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 254, 249, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139, 90, 60, 0.1);
  z-index: 1000;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-clay);
  letter-spacing: 0.02em;
}

.logo-img {
  height: 50px;
  width: auto;
  border-radius: var(--radius-full);
}

.nav-links {
  display: flex;
  gap: var(--space-xl);
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-charcoal);
  padding: var(--space-sm) 0;
  position: relative;
  transition: color var(--transition-base);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-terracotta);
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-clay);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  transition: background var(--transition-base);
}

.cart-link:hover {
  background: var(--color-sand);
}

.cart-link svg {
  width: 22px;
  height: 22px;
  color: var(--color-charcoal);
}

.cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: var(--color-terracotta);
  color: white;
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: background var(--transition-base);
}

.mobile-menu-btn:hover {
  background: var(--color-sand);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-cream);
  border-bottom: 1px solid rgba(139, 90, 60, 0.1);
  padding: var(--space-lg);
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-nav-links a {
  font-size: var(--text-lg);
  font-weight: 500;
  padding: var(--space-sm) 0;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  min-height: 100vh;
  padding-top: var(--nav-height);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
}

.hero-content {
  padding: var(--space-4xl) 0;
}

.hero-tagline {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-sage);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-title br {
  display: block;
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--color-stone);
  max-width: 440px;
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4xl);
}

.hero-shape {
  position: absolute;
  width: 80%;
  height: 80%;
  background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-terracotta-light) 100%);
  border-radius: 60% 40% 50% 50% / 50% 50% 50% 50%;
  animation: morphShape 8s ease-in-out infinite;
}

.hero-image-placeholder {
  position: relative;
  width: 300px;
  height: 300px;
  background: var(--color-cream);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  animation: floatSoft 6s ease-in-out infinite;
}

.hero-icon {
  width: 80px;
  height: 80px;
  color: var(--color-terracotta);
}

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

@keyframes morphShape {
  0%, 100% {
    border-radius: 60% 40% 50% 50% / 50% 50% 50% 50%;
  }
  25% {
    border-radius: 50% 60% 40% 60% / 60% 40% 60% 40%;
  }
  50% {
    border-radius: 40% 50% 60% 40% / 40% 60% 40% 60%;
  }
  75% {
    border-radius: 60% 40% 50% 60% / 50% 50% 60% 40%;
  }
}

@keyframes floatSoft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn-primary {
  background: var(--color-clay);
  color: white;
  border: 2px solid var(--color-clay);
}

.btn-primary:hover {
  background: var(--color-clay-dark);
  border-color: var(--color-clay-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-charcoal);
  border: 2px solid var(--color-sand);
}

.btn-secondary:hover {
  background: var(--color-sand);
  border-color: var(--color-sand);
}

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

.btn-outline:hover {
  background: var(--color-clay);
  color: white;
}

.btn-full {
  width: 100%;
}

/* ============================================
   Section Headers
   ============================================ */

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

.section-header.centered {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-sage);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-md);
}

.section-description {
  font-size: var(--text-lg);
  color: var(--color-stone);
  max-width: 600px;
}

.section-header.centered .section-description {
  margin: 0 auto;
}

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

/* ============================================
   Product Grid
   ============================================ */

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

.product-card {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  cursor: pointer;
}

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

.product-card-image {
  aspect-ratio: 1;
  background: var(--color-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.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.05);
}

.product-card-image svg {
  width: 48px;
  height: 48px;
  color: var(--color-terracotta-light);
}

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

.product-card-category {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-sage);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xs);
}

.product-card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.product-card-price {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-clay);
}

/* ============================================
   Category Grid
   ============================================ */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.category-card {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.category-card:hover {
  border-color: var(--color-terracotta-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  background: var(--color-sand);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-clay);
}

.category-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
}

.category-card p {
  font-size: var(--text-sm);
  color: var(--color-stone);
}

/* ============================================
   About Preview
   ============================================ */

.about-preview {
  background: var(--color-cream);
}

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

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.about-image-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-terracotta-light) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-placeholder svg {
  width: 80px;
  height: 80px;
  color: var(--color-clay);
  opacity: 0.5;
}

.about-content p {
  font-size: var(--text-lg);
  color: var(--color-stone);
  margin-bottom: var(--space-lg);
}

.about-content .btn {
  margin-top: var(--space-md);
}

/* ============================================
   Newsletter
   ============================================ */

.newsletter {
  background: linear-gradient(135deg, var(--color-clay) 0%, var(--color-clay-dark) 100%);
  color: white;
}

.newsletter-content {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

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

.newsletter p {
  opacity: 0.9;
  margin-bottom: var(--space-xl);
}

.newsletter-form {
  display: flex;
  gap: var(--space-sm);
}

.newsletter-form input {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  border: none;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: var(--text-base);
}

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

.newsletter-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.25);
}

.newsletter-form .btn-primary {
  background: white;
  color: var(--color-clay);
  border-color: white;
  flex-shrink: 0;
}

.newsletter-form .btn-primary:hover {
  background: var(--color-sand);
  border-color: var(--color-sand);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-4xl) 0 var(--space-xl);
}

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

.footer-brand .logo-text {
  color: white;
  font-size: var(--text-2xl);
  display: block;
  margin-bottom: var(--space-md);
}

.footer-logo {
  height: 80px;
  width: auto;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.footer-brand p {
  max-width: 280px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.social-links 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: background var(--transition-base);
}

.social-links a:hover {
  background: var(--color-terracotta);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

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

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  font-size: var(--text-sm);
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--color-terracotta-light);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: var(--text-sm);
  opacity: 0.6;
}

/* ============================================
   Page Header
   ============================================ */

.page-header {
  padding-top: calc(var(--nav-height) + var(--space-4xl));
  padding-bottom: var(--space-3xl);
  text-align: center;
  background: linear-gradient(180deg, var(--color-sand-light) 0%, var(--color-warm-white) 100%);
}

.page-header h1 {
  margin-bottom: var(--space-md);
}

.page-header p {
  font-size: var(--text-lg);
  color: var(--color-stone);
}

/* ============================================
   Shop Page
   ============================================ */

.shop-main {
  padding: var(--space-3xl) 0;
}

.shop-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  gap: var(--space-lg);
}

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

.filter-group label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-stone);
}

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

.filter-btn {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-full);
  background: var(--color-cream);
  color: var(--color-charcoal);
  border: 2px solid transparent;
  transition: all var(--transition-base);
}

.filter-btn:hover {
  border-color: var(--color-terracotta-light);
}

.filter-btn.active {
  background: var(--color-clay);
  color: white;
}

.sort-select {
  padding: var(--space-sm) var(--space-lg);
  padding-right: var(--space-2xl);
  font-size: var(--text-sm);
  border: 2px solid var(--color-sand);
  border-radius: var(--radius-full);
  background: var(--color-cream);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233D3D3D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

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

.shop-grid {
  min-height: 400px;
}

/* ============================================
   Product Detail Page
   ============================================ */

.breadcrumb {
  padding: var(--space-md) 0;
  margin-top: var(--nav-height);
  background: var(--color-sand-light);
}

.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-stone);
}

.breadcrumb a:hover {
  color: var(--color-clay);
}

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

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

.product-gallery {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
}

.product-main-image {
  aspect-ratio: 1;
  background: var(--color-sand);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-main-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-main-image-placeholder svg {
  width: 80px;
  height: 80px;
  color: var(--color-terracotta-light);
}

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

.product-thumbnail {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-base);
}

.product-thumbnail.active,
.product-thumbnail:hover {
  border-color: var(--color-clay);
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.product-category {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-sage);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.product-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-md);
}

.product-price {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-clay);
  margin-bottom: var(--space-xl);
}

.product-description {
  font-size: var(--text-lg);
  color: var(--color-stone);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.quantity-selector label {
  font-weight: 500;
}

.quantity-controls {
  display: flex;
  align-items: center;
  border: 2px solid var(--color-sand);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.quantity-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  transition: background var(--transition-base);
}

.quantity-btn:hover {
  background: var(--color-sand);
}

.quantity-value {
  width: 50px;
  text-align: center;
  font-weight: 500;
}

.add-to-cart-btn {
  width: 100%;
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-base);
}

.product-meta {
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-sand);
}

.meta-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-stone);
}

.meta-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-sage);
  flex-shrink: 0;
}

.related-products {
  padding-top: var(--space-4xl);
  border-top: 1px solid var(--color-sand);
}

/* ============================================
   Cart Page
   ============================================ */

.cart-main {
  padding: var(--space-3xl) 0;
  min-height: 60vh;
}

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

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

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-cream);
  border-radius: var(--radius-lg);
}

.cart-item-image {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-sand);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-image-placeholder svg {
  width: 32px;
  height: 32px;
  color: var(--color-terracotta-light);
}

.cart-item-info h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

.cart-item-info p {
  font-size: var(--text-sm);
  color: var(--color-stone);
}

.cart-item-price {
  font-weight: 600;
  color: var(--color-clay);
  margin-top: var(--space-md);
}

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

.cart-item-quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-sand);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.cart-item-quantity button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
}

.cart-item-quantity button:hover {
  background: var(--color-sand);
}

.cart-item-quantity span {
  width: 40px;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 500;
}

.remove-item-btn {
  font-size: var(--text-sm);
  color: var(--color-stone);
  transition: color var(--transition-base);
}

.remove-item-btn:hover {
  color: var(--color-terracotta);
}

.cart-summary {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

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

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

.summary-row.total {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-charcoal);
}

.summary-divider {
  height: 1px;
  background: var(--color-sand);
  margin: var(--space-md) 0;
}

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

.continue-shopping {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-stone);
  transition: color var(--transition-base);
}

.continue-shopping:hover {
  color: var(--color-clay);
}

.continue-shopping svg {
  width: 16px;
  height: 16px;
}

/* Shipping Calculator */
.shipping-calculator {
  margin: var(--space-lg) 0;
  padding: var(--space-md);
  background: var(--color-sand-light);
  border-radius: var(--radius-md);
}

.shipping-calculator label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--color-charcoal);
}

.zip-input-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .zip-input-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .zip-input-group input {
    width: 100%;
  }
  
  .zip-input-group .btn {
    width: 100%;
  }
}

.zip-input-group input {
  flex: 1;
  min-width: 0;
  padding: 12px var(--space-md);
  border: 1px solid var(--color-sand);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  background: white;
  line-height: 1;
}

.zip-input-group input:focus {
  outline: none;
  border-color: var(--color-clay);
}

.zip-input-group .btn {
  flex-shrink: 0;
  padding: 12px var(--space-lg);
  font-size: var(--text-sm);
  white-space: nowrap;
  line-height: 1;
  margin-top: 0;
}

.shipping-options {
  margin-top: var(--space-md);
}

.shipping-options-label {
  font-size: var(--text-sm);
  color: var(--color-stone);
  margin-bottom: var(--space-sm);
}

.shipping-rate-option {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: white;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.shipping-rate-option:hover {
  border-color: var(--color-sand);
}

.shipping-rate-option.selected {
  border-color: var(--color-clay);
  background: var(--color-cream);
}

.shipping-rate-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-clay);
}

.rate-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rate-service {
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-charcoal);
}

.rate-estimate {
  font-size: var(--text-xs);
  color: var(--color-stone);
}

.rate-price {
  font-weight: 600;
  color: var(--color-clay);
}

.shipping-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  color: var(--color-stone);
  font-size: var(--text-sm);
}

.shipping-loading .spin,
.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.shipping-error {
  padding: var(--space-sm) var(--space-md);
  background: #FEE2E2;
  color: #DC2626;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  margin-top: var(--space-sm);
}

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

.empty-cart-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-xl);
  background: var(--color-sand);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-cart-icon svg {
  width: 36px;
  height: 36px;
  color: var(--color-terracotta);
}

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

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

/* ============================================
   About Page
   ============================================ */

.about-header {
  background: linear-gradient(180deg, var(--color-terracotta-light) 0%, var(--color-sand-light) 100%);
}

.about-main {
  overflow: hidden;
}

.about-story {
  padding: var(--space-4xl) 0;
}

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

.story-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.story-image-placeholder {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-terracotta-light) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-image-placeholder svg {
  width: 100px;
  height: 100px;
  color: var(--color-clay);
  opacity: 0.4;
}

.story-content h2 {
  margin-bottom: var(--space-xl);
}

.story-content p {
  font-size: var(--text-lg);
  color: var(--color-stone);
  line-height: 1.8;
}

.about-process {
  background: var(--color-cream);
  padding: var(--space-4xl) 0;
}

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

.process-step {
  text-align: center;
  padding: var(--space-xl);
}

.process-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 400;
  color: var(--color-terracotta-light);
  margin-bottom: var(--space-md);
}

.process-step h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.process-step p {
  font-size: var(--text-sm);
  color: var(--color-stone);
}

.about-values {
  padding: var(--space-4xl) 0;
}

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

.values-content h2 {
  margin-bottom: var(--space-xl);
}

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

.value-item {
  display: flex;
  gap: var(--space-md);
}

.value-icon {
  width: 48px;
  height: 48px;
  background: var(--color-sand);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-clay);
}

.value-item h4 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.value-item p {
  font-size: var(--text-sm);
  color: var(--color-stone);
}

.values-image-placeholder {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--color-sage-light) 0%, var(--color-sand) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.values-image-placeholder svg {
  width: 80px;
  height: 80px;
  color: var(--color-moss);
  opacity: 0.4;
}

.about-cta {
  background: var(--color-sand);
  padding: var(--space-4xl) 0;
}

.cta-content {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: var(--space-md);
}

.cta-content p {
  color: var(--color-stone);
  margin-bottom: var(--space-xl);
}

/* ============================================
   Contact Page
   ============================================ */

.contact-main {
  padding: var(--space-3xl) 0;
}

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

.contact-form-wrapper h2 {
  margin-bottom: var(--space-xl);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: var(--space-md) var(--space-lg);
  border: 2px solid var(--color-sand);
  border-radius: var(--radius-md);
  background: var(--color-cream);
  font-size: var(--text-base);
  transition: border-color var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-terracotta);
}

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

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-3xl);
  background: var(--color-cream);
  border-radius: var(--radius-lg);
}

.form-success svg {
  width: 64px;
  height: 64px;
  color: var(--color-sage);
  margin-bottom: var(--space-lg);
}

.form-success h3 {
  margin-bottom: var(--space-sm);
}

.form-success p {
  color: var(--color-stone);
}

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

.info-card {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.info-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-lg);
}

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

.info-item {
  display: flex;
  gap: var(--space-md);
}

.info-icon {
  width: 44px;
  height: 44px;
  background: var(--color-sand);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-clay);
}

.info-item h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.info-item p,
.info-item a {
  font-size: var(--text-sm);
  color: var(--color-stone);
}

.info-item a:hover {
  color: var(--color-clay);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  border-bottom: 1px solid var(--color-sand);
}

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

.faq-item summary {
  padding: var(--space-md) 0;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: var(--text-lg);
  color: var(--color-stone);
  transition: transform var(--transition-base);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding-bottom: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-stone);
  line-height: 1.7;
}

.faq-item a {
  color: var(--color-clay);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-item a:hover {
  color: var(--color-terracotta);
}

/* ============================================
   Success Page
   ============================================ */

.success-main {
  min-height: calc(100vh - var(--nav-height) - 300px);
  display: flex;
  align-items: center;
  padding: var(--space-4xl) 0;
  margin-top: var(--nav-height);
}

.success-content {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.success-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-xl);
  background: var(--color-sage-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon svg {
  width: 50px;
  height: 50px;
  color: var(--color-moss);
}

.success-content h1 {
  margin-bottom: var(--space-sm);
}

.success-subtitle {
  font-size: var(--text-xl);
  color: var(--color-stone);
  margin-bottom: var(--space-xl);
}

.order-details {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.order-summary-card {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-sand);
}

.success-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}

/* ============================================
   Loading States & Skeleton Loaders
   ============================================ */

.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-4xl);
  color: var(--color-stone);
  grid-column: 1 / -1;  /* Span all columns in grid layouts */
  width: 100%;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-sand);
  border-top-color: var(--color-terracotta);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: var(--space-md);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Skeleton Loaders */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-sand) 0%,
    var(--color-cream) 50%,
    var(--color-sand) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

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

/* Skeleton Product Card */
.skeleton-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.skeleton-card-image {
  aspect-ratio: 1;
  background: linear-gradient(
    90deg,
    var(--color-sand) 0%,
    var(--color-cream) 50%,
    var(--color-sand) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-card-content {
  padding: var(--space-lg);
}

.skeleton-card-category {
  height: 14px;
  width: 60px;
  margin-bottom: var(--space-sm);
}

.skeleton-card-title {
  height: 20px;
  width: 80%;
  margin-bottom: var(--space-sm);
}

.skeleton-card-price {
  height: 18px;
  width: 50px;
}

/* Skeleton Product Detail */
.skeleton-product-gallery {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
}

.skeleton-product-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.skeleton-product-category {
  height: 14px;
  width: 80px;
}

.skeleton-product-title {
  height: 32px;
  width: 70%;
}

.skeleton-product-price {
  height: 28px;
  width: 100px;
}

.skeleton-product-description {
  height: 60px;
  width: 100%;
}

.skeleton-product-button {
  height: 52px;
  width: 100%;
  border-radius: var(--radius-md);
}

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

.empty-state svg {
  width: 64px;
  height: 64px;
  color: var(--color-terracotta-light);
  margin-bottom: var(--space-lg);
}

.empty-state h3 {
  margin-bottom: var(--space-sm);
  color: var(--color-charcoal);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
  :root {
    --text-5xl: 3rem;
    --text-6xl: 3.5rem;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--nav-height) + var(--space-2xl));
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    padding: var(--space-2xl);
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .story-grid,
  .values-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .story-image {
    order: -1;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .product-gallery {
    position: static;
  }

  .cart-content {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --text-4xl: 2rem;
    --text-5xl: 2.5rem;
    --text-6xl: 3rem;
    --space-4xl: 4rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero-visual {
    display: none;
  }

  .hero-content {
    padding: var(--space-3xl) 0;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

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

  .process-grid {
    grid-template-columns: 1fr;
  }

  .shop-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-buttons {
    flex-wrap: wrap;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
  }

  .cart-item-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    margin-top: var(--space-sm);
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .success-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  :root {
    --space-xl: 1.5rem;
    --text-3xl: 1.75rem;
    --text-4xl: 1.75rem;
    --text-5xl: 2rem;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Instagram Section
   ============================================ */

.instagram-section {
  background: var(--color-sand-light);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.instagram-grid-item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.instagram-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.instagram-grid-item:hover img {
  transform: scale(1.08);
}

.instagram-overlay {
  position: absolute;
  inset: 0;
  background: rgba(61, 61, 61, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.instagram-grid-item:hover .instagram-overlay {
  opacity: 1;
}

.instagram-overlay svg {
  width: 32px;
  height: 32px;
  color: white;
}

.instagram-grid-item {
  cursor: pointer;
}

.instagram-section .btn svg {
  width: 18px;
  height: 18px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  padding: var(--space-xl);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform var(--transition-base);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: var(--radius-full);
  color: white;
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1024px) {
  .instagram-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .instagram-grid-item.hide-tablet {
    display: none;
  }
}

@media (max-width: 640px) {
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xs);
  }
  
  .instagram-grid-item.hide-mobile {
    display: none;
  }
}

/* ============================================
   Custom Orders Page
   ============================================ */

.custom-header {
  background: linear-gradient(180deg, var(--color-sage-light) 0%, var(--color-sand-light) 100%);
}

.custom-main {
  padding: var(--space-3xl) 0;
}

.custom-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-4xl);
}

.custom-intro h2 {
  margin-bottom: var(--space-md);
}

.custom-intro > p {
  font-size: var(--text-lg);
  color: var(--color-stone);
  margin-bottom: var(--space-2xl);
}

.custom-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.custom-feature {
  text-align: center;
  padding: var(--space-lg);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  background: var(--color-sand);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-clay);
}

.custom-feature h4 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.custom-feature p {
  font-size: var(--text-sm);
  color: var(--color-stone);
}

.custom-form-section {
  margin-bottom: var(--space-4xl);
}

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

.form-info h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-xl);
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.process-list li {
  display: flex;
  gap: var(--space-md);
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--color-terracotta);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.process-list h4 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.process-list p {
  font-size: var(--text-sm);
  color: var(--color-stone);
}

.pricing-note {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-sand-light);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-sage);
}

.pricing-note > svg {
  width: 20px;
  height: 20px;
  color: var(--color-sage);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-note h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.pricing-note p {
  font-size: var(--text-sm);
  color: var(--color-stone);
  line-height: 1.6;
}

.custom-form-wrapper {
  background: var(--color-cream);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.custom-form-wrapper h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-xl);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.checkbox-group {
  margin-top: var(--space-sm);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--color-stone);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-clay);
}

.custom-form .btn {
  margin-top: var(--space-md);
}

.custom-form .btn svg {
  width: 18px;
  height: 18px;
}

.form-section-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-clay);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-sand);
}

.form-section-title:first-of-type {
  margin-top: 0;
}

.info-box {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-sand-light);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-sage);
  margin-bottom: var(--space-lg);
}

.info-box > svg {
  width: 20px;
  height: 20px;
  color: var(--color-sage);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-box h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-charcoal);
}

.info-box p {
  font-size: var(--text-sm);
  color: var(--color-stone);
  line-height: 1.6;
  margin-bottom: var(--space-xs);
}

.info-box p:last-child {
  margin-bottom: 0;
}

.custom-color-swatch {
  background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 25%, #FFE66D 50%, #95E1D3 75%, #DDA0DD 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  font-size: var(--text-sm);
}

.label-hint {
  font-weight: 400;
  color: var(--color-stone);
  font-size: var(--text-sm);
}

.field-hint {
  font-size: var(--text-xs);
  color: var(--color-stone);
  margin-top: var(--space-xs);
}

.field-description {
  font-size: var(--text-sm);
  color: var(--color-stone);
  margin-bottom: var(--space-sm);
  line-height: 1.5;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.radio-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-sand-light);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: all var(--transition-base);
}

.radio-label:hover {
  border-color: var(--color-terracotta-light);
}

.radio-label:has(input:checked) {
  background: var(--color-sand);
  border-color: var(--color-clay);
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-clay);
}

.color-picker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.color-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  padding: var(--space-sm);
  background: var(--color-sand-light);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: all var(--transition-base);
  font-size: var(--text-sm);
}

.color-option:hover {
  border-color: var(--color-terracotta-light);
}

.color-option:has(input:checked) {
  background: var(--color-sand);
  border-color: var(--color-clay);
}

.color-option input[type="checkbox"] {
  display: none;
}

.color-swatch {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}

.file-upload-wrapper {
  position: relative;
}

.file-input {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-xl);
  background: var(--color-sand-light);
  border: 2px dashed var(--color-sand);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
}

.file-upload-label:hover {
  border-color: var(--color-terracotta);
  background: var(--color-sand);
}

.file-upload-label svg {
  width: 32px;
  height: 32px;
  color: var(--color-stone);
}

.file-upload-label span {
  font-size: var(--text-sm);
  color: var(--color-stone);
}

.conditional-field {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-form-wrapper .form-success {
  flex-direction: column;
  text-align: center;
  padding: var(--space-2xl);
}

.custom-form-wrapper .form-success svg {
  width: 64px;
  height: 64px;
  color: var(--color-sage);
  margin-bottom: var(--space-lg);
}

.custom-form-wrapper .form-success h3 {
  margin-bottom: var(--space-md);
}

.custom-form-wrapper .form-success p {
  color: var(--color-stone);
  margin-bottom: var(--space-md);
}

.custom-form-wrapper .form-success .btn {
  margin-top: var(--space-md);
}

.custom-examples {
  padding-top: var(--space-4xl);
  border-top: 1px solid var(--color-sand);
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.example-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.example-image {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-terracotta-light) 100%);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.example-image svg {
  width: 32px;
  height: 32px;
  color: var(--color-clay);
}

.example-card h4 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.example-card p {
  font-size: var(--text-sm);
  color: var(--color-stone);
}

/* Custom Orders Responsive */
@media (max-width: 1024px) {
  .custom-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .custom-form-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .examples-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .custom-features {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .examples-grid {
    grid-template-columns: 1fr 1fr;
  }

  .color-picker-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .radio-group {
    flex-direction: column;
  }

  .radio-label {
    width: 100%;
  }
}

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

  .custom-form-wrapper {
    padding: var(--space-lg);
  }

  .color-picker-grid {
    grid-template-columns: 1fr 1fr;
  }
}
