/* =========================================================
   NOBI RESTAURANT - KAI LOUNGE BAR LUXURY STYLING & DESIGN SYSTEM
   100% Exact Visual Match to Kai Lounge Bar Aesthetic
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* MIPASTA Luminous Warm Light Beige & Soft Coffee Luxury Palette */
  --bg-emerald-deep: #B65E10;
  --bg-coffee-warm: #E99543;
  --bg-coffee-light: #F0D4B4;
  --bg-cream: #FAF5ED;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-card-inner: #FAF4EB;
  
  --gold-primary: #B65E10;
  --gold-light: #9C5015;
  --gold-dark: #6E4716;
  --gold-border: rgba(184, 134, 11, 0.32);
  --gold-gradient: linear-gradient(135deg, #F9A342 0%, #B65E10 50%, #8B420E 100%);
  --gold-gradient-soft: linear-gradient(135deg, #FAF1DF 0%, #F5E4C3 100%);

  --text-main: #2C1A11;    /* Deep Dark Espresso / High-Contrast Crisp Brown */
  --text-sub: #5C4333;     /* Warm Mocha Brown */
  --text-muted: #826653;   /* Soft Latte Brown */

  --font-serif: 'Cormorant Garamond', serif;
  --font-display: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s ease;

  /* Legacy Compatibility Aliases */
  --primary-red: #8B420E;
  --primary-red-hover: #6E4716;
  --gold-accent: #8B420E;
  --gold-hover: #6E4716;
  --dark-bg: #FAF5ED;
  --dark-card: #FFFFFF;
  --dark-card-border: rgba(198, 156, 109, 0.35);
  --white: #ffffff;
  --shadow-glow: 0 8px 32px rgba(166, 124, 82, 0.18);
  --shadow-card: 0 8px 24px rgba(140, 88, 53, 0.08);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #FAF5ED;
}

body {
  background-color: #FAF5ED;
  /* Luminous Warm Light Beige & Soft Latte Coffee Background */
  background: linear-gradient(180deg, #FBF8F3 0%, #F6EFE5 40%, #F2E8DA 100%);
  color: #2C1A11;
  font-family: var(--font-sans);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body.no-scroll {
  overflow: hidden !important;
}

/* Ambient Warm Light Coffee & Cream Aura Overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.10) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(198, 156, 109, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(223, 202, 174, 0.15) 0%, transparent 40%);
  animation: mesh-pulse 10s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes bg-color-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes mesh-pulse {
  0% { transform: scale(1) rotate(0deg); opacity: 0.8; }
  50% { transform: scale(1.15) rotate(5deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
}

.flag-bar {
  display: none !important;
}

/* =========================================================
   TOP NAVIGATION BAR (WARM COFFEE & GOLD LUXURY)
   ========================================================= */
#topbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(58, 37, 25, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid #E99543;
  padding: 0;
  box-shadow: 0 4px 20px rgba(44, 26, 17, 0.25);
  transition: var(--transition-fast);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 52px;
}

.topbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.topbar-brand-logo {
  height: 38px;
  width: auto;
  max-width: 60px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: transform 0.2s ease;
}

.topbar-brand:hover .topbar-brand-logo {
  transform: scale(1.05);
}

.topbar-brand-text {
  display: flex;
  flex-direction: column;
}

.topbar-brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: #FFFFFF;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.topbar-brand-name .brand-name {
  color: #E99543;
}

.topbar-brand-sub {
  font-size: 0.65rem;
  color: #D5C0A8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Language Selector - Compact Glassmorphism */
.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(200, 162, 122, 0.4);
  color: #FAF5ED;
  padding: 0 8px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
  height: 30px;
}

.lang-btn:hover {
  background: rgba(200, 162, 122, 0.25);
  border-color: #E99543;
}

.lang-arrow {
  font-size: 0.58rem;
  color: #E99543;
  transition: transform 0.2s ease;
}

.lang-selector.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: 36px;
  right: 0;
  background: rgba(58, 37, 25, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(200, 162, 122, 0.4);
  border-radius: 12px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 90px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

.lang-selector.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  background: transparent;
  border: none;
  color: #FAF5ED;
  padding: 5px 8px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.lang-option:hover, .lang-option.active {
  background: rgba(200, 162, 122, 0.2);
  color: #E99543;
}

/* Commande Button - Compact & Sleek */
.btn-cart-nav {
  background: linear-gradient(135deg, #C69C6D 0%, #A67C52 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
  height: 30px;
  white-space: nowrap;
}

.btn-cart-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.3);
}

.cart-count-badge {
  background: #2C1A11;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 900;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hamburger {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(200, 162, 122, 0.4);
  border-radius: var(--radius-sm);
  width: 32px;
  height: 30px;
  min-width: 32px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3.5px;
  cursor: pointer;
  padding: 0;
  margin-left: 2px;
  transition: var(--transition-smooth);
}

.hamburger:hover {
  background: rgba(200, 162, 122, 0.2);
  border-color: #C8A27A;
  transform: translateY(-1px);
}

.hamburger span {
  width: 15px;
  height: 2px;
  background: #C8A27A;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Glassmorphism Navigation Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(58, 37, 25, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 2px solid #E99543;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
  z-index: 999;
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.dropdown-menu.open {
  max-height: 320px;
}

.dropdown-menu a {
  color: #FAF5ED;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(200, 162, 122, 0.2);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown-menu a:hover {
  color: #E99543;
  background: rgba(200, 162, 122, 0.15);
  padding-left: 32px;
}

/* =========================================================
   LUXURY HERO SECTION (CLEAN & NON-OVERLAPPING)
   ========================================================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 420px;
  height: 60vh;
  max-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  text-align: center;
  margin-bottom: 0;
  padding: 1.5rem 1rem;
}

/* =========================================================
   LUXURY HERO SECTION (EXACT PIZZA TASTY DESIGN)
   ========================================================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 420px;
  height: 60vh;
  max-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  text-align: center;
  margin-bottom: 0;
  padding: 1.5rem 1rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.2s ease-in-out, transform 6s ease-out;
  transform: scale(1);
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
  transform: scale(1.04);
}

.hero-slide::after {
  display: none !important;
}

.hero-overlay {
  display: none !important;
}

.hero-top-title {
  position: relative;
  z-index: 3;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2.2vw, 1.15rem);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold-light, #FFA324);
  font-weight: 800;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
  animation: goldPulse 3s ease-in-out infinite alternate;
}

.hero-top-title .brand-name {
  color: #FFFFFF;
}

@keyframes goldPulse {
  0% {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 5px rgba(212, 175, 55, 0.3);
    letter-spacing: 0.45em;
  }
  100% {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.95), 0 0 18px rgba(212, 175, 55, 0.75);
    letter-spacing: 0.48em;
  }
}

.hero-bottom-sub {
  position: relative;
  z-index: 3;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFE7C3 60%, var(--gold-primary, #FFA324) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.9));
}

/* =========================================================
   LUXURY ANIMATED STATS & RATING BAR (EXACT PIZZA TASTY)
   ========================================================= */
.hero-stats-bar {
  width: 100%;
  max-width: 1240px;
  margin: -2.5rem auto 1.5rem;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(198, 156, 109, 0.4);
  border-radius: var(--radius-lg, 24px);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 12px 35px rgba(140, 88, 53, 0.12), 0 0 25px rgba(212, 175, 55, 0.1);
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem 0.5rem;
  border-right: 1px solid rgba(198, 156, 109, 0.2);
  transition: var(--transition-smooth, 0.3s ease);
}

.stat-card:last-child {
  border-right: none;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-rating-stars {
  display: flex;
  gap: 3px;
  color: #FFB800;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 0 8px rgba(255, 184, 0, 0.45));
  animation: starsShine 2.5s ease-in-out infinite alternate;
}

@keyframes starsShine {
  0% { transform: scale(0.98); filter: drop-shadow(0 0 4px rgba(255, 184, 0, 0.3)); }
  100% { transform: scale(1.05); filter: drop-shadow(0 0 12px rgba(255, 184, 0, 0.7)); }
}

.stat-icon {
  font-size: 1.2rem;
  color: #8B420E;
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 0 6px rgba(140, 88, 53, 0.25));
}

.stat-number, .stat-number-static {
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  background: linear-gradient(135deg, #B65E10 0%, #8B420E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.stat-label {
  font-family: var(--font-sans, sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  color: #5C4333;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .hero-stats-bar {
    margin-top: -1.5rem;
  }
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 1rem;
  }
  .stat-card {
    border-right: none;
    border-bottom: 1px solid rgba(198, 156, 109, 0.2);
    padding: 0.6rem 0.25rem;
  }
  .stat-card:nth-child(3), .stat-card:nth-child(4) {
    border-bottom: none;
  }
}

/* =========================================================
   STICKY CATEGORY TABS (LUMINOUS WARM BEIGE BAR)
   ========================================================= */
#main-nav {
  position: sticky;
  top: 52px;
  z-index: 900;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: rgba(253, 248, 241, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-top: 1px solid rgba(198, 156, 109, 0.25);
  border-bottom: 1.5px solid rgba(198, 156, 109, 0.35);
  box-shadow: 0 4px 18px rgba(140, 88, 53, 0.06);
  margin-top: 0;
  margin-bottom: 2rem;
}

.nav-inner {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.85rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.nav-inner::-webkit-scrollbar {
  display: none;
}

.category-btn {
  white-space: nowrap;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1.5px solid rgba(198, 156, 109, 0.3);
  color: #5C4333;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(140, 88, 53, 0.05);
}

.category-btn:hover {
  background: #FAF3E8;
  border-color: var(--gold-primary);
  color: #2C1A11;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(140, 88, 53, 0.12);
}

.category-btn.active {
  background: linear-gradient(135deg, #B8860B 0%, #8C5835 100%);
  border-color: #8C5835;
  color: #FFFFFF;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(140, 88, 53, 0.3);
  transform: translateY(-1px);
}

/* =========================================================
   CATEGORY SECTIONS & HEADERS
   ========================================================= */
main {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.category-section {
  margin-bottom: 3rem;
}

.category-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 1.5px solid rgba(198, 156, 109, 0.35);
  position: relative;
  width: 100%;
}

.category-brush-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: #2C1A11;
  letter-spacing: 0.04em;
  text-shadow: none;
  background: none;
  border: none;
  transform: none;
  box-shadow: none;
  padding: 0;
}

.section-subtitle {
  font-size: 0.85rem;
  color: #6E5343;
  margin-top: 0.25rem;
  font-weight: 600;
}

.category-banner {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 1rem;
  border: 1.5px solid rgba(198, 156, 109, 0.35);
  box-shadow: 0 8px 25px rgba(140, 88, 53, 0.1);
  background: #FFFFFF;
}

.category-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.category-banner:hover img {
  transform: none;
}

/* =========================================================
   MENU GRID & KAI LUXURY LIGHT-BEIGE CARDS (UNIFORM PHOTOS)
   ========================================================= */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.menu-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(198, 156, 109, 0.35);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(140, 88, 53, 0.08);
  transition: var(--transition-smooth);
  animation: fadeInUpCard 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeInUpCard {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-card:hover {
  background: #FFFFFF;
  border-color: var(--gold-primary);
  box-shadow: 0 16px 36px rgba(140, 88, 53, 0.16);
  transform: translateY(-5px);
}

.card-img-container {
  width: calc(100% + 2.5rem);
  margin: -1.15rem -1.25rem 0.9rem -1.25rem;
  height: 220px;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(198, 156, 109, 0.35);
  background: #FAF4EB;
}

.card-img-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
  z-index: 2;
  pointer-events: none;
}

.menu-card:hover .card-img-container::before {
  left: 150%;
}

.card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-card:hover .card-img-container img {
  transform: scale(1.08);
}

.card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.35rem;
}

.card-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #2C1A11;
  line-height: 1.2;
}

.card-subtext {
  font-size: 0.8rem;
  color: #5C4333;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.card-size-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 0.75rem;
  width: 100%;
}

.size-btn {
  width: 100%;
  background: #FAF4EB;
  border: 1px solid rgba(198, 156, 109, 0.35);
  color: #5C4333;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.size-btn strong {
  color: #8C5835;
  font-weight: 800;
}

.size-btn:hover {
  background: linear-gradient(135deg, #B8860B 0%, #8C5835 100%);
  color: #FFFFFF;
  border-color: #8C5835;
}

.size-btn:hover strong {
  color: #FFFFFF;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(198, 156, 109, 0.3);
  gap: 8px;
}

.price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 900;
  color: #8B420E;
}

.hero-cta,
.add-btn {
  background: var(--gold-gradient);
  color: #FFFFFF;
  border: 1px solid #8C5835;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(140, 88, 53, 0.25);
  transition: var(--transition-fast);
}

.add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(140, 88, 53, 0.38);
}

