/* ==========================================================================
   HOSTARIA MARTINELLE - MASTER STYLESHEET
   Brand Identity Reale (hostariamartinelle.it):
   - Crema Lino Ufficiale: #F7F4EF
   - Terracotta / Ruggine Ufficiale: #5D2510
   - Legno / Cuoio Ufficiale: #8A6D50
   - Inchiostro Scuro: #28231F / #34281F
   Tema: ESCLUSIVAMENTE CHIARO (Brand Identity)
   Design: Rigorosamente Squadrato (border-radius: 0)
   ========================================================================== */

:root {
  /* TEMA CHIARO ESCLUSIVO */
  --bg-main: #F7F4EF;
  --bg-surface: #FFFFFF;
  --bg-elevated: #EDE7DC;
  --bg-card: #FAF8F5;
  --top-strip-bg: #EAE3D6;
  --header-bg: rgba(247, 244, 239, 0.95);
  --footer-bg: #EAE3D6;

  --accent-terracotta: #5D2510;
  --accent-gold: #5D2510;
  --accent-brown: #8A6D50;
  --accent-olive: #5B6343;
  --accent-hover: #7A3116;
  --accent-dim: rgba(93, 37, 16, 0.08);

  --border-light: rgba(52, 40, 31, 0.08);
  --border-medium: rgba(52, 40, 31, 0.18);
  --border-gold: rgba(93, 37, 16, 0.35);

  --text-main: #28231F;
  --text-secondary: #5A524C;
  --text-muted: #8A8179;

  /* HERO FOTOGRAFICO: Caldo e contrastato */
  --hero-overlay: linear-gradient(180deg, rgba(14, 12, 10, 0.35) 0%, rgba(14, 12, 10, 0.82) 100%);
  --hero-title-color: #FFFFFF;
  --hero-subtitle-color: rgba(247, 244, 239, 0.92);
  --hero-pretitle-color: #E6CBB0;

  --card-shadow: 0 4px 20px rgba(52, 40, 31, 0.06);

  --btn-gold-bg: #5D2510;
  --btn-gold-color: #FFFFFF;
  --btn-gold-hover: #7A3116;

  --btn-outline-border: rgba(52, 40, 31, 0.3);
  --btn-outline-color: #28231F;
  --btn-outline-hover-bg: rgba(93, 37, 16, 0.08);
  --btn-outline-hover-color: #5D2510;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important; /* Design rigorosamente squadrato */
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.drawer-locked {
  overflow: hidden !important;
  touch-action: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TOP STATUS STRIP */
.top-strip {
  background: var(--top-strip-bg);
  border-bottom: 1px solid var(--border-light);
  padding: 8px 30px;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-strip strong {
  color: var(--accent-terracotta);
}
.top-strip a:hover {
  color: var(--accent-terracotta);
}

/* MAIN HEADER & NAVIGATION */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}

.header-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img, .drawer-logo {
  display: block;
  height: 42px;
  width: auto;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent-terracotta);
}

.nav-link.active {
  color: var(--text-main);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-terracotta);
}

/* HEADER ACTIONS: LANGUAGE DROPDOWN & HAMBURGER & CTA */
.header-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 12px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

/* HEADBAR LANGUAGE DROPDOWN WITH NATION FLAGS */
.lang-dropdown {
  position: relative !important;
  display: inline-flex !important;
  user-select: none;
  flex-shrink: 0 !important;
  vertical-align: middle;
}

.lang-dropdown-trigger {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 38px !important;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  padding: 0 12px !important;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  flex-shrink: 0 !important;
}

.lang-dropdown-trigger:hover {
  background: var(--bg-elevated);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.lang-dropdown.open .lang-dropdown-trigger {
  background: #FFFFFF;
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.lang-flag-current {
  width: 20px;
  height: 14px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  display: block;
}

.lang-code-current {
  font-weight: 700;
  letter-spacing: 1px;
}

.lang-chevron {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-muted);
}

.lang-dropdown.open .lang-chevron {
  transform: rotate(180deg);
  color: var(--accent-gold);
}

/* Dropdown Menu List */
.lang-dropdown-list {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 175px;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  box-shadow: 0 12px 28px rgba(14, 12, 10, 0.12);
  list-style: none;
  padding: 4px 0;
  margin: 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.lang-dropdown.open .lang-dropdown-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
  line-height: 1.2;
}

.lang-option:hover {
  background: rgba(93, 37, 16, 0.06);
  color: var(--accent-gold);
}

.lang-option.active {
  background: rgba(93, 37, 16, 0.09);
  color: var(--accent-gold);
  font-weight: 700;
}

.lang-flag-icon {
  width: 22px;
  height: 15px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.lang-name {
  flex: 1;
  white-space: nowrap;
}

.lang-code-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.lang-option.active .lang-code-badge,
.lang-option:hover .lang-code-badge {
  color: var(--accent-gold);
}

/* Hamburger Button */
.hamburger-btn {
  display: none;
  width: 38px;
  height: 38px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  border-radius: 0;
  transition: all 0.2s ease;
  flex-shrink: 0 !important;
}

.hamburger-btn:hover {
  border-color: var(--accent-gold);
}

.hamburger-btn .bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-main);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* SQUARED BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  outline: none;
  white-space: nowrap;
}

