:root {
  --ink: #2b3e4b;
  --muted: #667987;
  --line: #cbd8df;
  --surface: #f0f5f7;
  --surface-muted: #e6eef2;
  --input-surface: #edf3f6;
  --soft: #dfe9ee;
  --brand: #527889;
  --brand-dark: #365c6c;
  --gold: #a6b4a6;
  --success: #2f665a;
  --warning: #b45309;
  --danger: #b42318;
  --shadow: 0 12px 34px rgba(53, 82, 98, 0.08);
}

* {
  box-sizing: border-box;
}

img {
  transition: transform 280ms ease;
  transform-origin: center;
}

@media (hover: hover) and (pointer: fine) {
  img {
    cursor: zoom-in;
  }

  img:hover {
    transform: scale(2.07);
  }

  body.admin-body img,
  body.admin-body img:hover {
    cursor: default;
    transform: none;
  }

  body:not(.admin-body) .site-header .brand-logo,
  body:not(.admin-body) .site-header .brand-logo:hover {
    cursor: default;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  img {
    transition: none;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: #e8f0f4;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

body:not(.admin-body) {
  --ink: #304754;
  --muted: #627582;
  --line: #cad8df;
  --surface: #f2f6f8;
  --surface-muted: #e8f0f3;
  --input-surface: #edf4f6;
  --soft: #e0eaef;
  --brand: #5c8190;
  --brand-dark: #3c6272;
  --gold: #aab9aa;
  --shadow: 0 10px 28px rgba(53, 82, 98, 0.06);
  background: #e7eff3;
}

body.admin-body {
  background: #e7eff3;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 58px);
  background: rgba(240, 246, 248, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  font-weight: 900;
}

.brand-logo {
  width: 162px;
  height: 50px;
  display: block;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.login-brand-logo {
  justify-self: center;
}

.site-header nav,
.admin-sidebar nav {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-weight: 700;
}

.mobile-nav-toggle {
  display: none;
  min-height: 42px;
  padding: 9px 13px;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.site-header nav a,
.admin-sidebar nav a {
  padding: 9px 10px;
  border-radius: 8px;
}

.site-nav-dropdown {
  position: relative;
  flex: 0 0 auto;
}

.gallery-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 120;
  display: none;
  min-width: 190px;
  max-height: min(440px, calc(100vh - 100px));
  overflow-y: auto;
  padding: 7px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(20, 45, 56, 0.18);
}

.site-nav-dropdown.is-open .gallery-nav-dropdown-menu {
  display: grid;
  gap: 4px;
}

.gallery-nav-submenu-btn {
  width: 100%;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 6px;
  text-align: left;
  white-space: nowrap;
}

.site-header nav a:hover,
.site-header nav a.active,
.admin-sidebar nav a:hover,
.admin-sidebar nav a.active,
.admin-link {
  color: var(--brand);
  background: #dce8ee;
}

[hidden] {
  display: none !important;
}

.customer-account {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-dark);
  font-weight: 900;
}

.customer-account .ghost-btn,
.customer-account .primary-btn {
  min-height: 38px;
  padding: 8px 12px;
}

.customer-cart-btn {
  gap: 7px;
}

.cart-count {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  color: var(--brand-dark);
  background: var(--gold);
  border-radius: 999px;
  font-size: 0.75rem;
  line-height: 1;
}

.auth-notice {
  width: min(1180px, calc(100% - 36px));
  margin: 18px auto 0;
  padding: 0;
  color: var(--success);
  font-weight: 900;
}

.auth-notice.visible {
  padding: 12px 14px;
  background: #e7f7f2;
  border: 1px solid rgba(20, 125, 100, 0.24);
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: 390px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #111827;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #111827;
}

.hero-slideshow .hero-image {
  opacity: 0;
  transition: opacity 700ms ease;
}

.hero-slideshow .hero-image.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slideshow .hero-image {
    transition: none;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.86), rgba(17, 24, 39, 0.48), rgba(17, 24, 39, 0.18));
}

body:not(.admin-body) .hero::after {
  background: linear-gradient(90deg, rgba(43, 65, 73, 0.78), rgba(43, 65, 73, 0.45), rgba(43, 65, 73, 0.14));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 42px clamp(20px, 5vw, 72px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.02;
}

.hero p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.45;
}

.hero-actions,
.panel-heading,
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.primary-btn,
.ghost-btn,
.danger-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  transform: translateY(0) scale(1);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

.primary-btn:hover:not(:disabled),
.ghost-btn:hover:not(:disabled),
.danger-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 9px 18px rgba(22, 54, 84, 0.2);
}

.primary-btn:focus-visible,
.ghost-btn:focus-visible,
.danger-btn:focus-visible {
  outline: 3px solid rgba(210, 173, 91, 0.55);
  outline-offset: 3px;
}

.primary-btn:active:not(:disabled),
.ghost-btn:active:not(:disabled),
.danger-btn:active:not(:disabled) {
  transform: translateY(1px) scale(0.97);
  box-shadow: inset 0 2px 5px rgba(22, 54, 84, 0.24);
}

.primary-btn.button-feedback,
.ghost-btn.button-feedback,
.danger-btn.button-feedback {
  animation: button-feedback 280ms ease-out;
}

.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notification-center {
  position: relative;
}

.notification-trigger {
  gap: 8px;
}

.notification-trigger.notification-live-update {
  animation: notification-live-update 720ms ease-in-out 2;
}

.notification-badge {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  color: #fff;
  background: var(--danger);
  border-radius: 999px;
  font-size: 0.75rem;
  line-height: 1;
}

.notification-popover {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  right: 0;
  width: min(390px, calc(100vw - 40px));
  overflow: hidden;
  background: var(--surface);
  border: 1px solid #dfcf9f;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(22, 54, 84, 0.24);
}

.notification-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.notification-popover-head strong,
.notification-popover-head small {
  display: block;
}

.notification-popover-head small {
  margin-top: 3px;
  color: var(--muted);
}

.notification-read-all {
  min-height: 34px;
  padding: 7px 9px;
  font-size: 0.78rem;
}

.notification-list {
  max-height: 360px;
  overflow-y: auto;
}

.notification-item {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 12px;
  color: var(--ink);
  background: var(--surface);
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
}

.notification-item:hover,
.notification-item.unread {
  background: var(--surface-muted);
}

.notification-item.unread {
  box-shadow: inset 4px 0 0 var(--brand);
}

.notification-item span,
.notification-empty {
  color: var(--muted);
  line-height: 1.45;
}

.notification-item time {
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
}

.notification-empty {
  margin: 0;
  padding: 22px 14px;
  text-align: center;
}

@keyframes button-feedback {
  0% { transform: translateY(0) scale(1); }
  42% { transform: translateY(1px) scale(0.96); filter: brightness(0.94); }
  100% { transform: translateY(0) scale(1); filter: brightness(1); }
}

@keyframes notification-live-update {
  0%, 100% { transform: translateY(0); box-shadow: 0 12px 24px rgba(31, 78, 121, 0.22); }
  50% { transform: translateY(-2px) scale(1.03); box-shadow: 0 0 0 5px rgba(245, 193, 66, 0.26), 0 14px 28px rgba(31, 78, 121, 0.25); }
}

@media (prefers-reduced-motion: reduce) {
  .primary-btn,
  .ghost-btn,
  .danger-btn {
    transition: none;
  }

  .primary-btn.button-feedback,
  .ghost-btn.button-feedback,
  .danger-btn.button-feedback {
    animation: none;
  }

  .notification-trigger.notification-live-update {
    animation: none;
  }
}

.primary-btn {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 24px rgba(31, 78, 121, 0.22);
}

.ghost-btn {
  color: var(--brand-dark);
  background: #e8edf4;
}

body:not(.admin-body) .primary-btn,
body:not(.admin-body) .mobile-nav-toggle {
  color: #24434a;
  background: #a6c0bb;
  border: 1px solid #8faeaa;
  box-shadow: 0 8px 18px rgba(55, 82, 92, 0.11);
}

body:not(.admin-body) .ghost-btn {
  color: #36545c;
  background: #d9e6e5;
  border: 1px solid #bfd0cf;
}

body:not(.admin-body) .primary-btn:hover:not(:disabled),
body:not(.admin-body) .ghost-btn:hover:not(:disabled),
body:not(.admin-body) .mobile-nav-toggle:hover:not(:disabled) {
  filter: brightness(1.015);
  box-shadow: 0 7px 15px rgba(55, 82, 92, 0.14);
}

body:not(.admin-body) .primary-btn:focus-visible,
body:not(.admin-body) .ghost-btn:focus-visible,
body:not(.admin-body) .mobile-nav-toggle:focus-visible {
  outline-color: rgba(85, 124, 130, 0.38);
}

.danger-btn {
  color: #fff;
  background: var(--danger);
}

.section,
.section-grid {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.status-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  transform: translateY(-42px);
}

.status-band article,
.dashboard-cards .dashboard-card-link,
.panel,
.rate-card,
.menu-card,
.gallery-card,
.reminder-preview,
.booking-form,
.login-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.status-band article,
.dashboard-cards .dashboard-card-link {
  padding: 16px;
}

.status-band strong,
.dashboard-cards strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 2rem;
}

.status-band span,
.dashboard-cards span,
.panel-heading span {
  color: var(--muted);
}

.home-info {
  background: #d9e6e4;
  box-shadow: 0 0 0 100vmax #d9e6e4;
  clip-path: inset(0 -100vmax);
  padding-top: 12px;
}

.home-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.home-info-grid article {
  min-height: 140px;
  padding: 16px;
  background: #edf4f1;
  border: 1px solid #b9cdca;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.home-info-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 1.05rem;
}

.live-news-section {
  padding: 18px 0;
}

.live-news-compact-card {
  padding: 14px 16px 10px;
  overflow: hidden;
  background: #f5f0df;
  border: 1px solid #d8cfb2;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(63, 82, 96, 0.06);
}

.live-news-heading {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.live-news-heading .eyebrow {
  margin-bottom: 0;
}

.live-news-section .live-news-heading h2 {
  margin: 2px 0 0;
  font-size: 1.2rem;
  line-height: 1.25;
}

.live-news-heading .ghost-btn {
  padding: 8px 12px;
  white-space: nowrap;
}

.live-news-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  background: #b23b35;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(178, 59, 53, 0.12);
}

.live-news-status {
  min-height: 17px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.live-news-ticker {
  width: 100%;
  overflow: hidden;
  background: #fbf8ec;
  border: 1px solid #ded5b9;
  border-radius: 7px;
}

.live-news-track {
  display: flex;
  width: max-content;
  animation: live-news-scroll 68s linear infinite;
  will-change: transform;
}

.live-news-ticker:hover .live-news-track,
.live-news-ticker:focus-within .live-news-track {
  animation-play-state: paused;
}

.live-news-set {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 12px 8px 0;
}

.live-news-item {
  display: inline-flex;
  gap: 9px;
  min-height: 42px;
  padding: 8px 12px;
  align-items: center;
  color: var(--brand-dark);
  background: #f2ead2;
  border: 1px solid #d9cba5;
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
}

.live-news-item span,
.live-news-item time {
  color: #66747a;
  font-size: 0.72rem;
  font-weight: 800;
}

.live-news-item strong {
  max-width: 560px;
  overflow: hidden;
  font-size: 0.88rem;
  text-overflow: ellipsis;
}

.live-news-item .live-news-read {
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 900;
}

.live-news-item:hover,
.live-news-item:focus-visible {
  background: #ebe0be;
  border-color: #bda96d;
  outline: none;
}

@keyframes live-news-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-news-ticker {
    overflow-x: auto;
  }

  .live-news-track {
    animation: none;
  }
}

