/* =====================================================================
   ROJ CAFE & BAR — Premium Digital Menu
   Selanik / ΘΕΣΣΑΛΟΝΙΚΗ
   Luxury design system — black · cream · gold
   ===================================================================== */

/* ------- 0. Design tokens (VELVET — default warm theme) -------------- */
:root {
  /* Brand core — kept as identity anchor */
  --roj-gold:         #c9a25a;
  --roj-gold-bright:  #e8c976;
  --roj-gold-deep:    #8a6a32;

  /* VELVET (warm bordeaux + cream) — default */
  --roj-bg-1:         #1f1612;          /* deep espresso */
  --roj-bg-2:         #2a1d18;          /* warm cocoa */
  --roj-bg-3:         #36241c;          /* cinnamon */
  --roj-surface-1:    rgba(243,233,215,0.04);
  --roj-surface-2:    rgba(243,233,215,0.07);
  --roj-cream:        #f5ede0;          /* warm bone */
  --roj-cream-2:      #e8dcc4;          /* aged cream */
  --roj-bone:         #faf6ee;          /* highlight bone */
  --roj-ink:          #14110d;          /* near-black brown */
  --roj-ink-2:        #1c1813;
  --roj-black:        #14110d;          /* alias for components needing dark surface */
  --roj-line:         rgba(201, 162, 90, 0.20);
  --roj-line-strong:  rgba(201, 162, 90, 0.50);
  --roj-burgundy:     #5a2230;          /* accent for wine notes */
  --roj-olive:        #6a6a3a;          /* accent for greek-favorite */

  /* Functional */
  --roj-success:      #8fbf7e;
  --roj-warn:         #e3b56a;
  --roj-error:        #d9665e;

  /* Surface gradients — warmer now */
  --grad-page: radial-gradient(ellipse at 22% -8%, #3a2820 0%, #2a1d18 38%, #1a110d 100%);
  --grad-gold: linear-gradient(135deg, #f0d188 0%, #c9a25a 45%, #8a6a32 100%);
  --grad-card: linear-gradient(180deg, rgba(245,237,224,0.05) 0%, rgba(245,237,224,0.015) 100%);
  --grad-warm: radial-gradient(ellipse at 30% 10%, rgba(232,201,118,0.10), transparent 55%);

  /* Wood / parchment texture (subtle SVG noise) */
  --tex-wood: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.78  0 0 0 0 0.65  0 0 0 0 0.42  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");

  /* Shadows */
  --shadow-soft:  0 4px 20px rgba(20,12,8,0.35);
  --shadow-deep:  0 22px 60px rgba(15,8,4,0.55), 0 8px 22px rgba(15,8,4,0.35);
  --shadow-gold:  0 6px 24px rgba(201,162,90,0.30);
  --shadow-inset: inset 0 1px 0 rgba(255,255,255,0.03);
}

/* DAYLIGHT — light warm theme */
:root.theme-daylight {
  --roj-bg-1: #f3e9d7;
  --roj-bg-2: #ebdcc1;
  --roj-bg-3: #e2d0b0;
  --roj-surface-1: rgba(20,12,8,0.04);
  --roj-surface-2: rgba(20,12,8,0.07);
  --roj-cream: #2a1d12;     /* text becomes dark */
  --roj-cream-2: #4a3528;
  --roj-bone: #14110d;
  --roj-ink: #f5ede0;       /* invert ink for solid panels */
  --roj-line: rgba(138, 106, 50, 0.20);
  --roj-line-strong: rgba(138, 106, 50, 0.45);
  --grad-page: radial-gradient(ellipse at 22% -8%, #faf2dd 0%, #ebdcc1 50%, #d8c3a0 100%);
  --grad-card: linear-gradient(180deg, rgba(20,12,8,0.03) 0%, rgba(20,12,8,0.01) 100%);
  --grad-warm: radial-gradient(ellipse at 30% 10%, rgba(232,201,118,0.20), transparent 55%);
  --shadow-soft: 0 4px 20px rgba(120,90,40,0.12);
  --shadow-deep: 0 18px 50px rgba(120,90,40,0.18), 0 6px 16px rgba(120,90,40,0.10);
}

/* MIDNIGHT — original deep black (legacy/optional) */
:root.theme-midnight {
  --roj-bg-1: #0a0a0a;
  --roj-bg-2: #141414;
  --roj-bg-3: #1c1c1c;
  --roj-surface-1: rgba(255,255,255,0.04);
  --roj-surface-2: rgba(255,255,255,0.07);
  --roj-cream: #f3e9d7;
  --roj-cream-2: #e8dcc4;
  --roj-bone: #faf6ee;
  --roj-ink: #14110d;
  --grad-page: radial-gradient(ellipse at 30% -10%, #1f1a14 0%, #0a0a0a 55%, #050505 100%);
}

  /* Typography */
  --font-display: "Cormorant Garamond", "Playfair Display", "Times New Roman", serif;
  --font-body:    "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script:  "Cormorant Garamond", serif;

  /* Spacing scale */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  24px;
  --s-6:  32px;
  --s-7:  48px;
  --s-8:  64px;
  --s-9:  96px;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Motion */
  --ease-cinematic: cubic-bezier(.2, .7, .2, 1);
  --ease-sharp:     cubic-bezier(.4, 0, .2, 1);
  --t-fast: 180ms;
  --t-mid:  320ms;
  --t-slow: 600ms;
}

/* ------- 1. Reset / base --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--grad-page);
  color: var(--roj-cream);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, model-viewer { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }

/* Warm sun glow + subtle wood texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 18%, rgba(232,201,118,0.10), transparent 48%),
    radial-gradient(circle at 12% 92%, rgba(201,162,90,0.07), transparent 52%),
    var(--tex-wood);
  background-size: cover, cover, 400px 400px;
  opacity: 0.92;
  z-index: 0;
}
/* Subtle horizontal grain across page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(232,201,118,0.025) 0%, transparent 8%, transparent 92%, rgba(20,12,8,0.30) 100%);
  z-index: 0;
}

/* ------- 2. Typography ------------------------------------------------ */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--roj-bone);
  margin: 0;
}
h1, .h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.05; letter-spacing: 0.02em; }
h2, .h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); line-height: 1.15; }
h3, .h3 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.2; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--roj-gold);
  font-weight: 500;
}
.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------- 3. Layout primitives ---------------------------------------- */
.container { width: min(1280px, 92vw); margin-inline: auto; position: relative; z-index: 1; }
.section   { padding: clamp(48px, 8vw, 96px) 0; position: relative; z-index: 1; }
.row { display: flex; gap: var(--s-4); align-items: center; }
.row.between { justify-content: space-between; }
.stack-1 > * + * { margin-top: var(--s-2); }
.stack-2 > * + * { margin-top: var(--s-4); }
.stack-3 > * + * { margin-top: var(--s-5); }

