/* ============================================
   NONNA'S ATELIER — Design System
   ============================================
   Brand: Artisan pizza company
   Palette: Warm White, Soft Cream, Charcoal,
            Deep Tomato, Olive Green, Warm Dough
   Typography: Cormorant Garamond (headings),
               Inter (body)
   ============================================ */

/* ----- Google Fonts ----- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ----- CSS Custom Properties ----- */
:root {
  --color-bg-primary: #FAF8F4;
  --color-bg-secondary: #F6F2EB;
  --color-bg-cream: #F6F2EB;
  --color-text-primary: #242424;
  --color-text-secondary: #5C5C5C;
  --color-text-muted: #8A8A8A;
  --color-accent: #B9442E;
  --color-accent-hover: #A33D28;
  --color-accent-light: rgba(185, 68, 46, 0.08);
  --color-olive: #59634A;
  --color-olive-hover: #4A5340;
  --color-olive-light: rgba(89, 99, 74, 0.08);
  --color-dough: #DDBD8D;
  --color-dough-light: rgba(221, 189, 141, 0.2);
  --color-border: #E7DFD3;
  --color-border-light: #F0EBE3;
  --color-white: #FFFFFF;
  --color-black: #1A1A1A;
  --color-success: #4A7C59;
  --color-error: #B9442E;
  --color-warning: #C49B3E;
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.5rem;
  --font-size-6xl: 4.5rem;
  --line-height-tight: 1.1;
  --line-height-snug: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --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;
  --space-5xl: 8rem;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1);
  --shadow-button: 0 2px 8px rgba(185, 68, 46, 0.2);
  --transition-fast: 200ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --header-height: 72px;
}

/* ----- Reset & Base ----- */
*, *::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(--font-size-base); line-height: var(--line-height-relaxed); color: var(--color-text-primary); background-image: url('/assets/images/hero-background.png'); background-size: cover; background-position: center; background-attachment: fixed; background-repeat: no-repeat; overflow-x: hidden; position: relative; }
body::before { content: ''; position: fixed; inset: 0; background: rgba(250, 248, 244, 0.85); z-index: -1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 500; line-height: var(--line-height-tight); color: var(--color-text-primary); }
h1 { font-size: var(--font-size-5xl); font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: var(--font-size-4xl); font-weight: 500; letter-spacing: -0.01em; }
h3 { font-size: var(--font-size-3xl); font-weight: 500; }
h4 { font-size: var(--font-size-2xl); font-weight: 500; }
.section-label { font-family: var(--font-body); font-size: var(--font-size-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-accent); margin-bottom: var(--space-md); }
.section-title { margin-bottom: var(--space-lg); }
.section-subtitle { font-family: var(--font-body); font-size: var(--font-size-lg); color: var(--color-text-secondary); line-height: var(--line-height-normal); max-width: 600px; }

/* ----- Container ----- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-xl); }
.container-narrow { max-width: var(--max-width-narrow); margin: 0 auto; padding: 0 var(--space-xl); }

/* ----- Section ----- */
.section { padding: var(--space-xl) 0; }
.section-alt { background-color: var(--color-bg-secondary); }
.section-header { text-align: center; margin-bottom: var(--space-3xl); }
.section-header-left { text-align: left; margin-bottom: var(--space-3xl); }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-height);
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--color-border-light);
  transition: var(--transition-base);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-xl); }
.logo { font-family: var(--font-heading); font-size: var(--font-size-2xl); font-weight: 600; color: var(--color-text-primary); letter-spacing: -0.02em; text-decoration: none; }
.logo span { color: var(--color-accent); }
.header-nav { display: flex; align-items: center; gap: var(--space-xl); }
.header-nav a { font-size: var(--font-size-sm); font-weight: 500; color: var(--color-text-secondary); transition: color var(--transition-fast); position: relative; padding: var(--space-xs) 0; }
.header-nav a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1.5px; background: var(--color-accent); transition: width var(--transition-base); }
.header-nav a:hover { color: var(--color-text-primary); }
.header-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: var(--space-md); }
.basket-btn { position: relative; display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-lg); background: var(--color-accent); color: var(--color-white); border-radius: var(--radius-sm); font-size: var(--font-size-sm); font-weight: 500; transition: all var(--transition-fast); }
.basket-btn:hover { background: var(--color-accent-hover); transform: translateY(-1px); }
.basket-btn svg { width: 18px; height: 18px; }
.basket-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; background: var(--color-accent); color: var(--color-white); border-radius: var(--radius-full); font-size: var(--font-size-xs); font-weight: 600; }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; padding: var(--space-sm); cursor: pointer; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--color-text-primary); border-radius: 2px; transition: var(--transition-base); }

