/* KIXIKI — Sistema de marca DIA / NOITE
   Un solo layout; dos esquemas con contraste verificado. */

html[data-kx-theme="day"] {
  color-scheme: light;
  background: #fff8e7 !important;
}

html[data-kx-theme="night"] {
  color-scheme: dark;
  background: #001e10 !important;
}

.kx-home-link {
  display: block;
  flex: 0 0 auto;
  border-radius: 50%;
}

.kx-theme-control {
  display: none;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.kx-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.kx-owner-access {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(224, 180, 56, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 248, 231, 0.68);
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.kx-owner-access svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kx-owner-access:hover {
  color: #f8b62f;
  border-color: #e0b438;
  background: rgba(224, 180, 56, 0.1);
}

.kx-owner-access:focus-visible {
  outline: 3px solid #f8b62f;
  outline-offset: 3px;
}

.kx-theme-enabled .kx-theme-control {
  display: flex;
}

.kx-theme-toggle {
  min-width: 150px;
  min-height: 46px;
  display: inline-grid;
  grid-template-columns: auto 42px auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(224, 180, 56, 0.48);
  border-radius: 999px;
  color: #fff8e7;
  background: rgba(255, 255, 255, 0.07);
  font: 800 0.68rem/1 "Montserrat", system-ui, sans-serif;
  letter-spacing: 0.07em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.kx-theme-toggle:hover {
  border-color: #e0b438;
  background: rgba(224, 180, 56, 0.11);
}

.kx-theme-toggle:focus-visible {
  outline: 3px solid #f8b62f !important;
  outline-offset: 3px;
}

.kx-theme-track {
  position: relative;
  width: 42px;
  height: 24px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
}

.kx-theme-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f8b62f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-kx-theme="night"] .kx-theme-thumb {
  transform: translateX(18px);
}

.kx-theme-option {
  opacity: 0.56;
  transition: opacity 160ms ease;
}

/* Firma editorial: el sello cruza el borde sin convertirse en otro encabezado. */
.kx-hero-brand-mark {
  position: absolute;
  top: clamp(-108px, -7vw, -82px);
  right: clamp(-62px, -3vw, -34px);
  z-index: 0;
  width: clamp(300px, 27vw, 420px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: clamp(16px, 2vw, 28px);
  border: 1px solid rgba(224, 180, 56, 0.26);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 180, 56, 0.09), transparent 68%);
  opacity: 0.28;
  transform: rotate(8deg);
  pointer-events: none;
}

.kx-hero-brand-mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(243, 229, 166, 0.18);
  border-radius: inherit;
}

.kx-hero-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.82) sepia(0.08);
}

body.kx-option-b .kx-hero-copy,
body.kx-option-b .kx-hero-visual {
  position: relative;
  z-index: 1;
}

html[data-kx-theme="day"] .kx-theme-day,
html[data-kx-theme="night"] .kx-theme-night {
  opacity: 1;
  color: #f8b62f;
}

