:root {
  --bg-dark: #3a2a1f;
  --bg-card: rgba(58, 42, 31, 0.78);
  --gold: #e0b366;
  --gold-gradient: linear-gradient(45deg, #e0b366, #ffddad, #d4a35a, #ffddad, #c89850);
  --gold-soft: rgba(224, 179, 102, 0.20);
  --glass-bg: rgba(58, 42, 31, 0.9);
  --glass-border: rgba(224, 179, 102, 0.3);
  --text-light: #f8f4ef;
  --earth: #3a2a1f;
  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Cairo', sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 60px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-ar);
  line-height: 1.6;
  overflow-x: hidden;
  direction: rtl;
}

body.lang-en {
  font-family: var(--font-en);
  direction: ltr;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--gold);
  color: #000;
  padding: 12px 20px;
  z-index: 10000;
  transition: top 0.2s;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  top: 0;
}

/* Utilities */
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.gold-bg {
  background: linear-gradient(135deg, rgba(224, 179, 102, 0.95), rgba(224, 179, 102, 0.72));
  border-color: rgba(224, 179, 102, 0.32);
  color: #3a2a1f;
  font-weight: 800;
  border: none;
}

.gold-bg:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.glassmorphism {
  background: var(--glass-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 0.5px solid var(--glass-border);
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.full-width {
  width: 100%;
}

/* Loader */
.loader-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gold-loader {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(224, 179, 102, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Layout Sections */
.section-pad {
  padding: clamp(48px, 6vw, 96px) 5%;
}

.section-title {
  font-size: clamp(26px, 3.6vw, 40px);
  margin: 0 0 10px 0;
  letter-spacing: 0.2px;
}

.section-subtitle {
  margin: 0 0 18px 0;
  color: rgba(248, 244, 239, 0.76);
  font-size: 1.02rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 5% 90px;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(58, 42, 31, 0.35), rgba(58, 42, 31, 0.6));
}

.hero-content {
  position: relative;
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.15;
  margin: 0 0 14px 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  margin: 0 auto 22px;
  max-width: 56ch;
  font-size: clamp(16px, 2.3vw, 20px);
  color: rgba(255, 221, 173, 0.86);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-cta {
  display: flex;
  justify-content: center;
}

.hero-cta-btn {
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s var(--ease);
}

/* Fade Up Animation */
.fade-up {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.7s ease forwards;
}

.fade-up.delay-1 {
  animation-delay: 0.12s;
}

.fade-up.delay-2 {
  animation-delay: 0.22s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navigation */
.glass-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  background: transparent;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, 
              border-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.glass-nav.scrolled {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  background: rgba(58, 42, 31, 0.65);
  border-bottom: 1px solid rgba(224, 179, 102, 0.25);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  padding: 0.8rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
              inset 0 -1px 0 rgba(224, 179, 102, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
}

.brand-logo {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.brand-sep {
  opacity: 0.55;
}

.brand-ar {
  font-weight: 700;
  opacity: 0.95;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Contact Dropdown */
.nav-contact-wrapper {
  position: relative;
}

.contact-btn {
  background: none;
  border: none;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  transition: color 0.3s ease;
  font-family: inherit;
}

.contact-btn:hover {
  color: var(--gold);
}

.contact-arrow {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-btn[aria-expanded="true"] .contact-arrow {
  transform: rotate(180deg);
}

.contact-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 200px;
  background: rgba(58, 42, 31, 0.95);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(224, 179, 102, 0.3);
  border-radius: 16px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.25s;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35),
              inset 0 1px 0 rgba(224, 179, 102, 0.15);
  z-index: 1001;
}

.contact-dropdown[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.contact-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.contact-dropdown-item:hover {
  background: rgba(224, 179, 102, 0.15);
  color: var(--gold);
  transform: translateX(-2px);
}

body.lang-en .contact-dropdown-item:hover {
  transform: translateX(2px);
}

.contact-dropdown-item:active {
  transform: scale(0.98);
}

.contact-dropdown-item i {
  font-size: 1rem;
  color: var(--gold);
  transition: transform 0.2s ease;
}

.contact-dropdown-item:hover i {
  transform: scale(1.1);
}

/* Dropdown animation keyframes */
@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Buttons */
.glass-btn {
  appearance: none;
  border: 1px solid rgba(248, 244, 239, 0.14);
  background: rgba(248, 244, 239, 0.06);
  color: #fff;
  padding: 10px 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  font-family: inherit;
  font-size: 0.95rem;
}

.glass-btn:hover {
  border-color: rgba(224, 179, 102, 0.28);
  background: rgba(248, 244, 239, 0.08);
  transform: translateY(-1px);
}

.glass-btn.outline {
  background: transparent;
  border: 1px solid rgba(248, 244, 239, 0.3);
}

.glass-btn.outline:hover {
  background: rgba(248, 244, 239, 0.06);
}

.icon-btn {
  padding: 10px 12px;
}

/* Split Sections */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  height: auto;
  background: var(--bg-dark);
  align-items: stretch;
  overflow: hidden;
}

.split-section.reverse {
  direction: ltr;
}

.split-section.reverse .owner-text {
  direction: rtl;
  text-align: right;
}

body.lang-en .split-section.reverse .owner-text {
  direction: ltr;
  text-align: left;
}

.story-text,
.owner-text {
  padding: 80px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-paragraph,
.owner-paragraph {
  font-size: 1.15rem;
  line-height: 2;
  color: #f8f4ef;
  margin-bottom: 30px;
}

.quote-footer {
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 700;
  border-right: 4px solid var(--gold);
  padding: 5px 25px;
  margin-top: 20px;
}

body.lang-en .quote-footer {
  border-right: none;
  border-left: 4px solid var(--gold);
  padding: 5px 5px 5px 25px;
}

.parallax-img {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(58, 42, 31, 0.25);
  width: 100%;
  min-height: 500px;
}

.parallax-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: contrast(1.03) saturate(0.95);
}

.owner-photo {
  object-fit: contain;
  background: rgba(58, 42, 31, 0.22);
}

.media-frame {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(224, 179, 102, 0.16);
  box-shadow: inset 0 0 0 1px rgba(248, 244, 239, 0.06);
  pointer-events: none;
}

/* Menu Container */
.menu-container {
  padding: 100px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.category-tabs {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 20px 0;
  margin-bottom: 30px;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-btn {
  background: rgba(248, 244, 239, 0.05);
  color: #fff;
  border: 1px solid rgba(248, 244, 239, 0.1);
  padding: 10px 25px;
  border-radius: 30px;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.3s;
  font-family: inherit;
  font-size: 0.95rem;
}

.category-btn:hover {
  background: rgba(248, 244, 239, 0.08);
}

.category-btn.active {
  background: var(--gold-gradient);
  color: #3a2a1f;
  border: none;
  font-weight: 700;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.menu-card {
  background: rgba(58, 42, 31, 0.7);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(248, 244, 239, 0.05);
  transition: 0.4s;
  display: flex;
  flex-direction: column;
}

.menu-card:hover {
  transform: translateY(-8px);
  border-color: rgba(224, 179, 102, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.card-title {
  font-size: 1.2rem;
  margin: 0 0 8px 0;
}

.card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.card-desc {
  color: rgba(248, 244, 239, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

.card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tag {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tag-bestseller {
  background: rgba(224, 179, 102, 0.2);
  color: var(--gold);
}

.tag-spicy {
  background: rgba(255, 69, 58, 0.2);
  color: #ff453a;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gold);
  font-size: 0.9rem;
}

.add-to-cart-btn {
  padding: 8px 16px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.add-to-cart-btn.added {
  background: rgba(76, 217, 100, 0.3);
  border-color: #4cd964;
  color: #4cd964;
}

/* Branches Section */
.branches-section {
  background: radial-gradient(ellipse at 50% 0%, rgba(224, 179, 102, 0.06), rgba(0, 0, 0, 0));
}

.maps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.map-card {
  padding: 16px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid rgba(224, 179, 102, 0.12);
}

.map-title {
  margin: 0 0 12px 0;
  font-size: 1.05rem;
  color: rgba(248, 244, 239, 0.92);
}

.map-container {
  position: relative;
  width: 100%;
  padding-top: 66%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(248, 244, 239, 0.08);
}

.map-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.luxury-footer {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.0), rgba(58, 42, 31, 0.65)), var(--bg-dark);
  border-top: 1px solid rgba(224, 179, 102, 0.12);
  padding: 44px 5% 18px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 26px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.footer-tagline {
  margin: 0;
  color: rgba(248, 244, 239, 0.72);
  line-height: 1.65;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.footer-title {
  margin: 0 0 10px 0;
  color: rgba(248, 244, 239, 0.92);
  font-weight: 800;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  color: rgba(248, 244, 239, 0.72);
}

.footer-link {
  color: rgba(248, 244, 239, 0.78);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}

.footer-link:hover {
  color: rgba(224, 179, 102, 0.95);
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(248, 244, 239, 0.06);
  color: rgba(248, 244, 239, 0.55);
  font-size: 0.95rem;
  text-align: center;
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(58, 42, 31, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1400;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 450px;
  height: 100%;
  z-index: 2000;
  transform: translateX(100%);
  transition: 0.5s var(--ease);
  visibility: hidden;
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-left: 1px solid var(--glass-border);
}

.cart-drawer.active {
  transform: translateX(0);
  visibility: visible;
}

body.lang-en .cart-drawer {
  right: auto;
  left: 0;
  transform: translateX(-100%);
  border-left: none;
  border-right: 1px solid var(--glass-border);
}

body.lang-en .cart-drawer.active {
  transform: translateX(0);
}

.cart-header {
  padding: 30px 30px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(248, 244, 239, 0.1);
}

.cart-step {
  display: none;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.cart-step.active {
  display: flex;
}

.step-header {
  padding: 20px 30px 10px;
  border-bottom: 1px solid rgba(248, 244, 239, 0.08);
}

.step-header h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
}

.step-header p {
  margin: 0;
  color: rgba(248, 244, 239, 0.6);
  font-size: 0.9rem;
}

.cart-items,
.review-list,
.form-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px 30px;
  -webkit-overflow-scrolling: touch;
}

.cart-item {
  background: rgba(248, 244, 239, 0.03);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid rgba(248, 244, 239, 0.08);
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.item-name {
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
}

.item-price {
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}

.item-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(248, 244, 239, 0.2);
  background: rgba(248, 244, 239, 0.05);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}

.qty-btn:hover {
  background: rgba(248, 244, 239, 0.1);
  border-color: var(--gold);
}

.qty-display {
  min-width: 30px;
  text-align: center;
  font-weight: 700;
}

.remove-btn {
  color: #ff453a;
  background: rgba(255, 69, 58, 0.1);
  border: 1px solid rgba(255, 69, 58, 0.3);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.2s;
}

.remove-btn:hover {
  background: rgba(255, 69, 58, 0.2);
}

.note-input {
  width: 100%;
  background: rgba(58, 42, 31, 0.3);
  border: 1px solid rgba(248, 244, 239, 0.1);
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  margin-top: 8px;
  resize: vertical;
  min-height: 60px;
}

.note-input::placeholder {
  color: rgba(248, 244, 239, 0.4);
}

.cart-footer {
  padding: 20px 30px;
  border-top: 1px solid rgba(248, 244, 239, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.empty-cart {
  padding: 60px 30px;
  text-align: center;
  color: rgba(248, 244, 239, 0.5);
}

.empty-cart i {
  font-size: 3rem;
  margin-bottom: 20px;
  opacity: 0.3;
}

/* Form Styles */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-input {
  width: 100%;
  background: rgba(58, 42, 31, 0.3);
  border: 1px solid rgba(248, 244, 239, 0.15);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
}

.form-input.error {
  border-color: #ff453a;
}

.error-msg {
  display: block;
  color: #ff453a;
  font-size: 0.85rem;
  margin-top: 4px;
  min-height: 18px;
}

.hint {
  display: block;
  color: rgba(248, 244, 239, 0.5);
  font-size: 0.85rem;
  margin-top: 4px;
}

.hint-message {
  background: rgba(255, 206, 84, 0.15);
  border: 1px solid rgba(255, 206, 84, 0.3);
  border-radius: 8px;
  padding: 10px 12px;
  color: #ffce54;
  font-size: 0.85rem;
  margin-top: 10px;
}

.button-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

/* WhatsApp Preview */
.wa-preview {
  background: rgba(58, 42, 31, 0.4);
  border: 1px solid rgba(248, 244, 239, 0.1);
  border-radius: 12px;
  padding: 16px;
  max-height: 400px;
  overflow-y: auto;
  font-family: monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Review List */
.review-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(248, 244, 239, 0.05);
}

.review-item:last-child {
  border-bottom: none;
}

.review-name {
  font-weight: 600;
}

.review-qty {
  color: rgba(248, 244, 239, 0.6);
  font-size: 0.9rem;
}

.review-price {
  color: var(--gold);
  font-weight: 700;
}

/* Floating Cart Pill */
/* ============================================================
   FLOATING ACTION CART (FAC) - Premium Glassmorphism
   ============================================================ */

.fac-pill {
  /* Positioning */
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 1400;
  
  /* Reset */
  appearance: none;
  border: none;
  margin: 0;
  cursor: pointer;
  font-family: inherit;
  
  /* Layout */
  display: none;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  
  /* Premium Glassmorphism */
  background: linear-gradient(
    135deg,
    rgba(58, 42, 31, 0.95) 0%,
    rgba(58, 42, 31, 0.88) 100%
  );
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  
  /* Elegant Shape & Borders */
  border-radius: 50px;
  border: 1.5px solid rgba(224, 179, 102, 0.35);
  
  /* Luxurious Shadows */
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(224, 179, 102, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  
  /* Colors */
  color: #fff;
  
  /* Smooth Transitions */
  transition: 
    transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 220ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 220ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Performance */
  transform: translateZ(0);
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.fac-pill.visible {
  display: flex;
}

/* Icon Wrapper */
.fac-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  
  /* Gold Glow Background */
  background: linear-gradient(
    135deg,
    rgba(224, 179, 102, 0.25),
    rgba(224, 179, 102, 0.15)
  );
  border-radius: 50%;
  
  transition: background 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.fac-icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
  filter: drop-shadow(0 2px 4px rgba(224, 179, 102, 0.3));
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Count Badge on Icon */
.fac-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  
  /* Premium Badge Style */
  background: linear-gradient(135deg, #ff4757, #ff3838);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  border-radius: 8px;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  box-shadow: 
    0 2px 6px rgba(255, 71, 87, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  
  opacity: 0;
  transform: scale(0);
  transition: 
    opacity 200ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fac-count-badge.has-items {
  opacity: 1;
  transform: scale(1);
}

/* Total Wrapper */
.fac-total-wrapper {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.fac-currency {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(224, 179, 102, 0.8);
}

.fac-total-amount {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(224, 179, 102, 0.3);
}

/* Hover State */
@media (hover: hover) and (pointer: fine) {
  .fac-pill:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(224, 179, 102, 0.5);
    box-shadow: 
      0 16px 48px rgba(0, 0, 0, 0.6),
      0 6px 16px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(224, 179, 102, 0.3),
      0 0 0 4px rgba(224, 179, 102, 0.1);
  }
  
  .fac-pill:hover .fac-icon-wrapper {
    background: linear-gradient(
      135deg,
      rgba(224, 179, 102, 0.35),
      rgba(224, 179, 102, 0.25)
    );
  }
  
  .fac-pill:hover .fac-icon {
    transform: scale(1.1);
  }
}

/* Active State */
.fac-pill:active {
  transform: translateY(-2px) scale(0.98);
}

/* Focus State */
.fac-pill:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* RTL Support */
body.lang-en .fac-pill {
  right: auto;
  left: 20px;
}

/* Mobile Specific */
@media (max-width: 992px) {
  .fac-pill {
    bottom: 85px;
    right: 16px;
    padding: 12px 18px;
  }
  
  body.lang-en .fac-pill {
    right: auto;
    left: 16px;
  }
}

/* Mobile Bottom Nav */
/* ============================================================
   MOBILE BOTTOM NAVIGATION (Production-Safe - 5 Buttons)
   ============================================================ */

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(70px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  
  /* Premium Glassmorphism */
  background: linear-gradient(
    180deg,
    rgba(58, 42, 31, 0.95) 0%,
    rgba(58, 42, 31, 0.88) 100%
  );
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  
  /* Elegant Borders & Shadows */
  border-top: 1.5px solid rgba(224, 179, 102, 0.3);
  box-shadow: 
    0 -8px 32px rgba(0, 0, 0, 0.4),
    0 -2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(224, 179, 102, 0.15);
  
  /* Layout: hidden by default; becomes flex on small screens */
  display: none;
  /* When visible, navigation uses flexbox to distribute items evenly */
  justify-content: space-between;
  align-items: center;
  gap: 2px;
  padding: 6px 8px;
  
  /* Performance */
  z-index: 1500;
  transform: translateZ(0);
  will-change: transform;
  
  /* RTL Support */
  direction: rtl;
}

body.lang-en .mobile-bottom-nav {
  direction: ltr;
}

/* Navigation Button */
.nav-btn {
  /* Reset */
  appearance: none;
  border: none;
  background: none;
  margin: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  
  /* Layout */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 4px;
  min-height: 58px;
  border-radius: 12px;

  /* Allow each navigation button to flexibly occupy equal width in the bottom nav */
  flex: 1;
  
  /* Colors */
  color: rgba(248, 244, 239, 0.65);
  
  /* Transitions (Performance-Optimized) */
  transition: 
    color 180ms cubic-bezier(0.4, 0, 0.2, 1),
    background 180ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 120ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Touch Target */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  
  /* Smooth Rendering */
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Icon */
.nav-icon {
  width: 22px;
  height: 22px;
  stroke-width: 2;
  transition: 
    transform 180ms cubic-bezier(0.4, 0, 0.2, 1),
    filter 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Label */
.nav-label {
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Hover State (Touch-Safe) */
@media (hover: hover) and (pointer: fine) {
  .nav-btn:hover {
    color: rgba(224, 179, 102, 0.95);
    background: rgba(224, 179, 102, 0.08);
  }
  
  .nav-btn:hover .nav-icon {
    transform: translateY(-2px);
    filter: drop-shadow(0 2px 4px rgba(224, 179, 102, 0.3));
  }
}

/* Active State (Tap Feedback) */
.nav-btn:active {
  transform: scale(0.94);
  background: rgba(224, 179, 102, 0.12);
}

/* Focus State (Accessibility) */
.nav-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  color: var(--gold);
}

/* Current/Active Tab */
.nav-btn[aria-current="page"],
.nav-btn.active {
  color: var(--gold);
  background: rgba(224, 179, 102, 0.1);
}

.nav-btn[aria-current="page"] .nav-icon,
.nav-btn.active .nav-icon {
  filter: drop-shadow(0 2px 8px rgba(224, 179, 102, 0.5));
}

/* Cart Button Special Styling */
.nav-btn-cart {
  position: relative;
}

.nav-cart-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  
  /* Premium Badge Style */
  background: linear-gradient(135deg, var(--gold), rgba(224, 179, 102, 0.9));
  color: #1a1410;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 9px;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  box-shadow: 
    0 2px 8px rgba(224, 179, 102, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  
  opacity: 0;
  transform: scale(0);
  transition: 
    opacity 200ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-cart-badge.has-items {
  opacity: 1;
  transform: scale(1);
}

/* Contact Button Expanded State */
.nav-btn[aria-expanded="true"] {
  color: var(--gold);
  background: rgba(224, 179, 102, 0.1);
}

/*
 * Mobile Contact Overlay
 * This overlay appears when the user taps the Contact button in the
 * mobile bottom navigation. It displays clickable phone numbers for
 * each branch and follows the same aesthetic as other overlays in
 * the design system. The overlay is positioned above the bottom
 * navigation and hidden by default.
 */
.mobile-contact-overlay {
  position: fixed;
  bottom: calc(70px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  background: rgba(58, 42, 31, 0.95);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(224, 179, 102, 0.3);
  border-radius: 14px;
  padding: 16px 20px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 2600;
  direction: rtl;
}

.mobile-contact-overlay.active {
  display: flex;
}

.close-contact-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  color: rgba(248, 244, 239, 0.85);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.close-contact-btn:hover {
  color: var(--gold);
}

.mobile-contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(224, 179, 102, 0.35);
  background: rgba(58, 42, 31, 0.9);
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-contact-link:hover {
  background: rgba(224, 179, 102, 0.2);
  color: #3a2a1f;
}

/* Show on Mobile Only */
@media (max-width: 992px) {
  .mobile-bottom-nav {
    /* Show the bottom nav on small screens with flex layout */
    display: flex;
  }
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: 50%;
  transform: translateX(50%) scale(0.85);
  opacity: 0;
  background: var(--gold);
  color: #3a2a1f;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;

/* ============================================================
   CONTACT MODAL (Mobile Bottom Sheet)
   ============================================================ */

.contact-modal-mobile {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: none;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: 
    opacity 280ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 280ms;
}

.contact-modal-mobile[aria-hidden="false"] {
  display: flex;
  opacity: 1;
  visibility: visible;
}

/* Backdrop */
.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sheet Container */
.contact-modal-sheet {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  
  /* Glassmorphism */
  background: rgba(58, 42, 31, 0.98);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  
  /* Shape */
  border-radius: 24px 24px 0 0;
  border-top: 2px solid rgba(224, 179, 102, 0.3);
  
  /* Shadows */
  box-shadow: 
    0 -8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(224, 179, 102, 0.15);
  
  /* Animation */
  animation: slideUpSheet 320ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Performance */
  transform: translateZ(0);
  will-change: transform;
  
  /* Safe Area */
  padding-bottom: env(safe-area-inset-bottom);
}

/* Handle (iOS-style) */
.contact-modal-handle {
  width: 36px;
  height: 4px;
  background: rgba(248, 244, 239, 0.3);
  border-radius: 2px;
  margin: 12px auto 8px;
}

/* Header */
.contact-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(224, 179, 102, 0.15);
}

.contact-modal-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.01em;
}

.contact-modal-close {
  /* Reset */
  appearance: none;
  border: none;
  margin: 0;
  padding: 0;
  cursor: pointer;
  
  /* Style */
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(248, 244, 239, 0.08);
  color: rgba(248, 244, 239, 0.7);
  
  /* Transitions */
  transition: 
    background 150ms cubic-bezier(0.4, 0, 0.2, 1),
    color 150ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 180ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Touch */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.contact-modal-close:hover {
  background: rgba(248, 244, 239, 0.12);
  color: var(--gold);
}

.contact-modal-close:active {
  transform: scale(0.92);
}

.contact-modal-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Body */
.contact-modal-body {
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Contact Option */
.contact-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  
  /* Style */
  background: rgba(248, 244, 239, 0.04);
  border: 1px solid rgba(224, 179, 102, 0.2);
  border-radius: 16px;
  text-decoration: none;
  
  /* Transitions */
  transition: 
    background 150ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 150ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 120ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Touch */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: pointer;
}

.contact-option:hover {
  background: rgba(224, 179, 102, 0.12);
  border-color: rgba(224, 179, 102, 0.4);
}

.contact-option:active {
  transform: scale(0.98);
  background: rgba(224, 179, 102, 0.15);
}

.contact-option:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Icon Container */
.contact-option-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(224, 179, 102, 0.2),
    rgba(224, 179, 102, 0.1)
  );
  color: var(--gold);
}

.contact-option-icon svg {
  width: 22px;
  height: 22px;
}

/* Info */
.contact-option-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.contact-option-label {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.contact-option-number {
  font-size: 0.9rem;
  color: rgba(248, 244, 239, 0.7);
  direction: ltr;
  font-variant-numeric: tabular-nums;
}

/* Arrow */
.contact-option-arrow {
  flex-shrink: 0;
  color: rgba(248, 244, 239, 0.4);
  transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-option:hover .contact-option-arrow {
  transform: translateX(-4px);
  color: var(--gold);
}

body.lang-en .contact-option:hover .contact-option-arrow {
  transform: translateX(4px);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUpSheet {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cart-badge.has-items {
  opacity: 1;
  transform: translateX(50%) scale(1);
}


/* Toast Notification */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--glass-bg);
  color: var(--text-light);
  padding: 16px 24px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 90%;
  text-align: center;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Language toggles */
/*
 * Remove generic `.lang-en` display none rule. The language toggles are handled
 * later in the file with more specific selectors to prevent the entire page
 * from disappearing when the body has the `.lang-en` class.
 */

/* Error State */
.error-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: rgba(248, 244, 239, 0.6);
}

.error-state i {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--gold);
}

.error-state h3 {
  margin-bottom: 10px;
  color: #fff;
}

.error-state button {
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-section {
    min-height: 100svh;
  }

  .split-section {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    overflow: visible !important;
    height: auto !important;
  }

  .split-section.reverse {
    direction: unset !important;
  }

  .story-image,
  .owner-image {
    order: -1 !important;
    height: 280px !important;
    min-height: 0 !important;
  }

  .parallax-img {
    min-height: 0 !important;
  }

  .story-text,
  .owner-text {
    padding: 28px 6% 36px !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    text-align: start !important;
  }

  .nav-links {
    display: none;
  }

  .maps-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }

  .cart-drawer {
    width: 100%;
    height: 100vh;
    height: 100dvh;
  }

  .mobile-bottom-nav {
    display: flex;
  }

  .fac-pill {
    bottom: 110px;
  }
}

@media (min-width: 992px) {
  .story-text,
  .owner-text {
    text-align: justify;
  }

  .story-paragraph,
  .owner-paragraph {
    text-align: justify;
  }
}

@media (max-width: 360px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-card {
    width: 100%;
    min-width: 0;
  }

  .card-info {
    min-width: 0;
  }

  .card-info h3,
  .card-info p {
    word-break: break-word;
  }
}

@media (max-width: 768px) {
  .button-group {
    grid-template-columns: 1fr;
  }
}

/* ============ Mobile Header ============ */
/*
 * Apply consistent styling to the mobile header. The markup defines
 * the fixed mobile navigation using the `.mobile-header` class. To
 * avoid any confusion with legacy class names, only this selector
 * is used here. Removing the unused `.site-header-mobile` selector
 * ensures there is a single, unified definition for the mobile
 * header without duplication.
 */
.mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(58, 42, 31, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(224, 179, 102, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hamburger-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.hamburger-btn:hover,
.hamburger-btn:focus {
  color: var(--gold);
}

.hamburger-btn svg {
  width: 24px;
  height: 24px;
}

.mobile-logo {
  font-size: 1.1rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.mobile-cta {
  padding: 8px 16px;
  font-size: 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* ============ Mobile Menu Overlay ============ */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(58, 42, 31, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 2500;
  /* Hide completely by default so it doesn't occupy layout space or create
   * left-side columns on mobile. The menu is revealed via the `.active`
   * class which sets display to flex. Using `display: none` here avoids
   * the overlay occupying the viewport when it is hidden. */
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  flex-direction: column;
}

.mobile-menu-overlay.active {
  /* When active, show the overlay and allow interaction */
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.close-menu-btn {
  position: absolute;
  top: 8px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}

body.lang-en .close-menu-btn {
  right: auto;
  left: 20px;
}

.close-menu-btn:hover,
.close-menu-btn:focus {
  color: var(--gold);
}

.close-menu-btn svg {
  width: 24px;
  height: 24px;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 80px 30px 40px;
  gap: 8px;
}

.mobile-menu-link {
  width: 100%;
  max-width: 400px;
  padding: 20px 30px;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(248, 244, 239, 0.9);
  text-decoration: none;
  background: rgba(248, 244, 239, 0.03);
  border: 1px solid rgba(248, 244, 239, 0.08);
  border-radius: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
  display: block;
}

.mobile-menu-link:hover,
.mobile-menu-link:focus {
  background: rgba(224, 179, 102, 0.1);
  border-color: rgba(224, 179, 102, 0.3);
  color: var(--gold);
  transform: translateY(-2px);
}

.mobile-menu-link.lang-switch {
  margin-top: 20px;
  background: rgba(224, 179, 102, 0.1);
  border-color: rgba(224, 179, 102, 0.3);
  color: var(--gold);
}

/* ============ Branch Selection Modal ============ */
.branch-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(58, 42, 31, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.branch-modal.active {
  opacity: 1;
  visibility: visible;
}

.branch-modal-content {
  background: var(--glass-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px 30px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  touch-action: manipulation;
  pointer-events: auto;
}

.branch-modal.active .branch-modal-content {
  transform: scale(1);
}

.branch-modal-title {
  margin: 0 0 10px 0;
  font-size: 1.6rem;
  font-weight: 900;
  text-align: center;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.branch-modal-subtitle {
  margin: 0 0 30px 0;
  text-align: center;
  color: rgba(248, 244, 239, 0.7);
  font-size: 0.95rem;
}

.branch-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.branch-option {
  background: rgba(248, 244, 239, 0.03);
  border: 2px solid rgba(248, 244, 239, 0.1);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  color: #fff;
  text-align: center;
  width: 100%;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(224, 179, 102, 0.2);
}

.branch-option:active {
  background: rgba(224, 179, 102, 0.15);
  border-color: rgba(224, 179, 102, 0.5);
}

.branch-option:hover {
  background: rgba(224, 179, 102, 0.1);
  border-color: rgba(224, 179, 102, 0.4);
  transform: translateY(-2px);
}

.branch-option.selected {
  background: rgba(224, 179, 102, 0.2);
  border-color: var(--gold);
}

.branch-option-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: rgba(248, 244, 239, 0.95);
}

.branch-option-info {
  font-size: 0.9rem;
  color: rgba(248, 244, 239, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.branch-option-info i {
  color: var(--gold);
}

/* ============ Desktop/Mobile Header Visibility Adjustments ============ */
/*
 * By default, both the desktop navigation (`site-nav`) and mobile header
 * (`mobile-header`) were visible simultaneously because the
 * original HTML classes did not match the responsive selectors defined
 * in this stylesheet. To unify the navigation and avoid duplication,
 * explicitly hide the desktop nav on small screens and the mobile
 * header on large screens. This mirrors the original intention of
 * `.glass-nav` and `.mobile-header` but targets the actual class
 * names used in the markup.
 */

@media (max-width: 992px) {
  /* Hide the desktop navigation on mobile widths */
  .site-nav {
    /* Force-hide the desktop nav on small screens. The `!important` flag
     * ensures this rule takes precedence over later declarations (e.g.,
     * generic display settings defined for `.site-nav` outside media queries).
     */
    display: none !important;
  }
  /* Ensure the mobile header is visible on small screens */
  .mobile-header {
    display: flex;
  }
  /* Adjust spacing to account for the fixed mobile header */
  .hero-section {
    padding-top: calc(var(--header-height) + 40px);
  }
  body {
    padding-top: var(--header-height);
  }
}

@media (min-width: 993px) {
  /* Hide the mobile header and overlay on larger screens */
  /* The mobile header markup has been removed; only ensure any lingering styles stay hidden */
  .mobile-header,
  .mobile-menu-overlay {
    display: none;
  }
}

/* ============ Responsive Branch Modal ============ */
@media (max-width: 480px) {
  .branch-modal-content {
    padding: 30px 20px;
  }
  
  .branch-modal-title {
    font-size: 1.3rem;
  }
  
  .branch-option {
    padding: 16px;
  }
  
  .branch-option-name {
    font-size: 1rem;
  }
}

/* ============ Adjust existing hero for mobile header ============ */
@media (max-width: 992px) {
  .hero-section {
    min-height: calc(100vh - var(--header-height));
  }
  
  .menu-container {
    padding-top: 80px;
  }
}

/* ============ Fix header variable reference ============ */
:root {
  --header-height: 60px;
}

/* Mobile cart drawer fixes */
@media (max-width: 992px) {
  .cart-header {
    padding: 20px 20px 15px;
  }
  
  .cart-items,
  .review-list,
  .form-container {
    padding: 15px 20px;
  }
  
  .cart-footer {
    padding: 15px 20px;
  }
  
  .step-header {
    padding: 15px 20px 10px;
  }
  
  .cart-step {
    max-height: calc(100vh - 60px);
    max-height: calc(100dvh - 60px);
  }
}

/* iPhone specific fixes */
@media (max-width: 480px) {
  .form-group {
    margin-bottom: 14px;
  }
  
  .button-group {
    margin-bottom: 10px;
  }
  
  .cart-drawer {
    height: 100vh;
    height: 100dvh;
  }
}

/* Inquiry button for weight-based products */
.inquiry-btn {
  background: rgba(37, 211, 102, 0.15) !important;
  border-color: rgba(37, 211, 102, 0.3) !important;
  color: #25D366 !important;
}

.inquiry-btn:hover {
  background: rgba(37, 211, 102, 0.25) !important;
  border-color: rgba(37, 211, 102, 0.5) !important;
  transform: translateY(-2px);
}

.inquiry-btn i {
  color: #25D366;
}

/* ============================================================
   OUR STORY SECTION - HERITAGE DESIGN
   ============================================================ */

#story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

#story .story-image-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-radius: 20px;
}

#story .story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: sepia(0.25) saturate(1.15) brightness(0.92) contrast(1.05);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, transparent 100%);
}

#story .story-content {
  position: relative;
}

#story .heritage-container {
  background: rgba(58, 42, 31, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #e0b366;
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

#story .kahramana-logo-icon {
  display: block;
  margin: 0 auto 1.5rem auto;
  filter: drop-shadow(0 2px 6px rgba(224, 179, 102, 0.4));
}

#story .heritage-title {
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 3rem);
  text-shadow: 0 2px 8px rgba(224, 179, 102, 0.4);
  background: linear-gradient(135deg, #e0b366 0%, #ffddad 50%, #e0b366 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 1rem 0;
  text-align: center;
}

#story .heritage-subtitle {
  text-align: center;
  color: rgba(255, 221, 173, 0.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

#story .heritage-text-content {
  margin: 2rem 0;
}

#story .story-paragraph {
  font-family: 'Cairo', sans-serif;
  line-height: 2;
  color: rgba(248, 244, 239, 0.92);
  font-size: 1.05rem;
  text-align: justify;
}

#story .heritage-quote {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(224, 179, 102, 0.3);
}

#story .heritage-quote .gold-text {
  font-style: italic;
  font-size: 1.15rem;
  color: #e0b366;
}

/* Scroll Animation */
#story .animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#story .animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   FOUNDER SECTION - LEGACY DESIGN
   ============================================================ */

#owner.founder-section {
  position: relative;
  overflow: visible;
}

#owner .founder-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 3rem;
  align-items: start;
  position: relative;
}

#owner .founder-layout::after {
  content: '';
  position: absolute;
  left: 400px;
  top: 30%;
  bottom: 40%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(224, 179, 102, 0.4),
    transparent
  );
  z-index: 1;
}

body[dir="ltr"] #owner .founder-layout::after {
  left: auto;
  right: 400px;
}

#owner .founder-image-card {
  position: relative;
  z-index: 2;
  margin-left: -20px;
}

#owner .founder-image-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(58, 42, 31, 0.3) 100%
  );
  pointer-events: none;
}

#owner .founder-photo {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  display: block;
}

#owner .founder-photo:hover {
  transform: scale(1.02);
  filter: contrast(1.1) saturate(1.2);
}

#owner .founder-message-card {
  background: rgba(58, 42, 31, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(224, 179, 102, 0.25);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(224, 179, 102, 0.1);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3.5rem);
  margin-left: -40px;
  position: relative;
  z-index: 1;
}

#owner .founder-message-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background-image: 
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" /></filter><rect width="200" height="200" filter="url(%23noise)" opacity="0.03"/></svg>');
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}

#owner .founder-section-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 0.5rem;
}

#owner .founder-name {
  color: #e0b366;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

#owner .founder-quotation-block {
  position: relative;
  padding: 2rem 1.5rem;
  margin: 2rem 0;
}

#owner .founder-quotation-block::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 0;
  font-family: Georgia, serif;
  font-size: 120px;
  line-height: 1;
  color: rgba(224, 179, 102, 0.15);
  z-index: 0;
}

body[dir="ltr"] #owner .founder-quotation-block::before {
  left: auto;
  right: 0;
}

#owner .founder-message-text {
  font-family: 'Cairo', sans-serif;
  font-weight: 400;
  line-height: 1.8;
  font-size: 1.05rem;
  color: rgba(248, 244, 239, 0.9);
  text-align: justify;
  position: relative;
  z-index: 1;
}

#owner .founder-signature-area {
  margin-top: 3rem;
  position: relative;
}

#owner .founder-quote-text {
  font-style: italic;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 1.5rem;
}

#owner .founder-signature {
  position: absolute;
  bottom: -10px;
  right: 1rem;
  filter: drop-shadow(0 2px 4px rgba(224, 179, 102, 0.3));
}

body[dir="ltr"] #owner .founder-signature {
  right: auto;
  left: 1rem;
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
  #story {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  #story .story-image-wrapper {
    height: 400px;
  }

  #story .heritage-container {
    padding: 2rem;
  }

  #owner .founder-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  #owner .founder-image-card {
    margin-left: 0;
  }

  #owner .founder-message-card {
    margin-left: 0;
  }

  #owner .founder-signature {
    position: static;
    margin-top: 1rem;
    display: block;
  }
}