/* Decorative gold rule with sun */
.rule {
  display: flex; align-items: center; gap: var(--s-3); justify-content: center;
  color: var(--roj-gold); margin: var(--s-5) 0;
}
.rule::before, .rule::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--roj-gold) 50%, transparent);
}
.rule .sun { width: 18px; height: 18px; }

/* ------- 4. Header / nav --------------------------------------------- */
.app-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(31,22,18,0.78);
  border-bottom: 1px solid var(--roj-line);
}
.app-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-3) 0;
  gap: var(--s-4);
}
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; line-height: 1; }
.brand__logo {
  height: 36px; width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(201,162,90,0.15));
}
.brand__tag {
  font-size: 0.62rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--roj-gold);
  margin-top: 2px;
}
/* legacy mark fallback (kept for kitchen/admin cards still referencing) */
.brand__mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-gold);
  box-shadow: var(--shadow-gold);
}
.brand__mark svg { width: 28px; height: 28px; color: var(--roj-black); }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.6rem; line-height: 1;
  letter-spacing: 0.18em; color: var(--roj-bone);
}

.nav-actions { display: flex; gap: var(--s-2); align-items: center; }
.icon-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--roj-line);
  color: var(--roj-cream);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.icon-btn:hover { background: rgba(201,162,90,0.08); border-color: var(--roj-line-strong); transform: translateY(-1px); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .badge {
  position: absolute; transform: translate(14px,-14px);
  background: var(--roj-gold); color: var(--roj-black);
  font-size: 10px; font-weight: 700;
  border-radius: 999px; padding: 2px 6px;
  min-width: 18px; text-align: center;
}

/* Language switcher */
.lang-switcher { position: relative; }
.lang-current {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1px solid var(--roj-line);
  border-radius: var(--r-pill);
  font-size: 0.85rem; letter-spacing: 0.1em;
  color: var(--roj-cream);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.lang-current:hover { border-color: var(--roj-line-strong); background: rgba(201,162,90,0.06); }
.lang-current .flag { font-size: 1rem; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--roj-ink-2); border: 1px solid var(--roj-line);
  border-radius: var(--r-md); box-shadow: var(--shadow-deep);
  padding: 6px; min-width: 220px;
  display: none;
  z-index: 100;
}
.lang-menu.open { display: block; animation: fadeUp var(--t-mid) var(--ease-cinematic); }
.lang-menu button {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 12px;
  border-radius: var(--r-sm);
  text-align: left; color: var(--roj-cream);
  font-size: 0.92rem;
  transition: background var(--t-fast);
}
.lang-menu button:hover { background: rgba(201,162,90,0.08); }
.lang-menu button.active { color: var(--roj-gold-bright); }

/* ------- 5. Hero ----------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(48px, 9vw, 96px);
  padding-bottom: clamp(48px, 9vw, 96px);
  text-align: center;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(232,201,118,0.22), transparent 65%);
  z-index: -1;
  animation: heroBreath 9s ease-in-out infinite;
}
@keyframes heroBreath {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--roj-gold) 50%, transparent);
  opacity: 0.4;
}

/* Nav link (top of header, between brand and lang switcher) */
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  padding: 8px 14px;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--roj-cream-2); opacity: 0.78;
  border-radius: 999px;
  transition: opacity var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover { opacity: 1; color: var(--roj-gold-bright); background: rgba(201,162,90,0.05); }
