/* ============================================
   ФАРШ & ТЕСТО — Premium Design System (Updated)
   ============================================ */

/* Self-hosted fonts (Google Fonts blocked in Russia) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/inter-300.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/playfair-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/playfair-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/playfair-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-400-italic.ttf') format('truetype');
}
/* Cormorant Garamond fallback — use Georgia as system serif */

:root {
  /* Default Light Theme */
  --color-bg: #FAF6F1;
  --color-bg-alt: #F5EDE4;
  --color-text-primary: #2C1810;
  --color-text-secondary: #6B5344;
  --color-card-bg: #FFFFFF;
  --color-accent: #C4956A;
  --color-accent-hover: #D4A57A;
  --color-border: rgba(44, 24, 16, 0.08);
  --color-glass: rgba(250, 246, 241, 0.85);
  
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-elegant: 'Playfair Display', Georgia, serif;
}

[data-theme="dark"] {
  --color-bg: #1A1410;
  --color-bg-alt: #231C16;
  --color-text-primary: #FAF6F1;
  --color-text-secondary: #C4B5A6;
  --color-card-bg: #2A221C;
  --color-border: rgba(250, 246, 241, 0.1);
  --color-glass: rgba(26, 20, 16, 0.85);
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  body { cursor: auto; } /* Disable custom cursor on mobile */
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }

/* REVEAL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 0; transition: all 0.4s;
}
.nav.scrolled {
  background: var(--color-glass);
  backdrop-filter: blur(20px);
  padding: 0.5rem 0; border-bottom: 1px solid var(--color-border);
}
.nav__inner { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.nav__logo { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.nav__links { display: flex; gap: 2rem; align-items: center; }
.nav__link { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; transition: 0.3s; }
.nav__link:hover { color: var(--color-accent); }
.nav__cta { background: var(--color-accent); color: white; padding: 0.5rem 1.2rem; border-radius: 2rem; font-size: 0.8rem; text-transform: uppercase; }

/* THEME TOGGLE */
.theme-toggle {
  background: none; border: none; cursor: pointer; color: inherit;
  display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--color-border); transition: 0.3s;
}
.theme-toggle:hover { background: var(--color-border); }
.theme-toggle svg { width: 18px; height: 18px; }
[data-theme="light"] .moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: none; }

.nav__mobile-actions { display: none; gap: 1rem; align-items: center; }
.nav__toggle { background: none; border: none; cursor: pointer; display: flex; flex-direction: column; gap: 5px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--color-text-primary); transition: 0.3s; }

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__mobile-actions { display: flex; }
}

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,20,16,0.6) 0%, rgba(26,20,16,0.55) 35%, rgba(26,20,16,0.7) 100%);
}
.hero__content {
  position: relative; z-index: 1; text-align: center; padding: 4rem 2rem;
  background: radial-gradient(ellipse at center, rgba(26,20,16,0.3) 0%, transparent 70%); border-radius: 2rem;
}
.hero__title { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 6rem); color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.5); line-height: 1.1; margin-bottom: 1rem; }
.hero__title span { font-family: var(--font-elegant); font-style: italic; color: var(--color-accent); }
.hero__subtitle { font-family: var(--font-elegant); font-size: clamp(1.2rem, 3vw, 1.8rem); color: rgba(255,255,255,0.9); text-shadow: 0 2px 10px rgba(0,0,0,0.5); margin-bottom: 3rem; }
.hero__badge { display: inline-block; padding: 0.5rem 1.2rem; background: rgba(0,0,0,0.3); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.3); border-radius: 2rem; color: #fff; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2rem; border-radius: 2rem; font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; transition: 0.3s; border: none; cursor: pointer; }
.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover { background: var(--color-accent-hover); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(196,149,106,0.3); }
.btn--outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-2px); }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* PHILOSOPHY */
.philosophy { padding: 6rem 0; text-align: center; }
.philosophy__title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2rem; }
.philosophy__text { font-family: var(--font-elegant); font-size: 1.3rem; color: var(--color-text-secondary); max-width: 700px; margin: 0 auto 4rem; line-height: 1.8; }
.philosophy__features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.philosophy__feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.philosophy__feature-title { font-size: 1.1rem; font-weight: 600; }

