/* ═══════════════════════════════════════════════════════════════════
   MANNAIA BRACERIA – THE CULINARY EDITORIAL
   Design System: "The Digital Maître d'"
   High-End Editorial · Noir-Culinary Palette · Tonal Layering
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ── Design Tokens ──────────────────────────────────────────────── */
:root {
  /* Surface Hierarchy (Noir-Culinary) */
  --surface-dim:                #131313;
  --surface:                    #131313;
  --surface-bright:             #393939;
  --surface-container-lowest:   #0e0e0e;
  --surface-container-low:      #1c1b1b;
  --surface-container:          #201f1f;
  --surface-container-high:     #2a2a2a;
  --surface-container-highest:  #353534;

  /* Primary (Warm Gold) */
  --primary:              #f1c97d;
  --primary-container:    #d4ad65;
  --primary-dim:          #e9c176;
  --primary-fixed:        #ffdea5;
  --on-primary:           #412d00;
  --on-primary-container: #5b4000;

  /* Secondary (Terracotta) */
  --secondary:            #ffb4a5;
  --secondary-container:  #802918;
  --on-secondary:         #611205;

  /* Text & Outline */
  --on-surface:           #e5e2e1;
  --on-surface-variant:   #d0c5af;
  --text-muted:           #99907c;
  --outline-variant:      #4d4635;
  --ghost-border:         rgba(77, 70, 53, 0.20); /* 4d4635 is 77, 70, 53 */

  /* Status */
  --danger:   #ffb4ab;
  --on-danger: #690005;
  --success:  #81c995;
  --info:     #bfcdff; /* mapped from tertiary */
  --warning:  #ffdea5; /* mapped from primary_fixed */

  /* Elevation Shadows (Ambient, candle-like) */
  --shadow-sm:    0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md:    0 12px 28px rgba(0, 0, 0, 0.35);
  --shadow-lg:    0 20px 40px rgba(0, 0, 0, 0.40);
  --shadow-glow:  0 4px 24px rgba(241, 201, 125, 0.15);

  /* Shape */
  --radius-default: 0.5rem;
  --radius-sm:  0.5rem;
  --radius-md:  0.75rem;
  --radius-lg:  1rem;
  --radius-xl:  1.5rem;
  --radius-full: 9999px;

  /* Typography */
  --font-editorial: 'Noto Serif', Georgia, 'Times New Roman', serif;
  --font-functional: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Motion */
  --transition:        0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast:   0.15s ease;
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ───────────────────────────────────────────────────────── */
*, *::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-functional);
  background: var(--surface-dim);
  color: var(--on-surface);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  font-weight: 400;
  font-size: 16px;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--primary-fixed); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }
input, select, textarea { font-family: var(--font-functional); font-size: inherit; color: var(--on-surface); }