.nav-links a.active { color: var(--roj-gold-bright); }
@media (max-width: 880px) { .nav-links { display: none; } }
.hero__sun {
  width: clamp(120px, 18vw, 220px);
  height: clamp(120px, 18vw, 220px);
  margin: 0 auto var(--s-4);
  animation: sunRotate 60s linear infinite;
  filter: drop-shadow(0 0 30px rgba(201,162,90,0.4));
}
.hero__logo {
  width: clamp(280px, 50vw, 520px);
  height: auto;
  margin: 0 auto var(--s-5);
  display: block;
  filter: drop-shadow(0 4px 24px rgba(201,162,90,0.35));
  animation: heroFade 1.2s var(--ease-cinematic) both;
}
@keyframes heroFade {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.hero .hero__title { display: block; font-family: 'Cormorant Garamond', serif; font-weight: 600; color: var(--roj-cream); letter-spacing: -1px; margin: 18px 0 8px; }
.hero .hero__title { background: linear-gradient(135deg, #e8c976 0%, #c9a25a 50%, #8a6a32 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 4px 24px rgba(232,201,118,0.18); }
.hero__est {
  font-family: var(--font-body);
  font-size: 0.7rem; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--roj-gold);
  margin-bottom: var(--s-3);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 11vw, 7rem);
  line-height: 0.95; letter-spacing: 0.04em;
  color: var(--roj-bone);
  margin: 0 0 var(--s-3);
}
.hero__sub {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--roj-cream-2); opacity: 0.85;
  max-width: 640px; margin: 0 auto;
}
.hero__city {
  margin-top: var(--s-5);
  font-size: 0.78rem; letter-spacing: 0.5em; text-transform: uppercase;
  color: var(--roj-gold);
}
.hero__cta-row {
  display: flex; gap: var(--s-3); justify-content: center; flex-wrap: wrap;
  margin-top: var(--s-6);
}

