/* ==========================================================================
   FLAME & CRUST - LOCAL FAST FOOD DEMO SITE DESIGN SYSTEM (styles.css)
   ========================================================================== */

:root {
  /* Red theme (default) */
  --bg-color: #f7f5ef;
  --text-color: #111111;
  --text-muted: #888888;
  --primary: #ff1a2c;
  --primary-light: #f43f5e;
  --primary-hover: #d61928;
  --secondary: #ffd700;
  --surface: #ffffff;
  --surface-rgb: 255, 255, 255;
  --surface-border: #e3dfd5;
  --badge-bg: #ede9de;
  --title-bg: url("images/title_bg_red.webp");
  --primary-rgb: 255, 26, 44;

  --font-display: "Playfair Display", Georgia, serif;
  --font-ui:
    "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-card: 16px;
  --radius-hero: 24px;
  --radius-pill: 999px;
  --radius-sm: 10px;
  --border-subtle: 1px solid var(--surface-border);
  --shadow-sm: 0 4px 16px rgba(31, 33, 30, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 33, 30, 0.12);
  --shadow-floating: 0 10px 28px rgba(31, 33, 30, 0.2);

  --tap-target-min: 44px;
  --max-width: 960px;
  --cart-stack: 112px;
}

[data-theme="bright"] {
  --bg-color: #f5f5f5;
  --text-color: #1a1a1a;
  --text-muted: #6b7280;
  --primary: #ffd700;
  --primary-light: #ffe44d;
  --primary-hover: #e6c200;
  --secondary: #ff5a1f;
  --surface: #ffffff;
  --surface-rgb: 255, 255, 255;
  --surface-border: #e5e5e5;
  --badge-bg: #fff9e6;
  --title-bg: url("images/title_bg_yellow.webp");
  --primary-rgb: 255, 215, 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-ui);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-color);
}

h1 {
  font-size: clamp(1.85rem, 5vw, 2.8rem);
}
h2 {
  font-size: clamp(1.4rem, 4vw, 1.9rem);
}
h3 {
  font-size: 1.15rem;
}

/* STORE HOURS & LOCATION heading (matches socials-section h2 treatment) */

.section-header {
  background-color: var(--bg-color);
  /* padding-top: 48px; */
  padding-bottom: 12px;
  text-align: center;
}

#hours-location {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  margin-bottom: 6px;
  scroll-margin-top: 80px;
}

.text-sm {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.text-muted {
  color: var(--text-muted);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

.section {
  padding: 36px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 48px 0;
  }
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap-target-min);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
}

/* --bg-color: #f7f5ef;
  --text-color: #111111;
  --text-muted: #888888;
  --primary: #ff1a2c;
  --primary-hover: #d61928;
  --secondary: #ffd700;
  --surface: #ffffff;
  --surface-border: #e3dfd5;
  --badge-bg: #ede9de; */

.btn-hero-primary {
  background: linear-gradient(
    135deg,
    var(--primary-light) 0%,
    var(--primary) 55%,
    var(--primary-hover) 100%
  );
  color: var(--surface);
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.35);
  border: 1px solid rgba(var(--surface-rgb), 0.12);
}

.btn-hero-primary:hover,
.btn-hero-primary:active {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.45);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
}
.btn-whatsapp:hover,
.btn-whatsapp:active {
  background-color: #20ba5a;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--text-color);
  border: var(--border-subtle);
}
.btn-secondary:hover {
  background-color: var(--badge-bg);
}

.btn-sm {
  min-height: 38px;
  padding: 6px 14px;
  font-size: 0.85rem;
}

/* TOP DEMO BAR */
.top-bar {
  background-color: var(--text-color);
  color: #ffffff;
  padding: 8px 16px;
  font-size: 0.8rem;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.demo-tag {
  background-color: var(--secondary);
  color: var(--text-color);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
  margin-right: 6px;
}

.theme-picker select {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: none;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  cursor: pointer;
  max-width: 100%;
}

@media (max-width: 480px) {
  .theme-picker label {
    display: none;
  }

  .theme-picker select {
    max-width: 220px;
  }
}

/* TRANSLUCENT SITE HEADER */
.site-header {
  background-color: var(--primary);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* HAMBURGER MENU (mobile only) */
.hamburger-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background-color: transparent;
  color: #ffffff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background-color: currentColor;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

.hamburger-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  background-color: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-md);
  padding: 6px 16px 10px;
}