/* ── Scrollbar ───────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--surface-dim); }
::-webkit-scrollbar-thumb { background: var(--primary-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ── Typography Scale ────────────────────────────────────────────── */
/* Display - Editorial */
.display-lg { font-family: var(--font-editorial); font-size: clamp(2.8rem, 6vw, 4rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.display-md { font-family: var(--font-editorial); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }

/* Headlines - Editorial */
h1, h2, h3 { font-family: var(--font-editorial); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }

/* Labels - Functional */
.label-lg { font-family: var(--font-functional); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.03em; }
.label-md { font-family: var(--font-functional); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.label-sm { font-family: var(--font-functional); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

.section-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-functional);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--primary);
  background: rgba(241, 201, 125, 0.08);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  /* NO border - ghost border only */
  box-shadow: inset 0 0 0 1px var(--ghost-border);
}

/* ── Layout ──────────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative; height: 60vh; min-height: 420px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 48px 28px; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.4) saturate(0.85);
  z-index: 0;
  transition: transform 10s ease;
}
.hero:hover .hero__bg { transform: scale(1.04); }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to top,
    var(--surface-dim) 0%,
    rgba(19, 19, 19, 0.85) 30%,
    rgba(19, 19, 19, 0.4) 55%,
    transparent 100%
  );
}
.hero__content { position: relative; z-index: 2; max-width: 680px; }
.hero__content h1 {
  font-family: var(--font-editorial);
  margin-bottom: 12px; color: var(--on-surface);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.hero__content p {
  color: var(--on-surface-variant);
  font-size: 1.05rem; margin-bottom: 28px;
  font-weight: 400;
}
.hero__buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-md);
  font-family: var(--font-functional);
  font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  position: relative; overflow: hidden;
  border: none;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  opacity: 0; transition: opacity var(--transition-fast);
}
.btn:hover::after { opacity: 1; }
.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: var(--on-primary);
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(241, 201, 125, 0.3);
}
.btn--outline {
  background: transparent;
  color: var(--primary);
  /* Ghost border */
  box-shadow: inset 0 0 0 1px var(--ghost-border);
}
.btn--outline:hover {
  color: var(--primary-fixed);
  background: rgba(241, 201, 125, 0.06);
  box-shadow: inset 0 0 0 1px rgba(241, 201, 125, 0.25);
}
.btn--danger {
  background: rgba(232, 84, 84, 0.08);
  color: var(--danger);
  box-shadow: inset 0 0 0 1px rgba(232, 84, 84, 0.15);
}
.btn--danger:hover { background: rgba(232, 84, 84, 0.15); }
.btn--sm { padding: 8px 18px; font-size: 0.82rem; }
.btn--icon { padding: 12px; border-radius: var(--radius-sm); }