.section {
  padding: 44px 0;
}

.gallery-section {
  width: 100%;
  max-width: none;
  scroll-margin-top: 112px;
  padding: 40px max(18px, calc((100% - 1180px) / 2));
  background: linear-gradient(
    180deg,
    rgba(255, 153, 51, 0.24) 0%,
    rgba(255, 249, 235, 0.9) 46%,
    rgba(19, 136, 8, 0.18) 100%
  );
  border-top: 3px solid rgba(255, 153, 51, 0.66);
  border-bottom: 3px solid rgba(19, 136, 8, 0.54);
}

.gallery-section .section-heading,
.gallery-section .gallery-grid {
  width: 100%;
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

body:not(.admin-body) .section {
  padding-block: 32px;
}

body:not(.admin-body) .section-heading {
  margin-bottom: 14px;
}

body:not(.admin-body) .section-heading .eyebrow {
  margin-bottom: 4px;
}

body:not(.admin-body) .section-heading h2,
body:not(.admin-body) .section-heading h3 {
  margin-bottom: 6px;
}

body:not(.admin-body) .gallery-section {
  padding-top: 44px;
  padding-bottom: 30px;
}

.two-column {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.12;
}

.section p {
  color: var(--muted);
  line-height: 1.7;
}

.customer-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  align-items: start;
}

.module-card {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

#registration .module-card[data-public-panel] {
  color: #3f4650;
  background: #f4eedb;
  border-color: #d8cba5;
  box-shadow: 0 10px 28px rgba(91, 78, 42, 0.07);
}

#registration .module-card[data-public-panel] h2 {
  color: #3d5260;
}

#registration .module-card[data-public-panel] > p:not(.eyebrow) {
  color: #626967;
}

#registration .module-card[data-public-panel] label {
  color: #424d51;
}

#registration .module-card[data-public-panel] input,
#registration .module-card[data-public-panel] select,
#registration .module-card[data-public-panel] textarea {
  color: #303a42;
  background: #fbf8ec;
  border-color: #d8cba5;
}

#registration .module-card[data-public-panel] input:focus,
#registration .module-card[data-public-panel] select:focus,
#registration .module-card[data-public-panel] textarea:focus {
  border-color: #a79155;
  box-shadow: 0 0 0 2px rgba(167, 145, 85, 0.18);
  outline: none;
}

.auth-mode-switch {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.auth-mode-switch .ghost-btn {
  padding: 9px 13px;
}

.compact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.compact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.compact-form .wide,
.compact-form button,
.compact-form .form-message {
  grid-column: 1 / -1;
}

.followup-results {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.menu-choice-box {
  display: grid;
  gap: 10px;
  padding: 11px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-choice-list {
  display: grid;
  gap: 8px;
}

.menu-choice-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-choice-item small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 700;
}

.menu-choice-item .add-cart-btn,
.menu-choice-item .item-detail-btn,
.cart-item .cart-remove-btn {
  min-height: 34px;
  grid-column: auto;
  padding: 7px 10px;
  font-size: 0.78rem;
}

.menu-choice-actions,
.menu-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-choice-actions button,
.menu-card-actions button {
  grid-column: auto;
}

.cart-review {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-review-heading,
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-review-heading span,
.cart-item small,
.cart-empty {
  color: var(--muted);
}

.cart-items {
  display: grid;
  gap: 8px;
}

.cart-item {
  padding: 10px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-item > div {
  min-width: 0;
  flex: 1;
}

.cart-item strong,
.cart-item small {
  display: block;
}

.cart-item small {
  margin-top: 3px;
}

.cart-item > span {
  color: var(--brand);
  font-weight: 900;
  white-space: nowrap;
}

.cart-empty {
  margin: 0;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
}

.menu-card {
  display: flex;
  flex-direction: column;
}

.menu-card-actions {
  margin-top: auto;
}

.menu-card-actions button {
  flex: 1;
}

.catalog-detail-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: min(760px, calc(100vh - 32px));
  padding: 0;
  overflow: auto;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #dfcf9f;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(22, 54, 84, 0.3);
}

.image-zoom-dialog {
  width: min(920px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #dfcf9f;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(22, 54, 84, 0.3);
}

.image-zoom-dialog::backdrop {
  background: rgba(12, 31, 49, 0.78);
  backdrop-filter: blur(4px);
}

.image-zoom-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 16px;
}

.image-zoom-panel img {
  width: 100%;
  max-height: calc(100vh - 80px);
  display: block;
  object-fit: contain;
  border-radius: 6px;
  cursor: zoom-out;
}

.image-zoom-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
}

.booking-confirmation-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: auto;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #dfcf9f;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(22, 54, 84, 0.3);
}

.booking-confirmation-dialog::backdrop {
  background: rgba(12, 31, 49, 0.7);
  backdrop-filter: blur(3px);
}

#requirementConfirmationDialog,
#requirementConfirmationDialog .booking-confirmation-panel {
  background: #e7eff3;
}

.booking-confirmation-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.booking-confirmation-panel .eyebrow,
.booking-confirmation-panel h2,
.booking-confirmation-panel p {
  margin: 0;
}

.booking-confirmation-panel > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.booking-confirmation-id {
  padding: 16px;
  background: var(--surface-muted);
  border-left: 5px solid var(--brand);
  border-radius: 6px;
}

.booking-confirmation-id span,
.booking-confirmation-id strong {
  display: block;
}

.booking-confirmation-id span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.booking-confirmation-id strong {
  color: var(--brand);
  font-size: clamp(1.6rem, 5vw, 2.3rem);
}

.booking-confirmation-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.booking-confirmation-summary > div {
  padding: 10px;
  background: var(--input-surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.booking-confirmation-summary span,
.booking-confirmation-summary strong {
  display: block;
}

.booking-confirmation-summary span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}

.booking-confirmation-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}

.catalog-detail-dialog::backdrop {
  background: rgba(12, 31, 49, 0.68);
  backdrop-filter: blur(3px);
}

.catalog-detail-panel {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 20px;
}

.catalog-detail-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  min-height: 36px;
  padding: 7px 10px;
}

