/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:         #ffffff;
  --bg-soft:    #F6F7F3;
  --bg-soft-2:  #EFF2EA;
  --ink:        #1C1E1A;
  --ink-soft:   #3A3D37;
  --ink-mute:   #6E716A;
  --green:      #3E5B40;
  --green-dark: #2B4130;
  --green-soft: #E7EEE4;
  --orange:     #FF5A1F;
  --orange-dark:#DE4310;
  --gold:       #FFB020;
  --line:       rgba(28,30,26,0.12);
  --white:      #ffffff;

  --shadow-sm:  0 4px 14px rgba(43,65,48,0.10), 0 1px 3px rgba(43,65,48,0.08);
  --shadow-md:  0 14px 32px rgba(43,65,48,0.14);
  --shadow-lg:  0 24px 56px rgba(43,65,48,0.20);
  --shadow-orange: 0 14px 30px rgba(222,67,16,0.28);

  --radius:     18px;
  --radius-sm:  12px;
  --radius-pill: 999px;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:cubic-bezier(0.34, 1.56, 0.64, 1);

  --display: 'Fredoka', sans-serif;
  --sans:    'Inter', sans-serif;

  --nav-h: 68px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--display);
  text-wrap: balance;
  line-height: 1.08;
  font-weight: 600;
}
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--green-dark); color: #fff;
  border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.section { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { margin-bottom: 28px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green); font-weight: 700; font-size: 12.5px;
  letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.section-title { font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--green-dark); }
.section-sub { color: var(--ink-mute); margin-top: 8px; max-width: 60ch; }

[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* =============================================================
   4. Components — buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: .9rem 1.5rem; border-radius: var(--radius-pill);
  font-family: var(--display); font-weight: 600; font-size: .98rem;
  transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease-soft), background .3s;
  white-space: nowrap;
}
.btn-orange {
  background: var(--orange); color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-orange:hover { transform: translateY(-3px); background: var(--orange-dark); box-shadow: 0 20px 40px rgba(222,67,16,0.34); }
.btn-orange:active { transform: translateY(-1px); transition-duration: .12s; }

.btn-green {
  background: var(--green); color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-green:hover { transform: translateY(-3px); background: var(--green-dark); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: var(--white); color: var(--green-dark);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--green); transform: translateY(-2px); }

.btn-sm { padding: .55rem 1rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}
.nav.is-scrolled { box-shadow: 0 2px 20px rgba(28,30,26,0.08); border-color: var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; color: var(--green-dark); }
.nav-logo { height: 42px; width: auto; border-radius: 10px; }
.nav-links { display: none; gap: 26px; align-items: center; }
.nav-link { position: relative; font-weight: 600; font-size: .95rem; color: var(--ink-soft); padding: 6px 0; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-soft);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cart {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark);
  font-size: 1.2rem;
}
.nav-cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 4px; border-radius: 999px;
  background: var(--orange); color: #fff; font-size: .68rem; font-weight: 700;
  display: grid; place-items: center;
  transform: scale(0); transition: transform .35s var(--ease-bounce);
}
.nav-cart-count.is-visible { transform: scale(1); }
.nav-burger { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-soft); align-items: center; justify-content: center; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 250;
  background: var(--green-dark); color: #fff;
  display: grid; place-items: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .55s var(--ease-soft);
}
.mobile-menu[data-open="true"] { clip-path: inset(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 22px; text-align: center; }
.mobile-menu a { font-family: var(--display); font-size: 1.6rem; font-weight: 600; }
.mobile-menu-close { position: absolute; top: 18px; right: 20px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.12); display: grid; place-items: center; font-size: 1.4rem; }

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: var(--nav-h);
  overflow: clip;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,65,48,.55) 0%, rgba(28,30,26,.35) 45%, rgba(20,22,18,.86) 100%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding-block: 40px 48px; color: #fff; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 14px; border-radius: var(--radius-pill); font-size: .82rem; font-weight: 600;
  backdrop-filter: blur(6px); margin-bottom: 16px;
}
.hero-badge strong { color: var(--gold); }
.hero-title {
  font-size: clamp(2.3rem, 8vw, 4.2rem);
  max-width: 14ch; text-wrap: balance;
  text-shadow: 0 4px 30px rgba(0,0,0,0.35);
}
.hero-title em { font-style: normal; color: var(--gold); }
.hero-sub { margin-top: 14px; font-size: 1.05rem; color: rgba(255,255,255,0.88); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; font-size: .85rem; color: rgba(255,255,255,0.85); }
.hero-meta span { display: flex; align-items: center; gap: 6px; }