/* COMPARISON (Feature 1) */
.comparison { padding: 4rem 0; background: var(--color-bg-alt); }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); text-align: center; margin-bottom: 3rem; }
.comparison__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 900px; margin: 0 auto; }
.comp-card { padding: 2.5rem; border-radius: 1.5rem; background: var(--color-card-bg); box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid var(--color-border); }
.comp-card h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.5rem; text-align: center; padding-bottom: 1rem; border-bottom: 1px dashed var(--color-border); }
.comp-card ul { list-style: none; }
.comp-card li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; font-size: 1.05rem; }
.comp-icon { font-size: 1.2rem; }
.comp-card--bad { opacity: 0.8; filter: grayscale(50%); }
.comp-card--good { border-color: var(--color-accent); position: relative; }
.comp-card--good::before { content: 'Наш выбор'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--color-accent); color: white; padding: 0.2rem 1rem; border-radius: 1rem; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; }

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

/* JOURNEY PARALLAX (Feature 5) */
.journey { padding: 6rem 0; overflow: hidden; }
.journey__step { display: flex; align-items: center; gap: 4rem; margin-bottom: 8rem; }
.journey__step--reverse { flex-direction: row-reverse; }
.journey__img-container { flex: 1; height: 500px; border-radius: 2rem; overflow: hidden; position: relative; }
.journey__img-container img { width: 100%; height: 130%; object-fit: cover; position: absolute; top: -15%; }
.journey__text { flex: 1; }
.step-num { font-family: var(--font-elegant); font-size: 4rem; color: var(--color-accent); opacity: 0.3; line-height: 1; display: block; margin-bottom: 1rem; }
.journey__text h3 { font-family: var(--font-display); font-size: 2.5rem; margin-bottom: 1rem; }
.journey__text p { font-size: 1.1rem; color: var(--color-text-secondary); line-height: 1.8; }

@media (max-width: 768px) {
  .journey__step, .journey__step--reverse { flex-direction: column; gap: 2rem; margin-bottom: 4rem; }
  .journey__img-container { height: 300px; width: 100%; }
}

/* TIMER (Feature 3) */
.timer-section { padding: 4rem 0; background: var(--color-bg-alt); text-align: center; }
.timer-box { max-width: 800px; margin: 0 auto; padding: 3rem; background: var(--color-card-bg); border-radius: 2rem; box-shadow: 0 20px 40px rgba(0,0,0,0.05); border: 1px solid var(--color-accent); }
.timer-title { font-family: var(--font-display); font-size: 2rem; margin-bottom: 2rem; }
.timer-display { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.time-step { font-size: 2.5rem; line-height: 1.2; }
.time-step span { font-size: 1rem; font-family: var(--font-body); font-weight: 500; display: block; margin-top: 0.5rem; color: var(--color-text-secondary); }
.time-arrow { font-size: 2rem; color: var(--color-accent); opacity: 0.5; }
.time-huge { font-size: 4rem; font-weight: 700; color: var(--color-accent); font-family: var(--font-display); line-height: 1; }
.time-huge span { font-size: 1.5rem; font-family: var(--font-body); }

/* MENU */
.menu { padding: 6rem 0; }
.section-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-accent); text-align: center; margin-bottom: 0.5rem; }
.menu__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.menu__card { background: var(--color-card-bg); border-radius: 1.5rem; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid var(--color-border); transition: 0.4s; }
.menu__card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.menu__card-image { position: relative; height: 250px; overflow: hidden; }
.menu__card-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.menu__card:hover .menu__card-image img { transform: scale(1.05); }
.menu__card-badge { position: absolute; top: 1rem; right: 1rem; background: var(--color-accent); color: white; padding: 0.3rem 0.8rem; border-radius: 1rem; font-size: 0.75rem; text-transform: uppercase; font-weight: 600; }
.menu__card-body { padding: 2rem; }
.menu__card-title { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--color-border); padding-bottom: 1rem; }
.menu__variant { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px dashed var(--color-border); }
.menu__variant:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.variant-info { display: flex; justify-content: space-between; font-size: 1.05rem; }
.variant-info .price { font-weight: 600; color: var(--color-accent); }
.add-to-cart-btn { background: transparent; border: 1px solid var(--color-accent); color: var(--color-accent); padding: 0.4rem 1rem; border-radius: 2rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; transition: 0.3s; align-self: flex-start; }
.add-to-cart-btn:hover { background: var(--color-accent); color: white; }