/* ------- 6. Buttons -------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 0.9rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.btn--primary {
  background: var(--grad-gold); color: var(--roj-black);
  box-shadow: var(--shadow-gold);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(201,162,90,0.45); }
.btn--ghost {
  border: 1px solid var(--roj-line-strong);
  color: var(--roj-cream);
}
.btn--ghost:hover { background: rgba(201,162,90,0.08); border-color: var(--roj-gold); }
.btn--block { width: 100%; justify-content: center; }
.btn svg { width: 18px; height: 18px; }

/* ------- 6.5. Search strip ----------------------------------------- */
.search-strip {
  position: relative;
  padding: var(--s-4) 0 var(--s-2);
  border-top: 1px solid var(--roj-line);
  border-bottom: 1px solid var(--roj-line);
  background: rgba(31,22,18,0.5);
  backdrop-filter: blur(8px);
}
.search-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  background: rgba(245,237,224,0.04);
  border: 1px solid var(--roj-line);
  border-radius: 999px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.search-bar:focus-within { border-color: var(--roj-line-strong); background: rgba(245,237,224,0.06); }
.search-bar svg { width: 18px; height: 18px; color: var(--roj-gold); flex-shrink: 0; }
.search-bar input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: var(--roj-bone);
  font-size: 0.96rem; font-family: var(--font-body);
}
.search-bar input::placeholder { color: var(--roj-cream-2); opacity: 0.55; font-style: italic; }
.search-count { font-size: 0.74rem; color: var(--roj-gold); letter-spacing: 0.1em; }

.filter-chips {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: var(--s-3); padding-bottom: 4px;
  overflow-x: auto; scrollbar-width: none;
}
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chip {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--roj-line);
  font-size: 0.78rem; letter-spacing: 0.08em;
  color: var(--roj-cream-2);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--t-fast);
}
.filter-chip:hover { border-color: var(--roj-line-strong); color: var(--roj-gold-bright); }
.filter-chip.active {
  background: var(--grad-gold); color: var(--roj-ink);
  border-color: transparent; font-weight: 600;
  box-shadow: var(--shadow-gold);
}

/* ------- 7. Category strip ------------------------------------------- */
.cat-strip {
  position: sticky; top: 64px; z-index: 40;
  padding: var(--s-3) 0;
  background: rgba(31,22,18,0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--roj-line);
}
.cat-strip__scroll {
  display: flex; gap: var(--s-2);
  overflow-x: auto; scrollbar-width: none;
  padding-bottom: 4px;
}
.cat-strip__scroll::-webkit-scrollbar { display: none; }
.cat-pill {
  flex: 0 0 auto;
  padding: 10px 18px;
  border: 1px solid var(--roj-line);
  border-radius: var(--r-pill);
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--roj-cream);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.cat-pill:hover { border-color: var(--roj-line-strong); }
.cat-pill.active {
  background: var(--grad-gold); color: var(--roj-black);
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

/* ------- 8. Menu grid + item card ------------------------------------ */
.menu-section { padding: var(--s-7) 0 var(--s-6); }
.menu-section__head {
  display: flex; align-items: end; justify-content: space-between;
  gap: var(--s-3); margin-bottom: var(--s-5);
  padding-bottom: var(--s-4);
  position: relative;
}
.menu-section__head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--roj-line-strong) 20%, var(--roj-line-strong) 80%, transparent);
}
.menu-section__title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.menu-section__sub { color: var(--roj-cream-2); opacity: 0.7; font-style: italic; font-family: var(--font-display); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-4);
}

