:root {
  --bg: #f7f3ec;
  --surface: #fffdf9;
  --surface-dark: #1e2b28;
  --text: #26322e;
  --muted: #78817c;
  --gold: #b89455;
  --gold-dark: #96743d;
  --green: #29443d;
  --border: #e7dfd2;
  --danger: #b84b42;
  --shadow: 0 12px 35px rgba(39, 52, 47, 0.1);
  --radius: 18px;
  --max-width: 760px;
}

/* Reset */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
  padding-bottom: 90px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;

  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  column-gap: 4px;

  height: 72px;
  padding: 0 18px;

  background: rgba(247, 243, 236, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.icon-button {
  display: grid;
  place-items: center;

  width: 44px;
  height: 44px;

  color: var(--green);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;

  font-size: 25px;
  line-height: 1;
}

.icon-button:hover {
  color: white;
  background: var(--green);
}

.brand {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 9px;
  min-width: 0;
  text-align: center;
  letter-spacing: 0.14em;
}

.brand-logo {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  object-fit: contain;
  visibility: hidden;
}

.brand-logo[hidden] {
  display: none;
}

.brand-name {
  white-space: nowrap;
}

@media (max-width: 359px) {
  .site-header {
    padding-inline: 12px;
  }

  .brand .brand-name {
    font-size: 15px;
    letter-spacing: 0.06em;
  }
}

@media (min-width: 900px) {
  .brand-logo {
    width: 42px;
    height: 42px;
  }
}

.brand-name {
  color: var(--green);
  font-size: 17px;
  font-weight: bold;
}

.brand-location {
  margin-top: 1px;
  color: var(--gold-dark);
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 0.28em;
}

/* Side Menu */

.side-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;

  width: min(86vw, 340px);
  padding: 22px;

  background: var(--surface);
  box-shadow: 10px 0 35px rgba(0, 0, 0, 0.14);

  transform: translateX(-105%);
  transition: transform 0.3s ease;
}

.side-menu.open {
  transform: translateX(0);
}

.side-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.side-menu-header h2 {
  color: var(--green);
  font-size: 22px;
}

.close-button,
.close-section-button {
  width: 36px;
  height: 36px;

  color: var(--green);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;

  font-size: 25px;
  line-height: 1;
}

.main-navigation {
  display: grid;
  gap: 4px;
  margin-top: 20px;
}

.main-navigation a {
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);

  color: var(--text);
  font-size: 16px;
}

.main-navigation a:hover {
  color: var(--gold-dark);
}

.menu-overlay,
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;

  background: rgba(20, 29, 26, 0.48);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-overlay.visible,
.cart-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Main Layout */

main {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Hero */

.hero-section {
  padding: 36px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, rgba(35, 59, 53, 0.96), rgba(35, 59, 53, 0.8));
  color: white;
}

.hero-content {
  width: 100%;
  min-width: 0;
  max-width: 560px;
  margin: 0 auto;
}

.hero-media {
  min-width: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
}

.hero-media[hidden] { display: none; }

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  visibility: hidden;
}

.hero-actions a { min-height: 44px; }

@media (max-width: 599px) {
  .hero-text { margin-bottom: 22px; }
  .hero-actions { gap: 10px; }
}

