:root {
  /* Palette — "Ceylon emerald & antique brass" (demo build) */
  --bg-color: #F3F1EC;          /* limestone */
  --text-color: #17221E;        /* emerald ink */

  --accent-color: #87653A;      /* antique brass (text-safe on light) */
  --accent-soft: rgba(135, 101, 58, 0.12);
  --accent-contrast: #FBF8F1;   /* text on brass/emerald surfaces */

  --gold: #C9A96A;              /* brass for dark surfaces */
  --emerald: #163A31;
  --emerald-deep: #0D241E;

  --card-bg: #FFFEFB;
  --border-color: #E3DDD0;

  --bg-accent-1: #EEEBE4;
  --bg-accent-2: #E7E4DA;
  --bg-accent-3: #F7F5F0;

  --danger: #A8433B;
  --success: #2F6B55;

  --font-family: 'Inter', sans-serif;
  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  
  /* Layout Constants */
  --nav-height: 70px;
  --section-spacing: 100px;
  --container-max-width: 1000px;

  /* Visual enhancements - only colors/animations */
  --bg-gradient-1: linear-gradient(120deg, #F1EFE9 0%, #F4F2ED 45%, #EEF0EB 100%);
  --bg-gradient-2: radial-gradient(1000px 600px at 10% 10%, rgba(201,169,106,0.10), transparent 12%), radial-gradient(800px 500px at 90% 85%, rgba(22,58,49,0.06), transparent 14%);
  --motion-duration: 14s;
  --blob-filter-strength: blur(110px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Animated Background Component */
#animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: var(--bg-color);
  overflow: hidden;
}

.blob {
  position: absolute;
  filter: blur(100px);
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
  will-change: transform;
}

.blob-1 {
  width: 60vh;
  height: 60vh;
  background: var(--bg-accent-1);
  top: -10%;
  left: -5%;
}

.blob-2 {
  width: 70vh;
  height: 70vh;
  background: var(--bg-accent-2);
  bottom: -10%;
  right: -5%;
}

.blob-3 {
  width: 50vh;
  height: 50vh;
  background: var(--bg-accent-3);
  top: 30%;
  right: 20%;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent, var(--bg-color) 85%);
  pointer-events: none;
}

/* Decorative animated gradient overlay (pure CSS) */
#animated-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  /* quiet stone wash with a faint brass/emerald cast */
  background-image: linear-gradient(120deg, rgba(238,233,222,0.95) 0%, rgba(245,243,238,0.92) 45%, rgba(230,235,229,0.92) 100%), var(--bg-gradient-2);
  background-blend-mode: normal, screen;
  opacity: 0.95;
  pointer-events: none;
  will-change: transform, background-position;
  animation: gradientShift var(--motion-duration) ease-in-out infinite;
  mix-blend-mode: multiply; /* deepen colors behind content */
}

@keyframes gradientShift {
  0% { transform: translate3d(0,0,0) scale(1); background-position: 0% 0%, 0% 0%; }
  50% { transform: translate3d(2%, -1.5%, 0) scale(1.02); background-position: 30% 70%, 60% 40%; }
  100% { transform: translate3d(0,0,0) scale(1); background-position: 0% 0%, 0% 0%; }
}

