/* Ajustes de integración con WordPress/WooCommerce (no forman parte del diseño original) */
body.admin-bar header.site{top:32px}
@media (max-width:782px){body.admin-bar header.site{top:46px}}
.pa-content{padding:48px 0;min-height:50vh}
.pa-title{font-size:clamp(1.8rem,3vw,2.6rem);margin-bottom:24px}
.pa-content .woocommerce,.pa-content p{color:var(--text)}
.pa-content a{text-decoration:underline;text-underline-offset:3px}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* Cabecera (Fase 2) */
[hidden]{display:none!important}
.thumb img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.line a{color:inherit}
.line a:hover{text-decoration:underline}
.pa-empty{padding:18px 0;color:var(--muted);font-size:.9rem;text-align:center}
.pa-mini-body{display:contents}
.promo .side:empty{display:none}

/* Catálogo (Fase 4) */
.prod .im img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s var(--ease)}
@media (hover:hover){.prod:hover .im img{transform:scale(1.05)}}
.prod .hb{z-index:2}
.prod .im img~.hb{background:rgba(10,10,10,.55);color:rgba(255,255,255,.85);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.prod .im img~.hb[aria-pressed=true]{color:var(--red-soft)}
.prod .off{position:absolute;top:10px;left:10px;z-index:2;padding:3px 9px;border-radius:999px;background:var(--red);color:#fff;font-size:.72rem;font-weight:800;letter-spacing:.02em;font-variant-numeric:tabular-nums}
.prod .rt span{color:var(--muted)}
.pa-from{font-size:.72rem;font-weight:500;color:var(--muted);margin-right:2px}
.prod .pr small del{color:var(--muted);text-decoration:line-through}
.prod .pr .amount,.prod .pr bdi{font:inherit}
.pa-out{flex:none;padding:6px 11px;border-radius:999px;border:1px solid var(--line);font-size:.74rem;font-weight:700;color:var(--muted)}
.prod.is-out .im>svg,.prod.is-out .im img{opacity:.45}
.prod .add[aria-busy=true]{opacity:.6;pointer-events:none}
.prod.pa-leave{opacity:0;transform:scale(.94);transition:opacity .25s,transform .25s var(--ease)}
.prods .cats-link{margin-top:28px}
.pa-content .prod a,.pa-content .pa-pager a,.pa-content .btn,.pa-arch a{text-decoration:none}

/* Tienda, categorías, etiquetas y búsqueda */
.pa-arch{padding-top:28px}
.pa-h1{font-size:clamp(1.7rem,3vw,2.5rem);font-weight:800;letter-spacing:-.025em;line-height:1.08}
.pa-sub{max-width:62ch;margin-top:10px;color:var(--muted);font-size:.95rem;line-height:1.55}
.pa-sub p{color:inherit}
.pa-sort{display:flex;align-items:center;gap:10px;font-size:.84rem;font-weight:600;color:var(--muted)}
.pa-sort select{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px 34px 10px 14px;font:inherit;font-size:.86rem;font-weight:600;color:var(--text);cursor:pointer}
.pa-sort select option{background:var(--surface);color:var(--text)}
.pa-chips{margin-bottom:6px}
a.ptab{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
a.ptab svg{width:15px;height:15px}
.ptab[aria-current]{background:#fff;color:var(--ink);border-color:#fff}
.pa-sale-chip svg{color:var(--red-soft)}
.pa-sale-chip[aria-current] svg{color:var(--red)}
.pa-count{margin:14px 0 24px;font-size:.84rem;color:var(--muted)}
.pa-pager{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:48px}
.pa-pager .page-numbers{min-width:40px;height:40px;padding:0 12px;border-radius:12px;border:1px solid var(--line);display:inline-grid;place-items:center;font-size:.88rem;font-weight:600;font-variant-numeric:tabular-nums;transition:background .2s,color .2s,border-color .2s}
.pa-pager a.page-numbers:hover{background:rgba(255,255,255,.09)}
.pa-pager .page-numbers.current{background:#fff;color:var(--ink);border-color:#fff}
.pa-pager .page-numbers.dots{border-color:transparent}

/* Lista de deseos y estados vacíos */
.pa-wish-count-line{margin-bottom:24px;font-size:.88rem;color:var(--muted)}
.pa-empty-box{display:grid;justify-items:center;gap:10px;padding:72px 16px;text-align:center}
.pa-empty-box svg{width:44px;height:44px;opacity:.45;fill:none;stroke:currentColor;stroke-width:1.5}
.pa-empty-box h2{font-size:1.35rem;font-weight:800;letter-spacing:-.02em}
.pa-empty-box p{max-width:44ch;color:var(--muted)}
.pa-empty-box .btn{display:inline-grid;place-items:center;width:auto;min-width:180px;margin-top:10px;padding:12px 24px}
.pa-note{margin-top:36px;font-size:.84rem;color:var(--muted)}
.pa-note a{text-decoration:underline;text-underline-offset:3px}

@media (max-width:620px){
	.prod .off{top:6px;left:6px;padding:2px 7px;font-size:.66rem}
	.pa-sort label{display:none}
	.pa-sort{width:100%}
	.pa-sort select{width:100%}
	.pa-arch{padding-top:16px}
	.pa-empty-box{padding:48px 8px}
}

/* Ficha de producto: ver pelisanime-pdp.css */

/* Reseñas nativas de WooCommerce, adaptadas al tema oscuro */
#reviews{margin-top:14px;color:var(--muted);font-size:.92rem;line-height:1.6}
#reviews h2,#reviews .comment-reply-title,#reviews .woocommerce-Reviews-title{font-size:1rem;font-weight:700;color:var(--text);margin:6px 0 14px;display:block}
#reviews ol.commentlist{list-style:none;margin:0;padding:0;display:grid;gap:14px}
#reviews ol.commentlist li{border:1px solid var(--line);border-radius:14px;padding:14px 16px;background:rgba(255,255,255,.03)}
#reviews .comment_container{display:flex;gap:12px}
#reviews .comment_container img.avatar{width:40px;height:40px;border-radius:50%;flex:none}
#reviews .comment-text{flex:1;min-width:0}
#reviews .meta{margin:4px 0 6px;font-size:.82rem}
#reviews .meta strong{color:var(--text)}
#reviews .description p{color:var(--muted)}
#reviews .star-rating{color:var(--yellow)}
#reviews p.stars a{color:var(--yellow)}
#reviews .comment-form{display:grid;gap:12px;margin-top:16px}
#reviews .comment-form label{display:block;margin-bottom:6px;font-weight:600;color:var(--text)}
#reviews textarea,#reviews input[type=text],#reviews input[type=email],#reviews select{width:100%;background:var(--surface);border:1px solid var(--line);border-radius:12px;color:var(--text);padding:12px 14px;font:inherit}
#reviews textarea{min-height:110px;resize:vertical}
#reviews input[type=submit],#reviews .submit{min-height:48px;padding:0 26px;border-radius:999px;background:#f5f5f5;color:#0a0a0a;font-weight:700;cursor:pointer;border:0}
#reviews .woocommerce-noreviews,#reviews .woocommerce-verification-required{color:var(--muted)}



/* Carrito y checkout (Fase 6) */
body.pa-co header.site,body.pa-co .promo,body.pa-co .bnav,body.pa-co .drawer{display:none}
body.pa-co{padding-bottom:0}
.co.co-page{position:static;visibility:visible;opacity:1;transform:none;overflow:visible;z-index:auto;background:transparent;min-height:70vh;transition:none}
.co-top{top:0}
.co-top a.co-back{display:flex;align-items:center;gap:6px;padding:8px 10px;border-radius:10px;font-weight:600;font-size:.9rem;color:var(--muted);text-decoration:none}
.co-top a.co-back:hover{color:var(--text)}
.co-top a.co-back svg{width:16px;height:16px;transform:rotate(90deg)}
.co-top .sec svg{width:16px;height:16px}
.co-page .co-sum{top:72px}
.co-page>.woocommerce-notices-wrapper,.co-page>.woocommerce>.woocommerce-notices-wrapper,.co-page .woocommerce-form-coupon-toggle,.co-page .woocommerce-form-login-toggle,.co-page form.checkout_coupon,.co-page form.woocommerce-form-login,.co-page .woocommerce-NoticeGroup-checkout{max-width:1020px;margin-left:auto;margin-right:auto;padding-left:20px;padding-right:20px}
.co-page .woocommerce-NoticeGroup-checkout{padding-top:18px}
.pa-co .woocommerce-message,.pa-co .woocommerce-error,.pa-co .woocommerce-info,.pa-cart .woocommerce-message,.pa-cart .woocommerce-error,.pa-cart .woocommerce-info{list-style:none;margin:0 0 16px;padding:14px 18px;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.05);color:var(--text);font-size:.9rem;line-height:1.5}
.pa-co .woocommerce-error,.pa-cart .woocommerce-error{border-color:rgba(229,50,45,.55);background:rgba(229,50,45,.1)}
.pa-co .woocommerce-error li{margin:2px 0}
.pa-co .woocommerce-info a,.pa-cart .woocommerce-info a{text-decoration:underline;text-underline-offset:3px}
.co-page form.checkout_coupon{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:16px}
.co-page form.checkout_coupon p{margin:0}
.co-page form.checkout_coupon .form-row-first{flex:1;min-width:180px}

/* Campos de WooCommerce con el estilo del diseño */
.co .form-row{float:none!important;width:auto!important;margin:0!important;padding:0!important;display:block;font-size:.78rem;font-weight:600;color:var(--muted)}
.co .fg .form-row-wide{grid-column:1/-1}
.co .form-row label{display:block;line-height:1.3}
.co .woocommerce-input-wrapper{display:block}
.co .form-row .input-text,.co .form-row select,.co .form-row textarea,.co .woocommerce-input-wrapper select{display:block;width:100%;height:46px;margin-top:6px;padding:0 14px;background:var(--surface-2);border:1px solid var(--line);border-radius:12px;color:var(--text);font:inherit;font-size:16px;font-weight:400;-webkit-appearance:none;appearance:none}
.co .form-row select{padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a3a3a3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}
.co .form-row textarea{height:auto;min-height:84px;padding:12px 14px;resize:vertical}
.co .form-row .input-text:focus,.co .form-row select:focus,.co .form-row textarea:focus{outline:0;border-color:rgba(255,255,255,.55);box-shadow:0 0 0 3px rgba(255,255,255,.1)}
.co .form-row.woocommerce-invalid .input-text,.co .form-row.woocommerce-invalid select{border-color:#e5322d}
.co abbr.required{color:var(--red-soft);text-decoration:none;border:0}
.co .optional{font-weight:400}
.co .pa-account{margin-top:14px;display:grid;gap:12px}
.co .form-row.woocommerce-validated .input-text{border-color:var(--line)}
.co input[type=checkbox]{accent-color:#fff;width:16px;height:16px;vertical-align:-3px;margin-right:8px}

/* Envío y pago */
.pa-ship-methods .opt b{white-space:nowrap}
.co #payment{background:transparent;border-radius:0}
.co #payment ul.payment_methods{list-style:none;margin:0;padding:0;border:0}
.co #payment li.wc_payment_method{margin:0 0 10px;padding:14px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.03);list-style:none;transition:border-color .2s,background .2s}
.co #payment li.wc_payment_method:has(input:checked){border-color:#fff;background:rgba(255,255,255,.08)}
.co #payment li.wc_payment_method>input{accent-color:#fff;width:18px;height:18px;vertical-align:-4px;margin:0 10px 0 0}
.co #payment li.wc_payment_method>label{display:inline;font-weight:600;font-size:.92rem;color:var(--text);cursor:pointer}
.co #payment li.wc_payment_method img{max-height:22px;width:auto;margin-left:8px;vertical-align:middle}
.co #payment div.payment_box{margin:12px 0 0;padding:12px 14px;border-radius:10px;background:var(--surface-2);color:var(--muted);font-size:.84rem;line-height:1.55}
.co #payment div.payment_box::before{display:none}
.co #payment div.payment_box p{color:inherit;margin:0 0 8px}
.co #payment div.payment_box input.input-text,.co #payment div.payment_box select{margin-top:6px}
.co .woocommerce-terms-and-conditions-wrapper,.co .woocommerce-privacy-policy-text{font-size:.78rem;color:var(--muted);line-height:1.5}
.co .woocommerce-privacy-policy-text a,.co .woocommerce-terms-and-conditions-wrapper a{text-decoration:underline}
.co #payment .place-order{margin:14px 0 0;padding:0}
.co .co-pay,.co #place_order{display:block;width:100%;height:58px;padding:0 20px;border-radius:999px;font-size:1rem;float:none}
.co .co-pay:hover{filter:brightness(.94)}
.co .co-pay:disabled{opacity:.55;cursor:not-allowed}
.co .woocommerce-checkout-payment .woocommerce-notice,.co .woocommerce-checkout-payment .woocommerce-info{margin:0}

/* Resumen */
.co-items{margin-bottom:6px}
.co-item{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
.co-item:first-child{padding-top:2px}
.co-item-img{position:relative;width:56px;height:56px}
.co-item-img img{width:56px;height:56px;object-fit:cover;border-radius:12px;display:block;background:var(--surface)}
.co-qty{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#fff;color:var(--ink);font-size:.7rem;font-weight:800;display:grid;place-items:center}
.co-item-name{font-size:.88rem;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.co-item-name dl{font-weight:400;color:var(--muted);font-size:.78rem;margin-top:2px}
.co-item-name dl dt,.co-item-name dl dd{display:inline}.co-item-name dl dd p{display:inline;margin:0}
.co-item-total{font-size:.88rem;font-weight:700;white-space:nowrap}
.co-row.cart-discount{color:#34d399}
.co-row a.woocommerce-remove-coupon{margin-left:6px;font-size:.78rem;text-decoration:underline}
.co-row>span:last-child{text-align:right}
.co-row .includes_tax{display:block;font-size:.72rem;font-weight:400;color:var(--muted)}

/* Carrito */
.pa-cart-h1{margin-bottom:20px}
.pa-cart-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:32px;align-items:start;margin-top:8px}
.pa-cart .pa-content .ship{max-width:520px;margin-bottom:18px}
.pa-ci{display:grid;grid-template-columns:88px minmax(0,1fr) auto auto 36px;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}
.pa-ci:first-child{border-top:1px solid var(--line)}
.pa-ci-img img{width:88px;height:88px;object-fit:cover;border-radius:14px;display:block;background:var(--surface)}
.pa-ci .product-name{font-weight:700;line-height:1.3}
.pa-ci .product-name a{text-decoration:none}.pa-ci .product-name a:hover{text-decoration:underline}
.pa-ci .product-name dl{font-weight:400;color:var(--muted);font-size:.82rem;margin-top:4px}
.pa-ci .product-name dl dt,.pa-ci .product-name dl dd{display:inline}.pa-ci .product-name dl dd p{display:inline;margin:0}
.pa-ci .product-price{margin-top:4px;color:var(--muted);font-size:.88rem}
.pa-ci .quantity.pa-qty{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.05);overflow:hidden}
.pa-ci .quantity .pa-q{width:38px;height:42px;font-size:1.15rem;color:var(--text);transition:background .2s}
.pa-ci .quantity .pa-q:hover{background:rgba(255,255,255,.1)}
.pa-ci .quantity input.qty{width:42px;height:42px;border:0;background:transparent;color:var(--text);text-align:center;font:inherit;font-weight:700;-moz-appearance:textfield}
.pa-ci .quantity input.qty::-webkit-outer-spin-button,.pa-ci .quantity input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.pa-ci .product-subtotal{min-width:84px;text-align:right;font-weight:700}
.pa-ci .product-remove a.remove{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:transparent!important;color:var(--muted)!important;font-size:1.4rem;font-weight:400;line-height:1;text-decoration:none}
.pa-ci .product-remove a.remove:hover{background:rgba(255,255,255,.1)!important;color:#fff!important}
.pa-cart-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center;margin-top:20px}
.pa-cart-actions .coupon{display:flex;gap:8px;flex-wrap:wrap}
.pa-cart-actions .coupon input.input-text{height:44px;min-width:180px;padding:0 14px;background:var(--surface-2);border:1px solid var(--line);border-radius:12px;color:var(--text);font:inherit;font-size:16px}
.pa-cart-actions .btn{margin-top:0;padding:0 20px;height:44px;display:inline-grid;place-items:center;border:0;cursor:pointer;color:var(--text)}
.pa-cart-actions button:disabled{opacity:.5;cursor:default}
.pa-cart .cart-collaterals{position:sticky;top:96px;padding:20px;background:var(--surface-2);border:1px solid var(--line);border-radius:20px}
.pa-cart .cart_totals h2{font-size:1.05rem;font-weight:700;margin-bottom:8px}
.pa-cart .cart_totals table{width:100%;border-collapse:collapse}
.pa-cart .cart_totals th,.pa-cart .cart_totals td{padding:10px 0;border:0;text-align:left;font-size:.9rem;vertical-align:top;color:var(--muted)}
.pa-cart .cart_totals td{text-align:right}
.pa-cart .cart_totals tr.order-total th,.pa-cart .cart_totals tr.order-total td{padding-top:16px;border-top:1px solid var(--line);font-size:1.1rem;font-weight:700;color:var(--text)}
.pa-cart .cart_totals ul#shipping_method{list-style:none;margin:0;padding:0}
.pa-cart .cart_totals ul#shipping_method li{margin-bottom:6px}
.pa-cart .shipping-calculator-button{text-decoration:underline;text-underline-offset:3px}
.pa-cart .shipping-calculator-form{display:grid;gap:8px;margin-top:10px;text-align:left}
.pa-cart .shipping-calculator-form input.input-text,.pa-cart .shipping-calculator-form select{width:100%;height:42px;padding:0 12px;background:var(--surface);border:1px solid var(--line);border-radius:10px;color:var(--text);font:inherit}
.pa-cart .shipping-calculator-form button{height:42px;border-radius:10px;background:rgba(255,255,255,.1);color:var(--text);font-weight:700;border:0}
.pa-cart .wc-proceed-to-checkout{padding:14px 0 0}
.pa-cart .checkout-button{display:block;margin:0;padding:16px;border-radius:999px;background:var(--grad)!important;color:var(--ink)!important;font-weight:700;text-align:center;text-decoration:none;font-size:1rem}
.pa-cart .checkout-button:hover{filter:brightness(.94)}

/* Pedido confirmado */
.co-page .co-ok{display:block;padding-bottom:28px}
.co-ok .tick.bad{background:var(--red);color:#fff}
.pa-order-meta{list-style:none;display:grid;gap:8px;max-width:340px;margin:0 auto;padding:0;font-size:.9rem}
.pa-order-meta li{display:flex;justify-content:space-between;gap:16px}
.pa-order-meta span{color:var(--muted)}
.pa-order-wrap{max-width:760px;margin:0 auto;padding:0 20px 72px;color:var(--muted);font-size:.92rem;line-height:1.6}
.pa-order-wrap h2{font-size:1.05rem;font-weight:700;color:var(--text);margin:28px 0 12px}
.pa-order-wrap table{width:100%;border-collapse:collapse}
.pa-order-wrap th,.pa-order-wrap td{padding:10px 0;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.pa-order-wrap td:last-child,.pa-order-wrap tfoot td{text-align:right}
.pa-order-wrap tfoot th{font-weight:500}
.pa-order-wrap a{text-decoration:underline;text-underline-offset:3px}
.pa-order-wrap ul{list-style:none;margin:0 0 12px;padding:0}
.pa-order-wrap .woocommerce-order-overview{display:none}
.pa-order-wrap address{font-style:normal;padding:14px 16px;border:1px solid var(--line);border-radius:14px;line-height:1.6}
.pa-order-wrap .woocommerce-bacs-bank-details ul.order_details{display:grid;gap:6px;padding:14px 16px;border:1px solid var(--line);border-radius:14px}
.pa-order-wrap .woocommerce-columns--addresses{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.pa-order-wrap .woocommerce-columns--addresses .col-1,.pa-order-wrap .woocommerce-columns--addresses .col-2{float:none;width:auto}

@media (max-width:860px){
	.pa-cart-grid{grid-template-columns:1fr;gap:20px}
	.pa-cart .cart-collaterals{position:static}
	.pa-ci{grid-template-columns:72px minmax(0,1fr) 34px;gap:10px 12px}
	.pa-ci-img img{width:72px;height:72px}
	.pa-ci-img{grid-row:1/3}
	.pa-ci-info{grid-column:2;grid-row:1}
	.pa-ci .product-remove{grid-column:3;grid-row:1;align-self:start}
	.pa-ci .product-quantity{grid-column:2;grid-row:2}
	.pa-ci .product-subtotal{grid-column:3;grid-row:2;min-width:0;align-self:center}
	.pa-cart-actions{flex-direction:column;align-items:stretch}
	.pa-cart-actions .coupon input.input-text{flex:1}
	.pa-order-wrap .woocommerce-columns--addresses{grid-template-columns:1fr}
	.pa-co .co-page .place-order,.co #payment .place-order{position:sticky;bottom:0;z-index:2;padding:12px 0 calc(12px + env(safe-area-inset-bottom,0px));background:linear-gradient(transparent,var(--bg) 30%)}
}

/* ---- Fase 7: personalizador 3D ---- */
.pz-list li.pz-abre{cursor:pointer}
.pz-list li:not(.pz-abre){opacity:.55}
.pa-design-thumb{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit;background:#111}

/* Entrada escalonada de las tarjetas de la cuadrícula (igual que el diseño original: 40 ms por tarjeta) */
.pgrid>.prod:nth-child(2){animation-delay:40ms}
.pgrid>.prod:nth-child(3){animation-delay:80ms}
.pgrid>.prod:nth-child(4){animation-delay:120ms}
.pgrid>.prod:nth-child(5){animation-delay:160ms}
.pgrid>.prod:nth-child(6){animation-delay:200ms}
.pgrid>.prod:nth-child(7){animation-delay:240ms}
.pgrid>.prod:nth-child(8){animation-delay:280ms}
.pgrid>.prod:nth-child(9){animation-delay:320ms}
.pgrid>.prod:nth-child(10){animation-delay:360ms}
.pgrid>.prod:nth-child(11){animation-delay:400ms}
.pgrid>.prod:nth-child(12){animation-delay:440ms}
.pgrid>.prod:nth-child(13){animation-delay:480ms}
.pgrid>.prod:nth-child(14){animation-delay:520ms}
.pgrid>.prod:nth-child(15){animation-delay:560ms}
.pgrid>.prod:nth-child(16){animation-delay:600ms}
.pgrid>.prod:nth-child(17){animation-delay:640ms}
.pgrid>.prod:nth-child(18){animation-delay:680ms}
.pgrid>.prod:nth-child(19){animation-delay:720ms}
.pgrid>.prod:nth-child(20){animation-delay:760ms}
.pgrid>.prod:nth-child(21){animation-delay:800ms}
.pgrid>.prod:nth-child(22){animation-delay:840ms}
.pgrid>.prod:nth-child(23){animation-delay:880ms}
.pgrid>.prod:nth-child(24){animation-delay:920ms}

/* ===== Blindaje del diseño (0.7.4): evita que estilos ajenos pisen cabecera e inicio ===== */
body.pa-site{font-family:var(--font);color:var(--text)}
body.pa-site header.site li,body.pa-site .drawer li,body.pa-site .hero li{list-style:none!important}
body.pa-site header.site li::marker,body.pa-site .drawer li::marker{content:none!important}
body.pa-site .nav>.wrap>ul>li>a,body.pa-site .nav>.wrap>ul>li>button,body.pa-site .nav .right a{background:transparent;border:0;box-shadow:none;text-transform:none;letter-spacing:normal}
body.pa-site .nav>.wrap>ul>li.sale>a{background:rgba(255,59,48,.14)}
body.pa-site .nav>.wrap>ul>li.sale>a:hover{background:var(--red)}
body.pa-site .menu-toggle,body.pa-site .hero .tab,body.pa-site .act:not(.cartbtn){border:0;box-shadow:none;text-transform:none}
body.pa-site .hero .tab,body.pa-site .menu-toggle{background:transparent}
body.pa-site .hero .tab{color:var(--muted);border-radius:0}
body.pa-site .hero .tab[aria-selected=true]{color:var(--text)}
body.pa-site .search input,body.pa-site .search select{background:transparent;box-shadow:none;border-radius:0;color:var(--text)}
body.pa-site .search select{color:var(--muted)}
body.pa-site .search .go{background:var(--grad);color:var(--ink);border:0;border-radius:10px;text-transform:none}
body.pa-site .cartbtn{background:var(--grad);color:var(--ink)}
body.pa-site .hero .copy h2{color:var(--text);font-family:var(--font);text-transform:none}
body.pa-site .hero .copy p,body.pa-site .hero .copy .price small{font-family:var(--font);color:var(--muted)}
body.pa-site .hero .chips a,body.pa-site .hero .chips span{color:var(--text);font-family:var(--font)}
body.pa-site .hero .chips a:hover{color:var(--ink)}
body.pa-site .hero .cta .btn.p{color:var(--ink);background:var(--grad)}
body.pa-site .promo,body.pa-site .promo a{color:var(--muted)}
body.pa-site .promo b{color:var(--text)}

/* ===== 0.7.5: buscador, botones azules y flechas del banner ===== */
html body.pa-site .search form input,html body.pa-site .search form input[type=search]{border:0!important;outline:0!important;box-shadow:none!important;border-radius:0!important;background:transparent!important;color:var(--text)!important;-webkit-appearance:none;appearance:none;height:46px;padding:0 12px;font:inherit;font-size:.95rem}
html body.pa-site .search form input::placeholder{color:var(--muted)!important;opacity:1}
html body.pa-site .search form input::-webkit-search-cancel-button,html body.pa-site .search form input::-webkit-search-decoration{-webkit-appearance:none;display:none}
html body.pa-site .search form{background:rgba(255,255,255,.05)!important;border:1px solid var(--line)!important;border-radius:14px!important;box-shadow:none}
html body.pa-site .search form:focus-within{border-color:rgba(255,255,255,.65)!important;background:rgba(255,255,255,.08)!important;box-shadow:0 0 0 4px rgba(255,255,255,.14),0 10px 32px -10px rgba(255,255,255,.45)!important}
html body.pa-site .search form select{background:transparent!important;border:0!important;border-left:1px solid var(--line)!important;border-radius:0!important;box-shadow:none;outline:0;color:var(--muted)!important}
html body.pa-site .search form .go{background:var(--grad)!important;color:var(--ink)!important;border:0!important;border-radius:10px!important}
html body.pa-site .actions a.act,html body.pa-site .actions a.act svg,html body.pa-site .actions .act .t{color:var(--text)}
html body.pa-site .actions a.act:hover{background:rgba(255,255,255,.07)}
html body.pa-site .actions .act.wish:hover svg{color:var(--red-soft)}
html body.pa-site .actions .cartbtn,html body.pa-site .actions .cartbtn svg,html body.pa-site .actions .cartbtn .lbl{color:var(--ink)}
html body.pa-site .actions .cartbtn .badge{background:var(--ink);color:var(--yellow)}
html body.pa-site .actions .badge{color:#fff}
html body.pa-site .btn.p,html body.pa-site .btn.p svg{color:var(--ink)}
html body.pa-site .btn.p{background:var(--grad)}
html body.pa-site .nav .right a{color:var(--muted)}
html body.pa-site .nav .right a:hover{color:var(--text)}
html body.pa-site .hero .arrs{gap:12px}
html body.pa-site .hero .arr{position:relative;width:48px;height:48px;padding:0;border-radius:50%;border:1px solid rgba(255,255,255,.28)!important;background:rgba(10,10,10,.5)!important;color:#fff!important;box-shadow:0 8px 24px -8px rgba(0,0,0,.7),inset 0 1px 0 rgba(255,255,255,.12);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:grid;place-items:center;cursor:pointer;transition:background .25s var(--ease),color .25s var(--ease),transform .25s var(--ease),border-color .25s}
html body.pa-site .hero .arr svg{width:20px;height:20px;stroke-width:2.2;transition:transform .25s var(--ease)}
@media (hover:hover){
html body.pa-site .hero .arr:hover{background:#fff!important;color:var(--ink)!important;border-color:#fff!important;transform:scale(1.07)}
html body.pa-site .hero .arr.next:hover svg{transform:translateX(3px)}
html body.pa-site .hero .arr.prev:hover svg{transform:scaleX(-1) translateX(3px)}
}
html body.pa-site .hero .arr:active{transform:scale(.93)}
@media (max-width:860px){html body.pa-site .hero .arr{width:40px;height:40px}}

/* 0.7.6: sin desvanecido negro arriba del banner */
html body.pa-site .hero::before{content:none!important;display:none!important;background:none!important}

/* ===== 0.7.8: medidas exactas de la cabecera (sin márgenes, rellenos ni interlineado ajenos) ===== */
html body.pa-site header.site ul,html body.pa-site .promo ul{margin:0!important;padding:0!important;list-style:none!important}
html body.pa-site header.site .nav li{margin:0!important;padding:0!important;min-height:0!important}
html body.pa-site header.site .nav li.pill{padding:0!important}
html body.pa-site .promo,html body.pa-site .promo *,
html body.pa-site .nav,html body.pa-site .nav li,html body.pa-site .nav a,html body.pa-site .nav button,
html body.pa-site .search form,html body.pa-site .search input,html body.pa-site .search select,html body.pa-site .search .go,html body.pa-site .search .kbd,
html body.pa-site .actions .act,html body.pa-site .actions .act *{line-height:normal!important}
html body.pa-site .search{margin:0!important;padding:0!important}
html body.pa-site .search form{margin:0!important;padding:0!important;height:auto!important;min-height:0!important}
html body.pa-site .search form input,html body.pa-site .search form input[type=search]{margin:0!important;height:46px!important;min-height:0!important;max-height:46px!important;padding:0 12px!important;width:auto!important;flex:1 1 auto!important}
html body.pa-site .search form select{margin:10px 0!important;height:auto!important;min-height:0!important;padding:0 10px 0 14px!important;width:auto!important;max-width:130px!important}
html body.pa-site .search form .go{margin:4px!important;height:36px!important;min-height:0!important;padding:0 16px!important;width:auto!important}
html body.pa-site .search form .kbd{margin:0 10px 0 0!important}
html body.pa-site header.site .main{padding-top:14px;padding-bottom:10px}
html body.pa-site header.site.scrolled .main{padding-top:8px;padding-bottom:6px}
html body.pa-site header.site .nav>.wrap{margin-top:0!important;margin-bottom:0!important}
html body.pa-site .actions .act{height:42px;margin-top:0;margin-bottom:0}
html body.pa-site .promo select{margin:0!important;padding:0!important;min-height:0!important;height:auto!important;border:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important}
html body.pa-site .promo .side a{margin:0!important;padding:0!important}

/* ===== 0.7.9: banner a pantalla completa (ventana menos barra superior y cabecera) ===== */
@media (min-width:861px){
html body.pa-site .hero{aspect-ratio:auto!important;max-height:none!important;min-height:420px;height:calc(100vh - var(--pa-top,150px))!important;height:calc(100dvh - var(--pa-top,150px))!important}
}
html body.pa-site .hero .slide img{object-position:76% center}

/* ===== 0.7.10: fondo oscuro y textos de la sección de categorías ===== */
html{background:#080808}
html body.pa-site{background:radial-gradient(1100px 520px at 85% -8%,rgba(255,255,255,.07),transparent 60%),#080808!important;color:var(--text)}
html body.pa-site .cats-head h2{color:var(--text)!important;font-family:var(--font)}
html body.pa-site .cats-head p{color:var(--muted)!important}
html body.pa-site .cats-head .ey{color:var(--muted)!important;margin-left:0!important;padding-left:0!important}
html body.pa-site .cats-head .ey i{display:inline-block;width:28px;height:2px;background:linear-gradient(90deg,#fff,transparent)}
html body.pa-site .cat,html body.pa-site .cat:hover{text-decoration:none;background:#fff;color:#111}
html body.pa-site .cat h3{color:#0b0b0b!important}
html body.pa-site .cat p{color:#5c5c5c!important}
html body.pa-site .cat .tagp,html body.pa-site .cat .more{color:#0b0b0b!important}
html body.pa-site .cat .more span{background:#0b0b0b!important;color:#fff!important}
html body.pa-site .cat:hover .more span{background:#ffb347!important;color:#0b0b0b!important}
html body.pa-site .cat-grid,html body.pa-site .cat-grid>li{list-style:none!important;margin:0!important;padding:0!important}

/* ===== 0.7.13: cabecera estable (banner y editor 3D) ===== */
/* La cabecera ya no cambia de alto al hacer scroll: antes se compactaba y eso movía el banner (su alto depende de la cabecera)
   y encogía el editor 3D (que mide el espacio bajo la cabecera). Solo conserva la sombra. */
html body.pa-site header.site.scrolled .main{padding-top:14px;padding-bottom:10px}
html body.pa-site header.site.scrolled .logo img{height:50px}
html body.pa-site.pdp-on header.site.scrolled .main{padding-top:8px;padding-bottom:6px}
html body.pa-site.pdp-on header.site.scrolled .logo img{height:40px}
@media (max-width:860px){
	html body.pa-site header.site.scrolled .main,html body.pa-site.pdp-on header.site.scrolled .main{padding-top:10px;padding-bottom:10px}
	html body.pa-site header.site.scrolled .logo img,html body.pa-site.pdp-on header.site.scrolled .logo img{height:30px}
}
html body.pa-site header.site .main,html body.pa-site header.site .logo img{transition:none}
/* Si el tema pone overflow en html y en body, el body pasa a ser un contenedor con scroll propio y la cabecera "sticky" se va con la página.
   "clip" recorta lo que sobra a los lados sin crear ese contenedor. */
html body.pa-site{overflow-x:clip!important}
html body.pa-site header.site{position:sticky;top:0}
body.pa-site.admin-bar header.site{top:32px}
@media (max-width:782px){body.pa-site.admin-bar header.site{top:46px}}
/* Editor 3D: la rueda y el gesto de arrastre dentro del editor no mueven la página de atrás. */
#pzEditor{overscroll-behavior:contain;touch-action:none}

/* ===== 0.7.14: editor 3D sin animación de "atrás/adelante" del navegador ===== */
#pzEditor,#pzEditor iframe{overscroll-behavior:none;touch-action:none}
#pzEditor{transform:none!important;border-radius:0!important;scale:none!important;zoom:1!important}
#pzEditor iframe{transform:none!important}

/* v0.7.22 · tarjeta de producto rediseñada (precio grande, botón redondo, tarjeta con borde) */
html body.pa-site .prod{gap:12px;padding:10px 10px 12px;border-radius:20px;border:1px solid var(--line);background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.015));transition:transform .25s var(--ease),border-color .25s,background .25s,box-shadow .25s}
@media (hover:hover){html body.pa-site .prod:hover{transform:translateY(-4px);border-color:rgba(255,255,255,.2);box-shadow:0 14px 30px rgba(0,0,0,.45)}}
html body.pa-site .prod .im{border-radius:14px}
html body.pa-site .prod .hb{top:8px;right:8px;width:36px;height:36px;border-radius:50%;background:rgba(10,10,10,.6)!important;border:0!important;padding:0!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:rgba(255,255,255,.85)!important}
html body.pa-site .prod .hb[aria-pressed=true]{color:var(--red-soft)!important}
html body.pa-site .prod .pb{gap:6px;padding:2px 4px 0}
html body.pa-site .prod .pm{min-height:20px}
html body.pa-site .prod .pc{display:inline-flex;font-size:.72rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
html body.pa-site .prod h3{margin:0;font-size:1.02rem;font-weight:700;line-height:1.25;letter-spacing:-.01em;min-height:2.5em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body.pa-site .prod h3 a{color:var(--text,#f5f5f5)!important;text-decoration:none!important;transition:color .2s}
html body.pa-site .prod h3 a:hover{color:#fff!important}
html body.pa-site .prod .pf{margin-top:auto;padding-top:10px;border-top:1px solid var(--line);flex-wrap:nowrap;align-items:center;gap:8px}
html body.pa-site .prod .pr{display:flex;flex-direction:column;align-items:flex-start;min-width:0;font-size:1.65rem;font-weight:800;letter-spacing:-.03em;line-height:1.05;color:var(--text,#f5f5f5)}
html body.pa-site .prod .pr small{margin:2px 0 0;font-size:.72rem;font-weight:600;letter-spacing:.03em}
html body.pa-site .prod .pr .pa-from{font-size:.7rem;font-weight:600;color:var(--muted);letter-spacing:.02em}
html body.pa-site .prod .add{flex:none;display:grid;place-items:center;width:44px!important;height:44px!important;min-width:44px;padding:0!important;border:0!important;border-radius:50%!important;background:var(--blue,#2f6bff)!important;color:#fff!important;box-shadow:0 6px 16px rgba(47,107,255,.35);line-height:1;text-decoration:none!important}
html body.pa-site .prod .add svg{width:20px;height:20px}
@media (hover:hover){html body.pa-site .prod .add:hover{background:#fff!important;color:var(--ink,#0a0a0a)!important;transform:scale(1.06)}}
html body.pa-site .prod .add.ok{background:#34d399!important;color:var(--ink,#0a0a0a)!important;box-shadow:none}
html body.pa-site .prod .pa-out{font-size:.8rem;font-weight:700;color:var(--muted)}
@media (max-width:860px){
	html body.pa-site .prod{padding:7px 7px 10px;border-radius:16px;gap:9px}
	html body.pa-site .prod .im{border-radius:11px}
	html body.pa-site .prod h3{font-size:.84rem;min-height:2.5em}
	html body.pa-site .prod .pr{font-size:1.25rem}
	html body.pa-site .prod .add{width:34px!important;height:34px!important;min-width:34px}
	html body.pa-site .prod .add svg{width:16px;height:16px}
	html body.pa-site .prod .hb{width:30px;height:30px}
}

/* v0.7.23 · tarjeta de producto: botón «+» naranja de marca y acabado más cuidado */
html body.pa-site{--pa-add:#ff6a00;--pa-add-2:#ffb400}
html body.pa-site .prod{padding:10px 10px 14px;border-radius:22px;border-color:rgba(255,255,255,.08);background:linear-gradient(180deg,#171717 0%,#0f0f0f 100%);box-shadow:0 1px 0 rgba(255,255,255,.04) inset,0 8px 20px rgba(0,0,0,.35)}
@media (hover:hover){html body.pa-site .prod:hover{border-color:rgba(255,140,40,.45);box-shadow:0 1px 0 rgba(255,255,255,.05) inset,0 18px 36px rgba(0,0,0,.55),0 0 0 1px rgba(255,106,0,.12)}}
html body.pa-site .prod .im{border-radius:16px;box-shadow:0 0 0 1px rgba(255,255,255,.05) inset}
html body.pa-site .prod .im::after{content:"";position:absolute;inset:auto 0 0 0;height:38%;background:linear-gradient(0deg,rgba(0,0,0,.35),transparent);pointer-events:none;z-index:1}
html body.pa-site .prod .hb,html body.pa-site .prod .off{z-index:2}
html body.pa-site .prod .off{background:linear-gradient(135deg,#ff6a00,#ff3d00);box-shadow:0 4px 10px rgba(255,80,0,.4)}
html body.pa-site .prod .pb{gap:7px;padding:4px 6px 0}
html body.pa-site .prod .pc{padding:3px 10px 3px 8px;border-radius:999px;background:rgba(var(--a),.1);border:1px solid rgba(var(--a),.28);font-size:.68rem;font-weight:700;letter-spacing:.06em;color:rgba(255,255,255,.85)}
html body.pa-site .prod .rt{padding:2px 8px;border-radius:999px;background:rgba(255,255,255,.06);font-size:.74rem;font-weight:600}
html body.pa-site .prod .rt{color:#ffb400}
html body.pa-site .prod .rt i{color:var(--text,#f5f5f5)}
html body.pa-site .prod h3{margin-top:2px;font-size:1.05rem;font-weight:700}
html body.pa-site .prod .pf{margin-top:auto;padding-top:12px;border-top:1px dashed rgba(255,255,255,.1)}
html body.pa-site .prod .pr{font-size:1.75rem;font-weight:800;letter-spacing:-.035em}
html body.pa-site .prod .pr small{font-size:.7rem;font-weight:700;letter-spacing:.08em;color:var(--muted)}
html body.pa-site .prod .pr small del{opacity:.8}
html body.pa-site .prod .add{width:46px!important;height:46px!important;min-width:46px;border-radius:16px!important;background:linear-gradient(135deg,var(--pa-add-2),var(--pa-add))!important;color:#1a0f00!important;box-shadow:0 8px 18px rgba(255,106,0,.38);transition:transform .2s var(--ease),box-shadow .2s,border-radius .2s}
html body.pa-site .prod .add svg{width:22px;height:22px;stroke-width:2.2}
@media (hover:hover){html body.pa-site .prod .add:hover{background:linear-gradient(135deg,#ffc933,#ff7a1a)!important;color:#1a0f00!important;transform:translateY(-2px) scale(1.05);box-shadow:0 12px 24px rgba(255,106,0,.5);border-radius:50%!important}}
html body.pa-site .prod .add:active{transform:scale(.92)}
html body.pa-site .prod .add.ok{background:#34d399!important;box-shadow:0 8px 18px rgba(52,211,153,.35)}
@media (max-width:860px){
	html body.pa-site .prod{padding:7px 7px 11px;border-radius:18px}
	html body.pa-site .prod .im{border-radius:13px}
	html body.pa-site .prod .pr{font-size:1.3rem}
	html body.pa-site .prod .add{width:36px!important;height:36px!important;min-width:36px;border-radius:12px!important}
	html body.pa-site .prod .add svg{width:18px;height:18px}
	html body.pa-site .prod .pb{padding:3px 3px 0}
}

/* v0.7.25 · móvil: banner horizontal 16:9 (no pantalla completa) y sin efectos que traban */
@media (max-width:860px){
	html body.pa-site .hero{aspect-ratio:16/9!important;height:auto!important;min-height:230px!important;max-height:none!important;contain:layout paint style}
	html body.pa-site .hero .slide img{transform:none!important;transition:none!important;will-change:auto}
	html body.pa-site .hero .arr{width:34px;height:34px;-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(10,10,10,.62)!important;box-shadow:none}
	html body.pa-site .hero .arr svg{width:15px;height:15px}
	html body.pa-site .hero .chips a,html body.pa-site .hero .chips span,html body.pa-site .hero .price{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(10,10,10,.6)}
	html body.pa-site .hero .copy>*{transition-duration:.35s}
	html body.pa-site .cat-grid>li{will-change:auto}
}
@media (min-width:861px) and (max-width:1100px){
	html body.pa-site .hero .slide img{transition-duration:3s}
}
@media (prefers-reduced-motion:reduce){
	html body.pa-site .hero .slide img{transform:none!important;transition:none!important}
}

/* v0.7.26 · móvil: categorías solo con imagen y el nombre en blanco debajo; sin la etiqueta «Catálogo» */
@media (max-width:620px){
	html body.pa-site .cats-head .ey{display:none}
	html body.pa-site .cats{padding-top:44px}
	html body.pa-site .cat,html body.pa-site .cat:hover,html body.pa-site .cat.feat{background:transparent!important;color:#fff!important}
	html body.pa-site .cat.feat .pic{box-shadow:0 12px 24px -14px rgba(0,0,0,.95)}
	html body.pa-site .cat .body{padding:10px 0 0;background:transparent}
	html body.pa-site .cat h3{color:#fff!important;font-size:.8rem;font-weight:700;text-align:center;line-height:1.2}
}

/* v0.7.27 · títulos de sección en blanco y tarjetas compactas para 3 por fila en móvil */
html body.pa-site .prods-head h2,html body.pa-site .shelves-t,html body.pa-site .sh-head h2,html body.pa-site .sh-head h3,html body.pa-site .shelf h2,html body.pa-site .shelf h3,html body.pa-site .prods h2{color:#fff!important;-webkit-text-fill-color:#fff!important;background:none!important}
@media (max-width:620px){
	html body.pa-site .pgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 8px}
	html body.pa-site .rail{grid-auto-columns:calc((100% - 16px)/3);gap:8px}
	html body.pa-site .prod{min-width:0;padding:6px 6px 9px;border-radius:14px;gap:7px}
	html body.pa-site .prod .im{border-radius:10px}
	html body.pa-site .prod .hb{top:4px;right:4px;width:24px;height:24px}
	html body.pa-site .prod .hb svg{width:13px;height:13px}
	html body.pa-site .prod .off{top:4px;left:4px;padding:1px 6px;font-size:.58rem}
	html body.pa-site .prod .pb{gap:4px;padding:0 2px}
	html body.pa-site .prod .pm{min-height:0}
	html body.pa-site .prod .pc{display:none!important}
	html body.pa-site .prod .rt{padding:0;background:none;font-size:.66rem}
	html body.pa-site .prod h3{font-size:.74rem;line-height:1.22;min-height:2.44em;font-weight:700;letter-spacing:0}
	html body.pa-site .prod .pf{padding-top:7px;gap:4px;border-top-style:solid}
	html body.pa-site .prod .pr{font-size:1.02rem;letter-spacing:-.02em;min-width:0}
	html body.pa-site .prod .pr small{display:none}
	html body.pa-site .prod .pr .pa-from{display:block;font-size:.58rem}
	html body.pa-site .prod .add{width:30px!important;height:30px!important;min-width:30px;border-radius:10px!important;box-shadow:0 4px 10px rgba(255,106,0,.3)}
	html body.pa-site .prod .add svg{width:15px;height:15px}
	html body.pa-site .prod .pa-out{font-size:.64rem}
}

/* v0.7.28 · rendimiento al hacer scroll (móvil) */
@media (max-width:860px){
	/* La barra inferior fija con desenfoque obliga a repintar todo el fondo en cada fotograma */
	.bnav{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:#0b0b0b!important}
	.cveil,.drawer .veil{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
	html body.pa-site .prod{animation:none!important;box-shadow:none!important;background:#111!important;transition:none;will-change:auto}
	html body.pa-site .prod .im{box-shadow:none}
	html body.pa-site .prod .im::after{display:none}
	html body.pa-site .prod .hb,html body.pa-site .prod .im img~.hb{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:rgba(10,10,10,.72)!important}
	html body.pa-site .prod .add{box-shadow:none}
	html body.pa-site .prod .off{box-shadow:none}
	html body.pa-site .prod .im img{transition:none}
	html body.pa-site .cat{box-shadow:none!important;transition:none}
	/* Alto estable: 100dvh cambia al ocultarse la barra del navegador y obliga a recalcular el bloque mientras se desliza */
	html body.pa-site .pz{height:max(560px,100svh);min-height:0}
	/* Sin desenfoques ni filtros costosos en móvil: cada uno obliga a la GPU a repintar en cada fotograma */
	html body.pa-site *,html body.pa-site *::before,html body.pa-site *::after{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
	html body.pa-site .suggest,html body.pa-site .mini,html body.pa-site .panel{background:#151515!important}
	html body.pa-site .co-top{background:#0b0b0b!important}
	html body.pa-site .chips a,html body.pa-site .chips span,html body.pa-site .price{background:rgba(10,10,10,.7)}
	html body.pa-site #pzVolver{background:#121020}
	html body.pa-site .pd-main img{filter:none!important}
	html body.pa-site .cat .pic img{mix-blend-mode:normal}
	html body.pa-site .pz-info>*,html body.pa-site .pz-list{animation:none!important}
	html body.pa-site .pz-cta{box-shadow:none}
	html body.pa-site header.site.scrolled{box-shadow:none}
	html body.pa-site .toast{box-shadow:none}
}
@media (hover:none){
	html body.pa-site .prod:hover{transform:none;box-shadow:none}
}

/* v0.7.29 · «Compra por categoría»: círculos (8 en escritorio; en móvil 4 visibles y el resto con scroll horizontal) */
html body.pa-site .ccirc{margin-top:64px}
html body.pa-site .ccirc .shelves-t{margin:0 0 24px}
html body.pa-site .ccirc-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:18px 14px;align-items:start}
html body.pa-site .ccirc-list li{margin:0;padding:0;list-style:none}
html body.pa-site .ccirc-list a{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;color:var(--text);text-decoration:none}
html body.pa-site .ccirc-list .ring{display:block;width:100%;max-width:170px;aspect-ratio:1;border-radius:50%;overflow:hidden;background:#e5e7eb;border:3px solid #fff;box-shadow:0 14px 28px -16px rgba(0,0,0,.9);transition:transform .35s var(--ease),box-shadow .35s}
html body.pa-site .ccirc-list .ring img{width:100%;height:100%;object-fit:cover;display:block}
html body.pa-site .ccirc-list b{font-weight:600;font-size:.95rem;line-height:1.25;max-width:12ch}
html body.pa-site .ccirc-list a:focus-visible .ring{outline:2px solid #fff;outline-offset:3px}
@media (hover:hover){html body.pa-site .ccirc-list a:hover .ring{transform:translateY(-6px);box-shadow:0 0 14px 1px rgba(255,255,255,.28)}}
@media (max-width:860px){
	html body.pa-site .ccirc{margin-top:40px}
	html body.pa-site .ccirc .shelves-t{margin-bottom:16px}
	html body.pa-site .ccirc-list{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;margin:0 -20px;padding:4px 20px 6px;scroll-padding-inline:20px}
	html body.pa-site .ccirc-list::-webkit-scrollbar{display:none}
	/* 4 círculos exactos a la vista: (ancho − márgenes 40px − 3 espacios de 12px) / 4 */
	html body.pa-site .ccirc-list li{flex:0 0 calc((100vw - 40px - 36px)/4);scroll-snap-align:start}
	html body.pa-site .ccirc-list a{gap:8px}
	html body.pa-site .ccirc-list .ring{max-width:none;border-width:2px;box-shadow:none}
	html body.pa-site .ccirc-list b{font-size:.74rem;max-width:none;overflow-wrap:anywhere}
}
@media (prefers-reduced-motion:reduce){html body.pa-site .ccirc-list .ring{transition:none}}

/* v0.7.29 · móvil: «Productos destacados» de la portada muestra solo 2 filas (3 por fila = 6 productos) */
@media (max-width:860px){
	html body.pa-site #pGrid>.prod:nth-child(n+7){display:none}
}

/* v0.7.36 · tarjetas de producto idénticas a cabecera-pelisanime-mejorada26.html (planas: imagen, categoría + calificación, título, precio MXN y botón + redondo) */
html body.pa-site .prod{gap:14px;padding:0;border:0;border-radius:0;background:none!important;box-shadow:none!important;transform:none}
@media (hover:hover){html body.pa-site .prod:hover{transform:none;border-color:transparent;background:none!important;box-shadow:none!important}}
html body.pa-site .prod .im{border-radius:18px;box-shadow:none}
html body.pa-site .prod .im::after{display:none}
html body.pa-site .prod .hb{top:8px;right:8px;width:40px;height:40px;border-radius:50%;background:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;color:rgba(255,255,255,.5)!important}
html body.pa-site .prod .im img~.hb{background:rgba(10,10,10,.45)!important;color:rgba(255,255,255,.85)!important}
@media (hover:hover){html body.pa-site .prod .hb:hover{color:#fff!important}}
html body.pa-site .prod .hb svg{width:19px;height:19px}
html body.pa-site .prod .hb[aria-pressed=true]{color:var(--red-soft)!important}
html body.pa-site .prod .off{background:var(--red);box-shadow:none}
html body.pa-site .prod .pb{gap:4px;padding:0 4px}
html body.pa-site .prod .pm{min-height:0;gap:8px}
html body.pa-site .prod .pc{display:inline-flex;padding:0;border:0;border-radius:0;background:none;font-size:.78rem;font-weight:500;letter-spacing:0;text-transform:none;color:var(--muted)}
html body.pa-site .prod .rt{padding:0;background:none;font-size:.78rem;font-weight:400;color:var(--muted)}
html body.pa-site .prod .rt i{color:var(--text,#f5f5f5)}
html body.pa-site .prod h3{margin:0;font-size:.96rem;font-weight:600;line-height:1.3;letter-spacing:-.005em;min-height:2.6em}
html body.pa-site .prod .pf{margin-top:auto;padding-top:10px;border-top:0;gap:10px}
html body.pa-site .prod .pr{display:block;font-size:1.43rem;font-weight:700;letter-spacing:-.01em;line-height:1.2}
html body.pa-site .prod .pr small{display:inline;margin:0 0 0 4px;font-size:.91rem;font-weight:500;letter-spacing:0;color:var(--muted)}
html body.pa-site .prod .add{width:40px!important;height:40px!important;min-width:40px;border:1px solid rgba(255,255,255,.2)!important;border-radius:50%!important;background:transparent!important;color:inherit!important;box-shadow:none!important}
html body.pa-site .prod .add svg{width:18px;height:18px;stroke-width:1.8}
@media (hover:hover){html body.pa-site .prod .add:hover{background:#fff!important;color:var(--ink,#0a0a0a)!important;border-color:#fff!important;transform:none;box-shadow:none!important}}
html body.pa-site .prod .add.ok{background:#34d399!important;border-color:#34d399!important;color:var(--ink,#0a0a0a)!important}
@media (max-width:620px){
	html body.pa-site .prod{gap:10px;padding:0;border-radius:0;min-width:0}
	html body.pa-site .prod .im{border-radius:12px}
	html body.pa-site .prod .hb{width:30px;height:30px;top:3px;right:3px}
	html body.pa-site .prod .hb svg{width:15px;height:15px}
	html body.pa-site .prod .pb{padding:0 1px;gap:2px}
	html body.pa-site .prod .pc,html body.pa-site .prod .pr small{display:none!important}
	html body.pa-site .prod .rt{font-size:.72rem}
	html body.pa-site .prod h3{font-size:.76rem;line-height:1.25;min-height:2.5em}
	html body.pa-site .prod .pr{font-size:1.17rem;letter-spacing:-.01em}
	html body.pa-site .prod .pf{padding-top:6px;gap:6px;border-top:0}
	html body.pa-site .prod .add{width:30px!important;height:30px!important;min-width:30px;border-radius:50%!important}
	html body.pa-site .prod .add svg{width:15px;height:15px}
}

/* Personalizar productos en móvil: la imagen completa (con sus iconos) bajo el título; los iconos de la imagen son zonas pulsables que abren cada editor */
@media (max-width:700px){
	html body.pa-site .pz{height:auto;min-height:0;display:flex;flex-direction:column;background:#0f0603;overflow:hidden}
	html body.pa-site .pz::before{display:none}
	html body.pa-site .pz-info{display:contents}
	html body.pa-site .pz h2,html body.pa-site .pz-info>p,html body.pa-site .pz-cta{position:relative;z-index:2}
	html body.pa-site .pz h2{padding:34px 20px 0;font-size:clamp(44px,15vw,64px)}
	html body.pa-site .pz-info>p{padding:12px 20px 0;max-width:34ch}
	html body.pa-site .pz-cta{margin:18px 20px 0}
	html body.pa-site .pz .pz-list{position:relative;left:auto;bottom:auto;display:block;width:100%;aspect-ratio:1122/1402;margin-top:-34vw;z-index:1;background:url(../img/pz-movil.webp) center/100% 100% no-repeat}
	html body.pa-site .pz .pz-list::before{content:"";position:absolute;left:0;right:0;top:0;height:46%;background:linear-gradient(180deg,#0f0603 0,rgba(15,6,3,.88) 34%,rgba(15,6,3,0) 100%);pointer-events:none}
	html body.pa-site .pz .pz-list li{position:absolute;top:84.5%;width:17%;height:11.5%;margin:0;padding:0;transform:translateX(-50%);-webkit-tap-highlight-color:transparent}
	html body.pa-site .pz .pz-list li:not(.pz-abre){display:none}
	html body.pa-site .pz .pz-list li .pz-ic,html body.pa-site .pz .pz-list li .pz-lb{opacity:0}
	html body.pa-site .pz .pz-list li:focus-visible{outline:2px solid #fff;outline-offset:-2px;border-radius:14px}
	html body.pa-site .pz .pz-list li[data-prod=playera]{left:12.6%}
	html body.pa-site .pz .pz-list li[data-prod=taza]{left:31.5%}
	html body.pa-site .pz .pz-list li[data-prod=gorra]{left:49.8%}
	html body.pa-site .pz .pz-list li[data-prod=llavero]{left:69.1%}
	html body.pa-site .pz .pz-list li[data-prod=poster]{left:87.8%}
}

/* Fondo fijo: en la portada se queda quieto y termina donde empieza «Personalizar productos»; las imágenes y videos (PC / tablet / móvil) vienen de los ajustes.
   Orden de capas: imagen (::before) < video < velo oscuro (::after) */
.pa-fondo{position:relative;isolation:isolate;clip-path:inset(0 -100vw)}
.pa-fondo::before,.pa-fondo::after,body.pa-bg-inner::before,body.pa-bg-inner::after,.pa-fondo-video{position:fixed;top:0;left:0;right:0;width:100%;height:100vh;height:100lvh;z-index:-1;pointer-events:none}
.pa-fondo::before,body.pa-bg-inner::before{content:"";background:var(--pa-fondo-img,none) center/cover no-repeat}
.pa-fondo::after,body.pa-bg-inner::after{content:"";background:linear-gradient(180deg,rgba(8,10,20,var(--pa-fondo-d1,.34)),rgba(8,10,20,var(--pa-fondo-d2,.46)))}
.pa-fondo-video{object-fit:cover;opacity:0;transition:opacity .6s}
.pa-fondo-video.on{opacity:1}
@media (prefers-reduced-motion:reduce){.pa-fondo-video{display:none}}

body.pa-bg-inner{background:none}

/* ===== 0.7.55: colores de la portada. Por defecto: página en color claro (no blanco puro) y categorías en negro.
   El tema claro (clase pa-lt) lo usan la portada y la ficha de producto. Los colores de la portada se cambian en Ajustes → PelisAnime → «Colores de la portada» (ver PA_Fondo::colors_css). ===== */
html:has(body.pa-site.pa-lt){color-scheme:light}
html body.pa-site.pa-lt{
	--surface:#fff;--surface-2:#e7e6e1;--line:rgba(0,0,0,.11);
	--text:#111;--muted:#5d5d5d;--yellow:#111;--orange:#111;
	color:var(--text);color-scheme:light
}
/* Zonas que siguen oscuras: barra superior, cabecera, banner, categorías, estudio 3D, menús y avisos */
html body.pa-site.pa-lt :is(.promo,header.site,.cats,.hero,.pzs,.drawer,.toast,.bnav,.cveil,.lb){
	--bg:#0b0b0b;--surface:#151515;--surface-2:#222;--line:rgba(255,255,255,.09);
	--text:#f5f5f5;--muted:#a3a3a3;--yellow:#e4e4e4;--orange:#fff;color-scheme:dark
}
html body.pa-site.pa-lt :is(header.site,.cats,.hero,.pzs,.drawer,.toast){color:var(--text)}
html body.pa-site.home .cats{background:#080808}

/* Productos y secciones por categoría sobre fondo claro */
html body.pa-site.pa-lt .prods:not(.prods2){padding-top:72px}
html body.pa-site.pa-lt .prods-head .ey i{background:linear-gradient(90deg,#111,transparent)}
html body.pa-site.pa-lt .ptab{background:rgba(0,0,0,.04)}
html body.pa-site.pa-lt .ptab:hover{background:rgba(0,0,0,.08)}
html body.pa-site.pa-lt .ptab[aria-pressed=true],html body.pa-site.pa-lt .ptab[aria-current]{background:#111;color:#fff;border-color:#111}
html body.pa-site.pa-lt .prod .im{background-color:#fff;background-image:none;border:1px solid rgba(0,0,0,.06);box-shadow:0 10px 26px -18px rgba(0,0,0,.35)}
html body.pa-site.pa-lt .prod .im>svg{color:rgba(0,0,0,.72)}
html body.pa-site.pa-lt .prod .hb{color:rgba(0,0,0,.45)}
html body.pa-site.pa-lt .prod .hb:hover{color:#111}
html body.pa-site.pa-lt .prod .hb[aria-pressed=true]{color:var(--red)}
html body.pa-site.pa-lt .prod .im img~.hb{background:rgba(10,10,10,.55);color:rgba(255,255,255,.9)}
html body.pa-site.pa-lt .prod .im img~.hb[aria-pressed=true]{color:var(--red-soft)}
html body.pa-site.pa-lt .prod .add{border-color:rgba(0,0,0,.22)}
html body.pa-site.pa-lt .prod:has(h3 a:focus-visible) .im{outline-color:#111}
@media (hover:hover){
	html body.pa-site.pa-lt .prod:hover .im{background-color:#fff;background-image:none;box-shadow:0 18px 34px -18px rgba(0,0,0,.45)}
	html body.pa-site.pa-lt .prod .add:hover{background:#111;color:#fff;border-color:#111}
	html body.pa-site.pa-lt .prod .add.ok:hover{background:#34d399;border-color:#34d399;color:var(--ink)}
	html body.pa-site.pa-lt .sh-arr:hover{background:#111;color:#fff;border-color:#111}
}
html body.pa-site.pa-lt .prods .cats-link{border-bottom-color:rgba(0,0,0,.35)}
html body.pa-site.pa-lt .prods .cats-link:hover{color:#b86e00;border-color:#b86e00}
html body.pa-site.pa-lt .prods .btn.p{background:#111;color:#fff;box-shadow:none}
html body.pa-site.pa-lt .prods .btn.s{background:rgba(0,0,0,.06)}

/* Barra de desplazamiento flotante: visible sobre fondo claro y oscuro */
html body.pa-site.pa-lt .pa-sb-t{background:rgba(70,70,70,.6);box-shadow:0 0 0 1px rgba(255,255,255,.4)}
html body.pa-site.pa-lt .pa-sb:hover .pa-sb-t,html body.pa-site.pa-lt .pa-sb.drag .pa-sb-t{background:rgba(40,40,40,.85)}

/* Categorías con un color de fondo claro: textos oscuros */
html body.pa-site.home.pa-cats-light #categorias{--text:#111;--muted:#5d5d5d;--line:rgba(0,0,0,.11)}
html body.pa-site.home.pa-cats-light #categorias .cats-head .ey i{background:linear-gradient(90deg,#111,transparent)}
html body.pa-site.home.pa-cats-light #categorias .cat{box-shadow:0 14px 30px -18px rgba(0,0,0,.45)}

/* 0.7.62 · títulos de sección: negro por defecto sobre el tema claro; el color se cambia en Ajustes → «Color de los títulos de sección» (variable --pa-title) */
html body.pa-site.pa-lt :is(.prods-head h2,.shelves-t,.sh-head h2,.sh-head h3,.shelf h2,.shelf h3,.prods h2){color:var(--pa-title,#111)!important;-webkit-text-fill-color:var(--pa-title,#111)!important;background:none!important}