/* =============================================================
   7. Sabor (video) section
   ============================================================= */
.sabor {
  position: relative; overflow: clip;
  min-height: 68vh;
  display: flex; align-items: center;
  color: #fff;
}
.sabor-video, .sabor-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.sabor::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(28,30,26,.75), rgba(43,65,48,.55) 55%, rgba(28,30,26,.8));
}
.sabor-inner { position: relative; z-index: 1; text-align: center; margin-inline: auto; padding: 60px 20px; max-width: 640px; }
.sabor h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
.sabor p { margin-top: 14px; color: rgba(255,255,255,0.85); font-size: 1.05rem; }

/* =============================================================
   8. Combos
   ============================================================= */
.combo-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
@media (min-width: 640px) { .combo-grid { grid-template-columns: repeat(2, 1fr); } }
.combo-card {
  position: relative; background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft);
  display: flex; flex-direction: column;
}
.combo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.combo-photo { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.combo-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-soft); }
.combo-card:hover .combo-photo img { transform: scale(1.08); }
.combo-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--orange); color: #fff; font-weight: 700; font-size: .72rem;
  padding: 5px 12px; border-radius: var(--radius-pill); letter-spacing: .4px;
}
.combo-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.combo-body h3 { font-size: 1.2rem; color: var(--green-dark); }
.combo-people { font-size: .78rem; color: var(--ink-mute); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.combo-body p.desc { color: var(--ink-mute); font-size: .92rem; flex: 1; }
.combo-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.combo-price { font-family: var(--display); font-size: 1.35rem; color: var(--green-dark); font-weight: 600; }

/* =============================================================
   9. Menu
   ============================================================= */
.menu-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 26px;
  scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab {
  flex: 0 0 auto; padding: .55rem 1.1rem; border-radius: var(--radius-pill);
  background: var(--bg-soft); font-weight: 600; font-size: .88rem; color: var(--ink-soft);
  border: 1px solid transparent; transition: background .3s, color .3s, border-color .3s;
}
.menu-tab.is-active { background: var(--green); color: #fff; }

.menu-category { margin-bottom: 40px; }
.menu-category-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.menu-category-head h3 { color: var(--green-dark); font-size: 1.3rem; }
.menu-category-note { font-size: .82rem; color: var(--ink-mute); margin-bottom: 16px; }

.menu-list { display: grid; gap: 12px; }
.menu-item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center;
  padding: 12px; border-radius: var(--radius-sm); background: var(--white);
  border: 1px solid var(--line);
  transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
}
.menu-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.menu-item-photo { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.menu-item-photo img { width: 100%; height: 100%; object-fit: cover; }
.menu-item-info h4 { font-family: var(--sans); font-weight: 700; font-size: .96rem; color: var(--ink); }
.menu-item-info p { font-size: .82rem; color: var(--ink-mute); margin-top: 2px; }
.menu-item-price { font-weight: 700; color: var(--green-dark); font-size: .92rem; margin-top: 4px; }
.menu-item-add {
  display: flex; align-items: center; gap: 8px;
  justify-self: end;
}
.qty-btn {
  width: 30px; height: 30px; border-radius: 50%; background: var(--bg-soft);
  display: grid; place-items: center; font-weight: 700; color: var(--green-dark);
  transition: background .2s;
}
.qty-btn:hover { background: var(--green-soft); }
.qty-value { min-width: 18px; text-align: center; font-weight: 700; font-size: .9rem; }
.add-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--orange); color: #fff; font-size: 1.2rem; font-weight: 700;
  display: grid; place-items: center;
  box-shadow: var(--shadow-orange);
  transition: transform .3s var(--ease-bounce);
}
.add-btn:active { transform: scale(0.88); }
.add-btn.is-bumped { animation: addBump .4s var(--ease-bounce); }
@keyframes addBump { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* =============================================================
   10. Reviews
   ============================================================= */
.reviews-summary {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 30px;
}
.reviews-score { font-family: var(--display); font-size: 2.6rem; color: var(--green-dark); font-weight: 600; }
.reviews-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }
.reviews-count { color: var(--ink-mute); font-size: .9rem; }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
.review-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-sm);
}
.review-stars { color: var(--gold); font-size: .95rem; letter-spacing: 2px; margin-bottom: 8px; }
.review-text { font-size: .92rem; color: var(--ink-soft); line-height: 1.65; }
.review-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.review-author { font-weight: 700; font-size: .85rem; color: var(--green-dark); }
.review-time { font-size: .78rem; color: var(--ink-mute); }

/* =============================================================
   11. Delivery platforms
   ============================================================= */