.mobile-nav-link {
  display: block;
  padding: 14px 8px;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-link:active {
  color: var(--secondary);
}

@media (max-width: 768px) {
  .hamburger-btn {
    display: inline-flex;
  }

  .mobile-nav.open {
    display: block;
  }

  .header-link {
    display: none;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1rem;
  }
}

.header-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  padding: 8px;
}
.header-link:hover {
  color: var(--secondary);
}

/* HERO SECTION WITH 3-LAYER GRADIENT SCRIM OVER FULL BACKGROUND PHOTO */
.hero-wrapper {
  padding: 20px 0 10px;
  max-width: 1400px;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-hero);
  padding: 48px 36px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-color: var(--bg-color);
}

@media (max-width: 768px) {
  .hero-card {
    padding: 32px 20px;
    min-height: 380px;
  }

  .hero-text-card {
    max-width: 100%;
    padding: 24px 20px;
    border-radius: 24px;
  }

  .hero-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }

  .hero-arrow-prev {
    left: 8px;
  }

  .hero-arrow-next {
    right: 8px;
  }

  .hero-dots {
    bottom: 12px;
  }
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

/* Deal slides (all except the first) show the full image, never cropped */
.hero-slide:not(.hero-bg-img) {
  object-fit: contain;
  object-position: center;
}

.hero-slide.is-active {
  opacity: 1;
}

/* Subtle left-to-right dark vignette to tie the card to the background */
.hero-tint {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.25) 45%,
    transparent 70%
  ); */
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: opacity 0.6s ease;
}

.hero-content.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-text-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 40px;
  max-width: 580px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.35) 70%,
    transparent 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
}

/* HERO CAROUSEL NAVIGATION */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background-color: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.hero-arrow:hover {
  background-color: rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-arrow-prev {
  left: 14px;
}

.hero-arrow-next {
  right: 14px;
}

.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 6px;
}

.hero-dot {
  position: relative;
  width: 22px;
  height: 22px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.hero-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.45);
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.hero-dot:hover::before {
  background-color: rgba(255, 255, 255, 0.8);
}

