/* ==========================================================================
   Sultan Restaurant & Hookah Lounge — Design System
   ========================================================================== */

:root {
  /* Palette */
  --color-cream: #faf6ee;
  --color-cream-deep: #f1e6d3;
  --color-paper: #fffdf9;
  --color-ink: #2a1d14;
  --color-brown: #4a3323;
  --color-brown-deep: #2b1d14;
  --color-gold: #b8863f;
  --color-gold-light: #ddb878;
  --color-gold-pale: #efd9ab;
  --color-red: #a02b3a;
  --color-red-deep: #7c1f2c;
  --color-cream-text: #f7efe0;
  --color-text: #2a1d14;
  --color-text-muted: #6b5a48;
  --color-border: rgba(74, 51, 35, 0.15);

  /* Type */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;
  --font-arabic: 'Noto Naskh Arabic', serif;

  /* Layout */
  --container-w: 1180px;
  --radius: 6px;
  --shadow-soft: 0 10px 30px rgba(42, 29, 20, 0.12);
  --shadow-deep: 0 20px 50px rgba(42, 29, 20, 0.25);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-brown-deep);
  font-weight: 700;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: 0.9rem;
}

p { color: var(--color-text-muted); }
p.lede { font-size: 1.15rem; color: var(--color-text); }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { position: relative; }

.section-pad { padding: clamp(3.5rem, 8vw, 7rem) 0; }

.center { text-align: center; }

.divider-mark {
  width: 64px;
  height: 2px;
  background: var(--color-gold);
  margin: 1.4rem auto;
  position: relative;
}
.divider-mark::before {
  content: '\2726';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-cream);
  color: var(--color-gold);
  padding: 0 10px;
  font-size: 0.9rem;
}
.center .divider-mark { margin-left: auto; margin-right: auto; }
.divider-mark.on-dark { background: var(--color-gold-light); }
.divider-mark.on-dark::before { background: var(--color-brown-deep); color: var(--color-gold-light); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  border-radius: 2px;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}
.btn-primary {
  background: var(--color-red);
  color: #fff;
  border-color: var(--color-red);
}
.btn-primary:hover { background: var(--color-red-deep); border-color: var(--color-red-deep); }

.btn-outline {
  background: transparent;
  color: var(--color-cream-text);
  border-color: rgba(247, 239, 224, 0.55);
}
.btn-outline:hover { background: rgba(247, 239, 224, 0.12); border-color: var(--color-cream-text); }

.btn-outline-dark {
  background: transparent;
  color: var(--color-brown-deep);
  border-color: var(--color-brown-deep);
}
.btn-outline-dark:hover { background: var(--color-brown-deep); color: var(--color-cream-text); }

.btn-gold {
  background: var(--color-gold);
  color: var(--color-brown-deep);
  border-color: var(--color-gold);
}
.btn-gold:hover { background: var(--color-gold-light); border-color: var(--color-gold-light); }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.9rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.is-solid {
  background: rgba(42, 29, 20, 0.96);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  padding: 0.55rem 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand img { height: 82px; width: auto; transition: height 0.3s ease; }
.site-header.is-solid .brand img { height: 62px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}
.nav-links a {
  color: var(--color-cream-text);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { border-color: var(--color-gold); color: var(--color-gold-light); }

.nav-cta { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 34px;
  position: relative;
  z-index: 110;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 4px; right: 4px;
  height: 2px;
  background: var(--color-cream-text);
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}
.nav-toggle span { top: 16px; }
.nav-toggle span::before { top: -9px; }
.nav-toggle span::after { top: 9px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--color-cream-text);
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,13,8,0.55) 0%, rgba(20,13,8,0.62) 45%, rgba(20,13,8,0.88) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 720px; }
.hero .eyebrow { color: var(--color-gold-light); }
.hero h1 { color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,0.35); }
.hero p.lede { color: rgba(247,239,224,0.9); max-width: 560px; margin-top: 1.1rem; font-size: 1.2rem; }
.hero-actions { display: flex; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }

.page-hero {
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
  background-size: cover;
  background-position: center;
  color: var(--color-cream-text);
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,13,8,0.45) 0%, rgba(20,13,8,0.85) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section-dark {
  background: var(--color-brown-deep);
  color: var(--color-cream-text);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(247,239,224,0.78); }