.delivery-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .delivery-grid { grid-template-columns: repeat(3, 1fr); } }
.delivery-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease-soft);
}
.delivery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.delivery-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; flex-shrink: 0; }
.delivery-icon.glovo { background: #FFE8DA; }
.delivery-icon.justeat { background: #FFE1E8; }
.delivery-icon.whatsapp { background: #DCF5E3; }
.delivery-card h4 { font-size: 1rem; }
.delivery-card p { font-size: .8rem; color: var(--ink-mute); }

/* =============================================================
   12. Location
   ============================================================= */
.location-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .location-grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.location-info { display: flex; flex-direction: column; gap: 18px; }
.location-item { display: flex; gap: 12px; align-items: flex-start; }
.location-item .ico { font-size: 1.2rem; width: 32px; }
.location-item h4 { font-size: .95rem; margin-bottom: 2px; }
.location-item p { font-size: .88rem; color: var(--ink-mute); }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 300px; box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 100%; min-height: 300px; border: 0; }

/* =============================================================
   13. Footer
   ============================================================= */
.footer { background: var(--green-dark); color: rgba(255,255,255,0.85); padding: 48px 0 28px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-logo { height: 40px; border-radius: 8px; }
.footer h5 { font-family: var(--display); color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer a, .footer p { font-size: .88rem; color: rgba(255,255,255,0.7); }
.footer ul { display: flex; flex-direction: column; gap: 8px; }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: .78rem; color: rgba(255,255,255,0.55);
}

/* =============================================================
   14. Cart bar + drawer
   ============================================================= */
.cart-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  background: var(--green-dark); color: #fff; border-radius: var(--radius-pill);
  padding: 12px 10px 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.28);
  transform: translateY(140%); transition: transform .5s var(--ease-bounce);
}
.cart-bar.is-visible { transform: translateY(0); }
.cart-bar-info { display: flex; flex-direction: column; line-height: 1.2; }
.cart-bar-count { font-size: .74rem; color: rgba(255,255,255,0.7); }
.cart-bar-total { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }

.cart-drawer {
  position: fixed; inset: 0; z-index: 400;
  display: flex; justify-content: flex-end;
  visibility: hidden;
}
.cart-drawer[data-open="true"] { visibility: visible; }
.cart-drawer-overlay {
  position: absolute; inset: 0; background: rgba(20,22,18,0.5);
  opacity: 0; transition: opacity .4s var(--ease-out);
}
.cart-drawer[data-open="true"] .cart-drawer-overlay { opacity: 1; }
.cart-drawer-panel {
  position: relative; z-index: 1; background: #fff; width: min(440px, 100%); height: 100%;
  overflow-y: auto; padding: 24px 22px 120px;
  transform: translateX(100%); transition: transform .5s var(--ease-soft);
  display: flex; flex-direction: column;
}
.cart-drawer[data-open="true"] .cart-drawer-panel { transform: translateX(0); }
.cart-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cart-drawer-head h3 { color: var(--green-dark); font-size: 1.3rem; }
.cart-close { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; font-size: 1.3rem; }
.cart-empty { color: var(--ink-mute); text-align: center; padding: 40px 10px; }
.cart-lines { display: flex; flex-direction: column; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line h4 { font-size: .92rem; }
.cart-line .line-notes { font-size: .78rem; color: var(--green-dark); font-weight: 600; margin-top: 2px; }
.cart-line .line-meta { font-size: .8rem; color: var(--ink-mute); margin-top: 2px; }
.cart-line-controls { display: flex; align-items: center; gap: 8px; }
.cart-line-remove { font-size: .78rem; color: var(--orange-dark); font-weight: 600; margin-top: 6px; }
.cart-summary { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); }
.cart-summary-row { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: 6px; }
.cart-summary-row.total { font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--green-dark); margin-top: 8px; }

/* =============================================================
   15. Checkout form (inside drawer)
   ============================================================= */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--bg-soft); color: var(--ink);
  font-family: var(--sans); font-size: .95rem;
  transition: border-color .25s, background .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); background: #fff;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-hint { font-size: .76rem; color: var(--ink-mute); margin-top: 4px; }
.discount-box {
  background: var(--green-soft); border: 1px dashed var(--green);
  border-radius: var(--radius-sm); padding: 14px 16px; margin: 18px 0;
  font-size: .86rem; color: var(--green-dark);
}
.discount-box strong { color: var(--orange-dark); }
.checkout-note {
  font-size: .78rem; color: var(--ink-mute); margin-top: 10px; text-align: center;
}
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success.is-visible { display: block; }
.form-success .ico { font-size: 2.6rem; margin-bottom: 12px; }
.form-success h3 { color: var(--green-dark); margin-bottom: 8px; }
.form-success p { color: var(--ink-mute); font-size: .92rem; }

