/* ============================================
   TRATTORIA DEL POPOLO — Site extras
   Loaded after styles.css on every public page.
   Contains:
     1. Readability & touch-target tweaks (older / mobile visitors)
     2. Christmas theme (active only when <html data-theme="christmas">)
     3. Festive ribbon, homepage Christmas section, Christmas order card
     4. "Your local Italian" section (areas & occasions)
     5. Cookie banner
     6. christmas.html page
   ============================================ */

/* ---------- 1. Readability ---------- */
/* Larger body copy in the content sections only — the navbar keeps the base size so it fits. */
.section-header p { font-size: 1.1rem; }
.feature-card-body p, .step-card p, .area-card p, .occasion-card p, .contact-card p { font-size: 1rem; }
.review-card blockquote { font-size: 1.02rem; }
.btn { min-height: 44px; }

/* Navbar: keep everything on one line now that it also carries the Christmas link.
   Links are trimmed progressively as the viewport narrows (secondary links first). */
.nav-links { gap: 0.75rem; flex-wrap: nowrap; }
.nav-links a { font-size: 0.8rem; white-space: nowrap; }
.nav-actions { gap: 0.6rem; }
@media (min-width: 1320px) {
  .nav-container { max-width: 1360px; }
}
@media (min-width: 769px) and (max-width: 1500px) {
  .nav-actions .btn-ghost { display: none; }          /* "Admin" ghost link (staff use /admin.html) */
  .nav-links a[href$="#how-it-works"] { display: none; }
}
@media (min-width: 769px) and (max-width: 1240px) {
  .nav-links { gap: 0.55rem; }
  .nav-links a { font-size: 0.76rem; }
  .nav-actions .btn-sm { padding: 6px 10px; font-size: 0.76rem; }
  .nav-links a[href$="#gallery"], .nav-links a[href$="#hours"] { display: none; }
}
@media (min-width: 769px) and (max-width: 1040px) {
  .nav-links a[href$="#reviews"] { display: none; }
  .nav-social { display: none; }
}

/* Fixed-header offsets. --ribbon-h is measured by festive.js when the announcement
   ribbon is on (0 otherwise), so the navbar and page content always sit below it. */
:root { --ribbon-h: 0px; }
.hero { padding-top: calc(100px + var(--ribbon-h)); }
.page-wrapper { padding-top: calc(80px + var(--ribbon-h)); }
.xmas-hero { padding-top: calc(160px + var(--ribbon-h)); }
.form-input, select.form-input { min-height: 44px; }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.hero p { font-size: 1.15rem; }
.hero-cta .btn-call { gap: 8px; }
.hero-cta .btn-call svg { flex-shrink: 0; }
@media (min-width: 769px) {
  .hero-cta .btn-call { display: none; }
}
.reviews-more {
  text-align: center;
  margin-top: var(--space-xl);
  font-size: 0.95rem;
}
.reviews-more a { color: var(--primary); font-weight: 600; }

