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

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --cream: #faf8f5;
  --gold: #c9a96e;
  --gold-light: #e8d5b7;
  --gold-dark: #a88b4a;
  --charcoal: #2c2c2c;
  --gray: #6e6e6e;
  --light-gray: #e8e4df;
  --border: #e0dcd6;
  --danger: #c0392b;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 70px; /* desktop size */
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo img {
    height: 55px; /* tablets */
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 45px; /* small phones */
  }
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-link:hover {
  color: var(--gold-dark);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--gold-dark);
}

.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Reserve space for the account label to prevent header shift */
#accountNavLabel {
  display: inline-block;
  min-width: 86px;
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.nav-account-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--charcoal);
  font-size: 1.4rem;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

.nav-account-icon-btn:hover {
  color: var(--gold-dark);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--charcoal);
  transition: 0.3s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  padding: 60px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      160deg,
      rgba(10, 10, 10, 0.88) 0%,
      rgba(10, 10, 10, 0.66) 55%,
      rgba(26, 20, 8, 0.82) 100%
    ),
    url("../images/hero/hero.jpeg") center/cover no-repeat;
  z-index: 0;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
}

.footer-brand img {
  width: 70px;
  height: auto;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 28px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-note {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  font-weight: 400;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.75rem;
  text-align: center;
  margin-bottom: 20px;
  color: var(--black);
  font-weight: 600;
  letter-spacing: -0.5px;
}

.section-text {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Buffet teaser */
.buffet {
  background: var(--black);
  color: var(--white);
}

.buffet .section-title,
.buffet .section-text {
  color: var(--white);
}

.buffet .section-text {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
}

/* About */
.about {
  background: var(--cream);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature {
  text-align: center;
  padding: 44px 28px;
  background: var(--white);
  border-radius: 4px;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border: 1px solid var(--border);
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--gold-dark);
}

.feature h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--black);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.feature p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Order / Menu */
.order {
  background: var(--cream);
}

.menu-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto 32px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 12px 20px;
  box-shadow: var(--shadow);
}

.menu-search-bar i {
  color: var(--gray);
  font-size: 0.9rem;
}

.menu-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.92rem;
  background: transparent;
  color: var(--black);
}

.menu-search-bar input::placeholder {
  color: var(--gray);
}

.menu-search-clear {
  background: none;
  border: none;
  color: var(--gray);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}

.menu-search-clear:hover {
  color: var(--danger);
}

/* "Save on Meals" specials CTA + modal */
.specials-cta-btn {
  display: block;
  margin: 0 auto 32px;
  background: var(--danger);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 11px 26px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
  box-shadow: var(--shadow);
}

.specials-cta-btn i {
  margin-right: 6px;
}

.specials-cta-btn:hover {
  background: #a53225;
  transform: translateY(-2px);
}

.order-card-price .was-price {
  color: var(--gray);
  text-decoration: line-through;
  font-weight: 500;
  margin-right: 6px;
  font-size: 0.85rem;
}

.special-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--danger);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
}

.specials-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

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

/* Auth modal small helpers */
.auth-divider {
  text-align: center;
  color: var(--gray);
  margin: 12px 0;
  font-size: 0.9rem;
}
.btn-google {
  background: var(--gold-dark);
  color: var(--white);
  border: 1.5px solid var(--gold-dark);
  padding: 10px 14px;
  border-radius: 6px;
  width: 100%;
  font-weight: 600;
}
.btn-google:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.specials-item img,
.specials-item-noimg {
  width: 64px;
  height: 64px;
  border-radius: 4px;
  object-fit: cover;
  background: var(--light-gray);
  flex-shrink: 0;
}

.specials-item-info {
  flex: 1;
  min-width: 0;
}

.specials-item-name {
  font-weight: 600;
  color: var(--black);
  display: block;
  margin-bottom: 4px;
}

