/* ==========================================
   LUMIVÉ — Premium Skincare Store
   Brand Colors: Obsidian #1A1814, Ancient Gold #C9A96E,
   Raw Silk #F2EBE0, Forest Sage #7A8C72, Rose Petal #D4A5A0,
   Warm Stone #8C8278
   Fonts: Italiana (display), Lora (editorial), Work Sans (UI)
   ========================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --obsidian: #1A1814;
  --gold: #C9A96E;
  --gold-light: #D4BA8A;
  --gold-dark: #A88B55;
  --silk: #F2EBE0;
  --silk-dark: #E8DFD2;
  --sage: #7A8C72;
  --rose: #D4A5A0;
  --stone: #8C8278;
  --white: #FDFCFA;
  --black: #0D0C0A;
  --text: #2C2924;
  --text-muted: #6B6560;
  --border: #D8D2C8;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 3px rgba(26,24,20,0.06);
  --shadow-md: 0 4px 16px rgba(26,24,20,0.08);
  --shadow-lg: 0 8px 32px rgba(26,24,20,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

/* ---- Announcement Bar ---- */
.announcement-bar {
  background: var(--obsidian);
  color: var(--gold);
  text-align: center;
  padding: 10px 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 252, 250, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: 'Italiana', serif;
  font-size: 28px;
  letter-spacing: 0.08em;
  color: var(--obsidian);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover { color: var(--obsidian); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

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

.nav-actions { display: flex; gap: 8px; align-items: center; }

.nav-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
  transition: color var(--transition);
}

.nav-icon-btn:hover { color: var(--gold); }

.nav-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

.cart-btn { position: relative; }

.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Mobile Menu ---- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 200;
  transition: left var(--transition);
  padding: 24px;
}

.mobile-menu.open { left: 0; }

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu-links a {
  font-family: 'Italiana', serif;
  font-size: 32px;
  color: var(--obsidian);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  max-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,24,20,0.75) 0%, rgba(26,24,20,0.3) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Italiana', serif;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.05;
  color: var(--silk);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-family: 'Lora', serif;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--silk-dark);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.6;
  font-style: italic;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}

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

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--silk);
  border: 1px solid rgba(242,235,224,0.4);
}

.btn-secondary:hover {
  background: rgba(242,235,224,0.1);
  border-color: var(--silk);
}

.btn-add-cart {
  background: var(--obsidian);
  color: var(--silk);
  padding: 10px 20px;
  font-size: 11px;
}

.btn-add-cart:hover {
  background: var(--gold-dark);
  color: var(--white);
}

.btn-full { width: 100%; }

/* ---- Trust Bar ---- */
.trust-bar {
  background: var(--silk);
  border-bottom: 1px solid var(--border);
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 20px 0;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.trust-item svg { color: var(--gold); flex-shrink: 0; }

/* ---- Sections ---- */
.section { padding: 80px 0; }
.section-alt { background: var(--silk); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Italiana', serif;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--obsidian);
  margin-bottom: 12px;
  line-height: 1.1;
}

.section-desc {
  font-family: 'Lora', serif;
  font-size: 16px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  font-style: italic;
}

/* ---- Product Grid ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-grid-3 { grid-template-columns: repeat(3, 1fr); }

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--obsidian);
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius);
}

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

.product-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--silk);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.product-info { padding: 20px; }

.product-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.product-name {
  font-family: 'Lora', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--obsidian);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-family: 'Lora', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--obsidian);
}

/* ---- Featured Banner ---- */
.featured-banner {
  background: var(--obsidian);
  padding: 0;
  overflow: hidden;
}

.featured-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 500px;
}

.featured-image {
  overflow: hidden;
}

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

