/* ==========================================================================
   VitaNature — Cold-Pressed Juice & Smoothie Café
   style.css — design tokens (light/default), typography, layout, components
   Load order: style.css -> dark-mode.css -> rtl.css
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --vn-cream: #FBF7EE;
  --vn-cream-2: #F1E9D6;
  --vn-green-900: #173A2B;
  --vn-green-700: #2B5C3F;
  --vn-green-500: #3E7D44;
  --vn-lime: #8FCB3E;
  --vn-lime-2: #C5E88C;
  --vn-orange: #F3A237;
  --vn-mango: #F4B93F;
  --vn-berry: #B93A55;
  --vn-beet: #8E2A4B;

  --bg: var(--vn-cream);
  --bg-raised: #FFFFFF;
  --bg-sunken: var(--vn-cream-2);
  --text: var(--vn-green-900);
  --text-muted: #5B6B60;
  --text-on-dark: #F3EFE0;
  --border: rgba(23, 58, 43, 0.13);
  --border-strong: rgba(23, 58, 43, 0.26);
  --accent: var(--vn-lime);
  --accent-ink: var(--vn-green-900);
  --accent-2: var(--vn-orange);
  --brand: var(--vn-green-900);
  --shadow-soft: 0 12px 32px rgba(23, 58, 43, 0.10);
  --shadow-lift: 0 20px 48px rgba(23, 58, 43, 0.16);
  --focus-ring: #1E6FEA;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section-pad: clamp(3.5rem, 8vw, 7rem);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --max-w: 1360px;
  --header-h: 78px;

  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background .35s ease, color .35s ease;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  margin: 0;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--brand);
}

p {
  margin: 0;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

em,
.accent-script {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--vn-green-500);
  font-weight: 500;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--brand);
  color: var(--bg);
  padding: .75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 1rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-pad);
}

.section-tight {
  padding-block: clamp(2.2rem, 5vw, 3.6rem);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--vn-green-500);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--vn-lime);
  display: inline-block;
}

h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.8rem);
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}

.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 54ch;
}

.text-muted {
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.9rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: var(--bg);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.btn-accent {
  background: var(--vn-lime);
  color: var(--vn-green-900);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(143, 203, 62, .4);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--brand);
  background: var(--bg-raised);
}

.btn-light {
  background: var(--bg);
  color: var(--brand);
}

.btn-sm {
  padding: .6rem 1.25rem;
  font-size: .85rem;
}

/* ---------- Header (sticky) ---------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease, background .3s ease, height .25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(23, 58, 43, .10);
  height: 66px;
}

.header-inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--brand);
}

.logo img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.main-nav a {
  font-weight: 600;
  font-size: .94rem;
  color: var(--text-muted);
  position: relative;
  padding-block: .3rem;
  transition: color .2s ease;
}

.main-nav a:hover {
  color: var(--brand);
}

.main-nav a.active {
  color: var(--brand);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--vn-lime);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-raised);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all .2s ease;
  flex-shrink: 0;
}

.icon-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.login-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  font-size: .9rem;
  color: var(--text);
  padding: .55rem .9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  transition: all .2s ease;
}

.login-link:hover {
  border-color: var(--brand);
  background: var(--bg-raised);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  align-items: center;
  justify-content: center;
  background: var(--bg-raised);
}

.hamburger span {
  width: 17px;
  height: 2px;
  background: var(--text);
  transition: all .3s ease;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 1.2rem var(--gutter) 2.5rem;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.22, .9, .32, 1);
  overflow-y: auto;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  padding: .5rem 0;
  color: var(--brand);
  border-bottom: 1px solid var(--border);
}

.mobile-nav a.active {
  color: var(--vn-green-500);
}

.mobile-nav .btn-row {
  display: flex;
  gap: .8rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--vn-green-900);
  color: var(--text-on-dark);
  padding-block: 5rem 2rem;
}

.site-footer a {
  color: #C7D6CC;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(243, 239, 224, .14);
}

.footer-grid h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1.2rem;
}

.footer-grid li {
  margin-bottom: .65rem;
  font-size: .95rem;
}

.footer-logo {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.45rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 34px;
  height: 34px;
}

.footer-social {
  display: flex;
  gap: .7rem;
  margin-top: 1.4rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(243, 239, 224, .25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: .85rem;
  color: #93A69A;
}

.newsletter-form {
  display: flex;
  gap: .5rem;
  margin-top: .8rem;
}

.newsletter-form input {
  flex: 1;
  padding: .8rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(243, 239, 224, .25);
  background: rgba(243, 239, 224, .06);
  color: #fff;
  min-width: 0;
}

.newsletter-form input::placeholder {
  color: #93A69A;
}

.newsletter-form input.has-error {
  border-color: #D63A2E;
}

.back-to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--bg);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
  z-index: 400;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy .brand-line {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--text-muted);
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 1.4rem;
}

.hero-copy .brand-line span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vn-lime);
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

.hero-stats {
  display: flex;
  gap: 2.4rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-stats .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--brand);
}

.hero-stats .stat span {
  color: var(--text-muted);
  font-size: .85rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 1 / 1;
  /* Changed from 4/5 to 1/1 to make it a square */
  object-fit: cover;
  object-position: center bottom;
  /* Forces the crop to happen at the top, keeping juices visible */
  box-shadow: var(--shadow-lift);
}

.hero-float-card {
  position: absolute;
  background: var(--bg-raised);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-lift);
  display: flex;
  align-items: center;
  gap: .8rem;
  border: 1px solid var(--border);
}

.hero-float-card.card-1 {
  top: -1.4rem;
  left: -1.8rem;
}

.hero-float-card.card-2 {
  bottom: 1.6rem;
  right: -1.8rem;
}

.hero-float-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--vn-lime-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vn-green-900);
  flex-shrink: 0;
}

.hero-float-card b {
  display: block;
  font-size: .95rem;
}

.hero-float-card span {
  font-size: .78rem;
  color: var(--text-muted);
}

.scroll-indicator {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 3.2rem;
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 600;
}

.scroll-indicator .line {
  width: 34px;
  height: 1px;
  background: var(--text-muted);
  position: relative;
  overflow: hidden;
}

.scroll-indicator .line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--vn-lime);
  animation: scrollline 2s ease infinite;
}

@keyframes scrollline {
  0% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }
}

/* ---------- Editorial rail ---------- */
.rail {
  display: flex;
  gap: 1.6rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  margin-top: 3rem;
}

.rail::-webkit-scrollbar {
  height: 6px;
}

.rail::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 99px;
}

.rail-card {
  scroll-snap-align: start;
  flex: 0 0 clamp(230px, 25vw, 300px);
  background: var(--bg-raised);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .35s ease, box-shadow .35s ease;
}

.rail-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.rail-card img {
  aspect-ratio: 5/6;
  object-fit: cover;
  transition: transform .6s ease;
  background: var(--bg-sunken);
}

.rail-card:hover img {
  transform: scale(1.06);
}

.rail-card-body {
  padding: 1.2rem 1.3rem 1.5rem;
}

.rail-card-body .tag {
  font-size: .72rem;
  font-weight: 700;
  color: var(--vn-green-500);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.rail-card-body h3 {
  margin-top: .4rem;
  font-size: 1.2rem;
}

.rail-card-body .price {
  margin-top: .6rem;
  font-weight: 700;
  color: var(--brand);
}

/* ---------- Benefits wall ---------- */
.benefit-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 3rem;
  border: 1px solid var(--border);
}

.benefit-cell {
  background: var(--bg-raised);
  padding: 2.3rem 1.9rem;
  transition: background .3s ease;
}

.benefit-cell:hover {
  background: var(--brand);
}

.benefit-cell:hover * {
  color: var(--bg) !important;
}

.benefit-cell i {
  font-size: 1.55rem;
  color: var(--vn-orange);
  margin-bottom: 1.1rem;
  display: block;
}

.benefit-cell h3 {
  font-size: 1.12rem;
  margin-bottom: .5rem;
}

.benefit-cell p {
  color: var(--text-muted);
  font-size: .92rem;
}

/* ---------- Ingredient collage ---------- */
.collage {
  position: relative;
  min-height: 500px;
}

.collage img {
  position: absolute;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lift);
  background: var(--bg-sunken);
}

.collage .img-a {
  width: 58%;
  aspect-ratio: 4/5;
  top: 0;
  left: 0;
  z-index: 2;
}

.collage .img-b {
  width: 46%;
  aspect-ratio: 1/1;
  bottom: 0;
  right: 0;
  z-index: 3;
  border: 6px solid var(--bg);
}