.specials-item-prices {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.specials-item-prices .was-price {
  color: var(--gray);
  text-decoration: line-through;
  margin-right: 6px;
}

.specials-item-prices .special-price-value {
  color: var(--gold-dark);
  font-weight: 700;
}

.specials-save-box {
  display: inline-block;
  background: var(--danger);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 4px 10px;
  border-radius: 4px;
}

.specials-item-actions {
  flex-shrink: 0;
}

.menu-selector-tabs {
  display: flex;
  gap: 26px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  row-gap: 4px;
  border-bottom: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
}

.tab-btn {
  padding: 10px 2px 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  transition: color 0.2s;
}

.tab-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 2px;
  background: var(--gold-dark);
  transition: right 0.25s ease;
}

.tab-btn.active {
  color: var(--black);
}

.tab-btn.active::after {
  right: 0;
}

.tab-btn:hover:not(.active) {
  color: var(--charcoal);
}

.order-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-content: start;
}

.menu-loading,
.menu-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gray);
  padding: 40px 0;
  font-style: italic;
}

.order-card {
  background: var(--white);
  border-radius: 4px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.order-card.sold-out {
  opacity: 0.6;
}

.order-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.order-card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--light-gray);
  position: relative;
}

.order-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.order-card:hover .order-card-image img {
  transform: scale(1.05);
}

.sold-out-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--danger);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
}

.photo-count-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(10, 10, 10, 0.75);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.order-card-image {
  cursor: pointer;
}

.order-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 8px;
  gap: 0;
}

.order-card-name {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--black);
  letter-spacing: -0.2px;
}

/* Classic menu-style dotted leader between the dish name and its price */
.order-card-dots {
  flex: 1 1 auto;
  min-width: 18px;
  border-bottom: 2px dotted #d5cec2;
  margin: 0 8px 6px;
}

.order-card-price {
  font-weight: 700;
  color: var(--gold-dark);
  white-space: nowrap;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.order-card-desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.order-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

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

.add-to-order-btn {
  padding: 8px 18px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}

.add-to-order-btn:hover {
  background: var(--gold-dark);
}

.add-to-order-btn:disabled {
  background: var(--gray);
  cursor: not-allowed;
}

/* Cart */
.cart-panel {
  background: var(--white);
  border-radius: 4px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: sticky;
  top: 96px;
}

.cart-panel h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gold);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100px;
  max-height: 420px;
  overflow-y: auto;
}

.cart-empty {
  text-align: center;
  color: var(--gray);
  font-size: 0.95rem;
  padding: 48px 0;
  font-style: italic;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border);
  gap: 10px;
}

.cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

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

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  color: var(--black);
  margin-bottom: 4px;
}

.cart-item-options {
  font-size: 0.78rem;
  color: var(--gray);
  margin-bottom: 6px;
  line-height: 1.5;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item-qty button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-item-qty button:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.cart-item-qty span {
  font-weight: 600;
  min-width: 22px;
  text-align: center;
  font-size: 0.88rem;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--gray);
  white-space: nowrap;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--gold-dark);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s;
}

.cart-item-remove:hover {
  color: var(--danger);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  margin-top: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  border-top: 2px solid var(--black);
  color: var(--black);
}

/* Pill / checkbox option pickers (customization modal) */
.pill-options,
.checkbox-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-option {
  padding: 9px 18px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  background: var(--white);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
}

.pill-option.selected {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.pill-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s;
  width: 100%;
}

.pill-radio input {
  accent-color: var(--gold-dark);
}

.pill-radio.selected {
  border-color: var(--gold-dark);
  background: rgba(201, 169, 110, 0.08);
}

.payment-online-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(201, 169, 110, 0.08);
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--charcoal);
  line-height: 1.5;
}

.payment-online-note i {
  color: var(--gold-dark);
  margin-top: 2px;
}

.payment-banner {
  padding: 14px 24px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 500;
}

.payment-banner.success {
  background: #e6f4ea;
  color: #1e7d34;
}

.payment-banner.cancelled {
  background: #fdecea;
  color: var(--danger);
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  font-size: 0.85rem;
  background: var(--white);
}

.checkbox-option input {
  accent-color: var(--gold-dark);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  letter-spacing: 0.5px;
}

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

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