/* ============================================
   HERO
   ============================================ */
.hero { position: relative; min-height: 70vh; display: flex; align-items: center; padding-top: 10px; overflow: hidden; background-image: url('/assets/images/hero-background.png'); background-size: cover; background-position: center 30%; background-attachment: fixed; background-repeat: no-repeat; }
.hero-image { display: none; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(250, 248, 244, 0.92) 0%, rgba(250, 248, 244, 0.6) 50%, rgba(250, 248, 244, 0.3) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 600px; padding: var(--space-md) 0; }
.hero-label { font-family: var(--font-body); font-size: var(--font-size-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--color-accent); margin-bottom: var(--space-lg); }
.hero-title { font-size: var(--font-size-6xl); font-weight: 500; line-height: var(--line-height-tight); margin-bottom: var(--space-lg); color: var(--color-text-primary); }
.hero-subtitle { font-size: var(--font-size-lg); color: var(--color-text-secondary); line-height: var(--line-height-normal); margin-bottom: var(--space-2xl); max-width: 480px; }
.hero-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }

/* ============================================
   BUTTONS
   ============================================ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); padding: 14px 32px; font-size: var(--font-size-sm); font-weight: 500; line-height: 1; border-radius: var(--radius-sm); transition: all var(--transition-fast); cursor: pointer; border: none; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--color-accent); color: var(--color-white); box-shadow: var(--shadow-button); }
.btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(185, 68, 46, 0.3); }
.btn-secondary { background: transparent; color: var(--color-accent); border: 1.5px solid var(--color-accent); }
.btn-secondary:hover { background: var(--color-accent); color: var(--color-white); }
.btn-olive { background: var(--color-olive); color: var(--color-white); }
.btn-olive:hover { background: var(--color-olive-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--color-text-secondary); padding: 8px 16px; }
.btn-ghost:hover { color: var(--color-text-primary); background: var(--color-accent-light); }
.btn-sm { padding: 10px 20px; font-size: var(--font-size-xs); }
.btn-lg { padding: 18px 40px; font-size: var(--font-size-base); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ============================================
   PIZZA MENU GRID
   ============================================ */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--space-xl); }
.pizza-card { background: var(--color-white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border-light); transition: all var(--transition-base); cursor: pointer; }
.pizza-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--color-border); }
.pizza-card-image { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--color-bg-secondary); }
.pizza-card-body { padding: var(--space-lg); }
.pizza-card-name { font-family: var(--font-heading); font-size: var(--font-size-xl); font-weight: 500; margin-bottom: var(--space-xs); }
.pizza-card-desc-full { font-size: var(--font-size-sm); color: var(--color-text-muted); line-height: var(--line-height-normal); margin-bottom: var(--space-md); }
.pizza-card-footer { display: flex; align-items: center; justify-content: space-between; }
.pizza-card-price { font-family: var(--font-heading); font-size: var(--font-size-xl); font-weight: 500; color: var(--color-accent); }
.pizza-card .btn { padding: 10px 24px; font-size: var(--font-size-xs); }

/* ============================================
   DAILY DOUGH BAR
   ============================================ */
.daily-dough { background: var(--color-dough-light); border: 1px solid var(--color-dough); border-radius: var(--radius-md); padding: var(--space-lg) var(--space-xl); display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); margin-bottom: var(--space-3xl); flex-wrap: wrap; }
.daily-dough-label { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--font-size-sm); font-weight: 500; color: var(--color-text-primary); }
.daily-dough-label svg { width: 20px; height: 20px; color: var(--color-dough); }
.daily-dough-status { font-size: var(--font-size-sm); color: var(--color-text-secondary); }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4xl); align-items: center; }
.about-image { width: 100%; height: 500px; object-fit: cover; border-radius: var(--radius-lg); }
.about-image-wrapper { position: relative; width: 100%; height: 500px; background-image: url('/assets/images/oven.png'); background-size: contain; background-repeat: no-repeat; background-position: center; border-radius: var(--radius-lg); }
.about-oven { display: none; }
.about-content { max-width: 480px; }
.about-content .section-subtitle { margin-bottom: var(--space-xl); }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); margin-top: var(--space-xl); }
.about-value { padding: var(--space-lg); background: var(--color-white); border-radius: var(--radius-md); border: 1px solid var(--color-border-light); }
.about-value-icon { font-size: var(--font-size-2xl); margin-bottom: var(--space-sm); }
.about-value-title { font-family: var(--font-heading); font-size: var(--font-size-lg); font-weight: 500; margin-bottom: var(--space-xs); }
.about-value-desc { font-size: var(--font-size-sm); color: var(--color-text-muted); line-height: var(--line-height-normal); }