.collage .img-c {
  width: 34%;
  aspect-ratio: 4/3;
  top: 8%;
  right: 6%;
  z-index: 1;
}

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

.ingredient-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.8rem;
}

.ingredient-tags span {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: .5rem 1.1rem;
  font-size: .85rem;
  font-weight: 600;
}

/* ---------- Bento grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 210px);
  gap: 1.1rem;
  margin-top: 3rem;
}

.bento-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  background: var(--bg-sunken);
}

.bento-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.bento-item:hover img {
  transform: scale(1.07);
}

.bento-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 25, 18, .72), rgba(15, 25, 18, 0) 62%);
}

.bento-item .bento-label {
  position: absolute;
  left: 1.3rem;
  bottom: 1.15rem;
  z-index: 2;
}

.bento-item .bento-label b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.bento-item .bento-label span {
  font-size: .8rem;
  opacity: .85;
}

.bento-item .bento-label .btn {
  opacity: 1;
}

.bento-1 {
  grid-column: 1/3;
  grid-row: 1/3;
}

.bento-2 {
  grid-column: 3/5;
  grid-row: 1/2;
}

.bento-3 {
  grid-column: 3/4;
  grid-row: 2/3;
}

.bento-4 {
  grid-column: 4/5;
  grid-row: 2/3;
}

/* ---------- Combo split ---------- */
.combo-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem;
  margin-top: 3rem;
}

.combo-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.1rem;
  color: #fff;
  background: var(--vn-green-800, var(--vn-green-700));
}

.combo-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
}

.combo-panel .content {
  position: relative;
  z-index: 2;
}

.combo-panel .badge {
  display: inline-block;
  background: var(--vn-lime);
  color: var(--vn-green-900);
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .8rem;
  border-radius: var(--radius-pill);
  margin-bottom: .9rem;
}

.combo-panel h3 {
  color: #fff;
  font-size: 1.55rem;
  margin-bottom: .4rem;
}

.combo-panel p {
  color: rgba(255, 255, 255, .82);
  font-size: .92rem;
  max-width: 36ch;
}

.combo-panel .price-tag {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

/* ---------- Stats / testimonial ---------- */
.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin-top: 2.3rem;
}

.stat-block {
  border-top: 2px solid var(--vn-orange);
  padding-top: 1rem;
}

.stat-block b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--brand);
}

.stat-block span {
  color: var(--text-muted);
  font-size: .85rem;
}

.testimonial-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.3rem;
}

.testimonial-card .stars {
  color: var(--vn-orange);
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 1.4rem;
  line-height: 1.4;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .9rem;
}

.testimonial-author img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author b {
  display: block;
  font-size: .92rem;
}

.testimonial-author span {
  font-size: .8rem;
  color: var(--text-muted);
}

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-inline: var(--gutter);
  padding: clamp(3.2rem, 7vw, 6rem) var(--gutter);
  text-align: center;
  background: var(--vn-green-900);
  color: #fff;
}

.final-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
}

.final-cta .content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin-inline: auto;
}

.final-cta h2 {
  color: #fff;
}

.final-cta p {
  color: rgba(255, 255, 255, .78);
  margin-top: 1rem;
}

.final-cta .hero-cta-row {
  justify-content: center;
}

/* ---------- Inner-page hero ---------- */
.page-hero {
  padding-block: clamp(2.6rem, 6vw, 4.4rem) 2.6rem;
  position: relative;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb i {
  font-size: .6rem;
}

/* ---------- About ---------- */
.story-split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.story-split.reverse {
  grid-template-columns: 1.1fr .9fr;
}

.story-split.reverse .story-media {
  order: 2;
}

.pillar-list {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
}

.pillar {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.2rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--border);
}

.pillar:last-child {
  border-bottom: 1px solid var(--border);
}

.pillar .num {
  font-family: var(--font-display);
  color: var(--vn-orange);
  font-size: 1.3rem;
}

/* ---------- Menu / product cards ---------- */
.menu-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 2.3rem;
  margin-bottom: 2.5rem;
}

.filter-chip {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: .58rem 1.25rem;
  font-weight: 600;
  font-size: .87rem;
  background: var(--bg-raised);
  transition: all .2s ease;
}

.filter-chip.active,
.filter-chip:hover {
  background: var(--brand);
  color: var(--bg);
  border-color: var(--brand);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.menu-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.menu-card img {
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--bg-sunken);
}

.menu-card-body {
  padding: 1.25rem 1.35rem 1.45rem;
}

.menu-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .6rem;
}

.menu-card-body h3 {
  font-size: 1.12rem;
}

.menu-card-body .price {
  font-family: var(--font-display);
  color: var(--vn-orange);
  font-size: 1.12rem;
  white-space: nowrap;
}

.menu-card-body .desc {
  color: var(--text-muted);
  font-size: .87rem;
  margin-top: .5rem;
}

.menu-card-body .nutri {
  display: flex;
  gap: .9rem;
  margin-top: .9rem;
  font-size: .74rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.menu-card-body .nutri span {
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: .24rem .68rem;
}

/* ---------- Ingredients ---------- */
.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 2.3rem;
}

.ingredient-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-sunken);
}

.ingredient-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.ingredient-tile:hover img {
  transform: scale(1.08);
}

.ingredient-tile .tile-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: #fff;
  z-index: 2;
}

.ingredient-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 20, 14, .7), transparent 55%);
}

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.service-card img {
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--bg-sunken);
}

.service-card-body {
  padding: 1.3rem 1.35rem 1.5rem;
}

.service-card-body h3 {
  font-size: 1.08rem;
}

.service-card-body p {
  color: var(--text-muted);
  font-size: .87rem;
  margin-top: .5rem;
}

.service-card-body a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  font-weight: 700;
  font-size: .85rem;
  color: var(--vn-green-500);
}

.service-feature-list {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-top: 1.6rem;
}

.service-feature-list li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  color: var(--text-muted);
}

.service-feature-list i {
  color: var(--vn-lime);
  margin-top: .2rem;
}

/* ---------- Timeline ---------- */
.timeline {
  display: flex;
  flex-direction: column;
  margin-top: 2.3rem;
}

.timeline-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1.4rem;
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-row::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 42px;
  bottom: 0;
  width: 1px;
  background: var(--border-strong);
}

.timeline-row:last-child::before {
  display: none;
}

.timeline-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  flex-shrink: 0;
  z-index: 1;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: stretch;
}

.price-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.1rem;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: var(--vn-green-900);
  color: #fff;
  border-color: var(--vn-green-900);
  transform: scale(1.03);
  box-shadow: var(--shadow-lift);
}

.price-card.featured h3,
.price-card.featured .price-amt {
  color: #fff;
}

.price-card.featured .price-note,
.price-card.featured li {
  color: rgba(255, 255, 255, .75);
}

.price-amt {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--brand);
  margin: .6rem 0;
}

.price-amt sup {
  font-size: 1rem;
}

.price-card ul {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.price-card li {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  font-size: .89rem;
  color: var(--text-muted);
}

.price-card li i {
  color: var(--vn-lime);
  margin-top: .2rem;
}

.price-card .btn {
  margin-top: auto;
}

/* ---------- Blog ---------- */
.blog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: 2.3rem;
  margin-bottom: 2.5rem;
}

.search-box {
  display: flex;
  align-items: center;
  gap: .6rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: .62rem 1.15rem;
  background: var(--bg-raised);
  min-width: 250px;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  flex: 1;
  color: var(--text);
}

.featured-post {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.3rem;
  align-items: center;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3rem;
}

.featured-post img {
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  background: var(--bg-sunken);
}

.featured-post .content {
  padding: 2.1rem 2.3rem 2.1rem 0;
}

.post-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .9rem;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.7rem;
}

.post-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s ease;
}

.post-card:hover {
  transform: translateY(-6px);
}

.post-card img {
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--bg-sunken);
}

.post-card .body {
  padding: 1.25rem 1.35rem 1.55rem;
}

.post-card .cat {
  font-size: .72rem;
  font-weight: 700;
  color: var(--vn-green-500);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.post-card h3 {
  font-size: 1.08rem;
  margin-top: .5rem;
}

/* ---------- Blog details ---------- */
.article-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.article-body p {
  margin-bottom: 1.3rem;
  color: var(--text);
  max-width: 70ch;
}

.article-body h2 {
  margin-top: 2.3rem;
  margin-bottom: 1rem;
  font-size: 1.65rem;
}

.article-body ul {
  margin: 1.3rem 0;
  padding-left: 1.4rem;
  list-style: disc;
}

.article-body li {
  margin-bottom: .5rem;
  color: var(--text);
}

.article-body blockquote {
  border-left: 3px solid var(--vn-orange);
  padding: .2rem 0 .2rem 1.6rem;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--brand);
}