.item-card {
  position: relative;
  background: var(--grad-card);
  border: 1px solid var(--roj-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease-cinematic),
              border-color var(--t-mid),
              box-shadow var(--t-mid);
  isolation: isolate;
}
.item-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--roj-gold), transparent);
  opacity: 0; transition: opacity var(--t-mid);
}
.item-card:hover {
  transform: translateY(-4px);
  border-color: var(--roj-line-strong);
  box-shadow: var(--shadow-deep);
}
.item-card:hover::before { opacity: 1; }
.item-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(ellipse at 50% 90%, rgba(232,201,118,0.22), transparent 60%),
    linear-gradient(180deg, #2a1d18 0%, #1a110d 100%);
  overflow: hidden;
}
.item-card__media model-viewer,
.item-card__media .placeholder-3d {
  width: 100%; height: 100%; background: transparent;
}
.item-card__badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px; border-radius: var(--r-pill);
  background: rgba(0,0,0,0.6); border: 1px solid var(--roj-line-strong);
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--roj-gold-bright);
  backdrop-filter: blur(8px);
}
.item-card__ar-btn {
  position: absolute; bottom: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: var(--r-pill);
  background: rgba(0,0,0,0.7); border: 1px solid var(--roj-line-strong);
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--roj-gold-bright);
  backdrop-filter: blur(8px);
}
.item-card__ar-btn svg { width: 14px; height: 14px; }
.item-card__3d-tag {
  position: absolute; top: 12px; right: 12px;
  padding: 3px 8px; border-radius: 999px;
  background: var(--grad-gold); color: var(--roj-black);
  font-size: 0.62rem; letter-spacing: 0.2em; font-weight: 700;
  box-shadow: var(--shadow-gold);
}
.item-card__media model-viewer {
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at 50% 80%, rgba(232,201,118,0.20), transparent 60%);
  --poster-color: transparent;
  --progress-bar-color: var(--roj-gold);
  --progress-mask: var(--roj-bg-1);
}
/* Modal viewer cinematic */
.modal__media model-viewer {
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at 50% 70%, rgba(232,201,118,0.25), transparent 65%), linear-gradient(180deg, #2a1d18 0%, #1a110d 100%);
  --progress-bar-color: var(--roj-gold);
  --progress-mask: var(--roj-bg-1);
}
.item-card__body { padding: var(--s-4); }
.item-card__title {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3);
  margin-bottom: var(--s-2);
}
.item-card__name { font-family: var(--font-display); font-size: 1.25rem; color: var(--roj-bone); }
.item-card__price { font-family: var(--font-display); font-size: 1.2rem; color: var(--roj-gold-bright); white-space: nowrap; }
.item-card__desc {
  font-size: 0.86rem; line-height: 1.5; color: var(--roj-cream-2); opacity: 0.78;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.item-card__meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: var(--s-3);
}
.rating { display: flex; align-items: center; gap: 6px; color: var(--roj-gold); font-size: 0.85rem; }
.rating svg { width: 14px; height: 14px; }
.add-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: rgba(201,162,90,0.08);
  border: 1px solid var(--roj-line-strong);
  color: var(--roj-gold-bright);
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  transition: background var(--t-fast), color var(--t-fast);
}
.add-btn:hover { background: var(--grad-gold); color: var(--roj-black); border-color: transparent; }

