/* ── Vazirmatn self-hosted ───────────────────────────────────────────────── */
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/vazirmatn-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/vazirmatn-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/vazirmatn-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/vazirmatn-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/vazirmatn-900.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}

/* ── Design Tokens ───────────────────────────────────────────────────────── */
:root {
  --bg:          #08111F;
  --bg2:         #0D1A2D;
  --bg3:         #0B1524;
  --cyan:        #00D4FF;
  --cyan-dim:    rgba(0,212,255,.12);
  --cyan-glow:   rgba(0,212,255,.25);
  --white:       #FFFFFF;
  --muted:       rgba(255,255,255,.6);
  --muted2:      rgba(255,255,255,.35);
  --glass-bg:    rgba(255,255,255,.055);
  --glass-bdr:   rgba(255,255,255,.10);
  --card-bg:     rgba(255,255,255,.04);
  --card-bdr:    rgba(0,212,255,.15);

  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  22px;
  --r-xl:  32px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.4), 0 4px 16px rgba(0,212,255,.06);
  --shadow-md:  0 2px 8px rgba(0,0,0,.5), 0 12px 40px rgba(0,212,255,.10), 0 32px 80px rgba(0,212,255,.06);
  --shadow-lg:  0 4px 16px rgba(0,0,0,.6), 0 24px 64px rgba(0,212,255,.14), 0 64px 120px rgba(0,212,255,.08);
  --shadow-cyan: 0 0 30px rgba(0,212,255,.35), 0 0 80px rgba(0,212,255,.15);

  --font: 'Vazirmatn', system-ui, sans-serif;
  --ease: cubic-bezier(.25,.46,.45,.94);
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 2;
  color: var(--white);
  background: var(--bg);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

::selection { background: var(--cyan); color: var(--bg); }

/* ── Scrollbar ───────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0,212,255,.3); border-radius: 3px; }

/* ── Typography Scale ────────────────────────────────────────────────────── */
.display { font-size: clamp(2.4rem,7vw,4.5rem); font-weight: 900; line-height: 1.1; }
.h1      { font-size: clamp(2rem,5vw,3.5rem);   font-weight: 800; line-height: 1.15; }
.h2      { font-size: clamp(1.6rem,3.5vw,2.5rem); font-weight: 700; line-height: 1.25; }
.h3      { font-size: clamp(1.2rem,2.5vw,1.75rem); font-weight: 700; line-height: 1.35; }
.body-lg { font-size: 1.125rem; line-height: 2; }
.eyebrow {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cyan);
  display: block;
  margin-bottom: .75rem;
}

/* ── Containers ──────────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem,5vw,3rem);
}
.container-wide {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem,4vw,2.5rem);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1;
  transition: all .25s var(--ease);
  cursor: pointer;
  border: none;
}
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.btn-primary {
  background: var(--cyan);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(0,212,255,.35);
}
.btn-primary:hover {
  background: #1ce0ff;
  box-shadow: 0 0 35px rgba(0,212,255,.55);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
  box-shadow: inset 0 0 0 0 var(--cyan);
}
.btn-outline:hover {
  background: var(--cyan-dim);
  box-shadow: 0 0 20px var(--cyan-glow);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--glass-bg);
  color: var(--white);
  border: 1px solid var(--glass-bdr);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
}

.btn-sm { padding: .5rem 1.1rem; font-size: .875rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.0625rem; }

/* ── Navigation ──────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.nav-glass {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1280px;
  margin-inline: auto;
  padding: .75rem 1.75rem;
  background: rgba(8,17,31,.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
}
.logo-accent { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: .45rem .9rem;
  border-radius: var(--r-sm);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(255,255,255,.08); }
.nav-links a.active { color: var(--cyan); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}

.nav-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-icon-btn:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav-icon-btn:focus-visible { outline: 2px solid var(--cyan); }

.nav-badge {
  position: absolute;
  top: 4px; inset-inline-end: 4px;
  width: 18px; height: 18px;
  background: var(--cyan);
  color: var(--bg);
  border-radius: 50%;
  font-size: .625rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.nav-hamburger {
  display: none;
  color: var(--muted);
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  transition: color .2s, background .2s;
}
.nav-hamburger:hover { color: var(--white); background: rgba(255,255,255,.08); }

/* ── Hero Section ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-zoom 18s ease-in-out infinite alternate;
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* Gradient scrim */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 0%, rgba(0,212,255,.12) 0%, transparent 65%),
    linear-gradient(to bottom,
      rgba(8,17,31,.55) 0%,
      rgba(8,17,31,.35) 40%,
      rgba(8,17,31,.75) 75%,
      rgba(8,17,31,.98) 100%);
}

/* Crepuscular light rays */
.hero-rays {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-conic-gradient(
      from -12deg at 50% -8%,
      rgba(0,212,255,.04) 0deg 4deg,
      transparent 4deg 10deg
    );
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 70%);
  animation: rays-pulse 8s ease-in-out infinite alternate;
}
@keyframes rays-pulse {
  from { opacity: .6; }
  to   { opacity: 1; }
}