.article-body img {
  border-radius: var(--radius-lg);
  margin: 2rem 0;
  background: var(--bg-sunken);
}

.share-row {
  display: flex;
  gap: .7rem;
  margin-top: 2.3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  align-items: center;
}

.sidebar-block {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-block h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1.1rem;
}

.sidebar-post {
  display: flex;
  gap: .8rem;
  align-items: center;
  margin-bottom: 1rem;
}

.sidebar-post img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-sunken);
}

.sidebar-post b {
  font-size: .84rem;
  line-height: 1.3;
  display: block;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.tag-cloud a {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: .34rem .88rem;
  font-size: .78rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 3.4rem;
}

.contact-info-card {
  display: flex;
  gap: 1rem;
  padding-block: 1.35rem;
  border-top: 1px solid var(--border);
}

.contact-info-card:last-child {
  border-bottom: 1px solid var(--border);
}

.contact-info-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-sunken);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vn-orange);
  flex-shrink: 0;
}

/* ---------- Contact Map ---------- */
.map-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-sunken);
  border: 1px solid var(--border-strong);
  padding: 0;
}

.map-placeholder iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  margin: 0;
  padding: 0;
}

.faq-item {
  border-top: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  text-align: left;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-item.is-open .faq-a {
  max-height: 220px;
}

.faq-a p {
  padding-bottom: 1.25rem;
  color: var(--text-muted);
}

.faq-item.is-open .faq-q i {
  transform: rotate(45deg);
}

.faq-q i {
  transition: transform .25s ease;
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.15rem;
}

.field.full {
  grid-column: 1/-1;
}

.field label {
  font-size: .85rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  padding: .82rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-raised);
  color: var(--text);
  width: 100%;
}

.field textarea {
  resize: vertical;
  min-height: 115px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand);
}

.error-text {
  color: #D63A2E;
  font-size: .8rem;
  display: none;
  font-weight: 600;
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: #D63A2E;
}

.field.has-error .error-text {
  display: block;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .88rem;
  color: var(--text-muted);
}

.checkbox-row input {
  width: auto;
  margin-top: .2rem;
}

.password-field {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
}

.form-note {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: .5rem;
}

.social-auth-row {
  display: flex;
  gap: .7rem;
  margin-top: 1.2rem;
}

.social-auth-row .icon-btn {
  width: 48px;
  height: 48px;
}

/* ---------- Auth pages ---------- */
.auth-wrap {
  min-height: calc(100vh - var(--header-h) - 260px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-visual {
  position: relative;
  background: var(--bg-sunken);
}

.auth-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-visual .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(23, 58, 43, .66), transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 3rem;
}

.auth-visual .overlay p {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.55rem;
  max-width: 20ch;
}

.auth-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem var(--gutter);
}

.auth-form {
  width: 100%;
  max-width: 420px;
}

.auth-switch {
  margin-top: 1.5rem;
  text-align: center;
  font-size: .92rem;
  color: var(--text-muted);
}

.auth-switch a {
  color: var(--vn-green-500);
  font-weight: 700;
}

.divider-or {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: .82rem;
}

.divider-or::before,
.divider-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ---------- State pages (404 / coming-soon / maintenance) ---------- */
.state-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.state-page .content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.state-num {
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 18vw, 10rem);
  color: var(--brand);
  line-height: 1;
}

.state-page .btn-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.countdown {
  display: flex;
  gap: 1.1rem;
  justify-content: center;
  margin: 2.3rem 0;
}

.countdown .cbox {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  min-width: 84px;
}

.countdown .cbox b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--brand);
}

.countdown .cbox span {
  font-size: .75rem;
  color: var(--text-muted);
}

.progress-bar {
  width: 100%;
  max-width: 420px;
  height: 10px;
  border-radius: 99px;
  background: var(--bg-sunken);
  margin: 2rem auto;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, var(--vn-lime), var(--vn-orange));
  border-radius: 99px;
}

.state-decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .6;
}

.state-decor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.state-decor::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  opacity: .72;
}

/* ---------- Legal pages (privacy/terms) ---------- */
.legal-body h2 {
  font-size: 1.4rem;
  margin-top: 2.2rem;
  margin-bottom: .8rem;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  max-width: 74ch;
}

.legal-body ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.legal-body li {
  color: var(--text-muted);
  margin-bottom: .4rem;
}

.legal-toc {
  background: var(--bg-sunken);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem;
  margin-bottom: 2.5rem;
}

.legal-toc h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .9rem;
}

.legal-toc ol {
  list-style: decimal;
  padding-left: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.legal-toc a {
  font-weight: 600;
  font-size: .92rem;
}

/* ---------- Cross-page ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-head .btn {
  flex-shrink: 0;
}

.two-col-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
}

[data-aos] {
  transition-property: transform, opacity;
}

/* ---------- Cart icon, badge, mobile overlay, valid-field state ---------- */
.cart-icon-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--vn-orange);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
}

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

  35% {
    transform: scale(1.22);
  }

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