.catalog-detail-panel img {
  width: 100%;
  max-height: 360px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.catalog-detail-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.catalog-detail-image-button {
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: zoom-in;
}

.catalog-detail-image-button img {
  width: 100%;
  height: 170px;
  max-height: none;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.catalog-detail-image-button:hover img {
  transform: scale(1.04);
}

.catalog-detail-no-image {
  margin: 0;
  color: var(--muted);
}

.catalog-detail-panel .eyebrow,
.catalog-detail-panel h2,
.catalog-detail-panel p {
  margin: 0;
}

.catalog-detail-panel > p:last-child {
  color: var(--muted);
  line-height: 1.65;
}

.catalog-image-preview {
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.catalog-image-preview img {
  width: 100%;
  max-height: 190px;
  display: block;
  object-fit: cover;
  border-radius: 6px;
}

.menu-total {
  margin: 0;
}

.followup-summary,
.followup-item {
  padding: 11px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.followup-summary strong,
.followup-item strong {
  color: var(--brand);
}

.deleted-item {
  display: grid;
  gap: 8px;
}

.deleted-item .followup-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.deleted-item .followup-item-head strong,
.deleted-item .followup-item-head span {
  display: block;
}

.deleted-item p,
.deleted-item small {
  margin: 0;
  color: var(--muted);
}

.amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.amenities span {
  padding: 9px 12px;
  color: var(--brand-dark);
  background: #e8edf4;
  border-radius: 999px;
  font-weight: 800;
}

.rate-grid,
.menu-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 20px;
}

.gallery-submenu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.gallery-submenu-btn {
  min-height: 36px;
  padding: 8px 14px;
  color: var(--flag-navy);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(0, 0, 128, 0.18);
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-submenu-btn:hover,
.gallery-submenu-btn:focus-visible,
.gallery-submenu-btn.is-active {
  color: #fff;
  background: var(--flag-navy);
  border-color: var(--flag-navy);
  box-shadow: 0 4px 12px rgba(0, 0, 128, 0.16);
  transform: translateY(-1px);
}

.rate-card,
.menu-card,
.gallery-card {
  padding: 15px;
}

.gallery-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  padding: 0;
  background: #111827;
}

.gallery-image-button {
  display: block;
  width: 100%;
  min-height: 270px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.gallery-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 16px;
  color: #fff;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0), rgba(17, 24, 39, 0.86));
}

.gallery-card span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 7px 10px;
  color: #3a2416;
  background: rgba(255, 242, 214, 0.94);
  border-radius: 999px;
  font-weight: 900;
}

.menu-card span {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 10px;
  color: var(--brand-dark);
  background: #e8edf4;
  border-radius: 999px;
  font-weight: 900;
}

.rate-card h3,
.menu-card h3 {
  margin-bottom: 8px;
}

.price {
  color: var(--brand);
  font-size: 1.55rem;
  font-weight: 900;
}

.booking-section {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 28px;
  align-items: start;
}

.booking-form,
.cms-form {
  display: grid;
  gap: 12px;
}

.booking-form {
  grid-template-columns: repeat(2, 1fr);
  padding: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  color: var(--ink);
  background: var(--input-surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.phone-field {
  display: grid;
  grid-template-columns: minmax(118px, 0.75fr) minmax(150px, 1.25fr);
  gap: 8px;
}

.phone-field select,
.phone-field input {
  min-width: 0;
}

.customer-login-phone {
  grid-template-columns: minmax(94px, 0.58fr) minmax(0, 1.42fr);
}

.customer-login-phone select {
  padding-left: 8px;
  padding-right: 8px;
  font-size: 0.9rem;
}

textarea {
  resize: vertical;
}

.booking-form label:has(textarea),
.booking-form button,
.booking-form .form-message {
  grid-column: 1 / -1;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--success);
  font-weight: 800;
}

.form-hint {
  margin: 0 0 10px;
  color: var(--muted);
}


.gallery-category-manager {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gallery-category-manager .gallery-category-list,
.gallery-category-manager .form-message {
  grid-column: 1 / -1;
}

.gallery-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.gallery-category-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  color: var(--flag-navy);
  background: rgba(255, 153, 51, 0.14);
  border: 1px solid rgba(0, 0, 128, 0.18);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
}

.social-link-edit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.social-link-edit .wide {
  grid-column: 1 / -1;
}

.social-enabled-field {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.social-enabled-field input {
  width: auto;
}

.gallery-bulk-upload {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gallery-bulk-upload .form-message {
  grid-column: 1 / -1;
}

.reminder-preview {
  padding: 16px;
}

.reminder-item {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.reminder-item:last-child {
  border-bottom: 0;
}

.reminder-item strong {
  color: var(--brand);
}

.reminder-followup {
  gap: 14px;
}

.reminder-followup-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.reminder-followup-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(180px, 0.8fr) minmax(160px, auto);
  gap: 12px;
  align-items: end;
}

.reminder-followup-grid .wide,
.reminder-followup-grid .form-message {
  grid-column: 1 / -1;
}

.contact-followup-list {
  display: grid;
  gap: 14px;
}

.contact-followup-item {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-followup-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.contact-followup-head > div {
  display: grid;
  gap: 4px;
}

.contact-followup-head strong {
  color: var(--brand);
  font-size: 1.05rem;
}

.contact-followup-head span:not(.status-pill),
.contact-followup-updated {
  color: var(--muted);
}

.contact-requirement-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-requirement-summary p {
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-requirement-summary .wide {
  grid-column: 1 / -1;
}

.contact-selected-order {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.contact-selected-order-scroll {
  overflow-x: auto;
}

.contact-selected-order-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: var(--surface-muted);
}

.contact-selected-order-table th,
.contact-selected-order-table td {
  padding: 7px 8px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.contact-selected-order-table th {
  color: var(--brand-dark);
  background: var(--soft);
}

.contact-selected-order-rate {
  text-align: right !important;
  white-space: nowrap;
}

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

.contact-followup-grid .wide {
  grid-column: 1 / -1;
}

.contact-followup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.status-pill {
  align-self: start;
  padding: 7px 10px;
  color: var(--brand-dark);
  background: #e8edf4;
  border-radius: 999px;
  font-weight: 900;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #e8f0f4;
}

.login-card {
  width: min(430px, 100%);
  display: grid;
  gap: 16px;
  padding: 22px;
}

.login-link {
  justify-self: center;
  padding: 0;
  border: 0;
  color: var(--brand);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.login-link:hover,
.login-link:focus-visible {
  color: var(--flag-saffron);
}

.login-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.login-help {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.hidden {
  display: none !important;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 13px 14px;
  overflow-y: auto;
  scrollbar-gutter: stable;
  color: #edf3f5;
  background: #476f7d;
  border-right: 1px solid #91a9b2;
}

.admin-sidebar .brand {
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.2;
}

.admin-sidebar .brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: var(--brand-dark);
  background: var(--gold);
}

.admin-sidebar .admin-brand-logo {
  width: 138px;
  height: auto;
  flex: 0 0 auto;
  border-color: rgba(255, 255, 255, 0.35);
}

.admin-sidebar nav {
  color: #d8e8e5;
}

.admin-sidebar nav {
  align-items: stretch;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 3px;
  font-size: 0.86rem;
  line-height: 1.2;
}

.admin-sidebar nav a {
  padding: 7px 9px;
  border-left: 3px solid transparent;
  border-radius: 6px;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
  border-left-color: var(--gold);
}

.admin-sidebar #logoutBtn {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 7px 12px;
}

.admin-main {
  padding: 22px;
  background: #e7eff3;
}

.admin-body .panel,
.admin-body .dashboard-cards .dashboard-card-link {
  background: var(--surface);
  border-color: var(--line);
}

.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
}

.panel {
  margin-bottom: 16px;
  padding: 16px;
  box-shadow: none;
}

.booking-admin-grid,
.billing-grid,
.reminder-list,
#ratesEditor,
#menuEditor,
#decorationMenuEditor,
#packagesEditor,
#galleryEditor,
#inventoryEditor,
.record-grid {
  display: grid;
  gap: 14px;
}

.guest-qr-form {
  grid-template-columns: minmax(220px, 1.4fr) minmax(130px, .55fr) auto;
  align-items: end;
}

.guest-qr-form .form-message {
  grid-column: 1 / -1;
}

.guest-qr-help {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .82rem;
}

.guest-qr-batches {
  display: grid;
  gap: 10px;
  margin-top: 13px;
}

.guest-qr-batch {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
}

.guest-qr-batch-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.guest-qr-batch-head strong,
.guest-qr-batch-head span {
  display: block;
}

.guest-qr-batch-head span,
.guest-qr-batch-meta {
  color: var(--muted);
  font-size: .82rem;
}

.guest-qr-batch-meta {
  margin: 6px 0 10px;
}

.guest-qr-batch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guest-qr-preview {
  margin-top: 14px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
}

.guest-qr-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.guest-qr-preview-head h3,
.guest-qr-preview-head p {
  margin: 0;
}

.guest-qr-preview-head p {
  color: var(--muted);
  font-size: .8rem;
}

.guest-qr-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 9px;
}

.guest-qr-preview-card {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  text-align: center;
}

.guest-qr-preview-card img,
.guest-qr-preview-missing {
  width: 118px;
  height: 118px;
}

.guest-qr-preview-card img {
  display: block;
  image-rendering: auto;
}

.guest-qr-preview-missing {
  display: grid;
  place-items: center;
  background: #f2f5f6;
  color: #a43d32;
  font-size: .75rem;
}

.guest-qr-preview-card strong {
  font-size: .8rem;
}

.guest-qr-preview-card span {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: .72rem;
}

.guest-qr-preview-card-used {
  border-color: #d9aaa3;
  background: #fff8f6;
}

.guest-qr-preview-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.guest-qr-preview-pagination span {
  min-width: 90px;
  color: var(--muted);
  font-size: .78rem;
  text-align: center;
}

.guest-qr-preview-status {
  font-weight: 800;
}

.guest-qr-preview-status.status-used {
  color: #a43d32;
}

.guest-qr-preview-status.status-unused {
  color: #236b4b;
}

.guest-qr-status-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.guest-qr-status-heading span {
  color: var(--muted);
  font-size: .78rem;
}

.guest-qr-status-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 6px;
  max-height: 280px;
  overflow-y: auto;
  margin-top: 8px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.guest-qr-status-row {
  display: grid;
  gap: 2px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-muted);
  font-size: .75rem;
}

.guest-qr-status-row span {
  overflow-wrap: anywhere;
  color: var(--muted);
}

.guest-qr-status-row b.status-used {
  color: #a43d32;
}

.guest-qr-status-row b.status-unused {
  color: #236b4b;
}

.admin-search-toolbar {
  display: flex;
  align-items: end;
  gap: 10px;
  margin: 12px 0 14px;
}

.admin-search-toolbar label {
  display: grid;
  gap: 5px;
  width: min(100%, 390px);
  color: var(--flag-navy);
  font-size: 0.8rem;
  font-weight: 800;
}

.admin-search-toolbar input {
  min-height: 40px;
  padding: 9px 11px;
  background: rgba(244, 251, 244, 0.96);
  border: 1px solid rgba(19, 136, 8, 0.28);
  border-radius: 7px;
  color: var(--ink);
}

.admin-search-empty {
  margin: 0 0 12px;
  padding: 10px 12px;
  color: var(--flag-navy);
  background: rgba(255, 153, 51, 0.1);
  border: 1px solid rgba(255, 153, 51, 0.38);
  border-radius: 7px;
}

.booking-requirement-editor {
  display: grid;
  gap: 10px;
  padding: 11px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.booking-requirement-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--flag-navy);
}

.booking-requirement-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.booking-requirement-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.booking-requirement-table th,
.booking-requirement-table td {
  padding: 7px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.booking-requirement-table th {
  color: var(--flag-navy);
  background: rgba(255, 153, 51, 0.13);
  font-size: 0.78rem;
}

.booking-requirement-table input,
.booking-requirement-table textarea {
  width: 100%;
  min-width: 0;
  padding: 8px;
  background: rgba(244, 251, 244, 0.96);
  border: 1px solid rgba(19, 136, 8, 0.28);
  border-radius: 6px;
  color: var(--ink);
}

.booking-requirement-table .danger-btn {
  min-height: 36px;
  padding: 8px 10px;
  white-space: nowrap;
}

.booking-edit,
.rate-edit,
.menu-edit,
.decoration-menu-edit,
.package-edit,
.gallery-edit,
.billing-edit,
.customer-edit,
.staff-edit,
.inventory-edit,
.user-edit {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 12px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.booking-edit .wide,
.rate-edit .wide,
.menu-edit .wide,
.decoration-menu-edit .wide,
.package-edit .wide,
.gallery-edit .wide,
.billing-edit .wide,
.customer-edit .wide,
.staff-edit .wide,
.inventory-edit .wide,
.user-edit .wide,
.form-grid .wide {
  grid-column: 1 / -1;
}

.food-detail-table {
  display: grid;
  gap: 10px;
  padding: 11px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.billing-edit {
  gap: 7px;
  padding: 8px;
}

.billing-edit label {
  gap: 4px;
  font-size: 0.86rem;
}

.billing-edit input,
.billing-edit select,
.billing-edit textarea {
  padding: 8px;
  border-radius: 6px;
}

.billing-edit .food-detail-table,
.billing-edit .booking-requirement-editor {
  gap: 7px;
  padding: 8px;
}

.billing-edit .food-detail-head,
.billing-edit .booking-requirement-heading {
  font-size: 0.9rem;
}

.billing-edit .billing-line-items-table th,
.billing-edit .billing-line-items-table td,
.billing-edit .booking-requirement-table th,
.billing-edit .booking-requirement-table td {
  padding: 5px;
}

.billing-edit .billing-line-items-table input,
.billing-edit .booking-requirement-table input,
.billing-edit .booking-requirement-table textarea {
  padding: 6px;
}

.billing-edit .booking-requirement-table .danger-btn,
.billing-edit > button {
  min-height: 32px;
  padding: 6px 9px;
}

.booking-edit .booking-requirement-editor {
  gap: 6px;
  padding: 7px;
}

.booking-edit .booking-requirement-heading {
  font-size: 0.9rem;
}

.booking-edit .booking-requirement-table th,
.booking-edit .booking-requirement-table td {
  padding: 5px;
}

.booking-edit .booking-requirement-table input,
.booking-edit .booking-requirement-table textarea {
  padding: 6px;
}

/* Compact booking editor for faster review and less scrolling. */
#bookings.panel {
  padding: 14px;
}

#bookings .panel-heading {
  gap: 10px;
}

#bookings .panel-heading h2 {
  font-size: 1.15rem;
}

#bookings .panel-heading span {
  font-size: 0.78rem;
}

#bookings h3 {
  margin: 14px 0 8px;
  font-size: 0.95rem;
}

#bookingAdminGrid {
  gap: 10px;
}

.booking-edit {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
}

.booking-edit > label {
  gap: 4px;
  font-size: 0.76rem;
}

.booking-edit input,
.booking-edit select,
.booking-edit textarea {
  min-height: 34px;
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 0.83rem;
}

.booking-edit textarea {
  min-height: 56px;
}

.booking-edit .booking-requirement-editor {
  gap: 5px;
  padding: 6px;
}

.booking-edit .booking-calculation-preview {
  margin: 0;
  padding: 7px 9px;
  font-size: 0.76rem;
  line-height: 1.35;
}

.booking-edit .deal-actions {
  gap: 7px;
}

.booking-edit .deal-actions button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 0.76rem;
}

.booking-edit .booking-confirmation-meta {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.35;
}