/* Cyan orb */
.hero-orb {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 80vw);
  height: min(500px, 60vh);
  background: radial-gradient(ellipse at center, rgba(0,212,255,.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
  animation: orb-breathe 6s ease-in-out infinite alternate;
}
@keyframes orb-breathe {
  from { opacity: .7; transform: translateX(-50%) scale(1); }
  to   { opacity: 1;  transform: translateX(-50%) scale(1.12); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(5rem,10vh,8rem) 1.5rem 4rem;
  max-width: 800px;
}

.hero-eyebrow {
  display: inline-block;
  padding: .35rem 1.1rem;
  border: 1px solid rgba(0,212,255,.4);
  border-radius: 100px;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: .1em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
  background: rgba(0,212,255,.07);
}

.hero-title {
  font-size: clamp(2.6rem,8vw,5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-title .accent-word {
  color: var(--cyan);
  position: relative;
  display: inline-block;
}
.hero-title .accent-word::after {
  content: '';
  position: absolute;
  bottom: -.15em;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  border-radius: 2px;
  filter: blur(.5px);
  box-shadow: 0 0 12px var(--cyan);
}

.hero-sub {
  font-size: clamp(1rem,2vw,1.1875rem);
  color: var(--muted);
  max-width: 55ch;
  margin: 0 auto 2.5rem;
  line-height: 2;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-size: .75rem;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%,100% { opacity: .4; transform: scaleY(1); }
  50%      { opacity: 1;  transform: scaleY(1.3); }
}

/* ── Section base ────────────────────────────────────────────────────────── */
.section { padding: clamp(72px,12vw,140px) 0; }
.section-alt { background: var(--bg2); }
.section-dark { background: var(--bg3); }

.section-head { text-align: center; margin-bottom: clamp(2.5rem,5vw,4rem); }
.section-head .eyebrow { justify-content: center; }

/* Decorative orb behind section */
.section-orb {
  position: relative;
}
.section-orb::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 40% at 50% 50%, rgba(0,212,255,.05) 0%, transparent 70%);
  z-index: 0;
}
.section-orb > * { position: relative; z-index: 1; }

/* ── Stats strip ─────────────────────────────────────────────────────────── */
.stats-strip {
  background: var(--glass-bg);
  border-top: 1px solid var(--glass-bdr);
  border-bottom: 1px solid var(--glass-bdr);
  padding: 2rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.stat-item {
  text-align: center;
  padding: 1rem 1.5rem;
  border-inline-end: 1px solid var(--glass-bdr);
}
.stat-item:last-child { border-inline-end: none; }
.stat-num {
  font-size: clamp(1.6rem,3.5vw,2.25rem);
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  display: block;
}
.stat-label { font-size: .875rem; color: var(--muted); margin-top: .35rem; }

/* ── 2x Signature section ────────────────────────────────────────────────── */
.section-2x {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.twox-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0,212,255,.1) 0%, transparent 65%);
}

.twox-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem,5vw,4rem);
  align-items: center;
}

.twox-photo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.twox-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse at center, rgba(0,212,255,.3) 0%, transparent 65%);
  filter: blur(40px);
  animation: twox-glow-pulse 4s ease-in-out infinite alternate;
}
@keyframes twox-glow-pulse {
  from { opacity: .6; transform: scale(1); }
  to   { opacity: 1;  transform: scale(1.1); }
}

.twox-photo {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-cyan), var(--shadow-lg);
  border: 1px solid rgba(0,212,255,.2);
  position: relative;
  z-index: 1;
}

.twox-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background: var(--bg);
  border: 2px solid var(--cyan);
  border-radius: 50%;
  width: 80px; height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--cyan);
  box-shadow: var(--shadow-cyan);
  animation: badge-spin-glow 8s linear infinite;
}
@keyframes badge-spin-glow {
  0%   { box-shadow: 0 0 20px rgba(0,212,255,.5); }
  50%  { box-shadow: 0 0 50px rgba(0,212,255,.8); }
  100% { box-shadow: 0 0 20px rgba(0,212,255,.5); }
}

.twox-text { text-align: start; }
.twox-text .h2 { margin-bottom: 1rem; }
.twox-text p { color: var(--muted); margin-bottom: 2rem; max-width: 48ch; }

.twox-features {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin-bottom: 2rem;
}
.twox-feature {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .875rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--card-bdr);
  border-radius: var(--r-md);
}
.twox-feature svg { color: var(--cyan); flex-shrink: 0; }
.twox-feature span { font-size: .9375rem; color: var(--white); }

/* ── Menu Section ────────────────────────────────────────────────────────── */
.menu-section { position: relative; }

.menu-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.menu-tab {
  padding: .5rem 1.25rem;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--card-bg);
  border: 1px solid var(--glass-bdr);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.menu-tab:hover { color: var(--white); border-color: rgba(0,212,255,.3); }
.menu-tab.active {
  color: var(--bg);
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,212,255,.35);
}

.menu-rail-wrap {
  position: relative;
}
.menu-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* Menu Card */
.menu-card {
  background: var(--card-bg);
  border: 1px solid var(--card-bdr);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), 0 0 30px rgba(0,212,255,.12);
  border-color: rgba(0,212,255,.3);
}

.menu-card-img {
  aspect-ratio: 1;
  overflow: hidden;
}
.menu-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.menu-card:hover .menu-card-img img { transform: scale(1.07); }