.cart-bump {
  animation: cartBump .4s ease;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 590;
  background: rgba(23, 58, 43, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.mobile-nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.field.is-valid input,
.field.is-valid textarea,
.field.is-valid select {
  border-color: var(--vn-lime);
}

.field.is-valid label::after {
  content: " ✓";
  color: var(--vn-green-500);
}

.btn-add-cart {
  width: 100%;
  justify-content: center;
}

.btn-add-cart.added {
  background: var(--vn-green-700);
  color: #fff;
}

.btn-add-cart-sm {
  padding: .55rem 1rem;
  font-size: .82rem;
}

/* ---------- Cart page ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 2.6rem;
  align-items: start;
}

.cart-line {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-line img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--bg-sunken);
}

.cart-line h3 {
  font-size: 1.02rem;
}

.cart-line .unit-price {
  color: var(--text-muted);
  font-size: .85rem;
  margin-top: .2rem;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.qty-control button {
  width: 36px;
  height: 36px;
  background: var(--bg-raised);
  border: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-control button:hover {
  background: var(--bg-sunken);
}

.qty-control span {
  width: 32px;
  text-align: center;
  font-weight: 700;
}

.line-total {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--brand);
  min-width: 80px;
  text-align: right;
}

.remove-line {
  color: #D63A2E;
  font-size: .82rem;
  font-weight: 700;
  margin-top: .4rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.cart-summary {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding-block: .6rem;
  font-size: .94rem;
  color: var(--text-muted);
}

.cart-summary-row.total {
  border-top: 1px solid var(--border);
  margin-top: .6rem;
  padding-top: 1rem;
  font-weight: 800;
  color: var(--brand);
  font-size: 1.15rem;
}

.cart-empty {
  text-align: center;
  padding: 4rem 1rem;
}

.cart-empty i {
  font-size: 2.4rem;
  color: var(--vn-lime);
  margin-bottom: 1rem;
  display: block;
}

/* ---------- Responsive ---------- */
/* ---- 1024px tier: intentionally designed, not just "shrunk desktop" ----
   Hamburger nav kicks in here (measured space for 8 links + actions + logo
   does not fit comfortably at 1024px), but grids stay multi-column so the
   page still reads as a tablet layout, not a squeezed phone layout. ---- */
@media (max-width:1100px) {

  .main-nav,
  .header-actions .theme-only,
  .header-actions .login-link {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-grid,
  .ingredient-story-grid,
  .story-split,
  .experience-grid,
  .contact-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .story-split.reverse .story-media {
    order: 0;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 190px);
  }

  .bento-1 {
    grid-column: 1/3;
    grid-row: 1/2;
  }

  .bento-2 {
    grid-column: 1/2;
    grid-row: 2/3;
  }

  .bento-3 {
    grid-column: 2/3;
    grid-row: 2/3;
  }

  .bento-4 {
    grid-column: 1/3;
    grid-row: 3/4;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.3rem;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card.featured {
    transform: none;
    grid-column: 1/-1;
    max-width: 520px;
    margin-inline: auto;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .combo-split {
    grid-template-columns: 1fr;
  }

  .ingredient-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .auth-visual {
    display: none;
  }

  .collage {
    min-height: 400px;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }
}

/* ---- Explicit 768–1024px tablet tier: menu/blog/article stay 2-up,
   never collapse to a single squeezed column just because the nav did. ---- */
@media (min-width:768px) and (max-width:1100px) {

  .menu-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-layout aside {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .featured-post {
    grid-template-columns: 1fr;
  }

  .featured-post img {
    aspect-ratio: 16/9;
  }

  .featured-post .content {
    padding: 1.8rem;
  }

  .hero {
    padding-top: 1.6rem;
  }

  .cart-line {
    grid-template-columns: 64px 1fr auto;
    grid-template-areas: "img name total" "img qty total";
    row-gap: .4rem;
  }

  .cart-line img {
    grid-area: img;
  }

  .cart-line>div:nth-child(2) {
    grid-area: name;
  }

  .cart-line .qty-control {
    grid-area: qty;
  }

  .cart-line .line-total {
    grid-area: total;
  }
}

/* ---- 1024px exact spot-check: verified no overflow at this width ---- */
@media (min-width:1000px) and (max-width:1024px) {
  .wrap {
    padding-inline: 1.75rem;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2rem;
  }
}

@media (max-width:680px) {
  .header-actions .icon-btn {
    width: 36px;
    height: 36px;
  }

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

  .hero-stats {
    gap: 1.3rem;
    flex-wrap: wrap;
  }

  .menu-grid,
  .pricing-grid,
  .blog-grid,
  .benefit-wall,
  .ingredient-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .featured-post {
    grid-template-columns: 1fr;
  }

  .featured-post .content {
    padding: 1.5rem;
  }

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

  .rail-card {
    flex-basis: 76vw;
  }

  .final-cta {
    margin-inline: 1rem;
  }

  .stat-row {
    grid-template-columns: 1fr 1fr;
  }

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

  .article-layout aside {
    display: block;
  }

  .cart-line {
    grid-template-columns: 64px 1fr;
    grid-template-areas: "img name" "img qty" "img total";
    row-gap: .5rem;
    padding-block: 1rem;
  }

  .cart-line img {
    grid-area: img;
  }

  .cart-line>div:nth-child(2) {
    grid-area: name;
  }

  .cart-line .qty-control {
    grid-area: qty;
  }

  .cart-line .line-total {
    grid-area: total;
    text-align: left;
  }

  .cart-summary {
    position: sticky;
    bottom: 0;
    top: auto;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .08);
  }

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

  .btn {
    min-height: 44px;
  }

  .filter-chip {
    min-height: 38px;
  }
}


/* ==========================================================================
   Responsive refinement v2
   - Header/dropdown alignment
   - 1024px / tablet / mobile layout protection
   - Prevent fixed-width and inline-grid rules from causing overflow
   ========================================================================== */

/* Desktop Home dropdown */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-dropdown-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font: 600 .94rem var(--font-body);
  padding: .3rem 0;
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  white-space: nowrap;
}

.nav-dropdown-toggle i {
  font-size: .68rem;
  transition: transform .2s ease;
}

.nav-dropdown:focus-within .nav-dropdown-toggle,
.nav-dropdown:hover .nav-dropdown-toggle {
  color: var(--brand);
}

.nav-dropdown:focus-within .nav-dropdown-toggle i,
.nav-dropdown:hover .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + .7rem);
  left: 50%;
  transform: translate(-50%, -8px);
  min-width: 170px;
  padding: .45rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  padding: .65rem .8rem;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: var(--bg-sunken);
  color: var(--brand);
}

.nav-dropdown-menu a.active::after {
  display: none;
}

/* Mobile Home submenu */
.mobile-home-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: var(--brand);
  font: 500 1.7rem/1.1 var(--font-display);
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-home-toggle i {
  font-size: .85rem;
  transition: transform .2s ease;
}

.mobile-home-group.is-open .mobile-home-toggle i {
  transform: rotate(180deg);
}

.mobile-subnav {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
  overflow: hidden;
}

.mobile-subnav>* {
  min-height: 0;
}

.mobile-home-group.is-open .mobile-subnav {
  grid-template-rows: 1fr;
}

.mobile-subnav a {
  font-size: 1.05rem !important;
  padding: .6rem 1rem !important;
  color: var(--text-muted) !important;
}

.mobile-subnav a.active {
  color: var(--vn-green-500) !important;
}

/* Keep media and layout inside the viewport */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.wrap {
  width: 100%;
  min-width: 0;
}

.section,
.section-tight {
  min-width: 0;
}

.hero-grid,
.ingredient-story-grid,
.story-split,
.experience-grid,
.contact-grid,
.page-hero-grid,
.menu-grid,
.blog-grid,
.service-grid,
.benefit-wall,
.ingredient-grid,
.pricing-grid,
.cart-layout,
.two-col-head,
.footer-grid,
.stat-row,
.bento,
.article-layout {
  min-width: 0;
}

.hero-copy,
.hero-visual,
.card,
.post-card,
.service-card,
.price-card,
.story-copy,
.story-media,
.menu-item,
.ingredient-card,
.section-head>* {
  min-width: 0;
}

.hero-visual img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Tablet / 1024px: comfortable header + predictable two-column content */
@media (max-width:1100px) {
  :root {
    --header-h: 72px;
    --gutter: clamp(1.1rem, 3vw, 2rem);
  }

  .header-inner {
    gap: 1rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .logo img {
    width: 34px;
    height: 34px;
  }

  .header-actions {
    gap: .5rem;
  }

  .header-actions .cart-icon-btn {
    display: inline-flex;
  }

  .header-actions .btn-sm {
    padding: .55rem .9rem;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .hero-visual {
    max-width: 760px;
    width: 100%;
    margin-inline: auto;
  }

  .section {
    padding-block: clamp(3rem, 7vw, 5rem);
  }

  .section-tight {
    padding-block: clamp(2rem, 4vw, 3rem);
  }
}

/* 768–1024: cards/grids remain useful without becoming cramped */
@media (min-width:768px) and (max-width:1100px) {

  .menu-grid,
  .blog-grid,
  .service-grid,
  .benefit-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ingredient-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-row[style] {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .stat-row .stat-block {
    min-width: 0;
    padding-inline: .65rem;
  }

  .stat-row .stat-block span {
    font-size: .8rem;
  }

  .hero-copy {
    max-width: 760px;
    margin-inline: auto;
  }

  .hero-cta-row {
    flex-wrap: wrap;
  }
}

/* Phones */
@media (max-width:767px) {
  :root {
    --header-h: 64px;
    --gutter: 1rem;
  }

  .site-header {
    height: var(--header-h);
  }

  .site-header.is-scrolled {
    height: 60px;
  }

  .header-inner {
    padding-inline: var(--gutter);
    gap: .5rem;
  }

  .logo {
    font-size: 1.08rem;
    gap: .45rem;
  }

  .logo img {
    width: 30px;
    height: 30px;
  }

  .header-actions {
    margin-left: auto;
    gap: .4rem;
  }

  .header-actions .btn-sm {
    display: none !important;
  }

  .header-actions .icon-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .hamburger {
    width: 38px;
    height: 38px;
    display: flex;
  }

  .mobile-nav {
    padding: 1rem var(--gutter) 2rem;
  }

  .mobile-nav-top {
    margin-bottom: 1.2rem;
  }

  .mobile-nav ul {
    gap: 0;
  }

  .mobile-nav a {
    font-size: 1.35rem;
    padding: .55rem 0;
  }

  .mobile-nav .btn-row {
    margin-top: 1.2rem;
  }

  .mobile-nav .btn-row .btn {
    flex: 1;
    min-width: 0;
  }

  .hero-grid,
  .ingredient-story-grid,
  .story-split,
  .experience-grid,
  .contact-grid,
  .page-hero-grid,
  .two-col-head {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .menu-grid,
  .blog-grid,
  .service-grid,
  .benefit-wall,
  .pricing-grid,
  .ingredient-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .bento {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(4, 190px) !important;
  }

  .bento-1,
  .bento-2,
  .bento-3,
  .bento-4 {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .stat-row,
  .stat-row[style] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .stat-row .stat-block {
    min-width: 0;
    padding: .8rem .45rem;
  }

  .stat-row .stat-block b {
    font-size: 1.5rem;
  }

  .stat-row .stat-block span {
    font-size: .76rem;
    line-height: 1.35;
  }

  .section-head {
    align-items: flex-start;
    gap: 1rem;
  }

  .section-head .btn {
    width: 100%;
  }

  .hero-cta-row {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 1rem;
  }

  .hero-stats .stat {
    flex: 1 1 42%;
    min-width: 0;
  }

  .hero-visual {
    width: 100%;
    max-width: 520px;
  }

  .hero-float-card {
    max-width: calc(100% - 1.5rem);
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .btn {
    width: 100%;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-wrap {
    grid-template-columns: 1fr;
  }

  .auth-form-wrap {
    padding: 2rem var(--gutter);
  }

  .state-page {
    padding: 1.5rem var(--gutter);
  }

  .countdown {
    gap: .5rem;
    flex-wrap: wrap;
  }

  .countdown .cbox {
    flex: 1 1 70px;
    min-width: 0;
    padding: .8rem .6rem;
  }
}

/* Small phones */
@media (max-width:480px) {
  h1 {
    font-size: clamp(2.25rem, 12vw, 3.2rem);
  }

  h2 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  h3 {
    font-size: 1.25rem;
  }

  .btn {
    width: 100%;
    min-height: 44px;
    padding: .8rem 1.2rem;
  }

  .btn-sm {
    width: auto;
    min-height: 40px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stats .stat {
    min-width: 0;
  }

  .hero-float-card {
    font-size: .78rem;
    padding: .65rem .75rem;
  }

  .hero-float-card .icon {
    width: 32px;
    height: 32px;
  }

  .collage {
    min-height: 300px;
  }

  .final-cta {
    margin-inline: 0;
  }

  .rail-card {
    flex-basis: 84vw;
  }

  .cart-line {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: .7rem;
  }

  .cart-line img {
    width: 56px;
    height: 56px;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion:reduce) {

  .nav-dropdown-menu,
  .mobile-subnav {
    transition: none;
  }
}

/* ========================================================================
   FINAL RESPONSIVE POLISH — 1024 / TABLET / MOBILE
   ======================================================================== */

/* Header: keep every control on one line and prevent flex compression. */
.header-inner {
  min-width: 0;
}

.logo {
  flex: 0 0 auto;
  white-space: nowrap;
}

.header-actions {
  flex: 0 0 auto;
  min-width: 0;
}

.login-link {
  white-space: nowrap;
  min-width: max-content;
}

.main-nav {
  min-width: 0;
}

.main-nav>a,
.nav-dropdown-toggle {
  white-space: nowrap;
}

.nav-dropdown-menu {
  z-index: 20;
}

/* The menu drawer should behave like a real mobile panel, not a stretched page. */
.mobile-nav {
  width: 100%;
  max-width: 100vw;
}

.mobile-nav-top .logo {
  font-size: 1.15rem;
}

.mobile-nav ul,
.mobile-home-group {
  min-width: 0;
}

.mobile-home-group {
  border-bottom: 1px solid var(--border);
}

.mobile-home-toggle {
  border-bottom: 0;
  min-height: 48px;
  text-align: left;
}

.mobile-subnav {
  padding-left: .25rem;
}

.mobile-subnav a {
  border-bottom: 0 !important;
  min-height: 40px;
  display: flex !important;
  align-items: center;
}

.mobile-home-group.has-active .mobile-home-toggle {
  color: var(--vn-green-500);
}

/* Never let inline image sizing create a horizontal scrollbar. */
section,
main,
header,
footer,
article,
aside,
div {
  min-width: 0;
}

.hero-visual img,
.collage img,
.service-card img,
.menu-card img,
.featured-post img,
.blog-card img,
.post-card img,
.ingredient-tile img,
.rail-card img,
.combo-panel img,
.page-hero img {
  max-width: 100%;
}

/* 1024px: use the available width efficiently without making the page feel
   like a phone. The navigation becomes a drawer while content remains roomy. */
@media (min-width:768px) and (max-width:1100px) {
  .header-inner {
    padding-inline: 1.5rem;
    gap: .9rem;
  }

  .header-actions {
    gap: .45rem;
  }

  .header-actions .btn-sm {
    display: inline-flex !important;
  }

  .header-actions .cart-icon-btn {
    display: inline-flex !important;
  }

  .hamburger {
    display: flex;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    max-width: 860px;
  }

  .hero-visual img {
    width: 100%;
    max-height: none;
    object-fit: contain;
  }

  .ingredient-story-grid {
    gap: 2.5rem;
  }

  .collage {
    min-height: 440px;
    max-width: 760px;
    width: 100%;
    margin-inline: auto;
  }

  .section-head {
    gap: 1rem;
  }

  .section-head .btn {
    flex: 0 0 auto;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card-body {
    padding: 1.15rem;
  }

  .menu-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 600–767px: tablet portrait / large phones. Keep useful two-up cards. */
@media (min-width:600px) and (max-width:767px) {

  .service-grid,
  .menu-grid,
  .blog-grid,
  .benefit-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .ingredient-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .section-head {
    display: flex;
    flex-wrap: wrap;
  }

  .section-head>div {
    flex: 1 1 100%;
  }

  .section-head .btn {
    width: auto;
  }
}

/* Mobile: turn the ingredient collage into a normal flow grid so text can
   never sit on top of an image. */
@media (max-width:767px) {
  :root {
    --gutter: clamp(1rem, 4vw, 1.25rem);
  }

  .site-header {
    height: 64px;
  }

  .site-header.is-scrolled {
    height: 60px;
  }

  .header-inner {
    padding-inline: var(--gutter);
  }

  .logo {
    font-size: 1.05rem;
    gap: .45rem;
  }

  .logo img {
    width: 30px;
    height: 30px;
  }

  .header-actions {
    gap: .35rem;
  }

  .header-actions .theme-only,
  .header-actions .btn-sm,
  .header-actions .login-link {
    display: none !important;
  }

  .header-actions .cart-icon-btn,
  .hamburger {
    display: inline-flex !important;
  }

  .header-actions .icon-btn,
  .hamburger {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .mobile-nav {
    padding: 1rem var(--gutter) 1.5rem;
  }

  .mobile-nav-top {
    margin-bottom: 1rem;
  }

  .mobile-nav ul {
    gap: 0;
  }

  .mobile-nav a {
    font-size: 1.18rem;
    padding: .65rem 0;
    line-height: 1.25;
  }

  .mobile-home-toggle {
    font-size: 1.18rem;
    padding: .65rem 0;
  }

  .mobile-subnav a {
    font-family: var(--font-body);
    font-size: .92rem !important;
    padding: .45rem .75rem !important;
  }

  .mobile-nav .btn-row {
    margin-top: 1rem;
    gap: .6rem;
  }

  .mobile-nav .btn-row .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }

  .section {
    padding-block: clamp(2.75rem, 8vw, 4rem);
  }

  .section-tight {
    padding-block: clamp(1.8rem, 6vw, 2.8rem);
  }

  .section-head {
    align-items: flex-start;
  }

  .section-head .btn {
    width: 100%;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-cta-row {
    width: 100%;
    gap: .65rem;
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .hero-visual {
    width: 100%;
    max-width: none;
  }

  .hero-visual img {
    border-radius: var(--radius-lg);
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    box-shadow: var(--shadow-lift);
    object-position: center bottom;

  }

  .ingredient-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 2rem;
  }

  .collage {
    min-height: 0 !important;
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .72fr);
    grid-template-rows: auto auto;
    gap: .7rem;
    align-items: stretch;
  }

  .collage img {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
  }

  .collage .img-a {
    grid-column: 1;
    grid-row: 1 / span 2;
    aspect-ratio: 4/5;
  }

  .collage .img-b {
    grid-column: 2;
    grid-row: 2;
    aspect-ratio: 1/1;
    border: 4px solid var(--bg);
  }

  .collage .img-c {
    grid-column: 2;
    grid-row: 1;
    aspect-ratio: 4/3;
  }

  .ingredient-story-grid>div:last-child {
    width: 100%;
  }

  .ingredient-tags {
    gap: .45rem;
    margin-top: 1.2rem;
  }

  .ingredient-tags span {
    padding: .42rem .75rem;
    font-size: .75rem;
  }

  .bento {
    margin-top: 1.8rem;
    gap: .8rem;
    grid-template-rows: repeat(4, minmax(150px, 48vw)) !important;
  }

  .service-grid,
  .menu-grid,
  .blog-grid,
  .benefit-wall,
  .pricing-grid,
  .ingredient-grid {
    min-width: 0;
  }

  .service-card,
  .menu-card,
  .post-card,
  .price-card,
  .ingredient-card {
    min-width: 0;
  }

  .service-card img,
  .menu-card img {
    width: 100%;
  }

  .service-card-body,
  .menu-card-body {
    min-width: 0;
  }

  .menu-card-top {
    align-items: flex-start;
  }

  .menu-card-body h3,
  .service-card-body h3 {
    overflow-wrap: anywhere;
  }

  .stat-row,
  .stat-row[style] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .stat-block {
    min-width: 0;
  }

  .stat-block b {
    font-size: 1.7rem;
  }

  .stat-block span {
    font-size: .72rem;
    display: block;
    line-height: 1.35;
  }

  .newsletter-form {
    width: 100%;
  }

  .newsletter-form input {
    width: 100%;
  }

  .footer-bottom {
    align-items: flex-start;
  }

  .final-cta {
    margin-inline: 0;
    padding-inline: 1.2rem;
  }

  /* Home 2 full-width hero image: remove restrictive inline height on phones. */
  main>section>img[style*="max-height:520px"] {
    max-height: none !important;
    height: auto !important;
    object-fit: cover !important;
  }
}

@media (max-width:599px) {

  .service-grid,
  .menu-grid,
  .blog-grid,
  .benefit-wall,
  .pricing-grid,
  .ingredient-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .service-card-body,
  .menu-card-body {
    padding: 1rem 1.05rem 1.15rem;
  }

  .section-head .btn {
    width: 100%;
  }

  .section-head h2 {
    max-width: 18ch;
  }
}

@media (max-width:420px) {
  .logo {
    font-size: 1rem;
  }

  .logo img {
    width: 28px;
    height: 28px;
  }

  .header-actions .icon-btn,
  .hamburger {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .mobile-nav a,
  .mobile-home-toggle {
    font-size: 1.08rem;
  }

  .mobile-nav .btn-row {
    flex-direction: column;
  }

  .mobile-nav .btn-row .btn {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.05rem, 11vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.65rem, 8.5vw, 2.15rem);
  }

  .btn {
    padding: .8rem 1.15rem;
  }

  .ingredient-tags span {
    font-size: .7rem;
  }
}

/* Active Home dropdown trigger */
.nav-dropdown-toggle.active {
  color: var(--brand);
}

.nav-dropdown-toggle.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--vn-lime);
  border-radius: 2px;
}

/* ========================================================================
   FINAL HEADER + RESPONSIVE QA PATCH
   ======================================================================== */
.site-header,
.header-inner,
.main-nav,
.header-actions {
  box-sizing: border-box;
}

.header-inner {
  min-width: 0;
}

.logo {
  flex: 0 0 auto;
}

.main-nav {
  flex: 1 1 auto;
  justify-content: center;
  gap: clamp(1rem, 1.7vw, 1.65rem);
  min-width: 0;
}

.main-nav>a,
.nav-dropdown {
  flex: 0 0 auto;
}

.nav-dropdown-toggle {
  gap: .3rem;
  padding: .3rem .05rem;
}

.nav-dropdown-toggle i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: .72rem;
  height: .72rem;
  font-size: .62rem;
  line-height: 1;
}

.nav-dropdown-toggle.active::after {
  bottom: -7px;
}

.nav-dropdown-menu {
  top: calc(100% + .85rem);
}

.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

/* Keep the 1024/tablet header compact and never allow controls to collide. */
@media (min-width:1101px) {
  .header-order-btn {
    flex: 0 0 auto;
  }
}

@media (min-width:768px) and (max-width:1100px) {
  .header-inner {
    padding-inline: 1.35rem;
    gap: .75rem;
  }

  .header-actions {
    margin-left: auto;
    gap: .4rem;
  }

  .header-actions .btn-sm {
    display: inline-flex !important;
  }

  .header-actions .cart-icon-btn,
  .header-actions .hamburger {
    display: inline-flex !important;
  }

  .header-actions .theme-only,
  .header-actions .login-link {
    display: none !important;
  }

  .hamburger {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
}

/* Mobile header: stable logo + cart + menu, with no flex shrink. */
@media (max-width:767px) {
  .header-inner {
    padding-inline: 1rem;
    gap: .5rem;
  }

  .logo {
    min-width: 0;
  }

  .header-actions {
    margin-left: auto;
    flex: 0 0 auto;
  }

  .header-order-btn {
    display: none !important;
  }

  .header-actions .cart-icon-btn,
  .header-actions .hamburger {
    display: inline-flex !important;
  }

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

  .hamburger {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }
}

/* Mobile Home accordion: clear chevron and active page opens the submenu. */
.mobile-home-toggle {
  cursor: pointer;
  box-sizing: border-box;
}

.mobile-home-toggle i {
  width: 1rem;
  height: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1rem;
  font-size: .72rem;
}

.mobile-home-group.has-active .mobile-home-toggle {
  color: var(--brand);
}

.mobile-home-group.is-open .mobile-home-toggle i {
  transform: rotate(180deg);
}

.mobile-subnav {
  width: 100%;
}

.mobile-subnav a {
  white-space: nowrap;
}

/* Avoid content touching the viewport edges on tablet/phone. */
@media (max-width:1100px) {
  .wrap {
    padding-inline: var(--gutter);
  }

  .site-header .header-inner {
    width: 100%;
  }
}

@media (max-width:599px) {
  .wrap {
    padding-inline: var(--gutter);
  }
}


/* ========================================================================
   FINAL RESPONSIVE PASS — 1024 / TABLET / MOBILE
   Keep the desktop composition at 1024px, only scale the columns and media.
   ======================================================================== */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* Home dropdown: the trigger and chevron are one stable hit target. */
.nav-dropdown-toggle {
  min-height: 40px;
  cursor: pointer;
}

.nav-dropdown-toggle i {
  flex: 0 0 auto;
  width: .7rem;
  text-align: center;
}

.nav-dropdown-menu {
  min-width: 180px;
}

/* 768–1100px is tablet/compact desktop: retain left-copy/right-image layouts. */
@media (min-width:768px) and (max-width:1100px) {
  :root {
    --gutter: clamp(1.25rem, 3vw, 1.75rem);
  }

  .header-inner {
    padding-inline: var(--gutter);
    gap: .75rem;
  }

  .main-nav {
    display: none !important;
  }

  .hamburger {
    display: inline-flex !important;
    flex: 0 0 40px;
  }

  .header-actions {
    margin-left: auto;
    gap: .45rem;
  }

  .header-actions .theme-only {
    display: none !important;
  }

  .header-actions .cart-icon-btn {
    display: inline-flex !important;
  }

  .header-actions .login-link {
    display: inline-flex !important;
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    gap: 0;
    font-size: 0;
  }

  .header-actions .login-link i {
    font-size: 1rem;
  }

  .header-order-btn {
    display: inline-flex !important;
    min-height: 40px;
    padding: .62rem 1rem;
    font-size: .8rem;
  }

  .hero {
    padding-top: clamp(2rem, 4vw, 3rem);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr) !important;
    gap: clamp(1.4rem, 3vw, 2.5rem);
    align-items: center;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 5.5vw, 4.2rem);
  }

  .hero-visual {
    width: 100%;
    max-width: none;
  }

  .hero-visual img {
    width: 100%;
    aspect-ratio: 4/5;
    height: auto;
    object-fit: cover;
  }

  .hero-float-card.card-1 {
    left: -.8rem;
    top: -.8rem;
  }

  .hero-float-card.card-2 {
    right: -.8rem;
    bottom: 1rem;
  }

  .ingredient-story-grid {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr) !important;
    gap: clamp(1.5rem, 3.5vw, 3rem);
    align-items: center;
  }

  .collage {
    min-height: 430px;
    width: 100%;
  }

  .collage .img-a {
    width: 60%;
  }

  .collage .img-b {
    width: 46%;
  }

  .collage .img-c {
    width: 36%;
  }

  .ingredient-story-grid .lede {
    max-width: 48ch;
  }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(3, minmax(150px, 190px)) !important;
    gap: .9rem;
  }

  .bento-1 {
    grid-column: 1/3 !important;
    grid-row: 1 !important;
  }

  .bento-2 {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .bento-3 {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  .bento-4 {
    grid-column: 1/3 !important;
    grid-row: 3 !important;
  }

  .bento-item img {
    object-fit: cover;
  }

  .bento-item .bento-label {
    left: 1rem;
    bottom: 1rem;
  }

  .two-col-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 1.5rem;
  }

  .two-col-head .lede {
    justify-self: end;
    max-width: 42ch;
  }

  .combo-split {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem;
  }

  .combo-panel {
    min-height: 300px;
    padding: 1.35rem;
  }

  .combo-panel h3 {
    font-size: 1.35rem;
  }

  .combo-panel p {
    font-size: .82rem;
  }

  .combo-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
    flex-wrap: wrap;
  }

  .combo-bottom .price-tag {
    margin-top: 0;
  }

  .combo-bottom .btn {
    padding: .55rem .85rem;
    font-size: .75rem;
  }

  .page-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) !important;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
  }

  .page-hero-grid>img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
  }

  .page-hero-grid h1 {
    font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  }

  .story-split {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr) !important;
    gap: 2.5rem;
  }

  .story-split.reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) !important;
  }

  .contact-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
    gap: 2rem;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: .9rem;
  }

  .price-card,
  .price-card.featured {
    grid-column: auto !important;
    max-width: none;
    transform: none;
    padding: 1.4rem;
  }

  .price-card h3 {
    font-size: 1.15rem;
  }

  .price-card li {
    font-size: .78rem;
  }

  .price-card .btn {
    font-size: .78rem;
    padding: .65rem .8rem;
  }

  .service-grid,
  .menu-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section {
    padding-block: clamp(3.2rem, 6vw, 5rem);
  }
}