/* DIA: mismo diseño editorial, superficies luminosas y marca verde como ancla. */
html[data-kx-theme="day"] body.kx-option-b,
html[data-kx-theme="day"] body.kx-option-b.mode-standalone {
  background:
    radial-gradient(circle at 86% 9%, rgba(224, 180, 56, 0.19), transparent 28rem),
    linear-gradient(180deg, #fff8e7 0, #f8edbe 42rem, #fffdf5 100%) !important;
  color: #11241a !important;
}

html[data-kx-theme="day"] body.kx-option-b .wf-header {
  background: rgba(255, 248, 231, 0.94) !important;
  border-color: rgba(1, 43, 23, 0.18) !important;
  box-shadow: 0 10px 30px rgba(1, 43, 23, 0.09) !important;
}

html[data-kx-theme="day"] body.kx-option-b .wf-header [style*="color: var(--text-main)"],
html[data-kx-theme="day"] body.kx-option-b .wf-header [style*="color: #34D399"] {
  color: #012b17 !important;
}

html[data-kx-theme="day"] body.kx-option-b .wf-insta-badge {
  color: #012b17 !important;
  background: rgba(1, 43, 23, 0.07) !important;
  border-color: rgba(1, 43, 23, 0.18) !important;
}

html[data-kx-theme="day"] .kx-theme-toggle {
  color: #012b17;
  border-color: rgba(1, 43, 23, 0.28);
  background: rgba(1, 43, 23, 0.06);
}

html[data-kx-theme="day"] .kx-theme-toggle:hover {
  border-color: #9b7010;
  background: rgba(224, 180, 56, 0.16);
}

html[data-kx-theme="day"] .kx-theme-track {
  border-color: rgba(1, 43, 23, 0.3);
  background: rgba(1, 43, 23, 0.11);
}

html[data-kx-theme="day"] .kx-owner-access {
  color: rgba(1, 43, 23, 0.7);
  border-color: rgba(1, 43, 23, 0.26);
  background: rgba(1, 43, 23, 0.045);
}

html[data-kx-theme="day"] .kx-owner-access:hover {
  color: #012b17;
  border-color: #9b7010;
  background: rgba(224, 180, 56, 0.16);
}

html[data-kx-theme="day"] body.kx-option-b main > section:not(#sec-hero) {
  background: #fff8e7 !important;
  border-color: rgba(1, 43, 23, 0.18) !important;
  box-shadow: 0 26px 70px rgba(1, 43, 23, 0.14) !important;
}

html[data-kx-theme="day"] body.kx-option-b .wf-footer {
  background: #fff8e7 !important;
  color: #012b18 !important;
  border-top: 1px solid rgba(1, 43, 23, 0.22) !important;
}

html[data-kx-theme="day"] body.kx-option-b .wf-footer p,
html[data-kx-theme="day"] body.kx-option-b .wf-footer span {
  color: #012b18 !important;
}

html[data-kx-theme="day"] body.kx-option-b .wf-footer a {
  color: #00512a !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(0, 81, 42, 0.4) !important;
  text-underline-offset: 3px !important;
}

html[data-kx-theme="day"] body.kx-option-b .wf-footer a:hover {
  color: #012b18 !important;
  text-decoration-color: #012b18 !important;
}

html[data-kx-theme="day"] .kx-hero-brand-mark {
  border-color: rgba(1, 43, 23, 0.2);
  background: radial-gradient(circle, rgba(224, 180, 56, 0.17), transparent 68%);
  opacity: 0.22;
}

html[data-kx-theme="day"] .kx-hero-brand-mark::after {
  border-color: rgba(1, 43, 23, 0.13);
}

/* NOITE: las capas completas pasan al verde profundo; CTA amarillo intacto. */
html[data-kx-theme="night"] body.kx-option-b main > section:not(#sec-hero) {
  background: #063a22 !important;
  border-color: rgba(224, 180, 56, 0.35) !important;
  box-shadow: 0 30px 78px rgba(0, 12, 6, 0.42) !important;
}

html[data-kx-theme="night"] body.kx-option-b main > section:not(#sec-hero)::before {
  background: #f8b62f;
}

html[data-kx-theme="night"] body.kx-option-b main > section:not(#sec-hero) h2,
html[data-kx-theme="night"] body.kx-option-b main > section:not(#sec-hero) h3,
html[data-kx-theme="night"] body.kx-option-b main > section:not(#sec-hero) summary,
html[data-kx-theme="night"] body.kx-option-b main > section:not(#sec-hero) [style*="color: var(--text-main)"] {
  color: #fff8e7 !important;
}

html[data-kx-theme="night"] body.kx-option-b main > section:not(#sec-hero) p,
html[data-kx-theme="night"] body.kx-option-b main > section:not(#sec-hero) li,
html[data-kx-theme="night"] body.kx-option-b main > section:not(#sec-hero) [style*="color: var(--text-muted)"] {
  color: rgba(255, 248, 231, 0.76) !important;
}

html[data-kx-theme="night"] body.kx-option-b main > section:not(#sec-hero) .kx-badge,
html[data-kx-theme="night"] body.kx-option-b main > section:not(#sec-hero) .wf-tag {
  color: #f3e5a6 !important;
  background: rgba(224, 180, 56, 0.1) !important;
  border-color: rgba(224, 180, 56, 0.4) !important;
}

html[data-kx-theme="night"] body.kx-option-b .kx-food-card,
html[data-kx-theme="night"] body.kx-option-b #sec-cardapio [style*="background: rgba(255,255,255,0.03)"],
html[data-kx-theme="night"] body.kx-option-b #sec-cardapio [style*="background: rgba(255, 255, 255, 0.03)"],
html[data-kx-theme="night"] body.kx-option-b #sec-avaliacoes [style*="background: rgba(255,255,255,0.03)"],
html[data-kx-theme="night"] body.kx-option-b details {
  background: #0a4a2b !important;
  border-color: rgba(255, 248, 231, 0.17) !important;
}

html[data-kx-theme="night"] body.kx-option-b .kx-food-card:hover {
  border-color: rgba(248, 182, 47, 0.8) !important;
  box-shadow: 0 20px 42px rgba(0, 14, 7, 0.3) !important;
}

html[data-kx-theme="night"] body.kx-option-b .wf-btn-secondary {
  color: #fff8e7 !important;
  border-color: rgba(255, 248, 231, 0.38) !important;
}

html[data-kx-theme="night"] body.kx-option-b .wf-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

html[data-kx-theme="night"] body.kx-option-b .kx-price,
html[data-kx-theme="night"] body.kx-option-b [id^="val-"] {
  color: #012b17 !important;
  background: #f3e5a6 !important;
}

html[data-kx-theme="night"] body.kx-option-b #sec-localizacao iframe {
  filter: saturate(0.55) sepia(0.14) brightness(0.82) contrast(1.08);
}

html[data-kx-theme="night"] body.kx-option-b .wf-footer {
  background: #001e10 !important;
  color: #fff8e7 !important;
  border-top: 1px solid rgba(224, 180, 56, 0.35) !important;
}

html[data-kx-theme="night"] body.kx-option-b .wf-footer p,
html[data-kx-theme="night"] body.kx-option-b .wf-footer span {
  color: #fff8e7 !important;
}

html[data-kx-theme="night"] body.kx-option-b .wf-footer a {
  color: #f8b62f !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(248, 182, 47, 0.45) !important;
  text-underline-offset: 3px !important;
}

html[data-kx-theme="night"] body.kx-option-b .wf-footer a:hover {
  color: #ffca59 !important;
  text-decoration-color: #ffca59 !important;
}

/* Tática Regalo: um momento de descoberta no scroll, sem competir com a venda. */
body.kx-option-b #sec-digitalmas-referral.kx-gift {
  display: grid !important;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.6fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: clamp(390px, 42vw, 510px);
  padding: clamp(34px, 6vw, 76px) !important;
  border: 1px solid rgba(1, 43, 23, 0.62) !important;
  border-radius: 14px 72px 14px 14px !important;
  background:
    radial-gradient(circle at 9% 13%, rgba(255, 248, 231, 0.96), transparent 19rem),
    linear-gradient(125deg, #f8b62f 0%, #ffc84d 53%, #f3e5a6 100%) !important;
  box-shadow: 0 30px 92px rgba(248, 182, 47, 0.22), 0 24px 60px rgba(0, 18, 9, 0.28) !important;
  text-align: left !important;
}

html[data-kx-theme="day"] body.kx-option-b main > section#sec-digitalmas-referral.kx-gift,
html[data-kx-theme="night"] body.kx-option-b main > section#sec-digitalmas-referral.kx-gift {
  border-color: rgba(1, 43, 23, 0.62) !important;
  background:
    radial-gradient(circle at 9% 13%, rgba(255, 248, 231, 0.96), transparent 19rem),
    linear-gradient(125deg, #f8b62f 0%, #ffc84d 53%, #f3e5a6 100%) !important;
}

body.kx-option-b #sec-digitalmas-referral.kx-gift::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -2;
  width: 37%;
  height: auto;
  border-radius: 0;
  background: linear-gradient(145deg, rgba(1, 43, 23, 0.22), rgba(1, 43, 23, 0.04));
  clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

body.kx-option-b #sec-digitalmas-referral.kx-gift::after {
  content: "PRESENTE";
  position: absolute;
  right: -0.035em;
  bottom: -0.19em;
  z-index: -1;
  color: rgba(1, 43, 23, 0.07);
  font-size: clamp(5.2rem, 13vw, 11rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.075em;
  pointer-events: none;
}

.kx-gift-stage {
  position: relative;
  z-index: 1;
  min-height: 286px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 30px 22px 22px;
  border: 1px solid rgba(255, 248, 231, 0.24);
  border-radius: 16px 64px 16px 16px;
  background:
    radial-gradient(circle at 50% 42%, rgba(248, 182, 47, 0.18), transparent 56%),
    #012b17;
  box-shadow: 0 28px 60px rgba(0, 18, 9, 0.31);
}

.kx-gift-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 190px;
  aspect-ratio: 1;
  border: 1px solid rgba(248, 182, 47, 0.35);
  border-radius: 50%;
  transform: translate(-50%, -56%) rotate(-8deg);
  pointer-events: none;
}

.kx-gift-orbit::before,
.kx-gift-orbit::after {
  content: "";
  position: absolute;
  border-radius: inherit;
}

.kx-gift-orbit::before {
  inset: 13px;
  border: 1px dashed rgba(243, 229, 166, 0.24);
}

.kx-gift-orbit::after {
  top: 13px;
  right: 17px;
  width: 12px;
  height: 12px;
  background: #f8b62f;
  box-shadow: -144px 120px 0 -3px #f3e5a6;
}

.kx-gift-mascot {
  position: relative;
  z-index: 1;
  width: min(100%, 176px);
  height: auto;
  filter: drop-shadow(0 18px 22px rgba(0, 10, 5, 0.38));
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.5s ease;
  will-change: transform;
}

@keyframes kx-happy-burger-wiggle {
  0% { transform: scale(1.12) rotate(0deg); }
  25% { transform: scale(1.15) rotate(-5deg) translateY(-5px); }
  50% { transform: scale(1.16) rotate(5deg) translateY(-7px); }
  75% { transform: scale(1.14) rotate(-3deg) translateY(-4px); }
  100% { transform: scale(1.12) rotate(0deg) translateY(-2px); }
}

@keyframes kx-orbit-spin-happy {
  0% { transform: translate(-50%, -56%) rotate(-8deg); }
  50% { transform: translate(-50%, -56%) rotate(172deg) scale(1.05); }
  100% { transform: translate(-50%, -56%) rotate(352deg); }
}

.kx-gift:hover .kx-gift-mascot,
.kx-gift-stage:hover .kx-gift-mascot {
  animation: kx-happy-burger-wiggle 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) infinite alternate;
  filter: drop-shadow(0 22px 28px rgba(248, 182, 47, 0.52)) brightness(1.06);
  cursor: pointer;
}

.kx-gift:hover .kx-gift-orbit,
.kx-gift-stage:hover .kx-gift-orbit {
  animation: kx-orbit-spin-happy 10s linear infinite;
}

.kx-gift-stage-label {
  position: relative;
  z-index: 1;
  color: #f3e5a6;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-align: center;
}

.kx-gift-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.kx-gift-brand {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #012b17;
  color: #f3e5a6;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

body.kx-option-b .kx-gift h2 {
  max-width: 760px;
  margin: 0 0 16px;
  color: #012b17 !important;
  font-size: clamp(2.25rem, 5vw, 4.65rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

body.kx-option-b .kx-gift p {
  max-width: 720px;
  margin: 0;
  color: rgba(1, 43, 23, 0.76) !important;
  font-size: clamp(0.94rem, 1.35vw, 1.08rem);
  line-height: 1.6;
}

html[data-kx-theme="day"] body.kx-option-b main > section#sec-digitalmas-referral.kx-gift h2,
html[data-kx-theme="night"] body.kx-option-b main > section#sec-digitalmas-referral.kx-gift h2 {
  color: #012b17 !important;
}

html[data-kx-theme="day"] body.kx-option-b main > section#sec-digitalmas-referral.kx-gift p,
html[data-kx-theme="night"] body.kx-option-b main > section#sec-digitalmas-referral.kx-gift p {
  color: rgba(1, 43, 23, 0.76) !important;
}

body.kx-option-b .kx-gift .kx-gift-support {
  margin-top: 10px;
  color: #012b17 !important;
  font-weight: 800;
}

html[data-kx-theme="day"] body.kx-option-b main > section#sec-digitalmas-referral.kx-gift .kx-gift-support,
html[data-kx-theme="night"] body.kx-option-b main > section#sec-digitalmas-referral.kx-gift .kx-gift-support {
  color: #012b17 !important;
}

.kx-gift-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 12px 20px;
  border: 1px solid rgba(1, 43, 23, 0.18);
  border-radius: 10px 22px 10px 10px;
  background: #012b17;
  color: #fff8e7 !important;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 15px 32px rgba(0, 30, 16, 0.26);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.kx-gift-cta:hover {
  background: #064628;
  transform: translateY(-2px);
  box-shadow: 0 19px 38px rgba(0, 30, 16, 0.34);
}

.kx-gift-cta:focus-visible {
  outline: 3px solid #012b17;
  outline-offset: 4px;
}

/* Scrollytelling progressivo: sem JS de scroll e com fallback estático. */
@supports (animation-timeline: view()) {
  body.kx-option-b #sec-digitalmas-referral.kx-gift {
    view-timeline-name: --kx-gift-scene;
    view-timeline-axis: block;
  }

  .kx-gift-stage {
    animation: kx-gift-stage-in both linear;
    animation-timeline: --kx-gift-scene;
    animation-range: entry 0% cover 40%;
  }

  .kx-gift-mascot {
    animation: kx-gift-mascot-in both linear;
    animation-timeline: --kx-gift-scene;
    animation-range: entry 9% cover 47%;
  }

  .kx-gift-stage-label,
  .kx-gift-copy > * {
    animation: kx-gift-copy-in both linear;
    animation-timeline: --kx-gift-scene;
  }

  .kx-gift-stage-label,
  .kx-gift-brand {
    animation-range: entry 12% cover 39%;
  }

  .kx-gift-copy h2 {
    animation-range: entry 17% cover 47%;
  }

  .kx-gift-copy p:first-of-type {
    animation-range: entry 22% cover 53%;
  }

  .kx-gift-copy .kx-gift-support {
    animation-range: entry 27% cover 58%;
  }

  .kx-gift-copy .kx-gift-cta {
    animation-range: entry 31% cover 64%;
  }
}

@keyframes kx-gift-stage-in {
  0% {
    opacity: 0.15;
    transform: translate3d(-72px, 30px, 0) rotate(-7deg) scale(0.78);
  }
  72% {
    opacity: 1;
    transform: translate3d(5px, -2px, 0) rotate(1.5deg) scale(1.025);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0) scale(1);
  }
}

@keyframes kx-gift-mascot-in {
  0% {
    opacity: 0;
    filter: blur(5px) drop-shadow(0 18px 22px rgba(0, 10, 5, 0.38));
    transform: translate3d(-24px, 48px, 0) rotate(-12deg) scale(0.68);
  }
  72% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 18px 22px rgba(0, 10, 5, 0.38));
    transform: translate3d(4px, -5px, 0) rotate(3deg) scale(1.05);
  }
  100% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 18px 22px rgba(0, 10, 5, 0.38));
    transform: translate3d(0, 0, 0) rotate(0) scale(1);
  }
}