.pay-options { display: flex; flex-direction: column; gap: 8px; }
.pay-option {
  display: flex; align-items: center; gap: 10px;
  padding: .7rem .9rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--bg-soft);
  cursor: pointer; font-weight: 600; font-size: .9rem;
  transition: border-color .2s, background .2s;
}
.pay-option:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.pay-option input { accent-color: var(--green); width: 18px; height: 18px; }

.payment-banner {
  position: fixed; top: 0; inset-inline: 0; z-index: 500;
  padding: 14px 20px; text-align: center; font-weight: 600; font-size: .92rem;
  color: #fff;
}
.payment-banner.is-success { background: var(--green-dark); }
.payment-banner.is-cancel { background: var(--ink-mute); }

/* =============================================================
   15.5 Modal de personalización (Tamaño / Complemento / Extras)
   ============================================================= */
.customize-overlay {
  position: fixed; inset: 0; z-index: 450;
  display: flex; align-items: flex-end; justify-content: center;
  visibility: hidden;
}
.customize-overlay[data-open="true"] { visibility: visible; }
.customize-overlay-bg {
  position: absolute; inset: 0; background: rgba(20,22,18,0.5);
  opacity: 0; transition: opacity .35s var(--ease-out);
}
.customize-overlay[data-open="true"] .customize-overlay-bg { opacity: 1; }
.customize-modal {
  position: relative; z-index: 1; background: #fff;
  width: 100%; max-width: 480px; max-height: 88vh; overflow-y: auto;
  border-radius: 22px 22px 0 0;
  transform: translateY(100%); transition: transform .45s var(--ease-soft);
}
.customize-overlay[data-open="true"] .customize-modal { transform: translateY(0); }
@media (min-width: 600px) {
  .customize-overlay { align-items: center; }
  .customize-modal { border-radius: 22px; transform: translateY(24px) scale(0.98); opacity: 0; transition: transform .4s var(--ease-soft), opacity .3s; }
  .customize-overlay[data-open="true"] .customize-modal { transform: translateY(0) scale(1); opacity: 1; }
}
.customize-head {
  background: var(--green-soft); padding: 22px 22px 16px; position: relative;
}
.customize-head h3 { color: var(--green-dark); font-size: 1.3rem; margin-bottom: 4px; }
.customize-head p { font-size: .85rem; color: var(--ink-mute); }
.customize-head .cart-close { position: absolute; top: 14px; right: 14px; }
.customize-body { padding: 18px 22px 6px; }
.opt-group { margin-bottom: 20px; }
.opt-title {
  font-weight: 700; font-size: .8rem; letter-spacing: .3px; text-transform: uppercase;
  color: var(--green-dark); margin-bottom: 8px; display: flex; justify-content: space-between;
}
.opt-title small { color: var(--ink-mute); font-weight: 600; text-transform: none; letter-spacing: 0; }
.opt-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: .92rem;
}
.opt-row:last-child { border-bottom: none; }
.opt-row label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; }
.opt-row input[type="radio"], .opt-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--green); }
.opt-extra { color: var(--ink-mute); font-size: .8rem; font-weight: 600; }
.customize-qty-row { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 4px; }
.customize-qty-row > span { font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .3px; color: var(--ink-soft); }
.customize-qty-control { display: flex; align-items: center; gap: 14px; background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 12px; padding: 6px 14px; }
.customize-foot { padding: 16px 22px 22px; position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); }

/* =============================================================
   16. Splash (safety-netted)
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg); display: grid; place-items: center;
  transition: opacity .8s, clip-path 1s;
  animation: splashSafety .01s 3.2s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash img { width: 120px; border-radius: 20px; animation: splashPulse 1.4s ease-in-out infinite; }
@keyframes splashPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* =============================================================
   17. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .hero-actions .btn { flex: none; }
}
@media (min-width: 720px) {
  .section { padding: 76px 0; }
}
@media (min-width: 960px) {
  .section { padding: 92px 0; }
  .hero-inner { padding-block: 60px 90px; }
}
@media (min-width: 1280px) {
  .combo-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================================
   18. Reduced-motion — ONLY intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .splash { animation-duration: .01s; }
  .sabor-video { display: none; }
}

/* =============================================================
   19. WordPress admin bar offset (only visible when logged in)
   ============================================================= */
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .nav { top: 46px; }
}
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