/* 600–767px: tablet portrait. */
@media (min-width:600px) and (max-width:767px) {
  .main-nav {
    display: none !important;
  }

  .hamburger {
    display: inline-flex !important;
  }

  .header-actions .theme-only,
  .header-actions .login-link {
    display: none !important;
  }

  .header-order-btn {
    display: inline-flex !important;
  }

  .hero-grid,
  .ingredient-story-grid,
  .page-hero-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-visual {
    max-width: 620px;
    margin-inline: auto;
  }

  .hero-copy {
    max-width: 620px;
    margin-inline: auto;
  }

  .two-col-head {
    grid-template-columns: 1fr !important;
  }

  .two-col-head .lede {
    justify-self: start;
    text-align: left !important;
  }

  .combo-split {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* <=599px: phone. No oversized decorative media or blank side columns. */
@media (max-width:599px) {
  .main-nav {
    display: none !important;
  }

  .hero-grid,
  .ingredient-story-grid,
  .page-hero-grid,
  .story-split,
  .story-split.reverse,
  .experience-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .hero {
    padding-top: 1.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 12vw, 3.4rem);
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
  }

  .hero-visual img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
  }

  .hero-float-card {
    max-width: calc(100% - 1rem);
    padding: .7rem .8rem;
  }

  .hero-float-card.card-1 {
    left: .5rem;
    top: .5rem;
  }

  .hero-float-card.card-2 {
    right: .5rem;
    bottom: .7rem;
  }

  .collage {
    min-height: 0;
  }

  .page-hero-grid>img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
  }

  .two-col-head {
    grid-template-columns: 1fr !important;
  }

  .two-col-head .lede {
    justify-self: start;
    text-align: left !important;
  }

  .combo-split {
    grid-template-columns: 1fr !important;
  }

  .combo-panel {
    min-height: 330px;
  }

  .combo-bottom {
    align-items: flex-start;
  }

  .combo-bottom .btn {
    width: auto;
  }
}