/* ------- 9. Detail modal -------------------------------------------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  display: none; align-items: stretch; justify-content: center;
  padding: clamp(8px, 2vw, 32px);
}
.modal-backdrop.open { display: flex; animation: fadeIn var(--t-mid); }
.modal {
  position: relative;
  width: min(960px, 100%);
  max-height: 95vh; overflow: auto;
  background: linear-gradient(180deg, #15110a 0%, #0a0a0a 100%);
  border: 1px solid var(--roj-line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-deep);
  display: grid; grid-template-columns: 1.1fr 1fr;
  animation: modalIn var(--t-slow) var(--ease-cinematic);
}
@media (max-width: 760px) { .modal { grid-template-columns: 1fr; } }
.modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,0.6); border: 1px solid var(--roj-line);
  color: var(--roj-cream);
  display: grid; place-items: center;
}
.modal__media {
  background: radial-gradient(ellipse at 50% 70%, rgba(201,162,90,0.22), transparent 60%), #0a0a0a;
  aspect-ratio: 4/4;
}
.modal__media model-viewer { width: 100%; height: 100%; }
.modal__body { padding: clamp(20px, 3vw, 36px); }
.modal__name { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.modal__price { font-family: var(--font-display); font-size: 1.5rem; color: var(--roj-gold-bright); margin-top: 4px; }
.modal__desc { color: var(--roj-cream-2); opacity: 0.85; line-height: 1.6; margin-top: var(--s-4); }
.modal__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-4); }
.chip {
  padding: 6px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--roj-line);
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--roj-gold);
}

/* Tabs inside modal */
.tabs { display: flex; gap: 4px; margin-top: var(--s-5); border-bottom: 1px solid var(--roj-line); }
.tab {
  padding: 10px 14px; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--roj-cream-2); opacity: 0.6;
  border-bottom: 2px solid transparent;
  transition: opacity var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.tab.active { opacity: 1; color: var(--roj-gold-bright); border-color: var(--roj-gold); }
.tab-panel { padding: var(--s-4) 0; display: none; }
.tab-panel.active { display: block; }

/* Reviews */
.reviews-list { display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-3); }
.review {
  border: 1px solid var(--roj-line);
  border-radius: var(--r-md);
  padding: var(--s-3) var(--s-4);
  background: rgba(255,255,255,0.02);
}
.review__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.review__user { font-weight: 500; color: var(--roj-bone); font-size: 0.92rem; }
.review__date { font-size: 0.72rem; color: var(--roj-cream-2); opacity: 0.6; }
.review__text { font-size: 0.9rem; line-height: 1.5; color: var(--roj-cream-2); }
.review-form {
  display: flex; flex-direction: column; gap: var(--s-3);
  margin-top: var(--s-3);
  padding: var(--s-4);
  border: 1px solid var(--roj-line);
  border-radius: var(--r-md);
}
.review-form textarea, .review-form input {
  width: 100%;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--roj-line);
  border-radius: var(--r-sm);
  color: var(--roj-cream);
  padding: 10px 12px; font-size: 0.9rem;
  resize: vertical;
}
.review-form textarea:focus, .review-form input:focus { outline: 1px solid var(--roj-gold); }
.star-input { display: flex; gap: 4px; }
.star-input button { width: 32px; height: 32px; color: var(--roj-line-strong); }
.star-input button.active, .star-input button:hover { color: var(--roj-gold-bright); }
.star-input svg { width: 26px; height: 26px; }

/* Social embeds */
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-top: var(--s-3); }
.social-link {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3); border: 1px solid var(--roj-line);
  border-radius: var(--r-md); background: rgba(255,255,255,0.02);
}
.social-link:hover { border-color: var(--roj-line-strong); background: rgba(201,162,90,0.06); }
.social-link svg { width: 22px; height: 22px; color: var(--roj-gold-bright); }
.social-link span { font-size: 0.82rem; }