/* =========================================================
   CART DRAWER & OVERLAY (LUMINOUS BEIGE & WARM COFFEE)
   ========================================================= */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 26, 17, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.overlay.open {
  opacity: 1;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 90vw;
  background: #FFFDF9;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-left: 1.5px solid rgba(198, 156, 109, 0.4);
  box-shadow: -10px 0 35px rgba(140, 88, 53, 0.15);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
}

.drawer.open {
  transform: translateX(0);
}

.cart-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1.5px solid rgba(198, 156, 109, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8F1E5;
}

.cart-header h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #2C1A11;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-header h2 i {
  color: #8B420E;
}

.btn-close-cart {
  background: rgba(211, 47, 47, 0.15);
  border: 1px solid rgba(211, 47, 47, 0.4);
  font-size: 0.85rem;
  color: #d32f2f;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-close-cart:hover {
  background: #d32f2f;
  color: #FFFFFF;
}

.cart-body {
  padding: 1.25rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #FFFDF9;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #FFFFFF;
  border: 1.5px solid rgba(198, 156, 109, 0.35);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(140, 88, 53, 0.05);
}

.cart-item-img, .cart-item-img-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(198, 156, 109, 0.4);
}

.cart-item-img-placeholder {
  background: #FAF4EB;
  color: #8B420E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #2C1A11;
}

