:root {
  --bg: #080808;
  --card: #111;
  --text: #fff;
  --muted: #c8c1b3;
  --gold: #c9a24a;
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}
[data-theme="light"] {
  --bg: #fffaf0;
  --card: #fff;
  --text: #16110b;
  --muted: #6e6254;
  --line: rgba(0, 0, 0, 0.1);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 20px 60px rgba(55, 37, 9, 0.12);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at top, #2b1d0a, transparent 32%), var(--bg);
  color: var(--text);
  font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5%;
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
[data-theme="light"] .nav {
  background: rgba(255, 250, 240, 0.82);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
}
nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
nav a {
  font-size: 0.92rem;
  color: var(--muted);
  padding: 8px 0;
  position: relative;
}
nav a.active,
nav a:hover {
  color: var(--gold);
}
.order-link,
.btn,
button {
  background: linear-gradient(135deg, var(--gold), #f4dc97);
  color: #171006;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(201, 162, 74, 0.22);
  cursor: pointer;
}
.btn.ghost,
.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.theme,
.hamb {
  padding: 9px 12px;
}
.hamb {
  display: none;
}
.hero {
  min-height: 88vh;
  display: grid;
  place-items: center;
  padding: 90px 5%;
  position: relative;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.28)),
    url("https://images.unsplash.com/photo-1572116469696-31de0f17cc34?auto=format&fit=crop&w=1800&q=80")
      center/cover;
  filter: saturate(1.12);
}
[data-theme="light"] .hero:before {
  opacity: 0.75;
}
.hero-content {
  position: relative;
  max-width: 960px;
  text-align: center;
}
.eyebrow {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}
.hero h1,
.page-hero h1 {
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  line-height: 0.95;
  margin: 18px 0;
}
.hero p,
.page-hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 760px;
  margin: auto;
}
.cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}
.section {
  padding: 84px 5%;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}
.section h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin: 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card {
  background: linear-gradient(180deg, var(--glass), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card h2 {
    line-height: 1;
}

.food img,
.gallery img {
  height: 230px;
  width: 100%;
  object-fit: cover;
  border-radius: 22px;
}
.meta {
  display: flex;
  justify-content: space-between;
    margin-top: 20px;
    /*margin-bottom: 5px;*/
  gap: 10px;
  color: var(--gold);
  font-weight: 900;
}
.muted {
  color: var(--muted);
}
.page-hero {
  padding: 95px 5% 48px;
  background: linear-gradient(135deg, rgba(201, 162, 74, 0.18), transparent);
  text-align: center;
}
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.filters input,
.filters select,
input,
textarea,
select {
  width: 100%;
  padding: 14px 15px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
}
.filters input {
  max-width: 330px;
}
.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
  cursor: pointer;
}
.tag:hover,
.tag.active {
  background: var(--gold);
  color: #111;
}
.form {
  max-width: 820px;
  margin: auto;
  display: grid;
  gap: 14px;
}
.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.notice {
  padding: 16px;
  border-radius: 16px;
  background: rgba(74, 201, 130, 0.16);
  border: 1px solid rgba(74, 201, 130, 0.3);
}
.footer {
  position: relative;
  background: #050505;
  color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 64px 5% 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr 1.2fr;
  gap: 28px;
}
.footer a {
  display: block;
  color: #d8cdb9;
  margin: 8px 0;
}
.footer-logo {
  color: var(--gold);
  font-size: 2.5rem;
}
.social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social a {
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px 14px;
  border-radius: 999px;
}
.newsletter {
  display: flex;
  gap: 8px;
}
.newsletter input {
  background: #111;
  color: #fff;
}
.newsletter button {
  white-space: nowrap;
}
.mapbox {
  margin-top: 14px;
  min-height: 120px;
  border-radius: 24px;
  background: linear-gradient(135deg, #1c1c1c, #3a2b0e);
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 34px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.to-top {
  position: absolute;
  right: 5%;
  top: -22px;
}
.dashboard {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.side {
  background: #080808;
  color: #fff;
  padding: 24px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.side a {
  display: block;
  padding: 12px;
  border-radius: 12px;
  color: #ddd;
}
.side a:hover {
  background: #1a1a1a;
  color: var(--gold);
}
.admin-main {
  padding: 30px;
  background: var(--bg);
}
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
}
td,
th {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.app-shell {
  max-width: 460px;
  margin: auto;
  min-height: 100vh;
  background: var(--bg);
  border-inline: 1px solid var(--line);
}
.bottom-nav {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  background: var(--card);
  border-top: 1px solid var(--line);
  padding: 12px;
}
.loader {
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: 999;
  animation: fade 0.7s 0.2s forwards;
}
@keyframes fade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.7s;
}
.reveal.show {
  opacity: 1;
  transform: none;
}
@media (max-width: 1000px) {
  .grid,
  .grid.two,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hamb {
    display: block;
  }
  nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    background: var(--card);
    padding: 20px;
    box-shadow: var(--shadow);
  }
  body.open nav {
    display: grid;
  }
  .form .row {
    grid-template-columns: 1fr;
  }
  .dashboard {
    grid-template-columns: 1fr;
  }
  .side {
    height: auto;
    position: relative;
  }
}
@media (max-width: 650px) {
  .grid,
  .grid.two,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero h1,
  .page-hero h1 {
    font-size: 2.7rem;
  }
  .section {
    padding: 58px 5%;
  }
  .newsletter {
    display: grid;
  }
}
.rich-hero {
  min-height: 56vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: transparent;
}
.rich-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.3)),
    var(--hero-img) center/cover;
  filter: saturate(1.08);
}
.rich-hero .hero-content {
  position: relative;
  z-index: 1;
}
.feature-list {
  display: grid;
  gap: 12px;
}
.feature-list li {
  list-style: none;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--glass);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--glass);
  text-align: center;
}
.stat b {
  font-size: 2rem;
  color: var(--gold);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.split img {
  border-radius: 30px;
  min-height: 360px;
  object-fit: cover;
}
.timeline {
  display: grid;
  gap: 16px;
}
.timeline .card {
  border-left: 4px solid var(--gold);
}
.admin-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 20px 0;
}
.admin-form .full {
  grid-column: 1/-1;
}
.mini-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.85rem;
}
.price {
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 900;
}
@media (max-width: 850px) {
  .split,
  .stats,
  .admin-form {
    grid-template-columns: 1fr;
  }
}

