/* ==========================================================================
   Moe's PureBite — Customer UI Styles (Mobile-First)
   ========================================================================== */

/* App Container */
.app-container {
  width: 100%;
  max-width: 520px;
  /* Mobile-first container that expands gracefully on desktop */
  margin: 0 auto;
  min-height: 100vh;
  background-color: var(--c-cream);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 40px rgba(6, 59, 41, 0.06);
}

@media (min-width: 992px) {
  .app-container.desktop-mode {
    max-width: var(--max-w-desktop);
    box-shadow: none;
  }
}

/* ==========================================================================
   Top Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(247, 243, 234, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-cream-border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-hamburger {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--c-forest);
  color: var(--c-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  /* Make it slightly bigger since user said it looked small */
  transition: transform var(--t-fast), background-color var(--t-fast);
  box-shadow: var(--shadow-subtle);
  appearance: none;
  -webkit-appearance: none;
  border: none;
  padding: 0;
  margin: 0;
  line-height: 1;
}

.btn-hamburger:active {
  transform: scale(0.92);
}

.header-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.header-page-title {
  font-family: 'Aparajita', var(--font-sans);
  font-size: 1.35rem;
  /* Reduced size */
  font-weight: 900;
  /* Maximum thickness */
  -webkit-text-stroke: 0.5px var(--c-forest);
  /* Forces the font to render even thicker */
  color: var(--c-forest);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  /* Prevent wrapping which increases header height */
}

.header-brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-lang-toggle {
  background: var(--c-forest);
  border: none;
  color: var(--c-cream);
  font-family: var(--font-arabic), var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: all var(--t-fast);
}

.btn-lang-toggle:hover {
  background: var(--c-forest);
  color: var(--c-cream);
}

.btn-header-wa {
  height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  background-color: var(--c-forest);
  color: var(--c-cream);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(233, 154, 22, 0.3);
  transition: all var(--t-fast);
}

.btn-header-wa:hover {
  background-color: var(--c-forest-light);
  border-color: var(--c-orange);
}

.btn-header-wa svg {
  color: #25D366;
}

.btn-cart-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: #FFFFFF;
  border: 1.5px solid var(--c-cream-border);
  color: var(--c-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}

.btn-cart-icon:hover {
  background-color: var(--c-cream-soft);
  border-color: var(--c-forest);
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--c-orange);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(233, 154, 22, 0.4);
  transition: transform var(--t-fast);
}

.cart-count-badge.bump {
  animation: badgePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badgePop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.4);
  }

  100% {
    transform: scale(1);
  }
}

/* ==========================================================================
   Sidebar Drawer (Left Slide-in)
   ========================================================================== */
.sidebar-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 290px;
  max-width: 82vw;
  background-color: var(--c-forest);
  color: var(--c-cream);
  z-index: 9500;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 20px calc(24px + env(safe-area-inset-bottom));
  transform: translateX(-105%);
  transition: transform var(--t-medium);
  box-shadow: var(--shadow-modal);
}

.sidebar-drawer.open {
  transform: translateX(0);
}

.sidebar-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sidebar-brand-emblem {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-full);
  background-color: transparent;
  padding: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--c-cream);
}

.sidebar-brand-emblem img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  transform: scale(1.05);
}

.sidebar-brand-name {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--c-cream);
  line-height: 1.1;
}

.sidebar-brand-name span {
  color: var(--c-orange);
}

.sidebar-brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: rgba(247, 243, 234, 0.7);
  text-transform: uppercase;
  margin-top: 4px;
  margin-bottom: 28px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-cream);
  transition: all var(--t-fast);
}

.sidebar-nav-item svg {
  width: 22px;
  height: 22px;
  opacity: 0.85;
}

.sidebar-nav-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

/* Active sidebar item */
.sidebar-nav-item.active {
  background-color: var(--c-cream);
  color: var(--c-forest);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.sidebar-nav-item.active svg {
  color: var(--c-orange);
  opacity: 1;
}

.sidebar-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-sidebar-wa {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-full);
  background-color: #FFFFFF;
  color: var(--c-forest);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all var(--t-fast);
}

.btn-sidebar-wa:hover {
  background-color: var(--c-cream);
  transform: translateY(-2px);
}

.btn-sidebar-wa svg {
  color: #25D366;
}

.sidebar-admin-link {
  font-size: 0.8rem;
  color: rgba(247, 243, 234, 0.6);
  text-align: center;
  padding: 6px;
  transition: color var(--t-fast);
}

.sidebar-admin-link:hover {
  color: var(--c-orange);
}

/* ==========================================================================
   Home Page View
   ========================================================================== */
.home-view {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 4px 16px 80px;
  /* Reduced top padding */
}

/* ==========================================================================
   Redesigned Premium Home Page
   ========================================================================== */

/* Compact Hero Section */
.home-hero-compact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background:
    linear-gradient(135deg, rgba(4, 43, 30, 0.88) 0%, rgba(6, 59, 41, 0.70) 50%, rgba(4, 43, 30, 0.88) 100%),
    url('../images/user_kitchen_bg.png') center/cover no-repeat;
  background-size: 200% 200%, cover;
  animation: hero-bg-shimmer 12s ease infinite;
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  position: relative;
  border: 1px solid var(--c-forest-dark);
  overflow: hidden;
}

.home-hero-compact::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(233, 154, 22, 0.12) 0%, transparent 50%);
  pointer-events: none;
  animation: hero-glow-pulse 8s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes hero-bg-shimmer {
  0% {
    background-position: 0% 50%, center;
  }

  50% {
    background-position: 100% 50%, center;
  }

  100% {
    background-position: 0% 50%, center;
  }
}