.cart-item-info span {
  font-size: 0.85rem;
  color: #8B420E;
  font-weight: 800;
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #F3EAE0;
  padding: 2px 6px;
  border-radius: 20px;
  border: 1px solid rgba(198, 156, 109, 0.4);
}

.qty-btn {
  background: transparent;
  border: none;
  color: #5C4333;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 2px 6px;
}

.qty-btn:hover {
  color: #8C5835;
}

.qty-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: #2C1A11;
}

.cart-options-section {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(198, 156, 109, 0.25);
  background: #FAF4EB;
}

.order-type-selector {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.order-type-btn {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid rgba(198, 156, 109, 0.35);
  color: #5C4333;
  padding: 8px 4px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.order-type-btn.active {
  background: var(--gold-gradient);
  color: #FFFFFF;
  font-weight: 800;
  border-color: #8C5835;
  box-shadow: 0 2px 10px rgba(140, 88, 53, 0.25);
}

.order-input {
  width: 100%;
  padding: 8px 12px;
  background: #FFFFFF;
  border: 1.5px solid rgba(198, 156, 109, 0.4);
  border-radius: 8px;
  color: #2C1A11;
  font-size: 0.85rem;
  outline: none;
  font-family: var(--font-sans);
}

.order-input:focus {
  border-color: #8C5835;
  box-shadow: 0 0 0 3px rgba(140, 88, 53, 0.15);
}

.cart-footer {
  padding: 1.25rem;
  border-top: 1.5px solid rgba(198, 156, 109, 0.35);
  background: #F8F1E5;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #2C1A11;
  margin-bottom: 12px;
}

.cart-total-price {
  color: #8B420E;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 900;
}

.btn-whatsapp-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  transition: var(--transition-smooth);
}

.btn-whatsapp-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* =========================================================
   BOTTOM RESERVATION & INFO CARDS (KAI LUXURY STYLE)
   ========================================================= */
#bottom-section {
  max-width: 1280px;
  margin: 2rem auto 4rem;
  padding: 0 1.25rem;
}