.booking-edit .booking-confirmation-message {
  min-height: 18px;
}
.deal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.booking-edit .deal-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.booking-confirmation-meta {
  color: var(--muted);
  line-height: 1.5;
}
.customer-order-confirmation {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.customer-order-confirmation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.customer-order-confirmation .status-pill {
  display: inline-flex;
}

.customer-order-confirmation button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.customer-confirmation-meta {
  color: var(--muted);
  line-height: 1.5;
}
.order-choice-group {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.order-choice-group > strong {
  color: var(--primary);
}

.booking-calendar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.calendar-day {
  display: grid;
  gap: 8px;
  padding: 11px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.calendar-day strong {
  color: var(--primary);
}

.calendar-day span {
  color: var(--muted);
  font-size: 0.92rem;
}

.report-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
}

.report-action-buttons {
  display: flex;
  grid-column: 1 / -1;
  gap: 10px;
  align-items: center;
  flex-wrap: nowrap;
}

.report-action-buttons .primary-btn,
.report-action-buttons .ghost-btn {
  min-width: 170px;
  white-space: nowrap;
}

.report-preview-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
}

.report-preview {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
}

.report-preview th,
.report-preview td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.report-preview th {
  color: var(--ink);
  background: var(--soft);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.food-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.food-rows {
  display: table-row-group;
}

.food-row {
  background: var(--surface-muted);
}

.food-table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.billing-line-items-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.billing-line-items-table th,
.billing-line-items-table td {
  padding: 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.billing-line-items-table th {
  color: var(--ink);
  background: var(--soft);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.billing-line-items-table tr:last-child td {
  border-bottom: 0;
}

.billing-line-items-table input {
  width: 100%;
  min-width: 0;
  padding: 8px;
  background: rgba(244, 251, 244, 0.96);
  border: 1px solid rgba(19, 136, 8, 0.28);
  border-radius: 6px;
  color: var(--ink);
}

.billing-line-items-table .remove-food-row {
  white-space: nowrap;
}

.user-password-reset {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  align-items: end;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.user-password-reset .primary-btn {
  align-self: end;
}

.user-password-reset .form-message,
.user-password-reset small {
  grid-column: 1 / -1;
}

.user-password-reset small {
  color: var(--muted);
}

.user-password-reset input:disabled,
.user-password-reset button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.permission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  padding: 10px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.permission-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.permission-grid input {
  width: auto;
}

.guest-qr-scanner-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(240px, .9fr);
  gap: 16px;
  align-items: start;
}

.guest-qr-camera-panel,
.guest-qr-scanner-controls {
  display: grid;
  gap: 10px;
}

.guest-qr-camera-frame {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #172f3c;
}

.guest-qr-camera-frame video {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: block;
  object-fit: cover;
}

.guest-qr-camera-crosshair {
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 12px;
  box-shadow: 0 0 0 999px rgba(13, 34, 44, .22);
  pointer-events: none;
}

.guest-qr-scanner-hint,
.guest-qr-scanner-controls label {
  color: var(--muted);
  font-size: .82rem;
}

.guest-qr-scanner-controls label {
  display: grid;
  gap: 5px;
  color: var(--flag-navy);
  font-weight: 800;
}

.guest-qr-scanner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guest-qr-scan-result {
  min-height: 70px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
  color: var(--muted);
  white-space: pre-line;
}

.guest-qr-scan-result.allowed {
  border-color: #9bc8aa;
  background: #e8f5eb;
  color: #236b4b;
}

.guest-qr-scan-result.denied {
  border-color: #e3aaa1;
  background: #fae9e6;
  color: #a43d32;
}

.gallery-upload-preview {
  padding: 8px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gallery-upload-preview img {
  width: 100%;
  max-height: 190px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.menu-import-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
  padding: 12px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-import-box .wide,
.menu-import-box .form-message {
  grid-column: 1 / -1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.password-change-form {
  display: grid;
  gap: 14px;
  width: min(540px, 100%);
  margin-top: 18px;
}

.profile-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(680px, 100%);
  margin-top: 18px;
}

.profile-form .primary-btn,
.profile-form .form-message {
  grid-column: 1 / -1;
}

.profile-form .primary-btn {
  justify-self: start;
}

.profile-editor-heading {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--brand);
  font-size: 1rem;
}

.staff-save-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.staff-save-actions .form-message {
  margin: 0;
}
.cms-form h3 {
  margin: 8px 0 0;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  color: var(--ink);
}

.checkbox-field input {
  width: auto;
  accent-color: var(--flag-green);
}

.notification-test-row {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}

.notification-test-row label {
  flex: 1 1 260px;
}

.notification-test-row button {
  flex: 0 0 auto;
}

.dashboard-cards .dashboard-card-link {
  position: relative;
  min-height: 76px;
  padding: 10px 12px;
  overflow: hidden;
  border-color: #e5e7eb;
  box-shadow: 0 8px 22px rgba(31, 41, 51, 0.06);
}

.dashboard-cards .dashboard-card-link::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--brand);
}

.dashboard-cards strong {
  margin-bottom: 4px;
  font-size: 1.28rem;
  line-height: 1.15;
}

.dashboard-cards span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .site-header,
  .two-column,
  .booking-section,
  .admin-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-header {
    display: grid;
  }

  .site-header nav {
    overflow-x: auto;
    justify-content: start;
  }

  .status-band,
  .home-info-grid,
  .customer-module-grid,
  .dashboard-cards,
  .booking-form,
  .booking-edit,
  .rate-edit,
  .menu-edit,
  .decoration-menu-edit,
  .package-edit,
  .gallery-edit,
  .billing-edit,
  .customer-edit,
  .staff-edit,
  .inventory-edit,
  .user-edit,
  .report-controls,
  .reminder-followup-grid,
  .contact-followup-grid,
  .contact-requirement-summary,
  .menu-import-box,
  .form-grid,
  .profile-form {
    grid-template-columns: 1fr;
  }

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

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-top-actions {
    width: 100%;
  }

  .notification-center {
    flex: 1;
  }

  .notification-trigger {
    width: 100%;
  }

  .customer-account {
    flex-wrap: wrap;
  }

  .cart-item {
    align-items: stretch;
    flex-direction: column;
  }

  .cart-item > span {
    white-space: normal;
  }

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

  .menu-choice-actions,
  .menu-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .menu-choice-actions button,
  .menu-card-actions button {
    width: 100%;
  }

  .phone-field {
    grid-template-columns: 1fr;
  }

  .booking-confirmation-summary {
    grid-template-columns: 1fr;
  }

  .booking-confirmation-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero {
    min-height: 350px;
  }
}

@media (max-width: 900px) {
  body:not(.admin-body).customer-session .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body:not(.admin-body).customer-session .site-header .customer-account {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    justify-content: flex-end;
  }

  body:not(.admin-body).customer-session .site-header .mobile-nav-toggle {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: end;
  }

  body:not(.admin-body).customer-session .site-header nav {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chatbot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 10px;
}

.social-share-rail {
  position: fixed;
  top: 50%;
  right: 14px;
  z-index: 1000;
  padding: 10px 8px;
  background: rgba(23, 56, 69, 0.95);
  border: 1px solid rgba(244, 196, 116, 0.72);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(12, 35, 44, 0.24);
  transform: translateY(-50%);
}

.social-links-list {
  display: grid;
  gap: 8px;
}

.social-link {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 5px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  text-decoration: none;
  font-weight: 800;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.social-link:hover,
.social-link:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(244, 196, 116, 0.9);
  transform: translateX(-3px) scale(1.04);
  box-shadow: 0 5px 14px rgba(5, 22, 30, 0.25);
}

.social-logo {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #fff;
  background: #334155;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 7px rgba(5, 22, 30, 0.22);
}

.social-link::after {
  content: attr(aria-label);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  padding: 6px 9px;
  color: #fff;
  background: #173845;
  border: 1px solid rgba(244, 196, 116, 0.72);
  border-radius: 7px;
  box-shadow: 0 7px 16px rgba(12, 35, 44, 0.2);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(4px, -50%);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.social-link:hover::after,
.social-link:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

.social-link--facebook .social-logo {
  background: #3b5998;
}

.social-link--instagram .social-logo {
  background: #c13584;
}

.social-link--youtube .social-logo {
  background: #e62117;
}

.social-link--whatsapp .social-logo {
  background: #128c7e;
}

.social-link--pinterest .social-logo {
  background: #bd081c;
}

.social-link--telegram .social-logo {
  background: #229ed9;
}

.social-link--linkedin .social-logo {
  background: #0a66c2;
}

.social-link--x .social-logo,
.social-link--twitter .social-logo {
  background: #111827;
}

.social-link-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chatbot-toggle {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px 9px 10px;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(41, 79, 92, 0.24);
  cursor: pointer;
  font-weight: 900;
}

.chatbot-toggle:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.chatbot-toggle:active {
  transform: translateY(1px) scale(0.98);
}

.chatbot-toggle-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: var(--brand-dark);
  background: #d8e8e5;
  border-radius: 50%;
  font-weight: 900;
}

.chatbot-panel {
  width: min(390px, calc(100vw - 32px));
  max-height: min(610px, calc(100vh - 105px));
  overflow: hidden;
  background: #f4f8f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(41, 79, 92, 0.22);
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  color: #fff;
  background: var(--brand);
}

.chatbot-header strong,
.chatbot-header small {
  display: block;
}

.chatbot-header small {
  margin-top: 2px;
  color: #d8e8e5;
}

.chatbot-close {
  padding: 7px 9px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

.chatbot-messages {
  min-height: 220px;
  max-height: 330px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px;
  overflow-y: auto;
  background: #e8f0f4;
}

.chatbot-message {
  width: fit-content;
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 8px;
  line-height: 1.5;
  white-space: pre-line;
}

.chatbot-message.bot {
  align-self: flex-start;
  color: var(--ink);
  background: #f7faf9;
  border: 1px solid var(--line);
}

.chatbot-message.user {
  align-self: flex-end;
  color: #fff;
  background: var(--brand);
}

.chatbot-quick-replies {
  display: flex;
  gap: 7px;
  padding: 10px 12px 4px;
  overflow-x: auto;
}

.chatbot-quick-replies button {
  flex: 0 0 auto;
  padding: 7px 9px;
  color: var(--brand-dark);
  background: #dce8ee;
  border: 1px solid #b8ccd0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.chatbot-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 10px 12px 12px;
}

.chatbot-form input {
  width: 100%;
  min-width: 0;
  padding: 10px 11px;
  background: var(--input-surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.chatbot-form button {
  padding: 10px 14px;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

@media (max-width: 600px) {
  .live-news-heading {
    align-items: center;
  }

  .live-news-heading .ghost-btn {
    width: auto;
  }

  .live-news-section .live-news-heading h2 {
    font-size: 1rem;
  }

  .live-news-item strong {
    max-width: 72vw;
  }

  .auth-mode-switch {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-mode-switch .ghost-btn {
    width: 100%;
  }

  .report-action-buttons {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .report-action-buttons .primary-btn,
  .report-action-buttons .ghost-btn {
    width: 100%;
    min-width: 0;
  }

  .chatbot {
    right: 12px;
    bottom: 12px;
  }

  .chatbot-panel {
    width: min(390px, calc(100vw - 48px));
    max-height: calc(100vh - 82px);
  }

  .chatbot-messages {
    max-height: calc(100vh - 320px);
  }
}

body:not(.admin-body).customer-session .site-header .customer-account {
  justify-self: end;
  width: fit-content;
  max-width: min(100%, 460px);
  padding: 7px 9px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(244, 196, 116, 0.78);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(10, 27, 36, 0.16);
}

body:not(.admin-body).customer-session .site-header .customer-account > span {
  max-width: 220px;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  body:not(.admin-body).customer-session .site-header .customer-account {
    width: fit-content;
    max-width: 100%;
    justify-self: end;
  }

  body:not(.admin-body).customer-session .site-header .customer-account > span {
    width: auto;
  }
}

body:not(.admin-body) #home-info .location-card {
  min-height: 0;
}

.location-map-thumb {
  position: relative;
  display: block;
  height: 92px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 128, 0.2);
  border-radius: 6px;
  background: #dfe8e6;
  box-shadow: 0 5px 12px rgba(0, 0, 80, 0.08);
}

.location-map-thumb iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  pointer-events: none;
}

.location-map-thumb:hover,
.location-map-thumb:focus-visible {
  border-color: #a16f29;
  box-shadow: 0 7px 16px rgba(0, 0, 80, 0.16);
  outline: none;
}

/* Keep the Royal Park Hall logo and name crisp against the dark hero header. */
body:not(.admin-body) .home-site-header .brand-logo {
  width: 198px;
  height: 61px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.32));
}

body.admin-body .admin-sidebar .admin-brand-logo {
  width: 198px;
  height: 61px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(27%) sepia(25%) saturate(1374%) hue-rotate(158deg) brightness(88%) contrast(91%);
}

body.admin-body .login-brand-logo {
  filter: brightness(0) saturate(100%) invert(27%) sepia(25%) saturate(1374%) hue-rotate(158deg) brightness(88%) contrast(91%);
}

body:not(.admin-body) .home-site-header .brand [data-business-name] {
  color: #fff8e9;
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  font-size: clamp(1.65rem, 2.3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.34);
  white-space: nowrap;
}

body.admin-body .admin-sidebar .admin-brand-logo {
  width: 174px;
  height: 58px;
}

@media (max-width: 600px) {
  body:not(.admin-body) .home-site-header .brand-logo {
    width: 142px;
    height: 46px;
  }

  body:not(.admin-body) .home-site-header .brand [data-business-name] {
    display: inline;
    font-size: 1.28rem;
  }

  body.admin-body .admin-sidebar .admin-brand-logo {
    width: 118px;
    height: 42px;
  }
}

/* Default cool theme restored. */
:root {
  --flag-saffron: #a6b4a6;
  --flag-white: #ffffff;
  --flag-green: #2f665a;
  --flag-navy: #365c6c;
  --ink: #2b3e4b;
  --muted: #667987;
  --line: #cbd8df;
  --surface: #f0f5f7;
  --surface-muted: #e6eef2;
  --input-surface: #edf3f6;
  --soft: #dfe9ee;
  --brand: #527889;
  --brand-dark: #365c6c;
  --gold: #a6b4a6;
  --success: #2f665a;
  --shadow: 0 12px 34px rgba(53, 82, 98, 0.08);
}

html {
  background: #e7eff3;
}

body,
body:not(.admin-body) {
  background: #e7eff3;
  background-image: none;
}

body:not(.admin-body) {
  background: #f5f2ec;
}

body.admin-body {
  background: #e7eff3;
}

/* Responsive layout: laptops and compact desktop screens. */
@media (max-width: 1400px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 16px;
    padding: 12px clamp(14px, 3vw, 34px);
  }

  .site-header .brand {
    min-width: 0;
  }

  .mobile-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
  }

  .site-header nav {
    grid-column: 1 / -1;
    display: flex;
    width: 100%;
    padding: 4px 0 2px;
    overflow-x: auto;
    justify-content: flex-start;
    white-space: nowrap;
    scrollbar-width: thin;
  }

  .site-header nav.is-open {
    display: flex;
    overflow: visible;
  }

  .site-header .customer-account {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .booking-edit,
  .rate-edit,
  .menu-edit,
  .decoration-menu-edit,
  .package-edit,
  .gallery-edit,
  .billing-edit,
  .customer-edit,
  .staff-edit,
  .inventory-edit,
  .user-edit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 1401px) {
  body:not(.admin-body).customer-session .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 24px;
    padding: 12px clamp(18px, 4vw, 58px);
  }

  body:not(.admin-body).customer-session .site-header nav {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
  }

  body:not(.admin-body).customer-session .site-header .customer-account {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
  }
}

@media (min-width: 901px) and (max-width: 1400px) {
  body:not(.admin-body).customer-session .site-header .customer-account {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
  }
}

/* Responsive layout: tablets and mobile admin. */
@media (max-width: 900px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  img,
  video,
  canvas {
    max-width: 100%;
    height: auto;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .site-header nav {
    display: none;
  }

  .site-header nav.is-open {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px;
    max-height: calc(100vh - 92px);
    overflow: visible;
  }

  .site-nav-dropdown {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    width: 100%;
    flex: 0 0 auto;
  }

  .site-nav-dropdown > a {
    width: 100%;
  }

  .gallery-nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: auto;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    width: min(280px, calc(100vw - 32px));
    max-height: min(60vh, 440px);
    overflow-y: auto;
    padding: 7px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(20, 45, 56, 0.18);
  }

  .gallery-nav-submenu-btn {
    min-height: 32px;
    padding: 6px 8px;
    font-size: 0.8rem;
  }

  .gallery-section {
    scroll-margin-top: 136px;
  }

  .site-header > *,
  .section > *,
  .section-grid > *,
  .admin-main > *,
  .panel > *,
  .module-card > * {
    min-width: 0;
  }

  .admin-sidebar {
    position: sticky;
    top: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
  }

  .admin-sidebar .brand {
    align-items: center;
    flex-direction: row;
  }

  .admin-sidebar .admin-brand-logo {
    width: 112px;
  }

  .admin-sidebar .brand > span {
    display: none;
  }

  .admin-sidebar nav {
    min-width: 0;
    align-items: center;
    flex-direction: row;
    gap: 4px;
    padding: 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
  }

  .admin-sidebar nav a {
    flex: 0 0 auto;
    border-left: 0;
    border-bottom: 3px solid transparent;
  }

  .admin-sidebar nav a:hover,
  .admin-sidebar nav a.active {
    border-left-color: transparent;
    border-bottom-color: var(--gold);
  }

  .admin-sidebar #logoutBtn {
    min-height: 38px;
    padding: 8px 11px;
  }

  .admin-main {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 14px;
  }

  .admin-top {
    align-items: flex-start;
  }

  .notification-popover {
    width: min(390px, calc(100vw - 28px));
  }

  .panel-heading,
  .customer-order-confirmation-head,
  .food-detail-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .report-preview-wrap {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .catalog-detail-dialog,
  .booking-confirmation-dialog,
  .image-zoom-dialog {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
  }
}

/* Responsive layout: phones. */
@media (max-width: 600px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 9px 12px;
  }

  .site-header .brand-logo {
    width: 132px;
    height: auto;
  }

  .site-header .brand [data-business-name] {
    display: none;
  }

  .site-header nav {
    gap: 5px;
  }

  .site-header nav a {
    padding: 8px 9px;
    font-size: 0.88rem;
  }

  .site-header .customer-account {
    align-items: stretch;
    justify-content: stretch;
  }

  .customer-account > span {
    width: 100%;
    overflow-wrap: anywhere;
  }

  body:not(.admin-body).customer-session .site-header .customer-account > span {
    width: auto;
    max-width: 130px;
    overflow-wrap: normal;
    white-space: nowrap;
  }

  .customer-account .primary-btn,
  .customer-account .ghost-btn {
    flex: 1;
  }

  .hero {
    min-height: 300px;
  }

  .hero-content {
    padding: 30px 16px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .primary-btn,
  .hero-actions .ghost-btn {
    width: 100%;
  }

  .section,
  .section-grid {
    width: min(100% - 24px, 1180px);
  }

  .section {
    padding: 30px 0;
  }

  .section h2 {
    font-size: 1.75rem;
    overflow-wrap: anywhere;
  }

  .module-card,
  .booking-form,
  .panel,
  .login-card {
    padding: 13px;
  }

  .rate-grid,
  .menu-grid,
  .gallery-grid,
  .customer-module-grid,
  .booking-calendar {
    grid-template-columns: minmax(0, 1fr);
  }

  .compact-form,
  .booking-form,
  .form-grid,
  .report-controls,
  .booking-edit,
  .rate-edit,
  .menu-edit,
  .decoration-menu-edit,
  .package-edit,
  .gallery-edit,
  .billing-edit,
  .customer-edit,
  .staff-edit,
  .inventory-edit,
  .user-edit {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-sidebar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .admin-sidebar nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .admin-main {
    padding: 10px;
  }

  .admin-top-actions {
    align-items: stretch;
  }

  .admin-top-actions > .primary-btn,
  .admin-top-actions .notification-trigger {
    min-height: 42px;
  }

  .notification-popover {
    right: auto;
    left: 0;
    width: calc(100vw - 20px);
  }

  .notification-popover-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .dashboard-cards .dashboard-card-link {
    min-width: 0;
  }

  .deal-actions,
  .booking-confirmation-actions,
  .menu-choice-actions,
  .menu-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .deal-actions button,
  .booking-confirmation-actions button,
  .menu-choice-actions button,
  .menu-card-actions button {
    width: 100%;
  }

  .booking-confirmation-panel,
  .catalog-detail-panel {
    padding: 14px;
  }

  .report-preview {
    min-width: 720px;
  }

  .food-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .chatbot-toggle span:last-child {
    display: none;
  }

  .chatbot-toggle {
    padding: 9px;
  }
}

.dashboard-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.dashboard-card-link:hover,
.dashboard-card-link:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 10px 24px rgba(53, 82, 98, 0.16);
  transform: translateY(-2px);
}

.dashboard-card-link:focus-visible {
  outline: 3px solid rgba(166, 180, 166, 0.7);
  outline-offset: 2px;
}

/* Keep the text-only Ask us control visible on every screen size. */
.chatbot-toggle span:last-child {
  display: inline;
}

@media (max-width: 900px) {
  .chatbot-toggle span:last-child {
    display: inline;
  }
}

/* Compact customer registration and login cards without reducing readability. */
#registration .module-card[data-public-panel] {
  padding: 14px;
}

#registration .module-card[data-public-panel] h2 {
  margin: 4px 0 6px;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

#registration .module-card[data-public-panel] > p:not(.eyebrow) {
  margin: 0;
  line-height: 1.45;
}