@media (max-width: 768px) {
  #story .story-image-wrapper {
    height: 300px;
  }

  #story .heritage-container {
    padding: 1.5rem;
  }

  #story .heritage-title {
    font-size: 1.75rem;
  }

  #story .story-paragraph,
  #owner .founder-message-text {
    font-size: 1rem;
    line-height: 1.75;
    text-align: right;
  }

  body.lang-en #story .story-paragraph,
  body.lang-en #owner .founder-message-text {
    text-align: left;
  }

  #owner .founder-quotation-block {
    padding: 1.5rem 1rem;
  }

  #owner .founder-quotation-block::before {
    font-size: 80px;
  }
}

/* ============================================================
   NAVIGATION LOGO FIX
   ============================================================ */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.nav-logo-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 992px) {
  .nav-logo-img {
    height: 35px;
  }
}

/* ============================================================
   ARABIC TEXT JUSTIFICATION FIX (MOBILE)
   ============================================================ */
@media (max-width: 768px) {
  #story .story-paragraph,
  #owner .founder-message-text {
    text-align: justify;
    text-align-last: right;
    hyphens: none;
  }

  body.lang-en #story .story-paragraph,
  body.lang-en #owner .founder-message-text {
    text-align: justify;
    text-align-last: left;
  }
}

/* ============================================================
   STORY IMAGE DISPLAY FIX
   ============================================================ */