@keyframes kx-gift-copy-in {
  0% {
    opacity: 0;
    filter: blur(5px);
    transform: translate3d(48px, 18px, 0);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 820px) {
  .kx-hero-brand-mark {
    top: -68px;
    right: -48px;
    width: 224px;
    opacity: 0.18;
  }
}

@media (max-width: 700px) {
  body.kx-option-b .wf-header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px !important;
  }

  body.kx-option-b .wf-brand-logo {
    min-width: 0;
  }

  body.kx-option-b .wf-brand-logo > div:last-child {
    min-width: 0;
  }

  body.kx-option-b .wf-brand-logo > div:last-child > div > span:first-child {
    font-size: 0.9rem !important;
  }

  .kx-theme-toggle {
    min-width: 126px;
    min-height: 46px;
    grid-template-columns: auto 36px auto;
    gap: 5px;
    padding-inline: 9px;
    font-size: 0.61rem;
  }

  .kx-theme-track {
    width: 36px;
  }

  html[data-kx-theme="night"] .kx-theme-thumb {
    transform: translateX(12px);
  }

  body.kx-option-b #sec-digitalmas-referral.kx-gift {
    grid-template-columns: minmax(170px, 0.62fr) minmax(0, 1.5fr);
    gap: 26px;
  }

  .kx-gift-stage {
    min-height: 248px;
    padding-inline: 16px;
  }

  .kx-gift-orbit {
    width: 164px;
  }
}