/* ── Cards (No-Line Rule: tonal shifts only) ─────────────────────── */
.card {
  background: var(--surface-container-low);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
  /* No border! Depth via surface shift */
  border: none;
}
.card:hover {
  background: var(--surface-container);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card--flat { border-radius: var(--radius-md); }
.card--flat:hover { transform: none; }

/* ── Category Card ───────────────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.cat-card {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface-container-low);
  text-decoration: none;
  transition: all var(--transition-fast);
  border: none;
}
.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}
.cat-card__img {
  height: 160px;
  background: var(--surface-container-high);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.cat-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.cat-card:hover .cat-card__img img { transform: scale(1.06); }
.cat-card__body {
  padding: 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.cat-card__info-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cat-card__name { font-family: var(--font-editorial); font-size: 1.3rem; font-weight: 600; color: var(--on-surface); }
.cat-card__desc { font-size: 0.85rem; color: var(--on-surface-variant); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
.cat-card__count { font-size: 0.8rem; font-weight: 700; color: var(--primary); }
.cat-card__arrow { color: var(--text-muted); font-size: 1.2rem; transition: transform var(--transition-fast); }
.cat-card:hover .cat-card__arrow { transform: translateX(6px); color: var(--primary); }

/* ── Product Card (Hero Plate influence) ─────────────────────────── */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.prod-card {
  background: var(--surface-container-low);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.prod-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}
.prod-card__img {
  height: 210px; background: var(--surface-container-high);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.prod-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.prod-card:hover .prod-card__img img { transform: scale(1.06); }
.prod-card__placeholder { font-size: 3rem; opacity: 0.12; }
.prod-card__body { padding: 20px; }
.prod-card__header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.prod-card__name { font-family: var(--font-editorial); font-weight: 600; font-size: 1.05rem; color: var(--on-surface); }
.prod-card__price {
  font-family: var(--font-functional);
  font-weight: 800; color: var(--primary); font-size: 1.05rem;
  white-space: nowrap; letter-spacing: 0.01em;
}
.prod-card__desc {
  font-size: 0.85rem; color: var(--on-surface-variant);
  line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.prod-card__unavailable {
  position: absolute; inset: 0;
  background: rgba(14, 14, 14, 0.75);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.prod-card__unavailable span {
  background: rgba(232, 84, 84, 0.12); color: var(--danger);
  padding: 8px 18px; border-radius: var(--radius-full);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 1px rgba(232, 84, 84, 0.2);
}

/* ── Tags / Dietary Chips ────────────────────────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 14px; border-radius: var(--radius-full);
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.03em;
  background: var(--surface-container-high);
  color: var(--on-surface-variant);
  cursor: pointer; transition: all var(--transition-fast);
  user-select: none;
  border: none;
}
.tag:hover { background: var(--surface-container-highest); color: var(--on-surface); }
.tag.active {
  background: var(--primary);
  color: var(--on-primary);
}

/* ── Divider Product ─────────────────────────────────────────────── */
.divider-row {
  grid-column: 1 / -1; padding: 28px 0 8px;
  display: flex; align-items: center; gap: 20px;
}
.divider-row::before, .divider-row::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ghost-border), transparent);
}
.divider-row span {
  color: var(--primary); font-family: var(--font-functional);
  font-weight: 700; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ── Topbar (Glass & Gradient Rule — Floating Nav) ───────────────── */
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px;
  background: rgba(22, 22, 22, 0.70);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  position: sticky; top: 0; z-index: 100;
  /* No border — floating glass feel */
}
.topbar__back {
  display: flex; align-items: center; gap: 8px;
  color: var(--on-surface); font-weight: 600; font-size: 0.9rem;
  font-family: var(--font-functional);
}
.topbar__back:hover { color: var(--primary); }
.topbar__actions { display: flex; align-items: center; gap: 12px; }

/* ── Search ──────────────────────────────────────────────────────── */
.search-box { position: relative; margin: 24px 0; }
.search-box input {
  width: 100%; padding: 16px 22px 16px 52px;
  background: var(--surface-container-highest);
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.95rem; font-weight: 400;
  color: var(--on-surface);
  transition: all var(--transition);
}
.search-box input:focus {
  outline: none;
  background: var(--surface-bright);
  box-shadow: 0 0 0 2px rgba(241, 201, 125, 0.15);
}
.search-box input::placeholder { color: var(--text-muted); }
.search-box__icon {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 1.1rem;
}

/* ── Product Detail ──────────────────────────────────────────────── */
.product-detail { max-width: 700px; margin: 0 auto; padding: 24px; }
.product-detail__gallery {
  border-radius: var(--radius-xl); overflow: hidden;
  height: 340px; background: var(--surface-container-low);
  margin-bottom: 28px; position: relative;
}
.product-detail__gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__name {
  font-family: var(--font-editorial);
  font-size: 2rem; font-weight: 700;
  margin-bottom: 10px; letter-spacing: -0.01em;
}
.product-detail__price {
  font-family: var(--font-functional);
  font-size: 1.5rem; color: var(--primary);
  font-weight: 800; margin-bottom: 20px;
}
.product-detail__desc {
  color: var(--on-surface-variant);
  font-size: 1rem; line-height: 1.85;
  margin-bottom: 28px; white-space: pre-line;
}
.product-detail__allergens { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.allergen-badge {
  padding: 6px 16px; border-radius: var(--radius-full);
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(232, 84, 84, 0.06);
  color: var(--danger);
  /* Ghost border for accessibility */
  box-shadow: inset 0 0 0 1px rgba(232, 84, 84, 0.15);
}

/* ── Quantity Selector ───────────────────────────────────────────── */
.qty-selector {
  display: flex; align-items: center; gap: 0;
  background: var(--surface-container-high);
  border-radius: var(--radius-md); overflow: hidden;
  border: none;
}
.qty-selector button {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; color: var(--primary);
  transition: background var(--transition-fast);
}
.qty-selector button:hover { background: rgba(241, 201, 125, 0.1); }
.qty-selector .qty {
  width: 60px; text-align: center;
  font-size: 1.1rem; font-weight: 700;
  border: none; background: none; color: var(--on-surface);
}

/* ── Cart / Summary ──────────────────────────────────────────────── */
.cart-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow), 0 8px 24px rgba(0, 0, 0, 0.3);
  font-size: 1.3rem; color: var(--on-primary);
  transition: all var(--transition);
}
.cart-fab:hover { transform: scale(1.08); box-shadow: 0 8px 36px rgba(241, 201, 125, 0.35); }
.cart-fab__badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 22px; height: 22px; border-radius: 11px;
  background: var(--danger); color: #fff;
  font-size: 0.7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px;
}
.cart-item {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0;
  /* No border — tonal separation via spacing */
  background: transparent;
  transition: background var(--transition-fast);
}
/* Alternating row tonal shift */
.cart-item:nth-child(even) { background: var(--surface-container-lowest); border-radius: var(--radius-sm); padding: 18px 12px; }
.cart-item__img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; background: var(--surface-container-high); flex-shrink: 0; }
.cart-item__info { flex: 1; }
.cart-item__name { font-weight: 600; font-size: 0.95rem; }
.cart-item__price { color: var(--primary); font-weight: 700; }
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0;
  /* Subtle tonal separator instead of border */
  background: linear-gradient(to right, transparent, var(--ghost-border), transparent) no-repeat top / 100% 1px;
}
.cart-total span:first-child { font-size: 1.1rem; font-weight: 700; font-family: var(--font-editorial); }
.cart-total span:last-child { color: var(--primary); font-size: 1.5rem; font-weight: 800; }