/* STEAM ANIMATION (Feature 12) */
.steam-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 0.5s; z-index: 2; }
.menu__card:hover .steam-container { opacity: 1; }
.steam { position: absolute; bottom: 20%; background: #fff; border-radius: 50%; filter: blur(8px); opacity: 0; animation: rise 3s infinite ease-in; }
@keyframes rise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  50% { opacity: 0.4; }
  100% { transform: translateY(-100px) scale(3); opacity: 0; }
}
/* REVIEWS */
.reviews { padding: 6rem 0; }
.reviews__grid { display: grid; gap: 2rem; margin-top: 3rem; }
.review-card { background: var(--color-card-bg); padding: 2.5rem; border-radius: 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid var(--color-border); display: flex; flex-direction: column; justify-content: space-between; }
.review-stars { color: var(--color-accent); font-size: 1.2rem; margin-bottom: 1rem; letter-spacing: 2px; }
.review-text { font-family: var(--font-elegant); font-size: 1.1rem; line-height: 1.6; color: var(--color-text-primary); margin-bottom: 2rem; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 1rem; border-top: 1px solid var(--color-border); padding-top: 1.5rem; }
.review-avatar { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-family: var(--font-display); font-size: 1.2rem; color: #2C1810; }
.review-author-info h4 { font-size: 1rem; font-weight: 600; }
.review-author-info span { font-size: 0.8rem; color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }

/* INSTAGRAM FEED (Feature 9) */
.insta-feed { padding: 4rem 0; background: var(--color-bg-alt); }
.insta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.insta-item { position: relative; border-radius: 1rem; overflow: hidden; aspect-ratio: 1; display: block; }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.insta-hover { position: absolute; inset: 0; background: rgba(0,0,0,0.5); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 600; opacity: 0; transition: 0.3s; backdrop-filter: blur(2px); }
.insta-item:hover img { transform: scale(1.05); }
.insta-item:hover .insta-hover { opacity: 1; }

/* TASTING POPUP (Feature 14) */
.tasting-popup {
  position: fixed; bottom: 2rem; right: 2rem; background: var(--color-card-bg);
  padding: 1.5rem; border-radius: 1rem; box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border: 1px solid var(--color-accent); z-index: 1000; width: 320px;
  transform: translateY(150%); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; gap: 1rem;
}
.tasting-popup.show { transform: translateY(0); }
.tasting-close { position: absolute; top: 0.5rem; right: 0.5rem; background: none; border: none; cursor: pointer; font-size: 1.2rem; color: var(--color-text-secondary); }
.tasting-icon { font-size: 2.5rem; }
.tasting-content h4 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 0.5rem; }
.tasting-content p { font-size: 0.85rem; color: var(--color-text-secondary); line-height: 1.4; }

@media (max-width: 768px) {
  .tasting-popup { bottom: 1rem; right: 1rem; left: 1rem; width: auto; }
}

/* CUSTOM CURSOR (Feature 4) */
.custom-cursor {
  position: fixed; top: 0; left: 0; width: 32px; height: 32px; border: 1.5px solid var(--color-accent);
  border-radius: 50%; pointer-events: none; z-index: 9999;
  transition: transform 0.1s ease-out, width 0.2s, height 0.2s, background-color 0.2s;
}
.custom-cursor.hover { width: 48px; height: 48px; background: rgba(196,149,106,0.15); border-color: transparent; }
.cursor-trail-particle {
  position: fixed; top: 0; left: 0; width: 6px; height: 6px; background: rgba(255, 255, 255, 0.9); border-radius: 50%; pointer-events: none; z-index: 9998;
  animation: fadeOutParticle 0.8s forwards; filter: blur(1px); box-shadow: 0 0 4px rgba(255,255,255,0.8);
}
[data-theme="dark"] .cursor-trail-particle { background: rgba(196,149,106, 0.5); box-shadow: 0 0 4px rgba(196,149,106,0.5); }

@keyframes fadeOutParticle {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0; transform: scale(3) translateY(10px); }
}

/* ====================================================
   CART & CHECKOUT (NEW FEATURE)
   ==================================================== */

/* Nav Cart Button */
.nav__cart-btn { background: none; border: none; cursor: pointer; color: inherit; position: relative; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; transition: 0.3s; }
.nav__cart-btn:hover { color: var(--color-accent); }
.nav__cart-btn svg { width: 22px; height: 22px; }
.cart-badge { position: absolute; top: 0; right: 0; background: var(--color-accent); color: white; font-size: 0.65rem; font-weight: 700; border-radius: 10px; min-width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; padding: 0 4px; border: 2px solid var(--color-bg); transform: scale(1); transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.cart-badge.bump { transform: scale(1.3); }

/* Cart Sidebar */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); z-index: 10000; opacity: 0; pointer-events: none; transition: 0.4s; }
.cart-overlay.active { opacity: 1; pointer-events: auto; }
.cart-sidebar { position: fixed; top: 0; right: 0; width: 400px; height: 100vh; background: var(--color-card-bg); z-index: 10001; box-shadow: -10px 0 40px rgba(0,0,0,0.1); transform: translateX(100%); transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; }
.cart-sidebar.active { transform: translateX(0); }
@media (max-width: 480px) { .cart-sidebar { width: 100%; } }

