/* Afrolux Lounge — design tokens and components (ported from the Tailwind/shadcn theme; Bootstrap 5 does layout) */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,300&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --background: 140 22% 98%;  --foreground: 156 28% 10%;
  --card: 0 0% 100%;          --card-foreground: 156 28% 10%;
  --primary: 136 78% 36%;     --primary-foreground: 0 0% 100%;
  --secondary: 140 34% 93%;   --secondary-foreground: 156 35% 14%;
  --muted: 140 18% 95%;       --muted-foreground: 150 9% 40%;
  --accent: 140 42% 88%;      --accent-foreground: 156 38% 14%;
  --destructive: 0 62% 45%;   --destructive-foreground: 0 0% 100%;
  --border: 140 16% 87%;      --input: 140 16% 87%;   --ring: 136 78% 36%;
  --radius: 0.375rem;
  --font-heading: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sidebar-background: 156 42% 9%;   --sidebar-foreground: 140 25% 92%;
  --sidebar-primary: 136 70% 46%;     --sidebar-primary-foreground: 156 42% 9%;
  --sidebar-accent: 156 30% 15%;      --sidebar-accent-foreground: 140 30% 94%;
  --sidebar-border: 156 24% 19%;

  /* Bootstrap bridge */
  --bs-body-bg: hsl(var(--background));
  --bs-body-color: hsl(var(--foreground));
  --bs-body-font-family: var(--font-body);
  --bs-border-color: hsl(var(--border));
  --bs-primary: hsl(136 78% 36%);
  --bs-primary-rgb: 20, 163, 53;
  --bs-link-color: hsl(var(--primary));
  --bs-link-hover-color: hsl(136 78% 30%);
  --bs-border-radius: var(--radius);
}

*, *::before, *::after { border-color: hsl(var(--border)); }
html { scroll-behavior: smooth; }
body { background: hsl(var(--background)); color: hsl(var(--foreground)); font-family: var(--font-body); -webkit-font-smoothing: antialiased; font-size: .875rem; line-height: 1.5; }
a { text-decoration: none; }
main.flex-grow-1 { animation: pageEnter .45s ease-out both; }
@keyframes pageEnter { from { opacity: 0; } to { opacity: 1; } }

/* ---------- colour / type utilities ---------- */
.bg-af-background { background: hsl(var(--background)) !important; }
.bg-af-card { background: hsl(var(--card)) !important; }
.bg-af-muted { background: hsl(var(--muted)) !important; }
.bg-af-secondary { background: hsl(var(--secondary)) !important; }
.bg-af-secondary-40 { background: hsl(var(--secondary) / .4) !important; }
.bg-af-foreground { background: hsl(var(--foreground)) !important; }
.bg-af-primary { background: hsl(var(--primary)) !important; color: hsl(var(--primary-foreground)); }
.bg-af-primary-10 { background: hsl(var(--primary) / .1) !important; }
.text-primary-af { color: hsl(var(--primary)) !important; }
.text-muted-af { color: hsl(var(--muted-foreground)) !important; }
.text-af-fg { color: hsl(var(--foreground)) !important; }
.text-af-fg-75 { color: hsl(var(--foreground) / .75) !important; }
.text-destructive-af { color: hsl(var(--destructive)) !important; }
.border-af { border: 1px solid hsl(var(--border)) !important; }
.border-af-t { border-top: 1px solid hsl(var(--border)) !important; }
.border-af-b { border-bottom: 1px solid hsl(var(--border)) !important; }
.border-af-y { border-top: 1px solid hsl(var(--border)) !important; border-bottom: 1px solid hsl(var(--border)) !important; }
.font-display { font-family: var(--font-display); }
.eyebrow { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .3em; color: hsl(var(--primary)); margin: 0; }
.display-title { font-family: var(--font-display); font-weight: 400; letter-spacing: -.025em; color: hsl(var(--foreground)); }
.leading-relaxed-af { line-height: 1.625; }
.fs-12 { font-size: .75rem; } .fs-13 { font-size: .8125rem; } .fs-14 { font-size: .875rem; } .fs-16 { font-size: 1rem; }
.tracking-wide-af { letter-spacing: .1em; }
.rounded-af { border-radius: var(--radius); } .rounded-af-lg { border-radius: .5rem; } .rounded-af-xl { border-radius: .75rem; } .rounded-af-2xl { border-radius: 1rem; }

/* ---------- layout ---------- */
.af-container { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 576px) { .af-container { padding-inline: 2rem; } }
.min-vh-af { min-height: 100vh; }
.aspect-4-3 { aspect-ratio: 4 / 3; }
.object-cover { object-fit: cover; }