.bottom-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.bottom-card {
  background: linear-gradient(135deg, rgba(252, 246, 237, 0.97) 0%, rgba(245, 235, 220, 0.98) 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 20px rgba(184, 134, 11, 0.15);
  color: var(--text-main);
}

.section-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.section-card-sub {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 1.25rem;
}

.res-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.res-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-sub);
}

.res-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: #FFFFFF;
  border: 1px solid rgba(184, 134, 11, 0.4);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
}

.res-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(184, 134, 11, 0.3);
}

.res-btn {
  width: 100%;
  padding: 0.85rem;
  margin-top: 0.5rem;
  border-radius: var(--radius-full);
  background: var(--gold-gradient);
  border: 1px solid var(--gold-primary);
  color: #1A110B;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4);
  transition: var(--transition-smooth);
}

.res-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.55);
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.info-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(242, 232, 218, 0.85);
  border: 1px solid rgba(184, 134, 11, 0.3);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition-fast);
}

.info-box:hover {
  background: #FFF;
  transform: translateY(-2px);
  border-color: var(--gold-primary);
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #1A110B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.info-icon.maps {
  background: #FFFFFF;
  border: 1.5px solid rgba(234, 67, 53, 0.35);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.info-icon.whatsapp {
  background: #25D366;
  color: #FFF;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.28);
}

.info-icon.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #FFF;
  box-shadow: 0 3px 10px rgba(214, 36, 159, 0.28);
}

.info-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-main);
}