/* Make blobs slightly softer and animated by CSS (complements existing GSAP motion) */
.blob { filter: var(--blob-filter-strength); transition: transform 0.4s ease; opacity: 0.55; }
.blob-1 { background: linear-gradient(180deg, #E9DEC6, #DCCBA5); animation: blobFloat 16s ease-in-out infinite; }
.blob-2 { background: linear-gradient(180deg, #D5DED6, #C3D0C6); animation: blobFloat 18s ease-in-out infinite reverse; }
.blob-3 { background: linear-gradient(180deg, #F2ECDF, #E8DFCB); animation: blobFloat 14s ease-in-out infinite; }

@keyframes blobFloat {
  0% { transform: translateY(0) scale(1) rotate(0deg); }
  50% { transform: translateY(-22px) scale(1.03) rotate(2.5deg); }
  100% { transform: translateY(0) scale(1) rotate(0deg); }
}

/* Image overlay — purely visual (does not affect markup or JS logic) */
.item-image-wrapper { position: relative; }
.item-image { display: block; transition: transform 0.7s cubic-bezier(.2,.9,.2,1); }
.item-image::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.08)); mix-blend-mode: multiply; }

/* Menu item hover polish (visual only) */
.menu-item { transition: transform 0.45s cubic-bezier(.2,.9,.2,1), box-shadow 0.45s; }
.menu-item:hover { transform: translateY(-6px); box-shadow: 0 28px 50px rgba(23,34,30,0.06); }

/* Nav link micro-interaction */
.nav-link { transition: transform 0.28s cubic-bezier(.2,.9,.2,1), box-shadow 0.28s, color 0.25s; }
.nav-link:hover { transform: translateY(-4px); color: var(--accent-color); }


.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
}

/* Header — demo brand hero.
   Deep emerald field with a soft brass glow and a fine inset frame; the
   logo slot is a placeholder until a client's logo goes in. */
header {
  position: relative;
  overflow: hidden;
  background-color: var(--emerald);
  padding: 90px 0 60px;
  text-align: center;
  color: var(--accent-contrast);
}

.header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(201, 169, 106, 0.22), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 120%, rgba(0, 0, 0, 0.35), transparent 70%),
    linear-gradient(180deg, var(--emerald) 0%, var(--emerald-deep) 100%);
}

/* fine inset frame, like a printed menu card */
.header-bg::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(201, 169, 106, 0.35);
  pointer-events: none;
}

.header-content {
  position: relative;
  z-index: 1;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 22px);
  margin-bottom: 10px;
}

.brand-lockup .brand-icon {
  width: clamp(84px, 12vw, 116px);
  height: clamp(84px, 12vw, 116px);
  color: var(--gold);
}

.brand-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: #F7F2E7;
}

.header-script {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  letter-spacing: 0.06em;
  color: var(--gold);
  margin: 6px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.header-script::before,
.header-script::after {
  content: '';
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

@media (max-width: 480px) {
  header { padding: 64px 0 44px; }
  .header-bg::after { inset: 10px; }
}

/* Logo placeholder — shared by header, language screen and footer */
.logo-placeholder {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  flex-shrink: 0;
}

.logo-placeholder-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.logo-placeholder-mark {
  width: 32%;
  height: 32%;
}

.logo-placeholder-label {
  margin-top: 4%;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(0.72rem, 1.4vw, 0.85rem);
  letter-spacing: 0.04em;
  line-height: 1;
  opacity: 0.85;
}

/* Global Overlay Loader */
#loader {
  position: fixed;
  inset: 0;
  background-color: var(--bg-color);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent-soft);
  border-top-color: var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  color: var(--accent-color);
  text-transform: uppercase;
}

/* Category Navigation */
.nav-wrapper {
  background-color: var(--bg-color);
  backdrop-filter: blur(20px);
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  width: 100%;
  padding-top: 40px;
  display: none;
}

.nav-header {
  position: relative;
  text-align: center;
  margin-bottom: 20px;
  padding: 0 90px;
  transition: all 0.4s ease;
}

.categories-grid-btn {
  touch-action: manipulation;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.categories-grid-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.categories-grid-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.categories-grid-btn:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background-color: var(--accent-soft);
}

.nav-wrapper.is-sticky .categories-grid-btn {
  height: 40px;
  padding: 0 20px;
}

.nav-wrapper.is-sticky .categories-grid-btn svg { width: 14px; height: 14px; }

/* Sticky-nav language switcher — mirrors .categories-grid-btn but on the
   left, so it stays reachable while scrolling a long menu instead of only
   living up in the header. */
#nav-language-switch {
  touch-action: manipulation;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#nav-language-switch svg { width: 16px; height: 16px; flex-shrink: 0; }

#nav-language-switch:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background-color: var(--accent-soft);
}