/* Final WAMP rebuild fixes */
:root {
  --heroText: #ffffff;
  --heroScrim: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.88),
    rgba(0, 0, 0, 0.48),
    rgba(0, 0, 0, 0.18)
  );
}
html[data-theme="light"] {
  --heroText: #fff;
  --heroScrim: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.86),
    rgba(0, 0, 0, 0.56),
    rgba(0, 0, 0, 0.24)
  );
}
.rich-hero {
  min-height: 78vh;
  background-image: var(--heroScrim), var(--hero-img);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 120px 6vw 70px;
  position: relative;
  overflow: hidden;
}
.rich-hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}
.hero-content h1 {
  color: var(--heroText);
  font-size: clamp(3rem, 7vw, 7.8rem);
  line-height: 0.92;
  text-shadow: 0 12px 35px rgba(0, 0, 0, 0.75);
  letter-spacing: -0.07em;
}
.hero-content p {
  color: #fff;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  max-width: 780px;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.7);
}
.hero-content .eyebrow {
  color: var(--gold);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.85);
}
.nav {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav a.active {
  color: var(--gold);
  font-weight: 800;
}
.order-link {
  background: var(--gold);
  color: #120f06 !important;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 900;
}
.theme {
  cursor: pointer;
}
.admin-body .theme {
  width: 100%;
  margin: 12px 0;
}
.admin-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.admin-brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--gold);
}
.admin-brand h2 {
  margin: 0;
}
.admin-brand p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 24px;
}
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: var(--card);
}
.hero-preview-mini {
  min-height: 160px;
  background-size: cover;
  background-position: center;
  border-radius: 22px;
  padding: 28px;
  display: flex;
  align-items: end;
  color: #fff;
  font-size: 1.5rem;
  text-shadow: 0 4px 20px #000;
  border: 1px solid var(--line);
}
.footer {
  position: relative;
}
.footer a {
  display: inline-block;
  margin: 0.25rem 0.25rem 0.25rem 0;
}
.mapbox {
  display: block;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(201, 161, 77, 0.16), transparent);
  margin-top: 1rem;
}
.to-top {
  position: absolute;
  right: 24px;
  top: -24px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: 0;
  background: var(--gold);
  font-weight: 900;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}