.btn-primary:disabled {
  background: var(--gray);
  border-color: var(--gray);
  cursor: not-allowed;
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* Catering */
.catering-types {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.catering-card {
  padding: 36px 24px;
  background: var(--white);
  border-radius: 4px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.catering-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.catering-card h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: var(--black);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.catering-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

.catering-gallery-title {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--black);
}

.catering-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.catering-gallery-item {
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.catering-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.catering-gallery-item:hover img {
  transform: scale(1.06);
}

.catering-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.catering-form h3 {
  text-align: center;
  margin-bottom: 28px;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.3px;
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--charcoal);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  color: var(--black);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  background: #fdecea;
  color: var(--danger);
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.form-success {
  background: #e8f5e9;
  color: #1e7d34;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 0.88rem;
  margin-bottom: 18px;
}

/* Account nav button */
.nav-account-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
  padding: 0;
}

/* Prevent header label layout shifts by reserving space and truncating long names */
.nav-account-btn {
  min-width: 120px;
}
.nav-account-btn span {
  display: inline-block;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-account-btn:hover {
  color: var(--gold-dark);
}

.nav-account-btn i {
  font-size: 1.2rem;
}

/* Sign in / create account modal */
.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.auth-tab.active {
  color: var(--gold-dark);
  border-bottom-color: var(--gold-dark);
}

.auth-intro {
  background: rgba(201, 169, 110, 0.12);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--charcoal);
  margin-bottom: 18px;
}

.auth-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 6px;
}

.auth-link-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  color: var(--gold-dark);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 14px;
  text-decoration: underline;
}

.auth-link-btn:hover {
  color: var(--black);
}

/* Reviews */
.reviews-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 6px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.review-card-name {
  font-weight: 600;
  color: var(--black);
}

.review-card-stars {
  color: var(--gold-dark);
  font-size: 0.9rem;
}

.review-card-comment {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.6;
}

.review-card-reply {
  margin-top: 14px;
  padding: 14px;
  background: var(--cream);
  border-radius: 4px;
  font-size: 0.85rem;
}

.review-card-reply strong {
  color: var(--gold-dark);
}

/* My Orders receipts */
.receipt-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 16px;
  text-align: left;
}

.receipt-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.receipt-card-header strong {
  color: var(--black);
  font-size: 1rem;
}

.receipt-status {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--gold-light);
  color: var(--gold-dark);
}

.receipt-meta {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 12px;
}

.receipt-items {
  list-style: none;
  font-size: 0.85rem;
  color: var(--charcoal);
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.receipt-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.95rem;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  color: var(--black);
}

/* Live order status tracker: New -> Preparing -> Ready -> Completed */
.order-status-tracker {
  display: flex;
  align-items: flex-start;
  margin: 14px 0 16px;
}