.cart-header { padding: 2rem; border-bottom: 1px solid var(--color-border); display: flex; justify-content: space-between; align-items: center; }
.cart-header h3 { font-family: var(--font-display); font-size: 1.5rem; }
.cart-close { background: none; border: none; font-size: 1.5rem; color: var(--color-text-secondary); cursor: pointer; transition: 0.3s; }
.cart-close:hover { color: var(--color-accent); transform: rotate(90deg); }

.cart-items { flex: 1; overflow-y: auto; padding: 2rem; }
.cart-empty-state { text-align: center; color: var(--color-text-secondary); padding-top: 2rem; font-style: italic; }

.cart-item { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--color-border); }
.cart-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 0.5rem; }
.cart-item-info { flex: 1; }
.cart-item-title { font-weight: 500; margin-bottom: 0.3rem; font-size: 0.95rem; }
.cart-item-price { color: var(--color-accent); font-weight: 600; font-size: 0.9rem; }
.cart-item-controls { display: flex; align-items: center; gap: 0.8rem; }
.cart-qty-btn { background: var(--color-bg-alt); border: none; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--color-text-primary); transition: 0.2s; }
.cart-qty-btn:hover { background: var(--color-accent); color: white; }

.cart-footer { padding: 2rem; border-top: 1px solid var(--color-border); background: var(--color-card-bg); }
.cart-total { display: flex; justify-content: space-between; align-items: center; font-size: 1.2rem; font-weight: 600; margin-bottom: 1.5rem; font-family: var(--font-display); }
.cart-messenger-btns { display: flex; flex-direction: column; gap: 0.75rem; }
.cart-wa-btn, .cart-max-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.9rem 1.5rem; border-radius: 2rem; font-size: 0.95rem; font-weight: 600; text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: none; }
.cart-wa-btn { background: #25D366; color: #fff; box-shadow: 0 4px 15px rgba(37,211,102,0.35); }
.cart-wa-btn:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.5); }
.cart-max-btn { background: linear-gradient(135deg, #7B5EE8, #A47CF3); color: #fff; box-shadow: 0 4px 15px rgba(123,94,232,0.35); }
.cart-max-btn:hover { background: linear-gradient(135deg, #6a4fd8, #9368ea); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(123,94,232,0.5); }
.cart-wa-btn.disabled, .cart-max-btn.disabled { opacity: 0.45; pointer-events: none; cursor: not-allowed; transform: none; box-shadow: none; }

/* Checkout Modal */
.checkout-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); z-index: 10002; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: 0.4s; }
.checkout-overlay.active { opacity: 1; pointer-events: auto; }
.checkout-modal { background: var(--color-card-bg); width: 100%; max-width: 500px; border-radius: 1.5rem; padding: 3rem 2rem; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.2); transform: translateY(30px); transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1); margin: 1rem; }
.checkout-overlay.active .checkout-modal { transform: translateY(0); }

.checkout-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--color-text-secondary); }
.checkout-title { font-family: var(--font-display); font-size: 2rem; margin-bottom: 2rem; text-align: center; }
.checkout-form .form-group { margin-bottom: 1.5rem; }
.checkout-form label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }
.checkout-form input, .checkout-form textarea { width: 100%; padding: 1rem; border: 1px solid var(--color-border); border-radius: 0.8rem; background: var(--color-bg); color: var(--color-text-primary); font-family: var(--font-body); font-size: 1rem; transition: 0.3s; }
.checkout-form input:focus, .checkout-form textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(196,149,106,0.1); }
.checkout-submit { width: 100%; margin-top: 1rem; }

/* Loading & Success States */
.checkout-loading, .checkout-success { text-align: center; padding: 2rem 0; }
.spinner { width: 50px; height: 50px; border: 3px solid var(--color-border); border-top-color: var(--color-accent); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 1.5rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.success-icon { width: 70px; height: 70px; background: #4CAF50; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; margin: 0 auto 1.5rem; }
.checkout-success h3 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 1rem; }

/* FOOTER */
.footer { padding: 4rem 0; background: var(--color-bg-alt); border-top: 1px solid var(--color-border); }
.footer__logo { font-family: var(--font-display); font-size: 2rem; color: var(--color-text-primary); }