/* ── Burger Builder ──────────────────────────────────────────────── */
.wizard { max-width: 700px; margin: 0 auto; padding: 24px; }
.wizard__steps { display: flex; justify-content: center; gap: 0; margin-bottom: 36px; }
.wizard__step {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 22px; font-size: 0.85rem; font-weight: 600;
  color: var(--text-muted); position: relative;
  font-family: var(--font-functional);
}
.wizard__step.active { color: var(--primary); }
.wizard__step.done { color: var(--success); }
.wizard__step-num {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800;
  background: var(--surface-container-high);
  transition: all var(--transition);
  border: none;
}
.wizard__step.active .wizard__step-num {
  background: rgba(241, 201, 125, 0.12);
  color: var(--primary);
  box-shadow: 0 0 0 2px rgba(241, 201, 125, 0.2);
}
.wizard__step.done .wizard__step-num {
  background: rgba(69, 201, 122, 0.1);
  color: var(--success);
  box-shadow: 0 0 0 2px rgba(69, 201, 122, 0.15);
}
.wizard__step-line { width: 40px; height: 2px; background: var(--surface-container-high); border-radius: 1px; }
.wizard__step-line.active { background: var(--primary); }

.wizard__panel { display: none; animation: fadeSlideUp 0.4s ease; }
.wizard__panel.active { display: block; }