#story .story-image-wrapper {
  display: block;
  width: 100%;
  min-height: 400px;
}

#story .story-image {
  display: block;
  width: 100%;
  height: 100%;
}

/* ============================================================
   MOBILE LOGO FIX
   ============================================================ */
.mobile-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* ============================================================
   BRANCH STATUS & HOURS
   ============================================================ */
.map-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

/*
 * Responsive unified navigation adjustments
 *
 * The mobile-specific header has been removed in favor of a single
 * navigation bar. On small screens, only the hamburger button and
 * brand logo remain visible in the top navigation. This rule hides
 * the full link set and actions on mobile and displays the hamburger
 * toggle instead. On larger screens, the hamburger remains hidden.
 */
.site-nav .hamburger-btn {
  display: none;
}

@media (max-width: 992px) {
  .site-nav .hamburger-btn {
    display: flex;
    margin-inline-end: 1rem;
  }
  .site-nav .nav-links,
  .site-nav .nav-actions {
    display: none !important;
  }
}

.branch-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.branch-status.status-open {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.branch-status.status-open .status-dot {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.branch-status.status-closed {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.branch-status.status-closed .status-dot {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.branch-hours {
  color: rgba(248, 244, 239, 0.7);
  font-size: 0.9rem;
  margin: 0 0 15px 0;
}

@media (max-width: 768px) {
  .map-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .branch-status {
    font-size: 0.8rem;
    padding: 3px 10px;
  }
}

/* ============================================================
   CART BADGE STYLING
   ============================================================ */
.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #e0b366;
  color: #3a2a1f;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-badge.has-items {
  opacity: 1;
  transform: scale(1);
}

body[dir="ltr"] .cart-badge {
  right: auto;
  left: -8px;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   IMAGE LOADING EFFECTS
   ============================================================ */
img {
  background: rgba(224, 179, 102, 0.05);
}

/* Blur-up placeholder effect */
.menu-card img,
.map-card img,
.story-image,
.owner-photo {
  background: linear-gradient(
    135deg,
    rgba(224, 179, 102, 0.03) 0%,
    rgba(224, 179, 102, 0.08) 50%,
    rgba(224, 179, 102, 0.03) 100%
  );
}


/* ===== Accessibility & Dialog Scroll Lock ===== */
.no-scroll {
  overflow: hidden !important;
  touch-action: none;
}

/* ===== Option Sets (Sizes) — no inline styles ===== */
.option-set {
  margin: 15px 0;
  padding: 12px 0;
  border-top: 1px solid rgba(224, 179, 102, 0.2);
}
.option-set-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}
.option-set-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.option-btn {
  flex: 1;
  min-width: 100px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(224, 179, 102, 0.1);
  border: 1px solid rgba(224, 179, 102, 0.3);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  min-height: 44px; /* Touch target */
}
.option-btn:hover {
  background: rgba(224, 179, 102, 0.2);
  border-color: rgba(224, 179, 102, 0.5);
  transform: translateY(-2px);
}
.option-btn.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: #3a2a1f;
  box-shadow: 0 4px 12px rgba(224, 179, 102, 0.4);
  transform: translateY(0);
}


.noscript-warning{padding:12px 16px;text-align:center;background:#3a2a1f;color:#f8f4ef;}

/* إصلاح مشاكل النص في الوضع الإنجليزي */
body.lang-en {
  text-align: left;
}

body.lang-en .story-paragraph,
body.lang-en .founder-message-text,
body.lang-en .card-desc {
  text-align: left;
  text-align-last: left;
}

body.lang-en .mobile-menu-overlay {
  direction: ltr;
}

body.lang-en .mobile-menu-link {
  text-align: left;
}

/* اجعل عناصر Dropdown متوافقة مع LTR */
body.lang-en .contact-dropdown {
  direction: ltr;
  text-align: left;
}

/*
 * ================================================================
 * Premium Apple‑level Navigation Redesign
 *
 * The following overrides are placed at the end of the stylesheet to
 * ensure they win the cascade. They introduce a more generous
 * layout, a frosted glass backdrop for the header, and a pill‑like
 * action group. Typography and spacing are adjusted to convey
 * premium calmness, and micro‑interactions remain subtle. The
 * changes apply only to the primary nav and do not affect other
 * components.
 */

/* Header container */
.site-nav {
  background: rgba(58, 42, 31, 0.50);
  backdrop-filter: blur(20px) saturate(2);
  -webkit-backdrop-filter: blur(20px) saturate(2);
  border-bottom: 1px solid rgba(224, 179, 102, 0.4);
  height: 72px;
  display: flex;
  align-items: center;
  z-index: 2000;
}

/* Align logo, links and actions using CSS grid */
.site-nav .nav-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
  column-gap: 2rem;
}

/* Centre links and increase their spacing */
.site-nav .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.4rem;
}

.site-nav .nav-link {
  color: var(--text-light);
  font-size: 1rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.25s var(--ease);
}

.site-nav .nav-link:hover {
  color: var(--gold);
}

.site-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.site-nav .nav-link:hover::after {
  transform: scaleX(1);
}

/* Pill‑shaped action group */
.site-nav .nav-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 244, 239, 0.06);
  border: 1px solid rgba(224, 179, 102, 0.35);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(224, 179, 102, 0.2);
}