/* ============================================
   MODAL
   ============================================ */
.modal-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(36, 36, 36, 0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: var(--space-xl); }
.modal-overlay.active { display: flex; }
.modal { background: var(--color-white); border-radius: var(--radius-xl); width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-xl); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: var(--space-xl) var(--space-xl) 0; }
.modal-title { font-family: var(--font-heading); font-size: var(--font-size-2xl); font-weight: 500; }
.modal-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-full); color: var(--color-text-muted); transition: all var(--transition-fast); }
.modal-close:hover { background: var(--color-bg-secondary); color: var(--color-text-primary); }
.modal-body { padding: var(--space-xl); }
.modal-footer { padding: 0 var(--space-xl) var(--space-xl); display: flex; gap: var(--space-md); }
.option-group { margin-bottom: var(--space-xl); }
.option-group-label { font-size: var(--font-size-sm); font-weight: 600; color: var(--color-text-primary); margin-bottom: var(--space-md); }
.option-group-label small { font-weight: 400; color: var(--color-text-muted); }
.option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--space-sm); }
.option-btn { padding: var(--space-md); border: 1.5px solid var(--color-border-light); border-radius: var(--radius-md); text-align: center; transition: all var(--transition-fast); cursor: pointer; background: var(--color-white); }
.option-btn:hover { border-color: var(--color-border); background: var(--color-bg-secondary); }
.option-btn.selected { border-color: var(--color-accent); background: var(--color-accent-light); }
.option-btn-name { font-size: var(--font-size-sm); font-weight: 500; color: var(--color-text-primary); }
.option-btn-price { font-size: var(--font-size-xs); color: var(--color-text-muted); margin-top: 2px; }
.quantity-control { display: inline-flex; align-items: center; gap: 0; border: 1.5px solid var(--color-border-light); border-radius: var(--radius-md); overflow: hidden; }
.quantity-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: var(--font-size-lg); color: var(--color-text-secondary); transition: all var(--transition-fast); background: var(--color-white); }
.quantity-btn:hover { background: var(--color-bg-secondary); color: var(--color-text-primary); }
.quantity-value { width: 48px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: var(--font-size-sm); font-weight: 500; border-left: 1.5px solid var(--color-border-light); border-right: 1.5px solid var(--color-border-light); }
.modal-total { display: flex; align-items: center; justify-content: space-between; padding: var(--space-lg) 0; border-top: 1px solid var(--color-border-light); margin-top: var(--space-lg); }
.modal-total-label { font-size: var(--font-size-sm); color: var(--color-text-secondary); }
.modal-total-price { font-family: var(--font-heading); font-size: var(--font-size-2xl); font-weight: 500; color: var(--color-accent); }

/* ============================================
   BASKET PANEL
   ============================================ */