.nav-wrapper.is-sticky #nav-language-switch {
  height: 40px;
  padding: 0 20px;
}

.nav-wrapper.is-sticky #nav-language-switch svg { width: 14px; height: 14px; }

/* Icon-only on mobile — showing full text on both side buttons left too
   little room for the center title/location chip and looked cluttered. */
@media (max-width: 768px) {
  .categories-grid-btn { width: 34px; padding: 0; }
  .categories-grid-label { display: none; }
  #nav-language-switch { width: 34px; padding: 0; }
  #nav-language-switch span { display: none; }
  .nav-header { padding: 0 46px; }
}

/* On very narrow screens, tighten further still. */
@media (max-width: 360px) {
  .nav-header { padding: 0 42px; }
}

.nav-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent-color);
  opacity: 0.8;
  margin-bottom: 8px;
}

.nav-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-color);
  transition: all 0.4s ease;
}

.nav-wrapper.is-sticky .nav-header {
  margin-bottom: 0;
  padding: 10px 0;
}

.nav-wrapper.is-sticky .nav-title {
  font-size: 1.2rem;
}

.nav-wrapper.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--bg-accent-1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-bottom: 1px solid var(--accent-soft);
  padding-top: 0;
  display: block;
}

nav {
  display: flex;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(23, 34, 30, 0.22) transparent;
  gap: 12px;
  padding: 16px 0;
  justify-content: space-between;
  scroll-snap-type: x proximity;
  touch-action: pan-x;
  cursor: grab;
  overscroll-behavior-x: contain;
}

nav:active {
  cursor: grabbing;
}

@media (max-width: 768px) {
  nav { 
    justify-content: flex-start;
    padding: 16px 20px;
  }
}

nav::-webkit-scrollbar {
  height: 6px;
}

nav::-webkit-scrollbar-track {
  background: transparent;
}

nav::-webkit-scrollbar-thumb {
  background: rgba(23, 34, 30, 0.18);
  border-radius: 999px;
}

.nav-link {
  white-space: nowrap;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 10px 24px;
  border-radius: 40px;
  background-color: transparent;
  border: 1px solid var(--border-color);
  opacity: 0.6;
}

.nav-link:hover {
  opacity: 1;
  border-color: var(--accent-color);
  color: var(--accent-color);
  background-color: var(--accent-soft);
}

.nav-link.active {
  opacity: 1;
  color: #fff;
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 4px 12px var(--accent-soft);
}

.nav-link.active::after {
  display: none;
}

/* Menu Content */
.menu-section {
  padding-top: 60px;
  margin-bottom: var(--section-spacing);
}

.category-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
  max-width: 300px;
  opacity: 0.4;
}

.divider-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, transparent, var(--accent-color), transparent);
}

.divider-ornament {
  color: var(--accent-color);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  font-family: var(--font-serif);
}

.category-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 400;
  margin-bottom: 60px;
  color: var(--text-color);
  text-align: center;
  position: relative;
}

.category-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
  margin: 15px auto 0;
  opacity: 0.5;
}

/* Items List */
.items-list {
  display: grid;
  gap: 40px;
  max-width: 850px;
  margin: 0 auto;
}

/* Menu Item Card */
.menu-item {
  display: flex;
  background-color: rgba(255,255,255,0.98);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(5px);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

/* Prevent flex children from overflowing on narrow screens */
.menu-item, .items-list { min-width: 0; }
.item-info { flex: 1 1 auto; min-width: 0; }

.menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--accent-color);
  transition: height 0.4s ease;
  z-index: 2;
}

.menu-item:hover::before {
  height: 100%;
}

.menu-item:hover {
  border-color: var(--accent-color);
  box-shadow: 0 20px 40px rgba(23, 34, 30, 0.06);
}

.menu-item.has-image {
  flex-direction: row;
}