/* Mobile drawer: Home is a real accordion; both Home 1 and Home 2 remain tappable. */
.mobile-nav {
  overscroll-behavior: contain;
}

.mobile-home-toggle {
  position: relative;
  z-index: 2;
}

.mobile-subnav {
  max-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: max-height .25s ease;
}

.mobile-home-group.is-open .mobile-subnav {
  max-height: 140px;
}

.mobile-subnav a {
  pointer-events: auto !important;
  position: relative;
  z-index: 3;
}

.mobile-subnav a.active {
  font-weight: 800;
}

/* RTL is opt-in through the header/mobile toggle. Keep LTR as the default. */
html {
  direction: ltr;
}

/* Avoid AOS/transform wrappers producing horizontal spill. */
[data-aos] {
  max-width: 100%;
}

/* ===== Targeted fixes: menu filters, blog search, combo alignment, RTL + sticky header ===== */

/* Keep filter results visible even when the optional AOS library is unavailable. */
.menu-grid .menu-card,
.blog-grid .post-card,
.featured-post {
  min-width: 0;
}

/* Shared combo layout: same image/text proportions across pages and breakpoints. */
.combo-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.combo-panel {
  min-width: 0;
  min-height: 340px;
}

.combo-panel .content {
  width: 100%;
  max-width: 100%;
}