.featured-content {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-content .section-eyebrow { color: var(--gold); text-align: left; }

.featured-title {
  font-family: 'Italiana', serif;
  font-size: 42px;
  color: var(--silk);
  margin-bottom: 16px;
}

.featured-desc {
  font-family: 'Lora', serif;
  font-size: 16px;
  color: var(--stone);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.featured-price {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-old {
  font-size: 18px;
  color: var(--stone);
  text-decoration: line-through;
}

.price-new {
  font-family: 'Lora', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--gold);
}

/* ---- Category Grid ---- */
.collection-banner {
  padding: 80px 0;
  background: var(--obsidian);
}

.collection-banner .section-eyebrow { color: var(--gold); }
.collection-banner .section-title { color: var(--silk); }
.collection-banner .section-desc { color: var(--stone); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.category-card {
  background: rgba(242,235,224,0.05);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
}

.category-card:hover {
  background: rgba(201,169,110,0.1);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.category-count {
  font-family: 'Italiana', serif;
  font-size: 36px;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.category-card h3 {
  font-family: 'Lora', serif;
  font-size: 16px;
  color: var(--silk);
  margin-bottom: 4px;
}

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

/* ---- Ingredients ---- */
.ingredients-section {
  padding: 80px 0;
  background: var(--silk);
}

.ingredients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ingredients-content .section-eyebrow { text-align: left; }
.ingredients-content .section-title { text-align: left; margin-bottom: 20px; }

.ingredients-desc {
  font-family: 'Lora', serif;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.ingredient-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: var(--white);
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 24px;
  border: 1px solid var(--border);
  letter-spacing: 0.02em;
}

.ingredients-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ingredients-image img { border-radius: var(--radius-lg); }

/* ---- Reviews ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--silk);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}

.review-stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-text {
  font-family: 'Lora', serif;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author strong {
  display: block;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: var(--obsidian);
  margin-bottom: 2px;
}

.review-author span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---- About ---- */
.about-section { padding: 80px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content .section-eyebrow { text-align: left; }
.about-content .section-title { text-align: left; margin-bottom: 20px; }

.about-content p {
  font-family: 'Lora', serif;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat-number {
  font-family: 'Italiana', serif;
  font-size: 36px;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img { border-radius: var(--radius-lg); }

/* ---- Newsletter ---- */
.newsletter-section {
  padding: 80px 0;
  background: var(--obsidian);
}

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

.newsletter-title {
  font-family: 'Italiana', serif;
  font-size: 36px;
  color: var(--silk);
  margin-bottom: 12px;
}

.newsletter-desc {
  font-family: 'Lora', serif;
  font-size: 16px;
  color: var(--stone);
  margin-bottom: 28px;
  font-style: italic;
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: var(--radius);
  background: rgba(242,235,224,0.05);
  color: var(--silk);
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
}

.newsletter-form input::placeholder { color: var(--stone); }
.newsletter-form input:focus { outline: none; border-color: var(--gold); }

.newsletter-note {
  font-size: 13px;
  color: var(--gold);
  margin-top: 14px;
}

/* ---- Footer ---- */
.footer {
  padding: 64px 0 32px;
  background: var(--silk);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: 'Italiana', serif;
  font-size: 28px;
  color: var(--obsidian);
  margin-bottom: 8px;
}

.footer-tagline {
  font-family: 'Lora', serif;
  font-size: 14px;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 12px;
}

.footer-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-social a:hover { color: var(--gold); }

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--obsidian);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-payments {
  display: flex;
  gap: 16px;
}

.footer-payments span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.pplx-attribution {
  font-size: 12px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.pplx-attribution:hover { color: var(--gold); }

/* ---- Cart Sidebar ---- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,24,20,0.5);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 200;
  transition: right var(--transition);
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open { right: 0; }

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.cart-header h3 {
  font-family: 'Italiana', serif;
  font-size: 24px;
  color: var(--obsidian);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 16px;
  color: var(--text-muted);
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  background: var(--silk);
  flex-shrink: 0;
}

.cart-item-info { flex: 1; }

.cart-item-name {
  font-family: 'Lora', serif;
  font-size: 15px;
  color: var(--obsidian);
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 14px;
  color: var(--gold);
  font-weight: 600;
}

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 8px;
  text-decoration: underline;
}

.cart-item-remove:hover { color: var(--obsidian); }

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  color: var(--obsidian);
  margin-bottom: 8px;
}

.cart-shipping-note {
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 16px;
}

/* ---- Search Overlay ---- */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  z-index: 200;
  padding: 20px 24px;
  transform: translateY(-100%);
  transition: transform var(--transition);
  box-shadow: var(--shadow-lg);
}

.search-overlay.open { transform: translateY(0); }

.search-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
}

.search-inner input {
  flex: 1;
  padding: 14px 0;
  border: none;
  font-family: 'Italiana', serif;
  font-size: 24px;
  color: var(--obsidian);
  background: transparent;
}

.search-inner input::placeholder { color: var(--text-muted); }
.search-inner input:focus { outline: none; }

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

.hero-content { animation: fadeInUp 0.8s ease-out; }

.product-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }

/* ---- Toast Notification ---- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--obsidian);
  color: var(--silk);
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  z-index: 300;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
  border-left: 3px solid var(--gold);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-inner { grid-template-columns: 1fr; }
  .featured-image { height: 300px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: block; }
  
  .hero { height: 80vh; min-height: 500px; }
  .hero-overlay { background: linear-gradient(to top, rgba(26,24,20,0.85) 0%, rgba(26,24,20,0.3) 100%); }
  .hero-content { position: absolute; bottom: 48px; }
  
  .trust-items { gap: 24px; }
  .trust-item span { display: none; }
  
  .section { padding: 56px 0; }
  
  .ingredients-grid { grid-template-columns: 1fr; gap: 32px; }
  .ingredients-image { order: -1; }
  
  .reviews-grid { grid-template-columns: 1fr; }
  
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-image { order: -1; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  
  .newsletter-form { flex-direction: column; }
  
  .featured-content { padding: 40px 24px; }
  
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-grid-3 { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  
  .footer-grid { grid-template-columns: 1fr; }
  
  .about-stats { gap: 24px; }
}

/* ==========================================
   CHECKOUT MODAL
   ========================================== */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,24,20,0.6);
  backdrop-filter: blur(4px);
  z-index: 300;
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 24px;
}

.checkout-overlay.open { display: flex; }

.checkout-modal {
  background: var(--white);
  border-radius: 12px;
  width: 100%;
  max-width: 960px;
  margin: 24px auto;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 80px rgba(26,24,20,0.25);
  animation: modalIn 0.4s ease;
}

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

.checkout-header {
  background: var(--obsidian);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}

.checkout-title {
  font-family: 'Italiana', serif;
  font-size: 24px;
  color: var(--silk);
  flex-shrink: 0;
}

.checkout-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  margin-right: 40px;
}

.checkout-steps .step {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--stone);
  transition: color var(--transition);
}

.checkout-steps .step.active { color: var(--gold); }
.checkout-steps .step.done { color: var(--silk); }

.step-divider {
  width: 24px;
  height: 1px;
  background: var(--stone);
}

.checkout-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--stone);
}