.basket-overlay { position: fixed; inset: 0; z-index: 3000; background: rgba(36, 36, 36, 0.4); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: none; }
.basket-overlay.active { display: block; }
.basket-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 3001; width: 100%; max-width: 440px; background: var(--color-white); box-shadow: var(--shadow-xl); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1); }
.basket-panel.open { transform: translateX(0); }
.basket-header { display: flex; align-items: center; justify-content: space-between; padding: var(--space-xl); border-bottom: 1px solid var(--color-border-light); }
.basket-title { font-family: var(--font-heading); font-size: var(--font-size-2xl); font-weight: 500; }
.basket-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-full); color: var(--color-text-muted); transition: all var(--transition-fast); }
.basket-close:hover { background: var(--color-bg-secondary); color: var(--color-text-primary); }
.basket-items { flex: 1; overflow-y: auto; padding: var(--space-md) var(--space-xl); }
.basket-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; text-align: center; color: var(--color-text-muted); padding: var(--space-2xl); }
.basket-empty-icon { width: 64px; height: 64px; margin-bottom: var(--space-lg); color: var(--color-border); }
.basket-empty-text { font-size: var(--font-size-base); margin-bottom: var(--space-xs); }
.basket-empty-sub { font-size: var(--font-size-sm); }
.basket-item { display: flex; gap: var(--space-md); padding: var(--space-md) 0; border-bottom: 1px solid var(--color-border-light); }
.basket-item-image { width: 64px; height: 64px; border-radius: var(--radius-md); object-fit: cover; flex-shrink: 0; background: var(--color-bg-secondary); }
.basket-item-info { flex: 1; min-width: 0; }
.basket-item-name { font-size: var(--font-size-sm); font-weight: 600; margin-bottom: 2px; }
.basket-item-details { font-size: var(--font-size-xs); color: var(--color-text-muted); line-height: var(--line-height-normal); }
.basket-item-actions { display: flex; align-items: center; gap: var(--space-sm); margin-top: var(--space-sm); }
.basket-item-qty { display: flex; align-items: center; gap: 0; border: 1px solid var(--color-border-light); border-radius: var(--radius-sm); overflow: hidden; }
.basket-item-qty button { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: var(--font-size-xs); color: var(--color-text-secondary); transition: var(--transition-fast); }
.basket-item-qty button:hover { background: var(--color-bg-secondary); }
.basket-item-qty span { width: 32px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: var(--font-size-xs); font-weight: 500; border-left: 1px solid var(--color-border-light); border-right: 1px solid var(--color-border-light); }
.basket-item-price { font-size: var(--font-size-sm); font-weight: 600; color: var(--color-accent); white-space: nowrap; }
.basket-item-remove { color: var(--color-text-muted); font-size: var(--font-size-xs); padding: 4px; transition: color var(--transition-fast); }
.basket-item-remove:hover { color: var(--color-error); }
.basket-footer { padding: var(--space-xl); border-top: 1px solid var(--color-border-light); background: var(--color-bg-secondary); }
.basket-subtotal { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-md); }
.basket-subtotal-label { font-size: var(--font-size-sm); color: var(--color-text-secondary); }
.basket-subtotal-price { font-family: var(--font-heading); font-size: var(--font-size-xl); font-weight: 500; }
.basket-delivery-note { font-size: var(--font-size-xs); color: var(--color-text-muted); text-align: center; margin-top: var(--space-sm); }

/* ============================================
   DELIVERY MODAL
   ============================================ */
.delivery-modal { max-width: 480px; }
.delivery-form { display: flex; flex-direction: column; gap: var(--space-lg); }
.form-group { display: flex; flex-direction: column; gap: var(--space-sm); }
.form-label { font-size: var(--font-size-sm); font-weight: 500; color: var(--color-text-primary); }
.form-input { padding: 14px 18px; border: 1.5px solid var(--color-border); border-radius: var(--radius-md); font-size: var(--font-size-base); color: var(--color-text-primary); background: var(--color-white); transition: border-color var(--transition-fast); outline: none; }
.form-input:focus { border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-light); }
.form-input::placeholder { color: var(--color-text-muted); }
.form-hint { font-size: var(--font-size-xs); color: var(--color-text-muted); }
.form-error { font-size: var(--font-size-xs); color: var(--color-error); }
.delivery-result { padding: var(--space-lg); border-radius: var(--radius-md); text-align: center; }
.delivery-result.available { background: rgba(74, 124, 89, 0.08); border: 1px solid rgba(74, 124, 89, 0.2); }
.delivery-result.unavailable { background: rgba(185, 68, 46, 0.08); border: 1px solid rgba(185, 68, 46, 0.2); }
.delivery-result-icon { font-size: var(--font-size-3xl); margin-bottom: var(--space-sm); }
.delivery-result-title { font-family: var(--font-heading); font-size: var(--font-size-xl); font-weight: 500; margin-bottom: var(--space-xs); }
.delivery-result-desc { font-size: var(--font-size-sm); color: var(--color-text-secondary); }

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.checkout-page { padding-top: calc(var(--header-height) + var(--space-2xl)); padding-bottom: var(--space-4xl); min-height: 100vh; }
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: var(--space-3xl); align-items: start; }
.checkout-main { min-width: 0; }
.checkout-sidebar { position: sticky; top: calc(var(--header-height) + var(--space-2xl)); }
.checkout-title { margin-bottom: var(--space-2xl); }
.checkout-form { display: flex; flex-direction: column; gap: var(--space-xl); }
.checkout-section { background: var(--color-white); border: 1px solid var(--color-border-light); border-radius: var(--radius-lg); padding: var(--space-xl); }
.checkout-section-title { font-family: var(--font-heading); font-size: var(--font-size-xl); font-weight: 500; margin-bottom: var(--space-lg); padding-bottom: var(--space-md); border-bottom: 1px solid var(--color-border-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--space-md); }