.menu-card-body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.menu-card-cat {
  font-size: .75rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: .35rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.menu-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: auto;
  padding-bottom: .875rem;
}
.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .875rem;
  border-top: 1px solid var(--glass-bdr);
  gap: .5rem;
  flex-wrap: wrap;
}
.menu-card-price {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--cyan);
}
.menu-card-price small { font-size: .7rem; color: var(--muted2); font-weight: 400; }
.menu-card-btn {
  padding: .45rem 1rem;
  border-radius: var(--r-sm);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--bg);
  background: var(--cyan);
  transition: box-shadow .2s, transform .2s;
}
.menu-card-btn:hover {
  box-shadow: 0 0 16px rgba(0,212,255,.5);
  transform: scale(1.04);
}
.menu-card-btn:focus-visible { outline: 2px solid var(--white); }

/* ── Events Section ──────────────────────────────────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.event-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,212,255,.25);
}

.event-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.event-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.event-card:hover .event-card-img img { transform: scale(1.05); }

.event-date-badge {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  padding: .4rem .85rem;
  background: var(--cyan);
  color: var(--bg);
  border-radius: var(--r-sm);
  font-size: .8125rem;
  font-weight: 900;
  box-shadow: 0 0 16px rgba(0,212,255,.5);
  line-height: 1.4;
  text-align: center;
}

.event-card-body { padding: 1.25rem; }
.event-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--white);
}
.event-card-desc { font-size: .9rem; color: var(--muted); line-height: 1.8; }

/* ── About strip ─────────────────────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem,6vw,5rem);
  align-items: center;
}

.about-img-wrap {
  position: relative;
}
.about-img-wrap::before {
  content: '';
  position: absolute;
  inset: -2rem;
  background: radial-gradient(ellipse at center, rgba(0,212,255,.12) 0%, transparent 65%);
  pointer-events: none;
}
.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--card-bdr);
  position: relative;
  z-index: 1;
}

.about-text .eyebrow { display: block; }
.about-text .h2 { margin-bottom: 1.25rem; }
.about-text p { color: var(--muted); margin-bottom: 1.25rem; max-width: 52ch; line-height: 2; }

.about-bullets {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2rem;
}
.about-bullet {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
  font-size: .9375rem;
}
.about-bullet svg { color: var(--cyan); flex-shrink: 0; }

/* ── CTA Band ────────────────────────────────────────────────────────────── */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(60px,10vw,100px) 0;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 50% 50%, rgba(0,212,255,.09) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band-inner { position: relative; z-index: 1; }
.cta-band .h2 { margin-bottom: 1rem; }
.cta-band p { color: var(--muted); margin-bottom: 2rem; max-width: 50ch; margin-inline: auto; }
.cta-band .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: rgba(5,11,20,1);
  border-top: 1px solid var(--glass-bdr);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: clamp(2rem,5vw,4rem);
  padding: clamp(3rem,6vw,5rem) 0 3rem;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem,5vw,3rem);
}

.footer-logo {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  display: block;
  margin-bottom: .75rem;
}
.footer-tagline {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.footer-socials { display: flex; gap: .75rem; }
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-bdr);
  color: var(--muted);
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s;
}
.social-btn:hover {
  color: var(--cyan);
  border-color: rgba(0,212,255,.4);
  background: var(--cyan-dim);
  box-shadow: 0 0 12px var(--cyan-glow);
}
.social-btn:focus-visible { outline: 2px solid var(--cyan); }

.footer-links h4,
.footer-contact h4 {
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.1rem;
  letter-spacing: .04em;
}
.footer-links a {
  display: block;
  font-size: .9rem;
  color: var(--muted);
  padding: .3rem 0;
  transition: color .2s;
}
.footer-links a:hover { color: var(--cyan); }

.footer-phone {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .875rem;
  transition: color .2s;
}
.footer-phone:hover { color: var(--cyan); }
.footer-address {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid var(--glass-bdr);
  padding: 1.25rem clamp(1.25rem,5vw,3rem);
  text-align: center;
  font-size: .8125rem;
  color: var(--muted2);
  max-width: 1200px;
  margin-inline: auto;
}

/* ── Page hero (inner pages) ─────────────────────────────────────────────── */
.page-hero {
  padding: clamp(8rem,14vh,11rem) 0 clamp(3rem,5vw,4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0,212,255,.09) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .h1 { margin-bottom: .75rem; }
.page-hero p { color: var(--muted); max-width: 50ch; margin-inline: auto; }

/* ── Stub page ───────────────────────────────────────────────────────────── */
.stub-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1.5rem;
}
.stub-card {
  text-align: center;
  max-width: 440px;
}
.stub-card .display { font-size: clamp(3rem,8vw,5rem); color: var(--cyan); opacity: .25; margin-bottom: 1.5rem; }
.stub-card .h2 { margin-bottom: 1rem; }
.stub-card p { color: var(--muted); margin-bottom: 2rem; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .5rem;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: .875rem 1.1rem;
  background: rgba(255,255,255,.055);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--r-md);
  color: var(--white);
  font-family: var(--font);
  font-size: .9375rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted2); }
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,212,255,.15);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; cursor: pointer; }