@keyframes hero-glow-pulse {
  0% {
    transform: scale(0.8) translate(5%, 5%);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.2) translate(-5%, -5%);
    opacity: 1;
  }
}

@media (min-width: 768px) {
  .home-hero-compact {
    flex-direction: row;
    align-items: center;
    padding: 40px;
    gap: 40px;
  }
}

.hero-brand-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  position: relative;
}

@media (min-width: 768px) {
  .hero-brand-col {
    flex: 1;
    max-width: 50%;
    align-items: flex-start;
    text-align: left;
    padding-bottom: 40px;
  }
}

.hero-logo-small {
  width: 120px;
  height: 120px;
  background-color: transparent;
  border-radius: var(--radius-full);
  padding: 0;
  box-shadow: 0 4px 16px rgba(6, 59, 41, 0.08);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--c-cream);
  animation: logo-premium-float 4s ease-in-out infinite;
  overflow: hidden;
}

@keyframes logo-premium-float {
  0% {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(6, 59, 41, 0.1);
  }

  50% {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(233, 154, 22, 0.15);
  }

  100% {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(6, 59, 41, 0.1);
  }
}

.hero-logo-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  /* Zoom in slightly to perfectly crop the square edges */
}

/* Subtle single-pass glow on logo on page load */
.logo-subtle-glow {
  position: relative;
  overflow: hidden;
}

.logo-subtle-glow::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  animation: logo-sweep-once 1.5s ease-out 0.5s forwards;
}

@keyframes logo-sweep-once {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(247, 243, 234, 0.1);
  color: var(--c-cream);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.hero-trust-badge svg {
  color: var(--c-orange);
}

.hero-intro-text {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--c-cream);
  line-height: 1.3;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
  }
}

.btn-primary-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--c-orange);
  color: var(--c-forest);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--t-fast);
}

.btn-primary-compact:hover {
  background-color: #d18a13;
  transform: translateY(-2px);
}

.btn-subscription-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(247, 243, 234, 0.12);
  color: var(--c-cream);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(247, 243, 234, 0.45);
  text-decoration: none;
  transition: all var(--t-fast);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-subscription-compact:hover {
  background-color: var(--c-cream);
  color: var(--c-forest);
  border-color: var(--c-cream);
  transform: translateY(-2px);
}

[dir="rtl"] .btn-subscription-compact svg {
  transform: scaleX(-1);
}

.btn-wa-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--c-cream);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: all var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-wa-compact svg {
  color: #25D366;
  flex-shrink: 0;
}

.btn-wa-compact:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-phone-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--c-cream);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: all var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.btn-phone-compact svg {
  color: #FFA500;
  flex-shrink: 0;
}

.btn-phone-compact:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  color: var(--c-cream);
}

.btn-eshya-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--c-cream);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: all var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-eshya-compact:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-eshya-compact img {
  border-radius: 4px;
  flex-shrink: 0;
}

.hero-image-col {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 16px;
}

@media (min-width: 768px) {
  .hero-image-col {
    flex: 1;
    margin-top: 0;
    padding-top: 0;
    justify-content: flex-end;
  }
}

.hero-static-food {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  margin: 16px auto 0;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  display: block;
}

/* Full-Width Trust Strip (Ribbon Style) */
.trust-strip-compact {
  background: linear-gradient(90deg, var(--c-forest) 0%, #08402d 25%, #0b5c40 50%, #08402d 75%, var(--c-forest) 100%);
  background-size: 200% 100%;
  animation: trust-strip-shimmer 6s linear infinite;
  border-top: 1px solid var(--c-orange);
  border-bottom: 1px solid var(--c-orange);
  border-left: none;
  border-right: none;
  border-radius: 0;
  /* Remove rounded corners so it touches edges */
  padding: 16px 20px;
  display: flex;
  overflow: hidden;
  margin: 32px -16px;
  /* Break out of .home-view padding to touch absolute edges */
  width: calc(100% + 32px);
  max-width: none;
  box-sizing: border-box;
  box-shadow: 0 10px 30px rgba(6, 59, 41, 0.15);
  position: relative;
  z-index: 10;
}

@keyframes trust-strip-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: 0% 0;
  }
}

.trust-strip-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 8px));
  }
}

.trust-strip-item {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
}

.trust-strip-item svg {
  color: var(--c-orange);
}

.trust-strip-dot {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
}

/* Discovery Section */
.home-discovery-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.discovery-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--c-forest);
  margin-bottom: 8px;
}

/* Category Row */
.home-category-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.home-category-row::-webkit-scrollbar {
  display: none;
}

.home-category-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background-color: #FFFFFF;
  border: 1px solid var(--c-cream-border);
  border-radius: var(--radius-full);
  color: var(--c-forest);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--t-fast);
}

.about-minimal-footer p {
  color: var(--c-text-muted);
  font-size: 0.85rem;
}

.btn-operix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--c-forest);
  color: #ffffff;
  padding: 4px 16px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.3;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 0 12px rgba(6, 59, 41, 0.4);
}

.btn-operix:hover {
  background-color: #042017;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(6, 59, 41, 0.6);
}

.home-category-pill:hover {
  background-color: var(--c-cream-soft);
  border-color: var(--c-forest);
}

/* Product Grid (2-column on mobile) */
.home-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 600px) {
  .home-product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.home-product-card {
  background-color: #FFFFFF;
  border: 1px solid var(--c-cream-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  box-shadow: var(--shadow-subtle);
}

.home-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 59, 41, 0.08);
}