.hero-dot.is-active::before {
  background-color: var(--secondary, #ff8a3d);
  transform: translate(-50%, -50%) scale(1.35);
}

.hero-open-tag {
  position: absolute;
  top: -24px;
  left: 0;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  background-color: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-open-tag.is-open {
  background-color: #22c55e;
  color: #ffffff;
  border-color: #4ade80;
  animation: badge-pulse 2s ease-in-out infinite;
}

.hero-open-tag.is-closed {
  background-color: #c62828;
  color: #ffffff;
  border-color: #ef5350;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: currentColor;
  display: inline-block;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.25);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes badge-pulse {
  0%,
  100% {
    box-shadow:
      0 8px 20px rgba(0, 0, 0, 0.3),
      0 0 0 0 rgba(34, 197, 94, 0.45);
  }
  50% {
    box-shadow:
      0 8px 20px rgba(0, 0, 0, 0.3),
      0 0 0 6px rgba(34, 197, 94, 0);
  }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-subtext {
  font-size: 1.05rem;
  color: #ffffff;
  line-height: 1.7;
  opacity: 0.9;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  animation: hint-swipe 2.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hint-swipe {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}

@media (max-width: 480px) {
  .hero-card {
    padding: 28px 16px;
    min-height: 340px;
  }

  .hero-headline {
    font-size: clamp(1.75rem, 8vw, 2rem);
    letter-spacing: -0.3px;
  }

  .hero-subtext {
    font-size: 0.875rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-content {
    gap: 12px;
  }

  .hero-open-tag {
    top: -18px;
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .hero-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .hero-arrow-prev {
    left: 4px;
  }

  .hero-arrow-next {
    right: 4px;
  }

  .hero-dots {
    bottom: 10px;
    gap: 8px;
  }

  .hero-dot {
    width: 26px;
    height: 26px;
  }
}

/* INFO STRIP */
.info-strip {
  background-color: var(--badge-bg);
  border-bottom: var(--border-subtle);
  padding: 12px 0;
  font-size: 0.85rem;
  /* margin-top: 26px; */
}

.info-strip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .info-strip-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* RESTORED POPULAR SIGNATURES SECTION */
.popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.popular-card {
  background-color: var(--surface);
  border: var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.popular-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.popular-card-top {
  position: relative;
  height: 170px;
  background-color: var(--bg-color);
}

.popular-card-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #ff1a2c;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.popular-card-title-overlay {
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.popular-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  gap: 12px;
  background-color: var(--bg-color);
}

.popular-header-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.popular-item-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-color);
}

.popular-item-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-color);
  white-space: nowrap;
}

.popular-item-starting {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background-color: rgba(255, 26, 44, 0.08);
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

.popular-item-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.popular-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.popular-ask-btn {
  flex: 1;
  background-color: var(--badge-bg);
  color: var(--text-color);
  border: var(--border-subtle);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  text-align: center;
  display: block;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.popular-ask-btn:hover {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.popular-order-btn {
  flex: 1;
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  text-align: center;
  display: block;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.popular-order-btn:hover {
  background-color: var(--primary-hover);
}

/* ==========================================================================
   STICKY CATEGORY NAV & STICKY FILTER BAR (CHANGE #3: FILTER TAB IS STICKY)
   ========================================================================== */
.menu-nav-sticky {
  position: sticky;
  top: 60px; /* Right below the 60px site-header */
  z-index: 95;
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-subtle);
  padding: 10px 0px 10px 10px;
  box-shadow: var(--shadow-sm);
  margin-top: 20px;
}

.nav-scroll-container {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}
.nav-scroll-container::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  background-color: var(--bg-color);
  color: var(--text-color);
  border: var(--border-subtle);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  flex: 0 0 auto;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}

.cat-pill.active {
  background-color: var(--secondary);
  color: #111111;
  border-color: var(--secondary);
}

.cat-pill:hover {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* STICKY FILTER BAR INSIDE STICKY NAV CONTAINER */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px dashed var(--surface-border);
  margin-top: 0;
  scrollbar-width: none;
  background-color: rgba(255, 255, 255, 0.88);
  width: 100%;
  padding: 15px;
}
.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-right: 4px;
  white-space: nowrap;
}

.filter-tag {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--surface-border);
  background-color: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: all 0.2s ease;
}

.filter-tag.selected {
  background-color: var(--text-color);
  color: #ffffff;
  border-color: var(--text-color);
}

/* DARK PROMO-BANNER CATEGORY HEADINGS (shared background image asset) */
.menu-category-block {
  margin-bottom: 40px;
  scroll-margin-top: 155px; /* Offset for double sticky headers */
}

.section-banner {
  background-image: var(--title-bg);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  margin-bottom: 2rem;
  margin-top: 3.5rem;
}

.section-banner-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 38px;
  text-align: center;
  margin: 0;
  max-width: 100%;
}

/* Remove top margin on the very first category banner */
#menuCategoriesContainer .menu-category-block:first-child .section-banner {
  margin-top: 0;
}

@media (max-width: 480px) {
  .section-banner {
    min-height: 140px;
    padding: 1.75rem 1rem;
  }

  .section-banner-title {
    font-size: 24px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  row-gap: 38px;
}

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PRODUCT CARD (REDESIGNED: EDGE-TO-EDGE IMAGE + FLOATING "+" BUTTON)
   ========================================================================== */
.product-card {
  position: relative;
  background-color: #ffffff;
  border: var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 0;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  align-items: stretch;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  overflow: visible;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.popular-card-top {
  position: relative;
  height: 170px;
  background-color: #ffffff;
  /* padding: 12px; breathing room around the image */
  display: flex;
  align-items: center;
  justify-content: center;
}

.popular-card-top img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* show the full image, don't crop */
  border-radius: 8px;
}

/* Tag overlay on image bottom-LEFT corner */
.card-img-tag {
  position: absolute;
  top: -15px;
  left: 8px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

/* Floating "+" button at bottom-right of image, overlapping the edge */
.card-plus-btn {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  border: 3px solid var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.35);
  transition:
    transform 0.15s ease,
    background-color 0.2s ease;
  z-index: 2;
}

.card-plus-btn:hover {
  background-color: var(--primary-hover);
  transform: scale(1.06);
}

.card-plus-btn:active {
  transform: scale(0.95);
}

.card-plus-btn:focus-visible {
  outline: 3px solid var(--text-color);
  outline-offset: 2px;
}
.card-plus-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1; /* thicker + for visibility */
  stroke-linecap: round;
}
.card-details-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 14px 24px;
  min-width: 0;
  background: var(--surface);
  border-radius: 0 16px 16px 0;
}