.info-text p {
  font-size: 0.78rem;
  color: var(--text-sub);
}

/* =========================================================
   FOOTER (LUMINOUS BEIGE & WARM COFFEE)
   ========================================================= */
footer {
  background: linear-gradient(180deg, #F5EFE6 0%, #EAE0D0 100%);
  border-top: 1.5px solid rgba(198, 156, 109, 0.35);
  padding: 2.5rem 1rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 4px 10px rgba(140, 88, 53, 0.15));
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: #8B420E;
  margin-bottom: 0.3rem;
}

.footer-copy {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: #6E5343;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 640px) {
  .topbar-inner {
    padding: 0 0.5rem;
    height: 48px;
  }

  .topbar-brand-name {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
  }

  .topbar-brand-logo {
    height: 28px !important;
  }

  .topbar-right {
    gap: 4px;
  }

  .lang-code {
    display: none !important;
  }

  .lang-btn {
    padding: 0 6px;
    height: 28px;
    font-size: 0.68rem;
  }

  .btn-cart-nav {
    padding: 0 8px;
    height: 28px;
    font-size: 0.68rem;
  }

  .btn-cart-nav span[data-i18n="nav_cart_btn"] {
    display: none !important;
  }

  .hamburger {
    width: 30px;
    height: 28px;
    min-width: 30px;
    margin-left: 2px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .hero-bottom-sub {
    font-size: 2.2rem;
  }

  .card-size-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    width: 100%;
  }

  .size-btn {
    width: 100%;
    padding: 5px 4px;
    font-size: 0.72rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   CUSTOMIZER / BUILDER MODAL STYLING (MIPASTA EXCLUSIVE)
   ========================================================= */
.builder-step-box {
  background: rgba(242, 232, 218, 0.6);
  border: 1px solid rgba(184, 134, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.builder-step-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.builder-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
}

.builder-pill {
  background: #FFFFFF;
  border: 1.5px solid rgba(184, 134, 11, 0.35);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 3px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  transition: var(--transition-fast);
  user-select: none;
}

.builder-pill:hover {
  border-color: var(--gold-primary);
  background: #FFFDF8;
  transform: translateY(-2px);
}

.builder-pill.selected {
  background: var(--gold-gradient);
  border-color: var(--gold-primary);
  color: #1A110B;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.35);
}

.builder-pill .pill-price {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-dark);
}

.builder-pill.selected .pill-price {
  color: #1A110B;
}

.builder-sticky-footer {
  position: sticky;
  bottom: 0;
  background: #FAF3E8;
  border-top: 2px solid var(--gold-primary);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.15);
  z-index: 10;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.builder-total-display {
  display: flex;
  flex-direction: column;
}

.builder-total-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-sub);
  text-transform: uppercase;
}

.builder-total-price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold-dark);
}

.builder-add-btn {
  background: var(--gold-gradient);
  border: 1px solid var(--gold-primary);
  color: #1A110B;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4);
  transition: var(--transition-fast);
}

.builder-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.55);
}

/* =========================================================
   CUSTOMIZER / BUILDER MODAL OVERLAY & POPUP CONTAINER
   ========================================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44, 26, 17, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal-overlay.open,
.modal-overlay.active {
  display: flex !important;
}

.modal-content {
  position: relative;
  max-width: 650px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  background: #FFFDF9 !important;
  border: 2px solid rgba(198, 156, 109, 0.5);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(140, 88, 53, 0.25), 0 0 30px rgba(184, 134, 11, 0.15);
  margin: auto;
  animation: customizerModalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  scrollbar-width: thin;
  scrollbar-color: #8B420E rgba(0,0,0,0.05);
}

@keyframes customizerModalPop {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(18px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 640px) {
  .modal-overlay {
    padding: 0.6rem;
    align-items: flex-end;
  }

  .modal-content {
    max-height: 92vh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    width: 100%;
  }

  .builder-sticky-footer {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding: 0.85rem 1rem;
  }
}

/* =========================================================
   FLOATING BOTTOM CART BAR (MOBILE / DESKTOP STICKY)
   ========================================================= */
.bottom-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 32px);
  max-width: 480px;
  display: none;
}