.combo-bottom {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.combo-bottom .price-tag {
  margin-top: 0;
}

.combo-panel .content>div[style*="display:flex"] {
  position: relative;
  z-index: 3;
}

.combo-panel .btn {
  white-space: nowrap;
}

/* Sticky header remains visible while scrolling, with a clear scrolled state. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(23, 58, 43, .16);
  backdrop-filter: blur(16px) saturate(150%);
}

/* RTL controls. */
.rtl-toggle {
  display: inline-flex;
}

.mobile-rtl-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  margin-top: .7rem;
  padding: .75rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--bg-raised);
  color: var(--brand);
  font-weight: 700;
}

html[dir="rtl"] .combo-split,
html[dir="rtl"] .combo-bottom {
  direction: rtl;
}

/* 1024/tablet: keep the two combo images aligned side-by-side. */
@media (min-width:768px) and (max-width:1100px) {
  .combo-split {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem;
  }

  .combo-panel {
    min-height: 320px;
    padding: 1.5rem;
  }

  .combo-panel h3 {
    font-size: 1.3rem;
  }

  .combo-panel p {
    max-width: 32ch;
  }

  .header-actions .rtl-toggle {
    display: inline-flex !important;
  }
}

/* Phone: stack combo cards cleanly; never crop/overlap their content. */
@media (max-width:767px) {
  .combo-split {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .combo-panel {
    min-height: 310px;
    padding: 1.25rem;
  }

  .combo-panel h3 {
    font-size: 1.35rem;
  }

  .combo-bottom {
    justify-content: flex-start;
  }

  .rtl-toggle {
    display: none !important;
  }

  .mobile-rtl-toggle {
    display: flex;
  }
}

/* Make menu/blog cards independently visible; AOS can still animate when loaded. */
@media (min-width:0px) {

  .menu-grid .menu-card[aria-hidden="false"],
  .blog-grid .post-card,
  .featured-post {
    min-height: 0;
  }
}


/* ===== FINAL RTL TOGGLE VISIBILITY FIX ===== */
.rtl-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .header-actions .rtl-toggle {
    display: inline-flex !important;
  }
}

@media (max-width: 767px) {
  .mobile-nav .mobile-rtl-toggle {
    display: inline-flex !important;
  }
}

/* Login page — tablet fix only: keep the illustration visible beside the form. */
@media (min-width:768px) and (max-width:1100px) {
  .auth-wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    min-height: calc(100vh - var(--header-h) - 220px);
  }

  .auth-visual {
    display: block !important;
    min-height: 520px;
    overflow: hidden;
  }

  .auth-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
  }

  .auth-form-wrap {
    padding: 2rem clamp(1.25rem, 3vw, 2.5rem);
  }

  .auth-form {
    max-width: 420px;
  }
}


/* ========================================================================
   HAMBURGER / MOBILE DRAWER — FINAL BUG FIX
   The sticky header sits at z-index 1000, so the drawer must be above it.
   This prevents the header controls/logo from showing through the open menu.
   ======================================================================== */
.mobile-nav-overlay {
  z-index: 1090;
}

.mobile-nav {
  z-index: 1100;
  width: min(100%, 100vw);
  max-width: 100vw;
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav.is-open {
  visibility: visible;
  pointer-events: auto;
}

/* Never let the menu sit underneath the sticky header at tablet/phone sizes. */
@media (max-width: 1100px) {
  .hamburger {
    display: inline-flex !important;
    position: relative;
    z-index: 1110;
    flex: 0 0 auto;
  }

  .mobile-nav,
  .mobile-nav-overlay {
    position: fixed;
  }

  .mobile-nav-top {
    position: relative;
    z-index: 2;
  }

  .mobile-nav .mobile-home-group.is-open .mobile-subnav {
    max-height: 140px;
  }
}

/* Home is an accordion: closed by default, opened only by tapping Home. */
.mobile-home-group:not(.is-open) .mobile-subnav {
  max-height: 0 !important;
  overflow: hidden;
  visibility: hidden;
}

.mobile-home-group.is-open .mobile-subnav {
  max-height: 140px;
  visibility: visible;
}

/* ========================================================================
   FINAL TARGETED FIX — HEADER BUTTONS + STICKY HEADER
   Responsive header actions:
   - Desktop: normal full navigation/actions.
   - Tablet (768–1100px): full Login + Order Now text buttons, cart, hamburger.
   - Mobile (<=767px): compact header with cart + hamburger; full Login + Order
     Now buttons are always available inside the mobile drawer.
   ======================================================================== */

/* Fixed/sticky header without changing the existing visual design. */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 2000 !important;
}

body {
  padding-top: var(--header-h);
}