#registration .compact-form {
  gap: 9px;
  margin-top: 12px;
}

#registration .compact-form label {
  gap: 5px;
  font-size: 0.86rem;
}

#registration .compact-form input,
#registration .compact-form select,
#registration .compact-form textarea {
  padding: 8px 9px;
}

#registration .compact-form textarea {
  min-height: 62px;
}

#registration .auth-mode-switch {
  gap: 8px;
  margin-top: 10px;
  padding: 6px 8px;
  font-size: 0.82rem;
}

#registration .auth-mode-switch .ghost-btn {
  min-height: 34px;
  padding: 7px 10px;
}

/* Analytics dashboard: compact, readable monitoring blocks. */
.analytics-filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(0, 0, 128, 0.16);
  border-radius: 8px;
}

.analytics-filters label {
  min-width: 0;
  display: grid;
  gap: 5px;
  color: var(--flag-navy);
  font-size: 0.8rem;
  font-weight: 800;
}

.analytics-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.analytics-kpi,
.analytics-block {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(0, 0, 128, 0.18);
  border-top: 3px solid rgba(255, 153, 51, 0.68);
  border-bottom: 3px solid rgba(19, 136, 8, 0.48);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 153, 51, 0.13), rgba(255, 255, 255, 0.92) 48%, rgba(19, 136, 8, 0.1));
}