/* ----- Voucher Section ----- */
.voucher-section { background: var(--color-white); border: 1px solid var(--color-border-light); border-radius: var(--radius-lg); padding: var(--space-xl); margin-bottom: var(--space-xl); }
.voucher-input-group { display: flex; gap: var(--space-sm); }
.voucher-input-group .form-input { flex: 1; }
.voucher-message { font-size: var(--font-size-sm); margin-top: var(--space-sm); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-sm); }
.voucher-message.success { color: var(--color-success); background: rgba(74, 124, 89, 0.08); }
.voucher-message.error { color: var(--color-error); background: rgba(185, 68, 46, 0.08); }
.voucher-applied { display: flex; align-items: center; justify-content: space-between; padding: var(--space-md); background: rgba(74, 124, 89, 0.06); border: 1px solid rgba(74, 124, 89, 0.15); border-radius: var(--radius-md); margin-top: var(--space-sm); }
.voucher-applied-code { font-size: var(--font-size-sm); font-weight: 500; }
.voucher-applied-discount { font-size: var(--font-size-sm); color: var(--color-success); font-weight: 600; }
.voucher-remove { font-size: var(--font-size-xs); color: var(--color-text-muted); padding: 4px 8px; transition: color var(--transition-fast); }
.voucher-remove:hover { color: var(--color-error); }

/* ----- Add-Ons (Toppings & Drinks) ----- */
.addons-section { background: var(--color-white); border: 1px solid var(--color-border-light); border-radius: var(--radius-lg); padding: var(--space-lg); margin-bottom: var(--space-lg); }
.addons-section-title { font-family: var(--font-heading); font-size: var(--font-size-lg); font-weight: 500; margin-bottom: var(--space-xs); }
.addons-section-desc { font-size: var(--font-size-xs); color: var(--color-text-muted); margin-bottom: var(--space-md); }
.addons-grid { display: flex; flex-direction: column; gap: var(--space-sm); }
.addon-item { display: flex; align-items: center; justify-content: space-between; padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-border-light); border-radius: var(--radius-md); cursor: pointer; transition: all var(--transition-fast); }
.addon-item:hover { border-color: var(--color-accent); background: rgba(185, 68, 46, 0.03); }
.addon-item.selected { border-color: var(--color-accent); background: rgba(185, 68, 46, 0.06); }
.addon-item-info { display: flex; flex-direction: column; }
.addon-item-name { font-size: var(--font-size-sm); font-weight: 500; }
.addon-item-price { font-size: var(--font-size-xs); color: var(--color-text-muted); }
.addon-item-qty { display: flex; align-items: center; gap: var(--space-xs); }
.addon-qty-btn { width: 28px; height: 28px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-white); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: var(--font-size-sm); color: var(--color-text-primary); transition: all var(--transition-fast); }
.addon-qty-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.addon-qty-value { font-size: var(--font-size-sm); font-weight: 600; min-width: 20px; text-align: center; }