.alert {
  padding: .875rem 1.25rem;
  border-radius: var(--r-md);
  font-size: .9375rem;
  margin-bottom: 1.25rem;
}
.alert-success {
  background: rgba(0,212,255,.12);
  border: 1px solid rgba(0,212,255,.3);
  color: var(--cyan);
}
.alert-error {
  background: rgba(255,80,80,.1);
  border: 1px solid rgba(255,80,80,.3);
  color: #ff8080;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-inline-end: none; }
  .twox-layout  { grid-template-columns: 1fr; text-align: center; }
  .twox-text    { text-align: center; }
  .twox-text p  { margin-inline: auto; }
  .about-layout { grid-template-columns: 1fr; }
  .about-img    { aspect-ratio: 16/9; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; inset-inline: 0; background: rgba(8,17,31,.96); backdrop-filter: blur(20px); border: 1px solid var(--glass-bdr); border-radius: var(--r-lg); margin-top: .5rem; padding: .75rem; gap: .25rem; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .75rem 1rem; border-radius: var(--r-sm); }
  .nav-hamburger { display: flex; }
  .nav-glass { position: relative; border-radius: var(--r-lg); }

  .hero-ctas { flex-direction: column; align-items: center; }
  .menu-rail { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
  .events-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .twox-photo { max-width: 340px; }
}

@media (max-width: 390px) {
  .menu-rail { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .menu-card-body { padding: .875rem; }
  .btn-lg { padding: .875rem 1.75rem; font-size: .9375rem; }
  .hero-title { font-size: 2.2rem; }
}

/* ── Utility ─────────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-cyan { color: var(--cyan); }
.mt-auto { margin-top: auto; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Shop page ───────────────────────────────────────────────────────────── */
.shop-filter-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.75rem;
}
.shop-search-wrap { flex: 1; min-width: 200px; position: relative; }
.shop-search-wrap svg {
  position: absolute;
  inset-inline-start: .875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted2);
  pointer-events: none;
}
.shop-search {
  width: 100%;
  padding: .75rem 1rem .75rem 2.75rem;
  background: var(--card-bg);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--r-md);
  color: var(--white);
  font-family: var(--font);
  font-size: .9375rem;
  transition: border-color .2s, box-shadow .2s;
}
.shop-search::placeholder { color: var(--muted2); }
.shop-search:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,212,255,.12);
}
.shop-count {
  font-size: .875rem;
  color: var(--muted);
  white-space: nowrap;
}

.shop-card-actions { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }

/* ── Product Detail ──────────────────────────────────────────────────────── */
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.pd-gallery {}
.pd-gallery-main {
  aspect-ratio: 1;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--card-bdr);
  background: var(--card-bg);
}
.pd-gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity .35s var(--ease);
}
.pd-thumbs {
  display: flex;
  gap: .625rem;
  margin-top: .875rem;
  flex-wrap: wrap;
}
.pd-thumb {
  width: 60px; height: 60px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1.5px solid var(--glass-bdr);
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.pd-thumb:hover { transform: translateY(-2px); border-color: rgba(0,212,255,.4); }
.pd-thumb.active { border-color: var(--cyan); box-shadow: 0 0 10px rgba(0,212,255,.3); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pd-info {}
.pd-breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  color: var(--muted2);
  margin-bottom: 1rem;
}
.pd-breadcrumb a:hover { color: var(--cyan); }
.pd-breadcrumb span { color: var(--muted2); }
.pd-cat { font-size: .8125rem; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .5rem; display: block; }
.pd-name { font-size: clamp(1.4rem,3vw,2rem); font-weight: 800; margin-bottom: 1rem; line-height: 1.25; }
.pd-price { font-size: 1.75rem; font-weight: 900; color: var(--cyan); margin-bottom: 1.75rem; line-height: 1; }
.pd-price-original { font-size: .9rem; color: var(--muted2); font-weight: 400; text-decoration: line-through; margin-inline-start: .5rem; }

.pd-label { font-size: .875rem; font-weight: 700; color: var(--muted); margin-bottom: .625rem; display: block; }

.size-pills { display: flex; gap: .5rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.size-pill { position: relative; }
.size-pill input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.size-pill label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: .5rem .875rem;
  border-radius: var(--r-md);
  border: 1.5px solid var(--glass-bdr);
  font-size: .875rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s var(--ease);
  line-height: 1.4;
}
.size-pill label small { font-size: .7rem; font-weight: 400; color: var(--muted2); }
.size-pill input:checked + label {
  color: var(--bg);
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0,212,255,.3);
}
.size-pill input:checked + label small { color: rgba(8,17,31,.65); }
.size-pill label:hover { border-color: rgba(0,212,255,.5); color: var(--white); }

.qty-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.qty-stepper { display: flex; align-items: center; gap: .375rem; }
.qty-btn {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--card-bg);
  border: 1px solid var(--glass-bdr);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}
.qty-btn:hover { background: rgba(255,255,255,.1); border-color: rgba(0,212,255,.4); }
.qty-display {
  min-width: 36px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--card-bg);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--r-sm);
  padding: .25rem .5rem;
  color: var(--white);
}

.pd-actions { display: flex; gap: .875rem; flex-wrap: wrap; margin-bottom: 2rem; }
.pd-actions .btn { flex: 1; min-width: 140px; justify-content: center; }

.pd-meta-list { display: flex; flex-direction: column; gap: .5rem; }
.pd-meta-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .875rem;
  color: var(--muted);
  padding: .625rem .875rem;
  background: var(--card-bg);
  border-radius: var(--r-sm);
}
.pd-meta-row svg { color: var(--cyan); flex-shrink: 0; }

/* ── Auth pages ──────────────────────────────────────────────────────────── */
.auth-wrap {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 1.5rem 3rem;
  position: relative;
}
.auth-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,212,255,.07) 0%, transparent 65%);
  pointer-events: none;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg2);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.auth-logo { text-align: center; font-size: 1.5rem; font-weight: 900; margin-bottom: 1.5rem; }