.eyebrow {
  margin-bottom: 8px;

  color: var(--gold-dark);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-section .eyebrow {
  color: #e4c98d;
}

.hero-section h1 {
  max-width: 480px;
  margin-bottom: 18px;

  font-size: clamp(38px, 9vw, 70px);
  font-weight: normal;
  line-height: 1.05;
}

/* Keep the mobile hero title on two centred lines. */
@media (max-width: 599px) {
  .hero-section h1 {
    max-width: none;
    text-align: center;
    font-size: clamp(20px, 7.5vw, 40px);
  }

  .hero-heading-line {
    white-space: nowrap;
  }
}

.hero-text {
  max-width: 430px;
  margin-bottom: 28px;

  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

/* Buttons */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;
  padding: 12px 20px;

  border-radius: 999px;

  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.04em;
  transition: 0.2s ease;
}

.primary-button {
  color: white;
  background: var(--gold-dark);
  border: 1px solid var(--gold-dark);
}

.primary-button:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.secondary-button {
  color: var(--green);
  background: transparent;
  border: 1px solid var(--gold-dark);
}

.hero-section .secondary-button {
  color: white;
  border-color: rgba(255, 255, 255, 0.6);
}

.secondary-button:hover {
  color: white;
  background: var(--green);
}

.hero-section .secondary-button:hover {
  color: var(--green);
  background: white;
}

.full-width {
  width: 100%;
}

/* General Sections */

.offer-section,
.restaurant-info,
.search-section,
.category-section,
.menu-section,
.booking-section,
.booking-form-section,
.about-section,
.contact-section,
.location-section {
  padding: 28px 18px;
}

.section-heading,
.menu-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

h2 {
  color: var(--green);
  font-size: clamp(26px, 6vw, 38px);
  font-weight: normal;
  line-height: 1.1;
}

/* Offer */

.offer-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;

  padding: 20px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.offer-icon {
  display: grid;
  flex: 0 0 38px;
  place-items: center;

  width: 38px;
  height: 38px;

  color: white;
  background: var(--gold-dark);
  border-radius: 50%;
}

.offer-label {
  margin-bottom: 5px;

  color: var(--gold-dark);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.14em;
}

.offer-content h2 {
  margin-bottom: 7px;
  font-size: 21px;
}

.offer-content p:last-child {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 13px;
}

/* Restaurant Info */

.restaurant-info {
  display: grid;
  gap: 12px;
  padding-top: 0;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;

  padding: 16px;

  background: rgba(255, 253, 249, 0.65);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.info-icon {
  color: var(--gold-dark);
  font-size: 24px;
}

.info-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 15px;
}

.info-card p {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 12px;
}

/* Search */

.search-section {
  padding-top: 12px;
  padding-bottom: 16px;
}

.search-section label {
  display: block;
  margin-bottom: 8px;

  color: var(--green);
  font-size: 17px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 9px;

  height: 50px;
  padding: 0 13px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
}

.search-box:focus-within {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(184, 148, 85, 0.14);
}

.search-box-icon {
  color: var(--gold-dark);
  font-size: 24px;
}

.search-box input {
  flex: 1;

  min-width: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;

  font-family: Arial, sans-serif;
  font-size: 14px;
}

.search-box input::placeholder {
  color: #9ca39f;
}

.search-box button {
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: 22px;
}

/* Categories */

.category-section {
  padding-top: 16px;
  padding-bottom: 8px;
}

.menu-navigation-area {
  --category-sticky-top: 72px;
  --category-row-height: 64px;
  --category-inline-padding: 18px;
}

.category-scroll-wrapper {
  position: sticky;
  top: var(--category-sticky-top);
  z-index: 30;
  display: flex;
  align-items: center;
  height: var(--category-row-height);
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.category-list {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  gap: 9px;
  height: 100%;
  padding: 9px var(--category-inline-padding);

  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-padding-inline: var(--category-inline-padding);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-list::-webkit-scrollbar {
  display: none;
}

.category-arrow {
  display: none;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 44px;
  padding: 0;
  color: var(--green);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 26px;
  line-height: 1;
}

.category-arrow:hover:not(:disabled) {
  color: white;
  background: var(--green);
}

.category-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.category-button {
  flex: 0 0 auto;
  min-height: 44px;

  padding: 10px 14px;

  color: var(--green);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;

  font-family: Arial, sans-serif;
  font-size: 12px;
  white-space: nowrap;
}

.category-button.active,
.category-button:hover {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

/* Viewport Menu control; cart clearance is measured in app.js. */
.floating-category-menu {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  margin: 0;
  padding: 10px 14px;
  color: white;
  background: var(--green);
  border: 1px solid var(--gold);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(30, 43, 40, 0.18);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: bottom 0.25s ease, opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.floating-category-menu.is-visible {
  transform: translateY(0);
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.floating-category-menu.cart-visible {
  bottom: var(--floating-menu-cart-bottom, 92px);
}

@media (max-width: 599px) {
  .floating-category-menu {
    right: 14px;
    bottom: 20px;
  }
}

.floating-category-panel[hidden] {
  display: none !important;
}

.floating-category-panel {
  position: fixed;
  top: calc(var(--category-sticky-top) + var(--category-row-height) + 8px);
  right: max(16px, calc((100vw - var(--max-width)) / 2 + 8px));
  display: flex;
  flex-direction: column;
  width: min(340px, calc(100vw - 32px));
  max-height: max(0px, calc(100dvh - var(--category-sticky-top) - var(--category-row-height) - var(--category-panel-clearance, 24px) - 16px));
  overflow: hidden;
  padding: 14px;
  color: var(--green);
  background: var(--bg);
  border: 1px solid var(--gold);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.floating-category-panel-heading {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.floating-category-panel-heading h3 {
  font-size: 18px;
  font-weight: normal;
}

#closeFloatingCategoryPanel {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  color: var(--green);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 24px;
}

.floating-category-list {
  display: grid;
  gap: 8px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.floating-category-list .category-button {
  width: 100%;
  text-align: left;
  white-space: normal;
}

.floating-category-menu:focus-visible,
.floating-category-panel button:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
}

/* Menu */

.menu-section {
  padding-top: 14px;
  overflow-anchor: none;
  scroll-margin-top: calc(var(--category-sticky-top) + var(--category-row-height) + 12px);
}

.menu-heading {
  align-items: center;
  margin-bottom: 13px;
}

.menu-heading h2 {
  font-size: 29px;
}

#menuItemCount {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 12px;
}

.menu-items {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  contain: layout;
  gap: 12px;
}

/* Menu Item */

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 13px;

  min-height: 150px;
  padding: 14px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 17px rgba(39, 52, 47, 0.05);
}

.menu-item-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.menu-item-title-row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.food-indicator {
  flex: 0 0 auto;

  width: 13px;
  height: 13px;
  margin-top: 5px;

  border: 2px solid;
}

.food-indicator.veg {
  border-color: #258548;
}

.food-indicator.non-veg {
  border-color: #c64b43;
}

.food-indicator::after {
  display: block;

  width: 5px;
  height: 5px;
  margin: 2px auto;

  border-radius: 50%;

  content: "";
}

.food-indicator.veg::after {
  background: #258548;
}

.food-indicator.non-veg::after {
  background: #c64b43;
}

.menu-item h3 {
  color: var(--green);
  font-size: 17px;
  font-weight: normal;
  line-height: 1.2;
}

.menu-item-description {
  display: -webkit-box;
  overflow: hidden;

  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 11px;
  line-height: 1.4;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.menu-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.menu-item-price {
  color: var(--green);
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: bold;
}

.menu-item-image-area {
  position: relative;
  align-self: start;

  width: 112px;
  height: 120px;
  background: #eee8de;
  border-radius: 13px;
}

.menu-item-image {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  background: #eee8de;
  border-radius: 13px;
}

.add-button,
.quantity-control {
  position: absolute;
  right: 7px;
  bottom: 7px;
}

.add-button {
  min-width: 62px;
  padding: 7px 11px;

  color: var(--green);
  background: white;
  border: 1px solid var(--gold-dark);
  border-radius: 7px;

  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
}

.add-button:hover {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

.quantity-control {
  display: flex;
  align-items: center;
  overflow: hidden;

  background: white;
  border: 1px solid var(--gold-dark);
  border-radius: 7px;
}

.quantity-control button {
  width: 27px;
  height: 29px;

  color: var(--green);
  background: transparent;
  border: 0;

  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: bold;
}

.quantity-control span {
  min-width: 23px;

  color: var(--green);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
}

.empty-message {
  padding: 35px 15px;

  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-align: center;
}

/* Booking */

.booking-section {
  padding-top: 34px;
}

.booking-card {
  padding: 26px 20px;

  color: white;
  background:
    linear-gradient(
      135deg,
      rgba(35, 59, 53, 0.98),
      rgba(35, 59, 53, 0.88)
    );
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.booking-card .eyebrow {
  color: #e4c98d;
}

.booking-card h2 {
  margin-bottom: 12px;
  color: white;
}

.booking-card p:not(.eyebrow) {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-family: Arial, sans-serif;
  font-size: 13px;
}

/* Booking Form */

.booking-form-section {
  margin: 0 18px 25px;
  padding: 22px 18px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.booking-form-section .section-heading {
  align-items: center;
}

#bookingForm {
  display: grid;
  gap: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: grid;
  gap: 6px;
}

.form-group label {
  color: var(--green);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;

  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
  outline: 0;

  font-family: Arial, sans-serif;
  font-size: 13px;
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(184, 148, 85, 0.14);
}

/* About, Contact, Location */

#aboutDescription p + p {
  margin-top: 12px;
}

.about-section,
.contact-section,
.location-section {
  border-top: 1px solid var(--border);
}

.about-section h2,
.contact-section h2,
.location-section h2 {
  margin-bottom: 12px;
}

.about-section p:not(.eyebrow),
.location-section p:not(.eyebrow) {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 13px;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-links a {
  padding: 13px 15px;

  color: var(--green);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;

  font-family: Arial, sans-serif;
  font-size: 13px;
}

.contact-links a:hover {
  color: white;
  background: var(--green);
}

.location-section .secondary-button {
  margin-top: 16px;
}

/* Floating WhatsApp */

.floating-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 40;

  padding: 12px 16px;

  color: white;
  background: #198754;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(25, 135, 84, 0.3);

  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
}

.floating-whatsapp.menu-visible {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
}

.floating-whatsapp:hover {
  background: #11683f;
}

/* Cart Bar */

.cart-bar {
  position: fixed;
  right: 14px;
  bottom: 18px;
  left: 14px;
  z-index: 45;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  max-width: calc(var(--max-width) - 28px);
  margin: 0 auto;
  padding: 12px 14px;

  color: white;
  background: var(--green);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(30, 43, 40, 0.3);
}

.cart-bar[hidden] {
  display: none !important;
}

.cart-bar div {
  display: grid;
  gap: 2px;
}

.cart-bar strong {
  font-family: Arial, sans-serif;
  font-size: 12px;
}

.cart-bar span {
  color: #e4c98d;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
}

.cart-button {
  padding: 9px 13px;

  color: var(--green);
  background: white;
  border: 0;
  border-radius: 8px;

  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
}

/* Cart Panel */

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 110;

  display: block;
  overflow-y: auto;
  overscroll-behavior: contain;
  height: 100dvh;

  width: min(94vw, 430px);
  padding: 22px;

  background: var(--surface);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.14);

  transform: translateX(105%);
  transition: transform 0.3s ease;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-bottom: 17px;
  border-bottom: 1px solid var(--border);
}

.cart-panel-header h2 {
  font-size: 26px;
}

.cart-items {
  padding: 18px 0;
}

.cart-empty {
  padding: 50px 10px;

  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;

  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item h3 {
  color: var(--green);
  font-size: 15px;
  font-weight: normal;
}

.cart-item p {
  margin-top: 3px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 12px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-controls button {
  width: 25px;
  height: 25px;

  color: var(--green);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 5px;

  font-family: Arial, sans-serif;
  font-weight: bold;
}

.cart-summary {
  display: grid;
  gap: 10px;

  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.cart-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;

  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 13px;
}

.cart-summary strong {
  color: var(--text);
}

.cart-summary .cart-total-row {
  margin-top: 4px;
  padding-top: 13px;
  border-top: 1px solid var(--border);

  color: var(--green);
  font-size: 16px;
  font-weight: bold;
}

.cart-summary .cart-total-row strong {
  color: var(--green);
  font-size: 19px;
}

/* Footer */

.site-footer {
  padding: 32px 18px;

  color: rgba(255, 255, 255, 0.72);
  background: var(--surface-dark);

  font-family: Arial, sans-serif;
  font-size: 11px;
  text-align: center;
}

.footer-brand {
  margin-bottom: 7px;

  color: #e4c98d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  letter-spacing: 0.16em;
}

.website-credit {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.website-credit a {
  color: #e4c98d;
  text-decoration: none;
  text-underline-offset: 3px;
}

.website-credit a:hover,
.website-credit a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.website-credit a:focus-visible {
  outline: 2px solid #e4c98d;
  outline-offset: 3px;
  border-radius: 2px;
}

/* Tablet */

@media (min-width: 600px) {
  .category-scroll-wrapper {
    padding-inline: 8px;
  }

  .category-arrow {
    display: flex;
  }

  .category-list {
    padding-inline: 10px;
    scroll-padding-inline: 10px;
  }

  .menu-navigation-area {
    --category-inline-padding: 30px;
  }

  .site-header {
    padding: 0 28px;
  }

  .hero-section {
    min-height: 470px;
    padding: 100px 42px;
  }

  .offer-section,
  .restaurant-info,
  .search-section,
  .category-section,
  .menu-section,
  .booking-section,
  .about-section,
  .contact-section,
  .location-section {
    padding-right: 30px;
    padding-left: 30px;
  }

  .restaurant-info {
    grid-template-columns: 1fr 1fr;
  }

  .menu-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-item {
    grid-template-columns: minmax(0, 1fr) 112px;
  }

  .menu-item h3 {
    font-size: 15px;
  }
}

/* Desktop */

@media (min-width: 900px) {
  .menu-navigation-area {
    --category-sticky-top: 0px;
  }

  body {
    padding-bottom: 40px;
  }

  .site-header {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    border-right: 1px solid var(--border);
    border-left: 1px solid var(--border);
  }

  .hero-section {
    width: min(1120px, 100vw);
    margin-left: calc((100% - min(1120px, 100vw)) / 2);
    border-radius: 0 0 24px 24px;
    padding: 48px 40px;
    gap: 36px;
  }

  .hero-section.has-hero-image {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .hero-section h1 {
    font-size: clamp(42px, 4.3vw, 52px);
  }

  .floating-whatsapp {
    right: 28px;
    bottom: 28px;
  }

  .menu-item {
    grid-template-columns: minmax(0, 1fr) 112px;
  }
}
.today-offer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px}.today-offer-card{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.today-offer-image{aspect-ratio:16/9;background:#e7dfd2;overflow:hidden}.today-offer-image img{display:block;width:100%;height:100%;object-fit:cover}.today-offer-image img[hidden]{display:none}.today-offer-content{padding:20px}.today-offer-content h3,.today-offer-content p{margin:10px 0}.offer-prices strong{font-size:24px;color:var(--green)}.offer-prices del{color:var(--muted)}.offer-actions{display:flex;flex-wrap:wrap;gap:10px}.today-offer-content button,.cart-offer button{min-height:44px;padding:10px 14px}button:disabled{cursor:default;opacity:.6}.offer-message,#checkoutIssue{color:var(--danger);font-size:14px;margin:10px 0}.order-type-label{display:flex;align-items:center;gap:12px;padding:16px 20px}#orderType{min-height:44px;padding:8px}.cart-offer{padding:16px 0;border-bottom:1px solid var(--border)}@media(max-width:600px){.today-offer-grid{grid-template-columns:minmax(0,1fr)}}

/* Cart and checkout share the panel's single scroll area. */
body.cart-open {position:fixed;width:100%;overflow:hidden;}
.cart-panel [hidden] {display:none !important;}
.cart-panel-header {position:sticky;top:-22px;z-index:2;background:var(--surface);padding-top:12px;}
.cart-panel:not(.open) {visibility:hidden;}
.cart-panel {padding-bottom:max(24px,env(safe-area-inset-bottom));}
.cart-item {grid-template-columns:minmax(0,1fr) auto;align-items:start;}
.cart-item h3,.cart-offer h3 {overflow-wrap:anywhere;}
.cart-item-right {display:grid;gap:8px;justify-items:end;}
.item-amount {font: bold 13px Arial,sans-serif;white-space:nowrap;}
.cart-item-controls {gap:4px;}
.cart-item-controls button {width:44px;height:44px;}
.cart-item-controls strong {min-width:18px;text-align:center;}
.cart-summary > div {gap:12px;align-items:start;}
.cart-summary strong {white-space:nowrap;}
.cart-summary .food-instructions {display:block;}
.cart-panel .form-group {margin:16px 0;}
.cart-panel label {display:block;font:14px Arial,sans-serif;margin-bottom:7px;}
.cart-panel input,.cart-panel select,.cart-panel textarea {box-sizing:border-box;width:100%;min-height:44px;padding:10px;border:1px solid var(--border);border-radius:8px;font:16px Arial,sans-serif;background:var(--surface);color:var(--text);}
.cart-panel textarea {resize:none;overflow:hidden;}
.cart-panel button {min-height:44px;}
.cart-panel .order-type-label {display:flex;padding:16px 0;}
#orderType {width:auto;}
.pricing-info {font:12px/1.5 Arial,sans-serif;color:var(--muted);margin:12px 0;}
.field-error {color:var(--danger);font:13px/1.4 Arial,sans-serif;margin-top:6px;}
.field-error:empty {display:none;}
.cart-panel [aria-invalid="true"] {border-color:var(--danger);}
#checkoutForm {margin-top:16px;}

#checkoutIssue:empty {display:none;}

/* Configuration-driven direct-order savings. */
.savings-panel {margin:12px 0 10px;padding:14px;border:1px solid var(--border);border-radius:14px;background:var(--bg);}
.savings-panel h3 {color:var(--green);font-size:18px;line-height:1.25;}
.savings-support {margin:4px 0 12px;font:12px/1.4 Arial,sans-serif;color:var(--muted);}
.discount-tiers {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.discount-tier {display:grid;grid-template-columns:1fr;align-content:start;gap:4px;min-width:0;padding:10px 8px;border:1px solid var(--border);border-radius:9px;background:var(--surface);font-family:Arial,sans-serif;}
.tier-range {font-size:11px;line-height:1.4;color:var(--green);overflow-wrap:anywhere;}
.discount-tier strong {font-size:23px;line-height:1.15;color:var(--green);}
.tier-status {min-height:15px;font-size:10px;line-height:15px;font-weight:bold;text-transform:uppercase;letter-spacing:.5px;color:var(--green);}
.discount-tier.is-applied {border:2px solid var(--gold-dark);padding:9px 7px;background:#f1e8d6;}
.savings-note,.subtotal-note,.delivery-area-note {font:11px/1.5 Arial,sans-serif;color:var(--muted);}
.savings-panel .savings-note {margin-top:10px;}
.delivery-info {margin:0 0 10px;padding:0 2px;font:12px/1.5 Arial,sans-serif;color:var(--green);}
.delivery-area-note {margin-top:4px;color:var(--green);}
.cart-panel .order-type-label {margin:0;padding:6px 0 8px;}
.cart-items {padding:4px 0 12px;}
.cart-summary .subtotal-note {margin-top:-5px;}

/* Full website savings and the compact cart disclosure share tier cards. */
.website-savings {margin:8px 18px 28px;padding:20px;background:var(--surface);}
.website-savings h3 {font-size:25px;}
.website-savings .tier-range {font-size:12px;}
.website-savings .discount-tier {padding:14px;}
.website-savings .discount-tier.is-applied {padding:13px;}
.website-savings .discount-tier strong {font-size:28px;}
.cart-savings {margin:12px 0 8px;}
.cart-savings-summary {font: bold 13px/1.5 Arial,sans-serif;color:var(--green);}
.discount-toggle {display:block;padding:5px 0;border:0;background:transparent;color:var(--gold-dark);font:13px Arial,sans-serif;text-decoration:underline;text-underline-offset:3px;}
.discount-toggle:focus-visible {outline:2px solid var(--gold-dark);outline-offset:3px;}
.cart-savings .savings-panel {margin:4px 0 12px;}
@media (min-width:600px) {
  .website-savings {margin-left:28px;margin-right:28px;padding:24px;}
  .website-savings .discount-tiers {grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
}

/* Direct table booking offers */
.booking-offers { padding: 18px; margin-bottom: 20px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; }
.booking-offers h3 { color: var(--green); margin-bottom: 12px; }
.booking-offers > p, .booking-offer-message { font: 13px/1.5 Arial, sans-serif; color: var(--green); }
.booking-handoff-status { color: var(--green); font-size: 14px; }
.booking-handoff-status:not(:empty) { margin: 10px 0; }
.booking-handoff-status.is-error { color: var(--danger); }
#retryBookingWhatsApp[hidden] { display: none; }
.booking-offers > p { margin-top: 12px; }
.booking-offer-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.booking-offer-card { display: grid; align-content: start; gap: 5px; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; color: var(--green); overflow-wrap: anywhere; }
.booking-offer-card > span { font: 13px/1.5 Arial, sans-serif; }
.booking-offer-card strong { font-size: 24px; white-space: nowrap; }
.booking-offer-card.is-selected { border: 2px solid var(--gold-dark); padding: 13px; box-shadow: 0 0 0 2px rgba(184, 148, 85, .15); }
.booking-selected { font-weight: bold !important; }
#bookingForm .form-group { min-width: 0; }
@media (max-width: 374px) { .booking-offer-cards { grid-template-columns: minmax(0, 1fr); } }

/* Compact mobile hero spacing; keep image and button geometry unchanged. */
@media (max-width: 599px) {
  .hero-section { padding-block: 30px; }
  .hero-section h1 { margin-bottom: 14px; }
  .hero-section .hero-text { margin-bottom: 22px; }
}

/* Native modal blocks the cart and floating controls without another overlay. */
body.handoff-dialog-open { overflow: hidden; }
.whatsapp-return-dialog { margin: auto; width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.whatsapp-return-dialog::backdrop { background: rgba(20, 29, 26, .6); }
.whatsapp-return-dialog h2 { font-size: 24px; line-height: 1.25; color: var(--green); }
.whatsapp-return-dialog p { margin: 14px 0 20px; font: 15px/1.5 Arial, sans-serif; }
.whatsapp-return-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.whatsapp-return-actions button { min-height: 44px; flex: 1 1 140px; }
.order-notice { position: fixed; top: 84px; left: 50%; transform: translateX(-50%); z-index: 210; width: max-content; max-width: calc(100% - 32px); padding: 14px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--green); box-shadow: var(--shadow); font: 14px/1.5 Arial, sans-serif; }
.order-notice[hidden] { display: none; }

/* Smart scroll navigation; app.js chooses a clear position on the right. */
.scroll-navigation {
  position: fixed;
  top: 16px;
  right: 14px;
  z-index: 81;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--green);
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(30, 43, 40, 0.18);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.scroll-navigation.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.scroll-navigation[data-direction="up"] svg { transform: rotate(180deg); }
.scroll-navigation:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .scroll-navigation { transition: none; }
}