.card-img-col {
  position: relative;
  min-width: 0;
  background: #ffffff;
  border-radius: 16px 0 0 16px;
}

.card-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px 0 0 16px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-color);
  line-height: 1.25;
}

.card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-price-pill {
  align-self: flex-start;
  background-color: var(--text-color);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 8px;
  display: inline-block;
}

.card-starting-from {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background-color: rgba(255, 26, 44, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.card-original-price {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: line-through;
  opacity: 0.75;
}

/* RED "Order Now" BUTTON */
.card-add-btn {
  margin-top: auto;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-align: center;
  width: 100%;
}

.card-add-btn:hover {
  background-color: var(--primary-hover);
}

@media (max-width: 576px) {
  .product-card {
    grid-template-columns: 1fr;
  }

  .card-img-col {
    aspect-ratio: 16 / 10;
  }

  .card-img-col img {
    border-radius: 16px 16px 0 0;
  }

  .card-details-col {
    padding: 14px 16px;
    border-radius: 0 0 16px 16px;
  }

  .card-plus-btn {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }

  .card-plus-btn svg {
    width: 22px;
    height: 22px;
  }
}

/* HEADER CART BUTTON + COUNT BADGE */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background-color: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cart-btn:hover {
  background-color: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 10px;
  background-color: #e53935;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  display: none;
}

/* CART DRAWER */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 2100;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.cart-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cart-panel {
  background-color: var(--surface);
  width: 100%;
  max-width: 420px;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-floating);
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.cart-header {
  position: relative;
  padding: 20px 24px;
  border-bottom: var(--border-subtle);
}

.cart-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-empty {
  color: var(--text-muted);
  text-align: center;
  padding: 32px 0;
}

.cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background-color: var(--bg-color);
  border: var(--border-subtle);
  border-radius: 14px;
}

.cart-line-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cart-line-name {
  font-weight: 700;
  font-size: 0.92rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-line-price {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.cart-line-options {
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-line-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--surface);
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}

.cart-footer {
  border-top: var(--border-subtle);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-total-label {
  font-weight: 700;
  font-size: 0.95rem;
}

.cart-total-value {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary);
}

.cart-clear-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px;
  align-self: center;
}

.cart-clear-btn:hover {
  color: #e53935;
}

/* CART TOAST */
.cart-toast {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: var(--text-color);
  color: var(--bg-color);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-floating);
  z-index: 2200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.cart-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .cart-panel {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .cart-backdrop {
    align-items: flex-end;
    justify-content: center;
  }

  .cart-panel {
    max-width: 100%;
    width: 100%;
    height: 88vh;
    height: 88dvh;
    border-radius: 20px 20px 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0);
    animation-name: slideUp;
  }

  .cart-footer {
    padding: 16px 16px 20px;
  }

  .cart-items {
    padding: 12px 16px;
  }
}

/* PRODUCT DETAIL MODAL */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background-color: var(--surface);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-floating);
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  background: var(--badge-bg);
  color: var(--text-color);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   OPTIONS / ORDER MODAL (DUAL MODE: CART OR ORDER)
   ========================================================================== */
.options-modal-card {
  max-width: 500px;
  max-height: 85vh;
  padding: 0;
  overflow: hidden;
  gap: 0;
}

/* Full-bleed image with semi-transparent overlay bar at its bottom */
.om-image-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  flex-shrink: 0;
}

.om-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #2b2118;
}

.om-image-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 20px 14px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.35) 60%,
    transparent 100%
  );
  color: #ffffff;
  pointer-events: none;
}

.om-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.om-desc {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.45;
  margin: 0;
}

/* Content side: description, centered price pill, then options groups */
.om-content {
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 46vh;
  overflow-y: auto;
  flex-shrink: 1;
}

.om-price-pill {
  align-self: center;
  background-color: var(--text-color);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-top: 4px;
}

/* Floating close button anchored to the image top-right */
.om-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