.auth-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: .375rem;
}
.auth-card-sub {
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 2rem;
}
.auth-switch {
  text-align: center;
  margin-top: 1.5rem;
  font-size: .875rem;
  color: var(--muted);
}
.auth-switch a { color: var(--cyan); transition: opacity .2s; }
.auth-switch a:hover { opacity: .8; }

/* ── Account dashboard ───────────────────────────────────────────────────── */
.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
}
.account-sidebar {
  background: var(--bg2);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  position: sticky;
  top: 100px;
}
.account-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--cyan-dim);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--cyan);
}
.account-name {
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: .25rem;
}
.account-phone {
  text-align: center;
  font-size: .8125rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  direction: ltr;
}
.account-nav a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 1rem;
  border-radius: var(--r-md);
  font-size: .9rem;
  color: var(--muted);
  transition: color .2s, background .2s;
  margin-bottom: .2rem;
}
.account-nav a:hover, .account-nav a.active { color: var(--white); background: rgba(255,255,255,.06); }
.account-nav a.active { color: var(--cyan); }
.account-nav-logout {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-bdr);
}
.account-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: .875rem;
  border-bottom: 1px solid var(--glass-bdr);
}
.order-card {
  background: var(--card-bg);
  border: 1px solid var(--card-bdr);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  transition: border-color .2s;
}
.order-card:hover { border-color: rgba(0,212,255,.25); }
.order-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: .875rem;
  flex-wrap: wrap;
}
.order-id { font-size: .8125rem; color: var(--muted); }
.order-total { font-weight: 700; color: var(--cyan); }
.order-status {
  display: inline-block;
  padding: .2rem .875rem;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 700;
}
.order-status-pending    { background: rgba(255,200,0,.1);  color: #ffd700; border: 1px solid rgba(255,200,0,.25); }
.order-status-confirmed  { background: rgba(0,212,255,.1);  color: var(--cyan); border: 1px solid rgba(0,212,255,.25); }
.order-status-delivered  { background: rgba(0,200,100,.1);  color: #4dff91; border: 1px solid rgba(0,200,100,.25); }
.order-status-cancelled  { background: rgba(255,80,80,.08); color: #ff8080; border: 1px solid rgba(255,80,80,.2); }
.order-items-preview { font-size: .875rem; color: var(--muted); }
.order-date { font-size: .8rem; color: var(--muted2); margin-top: .5rem; }

.account-guest-wrap {
  text-align: center;
  max-width: 420px;
  margin-inline: auto;
  padding: 3rem 0;
}
.account-guest-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--cyan-dim);
  border: 2px solid rgba(0,212,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--cyan);
}
.account-guest-wrap h2 { margin-bottom: .75rem; }
.account-guest-wrap p { color: var(--muted); margin-bottom: 2rem; }
.account-guest-btns { display: flex; gap: .875rem; justify-content: center; flex-wrap: wrap; }

/* ── Responsive new ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pd-layout { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
}
@media (max-width: 640px) {
  .auth-card { padding: 1.75rem; }
  .account-sidebar { padding: 1.25rem; }
  .pd-actions { flex-direction: column; }
  .pd-actions .btn { width: 100%; }
}

/* ══════════════════════════════════════════════════════════════════════════
   ADMIN PANEL
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Admin Login ─────────────────────────────────────────────────────────── */
.admin-body { background: var(--bg); min-height: 100vh; }

.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  background: radial-gradient(ellipse 60% 50% at 50% -10%, rgba(0,212,255,.12) 0%, transparent 70%), var(--bg);
}

.admin-login-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg2);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.admin-login-logo {
  font-size: 2rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--white);
}

.admin-login-sub {
  display: block;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: .3rem;
}

/* ── Admin Wrap ──────────────────────────────────────────────────────────── */
.admin-wrap {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.admin-sidebar {
  width: 252px;
  flex-shrink: 0;
  background: var(--bg3);
  border-left: 1px solid var(--glass-bdr);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  scrollbar-width: thin;
}

.admin-logo {
  display: block;
  padding: 1.5rem 1.375rem 1.125rem;
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--glass-bdr);
  letter-spacing: -.01em;
}

.admin-nav { flex: 1; padding: .625rem 0; }

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6875rem 1.375rem;
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .18s, background .18s, border-color .18s;
  border-right: 3px solid transparent;
  line-height: 1.4;
}

.admin-nav-link svg { opacity: .65; flex-shrink: 0; transition: opacity .18s; }
.admin-nav-link:hover { color: var(--white); background: rgba(255,255,255,.04); border-right-color: var(--glass-bdr); }
.admin-nav-link:hover svg { opacity: .9; }
.admin-nav-link.active { color: var(--cyan); background: var(--cyan-dim); border-right-color: var(--cyan); font-weight: 700; }
.admin-nav-link.active svg { opacity: 1; stroke: var(--cyan); }

.admin-sidebar-footer {
  padding: .875rem 1.375rem 1.125rem;
  border-top: 1px solid var(--glass-bdr);
}

.admin-sidebar-user {
  display: block;
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: .625rem;
  font-weight: 600;
  direction: ltr;
}

.admin-logout-btn {
  width: 100%;
  padding: .5rem .875rem;
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.2);
  border-radius: var(--r-sm);
  color: #f87171;
  font-family: var(--font);
  font-size: .8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s;
}