@media (max-width: 650px) {
  .menu-item.has-image {
    flex-direction: column;
  }

  .item-image-wrapper {
    min-width: auto; /* override desktop min-width */
  }

  /* reduce inner padding so content stays within the card */
  .item-info {
    padding: 18px;
  }

  .item-header {
    flex-direction: column;
    gap: 8px;
  }
}

.item-image-wrapper {
  width: 260px;
  min-width: 260px;
  overflow: hidden;
  position: relative;
}

.item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.menu-item:hover .item-image {
  transform: scale(1.1);
}

@media (max-width: 650px) {
  .item-image-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
  }
}

.item-info {
  padding: 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 15px;
}

.item-name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--text-color);
}

.item-price {
  font-family: var(--font-family);
  font-weight: 500;
  color: var(--accent-color);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.item-description {
  font-size: 1rem;
  color: rgba(23,34,30,0.78);
  margin-bottom: 25px;
  line-height: 1.8;
  font-weight: 300;
}

.item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 12px;
  border-radius: 0;
  font-weight: 600;
  background-color: transparent;
  color: var(--accent-color);
  border: 1px solid var(--border-color);
}

.tag.popular {
  background-color: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

/* Add to Order Button */
.add-to-cart {
  margin-top: auto;
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid var(--text-color);
  padding: 14px 28px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
}

.add-to-cart:hover {
  background-color: var(--text-color);
  color: #fff;
}

/* Language Switch */
.language-switch {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(251, 248, 241, 0.92);
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: background 0.2s ease, transform 0.15s ease;
}

.language-switch svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.language-switch:hover {
  background: #FFFFFF;
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .language-switch { top: 14px; right: 14px; padding: 8px 12px; font-size: 0.72rem; }
}

/* Footer */
footer {
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
  margin-top: 100px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 30px;
}

.social-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.social-links a:hover {
  opacity: 1;
  color: var(--accent-color);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #8C8A82;
  opacity: 0.5;
}

.footer-logo {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 40px;
  left: 40px;
  width: 50px;
  height: 50px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  scale: 0;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  #back-to-top {
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
  }
}

#back-to-top:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-5px);
}

/* Featured Section Styling */
.featured-section {
    background-color: rgba(135, 101, 58, 0.035);
    padding: 80px 40px;
    margin: 60px auto;
    max-width: 1000px;
    border-radius: 4px;
    border: 1px dashed var(--border-color);
    position: relative;
}

.featured-title {
    color: var(--accent-color);
    font-style: italic;
    font-size: 3rem;
}

.featured-list .menu-item {
    background-color: var(--card-bg);
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  #back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* Cart Icon & FAB */
#cart-fab {
  touch-action: manipulation;
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  color: var(--accent-contrast);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  #cart-fab {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}

#cart-fab:hover {
  transform: scale(1.1);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--text-color);
  color: var(--bg-color);
  font-size: 0.7rem;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cart Drawer */
#cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100%;
  background-color: var(--bg-color);
  box-shadow: none;
  z-index: 1000;
  padding: 40px;
  transition: right 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.5s ease;
  display: flex;
  flex-direction: column;
}

@media (max-width: 500px) {
  #cart-drawer {
    width: 100%;
    right: -100%;
  }
}

#cart-drawer.open {
  right: 0;
  /* shadow only while open — when closed it leaked onto the page edge */
  box-shadow: -10px 0 40px rgba(13, 36, 30, 0.35);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.cart-header h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
}

.close-cart {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-info h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.cart-item-info p {
  opacity: 0.6;
  font-size: 0.8rem;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  border-radius: 4px;
}

.qty-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border-radius: 2px;
}

.qty-btn:hover {
  background-color: var(--accent-color);
  color: var(--bg-color);
  border-color: var(--accent-color);
}