/* Options groups */
.om-groups {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.om-group {
  border: var(--border-subtle);
  border-radius: 14px;
  background-color: var(--surface);
  overflow: hidden;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.om-group-head {
  padding: 0;
  width: 100%;
  margin: 0;
  display: block;
}

.om-group-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 14px;
  border: none;
  background: var(--badge-bg);
  color: var(--text-color);
  font: inherit;
  font-weight: 800;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
}

.om-group-title {
  flex: 1;
}

.om-required-badge {
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.om-group-chevron {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.om-group.collapsed .om-group-chevron {
  transform: rotate(-90deg);
}

.om-choices {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
  transition: max-height 0.2s ease;
}

.om-group.collapsed .om-choices {
  display: none;
}

.om-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
}

.om-choice:hover {
  background-color: var(--badge-bg);
}

.om-choice input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.om-choice-label {
  flex: 1;
}

.om-choice-delta {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
}

/* Sticky bottom bar: qty stepper centered, action buttons stacked full-width */
.om-bottom-bar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 1.1rem 1.5rem;
  border-top: var(--border-subtle);
  background-color: var(--surface);
  flex-shrink: 0;
}

.om-qty-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.om-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

.om-confirm-btn {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 13px 16px;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    opacity 0.2s ease;
  min-height: var(--tap-target-min);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  justify-content: center;
  text-align: center;
}

.om-confirm-btn.om-order-btn {
  background-color: #25d366;
}

.om-confirm-btn.om-order-btn:hover:not(:disabled) {
  background-color: #20ba5a;
}

.om-confirm-btn:hover:not(:disabled) {
  background-color: var(--primary-hover);
}

.om-confirm-btn:disabled {
  background-color: var(--badge-bg);
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.75;
}

@media (max-width: 480px) {
  .modal-backdrop {
    padding: 12px;
  }

  .options-modal-card {
    max-width: calc(100vw - 24px);
    max-height: 85vh;
    height: auto;
  }
  .om-image-wrap {
    height: 170px;
  }
  .om-content {
    padding: 1.25rem 1rem 1rem;
    max-height: 40vh;
  }
  .om-bottom-bar {
    padding: 1rem 1rem 1.1rem;
  }
  .om-confirm-btn {
    font-size: 0.88rem;
    padding: 12px 12px;
  }
  .om-choice {
    padding: 12px 8px;
    min-height: 44px;
  }
  .om-group-toggle {
    padding: 14px;
    min-height: 44px;
  }
  .om-qty-controls .qty-btn {
    width: 44px;
    height: 44px;
  }
}

body.no-scroll {
  overflow: hidden;
}

.qty-btn {
  background: var(--surface);
  border: 2px solid var(--primary);
  color: var(--primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
}

.qty-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

.qty-val {
  font-weight: 800;
  font-size: 1rem;
  min-width: 20px;
  text-align: center;
}

.info-card {
  background-color: var(--surface);
  border: var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 12px;
}

.hours-table tr {
  border-bottom: 1px solid var(--surface-border);
}
.hours-table td {
  padding: 8px 0;
}

.hours-table tr.today-row {
  font-weight: 800;
  color: var(--primary);
}

.hours-table tr.today-row td:first-child::after {
  content: " (Today)";
  font-size: 0.78rem;
  font-weight: 700;
}

.map-box {
  width: 100%;
  background-color: var(--badge-bg);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: var(--border-subtle);
  margin-top: 12px;
  text-align: center;
}

.socials-section {
  background-color: var(--bg-color);
  padding: 48px 0;
  text-align: center;
}

.socials-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  margin-bottom: 6px;
}

.socials-section > p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.socials-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: var(--border-subtle);
  box-shadow: var(--shadow-sm);
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-badge svg {
  width: 26px;
  height: 26px;
}

.social-badge:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

/* Brand colors on hover */
.social-badge:nth-child(1):hover {
  background: #fdf497;
}
.social-badge:nth-child(2):hover {
  background: #1877f2;
  color: #fff;
}
.social-badge:nth-child(3):hover {
  background: #010101;
  color: #fff;
}
.social-badge:nth-child(4):hover {
  background: #25d366;
  color: #fff;
}

/* Full-width conversion strip */
.cta-section {
  background: radial-gradient(circle at 20% 50%, #2d1d18 0%, #0f0808 100%);
  position: relative;
  overflow: hidden;
  padding: 64px 24px;
  text-align: center;
}

/* Faint background food image, very subtle */
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/hero_fastfood11.webp") no-repeat center / 100%;
  opacity: 0.08;
  pointer-events: none;
}

.cta-section h2 {
  color: #ffffff;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

/* Make WhatsApp button pop more */
.btn-cta-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.btn-cta-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

/* Outline call button */
.btn-cta-call {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-cta-call:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* Full-width CTA buttons on small screens for easier touch */
@media (max-width: 480px) {
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* TRUST BAR */
.trust-bar {
  background-color: var(--surface);
  border-top: var(--border-subtle);
  border-bottom: var(--border-subtle);
  padding: 32px 0;
}

.trust-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  margin-bottom: 24px;
  color: var(--text-color);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-color);
}

.trust-item small {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.site-footer {
  background-color: var(--surface);
  border-top: var(--border-subtle);
  padding: 48px 0 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-color);
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-brand .logo-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-bottom {
  border-top: 1px solid var(--surface-border);
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
}

.floating-whatsapp {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0));
  right: 20px;
  z-index: 999;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-floating);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:active {
  background-color: #20ba5a;
  transform: scale(1.06);
}

/* Circular icon-only Call button, floats above the WhatsApp button */
.floating-call {
  position: fixed;
  bottom: calc(84px + env(safe-area-inset-bottom, 0));
  right: 22px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 12px rgba(255, 26, 44, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.floating-call:hover,
.floating-call:active {
  background-color: var(--primary);
  color: #ffffff;
  transform: scale(1.06);
}

.back-to-top {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0));
  left: 20px;
  z-index: 900;
  background-color: var(--surface);
  color: var(--text-color);
  border: var(--border-subtle);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* Lift floating actions above the cart bar when it is visible on mobile */
@media (max-width: 768px) {
  body.has-cart-bar .floating-whatsapp {
    bottom: calc(20px + var(--cart-stack));
  }

  body.has-cart-bar .floating-call {
    bottom: calc(84px + var(--cart-stack));
  }

  body.has-cart-bar .back-to-top {
    bottom: calc(20px + var(--cart-stack));
  }
}

/* ==========================================================================
   FLOATING CART BAR
   ========================================================================== */
.cart-bar-wrap {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-bottom: env(safe-area-inset-bottom, 0);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease-out,
    transform 0.2s ease-out,
    visibility 0.2s ease-out;
}

.cart-bar-wrap.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cart-bar-hint {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-color);
  background-color: var(--surface);
  border: var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.cart-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(350px, calc(100vw - 32px));
  padding: 12px 20px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-hover) 100%
  );
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-floating);
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 800;
  min-height: 54px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.cart-bar:hover {
  box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.5);
}