/* Tablet: show the complete Login and Order Now labels, not icon-only Login. */
@media (min-width: 768px) and (max-width: 1100px) {
  .header-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: .45rem !important;
    min-width: 0;
  }

  .header-actions .theme-only {
    display: none !important;
  }

  .header-actions .rtl-toggle,
  .header-actions .cart-icon-btn,
  .header-actions .login-link,
  .header-actions .header-order-btn,
  .header-actions .hamburger {
    flex: 0 0 auto !important;
    min-height: 40px !important;
  }

  .header-actions .rtl-toggle,
  .header-actions .cart-icon-btn,
  .header-actions .hamburger {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
  }

  .header-actions .login-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 82px !important;
    height: 40px !important;
    padding: .55rem .85rem !important;
    gap: .4rem !important;
    font-size: .78rem !important;
    white-space: nowrap !important;
  }

  .header-actions .login-link i {
    font-size: .9rem !important;
  }

  .header-actions .header-order-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 96px !important;
    height: 40px !important;
    padding: .55rem .9rem !important;
    font-size: .78rem !important;
    white-space: nowrap !important;
  }

  .hamburger {
    display: inline-flex !important;
    position: relative;
    z-index: 1110;
  }
}

/* Small tablet / large phone: keep header uncluttered; drawer contains both full buttons. */
@media (min-width: 600px) and (max-width: 767px) {
  .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: .45rem !important;
  }

  .header-actions .theme-only,
  .header-actions .rtl-toggle,
  .header-actions .login-link,
  .header-actions .header-order-btn {
    display: none !important;
  }

  .header-actions .cart-icon-btn,
  .header-actions .hamburger {
    display: inline-flex !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    flex: 0 0 40px !important;
  }

  .mobile-nav .btn-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .7rem !important;
    width: 100% !important;
  }

  .mobile-nav .btn-row .btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    padding-inline: 1rem !important;
    justify-content: center !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }
}

/* Mobile: compact header + full-width drawer actions. */
@media (max-width: 599px) {
  body {
    padding-top: var(--header-h);
  }

  .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: .4rem !important;
  }

  .header-actions .theme-only,
  .header-actions .rtl-toggle,
  .header-actions .login-link,
  .header-actions .header-order-btn {
    display: none !important;
  }

  .header-actions .cart-icon-btn,
  .header-actions .hamburger {
    display: inline-flex !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    flex: 0 0 38px !important;
  }

  .mobile-nav .btn-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: .7rem !important;
    width: 100% !important;
  }

  .mobile-nav .btn-row .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: .7rem .8rem !important;
    white-space: nowrap !important;
  }
}

/* Very narrow phones: prevent Login/Order Now text from being squeezed. */
@media (max-width: 380px) {
  .mobile-nav .btn-row {
    grid-template-columns: 1fr !important;
  }
}

/* Drawer must stay above the fixed header on both tablet and mobile. */
.mobile-nav-overlay {
  z-index: 2090 !important;
}

.mobile-nav {
  z-index: 2100 !important;
  width: min(100%, 100vw);
  max-width: 100vw;
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav.is-open {
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 1100px) {
  .hamburger {
    display: inline-flex !important;
    position: relative;
    z-index: 2110;
    flex: 0 0 auto;
  }

  .mobile-nav,
  .mobile-nav-overlay {
    position: fixed;
  }

  .mobile-nav-top {
    position: relative;
    z-index: 2;
  }

  .mobile-nav .mobile-home-group.is-open .mobile-subnav {
    max-height: 140px;
  }
}

/* Home is an accordion: collapsed until Home is tapped. */
.mobile-home-group:not(.is-open) .mobile-subnav {
  max-height: 0 !important;
  overflow: hidden;
  visibility: hidden;
}

.mobile-home-group.is-open .mobile-subnav {
  max-height: 140px;
  visibility: visible;
}

/* Keep the RTL control available on tablet and in the drawer on phones. */
.rtl-toggle {
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .header-actions .rtl-toggle {
    display: inline-flex !important;
  }
}

@media (max-width: 767px) {
  .mobile-nav .mobile-rtl-toggle {
    display: inline-flex !important;
  }
}

/* Login page — preserve the existing tablet two-column auth layout. */
@media (min-width:768px) and (max-width:1100px) {
  .auth-wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    min-height: calc(100vh - var(--header-h) - 220px);
  }

  .auth-visual {
    display: block !important;
    min-height: 520px;
    overflow: hidden;
  }

  .auth-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
  }

  .auth-form-wrap {
    padding: 2rem clamp(1.25rem, 3vw, 2.5rem);
  }

  .auth-form {
    max-width: 420px;
  }
}

/* Preserve combo alignment fixes. */
@media (min-width:768px) and (max-width:1100px) {
  .combo-split {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem;
  }

  .combo-panel {
    min-height: 320px;
    padding: 1.5rem;
  }

  .combo-panel h3 {
    font-size: 1.3rem;
  }

  .combo-panel p {
    max-width: 32ch;
  }
}

@media (max-width:767px) {
  .combo-split {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .combo-panel {
    min-height: 310px;
    padding: 1.25rem;
  }

  .combo-panel h3 {
    font-size: 1.35rem;
  }

  .combo-bottom {
    justify-content: flex-start;
  }

  .rtl-toggle {
    display: none !important;
  }

  .mobile-rtl-toggle {
    display: flex;
  }
}

@media (min-width:0px) {

  .menu-grid .menu-card[aria-hidden="false"],
  .blog-grid .post-card,
  .featured-post {
    min-height: 0;
  }
}
/* ===== Final targeted alignment fixes ===== */
.bento-item .bento-label {
  right: 1.3rem;
  max-width: calc(100% - 2.6rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .18rem;
}

.bento-item .bento-label b,
.bento-item .bento-label > span {
  display: block;
  max-width: 100%;
}

.bento-item .bento-label .btn {
  margin-top: .45rem !important;
  flex-shrink: 0;
}

.combo-panel .content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.combo-panel .content > div[style*="display:flex"] {
  width: 100%;
  align-items: center;
}

.combo-panel .content > div[style*="display:flex"] .btn {
  margin-top: 0 !important;
}

.service-card[data-service] {
  cursor: pointer;
}

/* ========================================================================
   TARGETED TABLET HEADER CONTROL FIX
   Keep Login, Order Now, Cart and Hamburger visually aligned at tablet sizes.
   ======================================================================== */
@media (min-width:768px) and (max-width:1100px) {
  .header-actions {
    align-items: center !important;
    justify-content: flex-end !important;
    gap: .55rem !important;
  }

  .header-actions .login-link,
  .header-actions .header-order-btn,
  .header-actions .cart-icon-btn,
  .header-actions .hamburger {
    height: 42px !important;
    min-height: 42px !important;
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
  }

  .header-actions .login-link {
    min-width: 92px !important;
    padding: 0 .9rem !important;
  }

  .header-actions .header-order-btn {
    min-width: 104px !important;
    padding: 0 1rem !important;
  }

  .header-actions .cart-icon-btn,
  .header-actions .hamburger {
    width: 42px !important;
    min-width: 42px !important;
  }

  .header-actions .hamburger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid var(--border) !important;
    border-radius: 999px !important;
    background: var(--bg-card) !important;
    padding: 0 !important;
    gap: 4px !important;
  }

  .header-actions .hamburger span {
    width: 17px !important;
    height: 2px !important;
    border-radius: 10px !important;
  }
}
 .hero-banner {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lift);
  }

  .hero-banner img {
    display: block;
    width: 100%;
    max-height: 520px;
    min-height: 420px;
    object-fit: cover;
  }

  .hero-banner-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 3rem 5rem;
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.48) 0%,
      rgba(0, 0, 0, 0.22) 38%,
      rgba(0, 0, 0, 0) 70%
    );
  }

  .hero-banner-content h2 {
    margin: 0;
    max-width: 520px;
    color: #ffffff;
    font-size: clamp(2rem, 4.5vw, 4rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.3);
  }

  .hero-banner-content h2 em {
    font-style: italic;
    font-weight: 600;
  }

  @media (max-width: 768px) {
    .hero-banner img {
      min-height: 340px;
      max-height: 420px;
    }

    .hero-banner-content {
      padding: 2rem;
      background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.48) 0%,
        rgba(0, 0, 0, 0.18) 65%,
        rgba(0, 0, 0, 0) 100%
      );
    }

    .hero-banner-content h2 {
      max-width: 380px;
      font-size: clamp(1.8rem, 7vw, 3rem);
    }
  }

  @media (max-width: 480px) {
    .hero-banner img {
      min-height: 300px;
    }

    .hero-banner-content {
      padding: 1.5rem;
    }

    .hero-banner-content h2 {
      max-width: 280px;
      font-size: 2rem;
    }
  }


/* ===== BLOG-ONLY REQUEST: TABLET HAMBURGER DRAWER BUTTONS ===== */
@media (min-width:768px) and (max-width:1100px) {
  .mobile-nav .btn-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .8rem !important;
    width: 100% !important;
    margin-top: 1.5rem !important;
  }

  .mobile-nav .btn-row .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: .75rem 1rem !important;
    font-size: .9rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    border-radius: var(--radius-pill) !important;
  }
}