@media (max-width: 640px) {
  body.kx-option-b #sec-digitalmas-referral.kx-gift {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: auto;
    padding: 22px !important;
    border-radius: 12px 42px 12px 12px !important;
    text-align: center !important;
  }

  body.kx-option-b #sec-digitalmas-referral.kx-gift::before {
    width: 100%;
    height: 46%;
    clip-path: polygon(0 0, 100% 0, 100% 72%, 0 100%);
  }

  body.kx-option-b #sec-digitalmas-referral.kx-gift::after {
    right: -0.02em;
    bottom: -0.12em;
    font-size: clamp(4.2rem, 25vw, 6.4rem);
  }

  .kx-gift-stage {
    width: 100%;
    min-height: 218px;
    border-radius: 12px 40px 12px 12px;
  }

  .kx-gift-mascot {
    width: 142px;
  }

  .kx-gift-copy {
    text-align: center;
    width: 100%;
  }

  .kx-gift-cta {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .kx-hero-brand-mark {
    display: none;
  }
}

@media (max-width: 420px) {
  body.kx-option-b .wf-header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  body.kx-option-b .wf-brand-logo {
    width: 100%;
    justify-content: center;
  }

  .kx-header-actions,
  .kx-theme-control {
    width: 100%;
    justify-content: center;
  }

  .kx-header-actions {
    gap: 8px;
  }

  .kx-theme-control {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kx-theme-thumb,
  .kx-theme-option {
    transition: none !important;
  }

  body.kx-option-b #sec-digitalmas-referral .kx-gift-stage,
  body.kx-option-b #sec-digitalmas-referral .kx-gift-mascot,
  body.kx-option-b #sec-digitalmas-referral .kx-gift-stage-label,
  body.kx-option-b #sec-digitalmas-referral .kx-gift-copy > * {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}

/* CARDÁPIO VISUAL C001 · progressive enhancement sobre o fallback estático */
#sec-cardapio.kx-menu-upgraded {
  overflow: visible;
  padding: clamp(24px, 4vw, 54px) !important;
  border-color: rgba(224, 180, 56, .48) !important;
  background:
    radial-gradient(circle at 92% 4%, rgba(248, 182, 47, .13), transparent 28%),
    linear-gradient(150deg, #073b22 0%, #012b18 72%, #001e10 100%) !important;
  box-shadow: 0 28px 70px rgba(0, 30, 16, .2) !important;
}

#sec-cardapio.kx-menu-upgraded > :not(#kixiki-visual-menu) {
  display: none !important;
}

.kx-visual-menu { color: #fff8e8; }
.kx-menu-intro {
  display: grid;
  justify-items: center;
  max-width: 760px;
  margin: 0 auto clamp(28px, 4vw, 46px);
  text-align: center;
}
.kx-menu-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid rgba(248, 182, 47, .55);
  border-radius: 999px;
  color: #f8b62f;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
}
.kx-menu-intro h2 {
  margin: 12px 0 8px;
  color: #fff8e8 !important;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.kx-menu-intro p {
  margin: 0;
  color: rgba(255, 248, 232, .76) !important;
  font-size: clamp(.92rem, 1.6vw, 1.08rem);
}
.kx-menu-intro small {
  margin-top: 14px;
  color: #f8b62f;
  font-size: .72rem;
  font-weight: 760;
}
.kx-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
  align-items: stretch;
}
.kx-menu-card {
  min-width: 0;
  display: grid;
  grid-template-rows: 480px 56px;
  height: 548px;
  min-height: 548px;
  max-height: 548px;
  gap: 12px;
  align-content: start;
  box-sizing: border-box;
  transition: transform 180ms ease, filter 180ms ease;
}
.kx-menu-flip {
  position: relative;
  min-width: 0;
  width: 100%;
  height: 480px;
  min-height: 480px;
  max-height: 480px;
  border-radius: 24px;
  box-sizing: border-box;
  outline: 0;
  perspective: 1000px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.kx-menu-flip:focus-visible {
  outline: 4px solid #f8b62f;
  outline-offset: 4px;
}
.kx-menu-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.4, .2, .2, 1);
}
.kx-menu-card.is-flipped .kx-menu-inner { transform: rotateY(180deg); }
.kx-menu-face {
  position: absolute !important;
  inset: 0 !important;
  min-width: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden;
  border: 1px solid rgba(224, 180, 56, .55);
  border-radius: 24px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 18px 46px rgba(0, 19, 10, .28);
}
.kx-menu-front {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
  background: #001e10;
}
.kx-menu-photo {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 248, 232, .26), transparent 24%),
    linear-gradient(145deg, #f8b62f, #e0b438);
}
.kx-menu-photo::after {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  content: "";
  background: linear-gradient(transparent, rgba(0, 30, 16, .72));
  pointer-events: none;
}
.kx-menu-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.kx-menu-card:hover .kx-menu-photo img:not(.is-fallback) {
  transform: scale(1.09);
}
.kx-menu-photo img.is-fallback {
  object-fit: contain;
  padding: clamp(24px, 4vw, 42px);
  filter: drop-shadow(0 14px 15px rgba(1, 43, 23, .18));
}
.kx-menu-category {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #001e10;
  background: #f8b62f;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .11em;
}
.kx-menu-photo .kx-menu-category {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
}
.kx-menu-front-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 14px;
  align-items: end;
  min-height: 140px;
  padding: 20px 20px 18px;
  background: linear-gradient(135deg, #073b22, #012b18);
}
.kx-menu-front-copy h3 {
  margin: 0;
  color: #fff8e8 !important;
  font-size: clamp(1.22rem, 2vw, 1.62rem);
  line-height: 1.04;
  letter-spacing: -.03em;
}
html[data-kx-theme="day"] body.kx-option-b #sec-cardapio.kx-menu-upgraded .kx-menu-front-copy h3,
html[data-kx-theme="night"] body.kx-option-b #sec-cardapio.kx-menu-upgraded .kx-menu-front-copy h3 {
  color: #fff8e8 !important;
}
.kx-menu-front-copy > strong {
  color: #f8b62f;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  white-space: nowrap;
}
.kx-menu-flip-hint {
  grid-column: 1 / -1;
  color: rgba(255, 248, 232, .7);
  font-size: .68rem;
  font-weight: 720;
}
.kx-menu-back {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  height: 100%;
  box-sizing: border-box;
  padding: clamp(20px, 2.5vw, 26px);
  color: #012b18 !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(248, 182, 47, .28), transparent 34%),
    #fff8e8 !important;
  transform: rotateY(180deg);
}
.kx-menu-back::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 4px;
  background: #f8b62f;
  border-radius: 0 0 4px 4px;
}
html[data-kx-theme="day"] body.kx-option-b #sec-cardapio.kx-menu-upgraded .kx-menu-back,
html[data-kx-theme="night"] body.kx-option-b #sec-cardapio.kx-menu-upgraded .kx-menu-back {
  color: #012b18 !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(248, 182, 47, .28), transparent 34%),
    #fff8e8 !important;
}
.kx-menu-back .kx-menu-category {
  color: #fff8e8 !important;
  background: #073b22 !important;
}
.kx-menu-back-copy {
  min-height: 0;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  padding-right: 4px;
}
.kx-menu-back-copy h3,
html[data-kx-theme="day"] body.kx-option-b #sec-cardapio.kx-menu-upgraded .kx-menu-back-copy h3,
html[data-kx-theme="night"] body.kx-option-b #sec-cardapio.kx-menu-upgraded .kx-menu-back-copy h3 {
  margin: 0 0 10px !important;
  color: #012b18 !important;
  font-size: clamp(1.65rem, 2.2vw, 2rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -.035em;
}
.kx-menu-back-copy p,
html[data-kx-theme="day"] body.kx-option-b #sec-cardapio.kx-menu-upgraded .kx-menu-back-copy p,
html[data-kx-theme="night"] body.kx-option-b #sec-cardapio.kx-menu-upgraded .kx-menu-back-copy p {
  margin: 0 0 14px !important;
  color: #28553f !important;
  font-size: clamp(1rem, 1.3vw, 1.05rem) !important;
  line-height: 1.55 !important;
}
.kx-menu-ingredients > strong,
.kx-menu-back-copy strong,
html[data-kx-theme="day"] body.kx-option-b #sec-cardapio.kx-menu-upgraded .kx-menu-back strong,
html[data-kx-theme="night"] body.kx-option-b #sec-cardapio.kx-menu-upgraded .kx-menu-back strong {
  display: block;
  margin-bottom: 10px !important;
  color: #012b18 !important;
  font-size: .85rem !important;
  font-weight: 850 !important;
  letter-spacing: .09em !important;
  text-transform: uppercase;
}
.kx-menu-ingredients ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.kx-menu-ingredients li,
html[data-kx-theme="day"] body.kx-option-b #sec-cardapio.kx-menu-upgraded .kx-menu-ingredients li,
html[data-kx-theme="night"] body.kx-option-b #sec-cardapio.kx-menu-upgraded .kx-menu-ingredients li {
  position: relative;
  padding-left: 14px;
  color: #28553f !important;
  font-size: clamp(.95rem, 1.2vw, 1rem) !important;
  line-height: 1.42 !important;
}
.kx-menu-ingredients li::before,
html[data-kx-theme="day"] body.kx-option-b #sec-cardapio.kx-menu-upgraded .kx-menu-ingredients li::before,
html[data-kx-theme="night"] body.kx-option-b #sec-cardapio.kx-menu-upgraded .kx-menu-ingredients li::before {
  position: absolute;
  left: 0;
  content: "•";
  color: #d49818 !important;
  font-size: 1.05rem;
  font-weight: 900;
}
.kx-menu-back-foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 15px;
  border-top: 1px solid rgba(1, 43, 24, .16);
}
.kx-menu-back-foot strong,
html[data-kx-theme="day"] body.kx-option-b #sec-cardapio.kx-menu-upgraded .kx-menu-back-foot strong,
html[data-kx-theme="night"] body.kx-option-b #sec-cardapio.kx-menu-upgraded .kx-menu-back-foot strong {
  color: #a86d00 !important;
  font-size: clamp(1.25rem, 1.8vw, 1.4rem) !important;
}
.kx-menu-back-foot span,
html[data-kx-theme="day"] body.kx-option-b #sec-cardapio.kx-menu-upgraded .kx-menu-back-foot span,
html[data-kx-theme="night"] body.kx-option-b #sec-cardapio.kx-menu-upgraded .kx-menu-back-foot span {
  color: #28553f !important;
  font-size: clamp(.78rem, 1.1vw, .85rem) !important;
  font-weight: 780 !important;
}
.kx-menu-whatsapp,
.kx-menu-price-pending {
  width: 100%;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid #e0a421;
  border-radius: 15px;
  color: #001e10;
  background: #f8b62f;
  box-shadow: 0 10px 24px rgba(248, 182, 47, .15);
  font-size: .84rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}