.home-product-img {
  width: 100%;
  height: 160px;
  background-color: var(--c-cream-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 12px;
}

.home-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-gf-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: var(--c-forest);
  color: var(--c-cream);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 6px;
  border-radius: 4px;
}

.home-product-details {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.home-product-details h3 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--c-forest);
  margin-bottom: 4px;
  line-height: 1.2;
}

.home-product-details p {
  font-size: 0.7rem;
  color: var(--c-text-muted);
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-product-bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home-product-price {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--c-forest);
}

.home-product-arrow {
  color: var(--c-orange);
  font-weight: 800;
  font-size: 1rem;
}

.home-discovery-cta {
  text-align: center;
  margin-top: 16px;
}

.btn-outline-compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--c-forest);
  background-color: #FFFFFF;
  color: var(--c-forest);
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--t-fast);
}

.btn-outline-compact:hover {
  background-color: var(--c-forest);
  color: var(--c-cream);
}

/* About Snippet Card */
.home-about-snippet-card {
  background:
    radial-gradient(circle at top right, rgba(209, 138, 19, 0.08), transparent 60%),
    radial-gradient(circle at bottom left, rgba(6, 59, 41, 0.08), transparent 60%),
    #FFFFFF;
  border: 1px solid var(--c-cream-border);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.03);
}

.snippet-logo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.06));
}

.home-about-content h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--c-forest);
  margin-bottom: 12px;
}

.home-about-content p {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Contact Us Card */
.home-contact-card {
  background-color: transparent;
}

.contact-card-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--c-forest-dark);
  margin-bottom: 16px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social-btn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background-color: var(--c-cream-soft);
  border: 1px solid var(--c-cream-border);
  border-radius: var(--radius-md);
  color: var(--c-forest);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--t-fast);
}

.social-btn:hover {
  background-color: #FFFFFF;
  border-color: var(--c-forest);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 59, 41, 0.08);
}

.social-btn.btn-wa {
  color: #25D366;
}

/* Delivery App Card */
.home-delivery-app-card {
  background-color: #FFFFFF;
  border: 1px solid var(--c-cream-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  margin-top: 12px;
}

.delivery-app-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-text-muted);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.delivery-app-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.delivery-app-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
  object-fit: contain;
  border-radius: 8px;
}

.delivery-app-content p {
  font-size: 0.9rem;
  color: var(--c-forest);
  margin-bottom: 24px;
  line-height: 1.5;
}

.btn-delivery-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: var(--c-forest);
  color: var(--c-cream);
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--t-fast);
  width: 100%;
}

.btn-delivery-app:hover {
  background-color: var(--c-forest-dark);
  transform: translateY(-2px);
}

/* Compact Footer */
.home-footer-compact {
  padding: 16px 0;
  border-top: 1px solid var(--c-cream-border);
  text-align: center;
}

.wa-text {
  color: #25D366;
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--c-text-muted);
}


/* ==========================================================================
   Menu Page View (Product-First)
   ========================================================================== */
.menu-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 16px 90px;
}

/* Compact Trust Strip on Menu */
.menu-trust-strip {
  background-color: #FFFFFF;
  border: 1px solid var(--c-cream-border);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  text-align: center;
  box-shadow: var(--shadow-subtle);
}

.menu-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.menu-trust-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: var(--c-cream-soft);
  color: var(--c-forest);
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-trust-icon svg {
  width: 20px;
  height: 20px;
}

.menu-trust-text {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--c-forest);
  line-height: 1.1;
}

/* Category Horizontal Scrollable Bar */
.category-nav-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.category-nav-bar::-webkit-scrollbar {
  display: none;
}

.category-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background-color: #FFFFFF;
  border: 1px solid var(--c-cream-border);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-forest);
  transition: all var(--t-fast);
  white-space: nowrap;
}

.category-pill:hover {
  background-color: var(--c-cream-soft);
}

.category-pill.active {
  background-color: var(--c-forest);
  color: var(--c-cream);
  border-color: var(--c-forest);
  box-shadow: 0 4px 12px rgba(6, 59, 41, 0.18);
}

.category-pill.active .cat-icon {
  transform: scale(1.1);
}

/* Product Cards List */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card {
  background-color: #FFFFFF;
  border: 1px solid var(--c-cream-border);
  border-radius: var(--radius-lg);
  padding: 12px;
  display: flex;
  gap: 14px;
  box-shadow: var(--shadow-subtle);
  cursor: pointer;
  position: relative;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.product-card-img-wrap {
  width: 105px;
  height: 105px;
  border-radius: var(--radius-md);
  background-color: var(--c-cream-soft);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-fast);
}

.product-card:hover .product-card-img {
  transform: scale(1.05);
}


.product-card-bestseller-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background-color: var(--c-orange);
  color: #FFFFFF;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}

.product-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card-top {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.product-card-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--c-forest);
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-card-desc {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.product-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.product-card-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--c-forest);
  letter-spacing: -0.2px;
}

.product-card-price span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-text-muted);
  margin-left: 2px;
}

.btn-card-add {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: var(--c-forest);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  transition: all var(--t-fast);
  box-shadow: 0 2px 8px rgba(6, 59, 41, 0.15);
}

.btn-card-add:hover {
  background-color: var(--c-forest-light);
  transform: scale(1.08);
}

.btn-card-add:active {
  transform: scale(0.92);
}

/* Unavailable Product State */
.product-card.unavailable {
  opacity: 0.6;
  filter: grayscale(0.4);
}