.admin-logout-btn:hover { background: rgba(239,68,68,.2); }

/* ── Main Content ────────────────────────────────────────────────────────── */
.admin-main { flex: 1; min-width: 0; }

.admin-content {
  padding: 1.75rem 2rem 3rem;
}

/* ── Page Header ─────────────────────────────────────────────────────────── */
.admin-page-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.admin-page-title {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--white);
}

/* ── Stat Cards ──────────────────────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-bdr);
  border-radius: var(--r-md);
  padding: 1.375rem 1.25rem;
  position: relative;
  overflow: hidden;
  transition: border-color .2s;
}

.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, var(--cyan-dim), transparent 60%);
  pointer-events: none;
}

.stat-card-warn { border-color: rgba(251,191,36,.25); }
.stat-card-warn::after { background: radial-gradient(circle at top left, rgba(251,191,36,.08), transparent 60%); }
.stat-card-success { border-color: rgba(74,222,128,.2); }
.stat-card-success::after { background: radial-gradient(circle at top left, rgba(74,222,128,.07), transparent 60%); }

.stat-card-icon { color: var(--cyan); margin-bottom: .625rem; opacity: .8; }
.stat-card-warn .stat-card-icon { color: #fbbf24; }
.stat-card-success .stat-card-icon { color: #4ade80; }

.stat-card-value {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: .2rem;
}

.stat-card-label {
  font-size: .8125rem;
  color: var(--muted);
  font-weight: 500;
}

/* ── Table ───────────────────────────────────────────────────────────────── */
.admin-table-wrap {
  background: var(--card-bg);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--r-md);
  overflow: hidden;
}

.admin-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.375rem;
  border-bottom: 1px solid var(--glass-bdr);
}

.admin-table-header h2 {
  font-size: 1rem;
  font-weight: 700;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  text-align: right;
  padding: .75rem 1.25rem;
  font-size: .775rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted2);
  background: rgba(255,255,255,.025);
  border-bottom: 1px solid var(--glass-bdr);
}

.admin-table td {
  padding: .8125rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.03);
  vertical-align: middle;
  font-size: .9375rem;
  color: var(--white);
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover td { background: rgba(255,255,255,.025); }

/* ── Badges ──────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .625rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge-green  { background: rgba(34,197,94,.14);  color: #4ade80; }
.badge-yellow { background: rgba(251,191,36,.14);  color: #fbbf24; }
.badge-red    { background: rgba(239,68,68,.14);   color: #f87171; }
.badge-blue   { background: rgba(59,130,246,.14);  color: #60a5fa; }
.badge-gray   { background: rgba(255,255,255,.08); color: var(--muted); }

/* ── Admin Form ──────────────────────────────────────────────────────────── */
.admin-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--r-md);
  padding: 2rem;
  max-width: 740px;
}

.admin-form-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.375rem;
  padding-bottom: .875rem;
  border-bottom: 1px solid var(--glass-bdr);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group { margin-bottom: 1.25rem; }
.form-group.full { grid-column: 1 / -1; }

.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: .4375rem;
}

.form-input {
  width: 100%;
  padding: .6875rem 1rem;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--r-sm);
  color: var(--white);
  font-family: var(--font);
  font-size: .9375rem;
  line-height: 1.5;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-dim);
}

textarea.form-input { resize: vertical; min-height: 110px; }
select.form-input { cursor: pointer; }
.form-input[type="file"] { padding: .5625rem 1rem; cursor: pointer; }
.form-input[type="date"] { color-scheme: dark; }

.form-hint {
  font-size: .8125rem;
  color: var(--muted2);
  margin-top: .3rem;
}

/* Image preview */
.img-preview-wrap { margin-top: .75rem; }
.img-preview {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--r-sm);
  border: 1px solid var(--glass-bdr);
  display: block;
}

/* Toggle */
.toggle-wrap { display: flex; align-items: center; gap: .625rem; cursor: pointer; }
.toggle-input { width: 1.125rem; height: 1.125rem; accent-color: var(--cyan); cursor: pointer; }

/* ── Flash Messages ──────────────────────────────────────────────────────── */
.admin-flash {
  padding: .875rem 1.125rem;
  border-radius: var(--r-sm);
  margin-bottom: 1.25rem;
  font-weight: 600;
  font-size: .9375rem;
}

.admin-flash-success {
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.25);
  color: #4ade80;
}

.admin-flash-error {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.25);
  color: #f87171;
}

/* ── Action Buttons ──────────────────────────────────────────────────────── */
.admin-actions { display: flex; align-items: center; gap: .375rem; flex-wrap: wrap; }

.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .375rem .8125rem;
  border-radius: var(--r-sm);
  font-size: .8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s var(--ease);
  text-decoration: none;
  border: 1px solid transparent;
  font-family: var(--font);
  white-space: nowrap;
  line-height: 1.4;
}