.kx-menu-price-pending { color: #fff8e8; background: rgba(255, 248, 232, .08); border-color: rgba(255, 248, 232, .2); }
.kx-menu-whatsapp:hover { color: #001e10; background: #ffc64d; transform: translateY(-1px); }
.kx-menu-whatsapp:focus-visible { outline: 4px solid #fff8e8; outline-offset: 3px; }
.kx-menu-empty {
  margin: 0;
  padding: 28px;
  border: 1px dashed rgba(248, 182, 47, .55);
  border-radius: 18px;
  color: rgba(255, 248, 232, .78) !important;
  text-align: center;
}

@media (hover: hover) and (pointer: fine) {
  .kx-menu-card:hover { transform: translateY(-4px); filter: drop-shadow(0 16px 16px rgba(0, 19, 10, .16)); }
  .kx-menu-photo img:not(.is-fallback) { transform: scale(1.09); }
  .kx-menu-card:hover .kx-mascot-sticker { transform: scale(1.12) rotate(6deg); }
}

/* HERO PHOTO STAGE & ANCHORED SEAL */
.kx-hero-photo-stage {
  position: relative;
  width: 100%;
}
.kx-hero-photo-stage .kx-hero-seal {
  position: absolute;
  right: -22px;
  bottom: 24px;
  z-index: 5;
}

/* MEDALLONES INDIVIDUALES MASCOTAS (HERO INFERIOR DERECHA - 3X GRANDES, ABAJO Y ANIMACIONES PROPIAS) */
.kx-hero-mascots-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.8vw, 18px);
  margin-top: clamp(60px, 8vw, 110px);
  width: 100%;
}

.kx-mascot-circle {
  position: relative; /* Para anclar el tooltip mágico */
  width: clamp(74px, 7.5vw, 98px);
  height: clamp(74px, 7.5vw, 98px);
  border-radius: 50%;
  background: rgba(0, 30, 16, 0.72);
  border: 2px solid #f8b62f;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 10px 24px rgba(0, 20, 10, 0.5), inset 0 2px 4px rgba(248, 182, 47, 0.4);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
  user-select: none;
}

/* Tooltip Mágico Vertical con Letras Bailando (Position Absolute - No empuja layout) */
.kx-magic-tooltip {
  position: absolute;
  top: 100%; /* Empieza justo debajo del círculo */
  left: 50%;
  transform: translateX(-50%) translateY(0px);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  font-family: var(--font-brand, "Montserrat", system-ui, sans-serif);
  font-weight: 800;
  font-size: 15px;
  line-height: 0.95;
  color: #f8b62f; /* Amarillo Kixiki */
  text-shadow: 0 3px 6px rgba(0, 15, 8, 0.9), 0 0 12px rgba(248, 182, 47, 0.5);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
}

html[data-kx-theme="day"] .kx-magic-tooltip {
  color: #012b18; /* Bosque en tema día */
  text-shadow: 0 2px 8px rgba(255, 248, 231, 0.9), 0 0 12px rgba(248, 182, 47, 0.6);
}

.kx-magic-tooltip span {
  display: inline-block;
  transform: translateY(0);
}

.kx-mascot-circle:hover .kx-magic-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(14px); /* Baja suavemente */
}