input[type="file"] {
  padding: 14px;
  border: 1px dashed var(--gold);
  border-radius: 14px;
  background: rgba(201, 161, 77, 0.08);
}
@media (max-width: 900px) {
  .rich-hero {
    min-height: 70vh;
    padding-top: 100px;
  }
  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Admin dashboard upgrade */
.admin-shell {
  grid-template-columns: 280px minmax(0, 1fr);
  background: var(--bg);
}
.admin-sidebar {
  padding: 22px 16px;
  background: linear-gradient(180deg, #070707, #14100a);
  border-right: 1px solid var(--line);
  overflow: auto;
}
.admin-sidebar .admin-brand {
  color: #fff;
  text-decoration: none;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 18px;
}
.admin-menu {
  display: grid !important;
  gap: 6px;
  position: static !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.admin-menu a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: #d9d0be;
  padding: 12px 13px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 0.95rem;
}
.admin-menu a:hover,
.admin-menu a.active {
  background: rgba(201, 162, 74, 0.16);
  color: var(--gold);
}
.admin-main {
  padding: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(201, 162, 74, 0.12),
      transparent 32%
    ),
    var(--bg);
  min-width: 0;
}
.admin-navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
[data-theme="light"] .admin-navbar {
  background: rgba(255, 250, 240, 0.85);
}
.admin-navbar h1 {
  margin: 2px 0 0;
  font-size: clamp(1.45rem, 3vw, 2.5rem);
}
.admin-navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  padding: 0;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.admin-user-menu {
  position: relative;
}
.admin-user-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 7px 12px;
  box-shadow: none;
}
.admin-user-trigger small {
  color: var(--muted);
  display: block;
}
.avatar {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: #120f06;
  font-weight: 900;
}
.avatar.big {
  width: 58px;
  height: 58px;
  font-size: 1.4rem;
}
.admin-user-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 260px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 12px;
  box-shadow: var(--shadow);
}
body.userdrop-open .admin-user-dropdown {
  display: block;
}
.admin-user-dropdown a {
  display: block;
  color: var(--text);
  padding: 11px 12px;
  border-radius: 12px;
}
.admin-user-dropdown a:hover {
  background: var(--glass);
  color: var(--gold);
}
.admin-user-dropdown .danger {
  color: #ff7777;
}
.user-card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 4px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.user-card em {
  color: var(--gold);
  font-style: normal;
  font-size: 0.9rem;
}
.admin-content {
  padding: 28px;
}
.crud-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 22px;
  align-items: start;
}
.crud-list {
  display: grid;
  gap: 14px;
}
.admin-table-wrap {
  overflow: auto;
}
.actions-inline {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.danger-btn {
  background: #7f1d1d;
  color: white;
}
.form-help {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: -6px;
}
@media (max-width: 980px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: relative;
    height: auto;
  }
  .admin-navbar {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-navbar-actions {
    width: 100%;
    justify-content: space-between;
  }
  .crud-grid {
    grid-template-columns: 1fr;
  }
  .admin-user-dropdown {
    right: auto;
    left: 0;
  }
}

/* Social icons + QR menu footer upgrade */
.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.social-icons a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: 0.25s;
  color: #fff;
  position: relative;
  overflow: visible;
}
.social-icons a:hover {
  transform: translateY(-4px);
  background: var(--gold);
  color: #15100a;
  box-shadow: 0 16px 38px rgba(201, 162, 74, 0.26);
}
.social-icons svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}
.social-icons a span:last-child {
  position: absolute;
  left: 50%;
  bottom: -34px;
  transform: translateX(-50%) translateY(6px);
  background: #111;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: 0.2s;
}
.social-icons a:hover span:last-child {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.qr-footer {
  display: flex !important;
  align-items: center;
  gap: 14px;
  margin-top: 16px !important;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(201, 162, 74, 0.16),
    rgba(255, 255, 255, 0.04)
  );
  transition: 0.25s;
}
.qr-footer:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}
.qr-footer img {
  width: 82px;
  height: 82px;
  border-radius: 14px;
  background: white;
  padding: 6px;
}
.qr-footer span {
  display: grid;
  gap: 2px;
  color: #fff;
}
.qr-footer small {
  color: #d8cdb9;
}
.qr-panel {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: center;
}
.qr-panel img {
  width: 260px;
  border-radius: 26px;
  background: white;
  padding: 16px;
  box-shadow: var(--shadow);
}
@media (max-width: 700px) {
  .qr-panel {
    grid-template-columns: 1fr;
  }
  .qr-panel img {
    width: 220px;
    margin: auto;
  }
}

