:root {
  --bg-cream: #FAF8F5;
  --surface-beige: #F2ECE4;
  --border-stone: #E6DFD5;
  --text-charcoal: #1F1D1B;
  --text-taupe: #6B6259;
  --accent-terracotta: #9C5B4B;
  --accent-terracotta-dark: #844A3C;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-cream);
  color: var(--text-charcoal);
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-charcoal);
  -webkit-font-smoothing: antialiased;
}

.font-serif-display {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

.policy-section {
  scroll-margin-top: 6rem;
}

/* Product card hover elevation */
.product-card {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -12px rgba(31, 29, 27, 0.14);
  border-color: #D5CCC0;
}

.product-card-img {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Slide-over cart drawer */
.cart-backdrop {
  transition: opacity 0.25s ease;
}

.cart-panel {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-drawer-open .cart-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer-open .cart-panel {
  transform: translateX(0);
}

/* Subtle toast feedback */
.mirelo-toast {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Custom focus ring in muted terracotta */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent-terracotta);
  box-shadow: 0 0 0 3px rgba(156, 91, 75, 0.14);
}