.qty-value {
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.remove-item {
  background: none;
  border: none;
  color: var(--danger);
  font-size: 0.7rem;
  cursor: pointer;
  opacity: 0.6;
  padding: 4px 8px;
  margin-right: -8px;
  transition: all 0.3s ease;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.remove-item:hover {
  opacity: 1;
  text-decoration: underline;
}

.cart-summary {
  padding-top: 20px;
  border-top: 2px solid var(--border-color);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.summary-row.total {
  font-size: 1.4rem;
  font-family: var(--font-serif);
  color: var(--accent-color);
  margin-top: 10px;
}

.checkout-btn {
  width: 100%;
  padding: 16px;
  background-color: var(--accent-color);
  color: var(--accent-contrast);
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 20px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.checkout-btn:hover {
  opacity: 0.9;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 110px;
  left: 40px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

@media (max-width: 600px) {
  .toast-container {
    left: 20px;
    bottom: 90px;
  }
}

.toast {
  background-color: var(--card-bg);
  border-left: 3px solid var(--accent-color);
  color: var(--text-color);
  padding: 12px 20px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  min-width: 200px;
  max-width: 320px;
  pointer-events: all;
  border-top: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.toast-icon {
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-error {
  border-left-color: var(--danger);
}

.toast-error .toast-icon {
  color: var(--danger);
}

.toast-message em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--accent-color);
}

/* Loading Indicator */

#cart-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.7);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transition: all 0.3s ease;
}

#cart-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ============================================================================
   ADDED: language screen, location chip, ordering hint, notes, confirmation.
   Reuses existing variables/fonts so it matches the rest of the template.
   ============================================================================ */

/* Language selection screen (first screen, once per restaurant) */
#language-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.language-screen-logo {
  width: 112px;
  height: 112px;
  margin: 0 auto 22px;
  display: flex;
  animation: languageLogoPop 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes languageLogoPop {
  from { opacity: 0; transform: scale(0.6) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

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

.language-screen-content h1 {
  animation: languageFadeUp 0.6s ease-out 0.15s both;
}

.language-screen-title {
  animation: languageFadeUp 0.6s ease-out 0.28s both;
}

.language-options .language-option {
  animation: languageFadeUp 0.5s ease-out both;
}

.language-options .language-option:nth-child(1) { animation-delay: 0.4s; }
.language-options .language-option:nth-child(2) { animation-delay: 0.48s; }
.language-options .language-option:nth-child(3) { animation-delay: 0.56s; }
.language-options .language-option:nth-child(4) { animation-delay: 0.64s; }

@media (prefers-reduced-motion: reduce) {
  .language-screen-logo, .language-screen-content h1, .language-screen-title, .language-options .language-option {
    animation: none;
  }
}

.language-screen-content h1 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.language-screen-title {
  color: var(--accent-color);
  font-family: var(--font-serif);
  font-style: italic;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

.language-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 260px;
  margin: 0 auto;
}

.language-option {
  padding: 18px 24px;
  background: var(--emerald);
  border: 2px solid transparent;
  color: var(--accent-contrast);
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(23, 34, 30, 0.18);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.language-option:hover,
.language-option:focus-visible {
  background: var(--accent-color);
  border-color: var(--gold);
  transform: translateY(-1px);
}

/* Table/Room chip — modern pill card, reused in header and cart drawer */
.location-chip-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 6px 6px 6px 16px;
  box-shadow: 0 4px 16px rgba(23, 34, 30, 0.07);
  font-size: 0.85rem;
  color: var(--text-color);
  margin-top: 10px;
}

.location-chip-pill .loc-icon {
  width: 15px;
  height: 15px;
  color: var(--accent-color);
  flex-shrink: 0;
}

.location-chip-pill .loc-label {
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

button.loc-change {
  touch-action: manipulation;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: var(--accent-soft);
  color: var(--accent-color);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.location-chip-pill button.loc-change {
  width: 26px;
  height: 26px;
}

button.loc-change:hover {
  background: var(--accent-color);
  color: #fff;
}

button.loc-change svg {
  width: 12px;
  height: 12px;
}

.location-chip-pill button.loc-change svg {
  width: 13px;
  height: 13px;
}

#location-chip {
  display: flex;
  justify-content: center;
}

/* Compact chip shown inside .nav-title itself (replacing "Menu" text) when
   ordering is active — one row instead of a separate stacked one above. */
.nav-location-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-color);
  white-space: nowrap;
}

.nav-location-chip .loc-icon {
  width: 14px;
  height: 14px;
  color: var(--accent-color);
  flex-shrink: 0;
}

.nav-wrapper.is-sticky .nav-location-chip {
  font-size: 0.8rem;
}

.cart-location-chip {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.cart-location-chip .location-chip-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 6px 6px 6px 16px;
  box-shadow: 0 4px 16px rgba(23, 34, 30, 0.07);
  font-size: 0.85rem;
  color: var(--text-color);
}

.cart-location-chip .loc-icon {
  width: 15px;
  height: 15px;
  color: var(--accent-color);
  flex-shrink: 0;
}

/* Location picker modal (table/room switcher) */
#location-picker-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.location-picker {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 32px;
  max-width: 320px;
  width: 100%;
  text-align: center;
}

.location-picker h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.location-picker select {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--card-bg);
  color: var(--text-color);
  font-size: 1rem;
}

.location-picker button {
  width: 100%;
  padding: 14px;
  background: var(--accent-color);
  color: var(--accent-contrast);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
}

/* Ordering hint (public browse-only view) */
#ordering-hint {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100vw - 32px);
  width: 480px;
  margin: 0;
  padding: 14px 16px 14px 20px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--accent-contrast);
  background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
  border: 1px solid rgba(201, 169, 106, 0.3);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

#ordering-hint .hint-icon {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

#ordering-hint .hint-text {
  flex: 1;
}

#ordering-hint .hint-close {
  background: none;
  border: none;
  color: rgba(251, 248, 241, 0.6);
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  line-height: 0;
}

