/* Bloque visual 1 — orden de cascada conservado. */
@keyframes lanternBreeze { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(2.5deg); } 75% { transform: rotate(-2.5deg); } }
  .lantern-suspended { transform-origin: 50% 0%; animation: lanternBreeze 6s ease-in-out infinite; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease; cursor: pointer; }
  .lantern-suspended:hover { animation-play-state: paused; transform: rotate(4deg) scale(1.03); filter: drop-shadow(0 4px 12px rgba(217, 119, 54, 0.35)); }
  @keyframes heroOrganicFloat { 0% { transform: translateY(0px); } 50% { transform: translateY(-5px); } 100% { transform: translateY(2px); } }
  .hero-composition-float { animation: heroOrganicFloat 9s ease-in-out infinite alternate; }
  @keyframes orbitFireflyCW { 0% { transform: rotate(0deg) translate(220px, 0px) rotate(0deg); } 100% { transform: rotate(360deg) translate(220px, 0px) rotate(-360deg); } }
  @keyframes orbitFireflyCCW { 0% { transform: rotate(360deg) translate(245px, 0px) rotate(-360deg); } 100% { transform: rotate(0deg) translate(245px, 0px) rotate(0deg); } }
  @keyframes orbitFireflyTight { 0% { transform: rotate(45deg) translate(195px, 0px) rotate(-45deg); } 100% { transform: rotate(405deg) translate(195px, 0px) rotate(-405deg); } }
  @keyframes orbitFireflyWide { 0% { transform: rotate(180deg) translate(260px, 0px) rotate(-180deg); } 100% { transform: rotate(-180deg) translate(260px, 0px) rotate(180deg); } }
  @keyframes fireflyPulseGlow { 0%, 100% { opacity: 0.4; transform: scale(0.9); filter: drop-shadow(0 0 3px rgba(227, 231, 172, 0.6)); } 50% { opacity: 0.9; transform: scale(1.15); filter: drop-shadow(0 0 8px rgba(227, 231, 172, 0.85)); } }
  .orbiting-firefly-track-1 { position: absolute; top: 50%; left: 50%; animation: orbitFireflyCW 18s linear infinite; pointer-events: none; }
  .orbiting-firefly-track-2 { position: absolute; top: 50%; left: 50%; animation: orbitFireflyCCW 24s linear infinite; pointer-events: none; }
  .orbiting-firefly-track-3 { position: absolute; top: 50%; left: 50%; animation: orbitFireflyTight 16s linear infinite; pointer-events: none; }
  .orbiting-firefly-track-4 { position: absolute; top: 50%; left: 50%; animation: orbitFireflyWide 26s linear infinite; pointer-events: none; }
  .firefly-glow-ball { animation: fireflyPulseGlow 3.5s ease-in-out infinite; background: radial-gradient(circle, #ffffff 20%, #e3e7ac 70%, #7d8050 100%); border-radius: 9999px; pointer-events: none; opacity: 0.75; }
  @keyframes bokehFloat1 { 0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.25; } 50% { transform: translate(18px, -24px) scale(1.2); opacity: 0.55; } }
  @keyframes bokehFloat2 { 0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; } 50% { transform: translate(-22px, -30px) scale(1.25); opacity: 0.6; } }
  @keyframes runeGlowPulse { 0%, 100% { opacity: 0.35; filter: drop-shadow(0 0 2px rgba(227, 231, 172, 0.4)); } 50% { opacity: 0.85; filter: drop-shadow(0 0 6px rgba(243, 158, 125, 0.8)); } }
  @keyframes leafDrift { 0% { transform: translateY(-10px) rotate(0deg); opacity: 0; } 20% { opacity: 0.75; } 80% { opacity: 0.75; } 100% { transform: translateY(45px) rotate(25deg); opacity: 0; } }
  .animate-bokeh-1 { animation: bokehFloat1 11s ease-in-out infinite; }
  .animate-bokeh-2 { animation: bokehFloat2 14s ease-in-out infinite alternate; }
  .animate-rune-glow { animation: runeGlowPulse 4s ease-in-out infinite; }
  .bg-parchment-texture { background-color: #F7F0DE; background-image: radial-gradient(#dfd4bb 0.75px, transparent 0.75px), radial-gradient(#e6dbc1 0.75px, #F7F0DE 0.75px); background-size: 30px 30px; background-position: 0 0, 15px 15px; }
  @media (prefers-reduced-motion: reduce) { .hero-composition-float, .orbiting-firefly-track-1, .orbiting-firefly-track-2, .orbiting-firefly-track-3, .orbiting-firefly-track-4, .firefly-glow-ball, .lantern-suspended, .animate-bokeh-1, .animate-bokeh-2, .animate-rune-glow { animation: none !important; transform: none !important; } }

/* Bloque visual 2 — orden de cascada conservado. */
/* Correctivos limitados a ventanas: la portada conserva sus estilos. */
#modal-plato, #modal-dulce { z-index: 100; padding: max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom)); }
#modal-plato > div, #modal-dulce > div { max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
#modal-plato .overflow-y-auto, #modal-dulce .overflow-y-auto { min-height: 0; overscroll-behavior: contain; }
#modal-plato button, #modal-dulce button { min-width: 44px; min-height: 44px; }

/* Bloque visual 3 — orden de cascada conservado. */
/* Composición original de cierre: raíces, enredadera y mesa de última taza. */
#elf-closing { position: relative; isolation: isolate; background: #1B362F; color: #F7F0DE; padding: 64px 24px 22px; }
.elf-closing-edge { position: absolute; width: 100%; height: 50px; left: 0; bottom: calc(100% - 1px); pointer-events: none; }
.elf-root-vine { position: absolute; bottom: 0; left: 0; width: 210px; height: 940px; z-index: 2; pointer-events: none; }
.elf-root-vine svg { display: block; width: 100%; height: 100%; }
.elf-closing-inner { position: relative; z-index: 3; max-width: 1160px; margin: auto; padding-left: 160px; display: grid; grid-template-columns: 1.3fr 1fr 230px; gap: 40px; align-items: center; }
.elf-closing-eyebrow { display: block; color: #C2C395; text-transform: uppercase; letter-spacing: .18em; font: 10px/1.5 'Plus Jakarta Sans',sans-serif; }
.elf-closing-brand h2 { font: 400 40px/1.1 'EB Garamond',serif; margin: 12px 0; }
.elf-closing-brand p { font: 400 23px/1.4 'EB Garamond',serif; color: #E1D8BD; }
.elf-closing-caption { display: block; margin-top: 20px; color: #C2C395; font-size: 11px; }
.elf-closing-links > span { display: block; color: #C2C395; font: italic 21px 'EB Garamond',serif; margin-bottom: 10px; }
.elf-closing-links a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 46px; border-bottom: 1px solid #F7F0DE22; font-size: 12px; }
.elf-closing-links a:hover { color: #EACD93; }
.elf-closing-scene svg { width: 100%; height: auto; }
.elf-closing-bottom { position: relative; z-index: 3; max-width: 1160px; margin: 36px auto 0; padding: 20px 0 0 160px; border-top: 1px solid #F7F0DE22; display: flex; justify-content: space-between; gap: 20px; color: #C2C395; font-size: 10px; }
#elf-closing a:focus-visible { outline: 2px solid #EACD93; outline-offset: 4px; }
@media (max-width: 1023px) {
 .elf-closing-inner { grid-template-columns: 1fr 1fr; padding-left: 105px; gap: 24px; }
 .elf-closing-scene { grid-column: 1 / -1; max-width: 220px; justify-self: end; margin-top: -24px; }
 .elf-root-vine { width: 150px; height: 800px; }
 .elf-closing-bottom { padding-left: 105px; }
}
@media (max-width: 639px) {
 #elf-closing { padding: 40px 24px 24px; }
 .elf-root-vine { width: 100px; height: 650px; left: -18px; }
 .elf-closing-inner { grid-template-columns: minmax(0,1fr); padding-left: 48px; gap: 28px; }
 .elf-closing-brand h2 { font-size: 36px; }
 .elf-closing-scene { grid-column: auto; width: 170px; margin-top: -8px; }
 .elf-closing-bottom { padding-left: 48px; flex-direction: column; line-height: 1.7; margin-top: 24px; }
 .elf-closing-bottom a { display: flex; align-items: center; min-height: 44px; }
}

/* Bloque visual 4 — orden de cascada conservado. */
/* Experiencia móvil tipo app; el escritorio mantiene su composición. */
#elf-app-nav { display: none; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
img { max-width: 100%; }
@media (max-width: 1023px) {
 body { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); overflow-x: hidden; }
 body > header { display: none; }
 html { scroll-padding-top: 16px; scroll-padding-bottom: 100px; }
 section[id] { scroll-margin-top: 16px; }
 #elf-app-nav { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)); gap: 3px; border: 1px solid #7D805055; border-bottom: 0; border-radius: 24px 24px 0 0; background: #1B362FF7; color: #F7F0DE; box-shadow: 0 -6px 24px #142A2420; backdrop-filter: blur(12px); }
 #elf-app-nav > a, .elf-app-more summary { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; gap: 4px; border-radius: 16px; font-size: 10px; line-height: 1.3; }
 #elf-app-nav .material-symbols-outlined { font-size: 23px; }
 #elf-app-nav > a[aria-current], .elf-app-more[open] summary { background: #F7F0DE; color: #24483F; }
 .elf-app-more summary { list-style: none; cursor: pointer; }
 .elf-app-more summary::-webkit-details-marker { display: none; }
 .elf-app-sheet { position: absolute; bottom: calc(100% + 10px); left: 12px; right: 12px; padding: 12px; border: 1px solid #7D805055; border-radius: 22px; background: #F7F0DE; color: #24483F; box-shadow: 0 8px 32px #142A2433; }
 .elf-app-sheet a { display: flex; align-items: center; min-height: 48px; padding: 8px 16px; font-size: 14px; }
 #elf-app-nav a:focus-visible, .elf-app-more summary:focus-visible { outline: 2px solid #A95032; outline-offset: -3px; }
 .elf-input-focused #elf-app-nav { visibility: hidden; pointer-events: none; }
}
@media (max-width: 767px) {
 #inicio > section:first-child { min-height: 0; padding-top: calc(36px + env(safe-area-inset-top, 0px)); padding-bottom: 112px; }
 #inicio > section:first-child h1 { font-size: clamp(2.1rem, 9vw, 3.2rem); overflow-wrap: break-word; }
 #hero-showcase-container { height: clamp(320px, 100vw, 420px); max-width: 100%; }
 #hero-slider-frame { width: min(80vw, 340px); }
 #hero-showcase-container > [aria-hidden="true"] { max-width: 100%; }
 #hero-slide-prev, #hero-slide-next { min-width: 48px; min-height: 48px; }
 #apetecer > div, #propuesta > .max-w-6xl, #compartir > .max-w-6xl, #carta > .max-w-6xl, #galeria > .max-w-6xl, #visitanos > .max-w-6xl { padding-left: 48px; padding-right: 20px; }
 #propuesta > [aria-hidden="true"], #carta > [aria-hidden="true"] { max-width: 76px; }
 .filtro-btn, .galeria-tab, .refugio-tab { min-height: 48px; padding: 10px 14px; line-height: 1.4; white-space: normal; }
 #contenedor-carta-grid { gap: 18px; }
 .item-carta { min-width: 0; }
 .item-carta button, #compartir button, #apetecer button { min-height: 48px; }
 #visitanos input, #visitanos select, #visitanos textarea { min-height: 48px; font-size: 16px; }
 #visitanos textarea { min-height: 112px; }
 #modal-plato > div, #modal-dulce > div { display: flex; flex-direction: column; width: 100%; }
 #modal-plato .h-56 { height: 150px; flex-shrink: 0; }
 #modal-plato .overflow-y-auto, #modal-dulce .overflow-y-auto { -webkit-overflow-scrolling: touch; }
 #modal-plato button, #modal-dulce button { min-height: 48px; min-width: 48px; }
 .elf-closing-bottom { padding-bottom: 8px; }
}
@media (max-width: 359px) {
 #apetecer > div, #propuesta > .max-w-6xl, #compartir > .max-w-6xl, #carta > .max-w-6xl, #galeria > .max-w-6xl, #visitanos > .max-w-6xl { padding-left: 36px; padding-right: 16px; }
 #elf-app-nav { padding-inline: 4px; }
 #elf-app-nav > a, .elf-app-more summary { font-size: 9px; }
}
@media (max-height: 560px) and (max-width: 1023px) {
 #modal-plato .h-56 { height: 100px; }
 #modal-plato > div, #modal-dulce > div { max-height: calc(100dvh - 24px); }
}
@media (hover: none) {
 .item-carta:hover, .group:hover img { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Bloque visual 5 — orden de cascada conservado. */
/* Ilustraciones originales de cafetería y objetos élficos en espacios reservados. */
.elf-section-details { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1152px; margin: 0 auto 24px; padding: 0 48px 0 100px; color: #A28B60; pointer-events: none; user-select: none; }
.elf-detail-sketch { display: block; flex: 0 0 52px; width: 52px; height: 52px; }
.elf-detail-sketch:first-child { transform: rotate(-9deg); }
.elf-detail-sketch:last-child { transform: rotate(8deg); }
.elf-detail-sketch .elf-detail-light { fill: #EACD93; stroke: #A28B60; }
#compartir .elf-section-details { color: #D1B886; }
@media (max-width: 767px) {
 .elf-section-details { padding-left: 48px; padding-right: 22px; margin-bottom: 20px; gap: 16px; }
 .elf-detail-sketch { width: 38px; height: 38px; flex-basis: 38px; }
}

/* Bloque visual 6 — orden de cascada conservado. */
/* Ritmo interior compacto, títulos ornamentados y objetos en los márgenes. */
.elf-interior-section { padding-top: 48px; padding-bottom: 48px; }
.elf-interior-section > .elf-section-details {
 position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
 display: block; padding: 0; margin: 0; overflow: hidden; z-index: 1;
}
.elf-interior-section > .elf-section-details > .elf-detail-sketch { position: absolute; width: 38px; height: 38px; }
.elf-interior-section > .elf-section-details > .elf-detail-sketch:first-child { top: 8px; right: 22px; transform: rotate(12deg); }
.elf-interior-section > .elf-section-details > .elf-detail-sketch:last-child { bottom: 8px; right: 30px; transform: rotate(-12deg); }
.elf-interior-section > .elf-section-details > .elf-detail-sketch:nth-child(2):not(:last-child) { top: 50%; left: 8px; width: 30px; height: 30px; opacity: .65; }
.elf-interior-section > .max-w-6xl { position: relative; z-index: 2; }
.elf-interior-section h2 { display: flex; align-items: center; justify-content: center; gap: 10px; }
.elf-title-words { min-width: 0; }
.elf-title-ornament { display: inline-block; flex: 0 0 30px; width: 30px; height: 30px; color: #A28B60; }
.elf-title-ornament-right { transform: scaleX(-1); }
#compartir .elf-title-ornament { color: #D1B886; }
.elf-interior-section .text-center.mb-12, .elf-interior-section .text-center.mb-10 { margin-bottom: 28px; }
@media (min-width: 1440px) {
 .elf-interior-section > .elf-section-details > .elf-detail-sketch:first-child { top: 32%; right: max(24px, calc((100% - 1320px)/2)); width: 50px; height: 50px; }
 .elf-interior-section > .elf-section-details > .elf-detail-sketch:last-child { bottom: 20%; right: max(24px, calc((100% - 1320px)/2)); width: 44px; height: 44px; }
}
@media (max-width: 767px) {
 .elf-interior-section { padding-top: 36px; padding-bottom: 36px; }
 .elf-interior-section h2 { gap: 6px; }
 .elf-title-ornament { width: 22px; height: 26px; flex-basis: 22px; }
 .elf-interior-section > .elf-section-details > .elf-detail-sketch:first-child,
 .elf-interior-section > .elf-section-details > .elf-detail-sketch:last-child { width: 26px; height: 26px; right: 12px; }
 .elf-interior-section > .elf-section-details > .elf-detail-sketch:first-child { top: 4px; }
 .elf-interior-section > .elf-section-details > .elf-detail-sketch:last-child { bottom: 4px; }
 .elf-interior-section > .elf-section-details > .elf-detail-sketch:nth-child(2):not(:last-child) { left: 2px; width: 22px; height: 22px; }
 .elf-interior-section .text-center.mb-12, .elf-interior-section .text-center.mb-10 { margin-bottom: 22px; }
}

/* Bloque visual 7 — orden de cascada conservado. */
/* Alternancia después del farol de portada: café, elfo, café… */
.elf-has-divider { overflow: visible; }
.elf-alternating-divider { position: absolute; bottom: 0; left: 10%; width: 80%; height: 44px; transform: translateY(50%); z-index: 25; pointer-events: none; }
.alternating-line { position: absolute; inset: 0; width: 100%; height: 44px; }
.alternating-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; }
.alternating-center > svg.lantern-suspended { width: 44px; height: 56px; }
.alternating-coffee { width: 52px; height: 52px; }
@media (max-width: 767px) {
 .elf-alternating-divider { left: 14%; width: 72%; height: 36px; }
 .alternating-line { height: 36px; }
 .alternating-center > svg.lantern-suspended { width: 34px; height: 44px; }
 .alternating-coffee { width: 42px; height: 42px; }
}

/* Bloque visual 8 — orden de cascada conservado. */
/* Tarjetas con crema cálido, verde bosque y cobre mate. */
#carta .item-carta { background: #FBF7ED; border: 1px solid #B8B69A; border-radius: 26px 14px 26px 14px; padding: 16px; box-shadow: 0 5px 16px #24483F08; }
#carta .item-carta > div:first-child > div:has(img) { border-radius: 18px 10px 18px 10px; border: 0; background: #E8DEC5; }
#carta .item-carta h3 { color: #24483F; font-size: 25px; line-height: 1.15; margin: 16px 0 8px; }
#carta .item-carta p { color: #635345; line-height: 1.65; }
#carta .item-carta > div:last-child { border-color: #CBBE9F; gap: 10px; flex-wrap: wrap; }
#carta .item-carta > div:last-child > span { color: #3E3025; font-size: 15px; }
#carta .item-carta button { background: #EAE5D3; border: 1px solid #B8B69A; color: #24483F; text-transform: none; letter-spacing: .01em; border-radius: 14px; }
#carta .item-carta button:hover { background: #24483F; border-color: #24483F; color: #F7F0DE; }
#compartir .md\:col-span-2:has(img) { background: #F2E5CD; border: 1px solid #C4A77A; border-radius: 32px 14px 32px 14px; box-shadow: 0 10px 24px #142A2426; }
#compartir .group:has(img) { background: #FBF7ED; border: 1px solid #C4B99D; border-radius: 24px 12px 24px 12px; box-shadow: 0 5px 16px #142A241A; }
#compartir h3 { color: #24483F; }
#compartir button { background: #A95032; color: #FCF9F2; border: 1px solid #A95032; border-radius: 14px; text-transform: none; letter-spacing: .01em; }
#compartir button:hover { background: #8D4026; }
#carta [data-elf-preview], #compartir [data-elf-preview], .galeria-item { cursor: zoom-in; }
#elf-lightbox { z-index: 110; padding: max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom)); background: #142A24ED; backdrop-filter: blur(14px); }
.elf-lightbox-panel { width: min(980px,100%); border: 1px solid #A28B6070; border-radius: 28px; background: #1B362F; padding: 16px; color: #F7F0DE; box-shadow: 0 24px 80px #0005; }
.elf-lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 4px 12px; }
.elf-lightbox-bar h2 { font: 400 25px/1.1 'EB Garamond',serif; }
.elf-lightbox-panel button { width: 48px; height: 48px; border: 1px solid #A28B6080; border-radius: 50%; background: #24483F; color: #F7F0DE; flex-shrink: 0; font: 26px/1 sans-serif; }
.elf-lightbox-panel button:hover { background: #635345; }
.elf-lightbox-panel button:focus-visible { outline: 2px solid #D1B886; outline-offset: 3px; }
.elf-lightbox-image-area { position: relative; border-radius: 16px; overflow: hidden; background: #142A24; }
#elf-lightbox-photo { width: 100%; height: clamp(100px,calc(100dvh - 250px),600px); object-fit: contain; touch-action: pan-y pinch-zoom; }
.elf-lightbox-footer { display: grid; grid-template-columns: 48px 1fr 48px; gap: 16px; align-items: center; padding-top: 14px; }
.elf-lightbox-caption { text-align: center; font-size: 12px; line-height: 1.5; color: #E1D8BD; }
#elf-lightbox-counter { display: block; color: #D1B886; margin-top: 4px; font-size: 11px; }
@media (max-width: 639px) {
 #carta .item-carta h3 { font-size: 24px; }
 .elf-lightbox-panel { padding: 12px; border-radius: 22px; }
 .elf-lightbox-bar h2 { font-size: 23px; }
 .elf-lightbox-footer { gap: 8px; }
 #elf-lightbox-photo { height: max(100px,calc(100dvh - 240px)); }
}
@media (hover:hover) { #carta .item-carta:hover { border-color: #A28B60; box-shadow: 0 8px 22px #24483F12; } }

/* Bloque visual 9 — orden de cascada conservado. */
/* Selección para compartir en cuadrícula uniforme y con filtros táctiles. */
.sharing-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 24px; }
#compartir .sharing-filters button { min-height: 48px; padding: 10px 18px; border: 1px solid #F7F0DE55; border-radius: 999px; background: transparent; color: #F7F0DE; font-size: 12px; }
#compartir .sharing-filters button[aria-pressed="true"] { background: #F7F0DE; color: #24483F; border-color: #F7F0DE; }
.sharing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: stretch; }
.sharing-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 26px 14px 26px 14px; background: #FBF7ED; color: #3E3025; border: 1px solid #C4B99D; }
.sharing-card[hidden] { display: none; }
.sharing-photo { aspect-ratio: 4/3; overflow: hidden; background: #E8DEC5; }
.sharing-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sharing-copy { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.sharing-category { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #8D4026; margin-bottom: 10px; }
.sharing-copy h3 { font: 400 26px/1.12 'EB Garamond',serif; margin-bottom: 10px; }
.sharing-copy p { color: #635345; font-size: 12px; line-height: 1.65; margin-bottom: 20px; }
.sharing-card-bottom { margin-top: auto; padding-top: 14px; border-top: 1px solid #CBBE9F; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.sharing-card-bottom strong { font-size: 14px; color: #3E3025; }
#compartir .sharing-card-bottom button { min-height: 48px; padding: 10px 14px; font-size: 11px; }
#visitanos { background-color: #E8EDDF; }
#visitanos .bg-forest > .material-symbols-outlined { color: #F7F0DE; }
#visitanos .bg-crema-card:has(form) { background: #FCF9F2; border-color: #B8B69A; }
#inicio > section:first-child .lantern-suspended { width: 44px; height: 56px; }
@media (min-width: 768px) and (max-width: 1100px) { .sharing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 767px) {
 .sharing-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
 .sharing-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
 #compartir .sharing-filters button { padding-inline: 10px; }
 #inicio > section:first-child .lantern-suspended { width: 34px; height: 44px; }
}

/* Bloque visual 10 — orden de cascada conservado. */
/* El primer separador utiliza exactamente el mismo componente que los demás. */
#inicio > section:first-child { overflow: visible; }

/* Bloque visual 11 — orden de cascada conservado. */
/* Un solo componente de tarjeta; las secciones cambian únicamente su paleta. */
#carta { --product-bg: #FBF7ED; --product-border: #B8B69A; --product-text: #24483F; --product-muted: #635345; --product-button: #24483F; --product-button-text: #F7F0DE; }
#compartir { --product-bg: #F2E5CD; --product-border: #C4A77A; --product-text: #24483F; --product-muted: #635345; --product-button: #A95032; --product-button-text: #FCF9F2; }
:is(#carta,#compartir) .elf-product-card { display: flex; flex-direction: column; min-width: 0; height: 100%; padding: 16px; border: 1px solid var(--product-border); border-radius: 26px 14px 26px 14px; overflow: hidden; background: var(--product-bg); color: var(--product-text); box-shadow: 0 5px 16px #142A2410; }
:is(#carta,#compartir) .elf-product-card[hidden] { display: none; }
:is(#carta,#compartir) .elf-product-photo { aspect-ratio: 4/3; flex-shrink: 0; border: 0; border-radius: 18px 10px 18px 10px; overflow: hidden; background: #E8DEC5; }
:is(#carta,#compartir) .elf-product-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
:is(#carta,#compartir) .elf-product-copy { display: flex; flex-direction: column; flex: 1; padding: 0; border: 0; gap: 0; }
:is(#carta,#compartir) .elf-product-copy h3 { font: 400 25px/1.15 'EB Garamond',serif; color: var(--product-text); margin: 16px 0 8px; }
:is(#carta,#compartir) .elf-product-copy p { color: var(--product-muted); font: 400 12px/1.65 'Plus Jakarta Sans',sans-serif; margin: 0 0 18px; }
:is(#carta,#compartir) .elf-product-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--product-border); }
:is(#carta,#compartir) .elf-product-bottom strong { font: 700 14px 'Plus Jakarta Sans',sans-serif; color: var(--product-text); }
:is(#carta,#compartir) .elf-product-bottom button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--product-button); border-radius: 14px; background: var(--product-button); color: var(--product-button-text); font: 600 11px 'Plus Jakarta Sans',sans-serif; text-transform: none; letter-spacing: .01em; }
:is(#carta,#compartir) .elf-product-bottom button:hover { filter: brightness(.92); }
:is(#carta,#compartir) .elf-product-bottom button:focus-visible { outline: 2px solid var(--product-text); outline-offset: 3px; }
@media (max-width: 639px) { :is(#carta,#compartir) .elf-product-copy h3 { font-size: 24px; } }

/* Bloque visual 12 — orden de cascada conservado. */
/* Atmósfera original y pasiva: niebla de fondo y pequeños destellos cálidos. */
.elf-interior-atmosphere { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; user-select: none; z-index: 0; contain: paint; }
.elf-mist { position: absolute; width: 140%; height: 130px; left: -20%; border-radius: 50%; background: radial-gradient(ellipse at center,#E4EAD8 0%,#E4EAD852 36%,#E4EAD800 72%); filter: blur(20px); opacity: .14; animation: elf-mist-drift 34s ease-in-out infinite alternate; }
.elf-mist-one { top: 12%; transform: rotate(-5deg); }
.elf-mist-two { bottom: 8%; animation-delay: -19s; animation-duration: 43s; opacity: .1; }
.elf-drifting-light { position: absolute; left: var(--light-x); top: var(--light-y); width: 3px; height: 3px; border-radius: 50%; background: #D6BB72; box-shadow: 0 0 5px 1px #D6BB7259; opacity: .3; animation: elf-light-drift var(--light-time,18s) ease-in-out var(--light-delay,0s) infinite; }
#compartir .elf-mist, #elf-closing .elf-mist { opacity: .2; }
#compartir .elf-drifting-light, #elf-closing .elf-drifting-light { background: #F1D994; box-shadow: 0 0 7px 1px #F1D99470; }
@keyframes elf-mist-drift { from { transform: translate3d(-3%,0,0) rotate(-4deg); } to { transform: translate3d(5%,12px,0) rotate(1deg); } }
@keyframes elf-light-drift { 0%,100% { transform: translate3d(0,0,0); opacity: .12; } 30% { transform: translate3d(10px,-18px,0); opacity: .65; } 65% { transform: translate3d(-8px,-32px,0); opacity: .25; } }
.elf-atmosphere-paused .elf-mist, .elf-atmosphere-paused .elf-drifting-light, .elf-page-hidden .elf-mist, .elf-page-hidden .elf-drifting-light { animation-play-state: paused; }
@media (max-width: 767px) { .elf-drifting-light:nth-of-type(n+4) { display: none; } .elf-mist { height: 100px; filter: blur(14px); } }
@media (prefers-reduced-motion: reduce) { .elf-interior-atmosphere { display: none; } }

/* Propiedades visuales trasladadas desde el HTML sin cambiar sus valores. */
:is(#elf-inline-priority, .elf-inline-01) { position:absolute;width:0;height:0;overflow:hidden }
:is(#elf-inline-priority, .elf-inline-02) { border-radius: 54% 46% 50% 50% / 48% 52%; }
:is(#elf-inline-priority, .elf-inline-03) { border-radius: 56% 44% 48% 52% / 46% 54%; box-shadow: rgba(22, 43, 37, 0.35) 0px 20px 40px -15px; }
:is(#elf-inline-priority, .elf-inline-04) { animation-delay: 0s; }
:is(#elf-inline-priority, .elf-inline-05) { animation-delay: 1.5s; }
:is(#elf-inline-priority, .elf-inline-06) { animation-delay: 0.8s; }
:is(#elf-inline-priority, .elf-inline-07) { animation-delay: 2.2s; }
:is(#elf-inline-priority, .elf-inline-08) { --light-x:14%;--light-y:23%;--light-delay:-1s;--light-time:14s }
:is(#elf-inline-priority, .elf-inline-09) { --light-x:4%;--light-y:19%;--light-delay:-4s;--light-time:17s }
:is(#elf-inline-priority, .elf-inline-10) { --light-x:79%;--light-y:76%;--light-delay:-7s;--light-time:20s }
:is(#elf-inline-priority, .elf-inline-11) { --light-x:23%;--light-y:68%;--light-delay:-10s;--light-time:23s }
:is(#elf-inline-priority, .elf-inline-12) { --light-x:8%;--light-y:51%;--light-delay:-13s;--light-time:26s }
:is(#elf-inline-priority, .elf-inline-13) { --light-x:17%;--light-y:23%;--light-delay:-2s;--light-time:14s }
:is(#elf-inline-priority, .elf-inline-14) { --light-x:7%;--light-y:19%;--light-delay:-5s;--light-time:17s }
:is(#elf-inline-priority, .elf-inline-15) { --light-x:82%;--light-y:76%;--light-delay:-8s;--light-time:20s }
:is(#elf-inline-priority, .elf-inline-16) { --light-x:26%;--light-y:68%;--light-delay:-11s;--light-time:23s }
:is(#elf-inline-priority, .elf-inline-17) { --light-x:11%;--light-y:51%;--light-delay:-14s;--light-time:26s }
:is(#elf-inline-priority, .elf-inline-18) { --light-x:20%;--light-y:23%;--light-delay:-3s;--light-time:14s }
:is(#elf-inline-priority, .elf-inline-19) { --light-x:10%;--light-y:19%;--light-delay:-6s;--light-time:17s }
:is(#elf-inline-priority, .elf-inline-20) { --light-x:85%;--light-y:76%;--light-delay:-9s;--light-time:20s }
:is(#elf-inline-priority, .elf-inline-21) { --light-x:29%;--light-y:68%;--light-delay:-12s;--light-time:23s }
:is(#elf-inline-priority, .elf-inline-22) { --light-x:14%;--light-y:51%;--light-delay:-15s;--light-time:26s }
:is(#elf-inline-priority, .elf-inline-23) { --light-x:23%;--light-y:23%;--light-delay:-4s;--light-time:14s }
:is(#elf-inline-priority, .elf-inline-24) { --light-x:13%;--light-y:19%;--light-delay:-7s;--light-time:17s }
:is(#elf-inline-priority, .elf-inline-25) { --light-x:88%;--light-y:76%;--light-delay:-10s;--light-time:20s }
:is(#elf-inline-priority, .elf-inline-26) { --light-x:32%;--light-y:68%;--light-delay:-13s;--light-time:23s }
:is(#elf-inline-priority, .elf-inline-27) { --light-x:17%;--light-y:51%;--light-delay:-16s;--light-time:26s }
:is(#elf-inline-priority, .elf-inline-28) { --light-x:26%;--light-y:23%;--light-delay:-5s;--light-time:14s }
:is(#elf-inline-priority, .elf-inline-29) { --light-x:16%;--light-y:19%;--light-delay:-8s;--light-time:17s }
:is(#elf-inline-priority, .elf-inline-30) { --light-x:91%;--light-y:76%;--light-delay:-11s;--light-time:20s }
:is(#elf-inline-priority, .elf-inline-31) { --light-x:35%;--light-y:68%;--light-delay:-14s;--light-time:23s }
:is(#elf-inline-priority, .elf-inline-32) { --light-x:20%;--light-y:51%;--light-delay:-17s;--light-time:26s }
:is(#elf-inline-priority, .elf-inline-33) { --light-x:29%;--light-y:23%;--light-delay:-6s;--light-time:14s }
:is(#elf-inline-priority, .elf-inline-34) { --light-x:19%;--light-y:19%;--light-delay:-9s;--light-time:17s }
:is(#elf-inline-priority, .elf-inline-35) { --light-x:4%;--light-y:76%;--light-delay:-12s;--light-time:20s }
:is(#elf-inline-priority, .elf-inline-36) { --light-x:38%;--light-y:68%;--light-delay:-15s;--light-time:23s }
:is(#elf-inline-priority, .elf-inline-37) { --light-x:23%;--light-y:51%;--light-delay:-18s;--light-time:26s }
:is(#elf-inline-priority, .elf-inline-38) { --light-x:32%;--light-y:23%;--light-delay:-7s;--light-time:14s }
:is(#elf-inline-priority, .elf-inline-39) { --light-x:22%;--light-y:19%;--light-delay:-10s;--light-time:17s }
:is(#elf-inline-priority, .elf-inline-40) { --light-x:7%;--light-y:76%;--light-delay:-13s;--light-time:20s }
:is(#elf-inline-priority, .elf-inline-41) { --light-x:41%;--light-y:68%;--light-delay:-16s;--light-time:23s }
:is(#elf-inline-priority, .elf-inline-42) { --light-x:26%;--light-y:51%;--light-delay:-19s;--light-time:26s }
:is(#elf-inline-priority, .elf-inline-43) { --light-x:72%;--light-y:40%;--light-delay:-5s;--light-time:21s }
:is(#elf-inline-priority, .elf-inline-44) { --light-x:32%;--light-y:65%;--light-delay:-12s;--light-time:18s }

/* Portada compacta para móvil/tablet: sin alturas mínimas heredadas de escritorio. */
@media (max-width: 1023px) {
 #inicio > section:first-child { min-height: 0; padding-top: calc(24px + env(safe-area-inset-top, 0px)); padding-bottom: 80px; }
 .elf-hero-layout { padding: 0 24px 0 48px; }
 .elf-hero-grid { min-height: 0; gap: 12px; }
 .elf-hero-intro { padding: 0; }
 .elf-hero-intro > .inline-flex { margin-bottom: 12px; padding: 5px 12px; }
 #inicio > section:first-child h1 { font-size: clamp(2rem,7.5vw,2.7rem); line-height: 1.05; margin-bottom: 12px; }
 .elf-hero-intro > p { font-size: 14px; line-height: 1.5; margin-bottom: 16px; }
 .elf-hero-intro > .flex.flex-wrap { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; width: 100%; margin-bottom: 12px; }
 .elf-hero-intro > .flex.flex-wrap > a, .elf-hero-intro > .flex.flex-wrap > button { padding: 10px 8px; min-height: 48px; font-size: 10px; letter-spacing: .035em; }
 .elf-hero-intro > .flex:last-child { font-size: 10px; line-height: 1.5; }
 #hero-showcase-container { height: clamp(235px,67vw,300px); animation: none; }
 #hero-slider-frame { width: min(68vw,280px); }
 .elf-hero-controls { bottom: 16px; right: 20px; gap: 6px; padding: 3px; }
 #hero-slide-prev, #hero-slide-next { width: 48px; height: 48px; }
 #hero-showcase-container > div[aria-hidden="true"] { max-height: 100%; }
 .filtro-btn, .galeria-tab, .refugio-tab { touch-action: manipulation; }
}
@media (min-width: 700px) and (max-width: 1023px) {
 .elf-hero-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; }
 .elf-hero-intro, .elf-hero-media { grid-column: auto; }
 .elf-hero-layout { padding: 20px 36px 12px 64px; }
 #inicio > section:first-child h1 { font-size: clamp(2.3rem,4.5vw,3.2rem); }
 #hero-showcase-container { height: 340px; }
 #hero-slider-frame { width: min(34vw,320px); }
 .elf-hero-intro > .flex.flex-wrap { grid-template-columns: minmax(0,1fr); }
 .elf-hero-controls { right: 36px; }
}
@media (max-width: 359px) {
 .elf-hero-layout { padding-left: 36px; padding-right: 18px; }
 #inicio > section:first-child h1 { font-size: 1.95rem; }
 .elf-hero-intro > .flex.flex-wrap > a, .elf-hero-intro > .flex.flex-wrap > button { font-size: 9px; }
 #hero-showcase-container { height: 225px; }
}
@media (max-height: 540px) and (min-width: 550px) and (max-width: 1023px) {
 .elf-hero-grid { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 20px; }
 .elf-hero-intro, .elf-hero-media { grid-column: auto; }
 #inicio > section:first-child h1 { font-size: 2rem; }
 #hero-showcase-container { height: 240px; }
 #hero-slider-frame { width: 220px; }
 .elf-hero-layout { padding-top: 0; padding-bottom: 0; }
}

/* Fichas breves: sin scroll interno ni bloques de información secundarios. */
#modal-plato.elf-brief-modal, #modal-dulce.elf-brief-modal { display: flex; align-items: center; justify-content: center; padding: max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom)); overflow: hidden; }
#modal-plato.hidden, #modal-dulce.hidden { display: none; }
#modal-plato > .elf-brief-product { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; width: min(740px,100%); max-width: 740px; max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); padding: 0; border-radius: 24px; overflow: hidden; background: #F7F0DE; border: 1px solid #A28B6066; }
.elf-brief-photo { min-height: 0; background: #E8DEC5; }
.elf-brief-photo img { width: 100%; height: 100%; object-fit: cover; }
.elf-brief-copy { padding: 48px 24px 20px; min-width: 0; }
.elf-brief-label { display: block; color: #635345; font: 600 10px/1.4 'Plus Jakarta Sans',sans-serif; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; padding-right: 30px; }
.elf-brief-copy h3, .elf-brief-sweet h3 { color: #24483F; font: 400 28px/1.1 'EB Garamond',serif; margin: 0 0 10px; }
#modal-plato-precio, .elf-brief-bottom > strong { color: #A95032; font-size: 16px; }
.elf-brief-copy > p, .elf-brief-sweet > p { color: #3E3025; font-size: 13px; line-height: 1.5; margin: 12px 0; }
.elf-brief-allergens { padding: 10px 0; border-top: 1px solid #A28B6040; font-size: 11px !important; }
.elf-brief-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.elf-brief-bottom button { min-height: 48px; padding: 10px 20px; border-radius: 14px; background: #24483F; color: #F7F0DE; font-size: 12px; }
#modal-plato .elf-brief-close, #modal-dulce .elf-brief-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; z-index: 5; border-radius: 50%; background: #F7F0DE; color: #24483F; border: 1px solid #A28B6055; font: 28px/1 sans-serif; }
#modal-dulce > .elf-brief-sweet { position: relative; width: min(450px,100%); padding: 48px 24px 24px; border-radius: 24px; border: 1px solid #A28B6066; background: #F7F0DE; }
@media (max-width: 599px) and (min-height: 540px) {
 #modal-plato > .elf-brief-product { display: flex; flex-direction: column; max-width: 420px; }
 .elf-brief-photo { height: 115px; flex: 0 0 115px; }
 .elf-brief-copy { padding: 16px 20px; }
 .elf-brief-copy h3 { font-size: 25px; }
 .elf-brief-label { margin-bottom: 5px; }
}
@media (max-height: 539px) {
 #modal-plato > .elf-brief-product { grid-template-columns: .65fr 1.35fr; }
 .elf-brief-copy { padding: 16px 48px 14px 18px; }
 .elf-brief-copy h3, .elf-brief-sweet h3 { font-size: 23px; margin-bottom: 6px; }
 .elf-brief-copy > p, .elf-brief-sweet > p { margin: 8px 0; font-size: 12px; }
 .elf-brief-allergens { padding: 6px 0; }
 .elf-brief-bottom { margin-top: 8px; }
}