/* Official photographed menu boards */
.menu-scan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.scan-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: 0.25s ease;
  position: relative;
}
.scan-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}
.scan-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}
.scan-card span {
  display: block;
  padding: 13px 15px;
  font-weight: 800;
}
.app-shell .menu-scan-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 90px;
}
@media (max-width: 680px) {
  .menu-scan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .scan-card img {
    height: 190px;
  }
}

/* Navigation cleanup: 6 public items + More dropdown */
.public-nav {
  gap: 12px;
}
.nav-drop {
  position: relative;
}
.nav-drop > button {
  background: transparent;
  color: var(--muted);
  border: 0;
  box-shadow: none;
  padding: 8px 0;
  border-radius: 0;
}
.nav-drop:hover > button {
  color: var(--gold);
}
.nav-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  min-width: 230px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 10px;
  box-shadow: var(--shadow);
  z-index: 80;
}
.nav-drop:hover .nav-menu,
.nav-drop:focus-within .nav-menu {
  display: grid;
  gap: 4px;
}
.nav-menu a {
  display: block;
  padding: 11px 13px;
  border-radius: 14px;
  color: var(--text);
}
.nav-menu a:hover,
.nav-menu a.active {
  background: var(--glass);
  color: var(--gold);
}

/* Public menu filter controls */
.menu-filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 230px 210px;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}
.menu-filter-bar select,
.menu-filter-bar input {
  width: 100%;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 16px;
  outline: none;
}
.small-text {
  font-size: 0.9rem;
}
.fav-btn {
  padding: 5px 10px;
  margin-left: 8px;
}