/* Efecto Mágico "Bailando" en las letras al hacer hover */
@keyframes kx-letter-dance {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-4px) rotate(-6deg) scale(1.15); color: #ffca59; }
  75% { transform: translateY(2px) rotate(6deg) scale(0.95); }
}

html[data-kx-theme="day"] @keyframes kx-letter-dance {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-4px) rotate(-6deg) scale(1.15); color: #004d26; }
  75% { transform: translateY(2px) rotate(6deg) scale(0.95); }
}

.kx-mascot-circle:hover .kx-magic-tooltip span {
  animation: kx-letter-dance 1.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.1s);
}

html[data-kx-theme="day"] .kx-mascot-circle {
  background: rgba(255, 248, 231, 0.92);
  border-color: #012b18;
  box-shadow: 0 10px 22px rgba(1, 43, 23, 0.14), inset 0 2px 4px rgba(248, 182, 47, 0.5);
}

/* 💬 GLOBO DE DIÁLOGO "VAMOS LÁ" PARA EL EFECTO MÁGICO ONCLICK */
.kx-speech-bubble {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%) scale(0.5);
  background: #fff8e7;
  color: #012b18;
  padding: 8px 14px;
  border-radius: 14px;
  font-family: var(--font-brand, "Montserrat", sans-serif);
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 8px 16px rgba(0, 20, 10, 0.4);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 20;
}
.kx-speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 7px 7px 0;
  border-style: solid;
  border-color: #fff8e7 transparent transparent transparent;
  display: block;
  width: 0;
}

html[data-kx-theme="day"] .kx-speech-bubble {
  background: #012b18;
  color: #fff8e7;
  box-shadow: 0 8px 16px rgba(1, 43, 23, 0.2);
}
html[data-kx-theme="day"] .kx-speech-bubble::after {
  border-top-color: #012b18;
}

/* ESTADO CLICK (LA MAGIA DE FESTEJO Y VIAJE) */
.kx-mascot-circle.kx-is-clicked {
  border-color: #f8b62f !important;
  background: rgba(248, 182, 47, 0.25) !important;
  box-shadow: 0 0 35px rgba(248, 182, 47, 0.6), inset 0 2px 4px rgba(248, 182, 47, 0.5) !important;
}
.kx-mascot-circle.kx-is-clicked img {
  transform: scale(1.35) translateY(-12px) !important;
  animation: none !important;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,0.5)) !important;
}
.kx-mascot-circle.kx-is-clicked .kx-magic-tooltip {
  opacity: 0 !important;
}
.kx-mascot-circle.kx-is-clicked .kx-speech-bubble {
  opacity: 1;
  transform: translateX(-50%) scale(1.1) translateY(-12px);
}

.kx-mascot-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
}

/* ANIMACIÓN 1: MARMITA (Balanceo humeante al vapor) */
@keyframes kx-marmita-rock {
  0% { transform: scale(1.15) rotate(0deg) translateY(-4px); }
  25% { transform: scale(1.2) rotate(-14deg) translateY(-10px); }
  75% { transform: scale(1.2) rotate(14deg) translateY(-10px); }
  100% { transform: scale(1.15) rotate(0deg) translateY(-4px); }
}
.kx-mascot-marmita:hover {
  transform: translateY(-8px) scale(1.1);
  border-color: #ffca59;
  background: rgba(1, 43, 24, 0.92);
  box-shadow: 0 18px 36px rgba(248, 182, 47, 0.45);
  cursor: pointer;
}
.kx-mascot-marmita:hover img {
  animation: kx-marmita-rock 0.85s ease-in-out infinite alternate;
}

/* ANIMACIÓN 2: BURGER (Gran salto de felicidad) */
@keyframes kx-burger-jump {
  0% { transform: scale(1.12) translateY(0); }
  35% { transform: scale(1.25) translateY(-16px) rotate(-6deg); }
  65% { transform: scale(1.22) translateY(-14px) rotate(6deg); }
  100% { transform: scale(1.16) translateY(-6px) rotate(0); }
}
.kx-mascot-burger:hover {
  transform: translateY(-8px) scale(1.1);
  border-color: #ffca59;
  background: rgba(1, 43, 24, 0.92);
  box-shadow: 0 20px 42px rgba(248, 182, 47, 0.55);
  cursor: pointer;
}
.kx-mascot-burger:hover img {
  animation: kx-burger-jump 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) infinite alternate;
}

/* ANIMACIÓN 3: PASTEL (Giro 3D crujiente) */
@keyframes kx-pastel-twist {
  0% { transform: scale(1.1) rotateY(0deg) rotate(0deg); }
  50% { transform: scale(1.22) rotateY(180deg) rotate(10deg) translateY(-8px); }
  100% { transform: scale(1.15) rotateY(360deg) rotate(-6deg) translateY(-4px); }
}
.kx-mascot-pastel:hover {
  transform: translateY(-8px) scale(1.1);
  border-color: #ffca59;
  background: rgba(1, 43, 24, 0.92);
  box-shadow: 0 18px 36px rgba(248, 182, 47, 0.45);
  cursor: pointer;
}
.kx-mascot-pastel:hover img {
  animation: kx-pastel-twist 1.05s cubic-bezier(0.25, 1, 0.5, 1) infinite alternate;
}

/* ANIMACIÓN 4: BATATA (Vibración y estallido alegre de papas) */
@keyframes kx-porcao-pop {
  0% { transform: scale(1.1) translateY(0); }
  25% { transform: scale(1.26) translateY(-14px) rotate(8deg); }
  50% { transform: scale(1.18) translateY(-6px) rotate(-8deg); }
  75% { transform: scale(1.24) translateY(-12px) rotate(6deg); }
  100% { transform: scale(1.18) translateY(-8px) rotate(0); }
}
.kx-mascot-porcao:hover {
  transform: translateY(-8px) scale(1.1);
  border-color: #ffca59;
  background: rgba(1, 43, 24, 0.92);
  box-shadow: 0 18px 36px rgba(248, 182, 47, 0.45);
  cursor: pointer;
}
.kx-mascot-porcao:hover img {
  animation: kx-porcao-pop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) infinite alternate;
}