.btn-gold {
  background: var(--btn-gold-bg);
  color: var(--btn-gold-color);
  border-color: var(--btn-gold-bg);
}
.btn-gold:hover {
  background: var(--btn-gold-hover);
  border-color: var(--btn-gold-hover);
}

.btn-outline {
  background: transparent;
  color: var(--btn-outline-color);
  border-color: var(--btn-outline-border);
}
.btn-outline:hover {
  border-color: var(--btn-outline-hover-color);
  color: var(--btn-outline-hover-color);
  background: var(--btn-outline-hover-bg);
}

/* PAGE HERO (LARGE WEBP IMAGE BANNER) */
.page-hero {
  position: relative;
  min-height: 54vh;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--hero-overlay);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 85px 30px 65px;
  width: 100%;
}
.page-pretitle {
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--hero-pretitle-color);
  display: block;
  margin-bottom: 14px;
  font-weight: 700;
}
.page-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.08;
  font-weight: 600;
  color: var(--hero-title-color);
}
.page-title em {
  font-style: italic;
  color: var(--hero-pretitle-color);
}
.page-subtitle {
  font-size: 1.05rem;
  color: var(--hero-subtitle-color);
  max-width: 700px;
  margin-top: 14px;
  font-weight: 400;
  line-height: 1.6;
}

/* SECTION STRUCTURE */
.section {
  padding: 100px 30px;
  max-width: 1400px;
  margin: 0 auto;
}
.section-tag {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
  font-weight: 600;
  color: var(--text-main);
}
.section-title em {
  font-style: italic;
  color: var(--accent-terracotta);
}
.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 650px;
  margin-top: 16px;
  line-height: 1.8;
}

/* GRIDS */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.four-col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.dish-card {
  border: 1px solid var(--border-medium);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.dish-card-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-surface);
}

.dish-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dish-card:hover .dish-card-img img {
  transform: scale(1.04);
}

.dish-card-caption {
  padding: 14px 16px;
  border-top: 1px solid var(--border-light);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: center;
}

.coming-soon-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  background: var(--accent-gold);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* MODERN HORIZONTAL SCROLLING CAROUSEL GALLERY */
.gallery-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.gallery-counter {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-right: 6px;
}

.gallery-nav-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-medium);
  background: var(--bg-card);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.gallery-nav-btn:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #FFFFFF;
}

.carousel-viewport {
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  padding-bottom: 8px;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track.is-dragging {
  scroll-behavior: auto;
  cursor: grabbing;
  user-select: none;
}

.carousel-slide {
  flex: 0 0 calc(25% - 15px);
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid var(--border-medium);
  background: #1A1613;
  cursor: pointer;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.carousel-slide:hover img {
  transform: scale(1.06);
}

.carousel-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,12,10,0) 48%, rgba(14,12,10,0.86) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
  transition: background 0.3s ease;
}

.carousel-slide:hover .carousel-slide-overlay {
  background: linear-gradient(180deg, rgba(14,12,10,0.08) 38%, rgba(14,12,10,0.92) 100%);
}

.carousel-slide-tag {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #E6CBB0;
  margin-bottom: 6px;
}

.carousel-slide-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.25;
}

.carousel-progress-wrap {
  margin-top: 24px;
  height: 2px;
  width: 100%;
  background: var(--border-light);
  position: relative;
  overflow: hidden;
}

.carousel-progress-bar {
  height: 100%;
  width: 25%;
  background: var(--accent-gold);
  transition: transform 0.25s ease, width 0.25s ease;
}

/* LIGHTBOX */
.hm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(14, 12, 10, 0.94);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hm-lightbox.is-open {
  display: flex;
}