.cart-bar:active {
  transform: scale(0.98);
}

.cart-bar:focus-visible {
  outline: 3px solid var(--text-color);
  outline-offset: 3px;
}

.cart-bar-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 900;
  flex-shrink: 0;
}

.cart-bar-label {
  flex: 1;
  text-align: center;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.cart-bar-subtotal {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.cart-bar-chevron {
  display: inline-block;
}

@media (max-width: 768px) {
  .cart-bar {
    width: calc(100vw - 32px);
  }

  .cart-bar-hint {
    white-space: normal;
    text-align: center;
    max-width: calc(100vw - 32px);
  }
}

@media (max-width: 480px) {
  .cart-bar {
    gap: 8px;
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  .cart-bar-count {
    min-width: 28px;
    height: 28px;
    font-size: 0.82rem;
  }

  .cart-bar-subtotal {
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  /* Touch targets >= 44px */
  .cart-btn,
  .modal-close-btn,
  .om-close-btn,
  .qty-btn,
  .cat-pill,
  .filter-tag,
  .cart-clear-btn {
    min-width: 44px;
    min-height: 44px;
  }

  .cat-pill,
  .filter-tag {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* Font-size floors: smallest labels >= 12px */
  .cart-line-options {
    font-size: 0.75rem;
  }

  .cart-line-name {
    font-size: 0.95rem;
  }

  .filter-label,
  .filter-tag,
  .om-required-badge {
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-bar-wrap {
    transition: none;
  }

  .hero-slide,
  .hero-content {
    transition: none;
  }

  .hero-open-tag.is-open,
  .hero-hint {
    animation: none;
  }
}

/* ==========================================================================
   CUSTOM SCROLLBAR
   ========================================================================== */

/* WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--badge-bg);
  border-radius: 999px;
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 999px;
  border: 2px solid var(--badge-bg);
  transition: background 0.2s ease;
  border: 2px solid var(--bg-color); /* blends into page bg */
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--badge-bg);
}

/* Optional: hide scrollbar on mobile for cleaner look */
@media (max-width: 480px) {
  ::-webkit-scrollbar {
    width: 4px;
  }
}