.section-cream-deep { background: var(--color-cream-deep); }

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.two-col.reverse .col-media { order: 2; }
.two-col.reverse .col-text { order: 1; }

.col-media img { border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.media-frame {
  position: relative;
  border-radius: var(--radius);
}
.media-frame::before {
  content: '';
  position: absolute;
  top: 18px; left: 18px;
  right: -18px; bottom: -18px;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius);
  z-index: -1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  margin-top: 3rem;
}
.feature {
  text-align: center;
  padding: 0 1rem;
}
.feature .icon {
  width: 56px; height: 56px;
  margin: 0 auto 1.2rem;
  color: var(--color-gold);
}
.feature .icon svg { width: 100%; height: 100%; }
.feature h3 { margin-bottom: 0.6rem; }

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 0.9rem;
  margin-top: 3rem;
}
.gallery-grid a { display: block; height: 100%; overflow: hidden; border-radius: var(--radius); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-grid a:hover img { transform: scale(1.08); }
.gallery-grid .tall { grid-row: span 2; }
.gallery-grid .wide { grid-column: span 2; }

/* Halal / ornament badge */
.ornament-badge {
  width: 150px; height: 150px;
  margin: 0 auto;
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ornament-badge::before {
  content: '';
  position: absolute; inset: 10px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
}
.ornament-badge span {
  font-family: var(--font-arabic);
  font-size: 2rem;
  color: var(--color-gold-light);
}
.arabic { font-family: var(--font-arabic); }

/* Testimonial / quote */
.quote-block {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.quote-block p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--color-cream-text);
  line-height: 1.5;
}
.quote-block cite {
  display: block;
  margin-top: 1.2rem;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--color-red-deep), var(--color-red) 60%);
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-brown-deep);
  color: rgba(247,239,224,0.75);
  padding: 4rem 0 1.6rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(247,239,224,0.12);
}
.footer-brand img { height: 50px; margin-bottom: 1rem; }
.footer-brand p { max-width: 260px; font-size: 0.92rem; }
.footer-col h4 {
  color: var(--color-gold-light);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col li { margin-bottom: 0.65rem; font-size: 0.94rem; }
.footer-col a:hover { color: var(--color-gold-light); }
.social-row { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.social-row a {
  width: 38px; height: 38px;
  border: 1px solid rgba(247,239,224,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.social-row a:hover { border-color: var(--color-gold); background: rgba(184,134,63,0.15); }
.social-row svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.6rem;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ==========================================================================
   Menu Page
   ========================================================================== */
.menu-nav {
  position: sticky;
  top: 78px;
  z-index: 40;
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-border);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
}
.menu-nav .container { display: flex; gap: 0.4rem; padding-top: 0.9rem; padding-bottom: 0.9rem; }
.menu-nav a {
  flex: 0 0 auto;
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-radius: 30px;
  transition: background 0.2s ease, color 0.2s ease;
}
.menu-nav a:hover, .menu-nav a.active { background: var(--color-brown-deep); color: var(--color-cream-text); }

.menu-category { padding: 3.2rem 0; scroll-margin-top: 150px; }
.menu-category:nth-child(even) { background: var(--color-cream-deep); }
.menu-category-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.6rem;
  height: 170px;
}
.menu-category-banner img { width: 100%; height: 100%; object-fit: cover; }
.menu-category-banner::after { content:''; position:absolute; inset:0; background: rgba(20,13,8,0.5); }
.menu-category-banner .cat-title {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  text-align: center;
}
.menu-category-banner .cat-title h2 { color: #fff; margin: 0; }
.menu-category-banner .cat-title p { color: rgba(255,255,255,0.85); margin-top: 0.4rem; font-size: 0.95rem; }

.menu-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2.6rem; }
.menu-item {
  display: flex;
  gap: 1.1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed var(--color-border);
}
.menu-item .thumb {
  flex: 0 0 76px;
  width: 76px; height: 76px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-gold-pale);
}
.menu-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.menu-item .no-thumb { flex: 0 0 6px; width: 6px; }
.menu-item-body { flex: 1; min-width: 0; }
.menu-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
}
.menu-item-head h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--color-brown-deep);
}
.menu-item-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-red);
  white-space: nowrap;
}
.menu-item-desc { font-size: 0.9rem; margin-top: 0.25rem; }
.menu-item-tag {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  border-radius: 20px;
  padding: 0.12rem 0.6rem;
}
.menu-category-intro { max-width: 640px; margin: 0 auto 2rem; text-align: center; }