.status-step {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.status-step::before {
  content: "";
  position: absolute;
  top: 9px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.status-step:first-child::before {
  content: none;
}

.status-step.completed::before {
  background: var(--gold);
}

.status-dot {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--white);
  margin-bottom: 6px;
}

.status-step.completed .status-dot {
  background: var(--gold);
  border-color: var(--gold);
}

.status-step.active .status-dot {
  border-color: var(--gold);
  background: var(--gold);
  animation: statusPulse 1.6s ease-out infinite;
}

.status-label {
  font-size: 0.68rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.status-step.completed .status-label,
.status-step.active .status-label {
  color: var(--black);
  font-weight: 700;
}

@keyframes statusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(197, 160, 89, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
  }
}

.order-status-cancelled {
  font-size: 0.85rem;
  font-weight: 700;
  color: #b3261e;
  background: #fbeae9;
  padding: 8px 12px;
  border-radius: 4px;
  margin: 14px 0 16px;
}

.receipt-toggle-btn {
  display: block;
  width: 100%;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.receipt-toggle-btn:hover {
  background: var(--gold);
  color: var(--white);
}

.receipt-cancel-row {
  margin-bottom: 10px;
}

.receipt-cancel-btn {
  display: block;
  width: 100%;
  background: transparent;
  border: 1px solid var(--danger);
  color: var(--danger);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.receipt-cancel-btn:hover:not(:disabled) {
  background: var(--danger);
  color: var(--white);
}

.receipt-cancel-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.receipt-cancel-btn span {
  font-weight: 500;
  opacity: 0.85;
}

.receipt-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.3s ease,
    opacity 0.2s ease,
    margin-top 0.3s ease;
}

.receipt-details.open {
  max-height: 600px;
  opacity: 1;
  margin-top: 14px;
}

.review-form {
  background: var(--white);
  padding: 32px;
  border-radius: 4px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.review-form h3 {
  margin-bottom: 20px;
  font-size: 1.15rem;
  font-weight: 600;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  text-align: left;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--cream);
}

.faq-question i {
  color: var(--gold-dark);
  transition: transform 0.3s;
  font-size: 0.9rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--gray);
  line-height: 1.7;
}

/* Contact */
.contact {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-info {
  padding: 44px;
  background: var(--white);
  border-radius: 4px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-info p {
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
}

.contact-info strong {
  color: var(--black);
  font-weight: 600;
}

.contact-map {
  min-height: 380px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.map-embed {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

.map-placeholder {
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 24px;
}

/* Footer */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 28px;
  text-align: center;
}

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

.footer .logo {
  color: var(--white);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.social {
  display: flex;
  gap: 24px;
  margin: 20px 0;
  justify-content: center;
}

.social a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.4rem;
  transition:
    color 0.2s,
    transform 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 12px;
  letter-spacing: 0.3px;
}

.footer-policy-link {
  font-size: 0.85rem;
}

.footer-policy-link a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  transition: color 0.2s;
}

.footer-policy-link a:hover {
  color: var(--gold);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: 4px;
  padding: 44px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--gray);
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--black);
}

.modal h3 {
  text-align: center;
  margin-bottom: 28px;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.3px;
}

/* Photo lightbox */
.lightbox {
  position: relative;
  max-width: 720px;
  width: 100%;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  background: var(--charcoal);
}

.lightbox .modal-close {
  top: -6px;
  right: 0;
  color: var(--white);
}

.lightbox .modal-close:hover {
  color: var(--gold);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 10, 10, 0.65);
  color: var(--white);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: var(--gold-dark);
}

.lightbox-prev {
  left: -8px;
}

.lightbox-next {
  right: -8px;
}

.lightbox-counter {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 28px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    display: none;
    box-shadow: var(--shadow);
  }

  .nav.active {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 3rem;
  }

  .features,
  .order-grid,
  .order-layout,
  .contact-grid,
  .reviews-layout {
    grid-template-columns: 1fr;
  }

  .catering-types {
    gap: 12px;
  }

  .catering-card {
    padding: 24px 14px;
  }

  .catering-card h3 {
    font-size: 0.95rem;
  }

  .catering-card p {
    font-size: 0.8rem;
  }

  .catering-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .cart-panel {
    position: static;
  }
}