.analytics-kpi {
  display: grid;
  gap: 5px;
}

.analytics-kpi span,
.analytics-kpi small,
.analytics-block-heading small,
.analytics-summary-row small {
  color: var(--muted);
}

.analytics-kpi span {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.analytics-kpi strong {
  color: var(--flag-navy);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.analytics-kpi small,
.analytics-block-heading small,
.analytics-summary-row small {
  font-size: 0.75rem;
  line-height: 1.35;
}

.analytics-chart-grid,
.analytics-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.analytics-block-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.analytics-block-heading h3 {
  margin: 0;
  color: var(--flag-navy);
  font-size: 1rem;
}

.analytics-bars {
  display: grid;
  gap: 10px;
}

.analytics-bar-row {
  display: grid;
  gap: 5px;
}

.analytics-bar-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-size: 0.82rem;
}

.analytics-bar-label span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-bar-label strong {
  color: var(--flag-navy);
}

.analytics-bar-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 0, 128, 0.1);
}

.analytics-bar-track span {
  display: block;
  height: 100%;
  min-width: 4px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--flag-saffron), var(--flag-navy), var(--flag-green));
}

.analytics-summary-list {
  display: grid;
  gap: 8px;
}

.analytics-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  padding: 8px 10px;
  border-left: 3px solid rgba(0, 0, 128, 0.22);
  background: rgba(255, 255, 255, 0.58);
}

.analytics-summary-row strong {
  color: var(--flag-navy);
  text-align: right;
}

.analytics-summary-row small {
  grid-column: 1 / -1;
}

.analytics-summary-row.is-warning {
  border-left-color: rgba(255, 153, 51, 0.9);
}

.analytics-summary-row.is-good {
  border-left-color: rgba(19, 136, 8, 0.7);
}

.analytics-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.analytics-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 1200px) {
  .analytics-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .analytics-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .social-link-edit {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-category-manager {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-bulk-upload {
    grid-template-columns: minmax(0, 1fr);
  }

  .analytics-filters,
  .analytics-kpi-grid,
  .analytics-chart-grid,
  .analytics-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .analytics-block-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .analytics-actions > button {
    flex: 1 1 180px;
  }
}

/* Hospitality landing page treatment inspired by premium banquet venues. */
body:not(.admin-body) {
  background: #f5f2ec;
}

body:not(.admin-body) .site-header.home-site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  width: 100%;
  padding: 16px clamp(18px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(180deg, rgba(10, 27, 36, 0.72), rgba(10, 27, 36, 0.2));
  border-top: 1px solid rgba(244, 196, 116, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

body:not(.admin-body) .home-site-header .brand {
  color: #fff;
  letter-spacing: 0.02em;
}

body:not(.admin-body) .home-site-header nav {
  color: rgba(255, 255, 255, 0.86);
}

body:not(.admin-body) .home-site-header nav a {
  border: 1px solid transparent;
}

body:not(.admin-body) .home-site-header nav a:hover,
body:not(.admin-body) .home-site-header nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(244, 196, 116, 0.7);
}

body:not(.admin-body) .home-site-header .mobile-nav-toggle {
  color: #152d38;
  background: #f4c474;
  border-color: #f4c474;
}

body:not(.admin-body) .hero.hero-luxury {
  min-height: clamp(560px, 74vh, 720px);
  align-items: center;
  background: #142b36;
}

body:not(.admin-body) .hero-luxury .hero-image {
  object-position: center 58%;
}

body:not(.admin-body) .hero-luxury::after {
  background:
    linear-gradient(90deg, rgba(8, 25, 34, 0.9) 0%, rgba(12, 35, 44, 0.64) 45%, rgba(12, 35, 44, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 25, 34, 0.6), transparent 42%);
}

body:not(.admin-body) .hero-luxury .hero-content {
  max-width: 900px;
  padding: 154px clamp(20px, 7vw, 100px) 82px;
}

body:not(.admin-body) .hero-luxury .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f4c474;
  letter-spacing: 0.2em;
}

body:not(.admin-body) .hero-luxury .eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
}

body:not(.admin-body) .hero-luxury h1 {
  max-width: 740px;
  margin-bottom: 18px;
  color: #fff;
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  font-size: clamp(3.2rem, 8vw, 6.3rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
}

body:not(.admin-body) .hero-luxury p:not(.eyebrow) {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.65;
}

body:not(.admin-body) .hero-luxury .hero-actions {
  justify-content: flex-start;
  margin-top: 26px;
}

body:not(.admin-body) .hero-luxury .hero-actions .primary-btn {
  color: #172f39;
  background: #f4c474;
  border-color: #f4c474;
  box-shadow: 0 12px 26px rgba(4, 18, 24, 0.24);
}

body:not(.admin-body) .hero-luxury .hero-actions .ghost-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
}

.hero-highlights span {
  display: grid;
  gap: 4px;
  min-width: 156px;
  padding: 15px 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-highlights span + span {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-highlights strong {
  color: #f4c474;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
}

body:not(.admin-body) #home-info {
  width: 100%;
  max-width: none;
  padding: 86px max(22px, calc((100% - 1180px) / 2)) 78px;
  background: #f5f2ec;
  box-shadow: none;
  clip-path: none;
}

body:not(.admin-body) #home-info .section-heading {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

body:not(.admin-body) #home-info .section-heading .eyebrow,
body:not(.admin-body) #home-info .home-info-grid strong {
  color: #a16f29;
}

body:not(.admin-body) #home-info .section-heading h2 {
  margin-bottom: 15px;
  color: #183744;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 500;
}

body:not(.admin-body) #home-info .section-heading p:not(.eyebrow) {
  color: #61717a;
  line-height: 1.8;
}

body:not(.admin-body) #home-info .home-info-grid {
  max-width: 1180px;
  gap: 0;
  border-top: 1px solid #d7c9b1;
  border-bottom: 1px solid #d7c9b1;
}

body:not(.admin-body) #home-info .home-info-grid article {
  min-height: 150px;
  padding: 27px 26px 24px;
  background: transparent;
  border: 0;
  border-right: 1px solid #d7c9b1;
  border-radius: 0;
  box-shadow: none;
}

body:not(.admin-body) #home-info .home-info-grid article:nth-child(3n) {
  border-right: 0;
}

body:not(.admin-body) #home-info .home-info-grid article:nth-child(n + 4) {
  border-top: 1px solid #d7c9b1;
}

body:not(.admin-body) #home-info .home-info-grid strong {
  margin-bottom: 11px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 500;
}

body:not(.admin-body) #home-info .home-info-grid p {
  margin: 0;
  color: #66767e;
  font-size: 0.92rem;
  line-height: 1.65;
}

body:not(.admin-body) #live-news {
  width: 100%;
  max-width: none;
  padding: 0 max(22px, calc((100% - 1180px) / 2)) 64px;
  background: #f5f2ec;
}

body:not(.admin-body) #live-news .live-news-compact-card {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px 13px;
  background: #eee8dc;
  border: 1px solid #d7c9b1;
  border-radius: 2px;
  box-shadow: none;
}

body:not(.admin-body) #live-news .live-news-heading h2 {
  color: #183744;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

body:not(.admin-body) #registration {
  width: 100%;
  max-width: none;
  padding: 78px max(22px, calc((100% - 1180px) / 2));
  background: #e8e1d3;
  border-top: 1px solid #d7c9b1;
  border-bottom: 1px solid #d7c9b1;
}

body:not(.admin-body) #registration .module-card[data-public-panel] {
  border-radius: 2px;
  box-shadow: 0 16px 32px rgba(46, 53, 47, 0.08);
}

body:not(.admin-body) #registration .module-card[data-public-panel] h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

/* Restore the customer registration area to the calm default card theme. */
body:not(.admin-body) #registration {
  background: #f5f2ec;
  border-top-color: #d7c9b1;
  border-bottom-color: #d7c9b1;
}

body:not(.admin-body) #registration .module-card[data-public-panel] {
  color: #3f4650;
  background: #f4eedb;
  border: 1px solid #d8cba5;
  box-shadow: 0 10px 28px rgba(91, 78, 42, 0.07);
}

body:not(.admin-body) #registration .module-card[data-public-panel] h2,
body:not(.admin-body) #registration .module-card[data-public-panel] .eyebrow {
  color: #3d5260;
}

body:not(.admin-body) #registration .module-card[data-public-panel] > p:not(.eyebrow),
body:not(.admin-body) #registration .module-card[data-public-panel] label,
body:not(.admin-body) #registration .module-card[data-public-panel] .auth-mode-switch {
  color: #424d51;
}

body:not(.admin-body) #registration .module-card[data-public-panel] input,
body:not(.admin-body) #registration .module-card[data-public-panel] select,
body:not(.admin-body) #registration .module-card[data-public-panel] textarea {
  color: #303a42;
  background: #fbf8ec;
  border-color: #d8cba5;
}

body:not(.admin-body) #registration .module-card[data-public-panel] input:focus,
body:not(.admin-body) #registration .module-card[data-public-panel] select:focus,
body:not(.admin-body) #registration .module-card[data-public-panel] textarea:focus {
  border-color: #a79155;
  box-shadow: 0 0 0 2px rgba(167, 145, 85, 0.18);
}

@media (max-width: 900px) {
  body:not(.admin-body) .site-header.home-site-header {
    position: relative;
    padding: 12px 18px;
    background: #173845;
  }

  body:not(.admin-body) .hero.hero-luxury {
    min-height: 560px;
  }

  body:not(.admin-body) .hero-luxury .hero-content {
    padding: 82px 28px 58px;
  }

  body:not(.admin-body) #home-info .home-info-grid article:nth-child(3n) {
    border-right: 1px solid #d7c9b1;
  }

  body:not(.admin-body) #home-info .home-info-grid article:nth-child(2n) {
    border-right: 0;
  }

  body:not(.admin-body) #home-info .home-info-grid article:nth-child(n + 3) {
    border-top: 1px solid #d7c9b1;
  }
}

@media (max-width: 600px) {
  body:not(.admin-body) .hero.hero-luxury {
    min-height: 560px;
  }

  body:not(.admin-body) .hero-luxury .hero-content {
    padding: 70px 18px 42px;
  }

  body:not(.admin-body) .hero-luxury h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .hero-highlights {
    gap: 14px 0;
    margin-top: 30px;
  }

  .hero-highlights span {
    min-width: 50%;
    padding-top: 12px;
    padding-right: 14px;
    font-size: 0.66rem;
  }

  .hero-highlights span + span {
    padding-left: 14px;
  }

  .hero-highlights span:nth-child(3) {
    width: 100%;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }

  body:not(.admin-body) #home-info,
  body:not(.admin-body) #registration,
  body:not(.admin-body) #live-news {
    padding-right: 16px;
    padding-left: 16px;
  }

  body:not(.admin-body) #home-info .home-info-grid article {
    min-height: 0;
    padding: 22px 18px;
  }
}