.btn-sm-primary  { background: var(--cyan); color: var(--bg); }
.btn-sm-primary:hover { background: #33ddff; }

.btn-sm-danger  { background: rgba(239,68,68,.12); color: #f87171; border-color: rgba(239,68,68,.2); }
.btn-sm-danger:hover  { background: rgba(239,68,68,.22); }

.btn-sm-secondary { background: rgba(255,255,255,.07); color: var(--muted); border-color: var(--glass-bdr); }
.btn-sm-secondary:hover { background: rgba(255,255,255,.12); color: var(--white); }

/* ── Two-column layout ───────────────────────────────────────────────────── */
.admin-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

/* ── Pagination ──────────────────────────────────────────────────────────── */
.admin-pagination {
  display: flex;
  gap: .375rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--glass-bdr);
  flex-wrap: wrap;
}

/* ── Filter Row ──────────────────────────────────────────────────────────── */
.admin-filter-row { display: flex; gap: .375rem; flex-wrap: wrap; }

/* ── Misc ────────────────────────────────────────────────────────────────── */
.admin-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--muted2);
  font-size: .9375rem;
}

.admin-link { color: var(--cyan); text-decoration: none; font-weight: 600; }
.admin-link:hover { text-decoration: underline; }

.tbl-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--r-sm);
  display: block;
}

.contact-msg-cell {
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--muted);
  font-size: .875rem;
}

.order-detail-row {
  display: flex;
  gap: .75rem;
  align-items: baseline;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: .9375rem;
}

.order-detail-row:last-child { border-bottom: none; }
.order-detail-row > span { color: var(--muted); min-width: 80px; font-weight: 500; }

/* ── Admin Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .admin-two-col { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .admin-wrap { flex-direction: column; }
  .admin-sidebar {
    width: 100%;
    height: auto;
    position: static;
    border-left: none;
    border-bottom: 1px solid var(--glass-bdr);
  }
  .admin-nav {
    display: flex;
    flex-wrap: wrap;
    padding: .375rem .5rem;
  }
  .admin-nav-link {
    padding: .5rem .875rem;
    font-size: .875rem;
    border-right: none;
    border-bottom: 3px solid transparent;
    border-radius: var(--r-sm);
  }
  .admin-nav-link.active {
    border-bottom-color: var(--cyan);
    border-right-color: transparent;
  }
  .admin-nav-link span { display: none; }
  .admin-sidebar-footer { padding: .625rem 1rem; }
  .admin-content { padding: 1.25rem; }
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .admin-page-hd { flex-direction: column; align-items: flex-start; }
  .admin-table th, .admin-table td { padding: .625rem .875rem; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* fix 2026-08-06: kill 6px hero-zoom overflow on mobile (header is position:fixed, so overflow-x hidden is safe) */
html, body { overflow-x: hidden; }

/* ===================================================================== */
/* == CR#563 SKY-BLUE THEME (customer brief: sky bg + light rays + black text) == */
/* == revert: delete everything from this marker to EOF ================= */
/* ===================================================================== */
:root {
  --bg:        #F5FAFD;
  --bg2:       #EBF3F8;
  --bg3:       #FAFCFE;
  --cyan:      #0B76AE;                 /* deep-sky accent, readable on light */
  --cyan-dim:  rgba(11,118,174,.10);
  --cyan-glow: rgba(11,118,174,.22);
  --white:     #0C1B2A;                 /* primary TEXT is now near-black */
  --muted:     rgba(12,27,42,.66);
  --muted2:    rgba(12,27,42,.45);
  --glass-bg:  rgba(255,255,255,.55);
  --glass-bdr: rgba(11,118,174,.16);
  --card-bg:   rgba(255,255,255,.72);
  --card-bdr:  rgba(11,118,174,.20);
  --shadow-sm: 0 1px 3px rgba(11,60,90,.10), 0 6px 20px rgba(11,118,174,.08);
  --shadow-md: 0 2px 10px rgba(11,60,90,.10), 0 14px 44px rgba(11,118,174,.12);
  --shadow-lg: 0 6px 20px rgba(11,60,90,.12), 0 26px 70px rgba(11,118,174,.16);
  --shadow-cyan: 0 0 26px rgba(11,118,174,.28), 0 0 70px rgba(11,118,174,.14);
}