/* ---------- buttons (shadcn variants) ---------- */
.btn-af, .btn-af-outline, .btn-af-ghost, .btn-af-secondary, .btn-af-destructive {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; white-space: nowrap;
  border-radius: var(--radius); font-size: .875rem; font-weight: 500; height: 2.25rem; padding: .5rem 1rem;
  border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s; cursor: pointer; line-height: 1;
}
.btn-af { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); box-shadow: 0 1px 3px rgb(0 0 0 / .1); }
.btn-af:hover { background: hsl(var(--primary) / .9); color: hsl(var(--primary-foreground)); }
.btn-af-outline { background: transparent; border-color: hsl(var(--input)); color: hsl(var(--foreground)); box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
.btn-af-outline:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.btn-af-ghost { background: transparent; color: hsl(var(--foreground)); }
.btn-af-ghost:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.btn-af-secondary { background: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); }
.btn-af-secondary:hover { background: hsl(var(--secondary) / .8); }
.btn-af-destructive { background: hsl(var(--destructive)); color: hsl(var(--destructive-foreground)); }
.btn-af-destructive:hover { background: hsl(var(--destructive) / .9); color: #fff; }
.btn-af:disabled, .btn-af-outline:disabled, .btn-af[disabled], .btn-af-outline[disabled], .btn-af.disabled { opacity: .5; pointer-events: none; }
.btn-sm-af { height: 2rem; padding: 0 .75rem; font-size: .75rem; }
.btn-lg-af { height: 2.5rem; padding: 0 2rem; }
.btn-icon-af { width: 2.25rem; padding: 0; }
.btn-xl-af { height: 3rem; font-size: .875rem; }
.btn-pill-cta { border-radius: 999px; font-size: .75rem; text-transform: uppercase; letter-spacing: .16em; padding-inline: 1.25rem; }
.btn-pill-cta.btn-lg-af { padding-inline: 1.75rem; letter-spacing: .18em; }
.btn-on-dark { border-color: rgb(255 255 255 / .4); background: rgb(255 255 255 / .05); color: #fff; }
.btn-on-dark:hover { background: rgb(255 255 255 / .15); color: #fff; }
.btn-ghost-primary { color: hsl(var(--primary)); } .btn-ghost-primary:hover { color: hsl(var(--primary)); }

/* ---------- forms ---------- */
.form-label-af { font-size: .875rem; font-weight: 500; line-height: 1; margin-bottom: .5rem; display: block; }
.input-af, .select-af, .textarea-af {
  display: block; width: 100%; height: 2.25rem; border-radius: var(--radius); border: 1px solid hsl(var(--input));
  background: transparent; padding: .25rem .75rem; font-size: .875rem; box-shadow: 0 1px 2px rgb(0 0 0 / .05); color: inherit;
  transition: box-shadow .15s, border-color .15s; font-family: inherit;
}
.textarea-af { height: auto; min-height: 4rem; padding: .5rem .75rem; }
.select-af { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23888' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .6rem center; padding-right: 2rem; }
.input-af:focus, .select-af:focus, .textarea-af:focus { outline: none; border-color: hsl(var(--ring)); box-shadow: 0 0 0 1px hsl(var(--ring)); }
.input-af::placeholder, .textarea-af::placeholder { color: hsl(var(--muted-foreground)); }
.input-af:disabled, .select-af:disabled { opacity: .5; cursor: not-allowed; }
.input-lg-af { height: 3rem; }
.input-icon-wrap { position: relative; }
.input-icon-wrap > i { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: hsl(var(--muted-foreground)); font-size: 1rem; pointer-events: none; }
.input-icon-wrap > .input-af { padding-left: 2.5rem; }
.field { margin-bottom: 1rem; } .field .form-label-af { margin-bottom: .5rem; }
.form-check-af { display: flex; align-items: center; gap: .5rem; }
.form-check-af input { accent-color: hsl(var(--primary)); width: 1rem; height: 1rem; }
.switch-af { position: relative; width: 2.25rem; height: 1.25rem; flex: none; }
.switch-af input { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.switch-af span { position: absolute; inset: 0; background: hsl(var(--input)); border-radius: 999px; transition: background .15s; }
.switch-af span::after { content: ''; position: absolute; left: 2px; top: 2px; width: 1rem; height: 1rem; background: #fff; border-radius: 50%; transition: transform .15s; box-shadow: 0 1px 2px rgb(0 0 0 / .3); }
.switch-af input:checked + span { background: hsl(var(--primary)); }
.switch-af input:checked + span::after { transform: translateX(1rem); }

/* ---------- cards / pills ---------- */
.card-af { border-radius: .75rem; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); color: hsl(var(--card-foreground)); box-shadow: 0 1px 3px rgb(0 0 0 / .1); transition: transform .25s ease, box-shadow .25s ease; }
.card-af:hover { transform: translateY(-4px); box-shadow: 0 14px 28px -12px rgb(0 0 0 / .24); }
.card-af-flat { border-radius: .5rem; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); }
.card-af-flat.hoverable { transition: transform .25s ease, box-shadow .25s ease; } .card-af-flat.hoverable:hover { transform: translateY(-4px); box-shadow: 0 14px 28px -12px rgb(0 0 0 / .24); }
.pill { display: inline-flex; align-items: center; white-space: nowrap; border-radius: var(--radius); border: 1px solid; padding: .125rem .625rem; font-size: .75rem; font-weight: 500; }
.pill-amber { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.pill-gold { background: hsl(var(--primary) / .1); color: hsl(var(--primary)); border-color: hsl(var(--primary) / .2); }
.pill-green { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.pill-red { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.pill-slate { background: hsl(var(--muted)); color: hsl(var(--muted-foreground)); border-color: hsl(var(--border)); }
.badge-outline-af { display: inline-flex; border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: .125rem .625rem; font-size: 10px; font-weight: 600; color: hsl(var(--muted-foreground)); }
.alert-af { border-radius: .5rem; padding: .75rem 1rem; font-size: .875rem; }
.alert-af-error { background: hsl(var(--destructive) / .1); color: hsl(var(--destructive)); }
.alert-af-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.alert-af-warn { background: #fffbeb; color: #78350f; border: 1px solid #fde68a; }

/* ---------- site header / footer ---------- */
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid hsl(var(--border)); background: hsl(var(--background) / .9); backdrop-filter: blur(8px); }
.site-header .bar { height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 576px) { .site-header .bar { height: 5rem; } }
.site-logo { height: 2.25rem; width: auto; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15)); }
@media (min-width: 576px) { .site-logo { height: 2.5rem; } }
.nav-link-af { font-size: .875rem; color: hsl(var(--foreground) / .75); transition: color .15s; }
.nav-link-af:hover, .nav-link-af.active { color: hsl(var(--primary)); }
.cart-btn { position: relative; display: inline-flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid hsl(var(--border)); color: hsl(var(--foreground) / .75); transition: all .15s; }
.cart-btn:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
.cart-count { position: absolute; right: -4px; top: -4px; min-width: 1.25rem; height: 1.25rem; padding: 0 .25rem; border-radius: 999px; background: hsl(var(--primary)); color: #fff; font-size: 10px; font-weight: 600; display: none; align-items: center; justify-content: center; }
.cart-count.show { display: flex; }
.offcanvas-af { width: 18rem !important; background: hsl(var(--background)); }

.site-footer {
  margin-top: 6rem;
  border-top: 1px solid rgba(22, 168, 62, 0.25) !important;
  background: #081d12 !important; /* Luxury Dark Green Background */
  color: #e2e8f0 !important;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.75) !important;
  transition: color 0.15s ease !important;
}
.site-footer a:hover {
  color: #22c55e !important;
}
.site-footer .footer-ico {
  color: #22c55e !important;
  margin-top: 2px;
  flex: none;
}

/* ---------- home / menu ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 76vh; overflow: hidden; background: hsl(var(--foreground)); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .9), rgb(0 0 0 / .5), rgb(0 0 0 / .2)); }
.hero .inner { position: relative; z-index: 1; width: 100%; padding-top: 7rem; padding-bottom: 3.5rem; } @media (min-width: 576px) { .hero .inner { padding-bottom: 5rem; } }
.hero h1 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; color: #fff; font-size: 2.5rem; max-width: 48rem; margin: 1.25rem 0 0; }
@media (min-width: 576px) { .hero h1 { font-size: 3.75rem; } } @media (min-width: 992px) { .hero h1 { font-size: 4.25rem; } }
.venue-gallery-section { padding-block: 4rem; }
.venue-gallery-section .row > div { animation: cardEnter .5s both; }
.venue-gallery-section .row > div:nth-child(2) { animation-delay: .05s; }
.venue-gallery-section .row > div:nth-child(3) { animation-delay: .1s; }
.venue-gallery-section .row > div:nth-child(4) { animation-delay: .15s; }
.venue-gallery-section .row > div:nth-child(5) { animation-delay: .2s; }
.venue-gallery-section .row > div:nth-child(6) { animation-delay: .25s; }
.venue-gallery-section .row > div:nth-child(7) { animation-delay: .3s; }
.venue-gallery-section .row > div:nth-child(8) { animation-delay: .35s; }
.venue-gallery-section .row > div:nth-child(9) { animation-delay: .4s; }
.venue-gallery-section .row > div:nth-child(10) { animation-delay: .45s; }
@keyframes cardEnter { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.venue-gallery-item { overflow: hidden; border-radius: .75rem; background: hsl(var(--muted)); transition: transform .28s ease, box-shadow .28s ease; }
.venue-gallery-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.venue-gallery-item:hover { transform: translateY(-5px); box-shadow: 0 16px 30px -14px rgb(0 0 0 / .35); }
.venue-gallery-item:hover img { transform: scale(1.055); }
.venue-gallery-item figcaption { padding: .75rem 1rem; color: hsl(var(--muted-foreground)); font-size: .8125rem; }
.icon-circle { display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border-radius: 999px; background: hsl(var(--primary) / .1); color: hsl(var(--primary)); font-size: 1.25rem; }
.icon-circle-sm { width: 2.25rem; height: 2.25rem; font-size: 1rem; }
.chip-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  gap: 0.625rem !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth !important;
  scrollbar-width: thin !important;
  scrollbar-color: hsl(var(--primary) / .55) hsl(var(--muted));
  -webkit-overflow-scrolling: touch !important;
  padding: 0.625rem 0.5rem 0.75rem !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
}
.chip-row::-webkit-scrollbar { height: .55rem; }
.chip-row::-webkit-scrollbar-track { border-radius: 999px; background: hsl(var(--muted)); }
.chip-row::-webkit-scrollbar-thumb { border: 1px solid hsl(var(--background)); border-radius: 999px; background: hsl(var(--primary) / .55); }
.chip-row::-webkit-scrollbar-thumb:hover { background: hsl(var(--primary)); }

.chip {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 2.625rem !important;
  padding: 0 1.25rem !important;
  width: auto !important;
  max-width: none !important;
  min-width: max-content !important;
  overflow: visible !important;
  white-space: nowrap !important;
  border-radius: 999px !important;
  border: 1px solid rgba(22, 168, 62, 0.25) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: hsl(var(--foreground) / 0.85) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.chip:hover {
  border-color: hsl(var(--primary)) !important;
  color: hsl(var(--primary)) !important;
  background: rgba(22, 168, 62, 0.1) !important;
  transform: translateY(-1px) !important;
}

.chip.active {
  border-color: hsl(var(--primary)) !important;
  background: hsl(var(--primary)) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(22, 168, 62, 0.35) !important;
  font-weight: 600 !important;
  transform: translateY(-2px) !important;
}
.dish-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid hsl(var(--border)); padding: 1.25rem 0; } .dish-row:last-child { border: 0; }
.dish-thumb { width: 4rem; height: 4rem; flex: none; overflow: hidden; border-radius: var(--radius); background: hsl(var(--muted)); }
@media (min-width: 576px) { .dish-thumb { width: 6rem; height: 5rem; } }
.dish-thumb img, .dish-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dish-img { aspect-ratio: 4/3; background: hsl(var(--muted)); overflow: hidden; }
.room-img img, .dish-img img { transition: transform .6s cubic-bezier(.2,.7,.2,1); } .card-af-flat:hover .room-img img, .card-af-flat:hover .dish-img img { transform: scale(1.045); }
.cart-bar { position: fixed; inset: auto 0 0 0; z-index: 30; border-top: 1px solid hsl(var(--border)); background: hsl(var(--card) / .95); backdrop-filter: blur(8px); display: none; }
.cart-bar.show { display: block; }
.toast-af-wrap { position: fixed; right: 1rem; bottom: 1rem; z-index: 1100; display: flex; flex-direction: column; gap: .5rem; max-width: 22rem; }
.toast-af { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); box-shadow: 0 10px 15px -3px rgb(0 0 0 / .15); padding: .75rem 1rem; animation: toastIn .2s ease-out; }
.toast-af strong { display: block; font-size: .875rem; } .toast-af span { font-size: .875rem; color: hsl(var(--muted-foreground)); }
.toast-af.destructive { background: hsl(var(--destructive)); color: #fff; border-color: hsl(var(--destructive)); } .toast-af.destructive span { color: #fff; opacity: .9; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.spinner-af { width: 2rem; height: 2rem; border: 4px solid #e2e8f0; border-top-color: #1e293b; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
.spinner-sm { width: 1rem; height: 1rem; border-width: 2px; border-color: rgb(255 255 255 / .4); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.divide-af > * + * { border-top: 1px solid hsl(var(--border)); }
.dl-box { border: 1px solid hsl(var(--border)); border-radius: var(--radius); background: hsl(var(--background)); }
.dl-box .r { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; font-size: .875rem; }
.dl-box .r + .r { border-top: 1px solid hsl(var(--border)); } .dl-box dt { color: hsl(var(--muted-foreground)); font-weight: 400; } .dl-box dd { margin: 0; font-weight: 500; }

/* ---------- auth ---------- */
.auth-icon { display: inline-flex; width: 4rem; height: 4rem; align-items: center; justify-content: center; border-radius: 1rem; background: hsl(var(--foreground)); overflow: hidden; box-shadow: 0 0 0 1px hsl(var(--border)); }
.auth-icon img { width: 100%; height: 100%; object-fit: cover; }
.auth-divider { position: relative; text-align: center; font-size: .75rem; text-transform: uppercase; margin: 1.5rem 0; }
.auth-divider::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid hsl(var(--border)); }
.auth-divider span { position: relative; background: hsl(var(--card)); padding: 0 .75rem; color: hsl(var(--muted-foreground)); }
.otp-input { letter-spacing: .6em; text-align: center; font-size: 1.5rem; font-weight: 600; height: 3.5rem; }

/* ---------- admin console ---------- */
.admin-shell { display: flex; min-height: 100vh; background: hsl(var(--background)); }
.admin-side { width: 16rem; flex: none; background: hsl(var(--sidebar-background)); color: hsl(var(--sidebar-foreground)); display: flex; flex-direction: column; border-right: 1px solid hsl(var(--sidebar-border)); position: sticky; top: 0; height: 100vh; }
.admin-side .brand { padding: 1.25rem 1.25rem 1rem; border-bottom: 1px solid hsl(var(--sidebar-border)); }
.admin-side nav { padding: .75rem; flex: 1; overflow-y: auto; }
.side-link { display: flex; align-items: center; gap: .75rem; padding: .55rem .75rem; border-radius: var(--radius); color: hsl(var(--sidebar-foreground) / .8); font-size: .875rem; transition: all .15s; }
.side-link:hover { background: hsl(var(--sidebar-accent)); color: hsl(var(--sidebar-accent-foreground)); }
.side-link.active { background: hsl(var(--sidebar-accent)); color: hsl(var(--sidebar-primary)); font-weight: 500; }
.side-link i { font-size: 1rem; }
.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-top { height: 4rem; border-bottom: 1px solid hsl(var(--border)); background: hsl(var(--card)); display: flex; align-items: center; justify-content: space-between; padding: 0 1.5rem; position: sticky; top: 0; z-index: 20; }
.admin-content { padding: 1.5rem; flex: 1; }
.admin-top-title { color: hsl(var(--foreground)); font-size: .9rem; font-weight: 600; letter-spacing: -.01em; }
.admin-top-user { max-width: 16rem; overflow: hidden; color: hsl(var(--muted-foreground)); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-notifications { position: relative; }
.admin-notifications > summary { list-style: none; }
.admin-notifications > summary::-webkit-details-marker { display: none; }
.admin-bell { position: relative; display: inline-flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border: 1px solid hsl(var(--border)); border-radius: 50%; color: hsl(var(--foreground)); cursor: pointer; transition: background .15s, border-color .15s; }
.admin-bell:hover, .admin-notifications[open] .admin-bell { border-color: hsl(var(--primary) / .4); background: hsl(var(--primary) / .08); }
.admin-bell > i { font-size: 1.05rem; }
.admin-bell-count { position: absolute; top: -.25rem; right: -.35rem; min-width: 1.15rem; height: 1.15rem; padding: 0 .25rem; border: 2px solid hsl(var(--card)); border-radius: 999px; background: #c94c35; color: #fff; font-size: .625rem; font-weight: 700; line-height: .9rem; text-align: center; }
.admin-notification-panel { position: absolute; top: calc(100% + .75rem); right: 0; z-index: 30; width: min(22rem, calc(100vw - 2rem)); padding: 1rem; border: 1px solid hsl(var(--border)); border-radius: .9rem; background: hsl(var(--card)); box-shadow: 0 18px 48px rgb(22 35 27 / .16); color: hsl(var(--foreground)); }
.admin-notification-list { display: flex; flex-direction: column; gap: .25rem; margin-top: .75rem; }
.admin-notification-item { display: flex; align-items: center; gap: .7rem; min-height: 2.8rem; padding: .45rem .35rem; border-radius: .55rem; color: hsl(var(--foreground)); font-size: .825rem; }
.admin-notification-item:hover { background: hsl(var(--muted) / .7); color: hsl(var(--foreground)); }
.admin-notification-item > strong { color: hsl(var(--primary)); font-size: .8rem; }
.admin-notification-icon { display: inline-flex; width: 2rem; height: 2rem; align-items: center; justify-content: center; border-radius: .6rem; background: hsl(var(--primary) / .1); color: hsl(var(--primary)); }
.admin-notification-empty { display: flex; align-items: center; gap: .65rem; margin: .75rem 0 0; padding: .75rem; border-radius: .6rem; background: hsl(var(--muted) / .65); color: hsl(var(--muted-foreground)); font-size: .825rem; }
.admin-notification-empty i { color: #16845a; font-size: 1.1rem; }
.side-link-label { flex: 1; }
.side-count { min-width: 1.35rem; padding: .1rem .35rem; border: 1px solid rgb(255 255 255 / .12); border-radius: 999px; background: rgb(255 255 255 / .1); color: inherit; font-size: .675rem; font-weight: 700; line-height: 1.2; text-align: center; }
.side-link.active .side-count { border-color: hsl(var(--sidebar-primary) / .25); background: hsl(var(--sidebar-primary) / .14); }
.admin-stat-card { position: relative; height: 100%; padding: 1.25rem 1.35rem; overflow: hidden; border-color: hsl(var(--border) / .85); border-radius: .9rem; background: linear-gradient(145deg, hsl(var(--card)), hsl(var(--card)) 70%, hsl(var(--primary) / .035)); box-shadow: 0 5px 16px rgb(26 39 30 / .045); }
.admin-stat-card::after { position: absolute; right: -2.4rem; bottom: -3rem; width: 7rem; height: 7rem; border-radius: 50%; background: hsl(var(--primary) / .035); content: ''; pointer-events: none; }
.admin-stat-card:hover { transform: translateY(-4px); border-color: hsl(var(--primary) / .25); box-shadow: 0 16px 32px -18px rgb(24 42 29 / .3); }
.admin-stat-icon { display: inline-flex; width: 2.5rem; height: 2.5rem; flex: none; align-items: center; justify-content: center; border: 1px solid hsl(var(--primary) / .13); border-radius: .75rem; background: hsl(var(--primary) / .09); color: hsl(var(--primary)); font-size: 1rem; }
.workspace-hero { position: relative; display: flex; min-height: 11rem; align-items: center; justify-content: space-between; gap: 2rem; overflow: hidden; padding: clamp(1.5rem,4vw,2.5rem); border: 1px solid rgb(255 255 255 / .1); border-radius: 1.35rem; background: radial-gradient(ellipse at 82% 15%, rgb(216 176 91 / .2), transparent 34%), linear-gradient(120deg, #123c2d 0%, #174c36 55%, #20593d 100%); box-shadow: 0 16px 38px -25px rgb(18 60 45 / .55); color: #fff; isolation: isolate; }
.workspace-hero-copy { position: relative; z-index: 1; max-width: 46rem; }
.workspace-hero-eyebrow { margin: 0; color: #e6c981; font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.workspace-hero .display-title { color: #fff; }
.workspace-hero-description { max-width: 42rem; color: rgb(255 255 255 / .76); font-size: .9rem; line-height: 1.65; }
.workspace-hero-actions { position: relative; z-index: 1; flex: none; }
.workspace-hero-actions .btn-af-outline { border-color: rgb(255 255 255 / .32); color: #fff; }
.workspace-hero-actions .btn-af-outline:hover { border-color: rgb(255 255 255 / .6); background: rgb(255 255 255 / .1); color: #fff; }
.workspace-hero-orb { position: absolute; z-index: 0; top: -7rem; right: 7%; width: 19rem; aspect-ratio: 1; border: 1px solid rgb(230 201 129 / .16); border-radius: 50%; background: radial-gradient(circle at center, rgb(230 201 129 / .12), transparent 68%); pointer-events: none; }
.workspace-hero-orb::after { position: absolute; inset: 2.4rem; border: 1px solid rgb(255 255 255 / .08); border-radius: 50%; content: ''; }
.staff-page-hero { min-height: 12rem; }
@media (max-width: 991.98px) {
  .admin-side { position: fixed; z-index: 1045; left: 0; transform: translateX(-100%); transition: transform .2s; } .admin-side.open { transform: none; }
  .admin-backdrop { position: fixed; inset: 0; background: rgb(0 0 0 / .5); z-index: 1040; display: none; } .admin-backdrop.show { display: block; }
}
@media (max-width: 575.98px) {
  .admin-top { height: 3.75rem; padding-inline: .75rem; }
  .admin-content { padding: 1.25rem .9rem 2rem; }
  .admin-top-user { max-width: 9rem; }
  .workspace-hero { min-height: 10rem; align-items: flex-start; flex-direction: column; gap: 1.25rem; border-radius: 1.1rem; }
  .workspace-hero-actions { display: flex; flex-wrap: wrap; }
  .workspace-hero-orb { top: -5rem; right: -7rem; }
  .staff-page-hero { min-height: 11rem; }
}
.stat-card { padding: 1.25rem; }
.stat-card .label { font-size: .75rem; color: hsl(var(--muted-foreground)); text-transform: uppercase; letter-spacing: .08em; }
.stat-card .value { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.1; margin-top: .5rem; }
.table-af { width: 100%; font-size: .875rem; border-collapse: collapse; }
.table-af th { text-align: left; padding: .75rem 1rem; font-weight: 500; font-size: .75rem; color: hsl(var(--muted-foreground)); border-bottom: 1px solid hsl(var(--border)); white-space: nowrap; }
.table-af td { padding: .75rem 1rem; border-bottom: 1px solid hsl(var(--border)); vertical-align: middle; }
.table-af tr:last-child td { border-bottom: 0; } .table-af tbody tr:hover { background: hsl(var(--muted) / .5); }
.table-wrap { overflow-x: auto; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.page-head h1 { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; letter-spacing: -.02em; margin: 0; }
.modal-content { background: hsl(var(--background)); border: 1px solid hsl(var(--border)); border-radius: .5rem; }
.modal-header, .modal-footer { border-color: hsl(var(--border)); }
.modal-title { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
.cal-grid { display: grid; grid-template-columns: 11rem repeat(7, minmax(7rem, 1fr)); min-width: 62rem; }
.cal-cell { border-bottom: 1px solid hsl(var(--border)); border-right: 1px solid hsl(var(--border)); padding: .5rem; min-height: 3.5rem; font-size: .75rem; }
.cal-head { background: hsl(var(--muted)); font-weight: 500; }
.cal-today { background: hsl(var(--primary) / .06); }
.progress-af { height: .5rem; background: hsl(var(--secondary)); border-radius: 999px; overflow: hidden; } .progress-af > div { height: 100%; background: hsl(var(--primary)); }
.empty-state { text-align: center; padding: 3rem 1rem; color: hsl(var(--muted-foreground)); font-size: .875rem; }
.photo-thumb { width: 3rem; height: 3rem; border-radius: var(--radius); object-fit: cover; border: 1px solid hsl(var(--border)); cursor: zoom-in; }
.camera-box { position: relative; background: #000; border-radius: .5rem; overflow: hidden; aspect-ratio: 4/3; }
.camera-box video, .camera-box img { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.camera-face-guide {
  position: absolute;
  inset: 3% 12%;
  width: 76%;
  height: 94%;
  overflow: visible;
  fill: none;
  pointer-events: none;
  stroke: rgb(255 255 255 / .82);
  stroke-dasharray: 4 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  filter: drop-shadow(0 1px 3px rgb(0 0 0 / .8));
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

.admin-auth-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1fr) minmax(28rem, .9fr);
  background: #fbfcfa;
}
.admin-auth-art {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 5rem);
  background: #0c2116;
  color: #fff;
}
.admin-auth-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(5 20 12 / .94), rgb(5 20 12 / .3) 68%, rgb(5 20 12 / .2));
  content: "";
}
.admin-auth-art > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .8;
}
.admin-auth-art-copy {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}
.admin-auth-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: clamp(4rem, 14vh, 10rem);
  padding: .5rem .75rem;
  border-radius: .75rem;
  background: #fff;
}
.admin-auth-brand img { display: block; width: 11rem; max-width: 50vw; height: auto; }
.admin-auth-art-copy h1 {
  max-width: 35rem;
  margin: 1rem 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.04;
  text-wrap: balance;
}
.admin-auth-art-copy > p:last-child { max-width: 29rem; color: rgb(255 255 255 / .78); font-size: 1rem; }
.admin-auth-panel { display: grid; align-items: center; padding: clamp(1.5rem, 5vw, 5rem); }
.admin-auth-card { width: 100%; max-width: 29rem; margin-inline: auto; }
.admin-auth-back { display: inline-flex; align-items: center; gap: .5rem; color: hsl(var(--muted-foreground)); font-size: .875rem; }
.admin-auth-back:hover { color: hsl(var(--primary)); }
.admin-auth-heading { margin-block: 3.5rem 2rem; }
.admin-auth-heading h2 { margin: 0; font-size: clamp(1.75rem, 4vw, 2.4rem); }
.admin-auth-heading > p:last-child { margin: .75rem 0 0; line-height: 1.65; }
.admin-auth-icon {
  display: inline-grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border: 1px solid rgb(179 139 69 / .32);
  border-radius: 1rem;
  background: rgb(179 139 69 / .12);
  color: #806127;
  font-size: 1.4rem;
}
.admin-auth-input { height: 3rem; border-radius: .65rem; }
.admin-auth-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem;
  margin-top: 2rem;
  color: hsl(var(--muted-foreground));
  font-size: .75rem;
  text-align: center;
}
.admin-auth-footer a { flex-basis: 100%; margin-top: .5rem; color: hsl(var(--primary)); }
.admin-auth-command {
  display: block;
  overflow-wrap: anywhere;
  padding: 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: .75rem;
  background: #f0f3ef;
  color: #193b27;
  font-size: .85rem;
}
@media (max-width: 767.98px) {
  .admin-auth-shell { grid-template-columns: 1fr; }
  .admin-auth-art { min-height: 17rem; padding: 1.75rem; }
  .admin-auth-brand { margin-bottom: 2rem; }
  .admin-auth-brand img { width: 9rem; }
  .admin-auth-art-copy h1 { margin-block: .5rem; font-size: 2.25rem; }
  .admin-auth-art-copy > p:last-child { margin-bottom: 0; font-size: .875rem; }
  .admin-auth-panel { padding: 2rem 1.25rem 3rem; }
  .admin-auth-heading { margin-block: 2rem 1.5rem; }
}
.camera-box img.captured { transform: none; }
@media print { .site-header, .site-footer, .admin-side, .admin-top, .no-print { display: none !important; } }

/* ---------- tabs (shadcn TabsList look) ---------- */
.tabs-af { display: inline-flex; background: hsl(var(--muted)); border-radius: .5rem; padding: .25rem; gap: .125rem; flex-wrap: wrap; border: 0; }
.tabs-af .nav-link { border: 0; border-radius: .375rem; padding: .35rem .85rem; font-size: .875rem; font-weight: 500; color: hsl(var(--muted-foreground)); background: transparent; }
.tabs-af .nav-link.active { background: hsl(var(--background)); color: hsl(var(--foreground)); box-shadow: 0 1px 2px rgb(0 0 0 / .1); }
.staff-sidebar { position: sticky; top: 1.25rem; border: 1px solid hsl(var(--border)); border-radius: .8rem; background: hsl(var(--card)); }
.staff-sidebar .nav-link { display: flex; align-items: center; gap: .75rem; min-height: 2.8rem; padding: .65rem .8rem; border-radius: .55rem; color: hsl(var(--muted-foreground)); font-size: .875rem; text-align: left; }
.staff-sidebar .nav-link i { width: 1.1rem; color: hsl(var(--primary)); font-size: 1rem; }
.staff-sidebar .nav-link:hover { background: hsl(var(--muted) / .7); color: hsl(var(--foreground)); }
.staff-sidebar .nav-link.active { background: hsl(var(--primary) / .1); color: hsl(var(--primary)); font-weight: 600; }
.clock-card { overflow: hidden; border-radius: .5rem; background: hsl(var(--foreground)); color: #fff; }
.clock-card .sep { border-top: 1px solid rgb(255 255 255 / .1); }
.attendance-dashboard { overflow: hidden; border: 1px solid hsl(var(--border)); border-radius: 1rem; background: hsl(var(--card)); box-shadow: 0 12px 35px rgb(22 35 27 / .06); }
.attendance-main { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(17rem, .8fr); }
.attendance-summary { position: relative; overflow: hidden; padding: clamp(1.5rem, 4vw, 2.5rem); background: linear-gradient(135deg, hsl(var(--sidebar-background)), hsl(156 34% 16%)); color: #fff; }
.attendance-summary::after { position: absolute; right: -5rem; bottom: -9rem; width: 20rem; aspect-ratio: 1; border: 1px solid rgb(255 255 255 / .08); border-radius: 50%; box-shadow: 0 0 0 2rem rgb(255 255 255 / .025), 0 0 0 4rem rgb(255 255 255 / .02); content: ''; pointer-events: none; }
.attendance-kicker { color: #b6e4c4; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.attendance-kicker i { margin-right: .4rem; }
.attendance-status { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid rgb(255 255 255 / .17); border-radius: 999px; padding: .38rem .7rem; color: rgb(255 255 255 / .88); font-size: .72rem; }
.attendance-status > span { width: .45rem; height: .45rem; border-radius: 50%; background: #fbbf24; }
.attendance-status.is-working > span { background: #4ade80; box-shadow: 0 0 0 .2rem rgb(74 222 128 / .15); }
.attendance-status.is-done > span { background: #a7f3d0; }
.attendance-time { position: relative; z-index: 1; margin: 2rem 0 0; font-family: var(--font-display); font-size: clamp(3rem, 7vw, 4.5rem); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.attendance-date { position: relative; z-index: 1; margin: .7rem 0 0; color: rgb(255 255 255 / .68); font-size: .9rem; }
.attendance-intro { position: relative; z-index: 1; max-width: 29rem; margin: 1.5rem 0 0; color: rgb(255 255 255 / .8); font-size: .9rem; line-height: 1.65; }
.attendance-shift { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.1rem; border: 1px solid rgb(255 255 255 / .2); border-radius: 999px; padding: .45rem .8rem; color: #fff; font-size: .78rem; }
.attendance-shift i { color: #9de0ae; }
.attendance-action { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(1.5rem, 4vw, 2.25rem); }
.attendance-action-icon { display: grid; width: 2.8rem; height: 2.8rem; place-items: center; border-radius: .85rem; background: hsl(var(--primary) / .1); color: hsl(var(--primary)); font-size: 1.25rem; }
.attendance-action h3 { margin: 1rem 0 0; font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.attendance-action > p { margin: .45rem 0 1.25rem; color: hsl(var(--muted-foreground)); font-size: .84rem; line-height: 1.55; }
.attendance-action [data-clock] { min-height: 3rem; }
.attendance-action .attendance-button-out { border-color: hsl(var(--border)); background: hsl(var(--foreground)); color: #fff; }
.attendance-action .attendance-button-out:hover { background: hsl(var(--foreground) / .9); color: #fff; }
.attendance-assurances { display: flex; flex-wrap: wrap; gap: .65rem 1rem; margin-top: 1rem; color: hsl(var(--muted-foreground)); font-size: .72rem; }
.attendance-assurances span { display: inline-flex; align-items: center; gap: .35rem; }
.attendance-assurances i { color: hsl(var(--primary)); }
.attendance-feedback { margin: 0; border-top: 1px solid hsl(var(--border)); padding: .85rem 1.5rem; background: hsl(var(--destructive) / .08); color: hsl(var(--destructive)); font-size: .85rem; }
.attendance-success { display: flex; gap: .6rem; background: hsl(var(--primary) / .07); color: hsl(var(--foreground)); }
.attendance-today { border-top: 1px solid hsl(var(--border)); padding: 1.15rem clamp(1.5rem, 4vw, 2.5rem) 1.35rem; }
.attendance-today-heading { display: flex; align-items: center; gap: .55rem; color: hsl(var(--foreground)); font-size: .82rem; font-weight: 600; }
.attendance-today-heading i { color: hsl(var(--primary)); }
.attendance-record { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: .9rem; }
.attendance-record > div { display: flex; flex-direction: column; gap: .18rem; }
.attendance-record-label { color: hsl(var(--muted-foreground)); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.attendance-record strong { font-size: .88rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.attendance-record-note { border-radius: 999px; padding: .32rem .6rem; background: hsl(38 92% 50% / .12); color: hsl(32 80% 35%); font-size: .72rem; }
.attendance-no-record { margin-top: .65rem !important; color: hsl(var(--muted-foreground)); font-size: .82rem; }
.attendance-stat { position: relative; min-height: 8.5rem; border: 1px solid hsl(var(--border)); border-radius: .85rem; background: hsl(var(--card)); padding: 1.15rem 1.25rem; }
.attendance-stat .attendance-stat-icon { position: absolute; top: 1rem; right: 1rem; display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: .65rem; background: hsl(var(--primary) / .09); color: hsl(var(--primary)); }
.attendance-stat .dt-label { padding-right: 2.25rem; font-size: .68rem; letter-spacing: .1em; }
.attendance-stat .v { margin-top: .55rem !important; font-family: var(--font-display); font-size: 1.8rem; line-height: 1; }
.attendance-stat-caption { display: block; margin-top: .45rem; color: hsl(var(--muted-foreground)); font-size: .7rem; }
.attendance-history-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; color: hsl(var(--primary)); font-size: .82rem; font-weight: 600; }
.attendance-history-link:hover { color: hsl(var(--primary) / .78); }
@media (max-width: 767.98px) { .attendance-main { grid-template-columns: 1fr; } .attendance-time { margin-top: 1.5rem; } .attendance-summary::after { right: -9rem; } }
.dt-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: hsl(var(--muted-foreground)); margin: 0; }
.stat-mini { border: 1px solid hsl(var(--border)); background: hsl(var(--card)); border-radius: .5rem; padding: 1rem 1.25rem; }
.stat-mini .v { font-family: var(--font-display); font-size: 1.875rem; margin-top: .5rem; line-height: 1.1; }
.sched-day { border: 1px solid hsl(var(--border)); background: hsl(var(--background)); border-radius: .5rem; padding: 1rem; }
.sched-day.today { border-color: hsl(var(--primary)); background: hsl(var(--primary) / .05); }
.tabular { font-variant-numeric: tabular-nums; }
@media (max-width: 991.98px) { .staff-sidebar { position: static; flex-direction: row !important; overflow-x: auto; } .staff-sidebar .nav-link { flex: 0 0 auto; } }

/* ---------- Studio photos and card interactions ---------- */
@keyframes flyInLeft {
  from { opacity: 0; transform: translateX(-40px) translateY(20px); }
  to { opacity: 1; transform: translate(0); }
}

@keyframes flyInRight {
  from { opacity: 0; transform: translateX(40px) translateY(20px); }
  to { opacity: 1; transform: translate(0); }
}

/* Studio photo retouching filters & crisp imagery */
.studio-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: #000;
  box-shadow: 0 14px 35px -12px rgba(0, 0, 0, 0.35);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.studio-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.12) brightness(1.02);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}
.studio-img-wrap:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 50px -15px rgba(22, 168, 62, 0.3);
}
.studio-img-wrap:hover img {
  transform: scale(1.06);
  filter: contrast(1.14) saturate(1.18) brightness(1.05);
}
.venue-card { min-height: 22rem; }
.venue-card .venue-card-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.venue-card .venue-card-caption { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; padding: 3.5rem 1.5rem 1.5rem; background: linear-gradient(to top, rgb(0 0 0 / .88), rgb(0 0 0 / .45) 55%, transparent); color: #fff; }
@media (min-width: 992px) { .venue-card .venue-card-image { height: 72%; bottom: auto; } }

/* Glassmorphism floating badges & floating cards */
.floating-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(15, 23, 18, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.floating-badge-bottom {
  top: auto;
  bottom: 1.25rem;
  left: 1.25rem;
}

.floating-badge-right {
  left: auto;
  right: 1.25rem;
}

.floating-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.floating-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.3);
}

.fly-in-left { animation: flyInLeft 0.8s ease-out both; }
.fly-in-right { animation: flyInRight 0.8s ease-out both; }
.pulse-glow { transition: box-shadow .2s ease, transform .2s ease; }

/* Glassmorphism, Floating Cards & Framer-Motion style physics */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(22, 168, 62, 0.15);
  border-radius: 1rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(22, 168, 62, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(22, 168, 62, 0.2);
}

.glass-panel {
  background: rgba(15, 23, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.25rem;
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.react-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: rgba(22, 168, 62, 0.12);
  color: hsl(var(--primary));
  border: 1px solid rgba(22, 168, 62, 0.25);
}

.react-btn-add {
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.react-btn-add:active {
  transform: scale(0.95);
}

/* Afrolux refresh: calmer motion, richer green and warm gold details. */
:root {
  --primary: 139 62% 31%;
  --primary-foreground: 0 0% 100%;
  --ring: 139 62% 31%;
  --brand-gold: #b38b45;
  --bs-primary: hsl(var(--primary));
}

body {
  background:
    radial-gradient(ellipse at 90% 0, rgb(179 139 69 / .055), transparent 34rem),
    hsl(var(--background));
}

.af-container { max-width: 76rem; }
.site-header {
  background: rgb(250 252 249 / .94);
  box-shadow: 0 6px 24px rgb(18 43 29 / .05);
}
.site-header .bar { min-height: 4.5rem; }
.site-logo { height: 2.5rem; max-width: 10rem; }
.nav-link-af {
  position: relative;
  padding-block: .6rem;
  font-weight: 500;
}
.nav-link-af.active { color: hsl(var(--primary)); }
.nav-link-af.active::after {
  position: absolute;
  right: 0;
  bottom: .1rem;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-gold);
  content: "";
}
.site-footer {
  margin-top: 4rem;
  background: #0c2116 !important;
}

.hero { min-height: clamp(36rem, 76svh, 52rem); }
.hero > img { animation: none; opacity: .7; }
.hero::after {
  background: linear-gradient(90deg, rgb(6 23 14 / .9), rgb(6 23 14 / .55) 54%, rgb(6 23 14 / .08)),
    linear-gradient(0deg, rgb(6 23 14 / .45), transparent 55%);
}
.hero h1 { max-width: 56rem; text-wrap: balance; }
.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(20rem, 43vw, 29rem);
  align-items: end;
  overflow: hidden;
  background: linear-gradient(120deg, #123c2d, #20593d);
  color: #fff;
}
.page-hero::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgb(6 23 14 / .9), rgb(6 23 14 / .65) 58%, rgb(6 23 14 / .2)),
    linear-gradient(0deg, rgb(6 23 14 / .5), transparent 70%);
  content: "";
}
.page-hero-image { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-content { position: relative; z-index: 1; padding-block: 3rem 3.25rem; }
.page-hero-breadcrumb { display: flex; align-items: center; gap: .55rem; margin-bottom: 1.5rem; color: rgb(255 255 255 / .72); font-size: .75rem; }
.page-hero-breadcrumb a { color: #e6c981; }
.page-hero-breadcrumb i { font-size: .6rem; }
.page-hero-eyebrow { margin: 0 0 .65rem; color: #e6c981; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.page-hero h1 { max-width: 54rem; margin: 0; color: #fff; font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
.page-hero-description { max-width: 44rem; margin: 1rem 0 0; color: rgb(255 255 255 / .82); font-size: clamp(.9rem, 1.5vw, 1.05rem); line-height: 1.65; }
.page-hero-orb { position: absolute; z-index: 0; top: -9rem; right: 7%; width: 25rem; aspect-ratio: 1; border: 1px solid rgb(230 201 129 / .2); border-radius: 50%; background: radial-gradient(circle, rgb(230 201 129 / .14), transparent 68%); pointer-events: none; }
.page-hero-orb::after { position: absolute; inset: 2.5rem; border: 1px solid rgb(255 255 255 / .1); border-radius: 50%; content: ""; }

.card-af-flat,
.glass-card,
.studio-img-wrap {
  border-radius: 1rem;
  box-shadow: 0 12px 32px -22px rgb(12 33 22 / .32);
}
.card-af-flat,
.glass-card {
  border-color: hsl(var(--border));
  background: hsl(var(--card));
}
.card-af-flat.hoverable:hover,
.glass-card:hover {
  border-color: rgb(179 139 69 / .48);
  box-shadow: 0 18px 38px -24px rgb(12 33 22 / .4);
  transform: translateY(-3px);
}
.studio-img-wrap { box-shadow: 0 16px 38px -20px rgb(12 33 22 / .42); }
.studio-img-wrap img { filter: none; }
.studio-img-wrap:hover img { filter: none; }
.floating-badge {
  background: rgb(12 33 22 / .82);
  border-color: rgb(255 255 255 / .3);
  animation: none;
}
.floating-card,
.icon-circle,
.pulse-glow { animation: none; }
.floating-card { transition: transform .25s ease, box-shadow .25s ease; }
.floating-card:hover { transform: translateY(-3px); }
.icon-circle { background: rgb(179 139 69 / .14); color: #806127; }

@keyframes afFloatingDrift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -4px; }
}
.floating-card { animation: afFloatingDrift 5s ease-in-out infinite; }
.floating-card:hover { animation-play-state: paused; }

.menu-category-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  background: linear-gradient(120deg, hsl(var(--card)), hsl(var(--secondary) / .55));
}
.menu-category-heading h2 {
  margin: .35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}
.menu-category-heading > p { max-width: 34rem; margin: 0; color: hsl(var(--muted-foreground)); line-height: 1.6; }
.admin-menu-category-heading { margin-top: 1rem; }
.menu-category-select { display: none; }
.menu-thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.menu-thumb-item[hidden] { display: none !important; }
.menu-thumb-card {
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  background: hsl(var(--card));
  box-shadow: 0 10px 24px -20px rgb(12 33 22 / .48);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.menu-thumb-card:hover { border-color: rgb(179 139 69 / .6); box-shadow: 0 18px 34px -22px rgb(12 33 22 / .46); }
.menu-thumb-image { aspect-ratio: 4 / 3; overflow: hidden; background: hsl(var(--secondary)); }
.menu-thumb-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.menu-thumb-card:hover .menu-thumb-image img { transform: scale(1.045); }
.menu-thumb-copy { display: flex; min-height: 9.5rem; flex-direction: column; padding: .8rem; }
.menu-thumb-copy h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.menu-thumb-copy > p {
  display: -webkit-box;
  overflow: hidden;
  margin: .4rem 0 .7rem;
  color: hsl(var(--muted-foreground));
  font-size: .75rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.menu-thumb-copy > p.menu-thumb-category { color: hsl(var(--muted-foreground)); }
.menu-thumb-footer { display: flex; align-items: center; justify-content: space-between; gap: .4rem; margin-top: auto; }
.menu-thumb-footer > span { color: hsl(var(--primary)); font-size: .82rem; font-weight: 700; }
.menu-thumb-footer .btn-af { min-height: 2rem; height: 2rem; padding: .35rem .65rem; font-size: .72rem; }
.menu-thumb-footer .btn-af:disabled { cursor: not-allowed; opacity: .65; }

.btn-af,
.btn-af-outline,
.btn-af-ghost,
.btn-af-secondary,
.btn-af-destructive { min-height: 2.5rem; }
.btn-pill-cta { letter-spacing: .1em; }
.input-af,
.select-af,
.textarea-af { background: hsl(var(--card)); }
.input-af:focus,
.select-af:focus,
.textarea-af:focus { box-shadow: 0 0 0 3px hsl(var(--primary) / .12); }
.chip-row { overscroll-behavior-inline: contain; }
.chip { scroll-snap-align: start; }

@media (max-width: 575.98px) {
  .af-container { padding-inline: 1rem; }
  .hero { min-height: 38rem; }
  .hero .inner { padding-top: 5rem; padding-bottom: 2.5rem; }
  .hero h1 { font-size: clamp(2.35rem, 11vw, 3.25rem); }
  .page-hero { min-height: 19rem; }
  .page-hero-content { padding-block: 2rem 2.25rem; }
  .page-hero-breadcrumb { margin-bottom: 1rem; }
  .page-hero h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .page-hero-description { margin-top: .75rem; font-size: .875rem; }
  .floating-badge { left: .75rem; top: .75rem; font-size: .75rem; }
  .dish-row { gap: .75rem; }
  .menu-thumb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .menu-category-filter > .chip-row { display: none; }
  .menu-category-filter > .menu-category-select { display: block; width: 100%; min-height: 2.75rem; }
  .menu-category-filter { padding: .5rem !important; }
  .menu-thumb-copy { min-height: 9rem; padding: .65rem; }
  .menu-thumb-copy h3 { font-size: .82rem; }
  .menu-thumb-copy > p { font-size: .69rem; }
  .menu-thumb-footer > span { font-size: .75rem; }
  .menu-thumb-footer .btn-af { padding-inline: .5rem; }
  .menu-category-heading { align-items: start; flex-direction: column; gap: .55rem; padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