#ordering-hint .hint-close:hover {
  color: #fff;
}

#ordering-hint .hint-close svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 480px) {
  #ordering-hint { bottom: 10px; padding: 12px 12px 12px 16px; }
}

/* Per-item note in cart */
.cart-item {
  display: block;
}

.cart-item-main {
  display: flex;
  justify-content: space-between;
}

.add-note-link {
  background: none;
  border: none;
  color: var(--accent-color);
  font-size: 0.75rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px 0;
  margin-top: 6px;
}

.note-input {
  display: none;
  margin-top: 8px;
}

.note-input.open {
  display: block;
}

.note-input textarea {
  width: 100%;
  min-height: 50px;
  padding: 8px 10px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: 0.85rem;
  resize: vertical;
}

/* Order confirmation */
#order-confirmation-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.order-confirmation {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 48px 40px;
  max-width: 340px;
  width: 100%;
  text-align: center;
}

.order-confirmation h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.order-status-line {
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.order-total-line {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.cancel-order-btn {
  display: none;
  width: 100%;
  padding: 12px;
  background: none;
  border: 1px solid var(--danger);
  color: var(--danger);
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================================
   Order history — "My Orders" floating button + panel
   ============================================================================ */
#order-history-fab {
  touch-action: manipulation;
  position: fixed;
  bottom: 116px;
  right: 40px;
  width: 48px;
  height: 48px;
  background-color: var(--emerald);
  color: var(--gold);
  border: 1px solid rgba(201, 169, 106, 0.35);
  border-radius: 50%;
  cursor: pointer;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

#order-history-fab:hover { transform: scale(1.08); }

#order-history-fab svg { width: 20px; height: 20px; }

#order-history-fab .oh-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--accent-color);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  #order-history-fab {
    bottom: 82px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

#order-history-overlay {
  position: fixed;
  inset: 0;
  z-index: 1150;
  background-color: var(--bg-color);
  display: none;
  flex-direction: column;
}

#order-history-overlay.open {
  display: flex;
}

.order-history-panel {
  flex: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.order-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}

.order-history-header h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.3rem;
}

.oh-close {
  touch-action: manipulation;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-color);
  opacity: 0.6;
}

.order-history-list {
  overflow-y: auto;
  padding: 8px 24px;
  flex: 1;
}

.oh-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.oh-item:last-child { border-bottom: none; }