@media (max-width: 820px) {
  .kx-hero-mascots-cluster {
    margin-top: 28px;
    gap: 10px;
  }
  .kx-mascot-circle {
    width: 56px;
    height: 56px;
    padding: 7px;
  }
}

@media (max-width: 520px) {
  .kx-hero-mascots-cluster {
    margin-top: 18px;
    gap: 8px;
  }
  .kx-mascot-circle {
    width: 48px;
    height: 48px;
    padding: 6px;
  }
  
  /* En mobile escondemos el texto vertical bailando (Hover no existe bien en táctil) */
  .kx-magic-tooltip {
    display: none !important;
  }
  
  /* Ajustamos el globito de diálogo para que no se salga de la pantalla en celu */
  .kx-speech-bubble {
    font-size: 11px;
    padding: 6px 10px;
    top: -35px;
  }
  
  /* Reducimos un poco el salto en mobile para no tapar contenido crítico */
  .kx-mascot-circle.kx-is-clicked img {
    transform: scale(1.25) translateY(-8px) !important;
  }
  .kx-mascot-circle.kx-is-clicked .kx-speech-bubble {
    transform: translateX(-50%) scale(1.1) translateY(-8px);
  }
}

@media (max-width: 980px) {
  .kx-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  #sec-cardapio.kx-menu-upgraded { padding: 24px 14px 30px !important; border-radius: 22px !important; }
  .kx-menu-grid { grid-template-columns: 1fr; gap: 22px; }
  .kx-menu-card { grid-template-rows: 450px 56px; height: 518px; min-height: 518px; max-height: 518px; }
  .kx-menu-flip { height: 450px; min-height: 450px; max-height: 450px; }
  .kx-menu-front-copy { min-height: 132px; padding: 18px; }
  .kx-menu-back { padding: 20px; gap: 10px; }
  .kx-menu-ingredients ul { grid-template-columns: 1fr; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .kx-menu-inner { transition: none !important; }
  .kx-menu-card.is-flipped .kx-menu-inner { transform: none; }
  .kx-menu-face { transition: opacity .01ms linear !important; }
  .kx-menu-back { transform: none; opacity: 0; pointer-events: none; }
  .kx-menu-card.is-flipped .kx-menu-front { opacity: 0; pointer-events: none; }
  .kx-menu-card.is-flipped .kx-menu-back { opacity: 1; pointer-events: auto; }
}

@media print {
  html[data-kx-theme] {
    color-scheme: light;
  }

  .kx-theme-control {
    display: none !important;
  }
}

/* ==========================================================================
   REPRODUCTOR KIXIKI FM & ECUALIZADOR DINÁMICO
   ========================================================================== */
.kx-audio-player {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(1, 43, 23, 0.4);
  border: 1.5px solid rgba(248, 182, 47, 0.35);
  border-radius: 999px;
  padding: 4px 10px 4px 6px;
  cursor: pointer;
  user-select: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
}

.kx-audio-player:hover {
  background: rgba(1, 43, 23, 0.65);
  border-color: #f8b62f;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(248, 182, 47, 0.25);
}

.kx-audio-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f8b62f;
  color: #012b18;
  font-size: 11px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.kx-audio-player:hover .kx-audio-btn {
  transform: scale(1.08);
}

/* Ecualizador de 4 barras llamativo */
.kx-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
  width: 18px;
}

.kx-equalizer span {
  display: block;
  width: 2.5px;
  height: 100%;
  background: #f8b62f;
  border-radius: 2px;
  transform-origin: bottom;
  transform: scaleY(0.25);
  transition: transform 0.2s ease, background 0.3s;
}

/* Estado Reproduciendo */
.kx-audio-player.is-playing {
  border-color: #34D399;
  background: rgba(1, 43, 23, 0.75);
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.3);
}

.kx-audio-player.is-playing .kx-audio-btn {
  background: #34D399;
}

.kx-audio-player.is-playing .kx-equalizer span {
  background: #34D399;
}

.kx-audio-player.is-playing .kx-equalizer span:nth-child(1) {
  animation: kx-eq-bounce 0.7s ease-in-out infinite alternate;
}
.kx-audio-player.is-playing .kx-equalizer span:nth-child(2) {
  animation: kx-eq-bounce 0.45s ease-in-out infinite 0.15s alternate;
}
.kx-audio-player.is-playing .kx-equalizer span:nth-child(3) {
  animation: kx-eq-bounce 0.85s ease-in-out infinite 0.3s alternate;
}
.kx-audio-player.is-playing .kx-equalizer span:nth-child(4) {
  animation: kx-eq-bounce 0.55s ease-in-out infinite 0.1s alternate;
}

@keyframes kx-eq-bounce {
  0% { transform: scaleY(0.2); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(0.35); }
}

/* Selector de Pista (v1 / v2) */
.kx-audio-track-toggle {
  background: #f8b62f;
  border: none;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #012b18;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.kx-audio-track-toggle:hover {
  background: #ffffff;
  transform: scale(1.06);
}

/* Modo Noche: Kixiki FM con cápsula luminosa dorada */
html[data-kx-theme="night"] .kx-audio-player,
body.kx-option-b .kx-audio-player {
  background: rgba(248, 182, 47, 0.12) !important;
  border-color: rgba(248, 182, 47, 0.6) !important;
  box-shadow: 0 0 14px rgba(248, 182, 47, 0.18) !important;
}
html[data-kx-theme="night"] .kx-audio-player:hover,
body.kx-option-b .kx-audio-player:hover {
  background: rgba(248, 182, 47, 0.22) !important;
  border-color: #f8b62f !important;
  box-shadow: 0 0 20px rgba(248, 182, 47, 0.35) !important;
}
html[data-kx-theme="night"] .kx-equalizer span {
  background: #f8b62f;
}

/* Modo Día */
html[data-kx-theme="day"] .kx-audio-player {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(1, 43, 23, 0.3);
  color: #012b18;
  box-shadow: 0 4px 12px rgba(1, 43, 23, 0.08);
}
html[data-kx-theme="day"] .kx-audio-player.is-playing {
  background: rgba(248, 182, 47, 0.2);
  border-color: #012b18;
}
html[data-kx-theme="day"] .kx-equalizer span {
  background: #012b18;
}

/* ==========================================================================
   BARRA PERSEGUIDORA INFERIOR (BOTTOM FLOATING CONVERSION PILL)
   ========================================================================== */
.sticky-offer-bar,
body.kx-option-b .sticky-offer-bar {
  top: auto !important;
  bottom: 18px !important;
  left: 50% !important;
  right: auto !important;
  width: min(92vw, 680px) !important;
  max-width: 680px !important;
  transform: translate(-50%, 250%) scale(0.95) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  border-radius: 999px !important;
  /* 🌙 MODO NOCHE: Cápsula Crema Luminosa (#fff8e7) que despega del fondo verde noche */
  background: #fff8e7 !important;
  border: 1.5px solid rgba(224, 180, 56, 0.75) !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(248, 182, 47, 0.3) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  padding: 8px 12px 8px 18px !important;
  min-height: 54px !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
  z-index: 9999 !important;
  overflow: visible !important;
}