.cart-fab {
  width: 100%;
  background: linear-gradient(135deg, #C69C6D 0%, #A67C52 50%, #8C5835 100%);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  padding: 13px 22px;
  border-radius: var(--radius-full);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(140, 88, 53, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cart-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(140, 88, 53, 0.55);
}

.cart-fab-total {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.22);
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

/* Shared master features — no restaurant-specific content. */
[hidden] { display: none !important; }
.master-hero { position:relative; height:60vh; min-height:400px; max-height:620px; justify-content:center; background:#19130d; }
#hero-media,.hero-shade { position:absolute; inset:0; }
#hero-media img,#hero-media video { position:absolute; width:100%;height:100%;object-fit:cover;inset:0; }
.hero-photo { opacity:0;transition:opacity 1s ease; }.hero-photo.active {opacity:1;}
.hero-shade {background:linear-gradient(180deg,#0003,#0008);pointer-events:none;}
.hero-copy {position:relative;z-index:2;text-align:center;max-width:900px;padding:24px;}
.hero-copy h1 {font-family:var(--font-display);font-size:clamp(2rem,7vw,4.8rem);color:#f5dfaa;line-height:1.15;text-shadow:0 3px 12px #0008;}
.hero-copy p {color:white;font-size:clamp(1rem,3vw,1.5rem);margin:16px 0 24px;}
.hero-cta { display: inline-block; text-decoration: none; }
.master-gallery {padding:36px 18px;text-align:center;}.master-gallery h2 {font-family:var(--font-serif);font-size:36px;color:#f5dfaa;margin-bottom:20px;}
.gallery-frame {width:min(100%,380px);margin:auto;padding:7px;border:1px solid #b48c43;border-radius:20px;box-shadow:0 16px 36px #0005;background:#071b14;}
.gallery-viewport {overflow:hidden;border-radius:13px;}#gallery-track {display:flex;direction:ltr;}#gallery-track img {flex:0 0 100%;width:100%;min-width:0;aspect-ratio:3/4;object-fit:cover;}
.category-cover {max-width:700px;margin:0 auto 22px;padding:8px;background:#e5e3df;border-radius:20px;border:1px solid var(--gold-border);}.category-cover img {display:block;width:100%;max-height:440px;object-fit:cover;border-radius:14px;}
.cart-extras {padding:14px 20px;background:#f8f0e2;color:#2a1b12;}.cart-extras h3 {font-size:14px;}.extra-btn {padding:6px 10px;margin:4px;border:1px solid #b8860b66;background:#fffaf2;border-radius:15px;color:#2a1b12;font-size:12px;cursor:pointer;}
.bottom-bar {position:fixed;bottom:12px;left:50%;transform:translateX(-50%);width:min(94%,560px);z-index:100;}
body {padding-bottom:88px;}.drawer {max-height:90dvh;}.cart-options-section {max-height:34vh;overflow:auto;}
#restaurant-address,#restaurant-hours {margin:10px 0;}#restaurant-map {display:inline-block;color:var(--gold-light);margin-bottom:12px;}
@media(max-width:600px){.master-hero{height:52vh;min-height:360px;}.hero-stars{letter-spacing:1em;}.category-cover img{max-height:340px;}}
@media(prefers-reduced-motion:reduce){.hero-stars{animation:none;}.hero-photo{transition:none;}}

.drawer .cart-body {flex:1 1 auto;min-height:100px;overflow:auto;} .drawer .cart-footer {flex-shrink:0;}.drawer .cart-options-section {flex-shrink:0;} .gallery-frame {position:relative;} .gallery-frame img {display:block;} .menu-card {min-width:0;} :focus-visible {outline:2px solid #d4af37;outline-offset:3px;}


/* Exact shared hero typography from Suchi 57. */
.menu-hero-copy {position:relative;z-index:3;max-width:800px;margin:auto;padding:0 20px 35px;width:min(100%,1000px);}
.menu-hero-copy .hero-top-title {line-height:1.8;}
@media(max-width:640px){.menu-hero-copy .hero-top-title{font-size:.72rem;letter-spacing:.18em;animation-name:mobileGoldPulse;}.menu-hero-copy .hero-bottom-sub{font-size:clamp(2rem,8vw,3rem);}.stat-number-static{font-size:clamp(1.3rem,3vw,2.2rem);}}
@keyframes mobileGoldPulse {from{text-shadow:0 0 5px #d4af3750;}to{text-shadow:0 0 18px #d4af37c0;}}
@media(prefers-reduced-motion:reduce){.stat-rating-stars,.hero-top-title{animation:none;}}

/* Lamma Benna brand accents and MiPasta hero alignment. */
.master-hero {justify-content:flex-start;min-height:420px;max-height:560px;}
.menu-hero-copy {margin:0 auto;padding:0;}
.menu-hero-copy .hero-top-title {color:#ffad48;}
.topbar-brand-logo {object-fit:cover;}
#hero-media .hero-photo {transition:opacity 1.2s ease,transform 6s ease-out;}
#hero-media .hero-photo.active {transform:scale(1.04);}
@media(max-width:600px){.master-hero{min-height:340px;}}
@media(prefers-reduced-motion:reduce){#hero-media .hero-photo{transition:none;transform:none;}}

.footer-logo {width:min(230px,70vw);height:auto;border-radius:10px;}

#cat-cat-1 .card-img-container {
  height: auto;
  aspect-ratio: 16 / 10;
}

#cat-cat-1 .card-img-container img {
  display: block;
}

#cat-cat-1 .menu-card:hover .card-img-container img {
  transform: none;
}

#cat-cat-3 .card-img-container {
  height: auto;
  aspect-ratio: 16 / 9;
}

#cat-cat-3 .card-img-container img,
#cat-cat-3 .menu-card:hover .card-img-container img {
  display: block;
  object-fit: cover;
  transform: scale(1.12);
}

#cat-cat-3 .menu-card .card-img-container img[src$="poulet-roti-landscape.webp"] {
  transform: scale(1.16);
}

#cat-cat-4 .card-img-container {
  height: auto;
}

#cat-cat-4 .card-img-container img {
  display: block;
  height: auto;
}

#cat-cat-4 .menu-card:hover .card-img-container img {
  transform: none;
}

#cat-cat-3 .menu-card .card-img-container img[src$="tajine-boeuf-landscape.webp"] {
  transform: scale(1.04);
}

#cat-cat-2 .card-img-container {
  height: 240px;
}


/* MiPasta colors for public controls. */
:where(.category-btn, .add-btn, .hero-cta, .size-btn, .order-type-btn,
       .builder-pill, .extra-btn, .res-btn, .btn-cart-nav, .lang-btn) {
  --gold-primary: #B8860B;
  --gold-light: #9E703A;
  --gold-gradient: linear-gradient(135deg, #C69C6D 0%, #A67C52 50%, #8C5835 100%);
  --primary-red: #8C5835;
  --gold-accent: #8C5835;
}

.size-btn[aria-pressed="true"],
.item-choices .size-btn:has(input:checked) {
  background: var(--gold-gradient);
  color: #1A110B;
  border-color: var(--gold-primary);
  font-weight: 800;
}

.size-btn[aria-pressed="true"] strong {
  color: inherit;
}

.item-choices {
  border: 0;
  min-width: 0;
  margin-top: 8px;
}

.item-choices legend {
  margin-bottom: 8px;
  font-size: 0.76rem;
  font-weight: 700;
}

.item-choices :is(.builder-pill, .size-btn) {
  position: relative;
}

.item-choices input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.item-choices .builder-pill:has(input:checked) {
  background: var(--gold-gradient);
  border-color: var(--gold-primary);
  color: #1A110B;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.35);
}

.item-choices :is(.builder-pill, .size-btn):has(input:focus-visible) {
  outline: 2px solid var(--gold-primary);
  outline-offset: 2px;
}

.card-content .card-size-options {
  margin-bottom: 0.75rem;
}

.btn-open-builder {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

.plat-composer {
  position: fixed;
  inset: 0;
  margin: auto;
  height: fit-content;
  max-height: calc(100dvh - 2.5rem);
  width: min(650px, calc(100% - 2.5rem));
  padding: 0;
  overflow: hidden;
  color: var(--text-main);
}

.plat-composer::backdrop {
  background: rgba(44, 26, 17, 0.55);
  backdrop-filter: blur(8px);
}

.plat-composer form {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 2.5rem - 4px);
}

.plat-composer-heading {
  position: relative;
  min-height: 130px;
  flex: 0 0 160px;
  display: flex;
  align-items: end;
  padding: 20px 60px 20px 20px;
  isolation: isolate;
  background: #5C4333;
}

.plat-composer-heading img,
.plat-composer-heading::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.plat-composer-heading img {
  object-fit: cover;
  z-index: -2;
}

.plat-composer-heading::after {
  content: "";
  z-index: -1;
  background: linear-gradient(transparent, rgba(44, 26, 17, 0.8));
}

.plat-composer-heading h3 {
  color: #FFFDF9;
  font-family: var(--font-display);
  font-size: clamp(1rem, 4vw, 1.5rem);
}

.plat-composer-body {
  overflow-y: auto;
  padding: 20px 24px;
}

.plat-composer-body .item-choices {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(184, 134, 11, 0.35);
  border-radius: 14px;
  background: #F5EFE4;
}

.plat-composer-body legend {
  padding: 0 6px;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.plat-composer-total {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 24px;
  border-top: 2px solid #B8860B;
  background: #F8F2E7;
}

.plat-composer-total span {
  display: block;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: #5C4333;
}

.plat-composer-total strong {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #6E4716;
}

.plat-composer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(198, 156, 109, 0.5);
  background: rgba(255, 255, 255, 0.9);
  color: #2C1A11;
  font-size: 1.25rem;
  cursor: pointer;
}

.plat-composer .builder-add-btn {
  --gold-primary: #B8860B;
  --gold-gradient: linear-gradient(135deg, #C69C6D 0%, #A67C52 50%, #8C5835 100%);
  margin-left: auto;
}

html:has(.plat-composer[open]),
body:has(.plat-composer[open]) {
  overflow: hidden;
}

.plat-composer-body {
  overscroll-behavior: contain;
}

#cat-cat-5 .card-img-container {
  height: 240px;
}

#cat-cat-8 .card-img-container {
  height: 240px;
}

#cat-cat-8 :is([data-item-id="item-50"], [data-item-id="item-55"], [data-item-id="item-56"], [data-item-id="item-58"], [data-item-id="item-61"]) .card-img-container {
  height: 290px;
  flex-shrink: 0;
}

#cat-cat-8 :is([data-item-id="item-54"], [data-item-id="item-55"], [data-item-id="item-56"]) .card-img-container img {
  transform: scale(1.20);
}

#cat-cat-11 .card-img-container,
#cat-cat-14 .card-img-container {
  height: 260px;
  flex-shrink: 0;
}

#cat-cat-8 .menu-card[data-item-id="item-54"] .card-img-container img {
  transform: scale(1.28);
}