/* ---------- 2. Christmas theme tokens ---------- */
[data-theme="christmas"] {
  /* Christmas green is the main accent; gold stays; a berry red is kept for small highlights */
  --primary: #1F5F3A;
  --primary-dark: #164429;
  --primary-light: #2E7A4F;
  --gold: #CFA64A;
  --gold-light: #E0BC63;
  --gold-dark: #A9853A;
  --xmas-green: #1F5F3A;
  --xmas-green-dark: #164429;
  --xmas-pine: #10261A;
  --xmas-red: #8A2432;
  --xmas-cream: #F9FBF6;
  --gradient: linear-gradient(135deg, #8A2432 0%, #CFA64A 100%);
  --bg: #F9FBF6;
  --bg-alt: #EDF4EB;
  --card-bg: #FFFFFF;
  --border: #D7E3D3;
  --shadow-sm: 0 2px 8px rgba(31, 95, 58, 0.08);
  --shadow-md: 0 4px 16px rgba(31, 95, 58, 0.10);
  --shadow-lg: 0 8px 32px rgba(31, 95, 58, 0.14);
  --shadow-xl: 0 16px 48px rgba(31, 95, 58, 0.18);
  --shadow-gold: 0 4px 20px rgba(207, 166, 74, 0.3);
}
[data-theme="christmas"] .section-badge {
  background: rgba(138, 36, 50, 0.08);
  border-color: rgba(138, 36, 50, 0.28);
  color: var(--xmas-red);
}
[data-theme="christmas"] .navbar.scrolled {
  background: rgba(247, 251, 245, 0.97);
  border-bottom: 2px solid var(--gold);
}
@media (max-width: 768px) {
  [data-theme="christmas"] .nav-links.open { background: rgba(16, 38, 26, 0.98); }
}
[data-theme="christmas"] .hero-bg {
  background:
    linear-gradient(165deg, rgba(8, 30, 18, 0.9) 0%, rgba(16, 52, 32, 0.84) 40%, rgba(31, 95, 58, 0.66) 68%, rgba(6, 20, 12, 0.92) 100%),
    url('set3/m1.jpeg');
  background-size: cover;
  background-position: center;
}
[data-theme="christmas"] .hero-badge {
  background: rgba(207, 166, 74, 0.18);
  border-color: rgba(207, 166, 74, 0.45);
}
[data-theme="christmas"] .cta-card {
  background:
    linear-gradient(135deg, rgba(16, 38, 26, 0.92) 0%, rgba(31, 95, 58, 0.86) 55%, rgba(46, 122, 79, 0.8) 100%),
    url('set3/m4.jpeg');
  background-size: cover;
  background-position: center;
}
[data-theme="christmas"] .footer {
  background: var(--xmas-pine);
  border-top: 0;
  position: relative;
}
[data-theme="christmas"] .footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  background: repeating-linear-gradient(90deg, #8A2432 0 26px, #CFA64A 26px 36px, #1F5F3A 36px 62px, #CFA64A 62px 72px);
}
[data-theme="christmas"] .feature-icon,
[data-theme="christmas"] .step-number,
[data-theme="christmas"] .author-avatar,
[data-theme="christmas"] .contact-icon {
  background: rgba(31, 95, 58, 0.1);
  color: var(--primary);
}
[data-theme="christmas"] .step-number { background: var(--primary); color: #fff; }
[data-theme="christmas"] .btn-outline:not(.hero-cta .btn-outline):not(.xmas-actions .btn-outline) {
  color: var(--primary);
  border-color: var(--primary);
}
[data-theme="christmas"] .menu-category-pill.active {
  box-shadow: 0 2px 8px rgba(31, 95, 58, 0.3);
}
[data-theme="christmas"] .order-type-tag { background: var(--xmas-red); }
[data-theme="christmas"] .reviews-more a,
[data-theme="christmas"] .cookie-banner-text a { color: var(--primary); }
[data-theme="christmas"] .nav-xmas {
  color: var(--gold-light) !important;
  font-weight: 600;
}

/* ---------- 3a. Festive ribbon (top announcement bar) ---------- */
.festive-ribbon {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 52px 0 16px;
  background: linear-gradient(90deg, #164429 0%, #1F5F3A 50%, #164429 100%);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
.festive-ribbon a {
  color: #FFE9A8;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.festive-ribbon a:hover { color: #fff; }
.festive-ribbon-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.festive-ribbon-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.festive-ribbon-close:hover { background: rgba(255, 255, 255, 0.25); }
body.has-ribbon .navbar {
  top: var(--ribbon-h);
  /* no "all" transition: the navbar must jump straight below the ribbon */
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition), border-color var(--transition);
}
@media (max-width: 480px) {
  .festive-ribbon { font-size: 0.8rem; }
}

/* Festive variant of the homepage popup (content swapped by festive.js) */
.popup-card.festive .popup-image { height: 150px; }
.popup-festive-header {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background:
    radial-gradient(circle at 20% 30%, rgba(207, 166, 74, 0.35) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(207, 166, 74, 0.25) 0, transparent 40%),
    linear-gradient(135deg, #10261A 0%, #1F5F3A 60%, #2E7A4F 100%);
  color: #FFE9A8;
}
.popup-festive-emoji { font-size: 3rem; line-height: 1; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3)); }
.popup-festive-kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.popup-card.festive .popup-badge { background: linear-gradient(135deg, #CFA64A 0%, #E0BC63 100%); color: #3a2a08; }
.popup-card.festive .popup-tagline { color: var(--xmas-green, #1F5F3A) !important; }
.popup-card.festive .popup-image-overlay { display: none; }

/* ---------- 3b. Snow (whole page, light; respects reduced motion) ---------- */
.snow-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 9000;
}
.snowflake {
  position: absolute;
  top: -5%;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 0 3px rgba(31, 95, 58, 0.45), 0 0 8px rgba(255, 255, 255, 0.6);
  user-select: none;
  animation-name: tdp-snow-fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes tdp-snow-fall {
  0%   { transform: translate3d(0, -5vh, 0) rotate(0deg); }
  100% { transform: translate3d(var(--drift, 20px), 105vh, 0) rotate(360deg); }
}

/* ---------- 3b-ii. Decorations: lights, baubles, sparkles, holly, garland ---------- */
/* String lights hanging from the announcement ribbon */
.festive-lights {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0;
  pointer-events: none;
}
.festive-lights::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(0, 0, 0, 0.35);
}
.festive-bulb {
  position: absolute;
  top: 2px;
  width: 9px;
  height: 13px;
  border-radius: 50% 50% 55% 55%;
  animation: tdp-glow var(--dur, 1.8s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.festive-bulb::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 2.5px;
  width: 4px;
  height: 5px;
  background: #3a3a3a;
  border-radius: 1px;
}
.festive-bulb.r { background: #E03A4E; box-shadow: 0 0 8px 2px rgba(224, 58, 78, 0.7); }
.festive-bulb.g { background: #3DBB6A; box-shadow: 0 0 8px 2px rgba(61, 187, 106, 0.7); }
.festive-bulb.y { background: #FFD265; box-shadow: 0 0 8px 2px rgba(255, 210, 101, 0.75); }
@keyframes tdp-glow {
  0%, 100% { opacity: 0.45; filter: brightness(0.8); }
  50%      { opacity: 1; filter: brightness(1.35); }
}

/* Baubles hanging into the hero */
.xmas-garland {
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  pointer-events: none;
  z-index: 0; /* above the hero background, below the hero text */
}
.xmas-bauble {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: top center;
  animation: tdp-sway var(--dur, 4s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}
.xmas-bauble .string {
  width: 1px;
  height: var(--len, 50px);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 233, 168, 0.8));
}
.xmas-bauble .ball {
  position: relative;
  width: var(--size, 22px);
  height: var(--size, 22px);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.95) 0, var(--c1) 22%, var(--c2) 75%);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35), inset 0 -4px 8px rgba(0, 0, 0, 0.25);
}
.xmas-bauble .ball::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 7px;
  background: linear-gradient(#E0BC63, #A9853A);
  border-radius: 2px 2px 0 0;
}
.xmas-bauble.red   { --c1: #E04A5C; --c2: #7A1626; }
.xmas-bauble.green { --c1: #3FB36B; --c2: #10432A; }
.xmas-bauble.gold  { --c1: #FFE39A; --c2: #9A7A2C; }
@keyframes tdp-sway {
  from { transform: rotate(-3.5deg); }
  to   { transform: rotate(3.5deg); }
}
@media (max-height: 640px) {
  .xmas-garland { display: none; }
}

/* Twinkling gold sparkles over dark festive surfaces */
.xmas-sparkles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.xmas-sparkle {
  position: absolute;
  color: #FFE9A8;
  text-shadow: 0 0 8px rgba(255, 233, 168, 0.95), 0 0 18px rgba(207, 166, 74, 0.7);
  opacity: 0;
  animation: tdp-twinkle var(--dur, 2.8s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  user-select: none;
}
@keyframes tdp-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.35) rotate(0deg); }
  50%      { opacity: 1; transform: scale(1) rotate(30deg); }
}
[data-theme="christmas"] .cta-card > * { position: relative; z-index: 1; }
[data-theme="christmas"] .hero-content { z-index: 2; }

/* Holly in the corners of festive cards */
[data-theme="christmas"] .xmas-card,
[data-theme="christmas"] .popup-festive-header,
[data-theme="christmas"] .xmas-hero .container {
  position: relative;
}
.xmas-holly {
  position: absolute;
  width: 96px;
  height: 80px;
  pointer-events: none;
  z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath d='M58 52C40 60 22 56 10 40c14-4 24-14 30-30 10 14 14 28 18 42z' fill='%231F5F3A' stroke='%23164429' stroke-width='2'/%3E%3Cpath d='M62 52c18 8 36 4 48-12-14-4-24-14-30-30-10 14-14 28-18 42z' fill='%232E7A4F' stroke='%23164429' stroke-width='2'/%3E%3Ccircle cx='52' cy='61' r='7' fill='%23C9303F'/%3E%3Ccircle cx='67' cy='64' r='7' fill='%238A2432'/%3E%3Ccircle cx='59' cy='73' r='7' fill='%23E04A5C'/%3E%3C/svg%3E") no-repeat center / contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
}
.xmas-holly.tl { top: -8px; left: 10px; transform: rotate(-20deg); }
.xmas-holly.br { bottom: -6px; right: 14px; transform: rotate(160deg); }
.xmas-holly.tr { top: -6px; right: 14px; transform: rotate(20deg); }
.xmas-holly.sm { width: 64px; height: 54px; }

/* Red / gold / green garland stripe on the Christmas card and the order-mode header */
[data-theme="christmas"] .xmas-card::before,
[data-theme="christmas"] .order-mode-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  background: repeating-linear-gradient(90deg, #8A2432 0 26px, #CFA64A 26px 36px, #1F5F3A 36px 62px, #CFA64A 62px 72px);
  z-index: 2;
}
[data-theme="christmas"] .order-mode-header { position: relative; overflow: hidden; }

/* Gold buttons get a soft shimmer sweep */
[data-theme="christmas"] .btn-gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #D9B35A, #A9853A);
  border-color: #CFA64A;
}
[data-theme="christmas"] .btn-gold::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -70%;
  width: 45%;
  height: 220%;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: tdp-sheen 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes tdp-sheen {
  0%, 55% { left: -70%; }
  100%    { left: 150%; }
}

/* Ribbon: red → green with gold text */
[data-theme="christmas"] .festive-ribbon {
  background: linear-gradient(90deg, #7A1626 0%, #8A2432 30%, #1F5F3A 70%, #10261A 100%);
}

@media (prefers-reduced-motion: reduce) {
  .snow-layer, .xmas-sparkles, .xmas-garland { display: none; }
  .festive-bulb, [data-theme="christmas"] .btn-gold::after { animation: none; }
}

/* ---------- 3c. Homepage Christmas section ---------- */
.xmas-section {
  padding: var(--space-3xl) 0 var(--space-2xl);
  background: var(--bg);
}
.xmas-section[hidden] { display: none; }
.xmas-card {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-2xl);
  align-items: stretch;
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 15% 20%, rgba(207, 166, 74, 0.2) 0, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(138, 36, 50, 0.35) 0, transparent 35%),
    linear-gradient(135deg, #10261A 0%, #1F5F3A 60%, #2E7A4F 100%);
  color: #fff;
  box-shadow: 0 16px 48px rgba(22, 68, 41, 0.28);
  position: relative;
  overflow: hidden;
}
.xmas-card::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(207, 166, 74, 0.45);
  border-radius: calc(var(--radius-xl) - 10px);
  pointer-events: none;
}
.xmas-card-main, .xmas-card-side { position: relative; z-index: 1; }
.xmas-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(207, 166, 74, 0.2);
  border: 1px solid rgba(207, 166, 74, 0.5);
  color: #FFE9A8;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.xmas-card h2 {
  color: #fff;
  margin-bottom: var(--space-sm);
}
.xmas-card h2 .gradient-text {
  background: linear-gradient(135deg, #FFE9A8 0%, #CFA64A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.xmas-subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: #FFE9A8;
  margin-bottom: var(--space-md);
}
.xmas-card p { color: rgba(255, 255, 255, 0.86); }
.xmas-highlights {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: var(--space-lg) 0 var(--space-xl);
  padding: 0;
}
.xmas-highlights li {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  color: #fff;
}
.xmas-highlights li span {
  color: #FFE9A8;
  font-weight: 600;
  margin-left: 6px;
}
.xmas-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.xmas-actions .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.xmas-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}
.xmas-notice {
  margin-top: var(--space-lg);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75) !important;
}
.xmas-card-side {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-lg);
}
.xmas-fact {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.xmas-fact-icon {
  font-size: 1.6rem;
  line-height: 1;
}
.xmas-fact strong {
  display: block;
  color: #FFE9A8;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.xmas-fact span { color: #fff; font-size: 1rem; font-weight: 500; }
@media (max-width: 900px) {
  .xmas-card { grid-template-columns: 1fr; padding: var(--space-xl); }
  .xmas-card::after { inset: 8px; }
}

/* ---------- 3d. Christmas order-type card (order.html) ---------- */
.order-type-grid.has-xmas { grid-template-columns: repeat(3, 1fr); max-width: 1000px; }
.order-type-card--christmas {
  border-color: rgba(31, 95, 58, 0.45);
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F8F4 100%);
}
.order-type-card--christmas::before { background: linear-gradient(90deg, #1F5F3A, #CFA64A, #7B1E2B); }
.order-type-card--christmas:hover { border-color: #1F5F3A; }
.order-type-card--christmas .order-type-badge { background: rgba(31, 95, 58, 0.1); color: #1F5F3A; }
.order-type-card--christmas:hover .order-type-badge { background: #1F5F3A; color: #fff; }
.order-type-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: #7B1E2B;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .order-type-grid.has-xmas { grid-template-columns: 1fr; }
}

/* Mode header shown above the menu (order.html) */
.order-mode-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #10261A 0%, #1F5F3A 60%, #2E7A4F 100%);
  color: #fff;
}
.order-mode-header.show { display: flex; }
.order-mode-header h2 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.5rem;
  margin: 0 0 4px;
}
.order-mode-header p { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 0.92rem; }
.order-mode-header .order-mode-dates {
  font-size: 0.85rem;
  color: #FFE9A8;
  font-weight: 600;
  text-align: right;
}
.order-mode-header .order-mode-dates small { display: block; color: rgba(255,255,255,0.7); font-weight: 400; }
.order-confirmation-note {
  display: none;
  margin: var(--space-lg) auto 0;
  max-width: 560px;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  background: rgba(31, 95, 58, 0.08);
  border: 1px solid rgba(31, 95, 58, 0.25);
  color: var(--text);
  font-size: 0.95rem;
}
.order-confirmation-note.show { display: block; }

/* ---------- 4. Your local Italian (areas & occasions) ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}
.area-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}
.area-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
}
.area-card .area-distance {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(114, 47, 55, 0.06);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  margin-bottom: var(--space-sm);
}
.area-card p { font-size: 0.92rem; margin: 0; }
.occasions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.occasion-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.occasion-card .occasion-icon { font-size: 2.2rem; margin-bottom: var(--space-sm); }
.occasion-card h3 { font-size: 1.1rem; margin-bottom: var(--space-xs); }
.occasion-card p { font-size: 0.9rem; margin: 0; }
.local-cta {
  text-align: center;
  margin-top: var(--space-2xl);
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
@media (max-width: 1024px) {
  .areas-grid, .occasions-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .areas-grid, .occasions-grid { grid-template-columns: 1fr; }
}

/* ---------- 5. Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 10000;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-xl);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.cookie-banner.show { opacity: 1; transform: translateY(0); }
.cookie-banner-text strong { display: block; margin-bottom: 4px; color: var(--text); }
.cookie-banner-text p { margin: 0; font-size: 0.9rem; color: var(--text-light); }
.cookie-banner-text a { color: var(--primary); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: var(--space-sm); flex-shrink: 0; }
.cookie-banner .btn-outline { color: var(--primary); border-color: var(--primary); }
@media (max-width: 680px) {
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: flex-end; }
}

/* ---------- 6. christmas.html page ---------- */
.xmas-hero {
  position: relative;
  padding: 160px 0 var(--space-4xl);
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(207, 166, 74, 0.25) 0, transparent 35%),
    linear-gradient(165deg, rgba(8, 30, 18, 0.92) 0%, rgba(22, 68, 41, 0.86) 45%, rgba(46, 122, 79, 0.8) 100%),
    url('set3/m2.jpeg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.xmas-hero .container { position: relative; z-index: 1; }
.xmas-hero h1 { color: #fff; max-width: 760px; }
.xmas-hero h1 .gradient-text {
  background: linear-gradient(135deg, #FFE9A8 0%, #CFA64A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.xmas-hero p { color: rgba(255, 255, 255, 0.86); max-width: 640px; font-size: 1.1rem; }
.xmas-hero .xmas-actions { margin-top: var(--space-xl); }
.xmas-facts-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}
.xmas-facts-row .xmas-fact strong { color: #FFE9A8; }
.xmas-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
}
.xmas-status .dot { width: 10px; height: 10px; border-radius: 50%; background: #9BE7B3; box-shadow: 0 0 10px #9BE7B3; }
.xmas-status.closed .dot { background: #E7B49B; box-shadow: none; }

.xmas-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}
.xmas-menu-category {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}
.xmas-menu-category h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  color: var(--primary);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid rgba(207, 166, 74, 0.5);
  margin-bottom: var(--space-md);
}
.xmas-menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-md);
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}
.xmas-menu-item:last-child { border-bottom: none; }
.xmas-menu-item strong { display: block; font-size: 1rem; color: var(--text); }
.xmas-menu-item p { margin: 2px 0 0; font-size: 0.88rem; color: var(--text-light); }
.xmas-menu-item .price { font-weight: 700; color: var(--primary); white-space: nowrap; }
.xmas-menu-empty {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--text-light);
}
.xmas-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.xmas-faq { max-width: 760px; margin: 0 auto; }
.xmas-faq details {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-sm);
}
.xmas-faq summary { cursor: pointer; font-weight: 600; color: var(--text); font-size: 1rem; }
.xmas-faq details p { margin: var(--space-sm) 0 0; font-size: 0.95rem; }
.xmas-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  display: none;
  padding: 10px 16px;
  background: rgba(255, 252, 247, 0.97);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}
.xmas-sticky-cta .btn { width: 100%; }
@media (max-width: 768px) {
  .xmas-menu-grid { grid-template-columns: 1fr; }
  .xmas-steps { grid-template-columns: 1fr; }
  .xmas-hero { padding-top: calc(120px + var(--ribbon-h)); }
  .xmas-sticky-cta.show { display: block; }
  body.xmas-page { padding-bottom: 72px; }
}