@media (max-width: 480px) {
  .catering-types {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .catering-card {
    padding: 16px 8px;
  }

  .catering-card h3 {
    font-size: 0.78rem;
    margin-bottom: 6px;
  }

  .catering-card p {
    font-size: 0.7rem;
    line-height: 1.4;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero {
    min-height: 80vh;
    padding: 40px 0;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .catering-form,
  .review-form {
    padding: 24px;
  }

  .modal {
    padding: 24px;
  }

  .order-card-image {
    height: 160px;
  }

  .catering-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .lightbox-prev {
    left: 4px;
  }

  .lightbox-next {
    right: 4px;
  }

  .lightbox .modal-close {
    top: -34px;
    right: -4px;
  }
}

/* =====================================================================
   Multi-page premium refresh: page heroes, home flow bands, the menu
   toolbar, the dark "order ticket" cart, and interaction polish.
   Appended last on purpose - these override earlier rules where needed.
   ===================================================================== */

/* Sub-page hero band (menu / reviews / catering / contact) */
.page-hero {
  background:
    linear-gradient(
      160deg,
      rgba(10, 10, 10, 0.93) 0%,
      rgba(10, 10, 10, 0.87) 60%,
      rgba(26, 20, 8, 0.92) 100%
    ),
    url("../images/hero/hero.jpeg") center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 92px 0 72px;
}

.page-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.page-hero-title {
  font-family: "Playfair Display", serif;
  font-size: 3.1rem;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.page-hero-sub {
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

/* Home flow bands */
.band-dark {
  background:
    radial-gradient(
      ellipse 70% 90% at 50% 110%,
      rgba(201, 169, 110, 0.14),
      transparent 65%
    ),
    var(--black);
  color: var(--white);
  text-align: center;
}

.band-dark .section-title {
  color: var(--white);
}

.band-dark .section-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.section-cta {
  display: flex;
  justify-content: center;
}

.home-reviews-band {
  text-align: center;
  border-top: 1px solid var(--border);
}

.home-reviews-band .section-title {
  margin-bottom: 32px;
}

.home-catering .catering-types {
  margin-bottom: 48px;
}

/* Dark-outline button for light backgrounds (btn-secondary is the
   white-outline variant used on dark backgrounds) */
.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

/* Menu page toolbar: search + specials + reservation link on one line */
.menu-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.menu-toolbar .menu-search-bar {
  margin: 0;
  flex: 1 1 340px;
  max-width: 520px;
}

.menu-toolbar .specials-cta-btn {
  display: none; /* JS flips this to inline-flex when specials exist */
  margin: 0;
  align-items: center;
  gap: 6px;
}

.menu-toolbar-link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 8px 2px;
  border-bottom: 1.5px solid var(--gold-dark);
  transition:
    color 0.2s,
    border-color 0.2s;
}

.menu-toolbar-link:hover {
  color: var(--black);
  border-color: var(--black);
}

/* Menu + cart layout (base rule was missing - cart used to stack below) */
.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

/* The cart as a dark "order ticket" against the cream menu background */
.cart-panel {
  background:
    radial-gradient(
      ellipse 90% 60% at 50% -10%,
      rgba(201, 169, 110, 0.12),
      transparent 60%
    ),
    var(--black);
  border: 1px solid #232323;
  color: rgba(255, 255, 255, 0.85);
}

.cart-panel h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  color: var(--white);
  border-bottom: 2px solid var(--gold-dark);
  letter-spacing: -0.2px;
}

.cart-panel .cart-empty {
  color: rgba(255, 255, 255, 0.45);
}

.cart-panel .cart-item {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.cart-panel .cart-item-name {
  color: var(--white);
}

.cart-panel .cart-item-options {
  color: rgba(255, 255, 255, 0.5);
}

.cart-panel .cart-item-qty button {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.cart-panel .cart-item-qty button:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

.cart-panel .cart-item-price {
  color: rgba(255, 255, 255, 0.65);
}

.cart-panel .cart-item-remove {
  color: rgba(255, 255, 255, 0.4);
}

.cart-panel .cart-item-remove:hover {
  color: var(--gold);
}

.cart-panel .cart-total {
  border-top: 2px solid var(--gold-dark);
  color: var(--white);
}

.cart-panel .btn-block + .btn-block {
  margin-top: 10px;
}

/* Serif headings inside modals and forms, matching the section titles */
.modal h3,
.catering-form h3,
.review-form h3 {
  font-family: "Playfair Display", serif;
  letter-spacing: -0.3px;
}

/* Visible keyboard focus everywhere, without disturbing mouse users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
}

/* Responsive for the new components */
@media (max-width: 900px) {
  .order-layout {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 72px 0 56px;
  }

  .page-hero-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 480px) {
  .page-hero-title {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .menu-toolbar {
    margin-bottom: 32px;
  }

  .menu-selector-tabs {
    gap: 18px;
  }
}

/* No divider line while the category tabs haven't loaded yet */
.menu-selector-tabs:empty {
  display: none;
}

/* Contact page: FAQ and Policies are one continuous reading flow */
.policies {
  padding-top: 0;
}

/* Serif card titles, matching the rest of the heading system */
.catering-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  letter-spacing: -0.2px;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Keep catering card titles scaled down on small screens (the serif base
   rule above is later in the cascade than the original media queries) */
@media (max-width: 900px) {
  .catering-card h3 {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .catering-card h3 {
    font-size: 0.92rem;
  }
}