/* Keep the public navigation beside the logo on desktop and laptop screens. */
@media (min-width: 901px) {
  body:not(.admin-body) .home-site-header {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
  }

  body:not(.admin-body) .home-site-header .brand {
    flex: 0 0 auto;
    min-width: 0;
  }

  body:not(.admin-body) .home-site-header nav {
    grid-column: auto;
    width: auto;
    min-width: 0;
    flex: 1 1 0;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    white-space: nowrap;
    scrollbar-width: thin;
  }

  body:not(.admin-body) .home-site-header nav > a,
  body:not(.admin-body) .home-site-header nav > .site-nav-dropdown {
    flex: 0 0 auto;
  }

  body:not(.admin-body) .home-site-header .customer-account {
    grid-column: auto;
    flex: 0 1 auto;
  }
}

/* Keep the logged-in customer header in two clear rows on laptop widths. */
@media (min-width: 901px) and (max-width: 1400px) {
  body:not(.admin-body).customer-session .home-site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 16px;
  }

  body:not(.admin-body).customer-session .home-site-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  body:not(.admin-body).customer-session .home-site-header .customer-account {
    grid-column: 2;
    grid-row: 1;
  }
}

/* Keep the logged-in customer controls compact and on one line. */
body:not(.admin-body).customer-session .site-header .customer-account {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: min(100%, 460px);
  padding: 5px 7px;
}

body:not(.admin-body).customer-session .site-header .customer-account > span {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 180px;
  overflow: hidden;
  overflow-wrap: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body:not(.admin-body).customer-session .site-header .customer-account > button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 6px 9px;
  font-size: 0.82rem;
  white-space: nowrap;
}

/* Keep the logged-in account name above its action buttons. */
body:not(.admin-body).customer-session .site-header .customer-account {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: end;
  align-items: center;
  gap: 6px;
}

body:not(.admin-body).customer-session .site-header .customer-account > span {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 220px;
}

/* Gentle first-load reveal for the public homepage. */
body:not(.admin-body) .home-site-header {
  animation: rph-home-header-in 650ms ease-out 80ms both;
}

body:not(.admin-body) .hero-luxury .hero-image.is-active {
  animation: rph-home-image-in 1100ms cubic-bezier(.2, .7, .2, 1) 80ms both;
}

body:not(.admin-body) .hero-luxury::after {
  opacity: 0;
  animation: rph-home-shade-in 700ms ease-out 180ms both;
}

body:not(.admin-body) .hero-luxury .hero-content h1,
body:not(.admin-body) .hero-luxury .hero-content > p:not(.eyebrow),
body:not(.admin-body) .hero-luxury .hero-actions,
body:not(.admin-body) .hero-luxury .hero-highlights {
  opacity: 0;
  transform: translateY(18px);
  animation: rph-home-content-in 700ms cubic-bezier(.2, .7, .2, 1) both;
}

body:not(.admin-body) .hero-luxury .hero-content h1 {
  animation-delay: 500ms;
}

body:not(.admin-body) .hero-luxury .hero-content > p:not(.eyebrow) {
  animation-delay: 620ms;
}

body:not(.admin-body) .hero-luxury .hero-actions {
  animation-delay: 740ms;
}

body:not(.admin-body) .hero-luxury .hero-highlights {
  animation-delay: 860ms;
}

@keyframes rph-home-header-in {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rph-home-image-in {
  from { opacity: 0; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes rph-home-shade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes rph-home-content-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.admin-body) .home-site-header,
  body:not(.admin-body) .hero-luxury .hero-image.is-active,
  body:not(.admin-body) .hero-luxury::after,
  body:not(.admin-body) .hero-luxury .hero-content h1,
  body:not(.admin-body) .hero-luxury .hero-content > p:not(.eyebrow),
  body:not(.admin-body) .hero-luxury .hero-actions,
  body:not(.admin-body) .hero-luxury .hero-highlights {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Remove the excess gap above the public venue heading. */
body:not(.admin-body) #home-info {
  padding-top: 24px;
}

@media (max-width: 600px) {
  body:not(.admin-body) #home-info {
    padding-top: 18px;
  }
}

@media (max-width: 600px) {
  .social-share-rail {
    right: 8px;
    padding: 8px 6px;
    border-radius: 14px;
    top: 50%;
    transform: translateY(-50%);
  }

  .social-link {
    width: 38px;
    height: 38px;
  }

  .social-logo {
    width: 27px;
    height: 27px;
  }

  .social-link::after {
    display: none;
  }
}

/* Keep the complete admin panel on the same calm default background as the homepage. */
body.admin-body,
body.admin-body .login-screen,
body.admin-body .admin-shell,
body.admin-body .admin-sidebar,
body.admin-body .admin-main {
  background: #e7eff3;
}

body.admin-body .admin-sidebar {
  color: var(--ink);
  border-right-color: var(--line);
}

body.admin-body .admin-sidebar .brand,
body.admin-body .admin-sidebar nav,
body.admin-body .admin-sidebar nav a {
  color: var(--ink);
}

body.admin-body .admin-sidebar nav a:hover,
body.admin-body .admin-sidebar nav a.active {
  color: var(--brand-dark);
  background: rgba(92, 129, 144, 0.12);
  border-left-color: var(--brand);
}

@media (min-width: 901px) {
  body:not(.admin-body).customer-session .site-header nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding-left: 0;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    column-gap: 6px;
    row-gap: 0;
    white-space: nowrap;
    scrollbar-width: thin;
  }

  body:not(.admin-body).customer-session .site-header nav > a,
  body:not(.admin-body).customer-session .site-header nav > .site-nav-dropdown {
    flex: 0 0 auto;
  }
}

@media (max-width: 900px) {
  body:not(.admin-body).customer-session .site-header nav.is-open {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
  }

  body:not(.admin-body).customer-session .site-header nav.is-open > a,
  body:not(.admin-body).customer-session .site-header nav.is-open > .site-nav-dropdown {
    flex: 0 0 auto;
    width: auto;
  }

  body:not(.admin-body).customer-session .site-header nav.is-open .site-nav-dropdown > a {
    width: auto;
  }
}

/* Keep the public title and navigation bars visible while homepage content scrolls. */
body:not(.admin-body) .home-site-header {
  position: sticky;
  top: 0;
  inset: auto;
  z-index: 1100;
  background: rgba(23, 56, 69, 0.98);
  border-top-color: rgba(244, 196, 116, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 18px rgba(9, 32, 42, 0.2);
}


/* Open the gallery categories on pointer hover for desktop users. */
@media (hover: hover) and (pointer: fine) {
  body:not(.admin-body) .site-nav-dropdown:hover .gallery-nav-dropdown-menu,
  body:not(.admin-body) .site-nav-dropdown:focus-within .gallery-nav-dropdown-menu {
    display: grid;
    gap: 4px;
  }
}

/* Upcoming Events public cards and admin editor. */
.upcoming-events-section {
  background: #edf4f1;
}

.upcoming-events-section .section-heading {
  margin-bottom: 18px;
}

.upcoming-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.upcoming-event-card {
  overflow: hidden;
  background: #fff8e7;
  border: 1px solid #d9cda9;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(28, 65, 76, 0.1);
}

.upcoming-event-image-button {
  width: 100%;
  height: 180px;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #dce8e5;
  cursor: zoom-in;
}

.upcoming-event-image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.upcoming-event-card:hover .upcoming-event-image-button img {
  transform: scale(1.08);
}

.upcoming-event-card-body {
  padding: 15px 16px 17px;
}

.upcoming-event-card-body h3 {
  margin: 8px 0;
}

.upcoming-event-card-body p {
  margin: 6px 0 0;
}

.upcoming-event-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #315d68;
  font-size: 0.82rem;
  font-weight: 700;
}

.upcoming-event-location,
.upcoming-event-time {
  color: #315d68;
  font-weight: 600;
}

.upcoming-event-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px;
  border: 1px dashed #b9c9c6;
  border-radius: 8px;
  background: #fff8e7;
}

#upcomingEventEditor {
  display: grid;
  gap: 14px;
}

.upcoming-event-edit {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid #c8d5d7;
  border-radius: 8px;
  background: #f8f5e9;
}

.upcoming-event-edit .wide {
  grid-column: 1 / -1;
}

.upcoming-event-upload-preview img {
  width: min(100%, 420px);
  height: 180px;
  object-fit: cover;
  border: 1px solid #c8d5d7;
  border-radius: 6px;
}

.upcoming-event-row-actions,
.upcoming-event-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.upcoming-event-admin-actions {
  margin-top: 14px;
}

@media (max-width: 1200px) {
  .upcoming-event-edit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .upcoming-event-grid,
  .upcoming-event-edit {
    grid-template-columns: 1fr;
  }

  .upcoming-event-edit .wide {
    grid-column: auto;
  }

  .upcoming-event-image-button {
    height: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .upcoming-event-image-button img {
    transition: none;
  }
}

/* Main navigation login dropdown. */
.login-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 125;
  display: none;
  min-width: 176px;
  padding: 7px;
  background: rgba(248, 252, 250, 0.99);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(20, 45, 56, 0.18);
}

.site-nav-dropdown.is-open .login-nav-dropdown-menu {
  display: grid;
  gap: 4px;
}

.login-nav-dropdown-menu a {
  display: block;
  width: 100%;
  color: var(--brand-dark);
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  body:not(.admin-body) .login-nav-dropdown:hover .login-nav-dropdown-menu,
  body:not(.admin-body) .login-nav-dropdown:focus-within .login-nav-dropdown-menu {
    display: grid;
    gap: 4px;
  }
}

@media (max-width: 900px) {
  .login-nav-dropdown-menu {
    top: calc(100% + 4px);
    left: 0;
    right: auto;
    width: min(220px, calc(100vw - 32px));
  }
}

/* Keep login submenu labels readable against the light dropdown surface. */
body:not(.admin-body) .home-site-header .login-nav-dropdown-menu a {
  color: #173845;
  background: transparent;
  border-color: transparent;
}

body:not(.admin-body) .home-site-header .login-nav-dropdown-menu a:hover,
body:not(.admin-body) .home-site-header .login-nav-dropdown-menu a:focus-visible,
body:not(.admin-body) .home-site-header .login-nav-dropdown-menu a.active {
  color: #102f3b;
  background: #dfece8;
  border-color: #a9c8bf;
  outline: none;
}/* Compact inventory editor with independent row actions. */
.admin-body #inventoryEditor {
  gap: 10px;
}

.admin-body .inventory-edit {
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 80, 0.06);
}

.admin-body .inventory-edit label {
  gap: 4px;
  font-size: 0.78rem;
}

.admin-body .inventory-edit input,
.admin-body .inventory-edit select,
.admin-body .inventory-edit textarea {
  min-height: 34px;
  padding: 7px 8px;
  font-size: 0.84rem;
}

.admin-body .inventory-edit textarea {
  min-height: 54px;
}

.inventory-row-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}

.inventory-row-actions .primary-btn,
.inventory-row-actions .danger-btn {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 0.8rem;
}

.inventory-save-message {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.78rem;
}

@media (min-width: 1201px) {
  .admin-body .inventory-edit {
    grid-template-columns: repeat(6, minmax(110px, 1fr));
    gap: 8px;
    padding: 10px;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .admin-body .inventory-edit {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 8px;
    padding: 10px;
  }
}

@media (max-width: 900px) {
  .admin-body .inventory-edit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
  }
}

