:root {
  --olive-950: #1f3527;
  --olive-900: #264935;
  --olive-700: #3f6f52;
  --olive-500: #5e8e71;
  --olive-100: #eaf3ed;
  --warm-50: #fffefb;
  --warm-100: #f8f5ed;
  --text-900: #1e2720;
  --text-700: #4b5a51;
  --border-soft: #e3ebe4;
  --shadow-soft: 0 8px 24px rgba(20, 30, 24, 0.08);
  --shadow-medium: 0 14px 34px rgba(20, 30, 24, 0.12);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-900);
  line-height: 1.55;
  background: linear-gradient(180deg, #ffffff 0%, var(--warm-50) 75%, #ffffff 100%);
  padding-top: 74px;
  padding-bottom: 0;
}

html.modal-open,
body.modal-open,
body.is-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.is-modal-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

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

main {
  width: min(1100px, 92vw);
  margin: 1.5rem auto 4rem;
}

.main-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  gap: 0.55rem;
}

.main-nav.is-scrolled {
  box-shadow: 0 8px 20px rgba(17, 36, 25, 0.1);
  border-bottom-color: #dbe5dc;
}

.nav-brand {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--olive-900);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid #dbe6dc;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.nav-toggle:hover {
  box-shadow: var(--shadow-soft);
}

.nav-toggle:active {
  transform: scale(0.98);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--olive-900);
  display: block;
  border-radius: 2px;
  margin: 2.5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-links {
  position: absolute;
  top: calc(100% + 10px);
  left: 0.75rem;
  right: 0.75rem;
  display: grid;
  gap: 0.35rem;
  background: #ffffff;
  border: 1px solid #dfe8e0;
  border-radius: 14px;
  box-shadow: var(--shadow-medium);
  padding: 0.5rem;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.main-nav.is-open .nav-links {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

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

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

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

.nav-links a {
  text-decoration: none;
  color: var(--text-900);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: linear-gradient(135deg, var(--olive-900), var(--olive-700));
  color: #ffffff;
}

.nav-order-btn {
  display: none;
  border: 1px solid #2f6748;
  border-radius: 999px;
  background: linear-gradient(135deg, #2f6748, #3e7a59);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.86rem;
  line-height: 1;
  min-height: 44px;
  padding: 0.68rem 1rem;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(35, 81, 57, 0.2);
  transition: transform 0.16s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.nav-order-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(35, 81, 57, 0.26);
  filter: saturate(1.05);
}

.nav-order-btn:active {
  transform: translateY(0);
}

.hero {
  position: relative;
  height: clamp(420px, 48vw, 620px);
  min-height: 0;
  background: #1f3527;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

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

.cta-section {
  margin: 0.2rem 0 2.4rem;
}

.promo-carousel {
  position: relative;
  margin: 0.2rem 0 1.25rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #1f3527;
  box-shadow: var(--shadow-soft);
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.promo-track {
  position: relative;
  aspect-ratio: 16 / 7;
  min-height: 240px;
}

.hero-carousel .promo-track {
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
}

.promo-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  width: 100%;
  border: 0;
  padding: clamp(1rem, 3vw, 1.8rem);
  text-align: left;
  color: #fff;
  background: #1f3527;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.28s ease;
}

.promo-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.promo-slide img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.9;
}

.hero-carousel .promo-slide img {
  opacity: 1;
}

.hero-carousel .promo-slide img[src^="aviso-"] {
  object-fit: contain;
}

.promo-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 22, 16, 0.08) 0%, rgba(11, 22, 16, 0.72) 100%);
}

.hero-carousel .promo-slide::after {
  display: none;
}

.promo-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.18rem;
  max-width: min(520px, 86%);
}

.promo-copy strong {
  font-size: clamp(1.45rem, 5vw, 2.5rem);
  line-height: 1;
}

.promo-copy span {
  font-size: clamp(0.9rem, 2.4vw, 1.05rem);
  font-weight: 700;
}

.hero-carousel .promo-copy {
  display: none;
}

.promo-controls {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem;
  pointer-events: none;
}