.site-nav .nav-actions button {
  border: none;
  background: transparent;
  color: var(--text-light);
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.15s var(--ease);
}

.site-nav .nav-actions button:not(:last-child) {
  border-right: 1px solid rgba(224, 179, 102, 0.35);
}

.site-nav .nav-actions button:hover {
  background: rgba(224, 179, 102, 0.14);
  color: var(--gold);
}

.site-nav .nav-actions button:active {
  transform: scale(0.96);
}

/* Increase logo margin to preserve clear space */
.site-nav .brand-logo {
  margin-right: 0;
  margin-left: 0;
}

/* Mobile menu overlay – refine visual presence */
#mobile-menu.mobile-menu-overlay {
  /* slightly lighter overlay with stronger blur */
  background: rgba(58, 42, 31, 0.90);
  backdrop-filter: blur(40px) saturate(1.8);
  -webkit-backdrop-filter: blur(40px) saturate(1.8);
  border-top: 1px solid rgba(224, 179, 102, 0.35);
}

/* Increase mobile menu link size and spacing */
#mobile-menu .mobile-menu-link {
  font-size: 1.2rem;
  padding: 22px 32px;
  border-radius: 18px;
}

#mobile-menu .mobile-menu-link:hover,
#mobile-menu .mobile-menu-link:focus {
  background: rgba(224, 179, 102, 0.14);
  border-color: rgba(224, 179, 102, 0.35);
  color: var(--gold);
  transform: translateY(-3px);
}