.topping-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.topping-card {
  padding: 16px; border-radius: var(--radius-md);
  background: var(--surface-container-low);
  text-align: center; cursor: pointer;
  transition: all var(--transition);
  border: none;
  box-shadow: inset 0 0 0 2px var(--ghost-border);
}
.topping-card:hover { background: var(--surface-container); box-shadow: inset 0 0 0 2px rgba(77, 70, 53, 0.35); }
.topping-card.selected {
  background: rgba(241, 201, 125, 0.08);
  box-shadow: inset 0 0 0 2px var(--primary), var(--shadow-glow);
}
.topping-card__name { font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.topping-card__price { color: var(--primary); font-weight: 700; font-size: 0.85rem; }

.builder-total {
  position: sticky; bottom: 0; z-index: 50;
  background: rgba(22, 22, 22, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 18px 24px;
  display: flex; justify-content: space-between; align-items: center;
  /* No border — floating glass */
}
.builder-total__price { font-size: 1.3rem; font-weight: 800; color: var(--primary); }

/* ── Booking Form ────────────────────────────────────────────────── */
.booking-form { max-width: 600px; margin: 36px auto; }
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; margin-bottom: 8px;
  font-weight: 600; font-size: 0.85rem;
  color: var(--on-surface-variant);
  font-family: var(--font-functional);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px;
  background: var(--surface-container-highest);
  border: none;
  border-radius: var(--radius-md);
  color: var(--on-surface);
  transition: all var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  background: var(--surface-bright);
  box-shadow: 0 0 0 2px rgba(241, 201, 125, 0.15);
}
/* When focused, glow the label */
.form-group:focus-within label { color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* ── Rich Footer ─────────────────────────────────────────────────── */
.site-footer {
  margin-top: 80px;
  background: var(--surface-container-low);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-dim), transparent);
}
.site-footer__inner {
  max-width: 700px; margin: 0 auto;
  padding: 48px 24px 28px;
}
.site-footer__simple {
  text-align: center; padding: 24px;
  color: var(--text-muted); font-size: 0.8rem;
}
.site-footer__brand { text-align: center; margin-bottom: 28px; }
.site-footer__name {
  font-family: var(--font-editorial);
  font-size: 1.4rem; font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 18px;
}
.site-footer__socials { display: flex; justify-content: center; gap: 14px; }
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface-container);
  color: var(--on-surface-variant);
  transition: all var(--transition);
  border: none;
}
.social-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.social-link--instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}
.social-link--facebook:hover {
  background: rgba(24, 119, 242, 0.12); color: #1877F2;
}
.social-link--tiktok:hover {
  background: var(--surface-container-highest); color: #fff;
  box-shadow: 0 0 12px rgba(254, 44, 85, 0.25), 0 0 12px rgba(105, 201, 208, 0.25);
}
.social-link--google:hover {
  background: rgba(66, 133, 244, 0.1); color: #4285F4;
}

.site-footer__contact {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px 0;
  /* Tonal separation instead of border */
  background: linear-gradient(to right, transparent, var(--ghost-border), transparent) no-repeat top / 100% 1px;
  margin-bottom: 24px;
}
.footer-contact__item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem; color: var(--on-surface-variant);
}
.footer-contact__icon { font-size: 1.1rem; flex-shrink: 0; }
.footer-contact__item a { color: var(--on-surface-variant); transition: color var(--transition-fast); }
.footer-contact__item a:hover { color: var(--primary); }

.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 18px;
  /* Tonal separation */
  background: linear-gradient(to right, transparent, var(--ghost-border), transparent) no-repeat top / 100% 1px;
  font-size: 0.78rem; color: var(--text-muted);
}
.site-footer__contatti-link {
  color: var(--primary); font-weight: 600;
  transition: opacity var(--transition-fast);
}
.site-footer__contatti-link:hover { opacity: 0.8; }

/* ── Contacts Page ───────────────────────────────────────────────── */
.contatti-hero { text-align: center; padding: 48px 0 36px; }
.contatti-hero__icon { font-size: 3rem; margin-bottom: 14px; }
.contatti-hero h1 { font-family: var(--font-editorial); margin-bottom: 10px; }
.contatti-hero p { color: var(--on-surface-variant); font-size: 1.05rem; }
.contatti-section-title {
  font-family: var(--font-editorial);
  font-size: 1.3rem; margin: 36px 0 18px;
  display: flex; align-items: center; gap: 10px;
}

.contact-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}
.contact-card {
  display: flex; flex-direction: column;
  padding: 28px;
  background: var(--surface-container-low);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  text-decoration: none; color: inherit;
  border: none;
}
.contact-card:hover {
  background: var(--surface-container);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.contact-card__icon { font-size: 2rem; margin-bottom: 14px; }
.contact-card__label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 6px;
}
.contact-card__value {
  font-weight: 600; font-size: 1.05rem; color: var(--on-surface);
  margin-bottom: 10px; line-height: 1.5;
}
.contact-card__action {
  font-size: 0.82rem; color: var(--primary); font-weight: 600;
  margin-top: auto;
}

