/* Paleta común de la nueva portada. Solo se activa en páginas marcadas. */
html[data-pr-theme]{
  --negro:#f5f5f3;--n1:#fff;--n2:#fff;--n3:#f7f7f6;--n4:#efefed;--n5:#e7e7e5;
  --blanco:#181818;--txt:#181818;--gris:#696969;--gris-l:#4b4b4b;--gris2:#4b4b4b;
  --borde:#e4e4e1;--verde:#168a47;color-scheme:light;
}
html[data-pr-theme] body{background:#f5f5f3;color:#181818}
html[data-pr-theme] header,html[data-pr-theme] nav{background:#fff;border-bottom-color:#e6e6e3}
html[data-pr-theme] .logo,html[data-pr-theme] .nav-logo{color:#181818}
html[data-pr-theme] .nav-link,html[data-pr-theme] .nav-links a:not(.btn-mini),html[data-pr-theme] .nav-back,html[data-pr-theme] .back{color:#393939}
html[data-pr-theme] .nav-link:hover,html[data-pr-theme] .nav-links a:not(.btn-mini):hover,html[data-pr-theme] .nav-back:hover,html[data-pr-theme] .back:hover{color:#e31e24}
html[data-pr-theme] .btn-red,html[data-pr-theme] .btn-mini,html[data-pr-theme] .btn-pay,html[data-pr-theme] .btn-add,html[data-pr-theme] .btn-add-cart,html[data-pr-theme] .btn-cart,html[data-pr-theme] .btn-cart-nav,html[data-pr-theme] .btn-checkout{color:#fff}

/* Mi cuenta. */
html[data-pr-theme="account"] .nav-link{background:#f7f7f6;border-color:#e4e4e1;color:#252525}
html[data-pr-theme="account"] .card,html[data-pr-theme="account"] .summary-card,html[data-pr-theme="account"] .details-card{background:#fff;border-color:#e4e4e1;box-shadow:0 8px 25px rgba(0,0,0,.035)}
html[data-pr-theme="account"] .welcome-card{background:linear-gradient(125deg,#fff4f3,#f6f6f4);border-color:#eed7d7}
html[data-pr-theme="account"] .tab,html[data-pr-theme="account"] .btn-dark{background:#f7f7f6;border-color:#e4e4e1;color:#252525}
html[data-pr-theme="account"] .tab.active{background:#e31e24;border-color:#e31e24;color:#fff}
html[data-pr-theme="account"] input{background:#fafafa;border-color:#ddd;color:#1c1c1c}
html[data-pr-theme="account"] input::placeholder{color:#777}
html[data-pr-theme="account"] .order-id,html[data-pr-theme="account"] .auth-loading-card strong{color:#181818}
html[data-pr-theme="account"] .msg.ok{color:#11663b}
html[data-pr-theme="account"] .msg.err{color:#b5181d}
html[data-pr-theme="account"] .danger{color:#b5181d}

/* Compra y pago. Los campos Stripe reciben colores equivalentes en checkout.html. */
html[data-pr-theme="checkout"] .section-card,html[data-pr-theme="checkout"] .order-summary{background:#fff;border-color:#e4e4e1;box-shadow:0 8px 25px rgba(0,0,0,.035)}
html[data-pr-theme="checkout"] .form-group input,html[data-pr-theme="checkout"] .form-group select,html[data-pr-theme="checkout"] .stripe-field{background:#fafafa;border-color:#dcdcdc;color:#181818}
html[data-pr-theme="checkout"] .form-group select option{background:#fff;color:#181818}
html[data-pr-theme="checkout"] .envio-opt,html[data-pr-theme="checkout"] .pay-method-btn,html[data-pr-theme="checkout"] .confirm-details{background:#f7f7f6;border-color:#e4e4e1;color:#252525}
html[data-pr-theme="checkout"] .pay-method-btn.active,html[data-pr-theme="checkout"] .envio-opt.selected{background:#fff1f0;border-color:#e31e24;color:#181818}
html[data-pr-theme="checkout"] .summary-item-img{background:#f2f2f0}
html[data-pr-theme="checkout"] .alert-error{color:#b5181d}
html[data-pr-theme="checkout"] .alert-success{color:#11663b}
html[data-pr-theme="checkout"] .alert-warning{color:#8a5600}
html[data-pr-theme="checkout"] .step.active .step-num,html[data-pr-theme="checkout"] .step.done .step-num{color:#fff}
html[data-pr-theme="checkout"] .summary-line.total,html[data-pr-theme="checkout"] .confirm-detail-row:last-child{color:#181818}
html[data-pr-theme="checkout"] .bizum-panel{background:#f2fbf5}
html[data-pr-theme="checkout"] .pr-checkout-account{background:#fff1f0;color:#444}
html[data-pr-theme="checkout"] .pr-checkout-account strong{color:#181818}
html[data-pr-theme="checkout"] .pr-checkout-account a{color:#b5181d}
html[data-pr-theme="checkout"] nav>.pr-account-link{background:#f7f7f6;border-color:#e4e4e1;color:#252525}
html[data-pr-theme="checkout"] .order-summary [style*="color:#ccc"],html[data-pr-theme="checkout"] .section-card [style*="color:#ccc"]{color:#555!important}

/* Fichas de producto. */
html[data-pr-theme="product"] .img-principal,html[data-pr-theme="product"] .thumb-producto{background:#fff}
html[data-pr-theme="product"] .buy-panel{background:linear-gradient(180deg,#fff,#fbfbfa);border-color:#e4e4e1;box-shadow:0 12px 32px rgba(0,0,0,.055)}
html[data-pr-theme="product"] .prod-summary,html[data-pr-theme="product"] .desc-point,html[data-pr-theme="product"] .trust-item strong,html[data-pr-theme="product"] .faq-box summary{color:#252525}
html[data-pr-theme="product"] .desc-text-block,html[data-pr-theme="product"] .desc-spec,html[data-pr-theme="product"] .pay-chip{background:#fff;border-color:#e4e4e1;color:#333}
html[data-pr-theme="product"] .product-category-link a{color:#4b4b4b}
html[data-pr-theme="product"] .s-ok{color:#11663b}
html[data-pr-theme="product"] .s-low{color:#8a5600}
html[data-pr-theme="product"] .btn-now{background:#fff;color:#252525}
html[data-pr-theme="product"] .opc-btn.sel{color:#181818}
html[data-pr-theme="product"] .thumbs-producto{scrollbar-color:#e31e24 #e4e4e1}
html[data-pr-theme="product"] body>main{background:#fff;border-color:#e4e4e1;color:#181818;box-shadow:0 12px 32px rgba(0,0,0,.055)}
html[data-pr-theme="product"] body>main p{color:#4b4b4b}
html[data-pr-theme="product"] body>main a{color:#fff}
@media(max-width:700px){html[data-pr-theme="product"] .buy-actions{background:linear-gradient(180deg,rgba(255,255,255,.95),#fff 34%);border-top-color:#e4e4e1}}

/* Aviso legal, privacidad, compra y devoluciones. */
html[data-pr-theme="legal"] p,html[data-pr-theme="legal"] li{color:#444}
html[data-pr-theme="legal"] main a{color:#b5181d}
html[data-pr-theme="legal"] .box,html[data-pr-theme="legal"] .step,html[data-pr-theme="legal"] .pay div{background:#fff;border-color:#e4e4e1;box-shadow:0 6px 22px rgba(0,0,0,.03)}
html[data-pr-theme="legal"] .muted{color:#696969}

/* Taller, guías de compra y páginas de marcas. */
html[data-pr-theme="editorial"] .nav-links a:not(.btn-mini),html[data-pr-theme="brand"] .nav-links a:not(.btn-mini){color:#333}
html[data-pr-theme="editorial"] .lead,html[data-pr-theme="brand"] .lead{color:#4b4b4b}
html[data-pr-theme="editorial"] .hero-card,html[data-pr-theme="brand"] .hero-card{background:linear-gradient(145deg,#fff,#f4f4f2);border-color:#edd1d1;box-shadow:0 12px 30px rgba(0,0,0,.035)}
html[data-pr-theme="editorial"] .card,html[data-pr-theme="editorial"] .step,html[data-pr-theme="editorial"] .faq-item,html[data-pr-theme="brand"] .card,html[data-pr-theme="brand"] .step,html[data-pr-theme="brand"] .faq-item{background:#fff;border-color:#e4e4e1;box-shadow:0 6px 22px rgba(0,0,0,.025)}
html[data-pr-theme="editorial"] .hero-card p,html[data-pr-theme="editorial"] .check-list li,html[data-pr-theme="editorial"] .card p,html[data-pr-theme="editorial"] .step p,html[data-pr-theme="editorial"] .faq-item p,html[data-pr-theme="editorial"] .notice p,html[data-pr-theme="editorial"] .final p,html[data-pr-theme="brand"] .hero-card p,html[data-pr-theme="brand"] .check-list li,html[data-pr-theme="brand"] .card p,html[data-pr-theme="brand"] .step p,html[data-pr-theme="brand"] .faq-item p,html[data-pr-theme="brand"] .notice p,html[data-pr-theme="brand"] .final p{color:#4b4b4b}
html[data-pr-theme="editorial"] .notice,html[data-pr-theme="brand"] .notice{background:#fff4f3;border-color:#edd1d1}
html[data-pr-theme="editorial"] .final,html[data-pr-theme="brand"] .final{background:linear-gradient(135deg,#fff2f1,#f7f7f5);border-color:#edd1d1}
html[data-pr-theme="editorial"] .btn-dark,html[data-pr-theme="brand"] .btn-dark{background:#fff;border-color:#e4e4e1;color:#252525}
html[data-pr-theme="editorial"] .brand-cloud span,html[data-pr-theme="editorial"] .brand-cloud a,html[data-pr-theme="editorial"] .crosslinks a,html[data-pr-theme="brand"] .brand-cloud span,html[data-pr-theme="brand"] .brand-cloud a,html[data-pr-theme="brand"] .crosslinks a{background:#fff;border-color:#e4e4e1;color:#252525}
html[data-pr-theme="editorial"] .step:before,html[data-pr-theme="brand"] .step:before{color:#fff}
html[data-pr-theme="editorial"] footer,html[data-pr-theme="brand"] footer{background:#fff;border-top-color:#e4e4e1}
html[data-pr-theme="editorial"] .foot a,html[data-pr-theme="brand"] .foot a{color:#333}
html[data-pr-theme="editorial"] .foot a:hover,html[data-pr-theme="brand"] .foot a:hover{color:#e31e24}
html[data-pr-theme="brand"] .trust-item{background:#fff;border-color:#e4e4e1}
html[data-pr-theme="brand"] .trust-item strong{color:#252525}
html[data-pr-theme="brand"] .card:hover{background:#fff7f6}
html[data-pr-theme="brand"] .showcase-note{background:#292929;color:#fff}
html[data-pr-theme="brand"] .eyebrow,html[data-pr-theme="brand"] .trust-icon{color:#b5181d}
html[data-pr-theme="brand"] .brand-cloud a:hover,html[data-pr-theme="brand"] .crosslinks a:hover{background:#fff1f0;color:#b5181d}