.oh-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.78rem;
}

.oh-time { color: var(--text-color); opacity: 0.6; }

.oh-status {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.68rem;
  padding: 3px 9px;
  border-radius: 999px;
}

.oh-status-new, .oh-status-preparing { background: var(--accent-soft); color: var(--accent-color); }
.oh-status-completed { background: rgba(47, 107, 85, 0.12); color: var(--success); }
.oh-status-cancelled { background: rgba(168, 67, 59, 0.12); color: var(--danger); }

.oh-lines {
  font-size: 0.88rem;
  margin-bottom: 6px;
  line-height: 1.4;
}

.oh-total {
  font-weight: 600;
  text-align: right;
}

.order-history-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.oh-clear {
  touch-action: manipulation;
  margin: 0 24px 20px;
  padding: 12px;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-color);
  opacity: 0.65;
  font-size: 0.8rem;
  cursor: pointer;
}

.oh-clear:hover { opacity: 1; border-color: var(--danger); color: var(--danger); }

/* ============================================================================
   Categories overlay — "all categories" jump screen for large menus
   ============================================================================ */
#categories-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.categories-overlay-panel {
  background: var(--bg-color);
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.categories-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}

.categories-overlay-header h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.3rem;
}

.cat-overlay-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-color);
  opacity: 0.6;
}

.categories-overlay-grid {
  overflow-y: auto;
  padding: 20px 24px 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}

.cat-overlay-cell {
  touch-action: manipulation;
  padding: 12px 8px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
  color: var(--text-color);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-align: center;
  line-height: 1.3;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  transition: all 0.2s ease;
}

.cat-overlay-cell:hover,
.cat-overlay-cell:active {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background-color: var(--accent-soft);
}

/* ============================================================================
   Confirm modal — replaces window.confirm() for cancel-order / clear-history
   ============================================================================ */
.confirm-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.confirm-modal {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 28px 24px;
  max-width: 320px;
  width: 100%;
  text-align: center;
}

.confirm-modal p {
  font-size: 0.95rem;
  color: var(--text-color);
  margin-bottom: 22px;
  line-height: 1.5;
}

.confirm-modal-actions {
  display: flex;
  gap: 10px;
}

.confirm-modal-btn {
  flex: 1;
  padding: 11px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-color);
  transition: opacity 0.2s ease;
}

.confirm-modal-btn:hover { opacity: 0.85; }

.confirm-modal-confirm {
  border: none;
  background: var(--accent-color);
  color: #fff;
}

.confirm-modal-confirm.danger {
  background: var(--danger);
}

/* Order history item — cancel button + total on one row */
.oh-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.oh-cancel-btn {
  background: none;
  border: 1px solid rgba(168, 67, 59, 0.4);
  color: var(--danger);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

.oh-cancel-btn:hover {
  background: rgba(168, 67, 59, 0.1);
}

/* Studio Credit Badge */
/* Studio Credit — shown in the footer only, centered */
#studio-credit {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: #8C8A82;
  text-decoration: none;
  font-size: 0.72rem;
  opacity: 0.7;
}

#studio-credit img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: inline-block;
}

@media (max-width: 420px) {
  #studio-credit { font-size: 0.68rem; padding: 3px 5px; }
  #studio-credit img { width: 20px; height: 20px; }
}

#studio-credit span {
  font-size: 0.62rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 768px) {
  #studio-credit {
    bottom: 20px;
    padding: 7px 12px;
  }

  #studio-credit span {
    font-size: 0.56rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 520px) {
  #studio-credit {
    max-width: calc(100vw - 70px);
    padding: 7px 10px;
  }

  #studio-credit span {
    white-space: normal;
    font-size: 0.5rem;
  }
}

/* Indicate horizontal scrollability on mobile */
.nav-scroll-hint {
  display: none;
}