.social-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.social-card {
  display: flex; flex-direction: column; align-items: center;
  padding: 32px 20px; gap: 12px;
  background: var(--surface-container-low);
  border-radius: var(--radius-lg);
  text-decoration: none; color: inherit;
  transition: all var(--transition);
  text-align: center;
  border: none;
}
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.social-card__icon { color: var(--on-surface-variant); transition: all var(--transition); }
.social-card__name { font-weight: 700; font-size: 1rem; }
.social-card__handle { font-size: 0.82rem; color: var(--text-muted); }
.social-card--instagram:hover { background: rgba(228, 64, 95, 0.06); }
.social-card--instagram:hover .social-card__icon { color: #E4405F; }
.social-card--facebook:hover { background: rgba(24, 119, 242, 0.06); }
.social-card--facebook:hover .social-card__icon { color: #1877F2; }
.social-card--tiktok:hover { background: rgba(0, 0, 0, 0.15); }
.social-card--tiktok:hover .social-card__icon { color: #69C9D0; }
.social-card--google:hover { background: rgba(66, 133, 244, 0.06); }
.social-card--google:hover .social-card__icon { color: #4285F4; }

.contatti-cta {
  display: flex; justify-content: center; gap: 16px;
  margin-top: 48px; padding: 36px 0 18px;
  flex-wrap: wrap;
}

/* ── Toast ────────────────────────────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 9999; display: flex; flex-direction: column; gap: 8px;
}
.toast {
  padding: 16px 28px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 0.9rem;
  animation: toastIn 0.4s var(--transition-spring);
  backdrop-filter: blur(20px); min-width: 280px; text-align: center;
  border: none;
}
.toast--success { background: rgba(69, 201, 122, 0.12); color: var(--success); box-shadow: inset 0 0 0 1px rgba(69, 201, 122, 0.2); }
.toast--error { background: rgba(232, 84, 84, 0.12); color: var(--danger); box-shadow: inset 0 0 0 1px rgba(232, 84, 84, 0.2); }
.toast--info { background: rgba(122, 175, 220, 0.12); color: var(--info); box-shadow: inset 0 0 0 1px rgba(122, 175, 220, 0.2); }

/* ── Empty State ─────────────────────────────────────────────────── */
.empty-state {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 72px 24px;
  color: var(--text-muted); text-align: center;
}
.empty-state__icon { font-size: 3rem; margin-bottom: 18px; opacity: 0.2; }
.empty-state__text { font-size: 1rem; margin-bottom: 10px; }
.empty-state__link { color: var(--primary); font-weight: 600; }

/* ── Modal ────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  animation: fadeIn 0.2s ease;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--surface-container-low);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 500px; width: 90%; max-height: 85vh; overflow-y: auto;
  animation: scaleIn 0.3s var(--transition-spring);
  box-shadow: var(--shadow-lg);
  border: none;
}
.modal__title { font-family: var(--font-editorial); font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; }

/* ── Animations ──────────────────────────────────────────────────── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.anim-fade { animation: fadeSlideUp 0.6s ease both; }
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.4s; }

/* ── Skeleton ────────────────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--surface-container-high) 25%, var(--surface-container-highest) 50%, var(--surface-container-high) 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .cat-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .hero { height: 50vh; min-height: 340px; }
  .wizard__step span { display: none; }
  .contact-cards-grid { grid-template-columns: 1fr; }
  .social-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  .prod-grid { grid-template-columns: 1fr; }
  .topping-grid { grid-template-columns: repeat(2, 1fr); }
  .social-cards-grid { grid-template-columns: 1fr; }
  .contatti-cta { flex-direction: column; align-items: center; }
}