.checkout-close:hover { color: var(--silk); }

.checkout-body { padding: 32px; }

.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}

.checkout-form { }

.form-section-title {
  font-family: 'Lora', serif;
  font-size: 18px;
  color: var(--obsidian);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.form-check input[type="checkbox"] {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
}

.form-check label {
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
}

/* Shipping Options */
.shipping-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shipping-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}

.shipping-option:hover,
.shipping-option.selected {
  border-color: var(--gold);
  background: rgba(201,169,110,0.04);
}

.shipping-option input { accent-color: var(--gold); }

.shipping-option-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.shipping-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.shipping-time {
  font-size: 12px;
  color: var(--text-muted);
}

.shipping-price {
  font-weight: 600;
  font-size: 14px;
  color: var(--obsidian);
}

/* Payment Methods */
.payment-methods {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.payment-method {
  flex: 1;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.payment-method input { display: none; }

.payment-method span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.payment-method:hover,
.payment-method.selected {
  border-color: var(--gold);
  background: rgba(201,169,110,0.06);
}

.secure-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--silk);
  border-radius: var(--radius);
  margin: 20px 0;
}

.secure-badge svg { color: var(--sage); flex-shrink: 0; }

.secure-badge span {
  font-size: 12px;
  color: var(--text-muted);
}

.checkout-nav-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.checkout-nav-buttons .btn { flex: 1; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 14px 32px;
}

.btn-outline:hover {
  border-color: var(--obsidian);
  background: var(--silk);
}

/* Order Summary Sidebar */
.checkout-summary {
  background: var(--silk);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  position: sticky;
  top: 24px;
}

.summary-title {
  font-family: 'Lora', serif;
  font-size: 16px;
  color: var(--obsidian);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
}

.summary-item-name {
  color: var(--text);
  font-weight: 500;
}

.summary-item-qty {
  color: var(--text-muted);
  font-size: 12px;
}

.summary-item-price {
  color: var(--obsidian);
  font-weight: 600;
}

.summary-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
}

.summary-row span:first-child { color: var(--text-muted); }
.summary-row span:last-child { color: var(--text); font-weight: 500; }

.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 12px 0 0;
  margin-top: 8px;
  border-top: 2px solid var(--gold);
}

.summary-total span:first-child {
  font-family: 'Lora', serif;
  font-size: 16px;
  color: var(--obsidian);
}

.summary-total span:last-child {
  font-family: 'Lora', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--obsidian);
}

/* Confirmation */
.confirmation-content {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 0;
}

.confirmation-icon {
  margin-bottom: 24px;
}

.check-animate {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: drawCheck 0.6s ease-out 0.3s forwards;
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

.confirmation-title {
  font-family: 'Italiana', serif;
  font-size: 42px;
  color: var(--obsidian);
  margin-bottom: 8px;
}

.confirmation-subtitle {
  font-family: 'Lora', serif;
  font-size: 16px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 32px;
}

.confirmation-order-box {
  background: var(--silk);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.confirmation-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}

.confirmation-row span { color: var(--text-muted); }
.confirmation-row strong { color: var(--obsidian); }

.confirmation-row + .confirmation-row {
  border-top: 1px solid var(--border);
}

.confirmation-email {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.confirmation-email strong { color: var(--gold); }

.confirmation-actions { margin-top: 16px; }

/* Processing Overlay */
.processing-overlay {
  position: absolute;
  inset: 0;
  background: rgba(253,252,250,0.95);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 10;
  border-radius: 12px;
}

.processing-overlay.show { display: flex; }

.processing-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.processing-overlay p {
  font-family: 'Lora', serif;
  font-size: 16px;
  color: var(--text-muted);
  font-style: italic;
}

/* Checkout Responsive */
@media (max-width: 768px) {
  .checkout-overlay { padding: 0; }
  .checkout-modal { margin: 0; border-radius: 0; min-height: 100vh; }
  .checkout-grid { grid-template-columns: 1fr; gap: 24px; }
  .checkout-summary { position: static; }
  .checkout-header { padding: 16px 20px; flex-wrap: wrap; }
  .checkout-steps { margin-left: 0; margin-right: 0; width: 100%; justify-content: center; }
  .checkout-title { width: 100%; }
  .checkout-body { padding: 20px; }
  .payment-methods { flex-direction: column; }
}