/* ==========================================================================
   Location / Contact
   ========================================================================== */
.info-card {
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow-soft);
}
.info-row { display: flex; gap: 1rem; margin-bottom: 1.6rem; }
.info-row:last-child { margin-bottom: 0; }
.info-row .icon { flex: 0 0 auto; width: 26px; height: 26px; color: var(--color-gold); margin-top: 0.15rem; }
.info-row h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.info-row p { margin: 0; font-size: 0.95rem; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 0.4rem 0; border-bottom: 1px dashed var(--color-border); font-size: 0.95rem; }
.hours-table td:last-child { text-align: right; color: var(--color-brown-deep); font-weight: 500; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  min-height: 380px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(0.15) sepia(0.12); }

.map-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.9rem;
  flex-wrap: wrap;
}
.map-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  color: var(--color-brown-deep);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.map-actions a:hover { background: var(--color-cream-deep); border-color: var(--color-gold); }
.map-actions a svg { width: 18px; height: 18px; color: var(--color-gold); flex-shrink: 0; }

/* ---- Reservations booking form ---- */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 0.6rem;
}
.slot-btn {
  padding: 0.6rem 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-paper);
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.slot-btn:hover:not(:disabled) { border-color: var(--color-gold); background: var(--color-cream-deep); }
.slot-btn.is-selected {
  background: var(--color-brown-deep);
  border-color: var(--color-brown-deep);
  color: var(--color-gold-light);
}
.slot-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.slot-full { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.15rem; }

/* Contact form */
.contact-form { display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}
.field input, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-paper);
  color: var(--color-text);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.85rem; color: var(--color-text-muted); }
#form-status {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: 4px;
  background: var(--color-cream-deep);
  border: 1px solid var(--color-gold-pale);
  font-size: 0.9rem;
  color: var(--color-brown-deep);
}
#form-status.is-visible { display: block; }

/* ==========================================================================
   About page extras
   ========================================================================== */
.timeline { border-left: 2px solid var(--color-gold-pale); padding-left: 2rem; margin-top: 2.5rem; }
.timeline-item { position: relative; padding-bottom: 2.2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute; left: -2.46rem; top: 0.3rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--color-gold);
  border: 3px solid var(--color-cream);
  box-shadow: 0 0 0 2px var(--color-gold);
}
.timeline-item .year { font-family: var(--font-display); color: var(--color-red); font-weight: 700; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse .col-media, .two-col.reverse .col-text { order: initial; }
  .feature-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .menu-items { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 80%);
    background: var(--color-brown-deep);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    gap: 1.6rem;
    transition: right 0.3s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }
  .nav-links.is-open { right: 0; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 100vh; }
  .menu-nav { top: 66px; }
}

/* ---- Menu image lightbox ---- */
.menu-item .thumb img,
.menu-category-banner { cursor: zoom-in; }
.menu-category-banner img { transition: transform 0.3s ease; }
.menu-item .thumb img { transition: transform 0.3s ease; }
.menu-item .thumb:hover img,
.menu-category-banner:hover img { transform: scale(1.04); }

.lightbox {
  display: none;
  position: fixed; inset: 0;
  z-index: 200;
  align-items: center; justify-content: center;
  padding: 2rem 1.2rem;
}
.lightbox.is-open { display: flex; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(20,13,8,0.85); }
.lightbox-content {
  position: relative;
  z-index: 1;
  width: 100%; max-width: 640px; max-height: 88vh;
  overflow-y: auto;
  background: var(--color-paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-deep);
}
.lightbox-img { width: 100%; max-height: 52vh; object-fit: cover; display: block; }
.lightbox-info { padding: 1.6rem 1.8rem 1.8rem; }
.lightbox-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.lightbox-head h3 { margin: 0; }
.lightbox-price { font-family: var(--font-display); font-weight: 700; color: var(--color-gold); font-size: 1.2rem; white-space: nowrap; }
.lightbox-desc { margin-top: 0.6rem; }
.lightbox-close {
  position: absolute; top: 0.7rem; right: 0.7rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(20,13,8,0.55);
  color: #fff;
  font-size: 1.4rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(20,13,8,0.8); }