/* ------- 10. Cart drawer --------------------------------------------- */
.drawer {
  position: fixed; top: 0; right: 0; height: 100vh;
  width: min(440px, 100%);
  background: linear-gradient(180deg, #15110a 0%, #0a0a0a 100%);
  border-left: 1px solid var(--roj-line-strong);
  z-index: 300;
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease-cinematic);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-deep);
}
.drawer.open { transform: translateX(0); }
.drawer__head { padding: var(--s-4); display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--roj-line); }
.drawer__title { font-family: var(--font-display); font-size: 1.5rem; }
.drawer__items { flex: 1; overflow: auto; padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-3); }
.cart-line {
  display: grid; grid-template-columns: 56px 1fr auto; gap: var(--s-3); align-items: center;
  padding: var(--s-3); border: 1px solid var(--roj-line); border-radius: var(--r-md);
}
.cart-line__thumb {
  width: 56px; height: 56px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, #1f1a14, #0a0a0a);
  display: grid; place-items: center; color: var(--roj-gold);
}
.cart-line__name { font-size: 0.92rem; color: var(--roj-bone); margin-bottom: 2px; }
.cart-line__price { font-size: 0.82rem; color: var(--roj-gold-bright); }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--roj-line);
  color: var(--roj-cream);
  display: grid; place-items: center;
}
.drawer__foot { padding: var(--s-4); border-top: 1px solid var(--roj-line); }
.cart-total { display: flex; justify-content: space-between; font-family: var(--font-display); font-size: 1.4rem; margin-bottom: var(--s-4); }
.cart-total span:last-child { color: var(--roj-gold-bright); }
.payment-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: var(--s-3); }
.pay-method {
  border: 1px solid var(--roj-line); border-radius: var(--r-sm);
  padding: 10px; text-align: center; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--roj-cream); background: rgba(255,255,255,0.02);
}
.pay-method.active { border-color: var(--roj-gold); color: var(--roj-gold-bright); background: rgba(201,162,90,0.06); }

/* ------- 11. Footer -------------------------------------------------- */
.app-footer {
  border-top: 1px solid var(--roj-line);
  padding: var(--s-7) 0 var(--s-5);
  margin-top: var(--s-8);
  text-align: center;
}
.app-footer__brand { display: flex; align-items: center; justify-content: center; gap: var(--s-3); margin-bottom: var(--s-3); }
.app-footer p { color: var(--roj-cream-2); opacity: 0.7; font-size: 0.85rem; max-width: 520px; margin: 0 auto; line-height: 1.6; }
.socials { display: flex; gap: var(--s-3); justify-content: center; margin-top: var(--s-4); }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--roj-line);
  display: grid; place-items: center;
  color: var(--roj-gold);
}
.socials a:hover { background: rgba(201,162,90,0.08); border-color: var(--roj-gold); }
.socials svg { width: 18px; height: 18px; }

/* ------- 12. Animations --------------------------------------------- */
@keyframes sunRotate { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--t-slow) var(--ease-cinematic), transform var(--t-slow) var(--ease-cinematic); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ------- 13. Toast -------------------------------------------------- */
.toast-host { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 500; display: flex; flex-direction: column; gap: 8px; }
.toast {
  padding: 12px 18px; border-radius: var(--r-pill);
  background: rgba(0,0,0,0.85); border: 1px solid var(--roj-gold);
  color: var(--roj-bone); font-size: 0.88rem;
  box-shadow: var(--shadow-deep);
  animation: fadeUp var(--t-mid);
}

/* ------- Universal page layout (story, reservation, etc.) ---------- */
.page-hero {
  position: relative;
  text-align: center;
  padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 8vw, 80px);
  isolation: isolate;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 50% 30%, rgba(232,201,118,0.18), transparent 65%);
}
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1.05; letter-spacing: 0.04em;
  margin: 12px 0;
}
.page-hero .eyebrow { font-size: 0.74rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--roj-gold); }
.page-hero p {
  max-width: 680px; margin: 18px auto 0;
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--roj-cream-2); opacity: 0.85;
  line-height: 1.5;
}
.page-section { padding: clamp(32px, 6vw, 64px) 0; }
.page-section h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.4rem); margin-bottom: var(--s-4); }
.page-section p { color: var(--roj-cream-2); line-height: 1.75; font-size: 1rem; max-width: 720px; }
.page-section .lede { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--roj-cream); }

.split-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center; }
@media (max-width: 760px) { .split-r