/* Improved footer structure and light-mode visibility */
.footer {
  position: relative;
  background: linear-gradient(180deg, #100d08, #050505);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 72px 5% 28px;
  margin-top: 60px;
}
[data-theme="light"] .footer {
  background: linear-gradient(180deg, #18110a, #070604);
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr 1fr 1.1fr;
  gap: 34px;
  align-items: start;
}
.footer h2,
.footer h3 {
  color: #fff;
  margin-top: 0;
}
.footer p,
.footer a,
.footer small {
  color: #eadfca;
}
.footer a:hover {
  color: var(--gold);
}
.footer-col {
  display: grid;
  gap: 10px;
}
.footer-lead {
  font-size: 1.02rem;
  max-width: 520px;
}
.footer-contact b {
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 36px;
  padding-top: 20px;
  color: #d7ccb7;
}
.newsletter {
  display: flex;
  gap: 8px;
}
.newsletter input {
  min-width: 0;
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 999px;
  padding: 12px 14px;
}
.newsletter input::placeholder {
  color: #cfc4b5;
}
.mapbox {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 1rem;
  background: linear-gradient(
    135deg,
    rgba(201, 161, 77, 0.16),
    rgba(255, 255, 255, 0.04)
  );
  margin-top: 0.5rem;
}
.qr-footer span,
.qr-footer small {
  color: #fff !important;
}
.social-icons a {
  color: #fff !important;
}
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  border: 0;
  background: var(--gold);
  color: #120f06;
  font-weight: 900;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: 0.25s;
}
.to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
@media (max-width: 1050px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .menu-filter-bar {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .hamb {
    display: block;
  }
  .public-nav {
    display: none;
    position: absolute;
    left: 5%;
    right: 5%;
    top: 74px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 16px;
    box-shadow: var(--shadow);
    align-items: stretch;
  }
  .open .public-nav {
    display: grid;
  }
  .nav-menu {
    position: static;
    display: grid;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .nav-drop > button {
    text-align: left;
    width: 100%;
    padding: 10px 0;
  }
  .nav-drop .nav-menu {
    display: grid;
  }
}
@media (max-width: 680px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    display: grid;
  }
  .newsletter {
    flex-direction: column;
  }
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: start;
}

.instagram-media {
  max-width: 100% !important;
  min-width: 100% !important;
  border-radius: 24px !important;
  overflow: hidden;
}

.blog-featured-image {
  overflow: hidden;
  padding: 0;
  border-radius: 28px;
  margin-bottom: 10px;
  background: var(--card);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.featured-blog-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.featured-blog-image:hover {
  transform: scale(1.03);
}

[data-theme="light"] .blog-featured-image {
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Instagram admin/public feed */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: start;
}
.insta-card {
  padding: 14px;
  overflow: hidden;
}
.instagram-media {
  max-width: 100% !important;
  min-width: 100% !important;
  width: 100% !important;
  border-radius: 22px !important;
}
.insta-caption {
  margin-top: 12px;
  font-size: 14px;
}
.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.admin-page-head.compact {
  margin-bottom: 16px;
}
.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.82rem;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn.small {
  padding: 7px 11px;
  font-size: 0.82rem;
}
.btn.danger,
.danger {
  background: #b42318;
  color: #fff !important;
  border-color: #b42318;
}
.empty-state {
  text-align: center;
  max-width: 720px;
  margin: auto;
}

/* ==========================================================================
   Premium Hover Interaction System
   Applied across public website and customer-facing app sections.
   ========================================================================== */

body:not(.admin-body) .card,
body:not(.admin-body) .food,
body:not(.admin-body) .menu-card,
body:not(.admin-body) .blog-card,
body:not(.admin-body) .event-card,
body:not(.admin-body) .team-card,
body:not(.admin-body) .testimonial-card,
body:not(.admin-body) .gallery-card,
body:not(.admin-body) .insta-card,
body:not(.admin-body) .promo-banner,
body:not(.admin-body) .stat,
body:not(.admin-body) .qr-card {
  overflow: hidden;
  position: relative;
  border-radius: 28px;
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease,
    background-color 0.45s ease;
}

body:not(.admin-body) .card img,
body:not(.admin-body) .food img,
body:not(.admin-body) .menu-card img,
body:not(.admin-body) .blog-card img,
body:not(.admin-body) .event-card img,
body:not(.admin-body) .team-card img,
body:not(.admin-body) .gallery-card img,
body:not(.admin-body) .insta-card img,
body:not(.admin-body) .promo-banner img {
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

body:not(.admin-body) .card:hover,
body:not(.admin-body) .food:hover,
body:not(.admin-body) .menu-card:hover,
body:not(.admin-body) .blog-card:hover,
body:not(.admin-body) .event-card:hover,
body:not(.admin-body) .team-card:hover,
body:not(.admin-body) .testimonial-card:hover,
body:not(.admin-body) .gallery-card:hover,
body:not(.admin-body) .insta-card:hover,
body:not(.admin-body) .promo-banner:hover,
body:not(.admin-body) .stat:hover,
body:not(.admin-body) .qr-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

body:not(.admin-body) .card:hover img,
body:not(.admin-body) .food:hover img,
body:not(.admin-body) .menu-card:hover img,
body:not(.admin-body) .blog-card:hover img,
body:not(.admin-body) .event-card:hover img,
body:not(.admin-body) .team-card:hover img,
body:not(.admin-body) .gallery-card:hover img,
body:not(.admin-body) .insta-card:hover img,
body:not(.admin-body) .promo-banner:hover img {
  transform: scale(1.05);
}

[data-theme="light"] body:not(.admin-body) .card,
[data-theme="light"] body:not(.admin-body) .food,
[data-theme="light"] body:not(.admin-body) .menu-card,
[data-theme="light"] body:not(.admin-body) .blog-card,
[data-theme="light"] body:not(.admin-body) .event-card,
[data-theme="light"] body:not(.admin-body) .team-card,
[data-theme="light"] body:not(.admin-body) .testimonial-card,
[data-theme="light"] body:not(.admin-body) .gallery-card,
[data-theme="light"] body:not(.admin-body) .insta-card,
[data-theme="light"] body:not(.admin-body) .promo-banner,
[data-theme="light"] body:not(.admin-body) .stat,
[data-theme="light"] body:not(.admin-body) .qr-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.hover-overlay::after,
.gallery-card::after,
.event-card::after,
.promo-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.02));
  opacity: 0.65;
  transition: opacity 0.4s ease;
}

.hover-overlay:hover::after,
.gallery-card:hover::after,
.event-card:hover::after,
.promo-banner:hover::after {
  opacity: 0.9;
}

.hover-content {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
  transition: transform 0.4s ease;
}

.hover-lift:hover .hover-content,
.card:hover .hover-content {
  transform: translateY(-4px);
}

.blog-featured-image {
  overflow: hidden;
  padding: 0;
  border-radius: 28px;
  margin-bottom: 10px;
  background: var(--card);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.featured-blog-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.featured-blog-image:hover {
  transform: scale(1.03);
}

[data-theme="light"] .blog-featured-image {
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Mobile navigation, submenu, theme toggle and scroll-to-top fixes */
.mobile-nav-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.nav-drop.open .nav-menu {
  display: grid;
  gap: 4px;
}

.nav-drop-toggle {
  cursor: pointer;
}

.to-top {
  right: max(20px, env(safe-area-inset-right));
  bottom: max(26px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  z-index: 120;
}

.sales-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px auto;
  gap: 12px;
  align-items: end;
}

.sales-cart {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.sale-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--glass);
}

.sale-line span {
  display: grid;
  gap: 2px;
}

.sale-line small {
  color: var(--muted);
}

.sale-total {
  background: rgba(201, 162, 74, 0.14);
  color: var(--text);
}

.btn.small,
button.small {
  padding: 7px 11px;
  font-size: 0.82rem;
}

.btn.danger,
button.danger,
.danger {
  background: #b42318 !important;
  color: #fff !important;
}

@media (max-width: 900px) {
  .nav {
    gap: 12px;
  }

  .mobile-nav-actions {
    display: flex;
    margin-left: auto;
  }

  .desktop-theme-toggle {
    display: none !important;
  }

  .mobile-theme-toggle {
    display: inline-grid !important;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
  }

  .public-nav {
    max-height: calc(100vh - 96px);
    overflow-y: auto;
  }

  .nav-drop .nav-menu {
    display: none;
    margin-top: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--glass);
  }

  .nav-drop.open .nav-menu {
    display: grid;
  }

  .nav-drop > button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    background: transparent;
    box-shadow: none;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
  }

  .to-top {
    right: 16px;
    bottom: 18px;
    width: 46px;
    height: 46px;
  }

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

  .sales-add-btn {
    width: 100%;
  }
}