.cart-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drawer .cart-scroll .cart-body,
.drawer .cart-scroll .cart-options-section {
  max-height: none;
  overflow: visible;
}

.drawer .cart-header,
.drawer .cart-footer,
.cart-item-img,
.cart-item-img-placeholder {
  flex-shrink: 0;
}

.drawer .cart-options-section {
  max-height: 43dvh;
  overscroll-behavior: contain;
}

.cart-extras h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.extra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.extra-grid .extra-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 5px 7px;
  border-radius: 8px;
  text-align: left;
  font-size: 0.7rem;
}

.extra-grid .extra-btn strong {
  color: #8C5835;
  white-space: nowrap;
}

.extra-grid .extra-btn:hover {
  background: #F5E4C3;
}

#language-toggle {
  font-family: var(--font-sans);
  padding: 2px 5px;
  font-size: .68rem;
  min-width: 0;
  min-height: 0;
  height: 24px;
  line-height: 1;
  white-space: nowrap;
}

[dir="rtl"] .menu-card,
[dir="rtl"] .extra-grid .extra-btn {
  text-align: start;
}

[dir="rtl"] .drawer {
  direction: rtl;
}

[dir="rtl"] input[type="tel"] {
  direction: ltr;
  text-align: right;
}

/* Full restaurant logo in the navigation. */
#topbar .topbar-brand-logo {
  width: 190px;
  max-width: 100%;
  height: auto !important;
  max-height: 56px;
  object-fit: contain;
}
@media (max-width: 600px) {
  #topbar .topbar-brand-logo { width: 140px; max-height: 42px; }
  #topbar .topbar-brand { min-width: 0; }
}

#cat-cat-15 .card-img-container {
  height: 290px;
  flex-shrink: 0;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.contact-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(166, 124, 82, .4);
  border-radius: 12px;
  background: #FAF4EB;
  color: #573720;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 700;
}
.contact-socials a:hover { background: #f0e1ce; }

.contact-socials a[href*="instagram.com"] {
  background: linear-gradient(120deg, #f58529, #dd2a7b, #8134af);
  color: #fff;
  border-color: transparent;
}
.contact-socials a[href*="facebook.com"] {
  background: #1877f2;
  color: #fff;
  border-color: transparent;
}
.contact-socials a[href*="tiktok.com"] {
  background: #111;
  color: #fff;
  border-color: #111;
}
.contact-socials a[href*="tiktok.com"] i {
  text-shadow: -2px -1px #25f4ee, 2px 1px #fe2c55;
}
.contact-socials a:hover { filter: brightness(1.1); }
