/* Tlapa, seasonal presentation. One body class leaves the ordinary checkout intact. */
body.tema-ofrenda,body.tema-ofrenda *{font-family:'Baloo 2',Arial,sans-serif!important}
body.tema-ofrenda{font-weight:500;line-height:1.45}
body.tema-ofrenda{--cream:#fbf0dc;--line:#d8b87d;--of-paper:#fbefd8;background:#201624!important;isolation:isolate}
.of-scenery{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background:#191323}
body.tema-ofrenda:has(.test-gate)>.of-scenery,body.tema-ofrenda:has(.local-checkout:not([hidden]))>.of-scenery{visibility:hidden}
.of-scene-layer{position:absolute;inset:-12px;background-size:cover;background-position:center 58%;transition:opacity 1.2s ease,transform 1.8s ease;transform:scale(1.025)}
.of-patio{background-image:url('/assets/produccion-r87/ofrenda-r37/patio.webp?v=r87.1')}.of-mesa{background-image:url('/assets/produccion-r87/ofrenda-r37/mesa.webp?v=r87.1');opacity:0;transform:scale(1.07)}
body[data-of-phase=mesa] .of-mesa{opacity:1;transform:scale(1.025)}
body[data-of-phase=mesa] .of-patio{opacity:0}
.of-scene-shade{position:absolute;inset:0;background:linear-gradient(180deg,#160d2938,#1c102718 44%,#160a174a)}
body.tema-ofrenda .test-gate,body.tema-ofrenda .local-checkout{background:transparent!important;isolation:isolate}
body.tema-ofrenda>header,body.tema-ofrenda .pedido-stage-header{background:linear-gradient(100deg,#25191bf5,#3d2024f5)!important;border-bottom:1px solid #e9c77d!important;box-shadow:0 5px 24px #0004!important;backdrop-filter:blur(10px)}
body.tema-ofrenda .hero-title,body.tema-ofrenda .hero-title span{color:#fff5d9!important;text-shadow:0 2px 7px #0005}
body.tema-ofrenda header .logo{filter:drop-shadow(0 1px 2px #0008)}
.of-header-note{position:relative;color:#fbefd6;padding:3px 16px 6px;overflow:hidden}
.of-header-links{max-width:620px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:18px}
.of-header-note button{display:flex;align-items:center;gap:8px;background:transparent;border:0;color:#ffedc9;font:700 12px/1.2 Montserrat,Arial,sans-serif;min-height:38px;padding:2px 0;cursor:pointer}
.of-header-note .of-lantern{width:25px;height:33px}
.of-bunting{position:absolute;top:-4px;right:10px;display:flex;gap:7px;transform:rotate(-4deg);opacity:.2;pointer-events:none}
.of-bunting i{display:block;width:23px;height:24px;background:#c381aa;clip-path:polygon(0 0,100% 0,100% 80%,90% 100%,75% 84%,60% 100%,45% 84%,30% 100%,15% 84%,0 100%);transform-origin:top center;animation:of-paper-sway 4s ease-in-out infinite}
.of-bunting i:nth-child(2n){background:#f6d18d;animation-delay:-1.8s}.of-bunting i:nth-child(3n){background:#e5934a;animation-delay:-2.7s}
.of-journey{position:relative;width:130px;display:flex;align-items:center;justify-content:space-between}
.of-journey::before{content:'';position:absolute;left:6px;right:6px;height:1px;background:#c7965066;top:50%;transform:rotate(-4deg)}
.of-journey i{position:relative;width:10px;height:14px;border-radius:80% 22% 70% 30%;background:#845f4d;transform:rotate(38deg);box-shadow:0 0 0 transparent;transition:background .5s,box-shadow .5s}
.of-journey i:first-child,body[data-of-stage=productos] .of-journey i:nth-child(-n+2),body[data-of-phase=mesa] .of-journey i:nth-child(-n+3),body[data-of-stage=nombre] .of-journey i,body[data-of-stage=recibido] .of-journey i{background:#ffd568;box-shadow:0 0 12px #ffa84465}
.of-entry-scene{position:relative;min-height:clamp(225px,34svh,330px);width:min(100% - 40px,520px);margin:0 auto;display:flex;flex-direction:column;justify-content:center;padding:28px 12px 20px;text-align:center;color:#fff4d8;text-shadow:0 2px 15px #160916,0 1px 4px #000}
.of-entry-caption{font:700 10px/1.5 Montserrat,Arial,sans-serif;letter-spacing:2px;color:#ffe2ad}
.of-entry-scene>.of-bunting{top:5px;left:10px;right:10px;justify-content:center;opacity:.7}.of-entry-scene>.of-bunting i{width:28px;height:28px}
.of-entry-scene h2{font:800 clamp(34px,7vw,45px)/.99 'Baloo 2',sans-serif;margin:10px 0 12px}
.of-entry-scene p{font:500 12px/1.5 Montserrat,Arial,sans-serif;margin:0}
.of-entry-light{position:absolute;width:120px;height:70px;border-radius:50%;background:#ffc96826;filter:blur(24px);left:calc(50% - 60px);bottom:0;pointer-events:none;animation:of-warm-light 4s ease-in-out infinite}
body.tema-ofrenda .test-gate:has([data-action=home]) .of-header-note{display:none}
body.tema-ofrenda .test-gate-card,body.tema-ofrenda .local-checkout .field-block,body.tema-ofrenda .local-checkout .lc-success,
body.tema-ofrenda .panel-card,body.tema-ofrenda .modal-card,body.tema-ofrenda .upsell-card,body.tema-ofrenda .category-start-card{background:linear-gradient(135deg,#fff7e6f7,#f7e8cbfc)!important;border:1px solid #d5ae67!important;box-shadow:0 10px 30px #130b1940,inset 0 0 25px #9e682609!important;border-radius:16px}
body.tema-ofrenda .test-gate-card:has([data-action="home"]){margin:0 auto 24px;padding:20px 22px 14px;border-radius:15px;position:relative;overflow:visible}
body.tema-ofrenda .test-gate-card:has([data-action="home"])::before{content:'';position:absolute;left:8px;right:8px;top:-5px;height:6px;background:#fff6e4;clip-path:polygon(0 65%,3% 0,6% 60%,10% 20%,15% 70%,22% 0,28% 55%,35% 20%,40% 80%,49% 0,54% 65%,61% 20%,66% 80%,75% 20%,81% 60%,89% 0,94% 70%,100% 20%,100% 100%,0 100%)}
body.tema-ofrenda .test-gate-card:has([data-action="home"])>h2{font-size:23px;color:#342133;margin:0 0 12px}
body.tema-ofrenda .test-gate-card:has([data-action="home"]) #customer-actions button{min-height:55px;font-size:19px;margin-top:10px;border-radius:13px}
body.tema-ofrenda .test-gate-card:has([data-action="home"]) #customer-actions [data-action=home]{box-shadow:0 5px 12px #a41c2b20}
body.tema-ofrenda .test-gate-card .of-visit{display:flex;align-items:center;gap:12px;width:100%;background:#eee0cb;border:1px solid #d6bd95;border-radius:12px;color:#40243a;box-shadow:none;font:800 17px/1.15 'Baloo 2',sans-serif;margin:16px 0 0;padding:9px 14px;text-align:left;min-height:64px}
.of-visit small{display:block;font:500 10px/1.5 Montserrat,Arial,sans-serif;margin-top:4px;color:#766251}.of-visit b{margin-left:auto;font-size:28px;color:#9d2b40}
.of-visit .of-lantern{width:40px;height:48px;flex:0 0 40px}
body.tema-ofrenda .test-gate-card:not(:has([data-action="home"])){margin-top:24px}
body.tema-ofrenda .local-checkout .field-block.guided-next{border:2px solid #b72338!important;box-shadow:0 0 0 3px #ffd56d55,0 8px 30px #0003!important}
body.tema-ofrenda .local-checkout .lc-back{color:#fff1ce;text-shadow:0 2px 6px #0009}
body.tema-ofrenda .lc-total-simple{background:#fff0cfeF!important;border:1px solid #d3a353!important;box-shadow:0 5px 18px #0002}
body.tema-ofrenda .category-grid .cat-btn{background:#fff2d8;border-color:#d3b272;box-shadow:0 3px 14px #180a1933}
body.tema-ofrenda .category-grid .cat-btn.active{background:#3a1c31;color:#ffe8aa;border-color:#d4a54e}
body.tema-ofrenda .category-nav-shell{background:transparent!important;box-shadow:none!important;border:0!important}
body.tema-ofrenda .field-block .radio-card,body.tema-ofrenda .product-card,body.tema-ofrenda .catalogo-choice,body.tema-ofrenda .catalogo-promo-card{background:#fffaf0;border-color:#e5cda9}
body.tema-ofrenda .field-block .radio-card.active{background:#ffefd7;border-color:#c32a35}
body.tema-ofrenda .category-start-modal .category-start-btn{background:#fff7e7;border-color:#dfbf86}
body.tema-ofrenda .category-start-head,body.tema-ofrenda .upsell-head{background:#5b2338!important;color:#fff4d6!important;border-color:#d8ad59!important}
body.tema-ofrenda .category-start-head h2,body.tema-ofrenda .upsell-head h3{color:#fff4d6!important}
body.tema-ofrenda .drawer-panel,body.tema-ofrenda .drawer-body,body.tema-ofrenda .drawer-foot,body.tema-ofrenda .bottom-bar{background:#fff4e0fa!important;border-color:#d4b272!important}
body.tema-ofrenda .notice-card{background:#fff3d7;border:1px solid #d8ac63}
.of-flying-petal{position:fixed;width:9px;height:14px;border-radius:85% 15% 75% 25%;background:#ffd15b;box-shadow:0 0 9px #ffba4455;pointer-events:none;z-index:2147483000}
.of-flying-petal:nth-child(2n){background:#ed9d28}
.of-lantern{display:inline-flex;width:44px;height:60px;flex:0 0 auto;filter:drop-shadow(0 4px 4px #24101450)}
.of-lantern svg{width:100%;height:100%;overflow:visible}.of-fire,.of-cut,.of-light{opacity:.13;transition:opacity .8s}
.of-lantern.is-lit .of-cut,.of-lantern.is-lit .of-light{opacity:1;filter:drop-shadow(0 0 3px #ffc44d)}
.of-lantern.is-lit .of-fire{opacity:1;transform-origin:32px 28px;filter:drop-shadow(0 0 5px #ffb44d);animation:of-flame 3s ease-in-out infinite}
.of-dialog{box-sizing:border-box;width:min(820px,calc(100% - 24px));max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid #d9b679;border-radius:16px;background:#281626;color:#392136;box-shadow:0 25px 100px #0008;font-family:Montserrat,Arial,sans-serif;overscroll-behavior:contain}
.of-dialog::backdrop{background:#130c21bb;backdrop-filter:blur(5px)}
.of-dialog *{box-sizing:border-box}.of-dialog [hidden]{display:none!important}
.of-dialog-head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 12px 6px 18px;background:#2a1827f5;border-bottom:1px solid #bb9159;color:#f7e6c5;z-index:3;min-height:44px}
.of-dialog-head>span{font:600 10px/1.4 Montserrat,Arial,sans-serif;letter-spacing:.3px}
.of-close{display:grid;place-content:center;background:#fff0d7;color:#54233e;border:1px solid #e6c68a;width:32px;height:32px;border-radius:50%;font:500 25px/1 Arial;cursor:pointer}
.of-altar-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr);align-items:stretch}
.of-altar-scene{position:relative;width:100%;aspect-ratio:2/3;overflow:hidden;background:#211528}
.of-altar-image{display:block;width:100%;height:100%;object-fit:cover}
.of-altar-heading{position:absolute;left:8%;right:8%;top:6%;text-align:center;color:#fff0ce;text-shadow:0 2px 10px #130c24}
.of-altar-heading>span{font:700 9px/1.4 Montserrat,Arial,sans-serif;letter-spacing:2px;color:#ffde9c}
.of-dialog .of-altar-heading h2{font:800 clamp(25px,4vw,37px)/1.02 'Baloo 2',sans-serif;color:#fff0ce;margin:10px 0 0}
.of-altar-controls{display:flex;flex-direction:column;justify-content:center;padding:30px 26px;background:linear-gradient(110deg,#fff3d9,#f5e1bd);border-left:1px solid #bf8f4c;gap:10px}
.of-story-intro{text-align:center;margin-bottom:20px}.of-story-intro>.of-lantern{height:90px;width:65px;margin-bottom:10px}
.of-story-intro h3{font:800 27px/1.15 'Baloo 2',sans-serif;margin:0 0 14px;color:#42203a}
.of-story-intro p{font:400 13px/1.7 Montserrat,Arial,sans-serif;color:#785a51;margin:0}
.of-primary{display:flex;align-items:center;justify-content:center;width:100%;padding:15px 12px;min-height:52px;background:linear-gradient(100deg,#ed1124,#bc091b);color:#fff;border:1px solid #b82731;border-radius:13px;box-shadow:0 5px 14px #a0142924;font:800 20px/1.15 'Baloo 2',sans-serif;cursor:pointer}
.of-book-button{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;background:transparent;border:0;border-bottom:1px solid #d2b58d;color:#4c2941;font:700 12px/1.4 Montserrat,Arial,sans-serif;text-align:left;cursor:pointer}
.of-book-button span{font-size:24px;line-height:1}.of-return{display:block;width:100%;padding:12px 4px;min-height:40px;border:0;background:transparent;color:#673748;font:600 12px/1.4 Montserrat,Arial,sans-serif;text-align:center;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.of-primary:disabled{opacity:.6;cursor:wait}
.of-hotspot{position:absolute;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff2cce8;color:#7d4129;border:1px solid #fff0ba;box-shadow:0 0 0 4px #ffc55c33,0 3px 12px #0005;transform:translate(-50%,-50%);cursor:pointer;font:500 25px/1 Arial;animation:of-hotspot-light 3s ease-in-out infinite}
.of-hotspot-pan{left:25%;top:58%}.of-hotspot-flores{left:75%;top:51%}.of-hotspot-copal{left:85%;top:68%}
.of-hotspot:hover,.of-hotspot:focus-visible{background:#fff8dd;box-shadow:0 0 0 6px #ffd56777;animation:none}
.of-scene-candles{position:absolute;left:10%;right:10%;top:80%;display:flex;justify-content:center;gap:2%;align-items:flex-end}
.of-scene-memory{position:relative;display:grid;place-items:center;width:15%;max-width:55px;min-height:58px;background:transparent;border:0;padding:0;cursor:pointer;border-radius:12px;transition:background .2s,transform .2s}
.of-scene-memory .of-lantern{width:100%;height:auto;max-height:72px}.of-scene-memory:hover,.of-scene-memory[aria-pressed=true]{background:#ffd88722;transform:translateY(-5px);box-shadow:0 0 16px #ffc65c33}
.of-scene-hint{position:absolute;left:5%;right:5%;bottom:3%;text-align:center;color:#fff3d3;text-shadow:0 2px 5px #000;font:500 11px/1.5 Montserrat,Arial,sans-serif;margin:0}
.of-story-bubble{position:absolute;left:8%;right:8%;top:28%;padding:22px 20px 18px;background:#fff1d6;border:1px solid #d4a668;border-radius:14px 14px 14px 3px;box-shadow:0 8px 25px #140b224d;z-index:2;text-align:center}
.of-story-bubble::after{content:'';position:absolute;border:8px solid transparent;border-top-color:#fff1d6;bottom:-16px;left:calc(50% - 8px)}
.of-story-bubble strong{display:block;color:#7a354b;font:800 18px/1.2 'Baloo 2',sans-serif;margin-bottom:10px}
.of-story-bubble p{font:500 17px/1.55 Georgia,serif;color:#452a32;margin:0;overflow-wrap:anywhere;max-height:150px;overflow-y:auto}
.of-bubble-close{position:absolute;top:3px;right:6px;width:27px;height:27px;background:transparent;color:#784052;font-size:21px;border:0;cursor:pointer}
.of-view-form,.of-view-thanks,.of-view-book{width:min(560px,calc(100% - 24px));background:#f9e8c9}
.of-view-form .of-dialog-content,.of-view-thanks .of-dialog-content,.of-view-book .of-dialog-content{background:linear-gradient(#fbefd8eF,#f5e3c5f7),url('/assets/produccion-r87/ofrenda-r37/patio.webp?v=r87.1') center/cover}
.of-paper-sheet{padding:30px 28px 18px;text-align:center}
.of-eyebrow{display:block;color:#926341;font:700 9px/1.5 Montserrat,Arial,sans-serif;letter-spacing:1.6px}
.of-paper-sheet h2{font:800 34px/1.05 'Baloo 2',sans-serif;color:#46263e;margin:12px 0}
.of-lead{font-size:13px;line-height:1.6;color:#806151;margin:0}
.of-form-lantern{display:flex;justify-content:center;align-items:center;height:100px;margin:5px 0}.of-form-lantern .of-lantern{width:70px;height:98px}
#ofForm{text-align:left}#ofForm label{font-size:13px;font-weight:700;color:#533946}#ofForm label span{font-weight:400;font-size:11px;color:#8c7169}
.of-example{font-size:11px;line-height:1.6;color:#8b6b5b;margin:8px 0}
#ofText{display:block;width:100%;border:1px solid #c7a982;border-radius:10px;background:#fffcf5;padding:12px;font:400 16px/1.6 Montserrat,Arial,sans-serif;min-height:95px;resize:vertical;color:#3f2938}
.of-form-meta{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#8c6e60;line-height:1.5;margin:8px 0 20px}.of-form-meta small{font-size:10px}
.of-thanks .of-form-lantern{height:160px}.of-thanks .of-lantern{width:95px;height:135px;animation:of-lantern-arrival 1s ease-out both}
.of-thanks>p{font:400 14px/1.7 Montserrat,Arial,sans-serif;color:#80624f;margin:16px 0 26px}
.of-error{background:#fff1ec;color:#a22732;padding:12px;border-radius:8px;font:500 13px/1.6 Montserrat,Arial,sans-serif}
.of-book-year{display:flex;justify-content:center;align-items:center;gap:10px;margin:20px 0;font-size:12px;color:#806052}.of-book-year select{background:#fff8e8;border:1px solid #c6a376;border-radius:8px;padding:8px;color:#56374a;font:600 12px Montserrat,Arial,sans-serif}
.of-book-list{display:grid;gap:14px;margin:20px 0}.of-book-list blockquote{display:flex;align-items:center;gap:16px;margin:0;padding:16px;border-radius:12px;background:#fffaeee0;border:1px solid #e2c999;text-align:left}.of-book-list blockquote .of-lantern{width:32px;height:49px}.of-book-list blockquote p{font:400 17px/1.6 Georgia,serif;overflow-wrap:anywhere;margin:0;color:#533445}
.of-empty{padding:28px 10px;font:400 15px/1.7 Georgia,serif;color:#86634f}.of-book-pages{display:flex;gap:10px;justify-content:center;margin:20px 0}.of-book-pages button{background:#fff3d8;border:1px solid #c5a06d;border-radius:8px;padding:10px;color:#683849;font:600 12px Montserrat,Arial,sans-serif;cursor:pointer}
.of-loading{color:#fce9c2;font:700 15px/1.7 Montserrat,Arial,sans-serif;text-align:center;padding:70px 20px}.of-view-book .of-loading{color:#63404c}
.of-dialog button:focus-visible,.of-dialog textarea:focus-visible,.of-header-note button:focus-visible,.of-visit:focus-visible{outline:3px solid #ffc852;outline-offset:3px}
@keyframes of-paper-sway{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(4deg)}}
@keyframes of-flame{0%,100%{transform:scale(.97,1) rotate(-4deg)}50%{transform:scale(1.04,.92) rotate(4deg)}}
@keyframes of-hotspot-light{0%,100%{box-shadow:0 0 0 3px #ffc55c22,0 3px 12px #0005}50%{box-shadow:0 0 0 7px #ffc55c44,0 3px 12px #0005}}
@keyframes of-warm-light{0%,100%{opacity:.5;transform:scale(.85)}50%{opacity:1;transform:scale(1.15)}}
@keyframes of-lantern-arrival{from{opacity:.2;filter:drop-shadow(0 0 0 #ffc85200);transform:scale(.9)}to{opacity:1;filter:drop-shadow(0 0 20px #ffc85266);transform:scale(1)}}
@media(min-width:800px){.of-scenery{background:#171121}.of-scene-layer{background-size:auto 125%;background-repeat:no-repeat;background-color:#201528}.of-scene-shade{background:linear-gradient(90deg,#170c20bb,transparent 30%,transparent 70%,#170c20bb)}body.tema-ofrenda main{margin-top:22px}.of-entry-scene{min-height:280px}.of-entry-scene h2{font-size:47px}}
@media(max-width:640px){.of-altar-layout{display:block}.of-dialog.of-view-altar{width:min(420px,calc(100% - 16px));max-height:calc(100dvh - 16px)}.of-altar-scene{aspect-ratio:2/3}.of-altar-controls{padding:12px 20px 8px;border-left:0;border-top:1px solid #c89f5e;gap:3px}.of-story-intro{display:none}.of-altar-controls .of-primary{min-height:49px;padding:12px;font-size:20px}.of-book-button{font-size:11px;min-height:39px;padding:7px 0}.of-return{min-height:34px;padding:8px;font-size:11px}.of-paper-sheet{padding:24px 20px 14px}.of-paper-sheet h2{font-size:31px}.of-dialog .of-altar-heading h2{font-size:30px}.of-hotspot{width:35px;height:35px;font-size:22px}.of-story-bubble{padding:22px 16px 16px}.of-story-bubble p{font-size:16px}.of-header-links{gap:12px}.of-header-note{padding-left:16px;padding-right:16px}.of-journey{width:112px}.of-header-note button{font-size:11px}.of-header-note .of-lantern{height:29px;width:22px}}
@media(max-width:360px){body.tema-ofrenda .test-gate-card:has([data-action="home"]){padding:18px 16px 12px}.of-entry-scene{min-height:210px}.of-entry-scene h2{font-size:32px}.of-visit small{font-size:9px}.of-dialog .of-altar-heading h2{font-size:27px}.of-story-bubble p{font-size:15px}}
@media(prefers-reduced-motion:reduce){.of-scene-layer,.of-journey i,.of-lantern *{transition:none!important}.of-bunting i,.of-fire,.of-hotspot,.of-entry-light,.of-thanks .of-lantern{animation:none!important}.of-flying-petal{display:none!important}.of-dialog *{scroll-behavior:auto!important}}
/* r38: same lettering throughout the seasonal experience; ordering stays primary. */
body.tema-ofrenda .test-gate-card .of-visit{background:transparent;border:0;border-top:1px solid #d6bd9577;border-radius:0;min-height:38px;margin-top:12px;padding:9px 4px 0;font-size:16px;font-weight:600;gap:8px}
body.tema-ofrenda .of-visit .of-lantern{width:25px;height:33px;flex-basis:25px}
body.tema-ofrenda .of-entry-caption,body.tema-ofrenda .of-eyebrow{letter-spacing:1.2px;font-size:12px}
body.tema-ofrenda .of-entry-scene p{font-size:16px;font-weight:500}
body.tema-ofrenda .of-header-note button{font-size:14px}
body.tema-ofrenda .selector-sub,body.tema-ofrenda .panel-hint,body.tema-ofrenda .field-sub,body.tema-ofrenda .selected-summary .detail{font-size:16px;line-height:1.35;font-weight:500}
body.tema-ofrenda .local-checkout .lc-example,body.tema-ofrenda .local-checkout .lc-input,body.tema-ofrenda .lc-total-simple small{font-size:17px;font-weight:500;line-height:1.4}
body.tema-ofrenda .local-checkout .lc-btn{font-size:22px;font-weight:800}
body.tema-ofrenda .of-book-button,body.tema-ofrenda .of-return{font-size:16px;font-weight:600}
.of-invite{margin:22px 0 16px;padding-top:18px;border-top:1px solid #cfac76;text-align:center}
.of-invite p{font-size:22px!important;line-height:1.15!important;font-weight:700;margin:0 0 12px!important;color:#5a2c44}
.of-invite .of-primary{gap:12px;min-height:58px;font-size:23px;animation:of-invite-guide 1.5s ease-in-out 1}
.of-invite .of-lantern{width:28px;height:38px;flex-basis:28px}
.of-invite small{display:block;font-size:14px;line-height:1.4;color:#80634f;margin-top:9px}
body.tema-ofrenda .lc-success .lc-whatsapp-return{background:#fff7e8!important;color:#723349!important;border:1px solid #c9a371!important;box-shadow:none!important;font-size:19px}
.of-community-count{font-size:17px;line-height:1.3;text-align:center;margin:0;color:#644339}
.of-community-count strong{font-weight:800;color:#9d2b40}
.of-order-note{font-size:15px;line-height:1.3;text-align:center;margin:6px 0;color:#73533f}
.of-altar-controls .of-book-pages{margin:2px 0 8px;align-items:center;justify-content:center;gap:8px;min-height:20px}
.of-book-pages:has(button){min-height:39px}
.of-book-pages span{font-size:14px;color:#886b54;white-space:nowrap}
.of-book-pages button{font-size:15px;padding:6px 10px;min-height:36px;line-height:1.2}
.of-scene-candles{top:78%;left:8%;right:8%;gap:1%}
.of-scene-memory{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;width:15.5%}
.of-scene-memory .of-lantern{width:85%;height:64px}
.of-scene-memory small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff2d5;text-shadow:0 1px 4px #170e22;font-size:13px;font-weight:600;line-height:1.2}
.of-story-bubble{top:25%;padding-top:26px}
.of-story-bubble strong{font-size:22px;line-height:1.15;margin-bottom:8px}
.of-story-bubble p{font-size:19px;line-height:1.4;font-weight:500;max-height:140px}
.of-story-bubble #ofBubbleCopy{padding-bottom:3px}
.of-reaction{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;background:#fff7e8;color:#8b3b53;border:1px solid #dab09c;border-radius:24px;font-size:17px;font-weight:600;line-height:1.25;padding:7px 14px;margin-top:14px;cursor:pointer}
.of-reaction span{font-family:Arial,sans-serif!important;font-size:23px;color:#bf5372;line-height:1}
.of-reaction b{min-width:18px;font-size:17px}
.of-reaction[aria-pressed=true]{background:#f7dce3;border-color:#b7506c;color:#8c2045}
.of-reaction[aria-pressed=true] span{color:#c71e54}
.of-reaction:disabled{opacity:.55;cursor:wait}
.of-reaction-status{font-size:14px!important;line-height:1.35!important;color:#98394a!important;margin:8px 0 0!important;max-height:none!important}
.of-reaction-status:empty{display:none}
.of-scene-hint{font-size:15px;line-height:1.3}
.of-book-list article{margin:0;padding:18px;border-radius:12px;background:#fffaeee0;border:1px solid #e2c999;text-align:left}
.of-book-author{display:flex;align-items:center;gap:10px;color:#7a354b;font-size:19px;line-height:1.2}
.of-book-author .of-lantern{width:28px;height:41px;flex-basis:28px}
.of-book-list article>p{font-size:20px;font-weight:500;line-height:1.5;margin:12px 0 0;color:#533445;overflow-wrap:anywhere}
.of-book-year{font-size:16px}
.of-book-year select{font-size:16px}
.of-view-form{max-height:calc(var(--of-visible-height,100dvh) - 16px)}
.of-view-form .of-paper-sheet h2{font-size:32px;line-height:1.08}
.of-view-form .of-form-lantern{height:78px;margin:0}
.of-view-form .of-form-lantern .of-lantern{width:52px;height:73px}
#ofForm label{font-size:18px;font-weight:700}
#ofForm label span{font-size:16px}
.of-example{font-size:16px;line-height:1.35;margin:7px 0}
#ofText{font-size:19px;line-height:1.4;min-height:92px;height:100px;max-height:180px}
#ofText:focus-visible{box-shadow:0 0 0 3px #ffd56d66}
.of-view-form #ofText{animation:of-invite-guide 1.5s ease-in-out 1}
.of-form-meta{font-size:14px;align-items:flex-start;margin-bottom:14px}
.of-form-meta small{font-size:14px;line-height:1.3;max-width:80%}
.of-form-meta>span{white-space:nowrap}
.of-view-form[data-keyboard=true] .of-form-lantern{display:none}
.of-view-form[data-keyboard=true] .of-eyebrow{display:none}
.of-view-form[data-keyboard=true] .of-paper-sheet{padding:12px 18px}
.of-view-form[data-keyboard=true] .of-paper-sheet h2{font-size:24px;margin:4px 0 10px}
.of-view-form[data-keyboard=true] #ofText{min-height:68px;height:74px}
.of-view-form[data-keyboard=true] .of-form-meta{margin-bottom:8px}
.of-thanks>p{font-size:19px;line-height:1.4}
@keyframes of-invite-guide{0%,100%{transform:translateX(0)}20%{transform:translateX(-8px)}40%{transform:translateX(8px)}60%{transform:translateX(-5px)}80%{transform:translateX(4px)}}
@media(max-width:640px){.of-altar-controls{padding-top:10px;gap:3px}.of-altar-controls .of-primary{font-size:21px}.of-story-bubble strong{font-size:21px}.of-story-bubble p{font-size:18px}.of-dialog .of-altar-heading h2{font-size:31px}}
@media(prefers-reduced-motion:reduce){.of-invite .of-primary,.of-view-form #ofText{animation:none!important}}

/* r39: compact hand lettering and warm handmade paper, scoped to the switch. */
@font-face{font-family:'Lilita Tlapa';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/produccion-r87/ofrenda-r39/LilitaOne-Regular.ttf?v=r87.1') format('truetype')}
body.tema-ofrenda,body.tema-ofrenda *{font-family:'Lilita Tlapa','Baloo 2',sans-serif!important;font-weight:400!important;font-synthesis:none}
body.tema-ofrenda{color:#29152f;line-height:1.4}
body.tema-ofrenda :is(h1,h2,h3,h4,.field-title,.hero-title){letter-spacing:.1px;line-height:1.1}
body.tema-ofrenda :is(.test-gate-card,.panel-card,.modal-card,.upsell-card,.category-start-card,.local-checkout .field-block,.local-checkout .lc-success){
 background-color:#fbefd9!important;background-image: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)!important;
 border:1px solid #d5b98b!important;border-radius:4px 8px 5px 7px!important;box-shadow:0 8px 28px #1c0f2344,inset 0 0 22px #9b6b2910!important;
}
body.tema-ofrenda :is(.test-gate-card,.panel-card,.modal-card,.upsell-card,.category-start-card,.local-checkout .field-block)::after{border-radius:3px}
body.tema-ofrenda :is(.test-gate-card,.panel-card,.category-start-card){border-top:3px dashed #e9d4b1!important;border-bottom:3px dashed #e5ceaa!important}
body.tema-ofrenda .test-gate-card:has([data-action="home"]){padding:18px 20px 12px;width:min(460px,calc(100% - 32px));margin-bottom:22px}
body.tema-ofrenda .test-gate-card:has([data-action="home"])>h2{font-size:24px!important;line-height:1.2;color:#24122d;margin-bottom:11px}
body.tema-ofrenda .test-gate-card:has([data-action="home"]) #customer-actions{gap:0}
body.tema-ofrenda .test-gate-card:has([data-action="home"]) #customer-actions button{display:flex;align-items:center;justify-content:center;gap:14px;min-height:58px;padding:11px 12px;font-size:24px!important;line-height:1.1;margin:9px 0 0;border-radius:16px}
body.tema-ofrenda #customer-actions [data-action=home]{background:linear-gradient(100deg,#ee1024,#c30524)!important;border:1px solid #ba0e2c!important;color:#fff!important}
body.tema-ofrenda #customer-actions :is([data-action=pickup],[data-action=store]){background:#fff9e533!important;border:1px solid #fffdf1!important;color:#24132d!important;box-shadow:inset 0 0 0 1px #d6b99233!important}
.of-delivery-icon{width:41px;height:34px;flex:0 0 41px}.of-store-icon{width:33px;height:34px;flex:0 0 33px}
body.tema-ofrenda .test-gate-card .of-visit{position:relative;display:flex;align-items:center;gap:7px;width:100%;min-height:78px;padding:8px 14px 8px 98px;margin-top:19px;margin-bottom:0;border:1px solid #e5d2b2;border-radius:17px;background:linear-gradient(115deg,#ead7bdbb,#f4e7d3aa);color:#2e1739;text-align:left;font-size:21px;line-height:1.08;box-shadow:inset 0 0 18px #fff2db66}
body.tema-ofrenda .of-visit img{position:absolute;left:-8px;bottom:-3px;width:116px;height:104px;object-fit:contain;filter:drop-shadow(0 3px 4px #713f2122);pointer-events:none}
body.tema-ofrenda .of-visit b{font-size:33px;color:#2c1735;margin-left:auto}
body.tema-ofrenda .of-entry-scene{min-height:clamp(175px,28svh,280px);padding-top:24px;padding-bottom:18px}
body.tema-ofrenda .of-entry-scene h2{font-size:clamp(35px,7vw,49px);line-height:1.03;margin-bottom:10px}
body.tema-ofrenda .of-entry-scene p{font-size:16px;color:#ffe6bf}
body.tema-ofrenda .of-entry-caption{font-size:11px;letter-spacing:1.8px}
body.tema-ofrenda :is(.field-title,.panel-title){color:#2b1531}
body.tema-ofrenda :is(.selector-sub,.panel-hint,.field-sub,.selected-summary .detail,.catalogo-description,.order-detail){font-size:17px;line-height:1.35}
body.tema-ofrenda :is(input,textarea){font-size:19px;line-height:1.35}
body.tema-ofrenda :is(.radio-card,.catalogo-choice,.product-card,.catalogo-promo-card){border-radius:14px!important;background:#fff9ed!important}
body.tema-ofrenda :is(.radio-card.active,.cat-btn.active){background:#f9e4ca!important;color:#49213d!important;border-color:#b02843!important}
body.tema-ofrenda :is(.field-title,.local-checkout h2){font-size:clamp(25px,5vw,33px)}
body.tema-ofrenda :is(.add-btn,.send-btn,.upsell-send,.lc-btn,.of-primary){letter-spacing:.1px;border-radius:16px;font-size:22px!important}
/* Gallery shell owns the viewport; only the scene/list scrolls, leaving actions visible. */
.of-dialog.of-view-altar,.of-dialog.of-view-book{width:min(630px,calc(100% - 20px));height:min(890px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);overflow:hidden}
.of-dialog.of-view-altar[open],.of-dialog.of-view-book[open]{display:flex;flex-direction:column}
.of-dialog-head{position:relative;flex:0 0 auto;min-height:44px;padding:6px 12px 6px 16px}
.of-dialog-head>span{font-size:13px!important;letter-spacing:.4px}
.of-view-altar .of-dialog-content,.of-view-book .of-dialog-content{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.of-altar-layout{position:relative;display:flex;flex-direction:column;flex:1;min-height:0}
.of-altar-viewport{position:relative;min-height:0;flex:1;overflow:hidden;background:#261828}
.of-altar-scene{position:relative;width:100%;height:100%;aspect-ratio:auto;overflow-y:auto;overscroll-behavior:contain;padding:20px 15px 18px;isolation:isolate}
.of-altar-image{position:absolute;inset:0;width:100%;height:100%;min-height:100%;object-fit:cover;object-position:center 60%;z-index:-2;opacity:.8}
.of-altar-scene::before{content:'';position:absolute;inset:0;min-height:100%;background:linear-gradient(180deg,#190c2c99,#1b102d00 42%,#1a0d2599);z-index:-1;pointer-events:none}
.of-altar-heading{position:relative;inset:auto;margin:0 auto;max-width:450px}
.of-altar-heading>span{font-size:11px;letter-spacing:2px;color:#ffdfa5}
body.tema-ofrenda .of-altar-heading h2{font-size:clamp(29px,6vw,39px);line-height:1.02;margin:5px 0 11px;color:#fff0d3!important}
.of-scene-hint{position:relative;inset:auto;font-size:17px;line-height:1.25;color:#fff7df;text-shadow:0 2px 5px #160a20;margin:0 auto;animation:of-invitation 3s ease-in-out infinite}
.of-scene-candles{position:relative;inset:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px 10px;margin:clamp(18px,3vh,35px) auto 0;max-width:440px}
.of-scene-memory{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;width:100%;max-width:none;min-height:105px;min-width:0;padding:0 3px 5px;background:transparent;border:0;box-shadow:none;border-radius:14px}
.of-scene-memory .of-lantern{width:56px;height:78px;max-height:none;filter:drop-shadow(0 0 9px #ffc852aa);animation:of-candle-beckon 3.4s ease-in-out infinite}
.of-scene-memory:nth-child(2n) .of-lantern{animation-delay:-1.1s}.of-scene-memory:nth-child(3n) .of-lantern{animation-delay:-2.2s}
.of-scene-memory small{display:block;max-width:100%;width:100%;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;padding:4px 5px;background:#fbecd9ee;border:1px solid #e3be7b;border-radius:5px;color:#3e2138;text-shadow:none;font-size:14px;line-height:1.12;box-shadow:0 3px 8px #12091866}
.of-scene-memory:hover,.of-scene-memory:focus-visible,.of-scene-memory[aria-pressed=true]{background:#ffda9533;box-shadow:0 0 0 2px #ffcf70;transform:none}
.of-altar-empty{text-align:center;color:#fff1d6;margin:100px 20px 20px}
.of-altar-controls{flex:0 0 auto;border:0;border-top:1px solid #c59a61;padding:11px 18px 13px;display:flex;flex-direction:column;gap:8px;background:linear-gradient(105deg,#fff4dd,#f1dfbf);box-shadow:0 -5px 16px #1b0d2433;z-index:2}
.of-count-line{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:nowrap}
.of-community-count{font-size:15px;line-height:1.2;text-align:center;margin:0}
.of-page-fraction{flex:0 0 auto;font-size:13px;line-height:1.25;color:#80624d;border-left:1px solid #c9af8b;padding-left:10px;white-space:nowrap}
.of-order-note{font-size:17px!important;line-height:1.2;margin:1px 0;text-align:center;color:#65412f;text-shadow:0 .2px currentColor}
body.tema-ofrenda .of-book-button,body.tema-ofrenda .of-return{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 12px;border:1px solid #b8996f;border-radius:12px;background:#fff7e7;color:#51223f;text-decoration:none;box-shadow:0 2px 0 #bb976b;font-size:18px;line-height:1.15;margin:0;width:100%}
body.tema-ofrenda .of-book-button{justify-content:space-between;background:#f3e4ca;border-color:#a67b4f}
.of-book-button span{font-size:27px}
body.tema-ofrenda .of-altar-controls>.of-return{background:linear-gradient(100deg,#e71729,#bc1027);color:#fff;border-color:#aa1e2b;box-shadow:0 2px 0 #7e1830}
.of-altar-controls .of-book-pages{margin:0;min-height:0;gap:12px}.of-book-pages button{min-height:34px;padding:5px 12px;font-size:15px!important;margin:0}
.of-bubble-layer{position:absolute;inset:0;z-index:5;background:#1b0d2677;display:flex;align-items:center;justify-content:center;padding:18px;overflow-y:auto}
.of-story-bubble{position:relative;inset:auto;max-width:440px;width:100%;max-height:100%;overflow:auto;padding:28px 20px 20px;background:linear-gradient(110deg,#fff5df,#f7e6c7);border:2px solid #d9b579;border-radius:8px 12px 8px 11px;box-shadow:0 12px 30px #160c2666}
.of-story-bubble::after{display:none}.of-story-bubble strong{font-size:23px!important;line-height:1.15;overflow-wrap:anywhere}
.of-story-bubble p{font-size:20px!important;line-height:1.35;max-height:none;overflow:visible}.of-story-bubble .of-reaction-status{font-size:15px!important}
.of-bubble-close{top:2px;right:5px;width:30px;height:30px;font-size:25px}
.of-reaction-wrap{display:flex;align-items:center;flex-direction:column;gap:8px;margin-top:17px;padding:0 10px 3px}
.of-reaction{position:relative;font-size:19px!important;line-height:1.1;min-height:46px;margin:0;max-width:calc(100% - 16px);padding:10px 18px;background:#fff8ea;border:1px solid #ac6480;box-shadow:0 3px 0 #d4adac;animation:of-reaction-guide 5.8s ease-in-out infinite}
.of-reaction span{font-size:25px}.of-reaction b{font-size:18px}
.of-tap-cue{position:absolute;right:-12px;bottom:-10px;width:27px;height:30px;transform:rotate(-16deg);animation:of-tap 2.8s ease-in-out infinite;pointer-events:none}
.of-reaction-hint{font-size:13px;line-height:1.2;color:#825966;text-align:center;display:block}
.of-book-scroll{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain}
.of-book-scroll .of-paper-sheet{padding:22px 20px 12px}
.of-book-scroll h2{font-size:34px!important;margin-top:8px}
.of-book-list article{border-radius:5px 9px 5px 8px;background:#fff7e8;border:1px solid #d7bb95;box-shadow:0 3px 9px #8055280b;padding:18px}
.of-book-author{font-size:20px;line-height:1.15;overflow-wrap:anywhere}
.of-book-author strong{min-width:0}.of-book-list article>p{font-size:20px;line-height:1.4}
.of-book-list .of-reaction-wrap{align-items:flex-start;padding-left:12px}
.of-book-footer{flex:0 0 auto;padding:10px 15px 14px;border-top:1px solid #c8aa7b;background:#f6e8ce;box-shadow:0 -4px 10px #62432215}
.of-book-footer .of-book-pages{margin:0 0 9px;align-items:center;min-height:22px}
.of-book-navigation{display:grid;grid-template-columns:1fr 1fr;gap:10px}
body.tema-ofrenda .of-book-navigation .of-return{font-size:17px;min-height:48px}
.of-book-footer .of-primary{margin-bottom:10px}
.of-dialog .of-paper-sheet h2{overflow-wrap:anywhere}
@keyframes of-invitation{0%,100%{opacity:1;transform:translateX(-2px)}50%{opacity:.65;transform:translateX(2px)}}
@keyframes of-candle-beckon{0%,100%{transform:translateY(0) rotate(-2deg);filter:drop-shadow(0 0 7px #ffca6d88)}50%{transform:translateY(-6px) rotate(2deg);filter:drop-shadow(0 0 15px #ffd978dd)}}
@keyframes of-reaction-guide{0%,29%,100%{transform:translateX(0)}4%{transform:translateX(-12px)}9%{transform:translateX(12px)}14%{transform:translateX(-9px)}19%{transform:translateX(8px)}24%{transform:translateX(-4px)}}
@keyframes of-tap{0%,45%,100%{opacity:.5;transform:translate(2px,4px) rotate(-16deg)}25%{opacity:1;transform:translate(-2px,-2px) rotate(-16deg)}}
@media(max-width:640px){.of-dialog.of-view-altar,.of-dialog.of-view-book{width:calc(100% - 14px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.of-altar-controls{padding:10px 13px 12px;gap:7px}.of-community-count{font-size:14px}.of-page-fraction{font-size:13px}.of-altar-scene{padding:16px 12px}.of-scene-candles{gap:12px 8px;margin-top:24px}.of-scene-memory small{font-size:14px}.of-dialog .of-altar-heading h2{font-size:33px}.of-order-note{font-size:16px!important}}
@media(max-height:700px){.of-altar-heading h2{font-size:28px!important}.of-altar-scene{padding-top:12px}.of-scene-candles{margin-top:15px;gap:10px}.of-scene-memory .of-lantern{height:62px;width:46px}.of-altar-controls{gap:6px;padding:8px 12px 10px}.of-order-note{font-size:15px!important}.of-altar-controls .of-return,.of-altar-controls .of-book-button{min-height:40px;padding:8px 10px}.of-scene-hint{font-size:15px}}
@media(prefers-reduced-motion:reduce){.of-scene-hint,.of-scene-memory .of-lantern,.of-reaction,.of-tap-cue{animation:none!important}}
/* These final actions are guided in both normal and seasonal Tlapa test layouts. */
body.tlapa-preview-demo #cartModal.open #sendOrderBtn[data-flow-guide=true]:not(:disabled),body.tlapa-preview-demo #upsellModal.open #upsellSendBtn[data-flow-guide=true]{animation:pedido-action-r39 2.2s ease-in-out infinite!important;will-change:transform}
@keyframes pedido-action-r39{0%,100%{transform:translateX(0)}20%{transform:translateX(-8px)}40%{transform:translateX(8px)}60%{transform:translateX(-6px)}80%{transform:translateX(6px)}}
@media(prefers-reduced-motion:reduce){body.tlapa-preview-demo #cartModal.open #sendOrderBtn[data-flow-guide=true],body.tlapa-preview-demo #upsellModal.open #upsellSendBtn[data-flow-guide=true]{animation:none!important}}

/* r40: retain context, move only when the next action would be obscured. */
html{overflow-x:clip}body.tlapa-preview-demo{overflow-x:clip;overflow-y:visible}
body.tlapa-preview-demo .category-nav-shell{position:sticky!important;top:var(--pedido-header-height,122px);z-index:25;background:#fbf7ed!important;padding-top:5px;padding-bottom:5px;margin-top:0;margin-bottom:12px;border-radius:0!important}
body.tema-ofrenda .category-nav-shell{background:#f7ecd8!important;border-bottom:1px solid #d4b272!important}
body.tlapa-preview-demo .category-nav-shell .category-grid{margin:0!important;padding:3px 4px!important;min-height:48px}
body.tlapa-preview-demo .category-nav-shell .cat-btn{padding:10px 15px!important;min-height:44px!important;font-size:19px!important}
body.tlapa-preview-demo .panel-card{overflow-anchor:none}
body.tlapa-preview-demo main{overflow:visible}
body.tlapa-preview-demo .catalogo-fixed-overview{position:sticky;top:calc(var(--pedido-header-height,122px) + var(--pedido-nav-height,60px) + 10px);z-index:7;margin:0 0 14px;padding:12px!important;border:1px solid #dac4a2!important;border-radius:9px!important;background:#fff6e5!important;box-shadow:0 4px 12px #2d15221a}
.catalogo-fixed-overview .field-title{font-size:23px!important;line-height:1.08!important;margin:0 0 9px!important}
.catalogo-fixed-summary{display:grid;grid-template-columns:85px 1fr;gap:13px;align-items:center;text-align:left}
.catalogo-fixed-summary img{width:85px!important;height:85px!important;object-fit:contain;border-radius:9px}
.catalogo-fixed-summary strong{font-size:24px;color:#b5172b;line-height:1.1;display:block;margin-bottom:4px}
.catalogo-fixed-summary p{font-size:15px!important;line-height:1.25!important;margin:0;color:#503c39}
body.tlapa-preview-demo #panelContent:has(.catalogo-fixed-overview) :is(#fixed-crust,#catalogo-add){margin-top:14px!important;padding:13px!important}
body.tlapa-preview-demo #panelContent:has(.catalogo-fixed-overview) .field-title{font-size:24px!important;line-height:1.1!important;margin:0 0 12px!important}
body.tlapa-preview-demo #panelContent:has(.catalogo-fixed-overview) .radio-card{min-height:50px!important;padding:10px!important;font-size:18px!important}
body.tlapa-preview-demo #panelContent:has(.catalogo-fixed-overview) .preview-total{padding:10px 12px!important;margin:0 0 12px!important;font-size:17px}
body.tlapa-preview-demo #panelContent:has(.catalogo-fixed-overview) .preview-total strong{font-size:25px}
body.tlapa-preview-demo #panelContent:has(.catalogo-fixed-overview) .add-btn{min-height:52px!important;padding:12px!important}
body.tema-ofrenda #customer-actions :is([data-action=pickup],[data-action=store]){border:2px solid #9b765a!important;box-shadow:0 2px 0 #d4bd9a!important;background:#fff8e9aa!important}
body.tema-ofrenda .of-view-form .of-paper-sheet>.of-return,body.tema-ofrenda .of-view-thanks .of-paper-sheet>.of-return{margin-top:20px!important;margin-bottom:6px!important;min-height:48px}
body.tema-ofrenda .of-view-form #ofForm>.of-primary{min-height:52px}
body.tema-ofrenda .test-gate .pedido-stage-header{backdrop-filter:none!important}
.test-gate-status{font-size:17px;line-height:1.3;color:#765238;margin:12px 0 0;text-align:center}.test-gate-status:empty{display:none}
.test-gate[data-locating] .of-bunting i,.test-gate[data-locating] .of-fire{animation-play-state:paused!important}
.of-example-notice{font-size:12px!important;line-height:1.15;margin:0;text-align:center;color:#866246}
.of-example-badge{font-size:11px;display:block;color:#87674b;margin-top:3px;letter-spacing:.3px}
@media(max-height:700px){body.tlapa-preview-demo .catalogo-fixed-summary{grid-template-columns:64px 1fr;gap:10px}body.tlapa-preview-demo .catalogo-fixed-summary img{width:64px!important;height:64px!important}.catalogo-fixed-overview .field-title{font-size:21px!important}}

/* r41 — Altar público y controles claros. */
.of-entry-scene,.of-header-note{display:none!important}
body.tema-ofrenda .test-gate-card.of-entry-options{margin:clamp(24px,8svh,80px) auto 24px!important;padding:24px!important}
body.tema-ofrenda .test-gate-card.of-entry-options h2{font-size:26px!important;margin:0 0 18px!important}
.test-gate-card>h2:empty,.local-checkout .field-block>h2:empty{display:none}
.of-altar-scene{background:#080808}
.of-altar-image{filter:grayscale(1);opacity:.48}
.of-altar-scene::before{background:linear-gradient(180deg,#000a,#0002 45%,#0009)}
.of-dialog .of-altar-heading h2{font-size:38px!important;color:#fff6e8;margin:3px 0 8px}
.of-scene-hint{font-size:17px!important;color:#fff5de}
.of-scene-memory small{background:#120f0ddd;color:#fff5de;border:1px solid #b6a68d70;padding:6px;border-radius:7px;font-size:14px!important;line-height:1.18;overflow-wrap:anywhere}
.of-candle-number{display:inline-block;color:#ffe3a4;white-space:nowrap}
.of-altar-controls{gap:9px}
.of-main-actions,.of-share-actions{display:flex;gap:9px;align-items:stretch;flex-wrap:wrap}
.of-main-actions>*{flex:1 1 110px;min-width:0}.of-share-actions>*{flex:1 1 125px}
body.tema-ofrenda .of-altar-controls .of-primary,body.tema-ofrenda .of-altar-controls .of-book-button,body.tema-ofrenda .of-altar-controls .of-return{font-size:16px;min-height:42px;padding:9px 10px;margin:0}
.of-share-actions .of-return{font-size:15px!important;min-height:38px!important;padding:8px!important}
.of-book-pages{display:flex;align-items:center;justify-content:center;gap:6px!important;flex-wrap:wrap}
.of-book-pages button{min-width:34px;min-height:34px;border:1px solid #9b7c59;background:#fff9ed;border-radius:7px;color:#442a36;cursor:pointer}
.of-book-pages button[aria-current=page]{background:#642640;color:#fff;border-color:#642640}
.of-reaction{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:80px;width:auto;max-width:none;margin:13px 7px 18px;font-size:18px!important}
.of-story-bubble .of-share-actions{margin-top:3px}.of-story-bubble #ofBubbleAuthor{font-size:15px!important;color:#71505d;margin:12px 0 0}
.of-share-status:empty,.of-reaction-status:empty{display:none}
.of-share-status{font-size:14px;line-height:1.3;overflow-wrap:anywhere;margin:4px 0;color:#693e52}
.of-invite>p{font-size:20px!important;line-height:1.25!important}
.of-invite small{text-align:center;font-size:18px!important;margin:14px 0 0;display:block}
.of-view-form .of-paper-sheet{padding:18px 22px 20px}
.of-dialog-head{position:sticky;top:0;z-index:20}
.of-view-form .of-paper-sheet h2{font-size:29px!important;line-height:1.1;margin:3px 0 16px}
.of-form-title{font-size:18px;margin:0 0 14px;color:#73545a}
.of-view-form form label{display:block;font-size:17px;line-height:1.2;margin:12px 0 7px}
.of-view-form #ofRecipient,.of-view-form #ofAuthor,.of-view-form #ofText{box-sizing:border-box;width:100%;border:2px solid #b9a98f;border-radius:10px;background:#fffdf8;color:#30232b;font:18px/1.3 Arial,sans-serif!important;padding:12px;min-height:47px;scroll-margin:12px}
.of-view-form #ofText{height:88px;min-height:75px;resize:vertical}
.of-view-form :is(#ofRecipient,#ofText,#ofAuthor):focus{outline:3px solid #e6b85e;outline-offset:2px}
.of-view-form #ofCount{display:block;text-align:right;font-size:12px;color:#765863}
.of-view-form .of-check{display:flex;align-items:center;gap:9px;margin:8px 0;font-size:15px}
.of-check input{width:20px;height:20px;accent-color:#9c2441;flex-shrink:0}
#ofPublication{display:block;font-size:12px;line-height:1.3;margin:10px 0 14px;color:#765863}
#ofPublication span{font-weight:bold}.of-privacy{padding:3px 0 2px}
.of-view-form[data-keyboard=true] .of-paper-sheet{padding:10px 16px 18px}
.of-view-form[data-keyboard=true]{position:fixed;top:calc(var(--of-visible-top,0px) + 8px);left:50%;right:auto;bottom:auto;transform:translateX(-50%);margin:0;max-height:calc(var(--of-visible-height) - 16px)}
.of-view-form[data-keyboard=true] .of-paper-sheet h2{font-size:22px!important;margin:3px 0 8px}
.of-view-form[data-keyboard=true] .of-form-title{display:none}
.of-view-form[data-keyboard=true] form label{font-size:15px;margin:8px 0 6px}
.of-view-form[data-keyboard=true] #ofText{height:72px;min-height:65px}
.of-view-form[data-keyboard=true] #ofPublication{font-size:11px;margin:6px 0 9px}
.of-view-form[data-keyboard=true] #ofForm>.of-primary{min-height:46px;padding:10px;position:sticky;bottom:0;z-index:3;box-shadow:0 -5px 8px #f9e8c9}
.of-view-form #ofRecipient:focus,.of-view-form #ofText:focus{animation:of-invite-guide 1.5s ease-in-out 1}
.of-view-form:has(#ofText:focus) button[type=submit]{animation:pedido-action-r39 2.2s ease-in-out infinite}
.of-view-thanks .of-paper-sheet>.of-return+.of-return{margin-top:16px!important}
.of-primary{text-decoration:none;text-align:center}.of-public-landing{box-sizing:border-box;max-width:520px;margin:8vh auto;padding:28px;background:#fbefd8;border:1px solid #cdaa6c;border-radius:15px;text-align:center}.of-public-landing h1{font-size:38px}.of-public-landing button,.of-public-landing a{display:flex;margin:15px 0;min-height:48px;align-items:center;justify-content:center;width:100%;box-sizing:border-box}
.of-exit-scene{min-height:300px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px;background:#1d1720;color:#fff0d2;animation:of-exit-light 2.8s ease-in-out both}.of-exit-scene .of-lantern{width:75px;height:110px}.of-exit-scene p{font-size:29px;line-height:1.25}
@keyframes of-exit-light{0%{opacity:0;transform:translateY(12px)}20%,85%{opacity:1;transform:translateY(0)}100%{opacity:0}}
.catalogo-scroll-hint{display:none;position:absolute;bottom:5px;left:50%;transform:translateX(-50%);z-index:8;pointer-events:none;align-items:center;gap:7px;max-width:90%;padding:7px 13px;border:1px solid #ba9860;background:#fff8e9f5;color:#5a253b;box-shadow:0 3px 12px #0003;border-radius:18px;font:16px/1.15 'Lilita One',Arial,sans-serif;white-space:nowrap}
.has-more-options>.catalogo-scroll-hint{display:flex}.catalogo-scroll-hint b{font-size:23px;animation:catalogo-down 1.4s ease-in-out infinite}.category-start-card,.upsell-card,.modal-card{position:relative}
.has-more-categories #categoryNext{animation:catalogo-right 1.5s ease-in-out infinite;border-color:#b92e40!important;box-shadow:0 0 0 3px #f1d78980}
@keyframes catalogo-down{0%,100%{transform:translateY(-3px);opacity:.6}50%{transform:translateY(3px);opacity:1}}@keyframes catalogo-right{0%,100%{transform:translateX(-3px)}50%{transform:translateX(3px)}}
@media(max-height:700px){.of-altar-controls{gap:6px;padding:8px 12px}.of-main-actions>*{flex-basis:90px}.of-altar-controls .of-return,.of-altar-controls .of-book-button{font-size:14px!important;min-height:38px!important}.of-scene-candles{margin-top:16px}.of-scene-memory small{font-size:12px!important}}
@media(prefers-reduced-motion:reduce){.catalogo-scroll-hint b,.has-more-categories #categoryNext,.of-exit-scene{animation:none!important}}

/* r42: la guía se lee arriba y demuestra el gesto. */
.catalogo-scroll-hint{display:none!important}
.of-has-swipe{flex-wrap:wrap}.of-has-swipe>.of-swipe-guide{flex:1 0 100%}
.of-swipe-guide{box-sizing:border-box;display:flex;justify-content:center;align-items:center;gap:14px;min-height:62px;margin-top:6px;padding:3px 8px;font-size:20px;line-height:1.15;color:inherit;overflow:hidden}
.of-swipe-guide[hidden]{display:none!important}.of-swipe-guide span{max-width:260px;text-align:left}
.of-swipe-hand{flex:0 0 49px;width:49px;height:57px;color:#f5dfab;overflow:visible;animation:of-hand-swipe 2.1s ease-in-out infinite}
#pickerModal .of-swipe-guide{color:#63283f}#pickerModal .of-swipe-hand{color:#9a624c}
.of-swipe-used .of-swipe-hand{animation:none;transform:translateY(0);opacity:.75}
@keyframes of-hand-swipe{0%,12%{transform:translateY(12px);opacity:.4}30%{opacity:1}68%{transform:translateY(-12px);opacity:1}85%,100%{transform:translateY(-12px);opacity:0}}
body.tema-ofrenda .of-invite .of-primary{animation:pedido-action-r39 2.2s ease-in-out infinite!important}
.of-invite>p{max-width:540px;margin:12px auto 20px!important;font-size:20px!important;line-height:1.4!important}
/* El altar conserva sólo la navegación y las tres acciones útiles. */
.of-gallery-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
body.tema-ofrenda .of-gallery-actions .of-return{font-size:16px!important;min-height:44px;justify-content:center;padding:9px!important}
.of-gallery-actions svg,.of-own-share svg{flex:0 0 21px}.of-gallery-actions span{min-width:0}
.of-altar-controls{gap:9px;padding:10px 14px 14px}
body.tema-ofrenda .of-altar-controls>.of-primary{font-size:19px!important;min-height:46px;margin:0;padding:11px 12px}
.of-simple-pages{display:flex;align-items:center;justify-content:center;gap:10px;min-height:38px}
.of-simple-pages span{font-size:14px;white-space:nowrap;color:#6c4c49}
.of-simple-pages button{min-height:36px;min-width:0;border:1px solid #c5a77a;background:#fff7e9;border-radius:9px;padding:7px 10px;color:#562b3f;font:16px/1.15 'Lilita Tlapa',Arial,sans-serif;cursor:pointer}
.of-simple-pages button:disabled{opacity:.35;cursor:default}
.of-light-entry{margin:14px auto 0!important;width:auto;max-width:260px;font-size:18px!important;padding:10px 18px;min-height:42px}
.of-candle-awaiting>.of-lantern{opacity:0}
.of-own-arrival{outline:2px solid #ffe5a0;outline-offset:5px;background:radial-gradient(ellipse,#fbd08044,transparent 75%)!important;animation:of-own-welcome 1.4s ease-out 1}
.of-own-arrival .of-lantern{animation:of-own-breathe 3s ease-in-out infinite!important;filter:drop-shadow(0 0 15px #ffd487)!important}
.of-moving-candle{position:fixed;width:80px;height:110px;z-index:2147483000;pointer-events:none}.of-moving-candle>.of-lantern{width:100%;height:100%;filter:drop-shadow(0 0 16px #ffc46c)}
@keyframes of-own-welcome{0%{box-shadow:0 0 0 0 #ffd47899}100%{box-shadow:0 0 0 18px #ffd47800}}
@keyframes of-own-breathe{0%,100%{transform:translateY(0) scale(1);filter:drop-shadow(0 0 8px #ffd478)}50%{transform:translateY(-5px) scale(1.07);filter:drop-shadow(0 0 23px #ffd478)}}
.of-scene-candles{animation:of-candles-enter .45s ease-out both}
@keyframes of-candles-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
/* Al abrir una dedicatoria, la lectura ocupa el altar y oculta su pie. */
.of-altar-viewport{position:static;overflow:visible}.of-altar-scene{overflow-y:auto}
.of-bubble-layer{z-index:30;background:#110b1688;padding:18px}
.of-story-bubble{max-width:470px;padding:20px 24px 22px;text-align:center;border-radius:12px 7px 12px 8px}
.of-bubble-candle{display:flex;align-items:center;justify-content:center;margin:0 auto 8px;height:118px;background:radial-gradient(ellipse,#ffd99435,transparent 70%)}
.of-bubble-candle>.of-lantern{width:82px;height:115px;animation:of-own-breathe 3.3s ease-in-out infinite}
.of-story-bubble #ofBubbleTitle{display:block;font-size:25px!important;line-height:1.17}
body.tema-ofrenda .of-story-bubble #ofBubbleCopy{font-size:21px!important;line-height:1.45;margin:16px 0}
.of-story-bubble #ofBubbleAuthor{font-size:15px!important;margin:10px 0 0}
.of-story-bubble .of-reaction{margin:2px 0 18px!important}
body.tema-ofrenda .of-story-bubble .of-own-share{font-size:18px!important;gap:10px;min-height:47px}
/* Cada dedicatoria es una carta iluminada. */
.of-book-scroll .of-paper-sheet{padding:18px 16px 22px}
.of-book-intro{font-size:18px!important;line-height:1.35;color:#7c5663;margin:10px auto 18px;max-width:390px;text-align:center}
.of-book-list{gap:16px}
.of-book-list .of-memory-card{position:relative;display:grid;grid-template-columns:104px minmax(0,1fr);gap:17px;align-items:start;padding:22px 18px!important;background:linear-gradient(100deg,#f5e2c3,#fff9ed 28%,#fff7e8)!important;border:1px solid #d6bc96!important;border-radius:9px 5px 10px 7px;box-shadow:0 4px 15px #7c492c12;overflow:hidden}
.of-memory-card::after{content:'';position:absolute;width:10px;height:19px;bottom:13px;right:16px;border-radius:80% 20% 70% 30%;transform:rotate(40deg);background:#de995c88;pointer-events:none}
.of-letter-candle{position:sticky;top:20px;min-width:0;display:flex;justify-content:center;padding-top:5px;background:radial-gradient(ellipse at center,#ffcd6c44,transparent 72%)}
.of-letter-candle>.of-lantern{width:100px;height:150px;filter:drop-shadow(0 0 11px #d88f3b66)}
.of-letter-copy{min-width:0}.of-letter-copy h3{font-size:23px;line-height:1.23;margin:0 0 14px;color:#804057;overflow-wrap:anywhere}
.of-letter-copy h3 small{font-size:13px;white-space:nowrap;color:#8e7265}
.of-letter-copy blockquote{display:block;background:none;border:0;border-radius:0;padding:0;margin:0 0 16px;font-size:21px;line-height:1.5;color:#4d3741;overflow-wrap:anywhere;white-space:pre-wrap}
.of-letter-copy blockquote::before{content:'“';color:#b98b62}.of-letter-copy blockquote::after{content:'”';color:#b98b62}
.of-letter-author{font-size:14px!important;margin:0 0 12px!important;color:#896d69}
.of-letter-copy .of-reaction{margin:0 0 8px!important;animation:none;min-width:78px}
body.tema-ofrenda .of-letter-copy .of-own-share{margin-top:8px;font-size:15px!important;min-height:42px;padding:8px!important}
.of-book-year{margin:12px auto 18px!important;font-size:14px}.of-book-year select{font-size:15px;padding:7px 10px}
.of-book-footer .of-simple-pages{margin-bottom:9px}
/* La veladora se presenta, después se enciende y ocupa su lugar. */
.of-view-intro,.of-view-ignite{width:min(520px,calc(100% - 24px));background:#1a1520;overflow:hidden;color:#fff0d5}
.of-ritual-intro{position:relative;min-height:min(500px,70svh);padding:45px 22px 35px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:radial-gradient(ellipse at center,#75472755,transparent 65%),linear-gradient(#251827,#15121c)}
.of-ritual-intro p{font-size:24px;line-height:1.3;max-width:350px;margin:25px 0 0;color:#ffedca}
.of-ritual-intro h2{font-size:27px!important;color:#fff1d5;line-height:1.2;margin:18px 0 0}
.of-ritual-intro.of-igniting p{font-size:16px;margin-top:14px}
.of-niche{position:relative;display:flex;align-items:flex-end;justify-content:center;width:220px;height:240px;padding:25px 0;background:radial-gradient(ellipse,#9c673c55,transparent 70%);border-bottom:2px solid #b59461;border-radius:55% 55% 8% 8%}
.of-niche>.of-lantern{width:110px;height:165px;animation:of-candle-settle 1.8s cubic-bezier(.2,.7,.3,1) both}
.of-igniting .of-niche>.of-lantern{animation:of-light-awake 1.6s ease-out both}
.of-ritual-petal{position:absolute;left:22%;top:40%;width:10px;height:18px;border-radius:80% 20% 70% 30%;background:#dc9c4d;animation:of-petal-path 1.8s ease-in-out both}.of-ritual-petal.second{left:72%;animation-delay:.15s}
@keyframes of-candle-settle{0%{opacity:0;transform:translate(-65px,-75px) rotate(-7deg) scale(.75)}30%{opacity:1}100%{opacity:1;transform:none}}
@keyframes of-light-awake{0%{filter:brightness(.6);transform:scale(.96)}60%{filter:brightness(1.35) drop-shadow(0 0 28px #ffd987);transform:scale(1.03)}100%{filter:brightness(1) drop-shadow(0 0 12px #ffd987);transform:scale(1)}}
@keyframes of-petal-path{0%{opacity:0;transform:translate(0,-40px) rotate(0)}30%{opacity:.9}100%{opacity:0;transform:translate(35px,90px) rotate(140deg)}}
/* Una ficha compacta conserva el siguiente campo y las acciones sobre el teclado. */
.of-view-form{width:min(530px,calc(100% - 20px));max-height:calc(var(--of-visible-height,100dvh) - 16px);height:auto;overflow:hidden}
.of-view-form[open]{display:flex;flex-direction:column}
.of-view-form .of-dialog-content{min-height:0;overflow:hidden;background:linear-gradient(#fff5e3f5,#f5e5ccf5),url('/assets/produccion-r87/ofrenda-r37/patio.webp?v=r87.1') center/cover}
.of-form-card{display:flex;flex-direction:column;gap:14px;padding:21px 22px}
.of-form-heading{display:flex;gap:14px;align-items:center}.of-form-heading h2{font-size:29px!important;line-height:1.1;margin:0;flex:1}
.of-form-small-candle{flex:0 0 42px}.of-form-small-candle .of-lantern{width:42px;height:60px}
.of-form-card #ofForm{display:flex;flex-direction:column;gap:12px;margin:0}
.of-sr{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.of-form-card #ofRecipient,.of-form-card #ofAuthor,.of-form-card #ofText{box-sizing:border-box;width:100%;border:2px solid #b7a184;border-radius:10px;background:#fffcf5;color:#392634;font-size:18px!important;line-height:1.25;padding:11px 12px;min-height:46px;outline-offset:2px;scroll-margin:0}
.of-form-card input::placeholder,.of-form-card textarea::placeholder{color:#918a82!important;opacity:.8;font-weight:400!important}
.of-form-card #ofText{height:105px;min-height:70px;resize:none}
.of-form-card label[for=ofText]{font-size:17px;margin:0 0 7px;display:block}
.of-form-card #ofCount{font-size:12px;line-height:1;margin:4px 0 0;text-align:right}
.of-form-card[data-step=name] #ofText{height:67px;min-height:56px}
.of-recipient-summary{display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:17px;min-width:0}
.of-recipient-summary strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}.of-recipient-summary button{background:transparent;border:0;text-decoration:underline;color:#7b4158;padding:5px;flex:0 0 auto;font-size:14px}
.of-form-card .of-privacy{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:0}
.of-form-card .of-check{display:flex;gap:8px;align-items:center;flex:1 1 185px;font-size:15px!important;line-height:1.2;margin:0!important}
.of-form-card #ofShowAuthor{width:19px;height:19px;flex:0 0 auto;accent-color:#9b2949}
.of-form-card #ofAuthor{flex:1 1 115px;width:115px;min-height:36px;font-size:15px!important;padding:7px 9px}
.of-form-card #ofAuthorName{font-size:13px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.of-form-card #ofPublication{font-size:12px!important;line-height:1.25!important;margin:10px 0 0;display:block}
.of-form-card #ofError{font-size:13px;line-height:1.2;margin:0}
body.tema-ofrenda .of-view-form .of-form-submit{position:static;min-height:46px!important;padding:11px!important;font-size:20px!important;margin:0;animation:pedido-action-r39 2.2s ease-in-out infinite}
body.tema-ofrenda .of-view-form .of-form-return{font-size:17px!important;min-height:42px;padding:9px!important;margin:0!important}
.of-view-form[data-keyboard=true],.of-view-form[data-short=true]{position:fixed;top:calc(var(--of-visible-top,0px) + 8px);left:50%;right:auto;bottom:auto;transform:translateX(-50%);margin:0}
.of-view-form[data-short=true] .of-dialog-head{min-height:28px;height:28px;padding:3px 9px}
.of-view-form[data-short=true] .of-dialog-head>span{font-size:10px!important}.of-view-form[data-short=true] .of-close{width:23px;height:23px;min-height:0;font-size:20px;padding:0}
.of-view-form[data-short=true] .of-form-card{gap:6px;padding:8px 12px 9px}
.of-view-form[data-short=true] .of-form-card #ofForm{gap:6px}
.of-view-form[data-short=true] .of-form-heading h2{font-size:20px!important;line-height:1.1}.of-view-form[data-short=true] .of-form-small-candle{display:none}
.of-view-form[data-short=true] .of-recipient-summary{font-size:14px;height:20px}.of-view-form[data-short=true] .of-recipient-summary button{font-size:12px;padding:1px}
.of-view-form[data-short=true] .of-form-card #ofRecipient{min-height:39px;font-size:16px!important;padding:8px 10px}
.of-view-form[data-short=true] .of-form-card label[for=ofText]{font-size:13px;line-height:1;margin-bottom:5px}
.of-view-form[data-short=true] .of-form-card #ofText{height:54px;min-height:44px;font-size:16px!important;padding:8px 10px}
.of-view-form[data-short=true] .of-form-card[data-step=name] #ofText{height:53px}
.of-view-form[data-short=true] .of-form-card #ofCount{font-size:10px;margin-top:2px}
.of-view-form[data-short=true] .of-form-card .of-check{font-size:12px!important;flex-basis:145px;min-height:26px;gap:6px}
.of-view-form[data-short=true] .of-form-card #ofAuthor{flex-basis:100px;font-size:14px!important;min-height:30px;padding:5px 7px}
.of-view-form[data-short=true] .of-form-card #ofPublication{font-size:10px!important;line-height:1.18!important;margin-top:5px}
body.tema-ofrenda .of-view-form[data-short=true] .of-form-submit{min-height:39px!important;height:39px;padding:8px!important;font-size:18px!important}
body.tema-ofrenda .of-view-form[data-short=true] .of-form-return{min-height:33px;height:33px;padding:7px!important;font-size:15px!important}
/* La imagen se prepara antes del gesto de compartir, para conservar el permiso del celular. */
.of-view-share{width:min(480px,calc(100% - 20px));max-height:calc(100dvh - 20px);background:#fff0d9;overflow:auto}
.of-share-sheet{padding:18px;display:flex;flex-direction:column;gap:12px}.of-share-sheet h2{font-size:24px;margin:0;text-align:center}
.of-share-preview{display:block;width:auto;max-width:100%;height:min(44svh,400px);object-fit:contain;margin:auto;border-radius:8px;box-shadow:0 5px 17px #0003}
.of-share-sheet p{font-size:14px;line-height:1.3;margin:0}.of-share-caption{width:100%;box-sizing:border-box;min-height:90px;resize:vertical;font:14px/1.3 Arial,sans-serif!important;border:1px solid #c4a97e;background:#fffbf3;border-radius:8px;padding:9px}
.of-share-sheet .of-primary{display:flex;gap:10px;align-items:center;justify-content:center;margin:0;min-height:45px;font-size:18px!important}
.of-share-fallback{display:grid;grid-template-columns:1fr 1fr;gap:10px}.of-share-fallback .of-return{font-size:16px!important}
@media(max-width:480px){.of-swipe-guide{font-size:18px;gap:9px;min-height:57px}.of-swipe-hand{width:43px;height:51px;flex-basis:43px}.of-gallery-actions{gap:8px}body.tema-ofrenda .of-gallery-actions .of-return{font-size:15px!important;padding:8px!important}.of-simple-pages{gap:7px}.of-simple-pages button{font-size:14px;padding:7px 8px}.of-letter-candle>.of-lantern{width:74px;height:119px}.of-book-list .of-memory-card{grid-template-columns:75px minmax(0,1fr);gap:12px;padding:18px 12px!important}.of-letter-copy h3{font-size:20px}.of-letter-copy blockquote{font-size:18px;line-height:1.45}.of-letter-copy .of-reaction{min-height:42px;padding:8px 12px!important}.of-book-scroll .of-paper-sheet{padding:15px 12px 20px}.of-book-intro{font-size:16px!important}.of-bubble-layer{padding:12px}.of-story-bubble{padding:18px 18px 20px}.of-bubble-candle{height:100px}.of-bubble-candle>.of-lantern{width:70px;height:98px}body.tema-ofrenda .of-story-bubble #ofBubbleCopy{font-size:18px!important}.of-story-bubble #ofBubbleTitle{font-size:23px!important}}
@media(max-height:650px){.of-altar-controls{padding:7px 10px 10px;gap:6px}.of-example-notice{font-size:10px!important}.of-community-count{font-size:13px}.of-simple-pages{min-height:32px}.of-simple-pages button{min-height:30px;padding:5px 8px}.of-gallery-actions .of-return{min-height:37px!important}.of-altar-controls>.of-primary{min-height:40px!important}.of-altar-heading h2{font-size:28px!important}.of-light-entry{margin-top:8px!important}.of-ritual-intro{min-height:350px;padding-top:25px}.of-niche{height:200px}}
@media(prefers-reduced-motion:reduce){.of-swipe-hand,.of-own-arrival,.of-own-arrival .of-lantern,.of-bubble-candle>.of-lantern,.of-scene-candles,.of-ritual-petal,.of-niche>.of-lantern,body.tema-ofrenda .of-invite .of-primary,body.tema-ofrenda .of-view-form .of-form-submit{animation:none!important}}

/* El gesto aparece sobre las tarjetas, sin placa, y deja pasar los toques. */
.of-swipe-guide,.catalogo-scroll-hint{display:none!important}
.of-swipe-overlay{position:absolute;left:50%;transform:translate(-50%,-50%);z-index:12;width:min(90%,360px);box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;pointer-events:none;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;opacity:.88;color:#fff6df;text-align:center;text-shadow:0 2px 3px #160d1c,0 -1px 3px #160d1c,2px 0 3px #160d1c,-2px 0 3px #160d1c;font:23px/1.15 'Lilita Tlapa',Arial,sans-serif}
.of-swipe-overlay[hidden]{display:none!important}.of-swipe-overlay>.of-swipe-hand{width:70px;height:83px;flex:none;color:#633b43;filter:drop-shadow(0 2px 3px #20121c);animation:of-hand-swipe 1.3s ease-in-out infinite}
.of-swipe-overlay>span{max-width:330px}.category-start-card,.upsell-card,#pickerModal .modal-card{position:relative}
/* Los controles no dependen de desplazar la ficha: sólo el campo utiliza el espacio restante. */
.of-dialog.of-view-form,.of-dialog.of-view-privacy,.of-dialog.of-view-author{box-sizing:border-box;width:min(530px,calc(100% - 20px));height:min(520px,calc(var(--of-visible-height,100dvh) - 16px));max-height:calc(var(--of-visible-height,100dvh) - 16px);overflow:hidden;background:#fff0d9}
.of-dialog:is(.of-view-form,.of-view-privacy,.of-view-author)[open]{display:flex;flex-direction:column}
.of-dialog:is(.of-view-form,.of-view-privacy,.of-view-author) .of-dialog-content{display:flex;flex:1;min-height:0;overflow:hidden;background:linear-gradient(#fff5e3f5,#f5e5ccf5),url('/assets/produccion-r87/ofrenda-r37/patio.webp?v=r87.1') center/cover}
.of-view-form .of-form-card{width:100%;height:100%;min-height:0;box-sizing:border-box;display:flex;gap:12px;padding:18px}
.of-view-form .of-form-heading{flex:0 0 auto}.of-view-form .of-form-heading h2{font-size:27px!important;line-height:1.1}
.of-view-form .of-form-small-candle{display:none}
.of-view-form .of-form-card #ofForm{display:flex;flex:1;flex-direction:column;min-height:0;gap:10px}
.of-view-form .of-name-fields,.of-view-form .of-recipient-summary,.of-view-form .of-error{flex:0 0 auto}
.of-view-form .of-recipient-summary{height:25px;min-height:0;font-size:16px}
.of-view-form .of-thought-fields{flex:1;display:flex;flex-direction:column;min-height:0;gap:5px}
.of-view-form .of-form-card label[for=ofText]{flex:0 0 auto;margin:0;font-size:16px;line-height:1.1}
.of-view-form .of-form-card #ofText{flex:1;min-height:0!important;height:0!important;max-height:none;margin:0;resize:none;padding:10px 12px;font-size:18px!important}
.of-view-form .of-form-card #ofCount{flex:0 0 auto;margin:0;font-size:11px;line-height:1.1}
.of-view-form .of-form-actions{display:flex;flex:0 0 auto;flex-direction:column;gap:10px;padding:3px 6px}
body.tema-ofrenda .of-view-form .of-form-actions .of-form-submit{box-sizing:border-box;height:48px;min-height:48px!important;margin:0!important;padding:10px!important;line-height:1.1;font-size:21px!important;width:100%}
body.tema-ofrenda .of-view-form .of-form-actions .of-form-return{box-sizing:border-box;height:42px;min-height:42px!important;margin:0!important;padding:9px!important;font-size:17px!important;line-height:1.1}
.of-consent-card{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;width:100%;min-height:0;padding:22px;gap:15px;text-align:center}
.of-consent-card h2{font-size:27px!important;line-height:1.15;margin:0}.of-consent-card p{font-size:16px!important;line-height:1.3;margin:0}
.of-consent-candle{height:100px;flex:0 0 100px}.of-consent-candle .of-lantern{width:65px;height:96px;margin:auto}
.of-author-preview{color:#7c4558}.of-consent-actions{display:flex;flex-direction:column;gap:13px;flex:0 0 auto}
body.tema-ofrenda .of-consent-actions .of-primary,body.tema-ofrenda .of-consent-actions .of-return{width:100%;box-sizing:border-box;min-height:48px;margin:0;padding:12px!important;line-height:1.15;font-size:19px!important}
.of-edit-dedication{background:none;border:0;text-decoration:underline;font:15px 'Lilita Tlapa',sans-serif;color:#784758;padding:5px}
.of-consent-card #ofError{font-size:13px!important;color:#a4132e;line-height:1.2}
.of-consent-card #ofAuthorForm{display:flex;flex-direction:column;min-height:0;gap:13px}
.of-consent-card #ofAuthor{box-sizing:border-box;width:100%;min-height:46px;border:2px solid #b7a184;border-radius:10px;padding:10px 12px;font-size:18px!important;background:#fffaf0;color:#392634}
.of-dialog:is(.of-view-form,.of-view-privacy,.of-view-author)[data-keyboard=true]{position:fixed;top:calc(var(--of-visible-top,0px) + 8px);left:50%;right:auto;bottom:auto;transform:translateX(-50%);margin:0}
.of-dialog:is(.of-view-form,.of-view-privacy,.of-view-author)[data-short=true] .of-dialog-head{height:28px;min-height:28px;padding:3px 9px}
.of-dialog:is(.of-view-form,.of-view-privacy,.of-view-author)[data-short=true] .of-dialog-head>span{font-size:10px!important}
.of-dialog:is(.of-view-form,.of-view-privacy,.of-view-author)[data-short=true] .of-close{width:23px;height:23px;min-height:0;padding:0;font-size:20px}
.of-view-form[data-short=true] .of-form-card{padding:9px 12px;gap:7px}
.of-view-form[data-short=true] .of-form-heading h2{font-size:21px!important}
.of-view-form[data-short=true] .of-form-card #ofForm{gap:6px}
.of-view-form[data-short=true] .of-form-card #ofRecipient{min-height:38px;padding:7px 10px;font-size:16px!important}
.of-view-form[data-short=true] .of-recipient-summary{height:21px;font-size:14px}
.of-view-form[data-short=true] .of-form-card label[for=ofText]{font-size:13px!important}
.of-view-form[data-short=true] .of-form-card #ofText{font-size:16px!important;padding:8px 10px}
.of-view-form[data-short=true] .of-form-actions{gap:8px;padding-top:2px;padding-bottom:2px}
body.tema-ofrenda .of-view-form[data-short=true] .of-form-actions .of-form-submit{height:42px;min-height:42px!important;font-size:19px!important;padding:8px!important}
body.tema-ofrenda .of-view-form[data-short=true] .of-form-actions .of-form-return{height:35px;min-height:35px!important;font-size:16px!important;padding:7px!important}
.of-view-privacy[data-short=true] .of-consent-card,.of-view-author[data-short=true] .of-consent-card{gap:10px;padding:12px}
.of-view-privacy[data-short=true] .of-consent-card h2,.of-view-author[data-short=true] .of-consent-card h2{font-size:22px!important}
.of-view-privacy[data-short=true] .of-consent-candle{display:none}
.of-view-privacy[data-short=true] .of-consent-card p,.of-view-author[data-short=true] .of-consent-card p{font-size:14px!important}
.of-dialog[data-short=true] .of-consent-actions{gap:10px}
body.tema-ofrenda .of-dialog[data-short=true] .of-consent-actions :is(.of-primary,.of-return){min-height:41px;font-size:17px!important;padding:9px!important}
.of-order-entry{font-size:15px!important;min-height:37px!important}
.of-dialog .of-altar-controls>.of-order-entry{background:#fff7e7!important;color:#51223f!important;border:1px solid #b8996f!important;box-shadow:0 2px 0 #bb976b!important}
.of-share-caption{min-height:55px}
.of-view-form[data-tiny=true] .of-form-card{padding:6px 10px;gap:5px}.of-view-form[data-tiny=true] .of-form-heading h2{font-size:18px!important}
.of-view-form[data-tiny=true] .of-form-card #ofForm{gap:4px}.of-view-form[data-tiny=true] .of-recipient-summary{height:17px;font-size:12px}
.of-view-form[data-tiny=true] .of-form-card label[for=ofText]{display:none}.of-view-form[data-tiny=true] .of-form-card #ofCount{font-size:9px}
.of-view-form[data-tiny=true] .of-form-card #ofRecipient{min-height:33px;padding:6px 9px}.of-view-form[data-tiny=true] .of-form-actions{gap:6px;padding:2px 6px}
body.tema-ofrenda .of-view-form[data-tiny=true] .of-form-actions .of-form-submit{height:35px;min-height:35px!important;font-size:17px!important;padding:7px!important}
body.tema-ofrenda .of-view-form[data-tiny=true] .of-form-actions .of-form-return{height:30px;min-height:30px!important;font-size:14px!important;padding:6px!important}
.of-view-author[data-tiny=true] .of-consent-card{padding:8px 12px;gap:7px}.of-view-author[data-tiny=true] .of-consent-card h2{font-size:18px!important}.of-view-author[data-tiny=true] #ofAuthorForm{gap:8px}.of-view-author[data-tiny=true] #ofAuthor{min-height:36px;padding:7px 9px;font-size:16px!important}
body.tema-ofrenda .of-view-author[data-tiny=true] .of-consent-actions :is(.of-primary,.of-return){min-height:34px;font-size:15px!important;padding:7px!important}
.of-niche>.of-lantern{animation-duration:5.4s}.of-igniting .of-niche>.of-lantern{animation-duration:4.8s}
.of-ritual-petal{animation-duration:5.4s}
.of-exit-scene{animation-duration:8.4s}.of-exit-link{font-size:15px;color:#fff1d5;text-decoration:underline;margin-top:26px}
.of-example-notice,.of-example-badge{display:none!important}
@media(prefers-reduced-motion:reduce){.of-swipe-overlay>.of-swipe-hand{animation:none!important}}