.product-card-unavailable-tag {
  background-color: #EEE;
  color: #666;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
}

/* Pre-order banner on card */
.preorder-warning-banner {
  background-color: rgba(233, 154, 22, 0.15); /* Light orange tint */
  border: 1px solid var(--c-orange);
  color: #B47100; /* Darker orange text for contrast */
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 8px;
  line-height: 1.4;
}

/* ==========================================================================
   Product Details (Bottom Sheet / Modal)
   ========================================================================== */
.product-modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  background-color: #FFFFFF;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  z-index: 9200;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-modal);
  transition: transform var(--t-medium);
}

.product-modal.open {
  transform: translate(-50%, 0);
}

.modal-header-bar {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--c-cream-border);
  background-color: var(--c-cream-soft);
}

.btn-modal-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: #FFFFFF;
  border: 1px solid var(--c-cream-border);
  color: var(--c-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.modal-scroll-body {
  overflow-y: auto;
  padding: 16px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  -webkit-overflow-scrolling: touch;
}

.modal-product-hero-img-wrap {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-lg);
  background-color: var(--c-cream-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.modal-product-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-product-info-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-product-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-product-title {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-forest);
}

.modal-product-live-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--c-forest);
  transition: transform var(--t-fast);
}

.modal-product-desc {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  line-height: 1.45;
}

/* Ingredients Section */
.customizer-section {
  background-color: var(--c-cream-soft);
  border: 1px solid var(--c-cream-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.customizer-section-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--c-forest);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.ingredient-item-card {
  background-color: #FFFFFF;
  border: 1.5px solid var(--c-cream-border);
  border-radius: var(--radius-md);
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: all var(--t-fast);
  min-width: 0;
  cursor: pointer;
  user-select: none;
}

.ingredient-item-card:hover {
  border-color: var(--c-sand);
}

.ingredient-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-forest);
  line-height: 1.25;
  flex: 1;
  min-width: 0;
  word-break: normal;
}

.ingredient-item-card.removed {
  background-color: var(--c-danger-light);
  border-color: rgba(200, 50, 32, 0.3);
  opacity: 0.75;
}

.ingredient-item-card.removed .ingredient-name {
  text-decoration: line-through;
  color: var(--c-danger);
}

.btn-ingredient-toggle {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  background-color: var(--c-cream-soft);
  color: var(--c-text-muted);
  flex-shrink: 0;
  transition: all var(--t-fast);
}

.ingredient-badge-base {
  font-size: 0.68rem;
  font-weight: 700;
  color: #888;
  background-color: var(--c-cream-soft);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.ingredient-item-card.removed .btn-ingredient-toggle {
  background-color: var(--c-danger);
  color: #FFFFFF;
}

/* Option Groups (Radio selections) */
.option-group-card {
  background-color: #FFFFFF;
  border: 1px solid var(--c-cream-border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-group-label {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--c-forest);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.option-required-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--c-orange);
  text-transform: uppercase;
}

.options-pill-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.option-radio-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--c-cream-border);
  background-color: var(--c-cream-soft);
  cursor: pointer;
  transition: all var(--t-fast);
  font-size: 0.88rem;
  font-weight: 600;
}

.option-radio-label:hover {
  border-color: var(--c-forest);
}

.option-radio-label.selected {
  background-color: #FFFFFF;
  border-color: var(--c-forest);
  box-shadow: 0 2px 8px rgba(6, 59, 41, 0.1);
  font-weight: 800;
  color: var(--c-forest);
}

/* Modifiers / Add Extras Checkbox Cards */
.modifiers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.modifier-check-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--c-cream-border);
  background-color: #FFFFFF;
  cursor: pointer;
  transition: all var(--t-fast);
}

.modifier-check-card.checked {
  border-color: var(--c-orange);
  background-color: var(--c-orange-light);
}

.modifier-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-forest);
}

.modifier-price {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--c-orange);
}

/* Quantity Control */
.quantity-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: #FFFFFF;
  border: 1px solid var(--c-cream-border);
  border-radius: var(--radius-md);
}

.quantity-stepper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-stepper {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: var(--c-forest);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  transition: all var(--t-fast);
}

.btn-stepper:active {
  transform: scale(0.92);
}

.stepper-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--c-forest);
  min-width: 24px;
  text-align: center;
}

/* Modal Bottom Actions Bar */
.modal-bottom-bar {
  padding: 14px 18px;
  border-top: 1px solid var(--c-cream-border);
  background-color: #FFFFFF;
  display: flex;
  gap: 10px;
}

.btn-modal-add {
  flex: 1;
  height: 52px;
  border-radius: var(--radius-full);
  background-color: var(--c-forest);
  color: var(--c-cream);
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(6, 59, 41, 0.25);
  transition: all var(--t-fast);
}

.btn-modal-add:hover {
  background-color: var(--c-forest-light);
}

.btn-modal-unavailable {
  flex: 1;
  height: 52px;
  border-radius: var(--radius-full);
  background-color: #F1F5F9;
  color: #64748B;
  font-size: 0.98rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid #CBD5E1;
  box-shadow: none;
  cursor: not-allowed;
  user-select: none;
}


/* ==========================================================================
   Sticky Bottom Cart Bar (Appears when items in cart > 0)
   ========================================================================== */