body { color: var(--white); background: linear-gradient(180deg,#EFF9FF 0%,#D3ECFF 48%,#BBE2FF 100%) fixed; }
/* sky light-rays behind content */
body::before {
  content:''; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:
    linear-gradient(118deg, transparent 30%, rgba(255,255,255,.55) 43%, transparent 47%),
    linear-gradient(128deg, transparent 56%, rgba(255,255,255,.40) 64%, transparent 68%),
    radial-gradient(1000px 520px at 76% -6%, rgba(255,255,255,.85), transparent 60%);
}
::selection { background: var(--cyan); color: #fff; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: rgba(11,118,174,.35); }

/* header / nav → light glass */
.nav-glass { background: rgba(255,255,255,.72); box-shadow: var(--shadow-sm); }
.nav-links a:hover, .nav-links a.active { color: var(--cyan); background: rgba(11,118,174,.10); }
@media (max-width:860px){ .nav-links { background: rgba(255,255,255,.96) !important; } }

/* sections keep tokenized bg (var flips handle it) */
.section-alt { background: var(--bg2); }

/* hero scrim → light wash so black hero text stays readable over the photo */
.hero-bg::after {
  background:
    radial-gradient(ellipse 60% 55% at 50% 0%, rgba(255,255,255,.35) 0%, transparent 65%),
    linear-gradient(to bottom, rgba(233,247,255,.55) 0%, rgba(233,247,255,.35) 40%, rgba(233,247,255,.72) 78%, #E9F7FF 100%) !important;
}
.hero .hero-content, .hero h1, .hero .display { text-shadow: 0 1px 10px rgba(255,255,255,.7); }

/* footer → light, cohesive with sky */
.site-footer { background: rgba(255,255,255,.62); border-top: 1px solid var(--glass-bdr); }

/* primary button: keep strong sky accent with white text */
.btn-primary { background: var(--cyan); color: #fff; }
.btn-primary:hover { background: #0A87C6; }

/* menu "add to cart" button readable */
.menu-card-btn:focus-visible { outline: 2px solid var(--cyan); }

/* form controls on light */
.form-input, .form-textarea { background: rgba(255,255,255,.75); border-color: var(--glass-bdr); color: var(--white); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted2); }

/* badges: keep colored chips but darker text for light bg */
.badge-green  { color:#0f7a37; } .badge-blue { color:#155ec9; }
.badge-yellow { color:#9a6a00; } .badge-red  { color:#c0362f; }
.badge-gray   { background: rgba(12,27,42,.08); color: var(--muted); }

/* ── CR#563 scroll animations + micro-interactions ─────────────────── */
@media (prefers-reduced-motion: no-preference){
  .reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in{ opacity:1; transform:none; }
  .btn{ transition:transform .18s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease); }
  .btn:hover{ transform:translateY(-2px); }
  .menu-card{ transition:transform .25s var(--ease), box-shadow .25s var(--ease); }
  .menu-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
  .twox-chip{ transition:transform .15s var(--ease), border-color .2s, box-shadow .2s; }
  .twox-chip:hover{ transform:translateY(-2px); }
  .order-type-card{ transition:transform .18s var(--ease), border-color .2s, box-shadow .2s; }
  .order-type-card:hover{ transform:translateY(-3px); }
  .cat-card,.footer-links a,.nav-links a{ transition:color .2s var(--ease), transform .2s var(--ease); }
}

/* Admin media studio: direct teaser + theme uploads */
.admin-media-section {
  margin-block: 1.25rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, rgba(255,255,255,.7), rgba(255,255,255,.42));
  box-shadow: var(--shadow-sm);
}
.admin-media-copy { max-width: 670px; margin-block-end: 1rem; }
.admin-media-copy h2 { font-size: 1.25rem; margin: .2rem 0 .35rem; }
.admin-media-copy p { color: var(--muted); line-height: 1.8; margin: 0; }
.admin-media-kicker { color: var(--cyan); font-size: .75rem; font-weight: 800; letter-spacing: .04em; }
.admin-media-preview { display: block; width: min(100%, 620px); max-height: 310px; object-fit: cover; border-radius: var(--r-md); margin-block: .75rem; background: #08131d; }
.admin-file-drop { min-height: 92px; padding: 1rem; display: flex; align-items: center; gap: .9rem; border: 1.5px dashed rgba(11,118,174,.48); border-radius: var(--r-md); background: rgba(11,118,174,.06); cursor: pointer; transition: border-color .2s, background .2s; }
.admin-file-drop:hover, .admin-file-drop:focus-within { border-color: var(--cyan); background: rgba(11,118,174,.11); }
.admin-file-drop:focus-within { outline: 3px solid rgba(11,118,174,.2); outline-offset: 2px; }
.admin-file-drop input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.admin-file-drop strong, .admin-file-drop small { display: block; }
.admin-file-drop small { color: var(--muted); margin-block-start: .25rem; }
.admin-file-icon { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--cyan); color: #fff; font-size: 1.5rem; }
.admin-remove-option { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: #a52626; font-weight: 700; cursor: pointer; }
.admin-remove-option input { width: 20px; height: 20px; accent-color: #b52d2d; }
.admin-save-btn { min-height: 48px; white-space: nowrap; }

@media (max-width: 768px) {
  body { background-attachment: scroll; }
  [hidden] { display: none !important; }
  .menu-card-footer { flex-direction: column; align-items: stretch; }
  .menu-card-price { width: 100%; }
  .menu-card-btn { width: 100%; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
  .admin-media-section { border-radius: var(--r-md); }
  .admin-file-drop { align-items: flex-start; }
  .admin-save-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .admin-file-drop { transition: none; }
  .hero-bg img { animation: none; }
}


/* ── CR#909: deeper accent blue inside the admin panel only ───────────────── */
.admin-body {
  --cyan:      #0A5C87;
  --cyan-dim:  rgba(10,92,135,.10);
  --cyan-glow: rgba(10,92,135,.22);
}

/* ── CR#908: add-to-cart confirmation toast ───────────────────────────────── */
.cu-toast {
  position: fixed;
  inset-inline: 0;
  top: 5.5rem;
  z-index: 999;
  margin-inline: auto;
  width: max-content;
  max-width: calc(100vw - 2rem);
  padding: .85rem 1.4rem;
  background: var(--cyan);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--r-md);
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  animation: cu-toast-in .28s var(--ease), cu-toast-out .4s ease 3.2s forwards;
}
@keyframes cu-toast-in  { from { opacity:0; transform:translateY(-14px); } to { opacity:1; transform:none; } }
@keyframes cu-toast-out { to   { opacity:0; transform:translateY(-14px); visibility:hidden; } }
@media (prefers-reduced-motion: reduce) { .cu-toast { animation: none; } }
/* #B64 mobile-reachability fix 2026-09-03 */
@media (max-width:860px){
  div.admin-actions{flex-wrap:wrap;row-gap:8px}
  div.admin-table-wrap{overflow-x:auto;overflow-y:visible;max-width:100%}
}