.hm-lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hm-lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hm-lightbox-caption {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #FFFFFF;
  text-align: center;
}

.hm-lightbox-close {
  position: fixed;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(14, 12, 10, 0.7);
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hm-lightbox-prev,
.hm-lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(14, 12, 10, 0.7);
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hm-lightbox-prev { left: 24px; }
.hm-lightbox-next { right: 24px; }

@media (max-width: 1100px) {
  .carousel-slide {
    flex: 0 0 calc(33.333% - 14px);
  }
}

@media (max-width: 768px) {
  .gallery-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }
  .carousel-slide {
    flex: 0 0 76%;
  }
  .hm-lightbox-prev { left: 10px; }
  .hm-lightbox-next { right: 10px; }
}

/* BIG IMAGE FRAMES */
.big-img-box {
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.big-img-box img {
  transition: transform 0.6s ease;
}
.big-img-box:hover img {
  transform: scale(1.03);
}

/* FULLSCREEN MOBILE DRAWER */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-main);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 16px 20px 28px;
  box-sizing: border-box;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.drawer-close-btn {
  width: 40px;
  height: 40px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  line-height: 1.25;
  padding: 12px 0;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
}

.mobile-nav-link::after {
  content: '→';
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 300;
}

.mobile-nav-link.active {
  color: var(--accent-terracotta);
  font-weight: 600;
}
.mobile-nav-link.active::after {
  color: var(--accent-terracotta);
}

.mobile-drawer-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-lang-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.mobile-lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 4px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  cursor: pointer;
  border-radius: 0;
  transition: all 0.2s;
}

.mobile-lang-btn .lang-flag-icon {
  width: 18px;
  height: 12px;
}

.mobile-lang-btn:hover {
  border-color: var(--accent-gold);
  color: var(--text-main);
}

.mobile-lang-btn.active {
  background: var(--btn-gold-bg);
  color: var(--btn-gold-color) !important;
  border-color: var(--btn-gold-bg);
}

.mobile-drawer-info {
  margin-top: 8px;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* MENU PAGE DYNAMIC API STYLES */
.menu-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.menu-filter-btn {
  padding: 10px 20px;
  font-size: 0.76rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s;
}

.menu-filter-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.menu-filter-btn.active {
  background: var(--btn-gold-bg);
  color: #FFFFFF !important;
  border-color: var(--btn-gold-bg);
}

.menu-categories-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 40px;
  -webkit-overflow-scrolling: touch;
}

.cat-pill {
  padding: 8px 16px;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  color: var(--text-secondary);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.cat-pill:hover, .cat-pill.active {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: var(--bg-elevated);
}

.menu-section {
  margin-bottom: 60px;
}

.menu-section-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--accent-terracotta);
  border-bottom: 1px solid var(--border-medium);
  padding-bottom: 12px;
  margin-bottom: 28px;
}

.menu-items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.menu-item-card, .menu-item-row {
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  padding: 20px;
  box-shadow: var(--card-shadow);
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.item-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
}

.item-dots {
  flex: 1;
  border-bottom: 1px dotted var(--border-medium);
  margin: 0 8px;
}

.item-price {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent-gold);
  white-space: nowrap;
}

.item-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-top: 6px;
  line-height: 1.5;
}

/* CONTACT PAGE SPECIFIC */
.contact-grid-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  padding: 50px;
  box-shadow: var(--card-shadow);
}

.contact-col {
  min-width: 0;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid var(--border-light);
}

.hours-table td {
  padding: 10px 0;
  font-size: 0.9rem;
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--text-main);
}

/* COOKIE BANNER */
.hm-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #FFFFFF;
  border-top: 1px solid var(--border-medium);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.12);
  padding: 16px 24px;
  box-sizing: border-box;
  z-index: 99999;
}
.cookie-banner-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.cookie-text-col {
  max-width: 820px;
}
.cookie-tag {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  font-weight: 700;
  margin-bottom: 4px;
}
.cookie-desc {
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.5;
  margin: 0;
}
.cookie-desc a {
  color: var(--text-main);
  text-decoration: underline;
  font-weight: 600;
}
.cookie-actions-col {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.btn-cookie {
  padding: 8px 18px;
  font-size: 0.72rem;
  letter-spacing: 1px;
}

/* FOOTER */
footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-light);
  padding: 70px 30px 40px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-wrap {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}