.sticky-cart-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: calc(100% - 32px);
  max-width: 480px;
  z-index: 8500;
  background-color: var(--c-forest);
  color: var(--c-cream);
  border-radius: var(--radius-full);
  padding: 10px 14px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sticky);
  transition: transform var(--t-medium), opacity var(--t-medium), visibility var(--t-medium);
  border: 1px solid rgba(233, 154, 22, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sticky-cart-bar.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sticky-cart-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-cart-icon-wrap {
  position: relative;
}

.sticky-cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--c-orange);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.sticky-cart-meta {
  display: flex;
  flex-direction: column;
}

.sticky-cart-label {
  font-size: 0.72rem;
  color: rgba(247, 243, 234, 0.75);
  font-weight: 600;
}

.sticky-cart-total {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--c-cream);
  letter-spacing: -0.2px;
}

.btn-sticky-view-cart {
  background-color: var(--c-orange);
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(233, 154, 22, 0.3);
  transition: all var(--t-fast);
}

.btn-sticky-view-cart:hover {
  background-color: var(--c-orange-hover);
}

/* ==========================================================================
   Cart Page View
   ========================================================================== */
.cart-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 16px 90px;
}

.cart-empty-state {
  background-color: #FFFFFF;
  border: 1px solid var(--c-cream-border);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cart-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background-color: var(--c-cream-soft);
  color: var(--c-forest);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-empty-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-forest);
}

.cart-empty-desc {
  font-size: 0.88rem;
  color: var(--c-text-muted);
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-item-card {
  background-color: #FFFFFF;
  border: 1px solid var(--c-cream-border);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  gap: 12px;
  box-shadow: var(--shadow-subtle);
  position: relative;
}

.cart-item-img-wrap {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background-color: var(--c-cream-soft);
  flex-shrink: 0;
  overflow: hidden;
}

.cart-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--c-forest);
}

.btn-cart-remove {
  color: var(--c-danger);
  padding: 4px;
  font-size: 1rem;
  opacity: 0.7;
}

.btn-cart-remove:hover {
  opacity: 1;
}

.cart-item-customizations {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 4px 0;
}

.cart-item-customizations span.mod-add {
  color: var(--c-orange);
  font-weight: 600;
}

.cart-item-customizations span.mod-rem {
  color: var(--c-danger);
  text-decoration: line-through;
}

.cart-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.cart-item-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-cart-step {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background-color: var(--c-forest);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.cart-item-qty {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--c-forest);
  min-width: 18px;
  text-align: center;
}

.cart-item-line-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--c-forest);
}

/* Order Summary Box */
.cart-summary-box {
  background-color: #FFFFFF;
  border: 1px solid var(--c-cream-border);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-subtle);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--c-text-muted);
}

.summary-row.total {
  border-top: 1.5px solid var(--c-cream-border);
  padding-top: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-forest);
}

.cart-notes-input {
  width: 100%;
  border: 1px solid var(--c-cream-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 0.85rem;
  background-color: var(--c-cream-soft);
  resize: vertical;
  min-height: 60px;
}

/* Cart WhatsApp Checkout Button */
.btn-checkout-whatsapp {
  width: 100%;
  min-height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #25D366 0%, #1ea952 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.28);
  transition: all var(--t-fast);
  cursor: pointer;
  border: none;
}

.btn-checkout-whatsapp:hover {
  background: linear-gradient(135deg, #22c35e 0%, #1b9649 100%);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.38);
  transform: translateY(-2px);
}

.btn-checkout-whatsapp svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.btn-checkout-whatsapp .btn-wa-labels {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.25;
}

.btn-checkout-whatsapp .btn-wa-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.btn-checkout-whatsapp .btn-wa-sub {
  font-size: 0.74rem;
  font-weight: 600;
  opacity: 0.92;
  margin-top: 2px;
  background: rgba(0, 0, 0, 0.12);
  padding: 1px 8px;
  border-radius: var(--radius-full);
}

/* Cart Delivery Alternative Card */
.cart-delivery-card {
  margin-top: 14px;
  background: #FAFAF7;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-delivery-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-delivery-card-header .delivery-pill-tag {
  background: #FEF3C7;
  color: #92400E;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.cart-delivery-card-header .delivery-card-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--c-forest);
}

.cart-delivery-card-desc {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  margin: 0;
  line-height: 1.4;
}

.btn-cart-delivery-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--c-text);
  border: 1.5px solid #FCD34D;
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: all var(--t-fast);
  cursor: pointer;
}

.btn-cart-delivery-link:hover {
  background: #FFFBEB;
  border-color: #F59E0B;
  color: #78350F;
  transform: translateY(-1px);
}

.btn-cart-delivery-link img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

/* Menu Order Methods Bar (Compact, matching banner color, no icons) */
.menu-order-methods-bar {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  padding: 0;
}

.menu-order-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-forest) 0%, #17543d 50%, var(--c-forest) 100%);
  color: #FFFFFF !important;
  border-radius: var(--radius-md);
  padding: 8px 8px;
  text-decoration: none !important;
  font-size: clamp(0.72rem, 3.2vw, 0.78rem);
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 2px 6px rgba(6, 59, 41, 0.15);
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.menu-order-pill:hover {
  background: linear-gradient(135deg, #17543d 0%, var(--c-forest) 100%);
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(6, 59, 41, 0.22);
}



/* ==========================================================================
   About Us Page View (Refined)
   ========================================================================== */
.about-view-refined {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 0 40px 0;
  background-color: var(--c-cream);
}

/* 1. Hero Full Bleed Banner */
.about-hero-clean {
  width: 100%;
  height: 320px;
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(6, 59, 41, 0.15);
  position: relative;
}

.about-animated-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 2. Intro Section (Who We Are) */
.about-intro-section {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--c-orange);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.about-focal-point {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--c-forest);
  line-height: 1.25;
  margin-bottom: 8px;
}