@media (max-width: 560px) {
  .admin-body .inventory-edit {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Five-second Royal Park Hall logo loading animation. */
.site-loading-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #102f3b, #1b5664 55%, #2e766d);
  opacity: 1;
  visibility: visible;
  transition: opacity .52s ease, visibility .52s ease;
}

.site-loading-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loading-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
}

.site-loading-logo {
  width: min(72vw, 340px);
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(255,255,255,.24));
  animation: site-logo-reveal 2.2s cubic-bezier(.2,.8,.2,1) both;
}

.site-loading-message {
  margin: 0;
  color: #f1f7f5;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.site-loading-line {
  width: min(58vw, 230px);
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255,255,255,.24);
}

.site-loading-line::after {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: #f5c36a;
  animation: site-loading-progress 5s linear both;
}

.site-loading-orbit {
  position: absolute;
  width: min(70vw, 360px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255,255,255,.035), 0 0 0 58px rgba(255,255,255,.025);
  animation: site-loading-orbit 5s ease-out infinite;
}

@keyframes site-logo-reveal {
  0% { opacity: 0; transform: scale(.72) translateY(12px); }
  60% { opacity: 1; transform: scale(1.04) translateY(0); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes site-loading-progress {
  from { transform: translateX(-250%); }
  to { transform: translateX(250%); }
}

@keyframes site-loading-orbit {
  0%, 100% { transform: scale(.72); opacity: .25; }
  50% { transform: scale(1.12); opacity: .75; }
}

@media (prefers-reduced-motion: reduce) {
  .site-loading-logo,
  .site-loading-line::after,
  .site-loading-orbit {
    animation: none;
  }
}

/* Reference-style social ribbon override */
.social-share-rail {
  top: 50%;
  right: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 26px 0 0 26px;
  box-shadow: 0 14px 30px rgba(10, 36, 50, 0.24);
  overflow: visible;
  transform: translateY(-50%);
}

.social-links-list {
  display: grid;
  gap: 0;
  width: 52px;
  overflow: hidden;
  border-radius: 26px 0 0 26px;
  background: #2456b8;
}

.social-link {
  width: 52px;
  height: 52px;
  padding: 0;
  color: #fff;
  background: #315a78;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  box-sizing: border-box;
  text-decoration: none;
  transform: none;
  transition: filter 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.social-link:first-child {
  border-radius: 26px 0 0 0;
}

.social-link:last-child {
  border-bottom: 0;
  border-radius: 0 0 0 26px;
}

.social-link:hover,
.social-link:focus-visible {
  z-index: 2;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 5px 14px rgba(5, 22, 30, 0.26);
  filter: brightness(1.08);
  transform: translateX(-4px);
}

.social-logo {
  width: 100%;
  height: 100%;
  color: #fff;
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: Arial, sans-serif;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: 0;
}

.social-link--facebook {
  background: #2857bd;
}

.social-link--instagram {
  background: linear-gradient(145deg, #f58529 0%, #dd2a7b 55%, #8134af 100%);
}

.social-link--youtube {
  background: #ed1b24;
}

.social-link--x,
.social-link--twitter {
  background: #15191d;
}

.social-link--telegram {
  background: #13a4df;
}

.social-link--linkedin {
  background: #0a66b7;
}

.social-link--facebook .social-logo {
  font-size: 1.62rem;
  padding-top: 2px;
}

.social-link--instagram .social-logo,
.social-link--youtube .social-logo,
.social-link--telegram .social-logo {
  font-size: 0;
}

.social-link--instagram .social-logo {
  position: relative;
}

.social-link--instagram .social-logo::before {
  content: "";
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 4px, #fff 4px 6px, transparent 6px),
    radial-gradient(circle at 75% 25%, #fff 0 2px, transparent 2.5px);
}

.social-link--youtube .social-logo {
  position: relative;
}

.social-link--youtube .social-logo::before {
  content: "";
  width: 28px;
  height: 19px;
  border-radius: 5px;
  background: #fff;
}

.social-link--youtube .social-logo::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #ed1b24;
  transform: translateX(2px);
}

.social-link--telegram .social-logo::before {
  content: ">";
  color: #fff;
  font-size: 1.7rem;
  font-weight: 700;
  transform: rotate(-28deg);
}

.social-link--x .social-logo,
.social-link--twitter .social-logo {
  font-size: 1.36rem;
}

.social-link--linkedin .social-logo {
  font-size: 1.28rem;
}

.social-link-label {
  display: none;
}

@media (max-width: 600px) {
  .social-share-rail {
    right: 0;
    border-radius: 22px 0 0 22px;
  }

  .social-links-list {
    width: 44px;
    border-radius: 22px 0 0 22px;
  }

  .social-link {
    width: 44px;
    height: 44px;
  }

  .social-link:first-child {
    border-radius: 22px 0 0 0;
  }

  .social-link:last-child {
    border-radius: 0 0 0 22px;
  }

  .social-link--instagram .social-logo::before {
    width: 19px;
    height: 19px;
    border-radius: 5px;
  }

  .social-link--youtube .social-logo::before {
    width: 25px;
    height: 17px;
  }

  .social-link--facebook .social-logo {
    font-size: 1.42rem;
  }

  .social-link--x .social-logo,
  .social-link--twitter .social-logo,
  .social-link--linkedin .social-logo {
    font-size: 1.12rem;
  }
}
/* Guest-aware customer cart total */
.cart-totals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 0.72fr);
  align-items: end;
  gap: 12px;
}

.menu-total-field {
  display: grid;
  gap: 5px;
  color: var(--ink);
  font-weight: 800;
}

.menu-total-field input {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-sizing: border-box;
  font: inherit;
  font-weight: 900;
  text-align: right;
}

@media (max-width: 600px) {
  .cart-totals {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .menu-total-field input {
    text-align: left;
  }
}
/* Social ribbon hide and show control */
.social-share-rail {
  transition: transform 0.22s ease;
}

.social-rail-toggle {
  position: absolute;
  top: 50%;
  left: -18px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 48px;
  padding: 0;
  color: #fff;
  background: #2456b8;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 7px 16px rgba(10, 36, 50, 0.2);
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.18s ease, transform 0.18s ease;
}

.social-rail-toggle:hover,
.social-rail-toggle:focus-visible {
  background: #1d4595;
  outline: 2px solid rgba(255, 255, 255, 0.86);
  outline-offset: 2px;
}

.social-rail-toggle span {
  display: block;
  transform: translateX(-1px);
}

.social-share-rail.is-collapsed {
  transform: translateX(calc(100% - 12px)) translateY(-50%);
}

.social-share-rail.is-collapsed .social-rail-toggle {
  background: #1d4595;
}

@media (max-width: 600px) {
  .social-rail-toggle {
    left: -16px;
    width: 20px;
    height: 40px;
    border-radius: 7px 0 0 7px;
    font-size: 0.9rem;
  }

  .social-share-rail.is-collapsed {
    transform: translateX(calc(100% - 10px)) translateY(-50%);
  }
}
/* Live customer cart calculation note */
.cart-calculation-note {
  margin: -3px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}
/* Restore the original cool surfaces for legacy theme selectors. */
.gallery-section {
  background: #f5f2ec;
  background-image: none;
  border-top-color: #d7c9b1;
  border-bottom-color: #d7c9b1;
}

.gallery-category-chip,
.admin-search-empty,
.booking-requirement-table th {
  color: var(--brand-dark);
  background: var(--surface-muted);
  background-image: none;
  border-color: var(--line);
}

.admin-search-toolbar input,
.booking-requirement-table input,
.booking-requirement-table textarea,
.billing-line-items-table input {
  color: var(--ink);
  background: var(--input-surface);
  background-image: none;
  border-color: var(--line);
}

.live-news-compact-card,
.live-news-item,
.notification-item,
.notification-item.unread,
.reminder-item,
.followup-item,
.food-row,
.calendar-day,
.booking-confirmation-id {
  background: var(--surface-muted);
  background-image: none;
  border-color: var(--line);
}

.login-screen {
  background: #e7eff3;
  background-image: none;
}

.admin-sidebar,
.admin-main {
  background: #e7eff3;
  background-image: none;
}

/* Restore analytics blocks to the default cool card treatment. */
.analytics-kpi,
.analytics-block {
  background: var(--surface);
  background-image: none;
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* Keep the logo, menu, and logged-in controls in one desktop header row. */
@media (min-width: 901px) {
  body:not(.admin-body).customer-session .home-site-header {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
  }

  body:not(.admin-body).customer-session .home-site-header .brand {
    flex: 0 0 auto;
    min-width: 0;
  }

  body:not(.admin-body).customer-session .home-site-header nav {
    grid-column: auto;
    grid-row: auto;
    display: flex;
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    white-space: nowrap;
    scrollbar-width: thin;
  }

  body:not(.admin-body).customer-session .home-site-header nav > a,
  body:not(.admin-body).customer-session .home-site-header nav > .site-nav-dropdown {
    flex: 0 0 auto;
  }

  body:not(.admin-body).customer-session .home-site-header .customer-account {
    grid-column: auto;
    grid-row: auto;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: center;
    width: auto;
    max-width: min(40vw, 360px);
    padding: 5px 7px;
  }

  body:not(.admin-body).customer-session .home-site-header .customer-account > span {
    flex: 0 1 auto;
    width: auto;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Keep the homepage Login dropdown above the scrolling navigation. */
@media (min-width: 901px) {
  body:not(.admin-body) .home-site-header .login-nav-dropdown-menu {
    position: fixed;
    top: var(--login-dropdown-top, 72px);
    left: var(--login-dropdown-left, auto);
    right: auto;
    z-index: 250;
    max-height: min(440px, calc(100vh - 92px));
    overflow-y: auto;
  }
}
/* Keep the customer Menu dropdown above the scrolling navigation. */
@media (min-width: 901px) {
  body:not(.admin-body).customer-session .home-site-header #menuNavSubmenu {
    position: fixed;
    top: var(--menu-dropdown-top, 72px);
    left: var(--menu-dropdown-left, auto);
    right: auto;
    z-index: 250;
    max-height: min(440px, calc(100vh - 92px));
    overflow-y: auto;
  }
}
/* Make customer Menu dropdown labels readable. */
body:not(.admin-body).customer-session .home-site-header #menuNavSubmenu > a {
  display: block;
  width: 100%;
  color: #173845;
  background: transparent;
  border-color: transparent;
  text-align: left;
  white-space: nowrap;
}

body:not(.admin-body).customer-session .home-site-header #menuNavSubmenu > a:hover,
body:not(.admin-body).customer-session .home-site-header #menuNavSubmenu > a:focus-visible {
  color: #102f3b;
  background: #dfece8;
  border-color: #a9c8bf;
  outline: none;
}
/* Keep the homepage Gallery dropdown visible above the scrolling navigation. */
@media (min-width: 901px) {
  body:not(.admin-body) .home-site-header #galleryNavSubmenu {
    position: fixed;
    top: var(--gallery-dropdown-top, 72px);
    left: var(--gallery-dropdown-left, auto);
    right: auto;
    z-index: 250;
    max-height: min(440px, calc(100vh - 92px));
    overflow-y: auto;
  }
}