.footer-brand h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-main);
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.footer-links h5 {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-links ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer-links a {
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--text-main);
}
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--border-light);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (MOBILE FIRST)
   ========================================================================== */
@media (max-width: 991px) {
  /* Top strip adjustments */
  .top-strip {
    padding: 6px 12px;
    font-size: 0.65rem;
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  /* Header adjustments: Rigorously side-by-side */
  .header-wrap {
    padding: 0 16px !important;
    height: 64px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .brand-link {
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }

  .brand-logo-img {
    height: 36px !important;
    max-width: 100% !important;
  }

  /* Hide desktop nav and desktop CTA */
  header nav {
    display: none !important;
  }
  .btn-header-cta,
  .header-actions .btn.btn-gold {
    display: none !important;
  }

  /* HEADER ACTIONS: LANGUAGE AND HAMBURGER ARE STRICTLY SIDE BY SIDE */
  .header-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
  }

  .lang-dropdown {
    position: relative !important;
    display: inline-flex !important;
    flex-shrink: 0 !important;
  }

  .lang-dropdown-trigger {
    display: inline-flex !important;
    align-items: center !important;
    height: 38px !important;
    padding: 0 9px !important;
    font-size: 0.72rem !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  .lang-flag-current {
    width: 18px !important;
    height: 12px !important;
    display: block !important;
  }
  .lang-dropdown-list {
    min-width: 155px !important;
    right: 0 !important;
  }

  /* Show mobile hamburger aligned with language button */
  .hamburger-btn {
    display: flex !important;
    width: 38px !important;
    height: 38px !important;
    flex-shrink: 0 !important;
  }

  /* Hero on mobile */
  .page-hero {
    min-height: 70vh !important;
  }
  .page-hero-content {
    padding: 40px 18px 32px !important;
  }
  .page-pretitle {
    font-size: 0.68rem !important;
    letter-spacing: 2px !important;
  }
  .page-title {
    font-size: 2.2rem !important;
  }
  .page-subtitle {
    font-size: 0.95rem !important;
  }

  /* Section grids on mobile */
  .section {
    padding: 60px 18px !important;
  }
  .split-grid, .two-col-grid, .three-col-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .four-col-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }

  .dish-card-caption {
    padding: 10px 10px;
    font-size: 0.92rem;
  }

  .menu-items-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-grid-box {
    grid-template-columns: 1fr !important;
    padding: 24px 18px !important;
    gap: 30px !important;
  }

  /* Footer on mobile */
  footer {
    padding: 50px 18px 30px !important;
  }
  .footer-wrap {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* TOP STRIP PHONE LINK HIGHLIGHT */
.top-strip-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-terracotta) !important;
  font-weight: 700 !important;
  font-size: 0.78rem;
  padding: 3px 10px;
  background: rgba(93, 37, 16, 0.08);
  border: 1px solid rgba(93, 37, 16, 0.25);
  letter-spacing: 1px;
  transition: all 0.2s ease;
  line-height: 1.4;
}
.top-strip-phone:hover {
  background: var(--accent-terracotta);
  color: #FFFFFF !important;
}
.top-strip-phone svg {
  flex-shrink: 0;
}

/* HERO OUTLINE BUTTON - HIGH CONTRAST (WHITE ON DARK PHOTO) */
.page-hero .btn-outline {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
  background: rgba(14, 12, 10, 0.5) !important;
  backdrop-filter: blur(8px);
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.page-hero .btn-outline:hover {
  background: #FFFFFF !important;
  color: var(--accent-terracotta) !important;
  border-color: #FFFFFF !important;
}

/* FLOATING WHATSAPP OVERLAY (TASTO ROTONDO UFFICIALE WHATSAPP) */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
  border-radius: 50% !important; /* Forma ufficiale circolare di WhatsApp */
  background: #25D366 !important;
  color: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 3px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  overflow: hidden;
}

.floating-whatsapp-btn:hover {
  background: #20BA5A !important;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.55), 0 5px 14px rgba(0, 0, 0, 0.25);
  color: #FFFFFF !important;
}

.floating-whatsapp-btn:active {
  transform: scale(0.95);
}

.floating-whatsapp-btn svg {
  width: 32px !important;
  height: 32px !important;
  display: block;
  fill: #FFFFFF !important;
}

@media (max-width: 768px) {
  .floating-whatsapp-btn {
    bottom: 20px;
    right: 18px;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
  }
  .floating-whatsapp-btn svg {
    width: 28px !important;
    height: 28px !important;
  }
}