.about-story-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-story-paragraphs p {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* 3. Trust Grid 2x2 */
.about-trust-section {
  padding: 0 16px;
}

.trust-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .trust-grid-2x2 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-compact-card {
  background-color: #FFFFFF;
  border: 1px solid var(--c-cream-border);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  box-shadow: var(--shadow-subtle);
}

.trust-compact-card svg {
  width: 28px;
  height: 28px;
  color: var(--c-forest);
  margin-bottom: 4px;
}

.trust-compact-card h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--c-forest);
  line-height: 1.2;
}

.trust-compact-card p {
  font-size: 0.75rem;
  color: var(--c-text-muted);
}

/* 4. Purpose Header */
.about-purpose-header {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-top: 8px;
}

.about-purpose-header h2 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--c-forest-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.purpose-accent {
  width: 24px;
  height: 2px;
  background-color: var(--c-orange);
  border-radius: 2px;
}

/* 5. Mission & Vision */
.about-mission-vision {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .about-mission-vision {
    flex-direction: row;
  }

  .mission-vision-card {
    flex: 1;
  }
}

.mission-vision-card {
  background-color: #FFFFFF;
  border: 1px solid var(--c-cream-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-subtle);
  height: 100%;
}

.mv-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--c-cream-soft);
  color: var(--c-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.mv-icon svg {
  width: 20px;
  height: 20px;
}

.mission-vision-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--c-forest);
}

.mission-vision-card p {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* 6. Closing Refined */
.about-closing-refined {
  padding: 0 16px;
}

.closing-content {
  background-color: var(--c-forest);
  color: var(--c-cream);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 24px rgba(6, 59, 41, 0.15);
}

.closing-content h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  font-style: italic;
  color: #FFFFFF;
}

.closing-content p {
  font-size: 0.9rem;
  color: rgba(247, 243, 234, 0.85);
}

/* 7. Contact Clean */
.about-contact-clean {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-links-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 480px) {
  .contact-links-row {
    flex-direction: row;
    justify-content: center;
  }
}

.clean-social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background-color: transparent;
  border: 1px solid var(--c-cream-border);
  border-radius: var(--radius-md);
  color: var(--c-forest);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background-color var(--t-fast);
}

.clean-social-link:hover {
  background-color: #FFFFFF;
}

.contact-phone-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--c-cream-border);
}

.contact-phone-block span {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
}

.contact-phone-block a {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--c-forest);
  text-decoration: none;
  display: inline-block;
  padding: 8px 24px;
  border: 2px solid var(--c-forest);
  border-radius: var(--radius-md);
  margin-top: 4px;
  transition: all var(--t-fast);
}

.contact-phone-block a:hover {
  background-color: var(--c-forest);
  color: #FFFFFF;
}

/* 8. Minimal Footer */
.about-minimal-footer {
  text-align: center;
  padding: 16px 16px;
  border-top: 1px solid var(--c-cream-border);
}

.about-minimal-footer p {
  font-size: 0.75rem;
  color: var(--c-text-muted);
}

/* ==========================================================================
   Tomorrow's Pre-Order Section (Luxury Dark Forest Theme • Artisanal Menu)
   ========================================================================== */