/* Final mobile navigation and scroll-to-top placement patch */
.mobile-nav-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.nav-drop.open .nav-menu {
  display: grid;
}

.nav-drop-toggle {
  cursor: pointer;
  touch-action: manipulation;
}

.to-top,
.footer .to-top {
  position: fixed !important;
  top: auto !important;
  left: auto !important;
  right: max(22px, env(safe-area-inset-right)) !important;
  bottom: max(22px, env(safe-area-inset-bottom)) !important;
  z-index: 999 !important;
  display: grid !important;
  place-items: center !important;
  width: 52px !important;
  height: 52px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  background: var(--gold) !important;
  color: #120f06 !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.28) !important;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}

.to-top.show,
.footer .to-top.show {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

@media (max-width: 900px) {
  .mobile-nav-actions {
    display: flex !important;
    margin-left: auto;
  }

  .desktop-theme-toggle {
    display: none !important;
  }

  .mobile-theme-toggle {
    display: inline-grid !important;
    place-items: center !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    flex: 0 0 auto;
  }

  .public-nav {
    max-height: calc(100vh - 96px);
    overflow-y: auto;
  }

  .nav-drop .nav-menu {
    display: none !important;
    position: static !important;
    margin-top: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--glass);
    box-shadow: none;
  }

  .nav-drop.open .nav-menu {
    display: grid !important;
  }

  .nav-drop > button {
    width: 100%;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    background: transparent;
    box-shadow: none;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
  }

  .to-top,
  .footer .to-top {
    right: max(16px, env(safe-area-inset-right)) !important;
    bottom: max(18px, env(safe-area-inset-bottom)) !important;
    width: 46px !important;
    height: 46px !important;
  }
}
