/* Adaptación del flujo existente al tema original. Sin cambios de estados ni navegación. */
body.tema-ofrenda{
 --r85-header-height:clamp(78px,20vw,96px);
 --r85-logo-slot:clamp(54px,17vw,74px);
 --r85-paper:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23835532' opacity='.075' filter='url(%23p?v=r87.1)' d='M0 0h160v160H0z'/%3E%3C/svg%3E"),linear-gradient(110deg,#fff7e6,#f3e3c5);
}

/* Se usan las escenas y su cambio patio/mesa del tema original. */
body.tema-ofrenda.r69-selector,body.tema-ofrenda.r68-categories-view{background:#201624!important}
body.tema-ofrenda.r69-selector::before,body.tema-ofrenda.r68-categories-view::before,
body.tema-ofrenda .r66-main::before{content:none!important}
body.tema-ofrenda.r69-selector>.of-scenery,body.tema-ofrenda.r68-categories-view>.of-scenery,
body.tema-ofrenda .test-gate.r66-entry>.of-scenery{display:block!important}
body.tema-ofrenda.r71-app .test-gate,body.tema-ofrenda.r71-app .local-checkout{background:transparent!important}

/* El mismo encabezado en entrada, catálogo, carrito, datos y recibo. */
body.tema-ofrenda.r70-app{padding-top:var(--r85-header-height)!important}
body.tema-ofrenda.r70-app>header,
body.tema-ofrenda.r71-app :is(.test-gate,.local-checkout) .pedido-stage-header{
 height:var(--r85-header-height)!important;min-height:0!important;padding:0!important;
 background:linear-gradient(100deg,#25191bf5,#3d2024f5)!important;
 border-bottom:1px solid #e9c77d!important;box-shadow:0 5px 24px #0004!important;
}
body.tema-ofrenda.r70-app>header .header-inner,
body.tema-ofrenda.r71-app :is(.test-gate,.local-checkout) .pedido-stage-header .header-inner{
 width:min(calc(100% - 24px),960px)!important;height:100%!important;min-height:0!important;
 padding:8px 0!important;grid-template-columns:var(--r85-logo-slot) minmax(0,1fr) var(--r85-logo-slot)!important;
}
body.tema-ofrenda.r70-app>header .header-inner::after,
body.tema-ofrenda.r71-app :is(.test-gate,.local-checkout) .pedido-stage-header .header-inner::after{width:var(--r85-logo-slot)!important}
body.tema-ofrenda.r70-app>header .logo,
body.tema-ofrenda.r71-app :is(.test-gate,.local-checkout) .pedido-stage-header .logo{
 width:var(--r85-logo-slot)!important;max-height:70px!important;height:auto!important;object-fit:contain!important;
 filter:drop-shadow(0 1px 2px #0008)!important;
}
body.tema-ofrenda.r70-app>header .hero-title,
body.tema-ofrenda.r71-app :is(.test-gate,.local-checkout) .pedido-stage-header .hero-title{
 font-size:clamp(22px,6.5vw,40px)!important;line-height:1.1!important;color:#fff5d9!important;
 text-shadow:0 2px 7px #0005!important;
}

/* Papel cálido en las superficies nuevas; las fotografías no se alteran. */
body.tema-ofrenda .r66-entry .r66-card,
body.tema-ofrenda.r71-app .r69-step,
body.tema-ofrenda.r71-app #cartModal .order-item,
body.tema-ofrenda.r71-app .local-checkout .r65-done,
body.tema-ofrenda.r71-app .local-checkout .field-block.r71-question,
body.tema-ofrenda.r71-app .local-checkout .lc-success,
body.tema-ofrenda.r71-app .test-gate:not(.r66-entry) .test-gate-card{
 background-color:#fbefd9!important;background-image:var(--r85-paper)!important;
 border-color:#d5b98b!important;box-shadow:0 3px 14px #1c0f2326!important;
}
body.tema-ofrenda .r66-entry .r66-card{border:1px solid #d5b98b}
body.tema-ofrenda.r71-app .r69-step.r69-open,
body.tema-ofrenda.r71-app .local-checkout .field-block.r71-question{border-color:#e6cc80!important}
body.tema-ofrenda.r71-app #categoryStartPage .category-start-btn,
body.tema-ofrenda .r69-photo-card:not(.r70-confirmed):not(.active):not([aria-pressed=true]),
body.tema-ofrenda .r69-fixed-card:not(.r70-confirmed):not(.active):not([aria-pressed=true]){
 background:#fff7e7!important;border-color:#dfbf86;
}
body.tema-ofrenda.r70-app .r69-photo-card.r70-confirmed,
body.tema-ofrenda.r70-app .r69-fixed-card.r70-confirmed{background:#cd1c2c!important;color:white!important;border-color:#cd1c2c!important}
body.tema-ofrenda .r69-pizza-tabs{background:#fff4e0fa;border-radius:12px}
body.tema-ofrenda .r69-pizza-tabs button:not([aria-current=true]){background:#fff7e7;border-color:#dfbf86;color:#49213d}
body.tema-ofrenda.r71-app #cartModal.r70-cart-long .drawer-foot{background:#fff4e0fa!important;border-top-color:#d4b272!important}
body.tema-ofrenda.r69-selector .r68-after-add{background:#fff4e0ed}
body.tema-ofrenda.r70-app #r68ChangeDelivery{background:#fff7e7!important;border-color:#d5b98b!important}
body.tema-ofrenda #r70DeliveryMenu{background:#fff7e7;border-color:#d5b98b}
body.tema-ofrenda #r70DeliveryMenu>[data-delivery]{background:#fff7e7}
body.tema-ofrenda #r70DeliveryMenu>[data-delivery][aria-checked=true]{background:#f4e2bc}
body.tema-ofrenda .r71-scroll-hint{background:#fff7e7;border-color:#d5b98b}
body.tema-ofrenda .local-checkout .r65-done button{background:transparent}
body.tema-ofrenda .local-checkout .lc-reference-example{background:transparent!important}

/* Títulos y regreso legibles sobre las escenas, sin volver a crear ventanas. */
body.tema-ofrenda.r71-app #r68CategoryTitle,
body.tema-ofrenda.r70-app #panelTitle,
body.tema-ofrenda.r71-app #cartModal .drawer-head h3,
body.tema-ofrenda.r71-app #cartModal #r70KeepShopping{
 color:#fff5d9!important;text-shadow:0 2px 7px #160a20,0 1px 3px #160a20;
}
body.tema-ofrenda.r70-app .r68-categories-back{background:#fff7e7}

/* El total negro y las animaciones compartidas de 1.5 s se conservan en r83/r72. */