/* ----- Order Summary (Sidebar) ----- */
.order-summary { background: var(--color-white); border: 1px solid var(--color-border-light); border-radius: var(--radius-lg); padding: var(--space-xl); }
.order-summary-title { font-family: var(--font-heading); font-size: var(--font-size-xl); font-weight: 500; margin-bottom: var(--space-lg); padding-bottom: var(--space-md); border-bottom: 1px solid var(--color-border-light); }
.order-summary-items { display: flex; flex-direction: column; gap: var(--space-md); margin-bottom: var(--space-lg); }
.order-summary-item { display: flex; justify-content: space-between; align-items: flex-start; font-size: var(--font-size-sm); }
.order-summary-item-info { flex: 1; }
.order-summary-item-name { font-weight: 500; }
.order-summary-item-details { font-size: var(--font-size-xs); color: var(--color-text-muted); }
.order-summary-item-price { font-weight: 500; white-space: nowrap; margin-left: var(--space-md); }
.order-summary-divider { height: 1px; background: var(--color-border-light); margin: var(--space-md) 0; }
.order-summary-row { display: flex; justify-content: space-between; font-size: var(--font-size-sm); padding: var(--space-xs) 0; }
.order-summary-row.total { font-family: var(--font-heading); font-size: var(--font-size-xl); font-weight: 500; padding-top: var(--space-md); border-top: 1px solid var(--color-border-light); margin-top: var(--space-md); }
.order-summary-row.discount { color: var(--color-success); }
.order-summary-row.free-item { color: var(--color-olive); }
.delivery-info-card { background: var(--color-white); border: 1px solid var(--color-border-light); border-radius: var(--radius-lg); padding: var(--space-xl); margin-top: var(--space-xl); }
.delivery-info-card-title { font-family: var(--font-heading); font-size: var(--font-size-lg); font-weight: 500; margin-bottom: var(--space-md); }
.delivery-info-card-content { font-size: var(--font-size-sm); color: var(--color-text-secondary); line-height: var(--line-height-normal); }
.delivery-info-card-content strong { color: var(--color-text-primary); }

/* ============================================
   ORDER CONFIRMATION
   ============================================ */