.hero-carousel .promo-controls {
  left: max(1rem, calc((100vw - 1100px) / 2));
  right: max(1rem, calc((100vw - 1100px) / 2));
  bottom: clamp(1rem, 4vw, 2rem);
}

.promo-control,
.promo-dots button {
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.promo-control {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 1.35rem;
  line-height: 1;
}

.promo-dots {
  display: flex;
  gap: 0.32rem;
}

.promo-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  padding: 0;
}

.promo-dots button.is-active {
  width: 24px;
  background: #fff;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.65rem;
  margin: -0.8rem 0 2.4rem;
  padding: 0.85rem;
  background: linear-gradient(135deg, #f7fbf7, #fffdf8);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.trust-strip p,
.trust-strip a {
  min-height: 52px;
  margin: 0;
  padding: 0.65rem 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 12px;
  background: #fff;
  color: #42584a;
  font-size: 0.8rem;
  line-height: 1.3;
  text-decoration: none;
}

.trust-strip strong {
  display: block;
  color: var(--olive-900);
}

.cta-card,
.menu-section,
.about-section,
.elegant-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.cta-card {
  max-width: 700px;
  margin: 0 auto;
  padding: clamp(1rem, 2.5vw, 1.7rem);
  text-align: center;
}

.cta-title {
  margin: 0;
  font-size: clamp(1.45rem, 4vw, 2rem);
  color: var(--olive-900);
}

.cta-subtext {
  margin: 0.45rem 0 1.15rem;
  color: var(--text-700);
}

.btn-whatsapp-card,
.map-btn,
.mobile-order-bar {
  min-height: 50px;
}

.btn-whatsapp-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
  border-radius: 14px;
  border: 1px solid #dceadc;
  background: #ffffff;
  padding: 0.92rem 1rem;
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(26, 44, 31, 0.08);
  transition: transform 0.16s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-whatsapp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 22px rgba(26, 44, 31, 0.13);
  border-color: #bfd6c3;
}

.btn-whatsapp-card:active {
  transform: translateY(0);
}

.wa-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eefaf1;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.wa-icon-box svg {
  width: 21px;
  height: 21px;
  display: block;
}

.wa-icon-box path {
  fill: #21c35c;
}

.btn-copy {
  text-align: left;
  line-height: 1.2;
}

.btn-title {
  display: block;
  color: var(--text-900);
  font-size: 0.98rem;
  font-weight: 800;
}

.btn-subtitle {
  display: block;
  margin-top: 0.2rem;
  color: #6e7d74;
  font-size: 0.8rem;
}

.cta-badge {
  display: inline-block;
  margin-top: 0.9rem;
  border-radius: 999px;
  border: 1px solid #e4ece5;
  background: #f7faf7;
  color: #5c6a62;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.42rem 0.76rem;
}

.menu-section,
.about-section {
  margin: 2rem 0;
  padding: clamp(1rem, 2.2vw, 1.5rem);
  scroll-margin-top: 82px;
}

.section-head h2 {
  margin: 0;
  color: var(--olive-900);
  font-size: clamp(1.45rem, 4.6vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.schedule {
  margin: 0.45rem 0 1rem;
  color: #58685f;
  font-size: 0.93rem;
  font-weight: 700;
}

.landing-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 0.75rem;
}

.landing-menu-groups {
  display: grid;
  gap: 1.1rem;
}

.landing-menu-groups h3 {
  margin: 0 0 0.55rem;
  color: var(--olive-900);
  font-size: 1.12rem;
}

.visual-menu-details {
  margin-top: 1rem;
  border-top: 1px solid var(--border-soft);
  padding-top: 0.6rem;
}

.visual-menu-details summary {
  min-height: 44px;
  width: fit-content;
  display: flex;
  align-items: center;
  color: var(--olive-700);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.visual-menu-details summary::before {
  content: "＋";
  margin-right: 0.4rem;
}

.visual-menu-details[open] summary::before {
  content: "−";
}

.visual-menu-details .menu-visual,
.visual-menu-details .menu-stack {
  margin-top: 0.55rem;
}

.menu-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #e0e8e2;
  box-shadow: 0 8px 20px rgba(16, 28, 20, 0.12);
  background: #fcfefc;
}

a.menu-visual-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.menu-visual img {
  transition: transform 0.32s ease, filter 0.32s ease;
}

.menu-visual:hover img {
  transform: scale(1.015);
  filter: contrast(1.02);
}

.visual-chip {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  border-radius: 999px;
  padding: 0.36rem 0.65rem;
  background: rgba(28, 59, 41, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
}

.menu-stack {
  display: grid;
  gap: 0.9rem;
}

.elegant-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.elegant-card {
  width: 100%;
  max-width: 820px;
  padding: clamp(1rem, 2.8vw, 1.9rem);
  text-align: left;
}

.card-title {
  margin: 0;
  color: var(--olive-900);
  font-size: clamp(1.4rem, 4.6vw, 2rem);
}

.card-sub {
  margin: 0.45rem 0 1rem;
  color: var(--text-700);
}

.known-card {
  display: grid;
  gap: 0.85rem;
}

.known-address {
  margin: 0;
  color: #3f5648;
  font-size: 0.94rem;
  line-height: 1.5;
  background: linear-gradient(135deg, #fbfcf8, #f5f8f1);
  border: 1px solid #e2eadf;
  border-radius: 12px;
  padding: 0.72rem 0.85rem;
}

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 44%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #dee7df;
  box-shadow: 0 6px 16px rgba(15, 31, 21, 0.09);
}

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

.map-btn {
  margin-top: 0.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.74rem 1.02rem;
  border-radius: 12px;
  background: var(--olive-900);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: background 0.2s ease, transform 0.15s ease;
}

.map-btn:hover {
  background: var(--olive-700);
  transform: translateY(-1px);
}

footer {
  text-align: center;
  padding: 1.4rem 1rem 2.1rem;
  color: #ecf4ee;
  background: linear-gradient(180deg, #3f654f 0%, #274433 100%);
}

footer p,
footer small {
  margin: 0.22rem 0;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.25rem 0 0.4rem;
  color: #d9e9dd;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.reveal {
  opacity: 1;
}

.js-enabled .reveal {
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.js-enabled .reveal.is-visible {
  animation: sectionPop 0.42s ease both;
}

@keyframes sectionPop {
  from {
    transform: translateY(10px);
    opacity: 0.94;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

:focus-visible {
  outline: 3px solid #9ec9ac;
  outline-offset: 2px;
  border-radius: 8px;
}

@media (min-width: 900px) {
  body {
    padding-top: 70px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: flex;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
    gap: 0.35rem;
    margin-inline: auto;
  }

  .nav-links a {
    font-size: 0.9rem;
    padding: 0.44rem 0.72rem;
  }

  .nav-order-btn {
    display: inline-flex;
  }
}

@media (max-width: 899px) {
  body {
    padding-bottom: 92px;
  }

  .nav-order-btn {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    padding-top: 70px;
    padding-bottom: 94px;
  }

  .hero {
    height: clamp(200px, 56.25vw, 300px);
    min-height: 0;
    background-position: center top;
  }

  .hero-carousel .promo-controls {
    top: 0.65rem;
    bottom: auto;
    left: 0.65rem;
    right: 0.65rem;
  }

  .hero-carousel .promo-dots {
    display: none;
  }

  .hero-carousel .promo-control {
    width: 34px;
    height: 34px;
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(31, 53, 39, 0.3);
  }

  .menu-section,
  .about-section,
  .cta-card,
  .elegant-card {
    border-radius: 18px;
    padding: 1rem;
  }

  .known-address {
    font-size: 0.9rem;
  }

  .map-container {
    padding-bottom: 58%;
  }

  .btn-whatsapp-card {
    padding: 0.82rem 0.88rem;
  }

  .btn-title {
    font-size: 0.93rem;
  }

  .btn-subtitle {
    font-size: 0.77rem;
  }

  .visual-chip {
    font-size: 0.7rem;
  }
}

/* Pedido interactivo */
.mobile-order-bar {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 0.65rem);
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(135deg, #1e9f4a, #1ab34b);
  color: #fff;
  padding: 0.78rem 0.92rem;
  box-shadow: 0 12px 24px rgba(10, 65, 31, 0.32);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.order-toast {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 5.4rem);
  z-index: 140;
  max-width: calc(100vw - 2rem);
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: #244f37;
  color: #fff;
  box-shadow: 0 10px 24px rgba(14, 45, 27, 0.28);
  font-size: 0.86rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.order-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.mobile-order-bar:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(10, 65, 31, 0.36);
}

.mobile-order-bar:active {
  transform: translateY(0);
}

.order-bar-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.2);
  font-size: 1rem;
}

.order-bar-copy {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.order-bar-title {
  font-size: 0.94rem;
  font-weight: 800;
}

.order-bar-meta {
  font-size: 0.75rem;
  opacity: 0.94;
}

.order-backdrop,
.config-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(15, 27, 19, 0.48);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.order-backdrop.is-open,
.config-backdrop.is-open {
  opacity: 1;
}

.order-sheet,
.config-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border: 1px solid #dfe8e0;
  box-shadow: 0 -14px 32px rgba(11, 22, 16, 0.2);
  transform: translateY(103%);
  transition: transform 0.24s ease;
  overflow: hidden;
}

.order-sheet.is-open,
.config-sheet.is-open {
  transform: translateY(0);
}

.order-sheet {
  height: min(92dvh, 820px);
  max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 0.75rem);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
}

.order-sheet-header {
  padding: 0.9rem 0.95rem 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e7eee8;
}

.order-kicker {
  margin: 0;
  color: #5c7967;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.order-sheet-header h2 {
  margin: 0.16rem 0 0;
  font-size: 1.22rem;
  color: var(--olive-900);
}

.order-close {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #e2eae3;
  background: #fff;
  cursor: pointer;
}

.order-steps {
  padding: 0.6rem 0.95rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.order-step {
  border-radius: 999px;
  border: 1px solid #dce7de;
  background: #fff;
  color: #355943;
  font-weight: 700;
  min-height: 44px;
  padding: 0.45rem 0.4rem;
  font-size: 0.75rem;
}

.order-step > span {
  display: inline-grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: #edf4ef;
  font-size: 0.68rem;
}

.order-step.is-active > span {
  background: rgba(255, 255, 255, 0.2);
}

.order-step.is-active {
  color: #fff;
  border-color: #2d5f43;
  background: linear-gradient(135deg, #2c5f43, #3f7a59);
}

.order-sheet-scroll {
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  min-height: 0;
}

.order-panel {
  display: none;
  padding: 0 0.95rem 0.95rem;
}

.order-panel.is-active {
  display: block;
}

.category-chips {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding-bottom: 0.65rem;
  margin-bottom: 0.5rem;
}

.category-chip {
  min-height: 44px;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid #dce7de;
  background: #fff;
  color: #2f4d3b;
  padding: 0.5rem 0.8rem;
  font-weight: 700;
  font-size: 0.82rem;
}

.category-chip.is-active {
  color: #fff;
  border-color: #2d5f43;
  background: linear-gradient(135deg, #2d5f43, #3f7a59);
}

.product-grid {
  display: grid;
  gap: 0.65rem;
}

.product-card {
  border: 1px solid #dfe8e0;
  border-radius: 14px;
  background: #fff;
  padding: 0.75rem;
  box-shadow: 0 4px 10px rgba(16, 28, 20, 0.07);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(88px, auto);
  gap: 0.75rem;
  align-items: start;
}

.product-card.is-disabled {
  opacity: 0.68;
}

.product-card h4 {
  margin: 0;
  font-size: 0.98rem;
  color: #233d2c;
}

.product-price {
  margin: 0 0 0.35rem;
  font-weight: 800;
  color: #2f694a;
  text-align: right;
}

.product-desc,
.product-status {
  margin: 0;
  font-size: 0.8rem;
  color: #6c7e72;
}

.product-status {
  color: #7a514f;
  margin-top: 0.25rem;
}

.product-config-label {
  margin: 0.28rem 0 0;
  color: #456b53;
  font-size: 0.75rem;
  font-weight: 700;
}

.product-card-action {
  display: grid;
  justify-items: stretch;
}

.product-card button {
  min-height: 44px;
  margin-top: 0;
  width: 100%;
  border: 1px solid #cce2d2;
  border-radius: 10px;
  background: #eff9f1;
  color: #20573a;
  font-weight: 700;
  padding: 0.55rem;
}

.product-card button:disabled {
  background: #f4f4f4;
  color: #808080;
  border-color: #dddddd;
}

.cart-empty {
  border: 1px dashed #cad9cc;
  border-radius: 12px;
  padding: 0.95rem;
  text-align: center;
  color: #66776b;
}

.cart-list {
  display: grid;
  gap: 0.6rem;
}

.cart-item {
  border: 1px solid #dce7de;
  border-radius: 12px;
  padding: 0.72rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
}

.cart-item h4 {
  margin: 0;
  font-size: 0.95rem;
}

.cart-item p {
  margin: 0.2rem 0;
  color: #6a7d70;
  font-size: 0.78rem;
}

.cart-item strong {
  color: #2e6648;
}

.cart-actions {
  display: grid;
  justify-items: end;
  gap: 0.45rem;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d8e5dc;
  border-radius: 999px;
  overflow: hidden;
}

.qty-control button {
  width: 44px;
  height: 44px;
  border: 0;
  background: #f3f8f4;
  color: #2e5c43;
}

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

.remove-btn {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #9d5b55;
  font-size: 0.76rem;
  font-weight: 700;
}

.checkout-form {
  display: grid;
  gap: 0.7rem;
}

.checkout-group {
  border: 1px solid #dbe8dd;
  border-radius: 12px;
  padding: 0.55rem 0.68rem 0.65rem;
  margin: 0;
}

.checkout-group legend {
  color: #385744;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0 0.2rem;
}

.shipping-note {
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  color: #355340;
}

.choice-row {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0.42rem;
  margin-top: 0.4rem;
  font-size: 0.84rem;
  color: #355340;
  font-weight: 600;
}

.checkout-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: #3f5748;
  font-weight: 700;
}

.checkout-form input[type="text"],
.checkout-form input[type="time"],
.checkout-form textarea {
  width: 100%;
  border: 1px solid #d6e3d8;
  border-radius: 10px;
  padding: 0.62rem 0.68rem;
  font: inherit;
}

.conditional-fields {
  display: grid;
  gap: 0.7rem;
}

.checkout-form .choice-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
}

.checkout-form .choice-row input[type="radio"] {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.geo-btn {
  min-height: 44px;
  border: 1px solid #d1e0d3;
  border-radius: 10px;
  background: #f4fbf5;
  color: #2e6548;
  font-weight: 700;
  padding: 0.56rem 0.7rem;
}

.geo-btn-secondary {
  margin-top: 0.35rem;
  background: #fff;
}

.geo-status {
  margin: -0.25rem 0 0;
  font-size: 0.76rem;
  color: #5f7868;
}

.order-footer {
  border-top: 1px solid #e5ece6;
  padding: 0.72rem 0.95rem 0.95rem;
  background: #fff;
}

.order-breakdown {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.48rem;
}

.order-breakdown p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: #5d7466;
  font-size: 0.8rem;
}

.order-breakdown strong {
  color: #2f5c43;
  font-size: 0.86rem;
}

.order-total-wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.86rem;
  color: #5c7565;
}

.order-total-wrap strong {
  color: #244f37;
  font-size: 1.15rem;
}

.order-footer-actions {
  margin-top: 0.55rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.5rem;
}

.ghost-btn,
.wa-submit-btn {
  min-height: 44px;
  border-radius: 10px;
  font-weight: 700;
  padding: 0.65rem 0.75rem;
}

.ghost-btn {
  border: 1px solid #d9e5db;
  background: #fff;
  color: #355943;
}

.wa-submit-btn {
  border: 1px solid #1a9b48;
  background: linear-gradient(135deg, #1ba64d, #1db64f);
  color: #fff;
}

.order-helper {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  color: #607668;
}

.order-helper.is-error {
  color: #975953;
}

.map-picker-backdrop {
  position: fixed;
  inset: 0;
  z-index: 108;
  background: rgba(15, 27, 19, 0.48);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.map-picker-backdrop.is-open {
  opacity: 1;
}

.map-picker-modal {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 109;
  background: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border: 1px solid #dfe8e0;
  box-shadow: 0 -14px 32px rgba(11, 22, 16, 0.2);
  transform: translateY(103%);
  transition: transform 0.24s ease;
  max-height: min(90vh, 760px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.map-picker-modal.is-open {
  transform: translateY(0);
}

.map-picker-header {
  padding: 0.72rem 0.92rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e8eee9;
}

.map-picker-header h3 {
  margin: 0;
  color: #2e5b43;
}

.map-picker-body {
  overflow-y: auto;
  padding: 0.8rem 0.92rem;
}

.map-picker-help {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  color: #5f7667;
}

.location-map {
  width: 100%;
  height: min(48vh, 360px);
  border: 1px solid #dce7de;
  border-radius: 12px;
  overflow: hidden;
}

.map-picker-status {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: #466451;
  font-weight: 700;
}

.map-picker-footer {
  border-top: 1px solid #e5ece6;
  padding: 0.72rem 0.95rem 0.95rem;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.5rem;
}

.config-sheet {
  z-index: 105;
  height: min(88dvh, 720px);
  max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 0.75rem);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.config-header {
  padding: 0.72rem 0.92rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e8eee9;
}

.config-header h3 {
  margin: 0;
  color: #2e5b43;
}

.config-body {
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0.8rem 0.92rem;
}

.config-product-name {
  margin: 0;
  font-weight: 700;
  color: #2b4736;
}

.config-product-price {
  margin: 0.2rem 0 0.7rem;
  color: #557462;
}

.option-group {
  border: 1px solid #deeadf;
  border-radius: 10px;
  margin: 0 0 0.55rem;
  padding: 0.48rem 0.58rem 0.58rem;
}

.option-group legend {
  color: #385744;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0 0.18rem;
}

.option-row {
  min-height: 44px;
  display: flex;
  gap: 0.42rem;
  align-items: flex-start;
  margin-top: 0.38rem;
  font-size: 0.84rem;
  color: #314f3f;
}

.option-row input {
  margin-top: 0.18rem;
}

.option-copy {
  display: grid;
  gap: 0.12rem;
}

.option-copy small {
  color: #607a69;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.25;
}

.config-qty {
  margin-top: 0.4rem;
  display: grid;
  gap: 0.35rem;
  color: #385744;
  font-size: 0.8rem;
  font-weight: 700;
}

.config-error {
  min-height: 1.2em;
  margin: 0.46rem 0 0;
  color: #99564f;
  font-size: 0.76rem;
}

.config-footer {
  border-top: 1px solid #e5ece6;
  padding: 0.7rem 0.92rem 0.92rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.55rem;
}

@media (min-width: 900px) {
  footer {
    padding-bottom: 3rem;
  }

  .mobile-order-bar {
    display: inline-flex;
    left: auto;
    right: 1.05rem;
    bottom: 1rem;
    min-height: 46px;
    gap: 0.54rem;
    width: auto;
    max-width: min(330px, 36vw);
    padding: 0.62rem 0.8rem;
    border-radius: 999px;
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow: 0 9px 20px rgba(10, 65, 31, 0.22);
  }

  .order-bar-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    font-size: 0.92rem;
  }

  .order-bar-title {
    font-size: 0.84rem;
  }

  .order-bar-meta {
    font-size: 0.72rem;
  }

  .order-sheet,
  .config-sheet,
  .map-picker-modal {
    left: 50%;
    right: auto;
    width: min(560px, 96vw);
    transform: translate(-50%, 103%);
    border-radius: 20px;
    bottom: 0.8rem;
  }

  .order-sheet.is-open,
  .config-sheet.is-open,
  .map-picker-modal.is-open {
    transform: translate(-50%, 0);
  }
}

@media (max-width: 899px) {
  .mobile-order-bar {
    display: inline-flex;
  }

  .order-sheet,
  .config-sheet,
  .map-picker-modal {
    width: 100%;
  }
}