.sticky-offer-bar.visible,
body.kx-option-b .sticky-offer-bar.visible,
html[data-kx-theme="night"] body.kx-option-b .sticky-offer-bar.visible,
html[data-kx-theme="night"] .sticky-offer-bar.visible,
html[data-kx-theme="day"] body.kx-option-b .sticky-offer-bar.visible,
html[data-kx-theme="day"] .sticky-offer-bar.visible {
  transform: translate(-50%, 0) scale(1) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.sticky-inner {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

/* 🌙 Texto en modo noche: Verde Bosque profundo (#012b18) sobre el fondo crema */
#sticky-offer-title,
body.kx-option-b #sticky-offer-title,
html[data-kx-theme="night"] body.kx-option-b #sticky-offer-title,
html[data-kx-theme="night"] #sticky-offer-title {
  color: #012b18 !important;
  font-weight: 900 !important;
  font-size: 0.88rem !important;
  letter-spacing: -0.01em;
}

.sticky-price-badge,
body.kx-option-b .sticky-price-badge,
html[data-kx-theme="night"] body.kx-option-b .sticky-price-badge,
html[data-kx-theme="night"] .sticky-price-badge {
  background: rgba(1, 43, 23, 0.08) !important;
  color: #012b18 !important;
  border: 1px solid rgba(1, 43, 23, 0.3) !important;
  font-weight: 800 !important;
  font-size: 0.75rem !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
}

/* 🟢 BOTÓN WHATSAPP DESTACADO CON RADAR RINGS DE ZÉ DELIVERY Y BADGE 1 */
a.sticky-cta-btn,
body.kx-option-b a.sticky-cta-btn,
body.kx-option-b .sticky-cta-btn,
html[data-kx-theme="night"] body.kx-option-b a.sticky-cta-btn,
html[data-kx-theme="night"] .sticky-cta-btn,
html[data-kx-theme="day"] a.sticky-cta-btn,
html[data-kx-theme="day"] body.kx-option-b a.sticky-cta-btn {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #25D366 !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 0.88rem !important;
  padding: 10px 22px !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45) !important;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
  white-space: nowrap !important;
  border: none !important;
  text-decoration: none !important;
  overflow: visible !important;
}

a.sticky-cta-btn:hover,
body.kx-option-b a.sticky-cta-btn:hover,
html[data-kx-theme="night"] body.kx-option-b a.sticky-cta-btn:hover,
html[data-kx-theme="day"] a.sticky-cta-btn:hover {
  background: #22bf5b !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.65) !important;
}

/* 📡 ZÉ DELIVERY RADAR RINGS (Cascada de 3 segundos guiando la mirada) */
.ze-radar-ring {
  position: absolute !important;
  top: -6px !important;
  left: -6px !important;
  right: -6px !important;
  bottom: -6px !important;
  border: 2px solid #25D366 !important;
  border-radius: 999px !important;
  animation: zeRadar 3s infinite cubic-bezier(0.215, 0.61, 0.355, 1) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.ze-radar-ring:nth-child(1) { animation-delay: 0s !important; }
.ze-radar-ring:nth-child(2) { animation-delay: 0.75s !important; }
.ze-radar-ring:nth-child(3) { animation-delay: 1.5s !important; }

@keyframes zeRadar {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.18, 1.45);
    opacity: 0;
  }
}

/* 🔴 Badge 1 de Notificación Pendiente (iFood Web) */
.wa-unread-badge {
  position: absolute !important;
  top: -6px !important;
  right: 2px !important;
  background: #ff3b30 !important;
  color: #ffffff !important;
  font-size: 0.68rem !important;
  font-weight: 900 !important;
  min-width: 17px !important;
  height: 17px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 2px solid #fff !important;
  line-height: 1 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35) !important;
  animation: waBadgePulse 2.5s infinite ease-in-out !important;
  z-index: 2 !important;
}

@keyframes waBadgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); box-shadow: 0 0 12px rgba(255, 59, 48, 0.8); }
}

/* ☀️ MODO DÍA: Cápsula Verde Bosque Profundo (#012b18) que corta el fondo crema */
html[data-kx-theme="day"] .sticky-offer-bar,
html[data-kx-theme="day"] body.kx-option-b .sticky-offer-bar {
  background: #012b18 !important;
  border: 1.5px solid rgba(248, 182, 47, 0.6) !important;
  box-shadow: 0 16px 40px rgba(1, 43, 23, 0.35), 0 0 20px rgba(248, 182, 47, 0.25) !important;
}
html[data-kx-theme="day"] #sticky-offer-title,
html[data-kx-theme="day"] body.kx-option-b #sticky-offer-title {
  color: #fff8e7 !important;
}
html[data-kx-theme="day"] .sticky-price-badge,
html[data-kx-theme="day"] body.kx-option-b .sticky-price-badge {
  background: rgba(248, 182, 47, 0.2) !important;
  color: #f8b62f !important;
  border: 1px solid rgba(248, 182, 47, 0.45) !important;
}
/* Day mode text colors */

/* Mobile: Thumb-Zone Optimization (Regla Ergonómica Mobile) */
@media (max-width: 600px) {
  .sticky-offer-bar,
  body.kx-option-b .sticky-offer-bar {
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, 250%) scale(0.95) !important;
    bottom: 12px !important;
    width: min(calc(100vw - 20px), 440px) !important;
    max-width: 440px !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    min-height: 50px !important;
    margin: 0 !important;
  }
  .sticky-offer-bar.visible,
  body.kx-option-b .sticky-offer-bar.visible,
  html[data-kx-theme="night"] body.kx-option-b .sticky-offer-bar.visible,
  html[data-kx-theme="night"] .sticky-offer-bar.visible,
  html[data-kx-theme="day"] body.kx-option-b .sticky-offer-bar.visible,
  html[data-kx-theme="day"] .sticky-offer-bar.visible {
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, 0) scale(1) !important;
  }
  .sticky-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .sticky-inner > div:first-child {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
  #sticky-offer-title,
  body.kx-option-b #sticky-offer-title {
    display: block !important;
    font-size: 0.72rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
  }
  .sticky-price-badge,
  body.kx-option-b .sticky-price-badge {
    display: none !important;
  }
  a.sticky-cta-btn,
  body.kx-option-b a.sticky-cta-btn {
    padding: 8px 14px !important;
    font-size: 0.76rem !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
    border-radius: 999px !important;
  }
  a.sticky-cta-btn svg {
    width: 15px !important;
    height: 15px !important;
  }
  .wa-unread-badge {
    top: -5px !important;
    right: 0px !important;
    min-width: 15px !important;
    height: 15px !important;
    font-size: 0.62rem !important;
  }
}