@media (max-width: 768px) {
  .nav-scroll-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(23, 34, 30, 0.6);
    opacity: 0.9;
  }

  .nav-scroll-hint::before,
  .nav-scroll-hint::after {
    content: '→';
    font-size: 0.8rem;
    color: var(--accent-color);
    margin: 0 8px;
  }

  .nav-scroll-hint::before {
    transform: rotate(180deg);
  }
}
/* Call the Waiter — fixed bottom-center pill */
#call-waiter-fab {
  touch-action: manipulation;
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  z-index: 101;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  background-color: var(--accent-color);
  color: var(--accent-contrast);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#call-waiter-fab svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

#call-waiter-fab:hover {
  transform: translateX(-50%) scale(1.05);
}

#call-waiter-fab:disabled {
  opacity: 0.6;
  cursor: default;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  #call-waiter-fab {
    bottom: 20px;
    padding: 11px 18px;
    font-size: 0.78rem;
  }
}

/* ============================================================================
   Demo luxury pass — colour & type refinements only (no layout changes).
   ============================================================================ */
::selection { background: rgba(201, 169, 106, 0.35); color: var(--text-color); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Cormorant runs lighter and smaller than Playfair — rebalance weights/sizes */
.nav-title,
.category-title,
.item-name,
.featured-title,
.cart-header h2,
.language-screen-content h1 { font-weight: 500; }

.category-title { font-size: 3.1rem; letter-spacing: 0.005em; }
.item-name { font-size: 1.75rem; line-height: 1.15; }
.nav-title { font-size: 2rem; }
.nav-wrapper.is-sticky .nav-title { font-size: 1.35rem; }
.language-screen-content h1 { text-transform: none; font-size: 2.8rem; letter-spacing: 0.01em; }
.loading-text { font-size: 1.1rem; color: var(--accent-color); }

@media (max-width: 768px) {
  .category-title { font-size: 2.5rem; }
}

/* Header language pill — glass over emerald instead of a white chip */
.language-switch {
  background: rgba(251, 248, 241, 0.08);
  color: #F7F2E7;
  border: 1px solid rgba(201, 169, 106, 0.45);
  box-shadow: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.language-switch:hover {
  background: rgba(201, 169, 106, 0.18);
  color: #F7F2E7;
}

/* Category pills: selected state in emerald with brass text */
.nav-link.active {
  color: var(--gold);
  background-color: var(--emerald);
  border-color: var(--emerald);
  box-shadow: 0 6px 16px rgba(13, 36, 30, 0.18);
}

/* Cards: hairline brass on hover, deeper soft shadow */
.menu-item { background-color: var(--card-bg); }
.menu-item:hover {
  border-color: rgba(135, 101, 58, 0.45);
  box-shadow: 0 24px 48px rgba(13, 36, 30, 0.08);
}
.menu-item::before { width: 2px; background-color: var(--gold); }

.category-title::after { height: 1px; width: 56px; opacity: 0.8; }

.tag { border-color: rgba(135, 101, 58, 0.35); }
.tag.popular { color: var(--accent-contrast); }

.add-to-cart:hover { color: var(--accent-contrast); }

/* Floating actions: cart in emerald/brass, call-waiter & checkout in brass */
#cart-fab {
  background-color: var(--emerald);
  color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 169, 106, 0.4), 0 12px 28px rgba(13, 36, 30, 0.35);
}
.cart-count { background-color: var(--gold); color: var(--emerald-deep); }

#order-history-fab .oh-count { color: var(--accent-contrast); }

#call-waiter-fab,
.checkout-btn,
.location-picker button {
  color: var(--accent-contrast);
}

.language-option:hover,
.language-option:focus-visible { color: var(--accent-contrast); }

.featured-section { border-style: solid; border-color: rgba(135, 101, 58, 0.25); }

footer { border-top-color: rgba(135, 101, 58, 0.25); }

.language-screen-content h1 { line-height: 1.1; }
.language-option {
  border-radius: 4px;
  border: 1px solid rgba(201, 169, 106, 0.35);
  box-shadow: 0 8px 20px rgba(13, 36, 30, 0.14);
}
.language-option:hover,
.language-option:focus-visible { border-color: var(--gold); }