@media (max-width: 640px) {
  .lightbox-img { max-height: 38vh; }
}

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---- Back to top ---- */
.back-to-top {
  position: fixed;
  right: 1.6rem; bottom: 1.6rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-brown-deep);
  color: var(--color-gold-light);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 60;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---- Small utilities (shared by gift shop) ---- */
.muted { color: var(--color-text-muted); font-size: 0.92rem; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--color-text-muted); }
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-error {
  background: rgba(160, 43, 58, 0.1);
  color: var(--color-red-deep);
  border-radius: 4px;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.form-success {
  background: rgba(184, 134, 63, 0.14);
  color: var(--color-brown-deep);
  border-radius: 4px;
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
}
.btn-block { width: 100%; justify-content: center; }

/* ---- Gift Shop layout ---- */
.shop-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.4rem;
  align-items: start;
}
.shop-sidebar { position: sticky; top: 100px; }
.shop-category-nav { display: flex; flex-direction: column; gap: 0.3rem; }
.shop-category-nav a {
  padding: 0.6rem 0.9rem;
  border-radius: 4px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  border-left: 2px solid transparent;
}
.shop-category-nav a:hover { color: var(--color-brown-deep); background: var(--color-cream-deep); }
.shop-category-nav a.active {
  color: var(--color-gold);
  border-left-color: var(--color-gold);
  background: var(--color-cream-deep);
  font-weight: 500;
}

.shop-category { padding-bottom: 3rem; scroll-margin-top: 100px; }
.shop-category:last-child { padding-bottom: 0; }
.shop-category h2 { margin-bottom: 1.2rem; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.6rem;
}
.shop-tile { cursor: pointer; }
.shop-tile-img {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-cream-deep);
  box-shadow: var(--shadow-soft);
}
.shop-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.shop-tile:hover .shop-tile-img img { transform: scale(1.05); }
.shop-tile-body { padding-top: 0.7rem; display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.shop-tile-body h4 { font-size: 1rem; }
.shop-tile-price { font-family: var(--font-display); font-weight: 700; color: var(--color-gold); font-size: 0.92rem; white-space: nowrap; }

/* Gift-shop lightbox: full uncropped photo, unlike the menu's cropped preview */
.shop-lightbox-content { max-width: 720px; }
.shop-lightbox-img-wrap { background: var(--color-ink); display: flex; align-items: center; justify-content: center; max-height: 60vh; overflow: hidden; }
.shop-lightbox-img { object-fit: contain; max-height: 60vh; width: 100%; }

@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .shop-category-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .shop-category-nav a { white-space: nowrap; border-left: none; border-bottom: 2px solid transparent; }
  .shop-category-nav a.active { border-left-color: transparent; border-bottom-color: var(--color-gold); }
}

/* ---- Cart ---- */
.cart-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: var(--color-brown-deep);
}
.cart-toggle svg { width: 22px; height: 22px; }
.cart-badge {
  position: absolute;
  top: -2px; right: -2px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--color-red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}

.cart-panel {
  display: none;
  position: fixed; inset: 0;
  z-index: 210;
}
.cart-panel.is-open { display: block; }
.cart-panel-backdrop { position: absolute; inset: 0; background: rgba(20,13,8,0.6); }
.cart-panel-content {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: 100%; max-width: 420px;
  background: var(--color-paper);
  box-shadow: var(--shadow-deep);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
}
.cart-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cart-panel-head .lightbox-close { position: static; background: transparent; color: var(--color-brown-deep); }
.cart-items { flex: 1; }
.cart-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--color-border);
}
.cart-line .name { font-weight: 500; }
.cart-line .meta { font-size: 0.8rem; margin-top: 0.15rem; }
.cart-remove {
  width: 28px; height: 28px;
  border-radius: 50%;
  color: var(--color-red-deep);
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}
.cart-remove:hover { background: rgba(160,43,58,0.1); }
.cart-disclaimer {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  background: var(--color-cream-deep);
  border-radius: 4px;
  padding: 0.8rem 1rem;
  margin: 1rem 0;
}
.cart-footer .field { margin-bottom: 1rem; }
