/* ---- Font family variables (Tailwind's font-serif/font-sans/font-script
   utilities reference these; fonts themselves are loaded via Google Fonts
   in functions.php) ---- */
:root {
  --font-cormorant: 'Cormorant Garamond';
  --font-inter: 'Inter';
  --font-script: 'Caveat';
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #FBF8F1;
  color: #1F2C1B;
}

::selection {
  background-color: #A7862E;
  color: #FBF8F1;
}

/* Filled social / feature icon buttons */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
}

/* Hide scrollbar for horizontal gallery / menu strips */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ---- Scroll-reveal (replaces Framer Motion's whileInView fade+slide) ---- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ---- Hero load-in stagger (runs immediately, not scroll-triggered) ---- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-item {
  opacity: 0;
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ---- How It Works "chain" line: draws in once visible ---- */
.chain-line {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.chain-line.in-view {
  transform: scaleX(1);
}

@keyframes travelDot {
  0% { left: 0%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.chain-dot {
  animation: travelDot 3.6s ease-in-out infinite;
}

/* ---- Card hover image zoom (Tailwind's group-hover:scale-110 needs the
   parent to carry .group; already applied inline where used) ---- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .hero-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---- Blog pagination (wp paginate_links) — plain WP markup, styled to
   match the theme's pill/button look without needing Tailwind classes in
   PHP core's own output ---- */
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(31, 44, 27, 0.15);
  color: #1f2c1b;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
a.page-numbers:hover {
  background-color: #1f2c1b;
  color: #f7f2e7;
  border-color: #1f2c1b;
}
.page-numbers.current {
  background-color: #a7862e;
  border-color: #a7862e;
  color: #f7f2e7;
}
.page-numbers.dots {
  border: none;
}

/* ---- Blog post content (single.php) — no Tailwind Typography plugin
   installed, so the_content() gets its own light styling here ---- */
.prose-naseem > * + * {
  margin-top: 1.25em;
}
.prose-naseem h2 {
  font-family: var(--font-cormorant, serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: #1f2c1b;
  margin-top: 2em;
}
.prose-naseem h3 {
  font-family: var(--font-cormorant, serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: #1f2c1b;
  margin-top: 1.75em;
}
.prose-naseem a {
  color: #a7862e;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose-naseem img {
  border-radius: 1.25rem;
  width: 100%;
  height: auto;
}
.prose-naseem ul,
.prose-naseem ol {
  padding-left: 1.5em;
}
.prose-naseem ul {
  list-style: disc;
}
.prose-naseem ol {
  list-style: decimal;
}
.prose-naseem blockquote {
  border-left: 3px solid #a7862e;
  padding-left: 1.25em;
  font-style: italic;
  color: #736c5c;
}

/* Language dropdown (EN / AR) is now fully custom-built with Tailwind
   utility classes directly in header.php — see #lang-dropdown and
   .lang-option / .lang-option-mobile — driven by initLanguageSwitcher()
   in main.js. The plugin's own widget markup is kept off-screen
   (.sr-only) purely to load its translation script. */

/* ---- Blog (page-blog.php list + single.php details) ----
   A few utilities the pre-compiled Tailwind build doesn't include,
   plus the card hover zoom. */
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.border-l-2 { border-left-width: 2px; }
.h-\[60vh\] { height: 60vh; }
.min-h-\[420px\] { min-height: 420px; }
.mr-1 { margin-right: 0.25rem; }
.pl-5 { padding-left: 1.25rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.text-right { text-align: right; }
.group:hover .group-hover\:text-gold-600 { color: rgb(140 111 37); }
@media (min-width: 1024px) {
  .lg\:aspect-auto { aspect-ratio: auto; }
  .lg\:p-14 { padding: 3.5rem; }
}
.blog-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.blog-card:hover { transform: translateY(-4px); }
.blog-card-img { transition: transform 0.6s ease; }
.blog-card:hover .blog-card-img { transform: scale(1.06); }

/* Gallery grid for original-site photos (page-gallery.php) */
.nb-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .nb-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .nb-photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.nb-photo-grid .nb-photo { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 1.25rem; }
.nb-photo-grid .nb-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.nb-photo-grid .nb-photo:hover img { transform: scale(1.06); }

/* =====================================================================
   Inner-page hero (template-parts/page-banner.php) — split editorial
   layout: copy on the left, arch + round photo frames on the right,
   blurred brand-tinted photo behind. Photos sit in frames at close to
   their native size, so they stay sharp (no full-width stretching).
   ===================================================================== */
.nb-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: #1f2c1b; color: #fdfbf6;
  padding: 150px 0 110px;
}
@media (min-width: 1024px) { .nb-hero { min-height: 92vh; display: flex; align-items: center; padding: 150px 0 120px; } }
.nb-hero-bg { position: absolute; inset: -40px; z-index: -3; }
.nb-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(34px) saturate(1.25); transform: scale(1.1); opacity: .55; }
.nb-hero-tint {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 60% 70% at 78% 45%, rgba(167,134,46,.28), transparent 70%),
    linear-gradient(100deg, rgba(31,44,27,.97) 0%, rgba(31,44,27,.9) 42%, rgba(31,44,27,.55) 100%);
}
.nb-hero-watermark {
  position: absolute; z-index: -1; left: -2%; bottom: 4%;
  font-size: clamp(90px, 16vw, 250px); line-height: 1; font-weight: 700;
  color: rgba(241,227,190,.05); white-space: nowrap; pointer-events: none; direction: rtl;
}
.nb-hero-inner {
  position: relative; width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center;
}
@media (min-width: 1024px) { .nb-hero-inner { grid-template-columns: 1.05fr .95fr; gap: 72px; padding: 0 40px; } }

.nb-hero-crumbs { display: flex; gap: 10px; align-items: center; font-size: 12px; letter-spacing: .08em; color: rgba(253,251,246,.6); margin-bottom: 28px; }
.nb-hero-crumbs a { color: rgba(253,251,246,.8); transition: color .2s; }
.nb-hero-crumbs a:hover { color: #f1e3be; }
.nb-hero-eyebrow { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: #f1e3be; }
.nb-hero-eyebrow span { display: inline-block; width: 42px; height: 1px; background: #a7862e; }
.nb-hero-title {
  margin-top: 18px; max-width: 14ch;
  font-family: var(--font-cormorant, 'Cormorant Garamond'), serif; font-weight: 600;
  font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 1.02; letter-spacing: -.01em; color: #fdfbf6;
}
.nb-hero-sub { margin-top: 22px; max-width: 34rem; font-size: 16px; line-height: 1.7; color: rgba(253,251,246,.78); }
.nb-hero-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.nb-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 14px 28px; font-size: 14px; font-weight: 600; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.nb-btn:hover { transform: translateY(-2px); }
.nb-btn-gold { background: #a7862e; color: #fdfbf6; box-shadow: 0 10px 30px -10px rgba(167,134,46,.7); }
.nb-btn-gold:hover { background: #8c6f25; }
.nb-btn-ghost { border: 1px solid rgba(253,251,246,.35); color: #fdfbf6; }
.nb-btn-ghost:hover { border-color: #f1e3be; color: #f1e3be; }
.nb-hero-info { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(253,251,246,.12); display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 13px; color: rgba(253,251,246,.7); }
.nb-hero-info li { display: flex; align-items: center; gap: 8px; }
.nb-hero-info i, .nb-hero-info svg { color: #a7862e; }

.nb-hero-visual { position: relative; margin: 0 auto; width: min(100%, 440px); padding: 0 0 36px 40px; }
@media (min-width: 1024px) { .nb-hero-visual { width: 100%; max-width: 470px; margin-left: auto; margin-right: 0; } }
.nb-arch {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: 999px 999px 28px 28px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.65), 0 0 0 8px rgba(253,251,246,.06);
}
.nb-arch img { width: 100%; height: 100%; object-fit: cover; animation: nbHeroZoom 14s ease-out both; }
@keyframes nbHeroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.nb-arch-outline {
  position: absolute; top: -18px; right: -18px; left: 58px; bottom: 18px;
  border: 1.5px solid rgba(167,134,46,.7); border-radius: 999px 999px 32px 32px; pointer-events: none;
}
.nb-round {
  position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 6px solid #1f2c1b; box-shadow: 0 24px 50px -18px rgba(0,0,0,.7);
}
.nb-round img { width: 100%; height: 100%; object-fit: cover; }
.nb-hero-badge {
  position: absolute; right: -8px; top: 22%;
  background: #fdfbf6; color: #1f2c1b; border-radius: 18px; padding: 12px 18px; text-align: center;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); transform: rotate(4deg);
}
.nb-hero-badge-script { display: block; font-family: var(--font-script, 'Caveat'), cursive; font-size: 28px; line-height: 1; color: #a7862e; }
.nb-hero-badge-sub { display: block; margin-top: 4px; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #736c5c; }
@media (max-width: 480px) { .nb-hero-badge { right: 0; } .nb-hero-visual { padding-left: 28px; } }

.nb-hero-curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; fill: #fdfbf6; }

/* ---- Reserve a Table section (section-order.php): cream, no photo ---- */
.nb-reserve { background: #f7f2e7; }
.nb-reserve-deco {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 8% 15%, rgba(167,134,46,.10), transparent 35%),
    radial-gradient(circle at 92% 85%, rgba(167,134,46,.10), transparent 35%);
}
.nb-reserve-card::before {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(241,227,190,.18);
  border-radius: 20px; pointer-events: none;
}
.px-8 { padding-left: 2rem; padding-right: 2rem; }
@media (min-width: 640px) { .sm\:p-12 { padding: 3rem; } }

/* ---- Mobile: dish cards (menu page + homepage signature dishes) in a
   compact 2-column grid instead of one tall card per row ---- */
@media (max-width: 639px) {
  .nb-dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; column-gap: 14px !important; row-gap: 36px !important; margin-top: 2rem !important; }
  .nb-dish-grid > * > div:first-child { max-width: 100% !important; padding: 6px 6px 10px !important; }
  .nb-dish-grid p.font-serif { font-size: 15px !important; line-height: 1.25 !important; margin-top: 10px !important; }
  .nb-dish-grid p.text-\[13px\] { font-size: 11.5px !important; max-width: 100% !important; }
  .nb-dish-grid span.text-\[11px\] { font-size: 9px !important; margin-top: 10px !important; letter-spacing: .12em !important; }
  .nb-dish-grid p.text-lg { font-size: 15px !important; margin-top: 4px !important; }
  .nb-dish-grid a.rounded-full { padding: 7px 12px !important; font-size: 12px !important; margin-top: 8px !important; }
  .nb-dish-grid a.rounded-full svg, .nb-dish-grid a.rounded-full i { width: 12px !important; height: 12px !important; }

  .nb-float { width: 46px !important; height: 46px !important; }
  .nb-float svg { width: 20px !important; height: 20px !important; }
}
/* Menu filter chips: keep them on one scrollable row with a soft fade */
[data-filter-btn] { white-space: nowrap; }

/* Floating buttons (location / WhatsApp / offers calendar) all stacked on
   the RIGHT, so nothing covers the page content on the left (hero stats,
   headings, form fields). */
.nb-float { left: auto !important; right: 20px !important; }
.nb-float-l1 { bottom: 20px !important; }          /* WhatsApp */
.nb-float-r1 { bottom: 86px !important; }          /* Offers calendar */
.nb-float-l2 { bottom: 152px !important; }         /* Location */
@media (max-width: 639px) {
  .nb-float { right: 12px !important; }
  .nb-float-l1 { bottom: 14px !important; }
  .nb-float-r1 { bottom: 68px !important; }
  .nb-float-l2 { bottom: 122px !important; }
}
/* "food is a kinder language" script note beside Signature Dishes: only on
   wide screens, where there's room for it beside the cards */
@media (max-width: 1365px) { #menu > p.font-script { display: none !important; } }

/* Section directly under an inner-page banner: drop its own decorative
   top shapes/gradients (e.g. the gold-cream ellipse on the gallery
   carousel) so it meets the banner curve cleanly. */
.nb-after-hero > [aria-hidden="true"].pointer-events-none.absolute:first-child { display: none !important; }
.nb-after-hero .nb-reserve-deco { background: radial-gradient(circle at 92% 85%, rgba(167,134,46,.10), transparent 35%); }
/* How It Works section under the banner: start its gradient from the exact
   banner-curve green so there's no lighter band at the join */
.nb-after-hero#how-it-works { background: linear-gradient(180deg, #1f2c1b 0%, #243a20 45%, #1f2c1b 100%) !important; }

/* ---- Subscriber coupon popup (footer.php #email-popup-overlay) ---- */
.nb-coupon-card { max-height: 92vh; }
.nb-coupon-head {
  background: radial-gradient(circle at 85% 20%, rgba(167,134,46,.35), transparent 55%), #1f2c1b;
  padding: 30px 28px 26px; border-radius: 28px 28px 0 0;
}
@media (min-width: 640px) { .nb-coupon-head { padding: 34px 32px 28px; } }
.nb-coupon-ticket {
  position: relative; display: flex; align-items: center; gap: 12px;
  border: 2px dashed #a7862e; border-radius: 18px; background: #f7f2e7; padding: 14px 14px 14px 18px;
}
.nb-coupon-ticket::before, .nb-coupon-ticket::after {
  content: ""; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  border-radius: 50%; background: #fdfbf6; border: 2px dashed #a7862e;
}
.nb-coupon-ticket::before { left: -11px; clip-path: inset(0 0 0 50%); }
.nb-coupon-ticket::after { right: -11px; clip-path: inset(0 50% 0 0); }
.nb-coupon-code {
  margin-top: 4px; font-family: "Courier New", ui-monospace, monospace; font-weight: 700;
  font-size: 22px; letter-spacing: .12em; color: #1f2c1b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
[data-state="guest"] .nb-coupon-code { color: #736c5c; }
.nb-coupon-copy {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; padding: 11px 18px; font-size: 13px; font-weight: 700;
  background: #1f2c1b; color: #fdfbf6; transition: transform .2s, background .2s;
}
.nb-coupon-copy:hover { transform: translateY(-1px); background: #2b3d26; }
[data-state="member"] .nb-coupon-copy { background: #a7862e; }
[data-state="member"] .nb-coupon-copy:hover { background: #8c6f25; }
.nb-coupon-copy[disabled] { opacity: .6; }
@keyframes nbShake { 10%,90%{transform:translateX(-1px)} 20%,80%{transform:translateX(3px)} 30%,50%,70%{transform:translateX(-5px)} 40%,60%{transform:translateX(5px)} }
.nb-shake { animation: nbShake .5s both; }
@media (max-width: 380px) { .nb-coupon-code { font-size: 18px; } .nb-coupon-copy { padding: 10px 14px; } }
.nb-coupon-ticket > div { min-width: 0; flex: 1 1 auto; }
@media (max-width: 480px) {
  .nb-coupon-code { font-size: 17px; letter-spacing: .06em; }
  .nb-coupon-copy { padding: 10px 14px; font-size: 12px; }
  .nb-coupon-head { padding: 26px 22px 22px; }
}
.border-gold\/40 { border-color: rgb(167 134 46 / .4); }
.bg-gold-100\/40 { background-color: rgb(241 227 190 / .4); }
.decoration-gold { text-decoration-color: #a7862e; }
.underline-offset-4 { text-underline-offset: 4px; }

/* ---- Coupon popup: proper top/bottom gap + scroll INSIDE the card ---- */
#email-popup-overlay { padding: 24px 16px; }
body.admin-bar #email-popup-overlay { padding-top: 56px; }              /* WP admin bar (32px) + gap */
@media (max-width: 782px) { body.admin-bar #email-popup-overlay { padding-top: 70px; } } /* 46px admin bar */
.nb-coupon-card {
  display: flex; flex-direction: column;
  max-height: 100%;               /* never taller than the overlay's padded area */
  overflow: hidden;               /* rounded corners clip the content + scrollbar */
  animation: nbPopIn .35s cubic-bezier(.2,.8,.2,1) both;
}
.nb-coupon-scroll {
  flex: 1 1 auto; min-height: 0;
  overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;                                  /* Firefox */
  scrollbar-color: rgba(167,134,46,.55) transparent;
}
/* Chrome / Edge / Safari: thin gold scrollbar that stays clear of the corners */
.nb-coupon-scroll::-webkit-scrollbar { width: 6px; }
.nb-coupon-scroll::-webkit-scrollbar-track { background: transparent; margin: 26px 0; }
.nb-coupon-scroll::-webkit-scrollbar-thumb {
  background: rgba(167,134,46,.45); border-radius: 999px;
  border: 1px solid transparent; background-clip: padding-box;
  transition: background .2s;
}
.nb-coupon-scroll:hover::-webkit-scrollbar-thumb { background: rgba(167,134,46,.75); background-clip: padding-box; }
.nb-coupon-scroll::-webkit-scrollbar-thumb:active { background: #8c6f25; }
.nb-coupon-head { border-radius: 0; }            /* card itself clips the corners now */
@keyframes nbPopIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nb-coupon-card { animation: none; } }
.nb-coupon-close { background: rgba(253,251,246,.12); color: #fdfbf6; transition: background .2s, transform .2s; }
.nb-coupon-close:hover { background: rgba(253,251,246,.25); transform: rotate(90deg); }

/* "View Full Menu" email step */
#menu-gate-overlay { padding: 24px 16px; }
body.admin-bar #menu-gate-overlay { padding-top: 56px; }
.nb-menu-gate-card { animation: nbPopIn .3s cubic-bezier(.2,.8,.2,1) both; }

/* View Full Menu email step — always above the coupon popup + header.
   (z-[85] is not in the compiled Tailwind build.) */
#menu-gate-overlay { z-index: 9990; }
#menu-gate-overlay.flex { display: flex; }
#email-popup-overlay { z-index: 9980; }

/* ---- Mobile header: compact, balanced, nothing touching the edges ---- */
@media (max-width: 639px) {
  #site-header { padding-top: 18px; padding-bottom: 12px; }
  #site-header.pt-6 { padding-top: 10px; padding-bottom: 10px; }
  #site-header > div:first-child { padding-left: 16px; padding-right: 16px; gap: 10px; }
  #site-header > div:first-child > a:first-child { gap: 10px; min-width: 0; flex: 1 1 auto; overflow: hidden; }
  #site-logo-text { font-size: 17px; line-height: 1.15; white-space: nowrap; letter-spacing: .01em; }
  #site-header > div:first-child > div:last-child { gap: 8px; flex-shrink: 0; }
  #site-header #subscribe-recall,
  #site-header #mobile-menu-toggle,
  #site-header #lang-dropdown-toggle { width: 40px; height: 40px; padding: 0; justify-content: center; }
  #site-header #lang-dropdown-toggle { font-size: 11px; letter-spacing: .06em; }
  #site-header #lang-chevron, #site-header #lang-dropdown-toggle svg { display: none !important; }
}
@media (max-width: 374px) {
  #site-logo-text { font-size: 16px; }
}
@media (max-width: 339px) {
  #site-header > div:first-child { padding-left: 12px; padding-right: 12px; }
  #site-header > div:first-child > div:last-child { gap: 6px; }
  #site-header #subscribe-recall,
  #site-header #mobile-menu-toggle,
  #site-header #lang-dropdown-toggle { width: 36px; height: 36px; }
  #site-logo-text { font-size: 15px; }
}

/* ---- Gallery page: editorial grid (first tile large, rows always full) ---- */
.nb-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 10px; grid-auto-flow: dense; }
.nb-gallery-grid > .nb-gallery-item { width: 100%; height: 100%; }
.nb-gallery-grid:not(.nb-gallery-grid--few) > .nb-gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.nb-gallery-grid .nb-g-m2 { grid-column: span 2; }
.nb-gallery-grid--few { grid-auto-rows: 360px; max-width: 640px; }
@media (min-width: 640px) {
  .nb-gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 210px; gap: 14px; }
  .nb-gallery-grid .nb-g-m2 { grid-column: auto; }
  .nb-gallery-grid .nb-g-t2 { grid-column: span 2; }
  .nb-gallery-grid .nb-g-t3 { grid-column: span 3; }
  .nb-gallery-grid--few { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 420px; }
}
@media (min-width: 1024px) {
  .nb-gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; }
  .nb-gallery-grid .nb-g-t2, .nb-gallery-grid .nb-g-t3 { grid-column: auto; }
  .nb-gallery-grid .nb-g-d2 { grid-column: span 2; }
  .nb-gallery-grid .nb-g-d4 { grid-column: span 4; }
  .nb-gallery-grid--few { grid-template-columns: repeat(2, 1fr); }
}
.nb-gallery-item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; }
#lightbox { z-index: 9995; }

/* ---- About: photo mosaic ---- */
.nb-about-mosaic { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 12px; }
.nb-about-mosaic .nb-about-tile:first-child { grid-column: span 2; grid-row: span 2; }
@media (min-width: 768px) {
  .nb-about-mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; }
  .nb-about-mosaic .nb-about-tile:first-child { grid-column: span 2; grid-row: span 2; }
}

/* ---- Site-wide motion polish ---- */
.reveal.nb-auto-tile { transform: translateY(28px) scale(.97); }
.reveal.nb-auto-tile.in-view { transform: none; }
.nb-gallery-item img, .nb-about-tile img { transition: transform .9s cubic-bezier(.2,.8,.2,1), filter .5s ease; }
.nb-gallery-item:hover img { filter: saturate(1.08); }
@keyframes nbKenBurns { from { transform: scale(1); } to { transform: scale(1.08); } }
.nb-kenburns { animation: nbKenBurns 14s ease-in-out infinite alternate; }
@keyframes nbFloatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.nb-float-badge { animation: nbFloatY 5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .nb-kenburns, .nb-float-badge { animation: none; } }

/* Utilities used by the v33 templates that the precompiled Tailwind lacks */
.h-\[78\%\] { height: 78%; }
.w-\[70\%\] { width: 70%; }
.h-\[52\%\] { height: 52%; }
.w-\[56\%\] { width: 56%; }
.pt-24 { padding-top: 6rem; }
.rounded-\[22px\] { border-radius: 22px; }
@media (min-width: 640px) { .sm\:-right-6 { right: -1.5rem; } }
@media (min-width: 1024px) { .lg\:h-\[520px\] { height: 520px; } .lg\:pt-28 { padding-top: 7rem; } }
#menu > p.font-script { display: none !important; }
@media (min-width: 1440px) { #menu > p.font-script { display: block !important; } }

/* ---- Inner banner variants (page-banner.php 'variant') ---- */
.nb-hero-visual img { display: block; }
/* stack: three fanned cards */
.nb-hv-stack { aspect-ratio: 1 / 1.08; padding: 0; }
.nb-stack-card { position: absolute; width: 58%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 26px; border: 6px solid #fdfbf6; box-shadow: 0 30px 60px -24px rgba(0,0,0,.7); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.nb-stack-card img { width: 100%; height: 100%; object-fit: cover; }
.nb-stack-l { left: 0; top: 12%; transform: rotate(-9deg); }
.nb-stack-r { right: 0; top: 12%; transform: rotate(9deg); }
.nb-stack-c { left: 21%; top: 0; z-index: 2; animation: nbStackIn .9s cubic-bezier(.2,.8,.2,1) both; }
.nb-hv-stack:hover .nb-stack-l { transform: rotate(-13deg) translateX(-10px); }
.nb-hv-stack:hover .nb-stack-r { transform: rotate(13deg) translateX(10px); }
@keyframes nbStackIn { from { opacity: 0; transform: translateY(30px) scale(.94); } to { opacity: 1; transform: none; } }
.nb-hv-stack .nb-hero-badge { top: auto; bottom: 2%; right: 30%; z-index: 3; transform: rotate(-3deg); }

/* frame: wide photo, offset gold frame, square inset */
.nb-hv-frame { padding: 34px 0 40px 34px; }
.nb-frame { position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 30px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.65); }
.nb-frame img { width: 100%; height: 100%; object-fit: cover; animation: nbHeroZoom 14s ease-out both; }
.nb-frame-outline { position: absolute; left: 0; top: 0; right: 34px; bottom: 74px; border: 1.5px solid rgba(167,134,46,.75); border-radius: 34px; }
.nb-frame-inset { position: absolute; z-index: 2; right: -14px; bottom: 0; width: 40%; aspect-ratio: 1; overflow: hidden; border-radius: 22px; border: 6px solid #1f2c1b; box-shadow: 0 24px 50px -18px rgba(0,0,0,.7); transform: rotate(5deg); }
.nb-frame-inset img { width: 100%; height: 100%; object-fit: cover; }
.nb-hv-frame .nb-hero-badge { z-index: 3; top: 10%; right: auto; left: -6px; transform: rotate(-4deg); }

/* split: two staggered pills + rotating text ring */
.nb-hv-split { aspect-ratio: 1 / 1.05; padding: 0; }
.nb-pill { position: absolute; width: 47%; height: 84%; overflow: hidden; border-radius: 999px; box-shadow: 0 34px 70px -28px rgba(0,0,0,.7); border: 5px solid rgba(253,251,246,.08); }
.nb-pill img { width: 100%; height: 100%; object-fit: cover; }
.nb-pill-a { left: 0; top: 0; }
.nb-pill-b { right: 0; bottom: 0; }
.nb-pill-a img { animation: nbHeroZoom 14s ease-out both; }
.nb-pill-ring { position: absolute; z-index: 2; left: 50%; top: 50%; width: 132px; height: 132px; margin: -66px 0 0 -66px; border-radius: 50%; background: #1f2c1b; padding: 8px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.7); animation: nbSpin 22s linear infinite; }
.nb-pill-ring text { fill: #f1e3be; font-size: 10.4px; font-weight: 600; letter-spacing: 2.2px; }
@keyframes nbSpin { to { transform: rotate(360deg); } }
.nb-hv-split .nb-hero-badge { top: auto; bottom: 6%; right: auto; left: 4%; z-index: 3; }
@media (max-width: 480px) {
  .nb-pill-ring { width: 104px; height: 104px; margin: -52px 0 0 -52px; }
  .nb-hv-frame { padding-left: 20px; }
}
@media (prefers-reduced-motion: reduce) { .nb-pill-ring, .nb-stack-c { animation: none; } }

/* ---- Homepage Our Story collage: arch window + turning plate ---- */
.nb-story-art { --nb-arch-gap: 14px; position: relative; width: 100%; max-width: 460px; margin: 0 auto; aspect-ratio: 1 / 1.08; }
.nb-story-arch { position: absolute; left: var(--nb-arch-gap); top: var(--nb-arch-gap); width: calc(64% - var(--nb-arch-gap) * 2); height: calc(94% - var(--nb-arch-gap) * 2); overflow: hidden; border-radius: 999px 999px 26px 26px; box-shadow: 0 34px 70px -30px rgba(31,44,27,.55); }
.nb-story-arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.nb-story-art:hover .nb-story-arch img { transform: scale(1.06); }
.nb-story-arch-line { position: absolute; left: 0; top: 0; width: 64%; height: 94%; border: 1.5px solid rgba(167,134,46,.6); border-radius: 999px 999px calc(26px + var(--nb-arch-gap)) calc(26px + var(--nb-arch-gap)); }
.nb-story-plate { position: absolute; right: 0; bottom: 2%; width: 54%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid #c7b178; /* = arch line rgba(167,134,46,.6) on cream-100, opaque */ box-shadow: 0 30px 60px -22px rgba(31,44,27,.55); }
.nb-story-plate img { width: 100%; height: 100%; object-fit: cover; object-position: 28% 50%; transform: scale(1.35); animation: nbPlateSpin 60s linear infinite; }
@keyframes nbPlateSpin { from { transform: scale(1.35) rotate(0deg); } to { transform: scale(1.35) rotate(360deg); } }
.nb-story-note { position: absolute; right: 2%; top: 12%; background: #1f2c1b; color: #fdfbf6; border-radius: 18px; padding: 14px 18px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.55); animation: nbFloatY 5s ease-in-out infinite; }
.nb-story-note-k { display: block; font-family: var(--font-script, 'Caveat'), cursive; font-size: 26px; line-height: 1; color: #f1e3be; }
.nb-story-note-v { display: block; margin-top: 4px; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(253,251,246,.75); }
.nb-story-dots { position: absolute; left: 0; bottom: 0; width: 90px; height: 90px; background-image: radial-gradient(rgba(167,134,46,.55) 1.6px, transparent 1.6px); background-size: 14px 14px; z-index: -1; }
@media (max-width: 480px) { .nb-story-art { --nb-arch-gap: 10px; } .nb-story-note { padding: 10px 14px; } .nb-story-note-k { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .nb-story-plate img, .nb-story-note { animation: none; } }

/* ---- Header: current page highlighted ---- */
#primary-nav .nav-link { position: relative; }
#primary-nav .nav-link[data-active] { color: #c9a54a !important; }
#primary-nav .nav-link[data-active]::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #a7862e; }
#site-header.pt-6 #primary-nav .nav-link[data-active] { color: #8c6f25 !important; }
#mobile-menu a[data-active] { background: #efe6cf; color: #8c6f25; font-weight: 600; }
.nb-stack-card { isolation: isolate; background: #2a3a25; will-change: transform; backface-visibility: hidden; }
.nb-stack-card img { position: absolute; inset: 0; transform: translateZ(0); }
@media (max-width: 1023px) {
  .nb-hv-stack { width: min(82%, 380px); }
}

/* ---- Brand: client's calligraphy logo + wordmark, balanced ---- */
.nb-brand { gap: 14px; }
.nb-logo-mark { display: inline-flex; height: 50px; color: #f5ecd6; flex-shrink: 0; transition: color .4s ease; filter: drop-shadow(0 1px 6px rgba(0,0,0,.25)); }
.nb-logo-mark svg, .nb-footer-mark svg { height: 100%; width: auto; display: block; }
#site-header.pt-6 .nb-logo-mark { color: #1f2c1b; filter: none; }
.nb-logo-divider { width: 1px; height: 38px; background: rgba(241,227,190,.45); flex-shrink: 0; transition: background .4s ease; }
#site-header.pt-6 .nb-logo-divider, .nb-logo-divider--dark { background: rgba(31,44,27,.2); }
.nb-footer-mark { display: inline-flex; height: 46px; color: #1f2c1b; }
@media (max-width: 639px) {
  .nb-brand { gap: 10px; }
  .nb-logo-mark { height: 38px; }
  .nb-logo-divider { height: 30px; }
}
@media (max-width: 374px) { .nb-logo-mark { height: 32px; } .nb-logo-divider { display: none; } }

/* ---- Opening hours list ---- */
.nb-hours { display: grid; gap: 4px; font-size: 13px; color: #736c5c; }
.nb-hours li { display: flex; justify-content: space-between; gap: 16px; }
.nb-hours li span:last-child { white-space: nowrap; }
.nb-hours li.is-today { color: #1f2c1b; font-weight: 600; }
.nb-hours--footer { max-width: 260px; }

/* ---- About: Who We Are collage (best photos) ---- */
.nb-who { position: relative; width: 100%; max-width: 560px; margin: 0 auto; padding: 0 0 70px 0; }
.nb-who-main { position: relative; margin-left: 12%; aspect-ratio: 4 / 3.2; overflow: hidden; border-radius: 28px; box-shadow: 0 34px 70px -30px rgba(31,44,27,.55); }
.nb-who-main img, .nb-who-side img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nb-who-side { position: absolute; left: 0; bottom: 0; width: 40%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 22px; border: 6px solid #fdfbf6; box-shadow: 0 26px 50px -20px rgba(31,44,27,.55); }
.nb-who-badge { position: absolute; right: 4%; bottom: 18px; background: #1f2c1b; color: #fdfbf6; border-radius: 18px; padding: 14px 18px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.55); }
.nb-who-badge-k { display: block; font-family: var(--font-cormorant, 'Cormorant Garamond'), serif; font-size: 22px; font-weight: 600; line-height: 1; }
.nb-who-badge-v { display: block; margin-top: 5px; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #f1e3be; }
@media (max-width: 480px) { .nb-who { padding-bottom: 56px; } .nb-who-badge { padding: 10px 14px; } .nb-who-badge-k { font-size: 18px; } }

/* ---- Legal pages ---- */
.nb-legal-hero { position: relative; overflow: hidden; background: #1f2c1b; color: #fdfbf6; padding: 150px 0 110px; }
.nb-legal-hero-inner { max-width: 48rem; margin: 0 auto; padding: 0 24px; }
.nb-legal-title { font-family: var(--font-cormorant, 'Cormorant Garamond'), serif; font-weight: 600; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; }
.nb-legal-body { max-width: 48rem; margin: 0 auto; padding: 24px 24px 0; color: #4a4639; font-size: 15px; line-height: 1.8; }
.nb-legal-body h2 { margin: 2.2em 0 .6em; font-family: var(--font-cormorant, 'Cormorant Garamond'), serif; font-size: 26px; font-weight: 600; color: #1f2c1b; line-height: 1.2; }
.nb-legal-body p { margin: 0 0 1em; }
.nb-legal-body ul { margin: 0 0 1em; padding-left: 1.2em; list-style: disc; }
.nb-legal-body li { margin: .35em 0; }
.nb-legal-body a { color: #8c6f25; text-decoration: underline; text-underline-offset: 3px; }
.nb-legal-body strong { color: #1f2c1b; }

/* ---- Events page: alternating photo / copy rows ---- */
.nb-events { display: grid; gap: 72px; }
.nb-event-row { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.nb-event-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 28px; box-shadow: 0 30px 60px -28px rgba(31,44,27,.5); }
.nb-event-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.nb-event-row:hover .nb-event-photo img { transform: scale(1.05); }
.nb-event-num { position: absolute; left: 18px; top: 14px; font-family: var(--font-cormorant, 'Cormorant Garamond'), serif; font-size: 54px; font-weight: 600; line-height: 1; color: rgba(253,251,246,.92); text-shadow: 0 6px 24px rgba(0,0,0,.35); }
@media (min-width: 1024px) {
  .nb-events { gap: 96px; }
  .nb-event-row { grid-template-columns: 1.1fr 1fr; gap: 72px; }
  .nb-event-row.is-flip .nb-event-photo { order: 2; }
}

/* ---- Footer delivery areas ---- */
.nb-footer-zones { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.nb-footer-zones li { font-size: 12px; color: #4b4637; background: #fdfbf6; border: 1px solid rgba(31,44,27,.12); border-radius: 999px; padding: 4px 10px; }

/* ---- Homepage hero: slideshow of the new outlet photos ---- */
.nb-hero-slides { position: absolute; inset: 0; overflow: hidden; }
.nb-hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: nbHeroSlide 18s infinite; }
.nb-hero-slides img:nth-child(1) { animation-delay: 0s; opacity: 1; }
.nb-hero-slides img:nth-child(2) { animation-delay: 6s; }
.nb-hero-slides img:nth-child(3) { animation-delay: 12s; }
@keyframes nbHeroSlide {
  0%   { opacity: 0; transform: scale(1.08); }
  6%   { opacity: 1; }
  33%  { opacity: 1; }
  40%  { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}
.nb-hero-slides img:nth-child(1) { animation-name: nbHeroSlideFirst; }
@keyframes nbHeroSlideFirst {
  0%   { opacity: 1; transform: scale(1.08); }
  33%  { opacity: 1; }
  40%  { opacity: 0; transform: scale(1); }
  94%  { opacity: 0; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .nb-hero-slides img { animation: none; } .nb-hero-slides img:not(:first-child) { display: none; } }
.nb-story-plate--still img { animation: none; transform: none; object-position: 40% 50%; }

/* ---- Our own Arabic text (naseem_t) instead of machine translation ---- */
.nb-ar { display: none; }
html[lang^="ar"] .nb-ar, html[dir="rtl"] .nb-ar, html.translated-rtl .nb-ar { display: inline; }
html[lang^="ar"] .nb-en, html[dir="rtl"] .nb-en, html.translated-rtl .nb-en { display: none; }

/* Arabic: clear, upright font (the italic serif/script made Arabic hard to read) */
html[lang^="ar"] body, html[dir="rtl"] body, html.translated-rtl body { font-family: 'Tajawal', 'Inter', sans-serif; }
html[lang^="ar"] .italic, html[dir="rtl"] .italic, html.translated-rtl .italic,
html[lang^="ar"] .font-script, html[dir="rtl"] .font-script, html.translated-rtl .font-script { font-style: normal !important; }
html[lang^="ar"] .font-serif, html[dir="rtl"] .font-serif, html.translated-rtl .font-serif,
html[lang^="ar"] .font-script, html[dir="rtl"] .font-script, html.translated-rtl .font-script,
html[lang^="ar"] .nb-hero-title, html[dir="rtl"] .nb-hero-title, html.translated-rtl .nb-hero-title,
html[lang^="ar"] .nb-tagline, html[dir="rtl"] .nb-tagline, html.translated-rtl .nb-tagline { font-family: 'Tajawal', sans-serif !important; letter-spacing: 0 !important; line-height: 1.5; }
html[lang^="ar"] .tracking-widest2, html[dir="rtl"] .tracking-widest2, html.translated-rtl .tracking-widest2 { letter-spacing: 0 !important; }
.nb-hours li span[dir="ltr"] { unicode-bidi: isolate; }
html[dir="rtl"] .nb-hours li { gap: 16px; }

/* ---- Banner watermark = the real logo (same calligraphy as the header) ---- */
.nb-hero-watermark { font-size: 0 !important; color: rgba(241,227,190,.06) !important; }
.nb-hero-watermark svg { display: block; height: clamp(120px, 20vw, 300px); width: auto; }
.nb-hours li span:first-child { white-space: nowrap; }
.nb-post-nav { cursor: pointer; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.nb-post-nav:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(31,44,27,.45); }
.nb-post-nav * { pointer-events: none; }
@media (max-width: 767px) { .single .nb-post-nav { margin-right: 64px; } }