.tomorrow-preorder-container {
  margin: 10px 0 20px;
  width: 100%;
  padding: 16px 16px 18px;
  background: linear-gradient(155deg, #031c13 0%, #063323 52%, #021a11 100%);
  border: 1.5px solid rgba(229, 184, 105, 0.32);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(2, 26, 17, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.tomorrow-preorder-container::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(233, 154, 22, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

[dir="rtl"] .tomorrow-preorder-container::before {
  right: auto;
  left: -40px;
}

.tomorrow-preorder-header {
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.tomorrow-preorder-badge-row {
  margin-bottom: 6px;
}

.tomorrow-preorder-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(229, 184, 105, 0.14);
  border: 1px solid rgba(229, 184, 105, 0.35);
  color: #F8C36A;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

[dir="rtl"] .tomorrow-preorder-eyebrow-badge {
  font-family: 'Cairo', var(--font-arabic), sans-serif;
  letter-spacing: 0;
}

.tomorrow-preorder-eyebrow-badge .eyebrow-sparkle {
  color: #FBBF24;
  font-size: 0.72rem;
}

.tomorrow-preorder-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

[dir="rtl"] .tomorrow-preorder-title {
  font-family: 'Cairo', var(--font-arabic), sans-serif;
}

.tomorrow-preorder-trial-tag {
  color: #F8C36A;
  font-weight: 700;
  font-size: 0.9em;
  display: inline-block;
}

.tomorrow-preorder-subtitle {
  margin: 5px 0 0;
  font-size: 0.76rem;
  color: #A3C9B6;
  line-height: 1.45;
  font-weight: 500;
}

[dir="rtl"] .tomorrow-preorder-subtitle {
  font-family: 'Cairo', var(--font-arabic), sans-serif;
}

.tomorrow-preorder-items {
  display: flex;
  flex-direction: column;
  gap: 11px;
  position: relative;
  z-index: 1;
}

.tomorrow-preorder-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(229, 184, 105, 0.22);
  border-radius: 14px;
  padding: 12px 14px 11px;
  transition: all 0.22s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  box-sizing: border-box;
  width: 100%;
}

.tomorrow-preorder-item:hover {
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(229, 184, 105, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

/* Tier 1: Title, Category Badge & Price */
.tomorrow-preorder-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.tomorrow-preorder-name-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}

.tomorrow-preorder-item-name {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
}

[dir="rtl"] .tomorrow-preorder-item-name {
  font-family: 'Cairo', var(--font-arabic), sans-serif;
  font-size: 1.05rem;
}

.tomorrow-preorder-type-badge {
  font-size: 0.64rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

[dir="rtl"] .tomorrow-preorder-type-badge {
  font-family: 'Cairo', var(--font-arabic), sans-serif;
  letter-spacing: 0;
}

.tomorrow-preorder-type-badge.chicken {
  background: rgba(233, 154, 22, 0.22);
  color: #F8C36A;
  border: 1px solid rgba(233, 154, 22, 0.42);
}

.tomorrow-preorder-type-badge.meat {
  background: rgba(239, 68, 68, 0.22);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.42);
}

.tomorrow-preorder-type-badge.fish {
  background: rgba(14, 165, 233, 0.22);
  color: #7DD3FC;
  border: 1px solid rgba(14, 165, 233, 0.42);
}

.tomorrow-preorder-item-price {
  font-size: 1.12rem;
  font-weight: 900;
  color: #F6C470;
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}

.tomorrow-preorder-item-price .price-curr,
.tomorrow-preorder-item-price small {
  font-size: 0.74rem;
  font-weight: 700;
  color: #A3C9B6;
}

/* Tier 2: Ingredients Description (Full Width) */
.tomorrow-preorder-item-desc {
  margin: 2px 0 4px;
  font-size: 0.78rem;
  color: #B4D5C4;
  line-height: 1.48;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

[dir="rtl"] .tomorrow-preorder-item-desc {
  font-family: 'Cairo', var(--font-arabic), sans-serif;
  font-size: 0.79rem;
  text-align: right;
}

/* Tier 3: Bottom Action Row */
.tomorrow-preorder-row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.09);
  margin-top: 2px;
}

.tomorrow-preorder-detail-hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: #92BBA7;
  font-weight: 600;
  transition: color 0.2s ease;
}

[dir="rtl"] .tomorrow-preorder-detail-hint {
  font-family: 'Cairo', var(--font-arabic), sans-serif;
}

.tomorrow-preorder-item:hover .tomorrow-preorder-detail-hint {
  color: #F8C36A;
}

.tomorrow-preorder-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

[dir="rtl"] .tomorrow-preorder-btn-wa {
  font-family: 'Cairo', var(--font-arabic), sans-serif;
  font-size: 0.78rem;
}

.tomorrow-preorder-btn-wa:hover {
  background: linear-gradient(135deg, #2ee59d 0%, #059669 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.45);
}

.tomorrow-preorder-btn-wa:active {
  transform: scale(0.97);
}

/* ==========================================================================
   RTL Overrides
   ========================================================================== */
[dir="rtl"] .sidebar-drawer {
  left: auto;
  right: 0;
  transform: translateX(105%);
}

[dir="rtl"] .sidebar-drawer.open {
  transform: translateX(0);
}

[dir="rtl"] .btn-cart-icon svg,
[dir="rtl"] .btn-header-wa svg,
[dir="rtl"] .btn-primary-compact svg {
  transform: scaleX(-1);
}

[dir="rtl"] .btn-qty-minus,
[dir="rtl"] .btn-qty-plus {
  /* Ensure plus/minus buttons look right if they rely on text direction */
}

/* Fix product cards icon directions */
[dir="rtl"] .hero-actions svg {
  transform: scaleX(-1);
}

/* ==========================================================================
   COMPREHENSIVE MOBILE & MULTI-SCREEN OPTIMIZATIONS
   Seamless responsiveness for all phones (iPhone SE, mini, Pro, Max, Android)
   ========================================================================== */

/* Standard Phones (max-width: 480px) */
@media (max-width: 480px) {
  .site-header {
    padding: 8px 12px;
    gap: 8px;
  }

  .btn-hamburger {
    width: 40px;
    height: 40px;
    font-size: 1.35rem;
  }

  .header-page-title {
    font-size: clamp(1rem, 4vw, 1.25rem);
    letter-spacing: 0.2px;
  }

  .header-right {
    gap: 6px;
  }

  .btn-lang-toggle {
    width: 38px;
    height: 38px;
    font-size: 0.78rem;
  }

  .btn-cart-icon {
    width: 38px;
    height: 38px;
  }

  .home-view {
    padding: 4px 12px 90px;
    gap: 18px;
  }

  .home-hero-compact {
    padding: 18px 12px;
    gap: 14px;
    border-radius: 18px;
  }

  .hero-logo-small {
    width: 95px;
    height: 95px;
    margin-bottom: 10px;
  }

  .hero-trust-badge {
    font-size: 0.70rem;
    padding: 4px 10px;
    margin-bottom: 8px;
  }

  .hero-intro-text {
    font-size: clamp(1.10rem, 4.4vw, 1.30rem);
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .hero-actions {
    gap: 8px;
  }

  .btn-primary-compact,
  .btn-subscription-compact {
    padding: 11px 18px;
    font-size: 0.88rem;
  }

  .trust-strip-compact {
    margin: 20px -12px;
    width: calc(100% + 24px);
    padding: 12px 14px;
  }

  .menu-view {
    padding: 4px 12px 90px;
  }

  .menu-trust-strip {
    padding: 10px 6px;
    gap: 4px;
  }

  .menu-trust-icon {
    width: 32px;
    height: 32px;
  }

  .menu-trust-icon svg {
    width: 16px;
    height: 16px;
  }

  .menu-trust-text {
    font-size: clamp(0.58rem, 2.4vw, 0.64rem);
    line-height: 1.15;
  }

  .category-nav-bar {
    gap: 6px;
    padding-bottom: 2px;
  }

  .category-pill {
    padding: 7px 14px;
    font-size: 0.82rem;
  }

  .product-list {
    gap: 10px;
  }

  .product-card {
    padding: 10px;
    gap: 10px;
    border-radius: 16px;
  }

  .product-card-img-wrap {
    width: 92px;
    height: 92px;
    border-radius: 12px;
  }

  .product-card-title {
    font-size: 0.95rem;
  }

  .product-card-desc {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .product-card-price {
    font-size: 1.05rem;
  }

  .btn-card-add {
    width: 35px;
    height: 35px;
    font-size: 1.15rem;
  }

  /* Pre-Order Section on Mobile */
  .tomorrow-preorder-container {
    padding: 14px 12px 16px;
    border-radius: 16px;
    margin: 8px 0 16px;
  }

  .tomorrow-preorder-title {
    font-size: clamp(1.00rem, 4.2vw, 1.12rem);
  }

  .tomorrow-preorder-subtitle {
    font-size: clamp(0.72rem, 2.9vw, 0.76rem);
  }

  .tomorrow-preorder-item {
    padding: 11px 12px;
    gap: 7px;
    border-radius: 13px;
  }

  .tomorrow-preorder-item-name {
    font-size: clamp(0.94rem, 3.8vw, 1.02rem);
  }

  .tomorrow-preorder-item-desc {
    font-size: 0.75rem;
    line-height: 1.45;
  }

  .tomorrow-preorder-item-price {
    font-size: 1.05rem;
  }

  .tomorrow-preorder-btn-wa {
    height: 30px;
    padding: 0 12px;
    font-size: 0.74rem;
    gap: 5px;
  }

  /* Product Modal on Mobile */
  .product-modal {
    max-height: 90vh;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  .modal-product-hero-img-wrap {
    height: clamp(170px, 46vw, 220px);
  }

  .modal-scroll-body {
    padding: 16px 14px 20px;
    gap: 16px;
  }

  .modal-product-title {
    font-size: 1.25rem;
  }

  .modal-product-live-price {
    font-size: 1.20rem;
  }

  .ingredients-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .ingredient-item-card {
    padding: 7px 9px;
  }

  .ingredient-name {
    font-size: 0.76rem;
  }

  .modal-bottom-bar {
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .btn-modal-add {
    height: 48px;
    font-size: 0.98rem;
  }

  /* Sticky Cart Bar Mobile */
  .sticky-cart-bar {
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  }
}

/* ==========================================================================
   OFFICIAL JFDA CERTIFICATE BANNER & LIGHTBOX
   ========================================================================== */
.menu-cert-card {
  background: #FFFFFF;
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-radius: var(--radius-md);
  margin-top: 12px;
  padding: 12px 14px;
  box-shadow: 0 4px 18px rgba(6, 59, 41, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.menu-cert-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #C5A059 0%, var(--c-forest) 50%, #C5A059 100%);
}

.menu-cert-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.menu-cert-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.menu-cert-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--c-forest);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.menu-cert-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--c-text-muted);
  margin: 0;
}

.menu-cert-badge {
  background: rgba(197, 160, 89, 0.15);
  color: #8C6D2B;
  border: 1px solid rgba(197, 160, 89, 0.4);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 800;
  white-space: nowrap;
}

.menu-cert-img-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fafaf8;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.menu-cert-img-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.menu-cert-img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.menu-cert-zoom-overlay {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(6, 59, 41, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  transition: background 0.2s ease;
}

.menu-cert-img-wrap:hover .menu-cert-zoom-overlay {
  background: var(--c-forest);
}

/* Lightbox Modal */
.cert-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cert-lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cert-lightbox-box {
  position: relative;
  max-width: 96vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: certZoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes certZoomIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.cert-lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  background: #fff;
}

.cert-lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.2s ease;
}

.cert-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.cert-lightbox-caption {
  margin-top: 10px;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Extra Small Phones (max-width: 360px, e.g. iPhone SE 1st gen, small Galaxy A) */
@media (max-width: 360px) {
  .site-header {
    padding: 6px 8px;
    gap: 6px;
  }

  .btn-hamburger {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }

  .header-page-title {
    font-size: 0.92rem;
  }

  .btn-lang-toggle,
  .btn-cart-icon {
    width: 35px;
    height: 35px;
  }

  .home-product-grid {
    gap: 8px;
  }

  .home-product-img {
    height: 125px;
    padding: 8px;
  }

  .product-card-img-wrap {
    width: 78px;
    height: 78px;
  }

  .product-card-title {
    font-size: 0.88rem;
  }

  .product-card-price {
    font-size: 0.98rem;
  }

  .tomorrow-preorder-btn-wa {
    padding: 0 10px;
    height: 28px;
    font-size: 0.70rem;
    gap: 4px;
  }
}

/* ==========================================================================
   Initial App Page Loader (Prevents Stale Content Flash on Boot/Refresh)
   ========================================================================== */
.app-initial-loader {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 20px;
}

.app-initial-spinner {
  width: 40px;
  height: 40px;
  border: 3.5px solid rgba(6, 59, 41, 0.12);
  border-top-color: var(--c-orange);
  border-right-color: var(--c-forest);
  border-radius: 50%;
  animation: appSpinLoader 0.75s linear infinite;
}

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