.confirmation-page { padding-top: calc(var(--header-height) + var(--space-2xl)); padding-bottom: var(--space-4xl); min-height: 100vh; }
.confirmation-card { max-width: 640px; margin: 0 auto; background: var(--color-white); border: 1px solid var(--color-border-light); border-radius: var(--radius-xl); padding: var(--space-3xl); text-align: center; }
.confirmation-icon { width: 72px; height: 72px; margin: 0 auto var(--space-xl); background: rgba(74, 124, 89, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.confirmation-icon svg { width: 36px; height: 36px; color: var(--color-success); }
.confirmation-title { font-family: var(--font-heading); font-size: var(--font-size-3xl); font-weight: 500; margin-bottom: var(--space-sm); }
.confirmation-subtitle { font-size: var(--font-size-base); color: var(--color-text-secondary); margin-bottom: var(--space-2xl); }
.confirmation-order-number { font-family: var(--font-heading); font-size: var(--font-size-2xl); font-weight: 500; color: var(--color-accent); margin-bottom: var(--space-lg); }
.confirmation-details { text-align: left; margin-bottom: var(--space-2xl); }
.confirmation-detail-row { display: flex; justify-content: space-between; padding: var(--space-sm) 0; font-size: var(--font-size-sm); border-bottom: 1px solid var(--color-border-light); }
.confirmation-detail-row:last-child { border-bottom: none; }
.confirmation-detail-label { color: var(--color-text-muted); }
.confirmation-detail-value { font-weight: 500; }
.confirmation-items { text-align: left; margin-bottom: var(--space-2xl); }
.confirmation-item { display: flex; justify-content: space-between; padding: var(--space-sm) 0; font-size: var(--font-size-sm); }
.confirmation-item-name { font-weight: 500; }
.confirmation-item-details { font-size: var(--font-size-xs); color: var(--color-text-muted); }
.confirmation-item-price { color: var(--color-text-secondary); }
.confirmation-total { display: flex; justify-content: space-between; padding-top: var(--space-md); border-top: 1px solid var(--color-border-light); font-family: var(--font-heading); font-size: var(--font-size-xl); font-weight: 500; margin-bottom: var(--space-2xl); }
.confirmation-actions { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; }

/* ============================================
   KITCHEN CLOSED MODAL
   ============================================ */
.kitchen-closed-content { text-align: center; padding: var(--space-2xl); }
.kitchen-closed-title { font-family: var(--font-heading); font-size: var(--font-size-2xl); font-weight: 500; margin-bottom: var(--space-md); }
.kitchen-closed-desc { font-size: var(--font-size-sm); color: var(--color-text-secondary); margin-bottom: var(--space-lg); }
.kitchen-hours { display: inline-block; text-align: left; margin: 0 auto; }
.kitchen-hours-row { display: flex; justify-content: space-between; gap: var(--space-xl); padding: var(--space-xs) 0; font-size: var(--font-size-sm); }
.kitchen-hours-day { color: var(--color-text-secondary); }
.kitchen-hours-time { font-weight: 500; }
.kitchen-hours-row.today { color: var(--color-accent); font-weight: 600; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--color-text-primary); color: rgba(255, 255, 255, 0.7); padding: var(--space-4xl) 0 var(--space-2xl); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-3xl); }
.footer-brand .logo { color: var(--color-white); margin-bottom: var(--space-md); display: inline-block; }
.footer-brand p { font-size: var(--font-size-sm); line-height: var(--line-height-normal); max-width: 300px; }
.footer-col-title { font-size: var(--font-size-sm); font-weight: 600; color: var(--color-white); margin-bottom: var(--space-lg); }
.footer-col a { display: block; font-size: var(--font-size-sm); padding: var(--space-xs) 0; transition: color var(--transition-fast); }
.footer-col a:hover { color: var(--color-white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: var(--space-3xl); padding-top: var(--space-xl); display: flex; justify-content: space-between; align-items: center; font-size: var(--font-size-xs); flex-wrap: wrap; gap: var(--space-md); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes modalSlideUp { from { opacity: 0; transform: translateY(30px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes basketItemIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

.animate-fade-in { animation: fadeIn 600ms ease forwards; }
.animate-fade-in-up { animation: fadeInUp 600ms ease forwards; }
.animate-scale-in { animation: scaleIn 400ms ease forwards; }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .about-content { max-width: 100%; }
  .about-image { height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-sidebar { position: static; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }
  h1 { font-size: var(--font-size-4xl); }
  h2 { font-size: var(--font-size-3xl); }
  .hero-title { font-size: var(--font-size-4xl); }
  .hero-content { padding: var(--space-2xl) 0; }
  .header-nav { display: none; }
  .header-nav.open { display: flex; flex-direction: column; position: fixed; top: var(--header-height); left: 0; right: 0; background: var(--color-bg-primary); border-bottom: 1px solid var(--color-border); padding: var(--space-xl); gap: var(--space-lg); }
  .mobile-menu-btn { display: flex; }
  .menu-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .form-row { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr; }
  .section { padding: var(--space-3xl) 0; }
  .basket-panel { max-width: 100%; }
  .confirmation-card { padding: var(--space-xl); }
  .hero { min-height: 80vh; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }
  .hero-title { font-size: var(--font-size-3xl); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .pizza-card .btn { width: 100%; }
  .daily-dough { flex-direction: column; text-align: center; }
  .voucher-input-group { flex-direction: column; }
  .confirmation-actions { flex-direction: column; }
  .confirmation-actions .btn { width: 100%; }
}

/* ============================================
   DATA CONSENT
   ============================================ */
.consent-section { margin-top: var(--space-lg); }
.consent-checkbox { display: flex; align-items: flex-start; gap: var(--space-sm); cursor: pointer; }
.consent-checkbox input[type="checkbox"] { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--color-accent); flex-shrink: 0; }
.consent-checkbox label { font-size: var(--font-size-sm); color: var(--color-text-secondary); cursor: pointer; line-height: var(--line-height-normal); }

/* ============================================
   PAYMENT MODAL
   ============================================ */
.payment-modal { max-width: 480px; }
.payment-form { display: flex; flex-direction: column; gap: var(--space-lg); }
.card-input-wrapper { position: relative; }
.card-input { padding: 14px 18px; border: 1.5px solid var(--color-border); border-radius: var(--radius-md); font-size: var(--font-size-base); color: var(--color-text-primary); background: var(--color-white); transition: border-color var(--transition-fast); outline: none; width: 100%; }
.card-input:focus { border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-light); }
.card-input::placeholder { color: var(--color-text-muted); }

/* ============================================
   LOADING / SPINNER
   ============================================ */
.loading-spinner { display: inline-flex; align-items: center; gap: var(--space-sm); font-size: var(--font-size-sm); color: var(--color-text-muted); }
.loading-spinner::before { content: ''; width: 16px; height: 16px; border: 2px solid var(--color-border); border-top-color: var(--color-accent); border-radius: 50%; animation: spin 600ms linear infinite; }

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-accent); }
.text-olive { color: var(--color-olive); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.hidden { display: none; }
