/** Shopify CDN: Minification failed

Line 742:13 Expected identifier but found whitespace
Line 742:18 Unexpected ";"

**/
/* CartuchoYa — clon del tema tienda Next.js. Blanco minimalista, un acento azul. */
:root {
  --papel: #ffffff;
  --hueso: #f7f6f4;
  --tinta: #0e0e0e;
  --tinta-media: #5a5a5a;
  --tinta-suave: #8e8e8e;
  --linea: #ececea;
  --linea-fuerte: #dcdad6;
  --bermellon: #c0392b;
  --verde: #1d7a4c;
  --azul-marca: #0a6cdc;
  --radio: 4px;
  --max: 1152px;

  /* Tinta CMYK — la paleta de la marca */
  --cian: #00a8e8;
  --magenta: #ec008c;
  --amarillo: #ffd400;
  --negro: #0e0e0e;
  --cian-suave: #e3f6fd;
  --magenta-suave: #fdeaf4;
  --amarillo-suave: #fff7db;
  --sombra-color: 0 18px 40px -18px;
  --cabecera: 6.4rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--tinta);
  background: #fff;
  font-family: 'Schibsted Grotesk', ui-sans-serif, system-ui, sans-serif;
  font-feature-settings: 'tnum' 0;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.cifra, .precio { font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .wrap { padding: 0 1.5rem; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sin-barra { scrollbar-width: none; }
.sin-barra::-webkit-scrollbar { display: none; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem;
  border-radius: var(--radio); padding: 0.7rem 1.4rem; font-size: 13px; font-weight: 500;
  border: 1px solid transparent; transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
  width: auto;
}
.btn-full { width: 100%; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.btn-dark { background: var(--tinta); color: #fff; }
.btn-dark:hover { background-color: var(--tinta-media); }
.btn-outline-dark { border-color: var(--tinta); color: var(--tinta); background: transparent; }
.btn-outline-dark:hover { background: var(--tinta); color: #fff; }
.btn-outline { border-color: var(--linea-fuerte); color: var(--tinta); background: transparent; }
.btn-outline:hover { background: rgba(0,0,0,0.03); }
.btn-bermellon { background: var(--bermellon); color: #fff; }
.btn-bermellon:hover { background: #a83324; }
.btn-verde { background: var(--verde); color: #fff; }
.btn-disabled { border: 1px solid var(--linea); color: var(--tinta-suave); cursor: not-allowed; background: none; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--linea); background: rgba(255,255,255,.9); backdrop-filter: blur(6px); }
.promo-bar { background: var(--tinta); color: #fff; text-align: center; font-size: 11px; letter-spacing: .06em; padding: .4rem 1rem; margin: 0; }
.header-row { max-width: var(--max); margin: 0 auto; padding: .9rem 1rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .header-row { padding: .9rem 1.5rem; } }
.main-nav { display: none; align-items: center; gap: 1.25rem; }
@media (min-width: 768px) { .main-nav { display: flex; } }
.main-nav a { font-size: 13px; letter-spacing: .01em; color: var(--tinta-media); }
.main-nav a:hover, .main-nav a.active { color: var(--tinta); }
.logo-link { grid-column: 2; justify-self: center; }
.logo-link img { height: 44px; width: auto; }
.header-cart { grid-column: 3; justify-self: end; }
.menu-toggle { justify-self: start; padding: .25rem; color: var(--tinta); background: none; border: 0; display: block; }
@media (min-width: 768px) { .menu-toggle { display: none; } }
.mobile-nav { border-top: 1px solid var(--linea); padding: .5rem 1rem; display: none; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: .65rem 0; font-size: 14px; color: var(--tinta-media); }
/* Buscador del navbar: junto a la cesta en escritorio, fila a lo ancho en móvil */
.header-cart { display: flex; align-items: center; gap: .75rem; }
.header-search { position: relative; }
.search-toggle { display: none; padding: .25rem; color: var(--tinta); background: none; border: 0; }
@media (max-width: 1023px) { .site-header.compacta .header-search--mob { display: none; } .site-header.compacta .search-toggle { display: block; } }
.header-search--desk { display: none; width: 260px; }
@media (min-width: 1024px) { .header-search--desk { display: block; } .header-search--mob { display: none; } }
@media (min-width: 1180px) { .header-search--desk { width: 320px; } }
.header-search--mob { max-width: var(--max); margin: 0 auto; padding: 0 1rem .75rem; }
.header-search input[type="search"] { width: 100%; height: 40px; padding: 0 .9rem 0 2.25rem; font: inherit; font-size: 16px; color: var(--tinta); background: var(--hueso); border: 1px solid var(--linea-fuerte); border-radius: 999px; outline: none; -webkit-appearance: none; appearance: none; }
@media (min-width: 1024px) { .header-search input[type="search"] { font-size: 14px; } }
.header-search input[type="search"]:focus { background: var(--papel); border-color: var(--tinta); }
.header-search input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.header-search__icono { position: absolute; left: .8rem; top: 20px; transform: translateY(-50%); color: var(--tinta-media); pointer-events: none; }
.header-search--mob .header-search__icono { left: calc(1rem + .8rem); }
.header-search__sug { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; right: 0; min-width: 300px; background: var(--papel); border: 1px solid var(--linea-fuerte); border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.35); overflow: hidden; }
.header-search--desk .header-search__sug { left: auto; width: 380px; }
.header-search--mob .header-search__sug { left: 1rem; right: 1rem; min-width: 0; top: calc(100% - .5rem); }
.sug-item { display: flex; align-items: center; gap: .75rem; padding: .55rem .8rem; min-height: 56px; color: var(--tinta); border-bottom: 1px solid var(--linea); }
.sug-item:hover, .sug-item:focus { background: var(--hueso); outline: none; }
.sug-item img, .sug-noimg { width: 44px; height: 44px; flex-shrink: 0; object-fit: contain; border-radius: var(--radio); background: var(--hueso); }
.sug-txt { display: flex; flex-direction: column; min-width: 0; }
.sug-tit { font-size: 14px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sug-precio { font-size: 12px; color: var(--tinta-media); }
.sug-todos { display: block; padding: .75rem .8rem; font-size: 13px; font-weight: 600; text-align: center; color: var(--tinta); }
.sug-todos:hover { background: var(--hueso); }
.sug-vacio { margin: 0; padding: .9rem .8rem; font-size: 13px; color: var(--tinta-media); }
.sug-vacio a { text-decoration: underline; }
.cart-btn { position: relative; display: flex; align-items: center; gap: .375rem; padding: .25rem; color: var(--tinta); background: none; border: 0; }
.cart-count { font-size: 10px; font-weight: 600; background: var(--tinta); color: #fff; border-radius: 999px; min-width: 17px; line-height: 17px; text-align: center; position: absolute; right: -6px; top: -4px; }
@media (min-width: 640px) { .cart-count { position: static; background: none; color: var(--tinta); font-size: 13px; font-weight: 400; } }


.hero-kicker { font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: var(--tinta-media); }
.hero-text { margin-top: 1rem; max-width: 26rem; font-size: 15px; line-height: 1.6; color: var(--tinta-media); }
.hero-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }

/* Payment methods / trust badges */
.payment-methods p.label { font-size: 11px; color: var(--tinta-suave); margin: 0; }
.payment-methods ul { margin: .375rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .375rem; }
.payment-methods li { line-height: 0; }
.payment-methods li img { width: 42px; height: 28px; display: block; }

.trust-badges { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; font-size: 12px; color: var(--tinta-media); grid-template-columns: 1fr; }
.trust-badges.compact { gap: .65rem; }
.trust-badges:not(.compact) { grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .trust-badges:not(.compact) { grid-template-columns: repeat(3,1fr); } }
.trust-badges li { display: flex; align-items: center; gap: .65rem; }
.trust-badges .icon { flex-shrink: 0; display: grid; place-items: center; height: 2rem; width: 2rem; border: 1px solid var(--linea-fuerte); border-radius: var(--radio); color: var(--tinta); }
.trust-badges .sub { display: block; font-size: 11px; color: var(--tinta-suave); }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: 4rem 1rem; }
@media (min-width: 640px) { .section { padding: 5rem 1.5rem; } }
.section-band { border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); background: var(--hueso); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.section-title { font-size: 1.6rem; font-weight: 600; letter-spacing: -.025em; color: var(--tinta); margin: 0; }
@media (min-width: 640px) { .section-title { font-size: 2rem; } }
.section-link { font-size: 13px; color: var(--tinta-media); text-decoration: underline; text-underline-offset: 4px; }
.section-link:hover { color: var(--tinta); }

/* Product grid / card */
.product-grid { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem 2.25rem; }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4,1fr); } }

.star-product-grid { display: grid; gap: 2rem; align-items: center; }
.star-product-grid .thumb img { width: 100%; border-radius: var(--radio); object-fit: cover; aspect-ratio: 1/1; }
.star-product .hero-actions { margin-top: 1.25rem; }
@media (min-width: 800px) { .star-product-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

.about-grid { display: grid; gap: 2rem; align-items: center; }
.about-grid .thumb img { width: 100%; border-radius: var(--radio); object-fit: cover; aspect-ratio: 4/3; }
@media (min-width: 800px) { .about-grid { grid-template-columns: 1fr 1.1fr; gap: 3.5rem; } }
.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card .thumb { position: relative; display: block; overflow: hidden; border-radius: var(--radio); background: var(--hueso); aspect-ratio: 1/1; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.product-card:hover .thumb img { transform: scale(1.03); }
.product-card .badge-sold { position: absolute; left: .75rem; top: .75rem; border-radius: var(--radio); background: rgba(255,255,255,.95); padding: .25rem .5rem; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--tinta-media); }
.product-card .info { flex: 1; display: flex; flex-direction: column; padding-top: .75rem; }
.product-card h3 { font-size: 14px; font-weight: 500; line-height: 1.3; margin: 0; color: var(--tinta); }
.product-card .model { margin: .125rem 0 0; font-size: 12px; color: var(--tinta-suave); }
.product-card .price { margin-top: .5rem; font-size: 15px; font-weight: 600; color: var(--tinta); }
.product-card .actions { margin-top: .75rem; }

/* Ventajas */
.perks { display: grid; gap: 2rem; max-width: var(--max); margin: 0 auto; padding: 3.5rem 1rem; }
@media (min-width: 640px) { .perks { grid-template-columns: repeat(3,1fr); padding: 3.5rem 1.5rem 4rem; } }
.perks .n { font-size: 12px; color: var(--tinta-suave); }
.perks h3 { margin: .5rem 0 0; font-size: 15px; font-weight: 600; color: var(--tinta); }
.perks p { margin: .375rem 0 0; font-size: 13px; line-height: 1.6; color: var(--tinta-media); }

/* Testimonials (home) */
.testimonial-scroll { list-style: none; margin: 1.75rem 0 0; padding: 0 0 .5rem; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.testimonial-card { scroll-snap-align: start; flex: 0 0 18rem; border: 1px solid var(--linea); background: #fff; border-radius: var(--radio); padding: 1.25rem; }
.testimonial-card p.quote { margin-top: .75rem; font-size: 13px; line-height: 1.6; color: var(--tinta-media); }
.testimonial-card .who { margin-top: 1rem; font-size: 12px; font-weight: 500; color: var(--tinta); }
.testimonial-card .where { font-size: 11px; color: var(--tinta-suave); }

/* Newsletter/coupon band */
.newsletter-form { margin-top: 1.5rem; }
.newsletter-form .row { display: flex; flex-direction: column; gap: .5rem; }
.newsletter-form input[type=email] { min-width: 0; width: 100%; border-radius: var(--radio); border: 1px solid var(--linea-fuerte); background: #fff; padding: .65rem .9rem; font-size: 14px; color: var(--tinta); }
.newsletter-form .row .btn { width: 100%; }
.newsletter-form input[type=email]::placeholder { color: var(--tinta-suave); }
.newsletter-success { border: 1px solid rgba(29,122,76,.3); background: rgba(29,122,76,.05); border-radius: var(--radio); padding: .75rem 1rem; text-align: left; }
.newsletter-success .ok { color: var(--verde); font-size: 13px; margin: 0; }
.newsletter-success .code { margin-top: .25rem; font-size: 13px; color: var(--tinta); }
.newsletter-success .code strong { letter-spacing: .08em; }
.newsletter-success .fine { margin-top: .25rem; }

/* FAQ */
.faq { max-width: 48rem; margin: 0 auto; padding: 3.5rem 1rem; }
@media (min-width: 640px) { .faq { padding: 3.5rem 1.5rem; } }
.faq h2 { text-align: center; font-size: 1.4rem; font-weight: 600; letter-spacing: -.02em; color: var(--tinta); }
.faq-list { margin-top: 1.5rem; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.faq-list details { border-bottom: 1px solid var(--linea); padding: 1rem 0; }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 14px; font-weight: 500; color: var(--tinta); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .plus { flex-shrink: 0; width: 1rem; height: 1rem; color: var(--tinta-suave); transition: transform .15s; }
.faq-list details[open] summary .plus { transform: rotate(45deg); }
.faq-list p { margin: .65rem 0 0; font-size: 13px; line-height: 1.6; color: var(--tinta-media); }

/* Footer */
.site-footer { margin-top: 5rem; border-top: 1px solid var(--linea); background: var(--hueso); }
.footer-grid { max-width: var(--max); margin: 0 auto; padding: 3rem 1rem; display: grid; gap: 2rem; font-size: 13px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3,1fr); padding: 3rem 1.5rem; } }
.footer-grid img { height: 64px; width: auto; }
.footer-grid .claim { margin-top: .5rem; max-width: 24ch; line-height: 1.6; color: var(--tinta-media); }
.footer-col p.label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--tinta); margin: 0 0 .375rem; }
.footer-col p { margin: 0 0 .375rem; color: var(--tinta-media); }
.footer-col a.underline { text-decoration: underline; text-underline-offset: 2px; }
.footer-col a.underline:hover { color: var(--tinta); }
.footer-legal { border-top: 1px solid var(--linea); }
.footer-legal p { max-width: var(--max); margin: 0 auto; padding: 1rem; font-size: 11px; color: var(--tinta-suave); }
@media (min-width: 640px) { .footer-legal p { padding: 1rem 1.5rem; } }

/* Product detail */
.pdp-crumbs { display: flex; align-items: center; gap: .375rem; font-size: 12px; color: var(--tinta-suave); }
.pdp-crumbs a:hover { color: var(--tinta); }
.pdp-grid { margin-top: 1.5rem; display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .pdp-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.pdp-gallery .main { overflow: hidden; border-radius: var(--radio); background: var(--hueso); aspect-ratio: 1/1; }
.pdp-gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-gallery .main { position: relative; }
.pdp-flecha { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--tinta); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.pdp-flecha[hidden] { display: none; }
.pdp-flecha-prev { left: .6rem; }
.pdp-flecha-next { right: .6rem; }
.pdp-thumbs { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); gap: .75rem; }
.pdp-thumbs li { overflow: hidden; border-radius: var(--radio); background: var(--hueso); aspect-ratio: 1/1; cursor: pointer; border: 1px solid transparent; }
.pdp-thumbs li.active { border-color: var(--tinta); }
.pdp-thumbs li[hidden] { display: none; }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-illustr { margin-top: .5rem; font-size: 11px; color: var(--tinta-suave); }
.pdp-kicker { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--tinta-suave); }
.pdp-title { margin: .5rem 0 0; font-size: 1.9rem; font-weight: 600; line-height: 1.12; letter-spacing: -.03em; color: var(--tinta); }
@media (min-width: 640px) { .pdp-title { font-size: 2.4rem; } }
.pdp-model { margin: .375rem 0 0; font-size: 14px; color: var(--tinta-media); }
.pdp-reviews-link { margin-top: .75rem; display: inline-flex; align-items: center; gap: .5rem; font-size: 12px; }
.pdp-reviews-link span.count { color: var(--tinta-media); text-decoration: underline; text-underline-offset: 4px; }
.pdp-title-variante { color: var(--tinta); font-weight: 500; }
.pdp-detalle { margin: .5rem 0 0; font-size: 15px; line-height: 1.55; color: var(--tinta); }
.pdp-price { margin-top: 1.25rem; font-size: 2rem; font-weight: 600; color: var(--tinta); }
.pdp-vat { margin-top: .25rem; font-size: 12px; color: var(--tinta-suave); }
.pdp-stock { margin-top: 1rem; display: inline-flex; align-items: center; gap: .5rem; font-size: 13px; }
.pdp-stock .dot { height: 6px; width: 6px; border-radius: 999px; }
.pdp-stock.in { color: var(--verde); } .pdp-stock.in .dot { background: var(--verde); }
.pdp-stock.out { color: var(--tinta-media); } .pdp-stock.out .dot { background: var(--tinta-suave); }
.pdp-entrega { margin-top: .35rem; font-size: 13px; color: var(--tinta-media); }
.pdp-actions { margin-top: 1.5rem; display: grid; gap: .5rem; }
.pdp-trust { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.pdp-accordion { margin-top: 2rem; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.pdp-accordion details { border-bottom: 1px solid var(--linea); padding: 1rem 0; }
.pdp-accordion details:last-child { border-bottom: 0; }
.pdp-accordion summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 500; color: var(--tinta); }
.pdp-accordion summary::-webkit-details-marker { display: none; }
.pdp-accordion summary .plus { width: 1rem; height: 1rem; color: var(--tinta-suave); transition: transform .15s; flex-shrink: 0; }
.pdp-accordion details[open] summary .plus { transform: rotate(45deg); }
.pdp-accordion p { margin: .65rem 0 0; font-size: 13px; line-height: 1.6; color: var(--tinta-media); }

/* Social proof strip */

/* Stars */
.stars { display: inline-flex; align-items: center; gap: 2px; }
.stars .star { position: relative; display: inline-block; }
.stars .star svg { position: absolute; inset: 0; }
.stars .star .bg { color: var(--linea-fuerte); }
.stars .star .fg { color: var(--tinta); overflow: hidden; position: absolute; inset: 0; }

/* Reviews */
.reviews { border-top: 1px solid var(--linea); padding-top: 2.5rem; }
.reviews-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: 320px 1fr; } }
.reviews h2 { font-size: 1.4rem; font-weight: 600; letter-spacing: -.02em; color: var(--tinta); margin: 0; }
.reviews .empty { margin-top: .75rem; font-size: 14px; line-height: 1.6; color: var(--tinta-media); }
.reviews .avg-row { margin-top: .75rem; display: flex; align-items: center; gap: .75rem; }
.reviews .avg { font-size: 2.4rem; font-weight: 600; line-height: 1; color: var(--tinta); }
.reviews .avg-count { margin-top: .25rem; font-size: 12px; color: var(--tinta-suave); }
.reviews .bars { margin-top: 1.25rem; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .375rem; }
.reviews .bars li { display: flex; align-items: center; gap: .5rem; font-size: 12px; color: var(--tinta-media); }
.reviews .bars .n { width: .75rem; }
.reviews .bars .track { flex: 1; height: 6px; border-radius: 999px; background: var(--linea); overflow: hidden; }
.reviews .bars .fill { height: 100%; border-radius: 999px; background: var(--tinta); }
.reviews .bars .cnt { width: 1.25rem; text-align: right; }
.reviews-list { list-style: none; margin: 0; padding: 0; }
.reviews-list li { padding: 1.25rem 0; border-top: 1px solid var(--linea); }
.reviews-list li:first-child { border-top: 0; padding-top: 0; }
.review-head { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem .75rem; }
.review-head .name { font-size: 13px; font-weight: 500; color: var(--tinta); }
.review-head .verified { border-radius: var(--radio); background: rgba(29,122,76,.1); padding: 1px 6px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--verde); }
.review-head .date { font-size: 12px; color: var(--tinta-suave); }
.review-title { margin: .5rem 0 0; font-size: 14px; font-weight: 500; color: var(--tinta); }
.review-body { margin: .375rem 0 0; font-size: 14px; line-height: 1.6; color: var(--tinta-media); white-space: pre-line; }

/* Related */
.related { margin-top: 4rem; border-top: 1px solid var(--linea); padding-top: 2.5rem; }
.related h2 { font-size: 1.4rem; font-weight: 600; letter-spacing: -.02em; color: var(--tinta); margin: 0; }

/* Cart drawer */
.cart-overlay { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.3); border: 0; padding: 0; display: none; }
.cart-overlay.open { display: block; }
.cart-drawer { position: fixed; inset-block: 0; right: 0; z-index: 50; display: flex; width: 100%; max-width: 28rem; flex-direction: column; border-left: 1px solid var(--linea); background: #fff; box-shadow: -12px 0 32px rgba(0,0,0,.12); transform: translateX(100%); transition: transform .3s ease-out; }
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--linea); padding: 1rem 1.25rem; }
.cart-drawer-head h2 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--tinta); margin: 0; }
.cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 0 1.5rem; text-align: center; }
.cart-drawer-empty p { font-size: 14px; color: var(--tinta-media); margin: 0; }
.cart-reserve { border-bottom: 1px solid var(--linea); background: var(--hueso); padding: .65rem 1.25rem; }
.cart-lines { flex: 1; overflow-y: auto; padding: 0 1.25rem; margin: 0; list-style: none; }
.cart-line { display: flex; gap: .875rem; padding: 1rem 0; border-top: 1px solid var(--linea); }
.cart-line:first-child { border-top: 0; }
.cart-line .thumb { height: 4.5rem; width: 4.5rem; flex-shrink: 0; overflow: hidden; border-radius: var(--radio); background: var(--hueso); }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line .body { min-width: 0; flex: 1; }
.cart-line .name { font-size: 13px; font-weight: 500; color: var(--tinta); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-line .row { margin-top: .5rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.cart-line .price { font-size: 13px; font-weight: 600; color: var(--tinta); text-align: right; }
.cart-line .remove { display: block; margin-top: .25rem; font-size: 11px; color: var(--tinta-suave); text-decoration: underline; text-underline-offset: 4px; background: none; border: 0; padding: 0; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--linea-fuerte); }
.qty-stepper button { padding: .35rem .6rem; color: var(--tinta-media); background: none; border: 0; }
.qty-stepper button:hover { background: rgba(0,0,0,.04); }
.qty-stepper span { min-width: 2rem; text-align: center; font-size: 14px; }
.cart-summary { border-top: 1px solid var(--linea); padding: 1rem 1.25rem 1.25rem; }
.cart-summary .row { display: flex; align-items: baseline; justify-content: space-between; font-size: 13px; color: var(--tinta-media); }
.cart-summary .row + .row { margin-top: .375rem; }
.cart-summary .total { margin-top: .75rem; border-top: 1px solid var(--linea); padding-top: .75rem; display: flex; align-items: baseline; justify-content: space-between; }
.cart-summary .total .label { font-size: 14px; font-weight: 500; color: var(--tinta); }
.cart-summary .total .amount { font-size: 1.35rem; font-weight: 600; color: var(--tinta); }
.cart-summary .btn { margin-top: 1rem; width: 100%; }
.cart-summary .btn + .btn { margin-top: .5rem; }

/* Cart page */
.cart-page { max-width: 68rem; margin: 0 auto; padding: 2.5rem 1rem; }
@media (min-width: 640px) { .cart-page { padding: 2.5rem 1.5rem; } }
.cart-page h1 { font-size: 2rem; font-weight: 600; letter-spacing: -.03em; color: var(--tinta); }
@media (min-width: 640px) { .cart-page h1 { font-size: 2.4rem; } }
.cart-page-grid { margin-top: 2rem; display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .cart-page-grid { grid-template-columns: 1fr 340px; } }
.cart-page-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.cart-page-line { display: flex; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--linea); }
.cart-page-line:first-child { border-top: 0; }
.cart-page-line .thumb { height: 5.5rem; width: 5.5rem; flex-shrink: 0; overflow: hidden; border-radius: var(--radio); background: var(--hueso); }
.cart-page-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-page-line .body { min-width: 0; flex: 1; }
.cart-page-line .name { font-size: 14px; font-weight: 500; color: var(--tinta); }
.cart-page-line .model { margin: .125rem 0 0; font-size: 12px; color: var(--tinta-suave); }
.cart-page-line .unit { margin: .125rem 0 0; font-size: 12px; color: var(--tinta-media); }
.cart-page-line .row { margin-top: .75rem; display: flex; align-items: center; gap: 1rem; }
.cart-page-line .line-total { flex-shrink: 0; font-size: 14px; font-weight: 600; color: var(--tinta); }
.cart-empty { max-width: 64rem; margin: 0 auto; padding: 6rem 1rem; text-align: center; }
.cart-empty h1 { font-size: 2rem; font-weight: 600; letter-spacing: -.03em; color: var(--tinta); }
.cart-empty p { margin-top: .5rem; font-size: 14px; color: var(--tinta-media); }
.cart-empty .btn { margin-top: 1.5rem; }
.cart-side { }
.cart-side .reserve-box { margin-bottom: .75rem; border: 1px solid var(--linea); background: var(--hueso); border-radius: var(--radio); padding: .75rem 1rem; }
.cart-side .reserve-box .fine { margin-top: .25rem; font-size: 11px; color: var(--tinta-suave); }
.cart-summary-box { border: 1px solid var(--linea); border-radius: var(--radio); padding: 1.25rem; font-size: 14px; }
.cart-summary-box .row { display: flex; justify-content: space-between; color: var(--tinta-media); }
.cart-summary-box .row + .row { margin-top: .5rem; }
.cart-summary-box .note { margin-top: .5rem; font-size: 12px; color: var(--tinta-suave); }
.cart-summary-box .note.warn { color: var(--bermellon); }
.cart-summary-box .total { margin-top: 1rem; border-top: 1px solid var(--linea); padding-top: 1rem; display: flex; align-items: baseline; justify-content: space-between; }
.cart-summary-box .total .amount { font-size: 1.6rem; font-weight: 600; color: var(--tinta); }
.cart-side-links { margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.cart-side-links a, .cart-side-links button { color: var(--tinta-media); text-decoration: underline; text-underline-offset: 4px; background: none; border: 0; padding: 0; }
.cart-side-links a:hover, .cart-side-links button:hover { color: var(--tinta); }
.cart-side .trust-badges, .cart-side .payment-methods { margin-top: 1.25rem; }


/* Discount popup */
.discount-popup-overlay { position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.4); padding: 1rem; }
.discount-popup-overlay.open { display: flex; }
.discount-popup { position: relative; width: 100%; max-width: 32rem; border: 1px solid var(--linea); background: #fff; border-radius: var(--radio); padding: 1.5rem; box-shadow: 0 20px 60px rgba(0,0,0,.2); display: flex; flex-direction: column; gap: 1rem; }
.discount-popup-photo img { width: 100%; border-radius: var(--radio); object-fit: cover; aspect-ratio: 16/9; height: auto; }
@media (min-width: 640px) { .discount-popup { padding: 2rem; flex-direction: row; align-items: center; } .discount-popup-photo { flex: 0 0 40%; } .discount-popup-photo img { aspect-ratio: 4/3; } .discount-popup-body { flex: 1; } }
.discount-popup .close { position: absolute; right: .75rem; top: .75rem; padding: .25rem; color: var(--tinta-media); background: none; border: 0; }
.discount-popup .close:hover { color: var(--tinta); }
.discount-popup .kicker { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--bermellon); margin: 0; }
.discount-popup h2 { margin: .5rem 0 0; font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; color: var(--tinta); }
.discount-popup .lede { margin-top: .5rem; font-size: 13px; line-height: 1.6; color: var(--tinta-media); }
.discount-popup form { margin-top: 1.25rem; }
.discount-popup .fine { margin-top: .75rem; font-size: 11px; line-height: 1.6; color: var(--tinta-suave); }
/* Medía 790 px de alto: más que la pantalla de un móvil normal. */
.discount-popup { max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 599px) {
  .discount-popup-overlay { padding: .75rem; align-items: flex-start; padding-top: max(.75rem, env(safe-area-inset-top)); }
  .discount-popup { padding: 1.1rem; gap: .75rem; border-radius: 12px; }
  .discount-popup-photo img { aspect-ratio: 21 / 9; }
  .discount-popup .close { top: .4rem; right: .4rem; }
}
@media (max-width: 380px) { .discount-popup-photo { display: none; } }

/* Product page (all products / search) */
.plp-head { border-bottom: 1px solid var(--linea); padding-bottom: 1.5rem; }
.plp-head h1 { font-size: 2rem; font-weight: 600; letter-spacing: -.03em; color: var(--tinta); margin: 0; }
@media (min-width: 640px) { .plp-head h1 { font-size: 2.6rem; } }
.plp-head .count { margin-top: .375rem; font-size: 13px; color: var(--tinta-media); }
.plp-toolbar { position: sticky; top: 92px; z-index: 10; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); padding: .75rem 0; margin: 0 -1rem; padding-inline: 1rem; }
@media (min-width: 640px) { .plp-toolbar { margin: 0 -1.5rem; padding-inline: 1.5rem; } }
.plp-search { position: relative; }
.plp-search svg { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); height: 1rem; width: 1rem; color: var(--tinta-suave); pointer-events: none; }
.plp-search input { width: 100%; border-radius: var(--radio); border: 1px solid var(--linea); background: #fff; padding: .65rem .75rem .65rem 2.25rem; font-size: 14px; color: var(--tinta); }
.plp-search input::placeholder { color: var(--tinta-suave); }
.plp-filters { margin-top: .75rem; display: flex; align-items: center; gap: .5rem; overflow-x: auto; }
.plp-chip { flex-shrink: 0; border-radius: var(--radio); padding: .375rem .75rem; font-size: 12px; border: 1px solid var(--linea); color: var(--tinta-media); background: #fff; }
.plp-chip:hover { border-color: var(--tinta); color: var(--tinta); }
.plp-chip.active { background: var(--tinta); color: #fff; border-color: var(--tinta); }
.plp-chip.active.avail { background: var(--verde); border-color: var(--verde); }
.plp-sep { flex-shrink: 0; height: 1rem; width: 1px; background: var(--linea); margin-inline: .25rem; }
.plp-empty { padding: 6rem 0; text-align: center; }
.plp-empty p { font-size: 14px; color: var(--tinta-media); }
.plp-empty a { margin-top: .75rem; display: inline-block; font-size: 13px; color: var(--tinta); text-decoration: underline; text-underline-offset: 4px; }
.plp-note { margin-top: 3.5rem; border-top: 1px solid var(--linea); padding-top: 1.5rem; font-size: 12px; color: var(--tinta-suave); }


/* ==========================================================================
   CMYK — capa de color, textura y hover. Blanco de base, tinta de acento.
   ========================================================================== */

/* Barra promo: la tinta corriendo */
.promo-bar { position: relative; background: var(--negro); color: #fff; font-weight: 500; }
.promo-bar::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: repeating-linear-gradient(90deg, var(--cian) 0 60px, var(--magenta) 60px 120px, var(--amarillo) 120px 180px, #fff 180px 240px);
  background-size: 240px 3px;
  animation: tintaCorre 6s linear infinite;
}
@keyframes tintaCorre { to { background-position: 240px 0; } }
@media (prefers-reduced-motion: reduce) { .promo-bar::before { animation: none; } }

/* Filete CMYK bajo la cabecera */
.site-header { border-bottom: 0; }
.site-header::after {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--cian) 0 25%, var(--magenta) 25% 50%, var(--amarillo) 50% 75%, var(--negro) 75% 100%);
}

/* Nav: subrayado que entra al pasar el cursor */
.main-nav a { position: relative; padding-block: 2px; transition: color 160ms ease; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--cian); transform: scaleX(0); transform-origin: right; transition: transform 240ms cubic-bezier(.2,.7,.3,1);
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.main-nav a:nth-child(2)::after { background: var(--magenta); }
.main-nav a:nth-child(3)::after { background: var(--amarillo); }
.main-nav a:nth-child(4)::after { background: var(--negro); }
.mobile-nav a { transition: color 140ms ease, padding-left 180ms ease; border-left: 2px solid transparent; padding-left: .6rem; }
.mobile-nav a:hover { color: var(--tinta); border-left-color: var(--magenta); padding-left: .9rem; }

.cart-btn { transition: transform 160ms ease, color 160ms ease; }
.cart-btn:hover { transform: translateY(-1px); color: var(--magenta); }
.cart-count { background: var(--magenta); }
@media (min-width: 640px) { .cart-count { background: none; color: var(--magenta); font-weight: 600; } }

/* Botones: elevación + barrido de tinta */
.btn { position: relative; transition: transform 180ms cubic-bezier(.2,.7,.3,1), box-shadow 180ms ease, background-color 160ms ease, background-size 420ms cubic-bezier(.2,.7,.3,1), color 160ms ease, border-color 160ms ease; }
.btn-dark {
  background-color: var(--tinta);
  background-image: linear-gradient(90deg, var(--cian), var(--magenta) 45%, var(--amarillo));
  background-repeat: no-repeat; background-size: 0% 100%; background-position: left center;
}
.btn-dark:hover { color: #fff; background-color: var(--tinta); background-image: linear-gradient(90deg, var(--cian), var(--magenta) 45%, var(--amarillo)); background-size: 100% 100%; transform: translateY(-2px); box-shadow: var(--sombra-color) rgba(236,0,140,.45); }
.btn-dark:active { transform: translateY(0); }
.btn-outline-dark:hover { transform: translateY(-2px); box-shadow: var(--sombra-color) rgba(0,168,232,.4); }
.btn-outline:hover { border-color: var(--cian); color: var(--cian); background: var(--cian-suave); }
.btn-bermellon:hover { transform: translateY(-2px); box-shadow: var(--sombra-color) rgba(192,57,43,.45); }

/* Títulos de sección con punto de tinta */
.section-title { position: relative; }
.section-head .section-title::before,
.about-us .section-title::before,
.star-product .section-title::before {
  content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 999px;
  background: var(--magenta); margin-right: .6rem; vertical-align: middle; translate: 0 -.15em;
}
.section-link { position: relative; text-decoration: none; }
.section-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: var(--cian); transform: scaleX(.999); transform-origin: left; transition: transform 240ms ease, background-color 240ms ease; }
.section-link:hover::after { background: var(--magenta); }

/* Bandas con trama de semitono */
.section-band {
  background:
    radial-gradient(circle at 1px 1px, rgba(0,168,232,.16) 1px, transparent 1.4px) 0 0/18px 18px,
    radial-gradient(circle at 1px 1px, rgba(236,0,140,.13) 1px, transparent 1.4px) 9px 9px/18px 18px,
    var(--hueso);
  border-top: 3px solid transparent;
  border-bottom: 0;
  border-image: linear-gradient(90deg, var(--cian) 0 25%, var(--magenta) 25% 50%, var(--amarillo) 50% 75%, var(--negro) 75% 100%) 1;
}

/* Fichas de producto: la tinta rota por posición */
.product-card { --acento: var(--cian); position: relative; transition: transform 260ms cubic-bezier(.2,.7,.3,1); }
.product-card:nth-child(4n+2) { --acento: var(--magenta); }
.product-card:nth-child(4n+3) { --acento: var(--amarillo); }
.product-card:nth-child(4n+4) { --acento: var(--negro); }
.product-card .thumb { border: 1px solid var(--linea); transition: border-color 220ms ease, box-shadow 260ms ease; }
.product-card .thumb::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--acento);
  transform: scaleX(0); transform-origin: left; transition: transform 320ms cubic-bezier(.2,.7,.3,1);
}
.product-card:hover { transform: translateY(-6px); }
.product-card:hover .thumb { border-color: var(--acento); box-shadow: var(--sombra-color) color-mix(in srgb, var(--acento) 45%, transparent); }
.product-card:hover .thumb::after { transform: scaleX(1); }
.product-card:hover .thumb img { transform: scale(1.07); }
.product-card h3 { transition: color 180ms ease; }
.product-card:hover h3 { color: var(--acento); }
.product-card .price { transition: color 180ms ease; }
.product-card:hover .price { color: var(--magenta); }

/* Ventajas: una tinta por ventaja */
.perks > div {
  position: relative; background: #fff; border: 1px solid var(--linea); border-radius: var(--radio);
  padding: 1.6rem 1.4rem 1.5rem; overflow: hidden;
  transition: transform 260ms cubic-bezier(.2,.7,.3,1), box-shadow 260ms ease, border-color 220ms ease;
}
.perks > div::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--acento, var(--cian)); }
.perks > div:nth-child(1) { --acento: var(--cian); }
.perks > div:nth-child(2) { --acento: var(--magenta); }
.perks > div:nth-child(3) { --acento: var(--amarillo); }
.perks > div:hover { transform: translateY(-6px); border-color: var(--acento); box-shadow: var(--sombra-color) color-mix(in srgb, var(--acento) 50%, transparent); }
.perks .n { font-size: 2rem; font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--acento); }
.perks h3 { margin-top: .75rem; font-size: 1.05rem; }

/* Opiniones */
.testimonial-card { --acento: var(--cian); border-left: 3px solid var(--acento); transition: transform 240ms cubic-bezier(.2,.7,.3,1), box-shadow 240ms ease; }
.testimonial-card:nth-child(4n+2) { --acento: var(--magenta); }
.testimonial-card:nth-child(4n+3) { --acento: var(--amarillo); }
.testimonial-card:nth-child(4n+4) { --acento: var(--negro); }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--sombra-color) color-mix(in srgb, var(--acento) 45%, transparent); }

/* Producto estrella: aureola de tinta tras la foto */
.star-product-grid .thumb { position: relative; }
.star-product-grid .thumb::before {
  content: ""; position: absolute; inset: -8%; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0,168,232,.35), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(236,0,140,.32), transparent 62%),
              radial-gradient(circle at 60% 25%, rgba(255,212,0,.30), transparent 58%);
  filter: blur(28px); opacity: .85;
  animation: aureola 14s ease-in-out infinite alternate;
}
.star-product-grid .thumb img { position: relative; z-index: 1; }
@keyframes aureola { to { transform: scale(1.12) rotate(8deg); } }
@media (prefers-reduced-motion: reduce) { .star-product-grid .thumb::before { animation: none; } }
.star-product .price { color: var(--magenta) !important; }

/* Sellos de confianza */
.trust-badges li:nth-child(1) .icon { color: var(--cian); border-color: var(--cian); background: var(--cian-suave); }
.trust-badges li:nth-child(2) .icon { color: var(--magenta); border-color: var(--magenta); background: var(--magenta-suave); }
.trust-badges li:nth-child(3) .icon { color: #b08a00; border-color: var(--amarillo); background: var(--amarillo-suave); }
.trust-badges .icon { transition: transform 200ms cubic-bezier(.2,.7,.3,1); }
.trust-badges li:hover .icon { transform: rotate(-8deg) scale(1.08); }

/* Métodos de pago */
.payment-methods li { transition: transform 180ms cubic-bezier(.2,.7,.3,1), filter 180ms ease; filter: saturate(.85); }
.payment-methods li:hover { transform: translateY(-3px) scale(1.04); filter: saturate(1.15); }

/* Chips y filtros */
.plp-chip { transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.plp-chip:hover { transform: translateY(-2px); border-color: var(--magenta); color: var(--magenta); background: var(--magenta-suave); }
.plp-chip.active { background: var(--magenta); border-color: var(--magenta); }

/* Formularios */
input[type=email]:focus-visible, .plp-search input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cian); outline-offset: 1px; border-color: var(--cian);
}
:where(a, button, summary):focus-visible { outline: 2px solid var(--magenta); outline-offset: 2px; border-radius: 2px; }

/* FAQ / acordeones */
.faq-list summary, .pdp-accordion summary { transition: color 160ms ease; }
.faq-list summary:hover, .pdp-accordion summary:hover { color: var(--magenta); }
.faq-list summary:hover .plus, .pdp-accordion summary:hover .plus { color: var(--magenta); }

/* Barras de valoración */
.reviews .bars .fill { background: linear-gradient(90deg, var(--cian), var(--magenta)); }
.stars .star .fg { color: var(--amarillo); }

/* Pie */
.site-footer { border-top: 0; }
.site-footer::before {
  content: ""; display: block; height: 4px;
  background: linear-gradient(90deg, var(--cian) 0 25%, var(--magenta) 25% 50%, var(--amarillo) 50% 75%, var(--negro) 75% 100%);
}
.footer-col a.underline { transition: color 160ms ease; }
.footer-col a.underline:hover { color: var(--magenta); }

/* Cinta CMYK */
.cinta { position: relative; overflow: hidden; background: var(--negro); color: #fff; padding: .9rem 0; }
.cinta::before, .cinta::after { content: ""; position: absolute; inset-inline: 0; height: 3px; background: linear-gradient(90deg, var(--cian) 0 25%, var(--magenta) 25% 50%, var(--amarillo) 50% 75%, #fff 75% 100%); }
.cinta::before { top: 0; } .cinta::after { bottom: 0; }
.cinta-pista { display: flex; width: max-content; animation: cintaCorre 32s linear infinite; }
.cinta:hover .cinta-pista { animation-play-state: paused; }
.cinta-grupo { display: flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem; }
.cinta-grupo span { display: inline-flex; align-items: center; gap: .75rem; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.cinta-grupo span::before { content: ""; width: .5rem; height: .5rem; border-radius: 999px; background: var(--cian); }
.cinta-grupo span:nth-child(2)::before { background: var(--magenta); }
.cinta-grupo span:nth-child(3)::before { background: var(--amarillo); }
.cinta-grupo span:nth-child(4)::before { background: #fff; }
@keyframes cintaCorre { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .cinta-pista { animation: none; } }

.hero-kicker { color: var(--magenta); font-weight: 600; }

/* La cabecera se pega de verdad: el wrapper de sección de Shopify es quien debe ser sticky */
.seccion-cabecera { position: sticky; top: 0; z-index: 30; }
.site-header { position: static; }


/* ==========================================================================
   Secciones nuevas: bandas a pantalla completa, modelos, comparativa
   ========================================================================== */

/* Banda a pantalla completa */
.banda-pleno { position: relative; display: grid; place-items: center; overflow: clip; isolation: isolate; }
.banda-alta { min-height: 100svh; }
.banda-media { min-height: 68svh; }
.banda-foto { position: absolute; inset: 0; overflow: hidden; }
.banda-foto img { width: 100%; height: 100%; object-fit: cover; }
.banda-velo { position: absolute; inset: 0; }
.banda-claro .banda-velo { background: linear-gradient(to bottom, rgba(255,255,255,.82) 0%, rgba(255,255,255,.28) 38%, rgba(255,255,255,.3) 62%, rgba(255,255,255,.88) 100%); }
.banda-oscuro .banda-velo { background: linear-gradient(to bottom, rgba(0,0,0,.62), rgba(0,0,0,.38) 45%, rgba(0,0,0,.72)); }
.banda-oscuro .banda-foto img { filter: contrast(1.12) brightness(.82); }
.banda-cuerpo { position: relative; z-index: 1; max-width: 44rem; padding: 5rem 1.25rem; text-align: center; }
.banda-kicker { margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .22em; font-weight: 600; color: var(--magenta); }
.banda-oscuro .banda-kicker { color: var(--amarillo); }
.banda-titulo { margin: .9rem 0 0; font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 700; line-height: 1.02; letter-spacing: -.04em; color: var(--tinta); text-shadow: 0 2px 24px rgba(255,255,255,.85); }
.banda-oscuro .banda-titulo { color: #fff; text-shadow: 0 2px 26px rgba(0,0,0,.6); }
.banda-texto { margin: 1rem auto 0; max-width: 32rem; font-size: 15px; line-height: 1.65; color: var(--tinta); text-shadow: 0 1px 16px rgba(255,255,255,.9); }
.banda-oscuro .banda-texto { color: rgba(255,255,255,.85); }
.banda-cuerpo .btn { margin-top: 1.9rem; }
.btn-claro { background: #fff; color: var(--tinta); }
.btn-claro:hover { background: var(--amarillo); color: var(--negro); transform: translateY(-2px); box-shadow: var(--sombra-color) rgba(255,212,0,.5); }
/* Parallax nativo: la foto se mueve más despacio que la página */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .banda-foto img { animation: bandaParallax linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
@keyframes bandaParallax { from { transform: scale(1.18) translateY(-5%); } to { transform: scale(1.18) translateY(5%); } }

/* Modelos compatibles */
.modelos-lede { margin: .75rem 0 0; max-width: 42rem; font-size: 14px; line-height: 1.65; color: var(--tinta-media); }
.modelos-cols { margin-top: 2rem; display: grid; gap: 2rem; }
@media (min-width: 720px) { .modelos-cols { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.modelos-familia { margin: 0 0 .9rem; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; color: var(--tinta); }
.modelos-familia::before { content: ""; display: inline-block; width: 1.5rem; height: 3px; background: var(--cian); margin-right: .6rem; vertical-align: middle; }
.modelos-col:nth-child(2) .modelos-familia::before { background: var(--magenta); }
.modelos-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.modelos-chips li {
  --acento: var(--cian);
  border: 1px solid var(--linea-fuerte); border-radius: var(--radio); background: #fff;
  padding: .5rem .85rem; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--tinta);
  transition: transform 200ms cubic-bezier(.2,.7,.3,1), border-color 180ms ease, color 180ms ease, box-shadow 200ms ease;
}
.modelos-col:nth-child(2) .modelos-chips li { --acento: var(--magenta); }
.modelos-chips li:nth-child(3n+2) { --acento: var(--magenta); }
.modelos-chips li:nth-child(3n+3) { --acento: var(--amarillo); }
.modelos-chips li:hover { transform: translateY(-3px); border-color: var(--acento); color: var(--acento); box-shadow: var(--sombra-color) color-mix(in srgb, var(--acento) 45%, transparent); }

/* Comparativa de precio */
.barras { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
.barra { display: grid; gap: .5rem; grid-template-columns: 1fr auto; align-items: center; }
.barra-que { font-size: 13px; font-weight: 500; color: var(--tinta-media); }
.barra-cifra { grid-row: 1; grid-column: 2; font-size: 1.1rem; font-weight: 700; color: var(--tinta-suave); }
.barra-nuestra .barra-cifra { color: var(--magenta); font-size: 1.6rem; }
.barra-pista { grid-column: 1 / -1; height: 22px; border-radius: 999px; background: var(--hueso); border: 1px solid var(--linea); overflow: hidden; }
.barra-relleno { display: block; height: 100%; width: var(--hasta); border-radius: 999px; background: repeating-linear-gradient(135deg, #cfccc6 0 8px, #c2beb7 8px 16px); }
.barra-nuestra .barra-relleno { background: linear-gradient(90deg, var(--cian), var(--magenta) 60%, var(--amarillo)); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .barra-relleno { animation: barraCrece linear both; animation-timeline: view(); animation-range: entry 15% cover 35%; }
  }
}
@keyframes barraCrece { from { width: 0; } to { width: var(--hasta); } }
.comparativa-nota { margin-top: 1.5rem; font-size: 11px; line-height: 1.6; color: var(--tinta-suave); }


/* ==========================================================================
   Aparición al hacer scroll (nativo, sin JS). Sin soporte: todo visible.
   ========================================================================== */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-head, .modelos-lede, .modelos-col, .barra, .comparativa-nota,
    .product-card, .perks > div, .testimonial-card, .trust-badges li,
    .star-product-grid > *, .about-grid > *, .banda-cuerpo > * {
      animation: aparece linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
    .product-card:nth-child(2), .perks > div:nth-child(2), .testimonial-card:nth-child(2) { animation-range: entry 4% entry 74%; }
    .product-card:nth-child(3), .perks > div:nth-child(3), .testimonial-card:nth-child(3) { animation-range: entry 8% entry 78%; }
    .product-card:nth-child(4), .testimonial-card:nth-child(4) { animation-range: entry 12% entry 82%; }
  }
}
@keyframes aparece { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Para tu impresora: buscador de modelo + marcas ---------- */
.impresora-buscador { position: relative; max-width: 34rem; margin-top: 1.25rem; }
.impresora-campo {
  display: flex; align-items: center; gap: 0.6rem;
  border: 1px solid var(--linea-fuerte); border-radius: var(--radio);
  padding: 0 0.9rem; background: #fff;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.impresora-campo:focus-within { border-color: var(--tinta); box-shadow: 0 0 0 3px var(--cian-suave); }
.impresora-campo svg { width: 18px; height: 18px; color: var(--tinta-suave); flex: none; }
.impresora-campo input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 15px; color: var(--tinta); padding: 0.85rem 0;
}
.impresora-campo input::-webkit-search-cancel-button { -webkit-appearance: none; }

.impresora-lista {
  list-style: none; margin: 0.4rem 0 0; padding: 0.25rem;
  position: absolute; left: 0; right: 0; z-index: 30;
  background: #fff; border: 1px solid var(--linea-fuerte); border-radius: var(--radio);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.28);
  max-height: 21rem; overflow-y: auto;
}
.impresora-lista a {
  display: flex; flex-direction: column; gap: 0.1rem;
  padding: 0.6rem 0.7rem; border-radius: var(--radio);
}
.impresora-lista [aria-selected="true"] a,
.impresora-lista a:hover { background: var(--hueso); }
.imp-modelo { font-size: 14px; font-weight: 500; }
.imp-producto { font-size: 12px; color: var(--tinta-media); }
.impresora-nada { margin: 0.6rem 0 0; font-size: 13px; color: var(--tinta-media); }
.impresora-nada a { text-decoration: underline; }

  list-style: none; margin: 1.75rem 0 0; padding: 0;
  display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr));
}
  display: flex; flex-direction: column; gap: 0.3rem; height: 100%;
  padding: 1.15rem 1rem; border: 1px solid var(--linea); border-radius: var(--radio);
  background: #fff; transition: border-color 140ms ease, transform 140ms ease;
}

/* Producto sin foto todavía: caja neutra en vez de hueco */
.thumb-vacia {
  display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 1 / 1;
  background: var(--hueso); color: var(--tinta-suave);
  font-size: 12px; letter-spacing: 0.02em;
}

/* ---------- Tarjeta de producto ---------- */
.product-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.pcard {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--linea); border-radius: 14px;
  transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease;
}
.pcard:hover { box-shadow: 0 18px 34px -22px rgba(0,0,0,.35); transform: translateY(-3px); border-color: var(--linea-fuerte); }

.pcard-media { position: relative; background: var(--hueso); }
.pcard-fotos { display: block; position: relative; aspect-ratio: 1 / 1; }
.pcard-foto {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  padding: 8%; opacity: 0; transition: opacity 450ms ease;
}
.pcard-foto:first-child { opacity: 1; }
.pcard-fotos .thumb-vacia { position: absolute; inset: 0; }

.pcard-etiquetas { position: absolute; top: .55rem; left: .55rem; display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; }
.et { font-size: 10px; font-weight: 600; letter-spacing: .02em; color: #fff; padding: .2rem .5rem; border-radius: 999px; }
.et-vendido { background: var(--amarillo); color: var(--negro); }
.et-dto { background: var(--magenta); }
.et-agotado { background: var(--tinta-media); }

.pcard-puntos { position: absolute; bottom: .6rem; left: 0; right: 0; display: flex; gap: .28rem; justify-content: center; }
.pcard-puntos span { width: 5px; height: 5px; border-radius: 50%; background: var(--linea-fuerte); transition: background 200ms ease; }
.pcard-puntos span.on { background: var(--tinta); }

.pcard-cuerpo { display: flex; flex-direction: column; gap: .45rem; padding: .85rem .9rem 1rem; flex: 1; }
.pcard-titulo h3 { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.pcard-titulo:hover h3 { color: var(--azul-marca); }

.pcard-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: 12px; color: var(--tinta-media); min-height: 18px; }
.pcard-nota { display: inline-flex; align-items: center; gap: .3rem; }
.pcard-nota b { font-weight: 600; color: var(--tinta); }
.pcard-nota.vacia { color: var(--tinta-suave); }
.pcard-envio { color: var(--verde); font-weight: 500; white-space: nowrap; }

.pcard-precio { margin: 0; display: flex; align-items: baseline; gap: .45rem; }
.pcard-precio b { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; }
.pcard-precio s { font-size: 12px; color: var(--tinta-suave); }
.pcard-precio .consultar { font-size: 13px; font-weight: 400; color: var(--tinta-suave); }


.pcard-accion { margin-top: auto; padding-top: .55rem; }
.pcard-btn { border-radius: 10px; }
.pcard-btn.cargando { opacity: .7; pointer-events: none; }
.pcard-btn.hecho { background: var(--verde); }

/* ---------- Footer con cinta adhesiva ---------- */
.site-footer { background: var(--hueso); border-top: 1px solid var(--linea); margin-top: 4rem; }
.footer-wrap { max-width: var(--max); margin: 0 auto; padding: 4.5rem 1rem 2rem; }
@media (min-width: 640px) { .footer-wrap { padding-left: 1.5rem; padding-right: 1.5rem; } }

.footer-card {
  position: relative; background: #fff; border-radius: 16px;
  padding: 2.25rem 1.5rem 2rem;
  box-shadow: 0 26px 50px -32px rgba(0, 0, 0, .45);
  transform: rotate(-0.6deg);
}
@media (min-width: 760px) { .footer-card { padding: 2.75rem 2.5rem 2.5rem; } }

.cinta {
  position: absolute; top: -14px; width: 72px; height: 26px;
  background: var(--negro); opacity: .92;
  box-shadow: 0 6px 14px -8px rgba(0,0,0,.7);
}
.cinta-izq { left: -16px; transform: rotate(-32deg); }
.cinta-der { right: -16px; transform: rotate(28deg); }

.footer-cols { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .footer-cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; } }

.footer-marca img { height: 52px; width: auto; }
.footer-marca p { margin: .85rem 0 0; max-width: 32ch; font-size: 13px; line-height: 1.65; color: var(--tinta-media); }

.footer-col { display: flex; flex-direction: column; gap: .45rem; font-size: 13px; }
.footer-col p.label { margin: 0 0 .3rem; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--tinta-suave); }
.footer-col a { color: var(--tinta-media); width: fit-content; transition: color 140ms ease; }
.footer-col a:hover { color: var(--tinta); text-decoration: underline; text-underline-offset: 3px; }
.footer-col .dato { color: var(--tinta-suave); font-size: 12px; line-height: 1.5; }
.footer-col .payment-methods { margin-top: .1rem; }
.footer-col .payment-methods .label { display: none; }

.footer-pie {
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; justify-content: space-between;
  padding: 1.75rem .25rem .5rem; font-size: 12px; color: var(--tinta-suave);
}
.footer-pie p { margin: 0; }
.footer-pie nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-pie a { color: var(--tinta-media); }
.footer-pie a:hover { color: var(--tinta); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { margin: 0; padding: 0 .25rem; font-size: 11px; line-height: 1.6; color: var(--tinta-suave); }

/* ---------- PDP: precio, garantías compactas, compatibilidad ---------- */
.pdp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; }
.pdp-price s { font-size: .95rem; font-weight: 400; color: var(--tinta-suave); }
.pdp-price .iva { font-size: 11px; font-weight: 400; color: var(--tinta-suave); letter-spacing: 0; }

.pdp-garantias {
  list-style: none; margin: 1.25rem 0 0; padding: .85rem 1rem;
  border: 1px solid var(--linea); border-radius: 12px; background: var(--hueso);
  display: flex; flex-direction: column; gap: .55rem;
}
.pdp-garantias li { display: flex; align-items: center; gap: .55rem; font-size: 12.5px; color: var(--tinta-media); }
.pdp-garantias svg { flex: none; color: var(--tinta); }
.pdp-garantias b { font-weight: 600; color: var(--tinta); }
.pdp-tarjetas { display: inline-flex; gap: .3rem; margin-left: auto; }
.pdp-tarjetas img { height: 20px; width: auto; }

.pdp-compat { list-style: none; margin: 0 0 .75rem; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.pdp-compat li {
  font-size: 11.5px; padding: .25rem .5rem; border-radius: 6px;
  background: var(--hueso); border: 1px solid var(--linea); color: var(--tinta-media);
}

/* Fotos en las opiniones */
.review-fotos { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 0; padding: 0; }
.review-fotos img {
  width: 74px; height: 74px; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--linea); background: var(--hueso);
  transition: transform 160ms ease, border-color 160ms ease;
}
.review-fotos a:hover img { transform: scale(1.04); border-color: var(--linea-fuerte); }

/* ---------- Marcas (rejilla de 4) ---------- */
.marcas { padding-top: 3rem; padding-bottom: 3rem; }
.marcas-grid { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .85rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 880px) { .marcas-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; } }

.marca > a {
  display: flex; flex-direction: column; gap: .35rem; height: 100%;
  padding: 1.5rem 1.25rem 1.25rem; border-radius: 14px;
  border: 1px solid var(--linea); background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.marca > a:hover { transform: translateY(-3px); box-shadow: 0 20px 38px -26px rgba(0,0,0,.45); }
.marca-logo {
  font-size: 1.9rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1;
  text-transform: uppercase; color: var(--negro);
}
.marca-datos { display: flex; align-items: baseline; gap: .3rem; font-size: 12px; color: var(--tinta-suave); }
.marca-datos b { font-size: 13px; font-weight: 600; color: var(--tinta); }
.marca-cta { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: .35rem; font-size: 12.5px; font-weight: 500; color: var(--tinta-media); }
.marca > a:hover .marca-cta { color: var(--tinta); }

.marca-hp .marca-logo { color: #0096d6; letter-spacing: -0.08em; }
.marca-epson .marca-logo { color: #003399; letter-spacing: .06em; font-weight: 700; }
.marca-brother .marca-logo { color: #0b5cab; text-transform: none; letter-spacing: -0.03em; }
.marca-canon .marca-logo { color: #cc0000; letter-spacing: -0.02em; }
.marca-hp > a:hover { border-color: #0096d6; }
.marca-epson > a:hover { border-color: #003399; }
.marca-brother > a:hover { border-color: #0b5cab; }
.marca-canon > a:hover { border-color: #cc0000; }

.marcas-nota { margin: 1.25rem 0 0; font-size: 11px; line-height: 1.55; color: var(--tinta-suave); max-width: 70ch; }

/* ---------- Testimonios: mazo de tarjetas ---------- */
.testi-stack { padding: 3.5rem 0 4.5rem; background: var(--negro); color: #fff; margin-top: -1px; }
.testi-stack-head { max-width: 42rem; margin: 0 auto; padding: 0 1rem; text-align: center; }
.testi-stack-head h2 { margin: 0; font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: -0.035em; line-height: 1.05; }
.testi-stack-head p { margin: .9rem 0 0; font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.7); }

/* Sin JS o en móvil: columna normal */
.testi-mazo { max-width: 34rem; margin: 2.5rem auto 0; padding: 0 1rem; display: flex; flex-direction: column; gap: 1rem; }
.testi-puntos { display: none; }

/* Con JS en pantalla ancha: mazo apilado que se pasa con el scroll */
.testi-stack.apilado .testi-pista { position: relative; }
.testi-stack.apilado .testi-pega { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.testi-stack.apilado .testi-mazo { position: relative; width: min(30rem, 88vw); height: 22rem; margin: 0; padding: 0; display: block; }
.testi-stack.apilado .testi-carta {
  position: absolute; top: 50%; left: 50%; width: 100%;
  transition: transform 420ms cubic-bezier(.2,.7,.3,1), opacity 380ms ease;
  will-change: transform, opacity;
}
.testi-stack.apilado .testi-puntos { display: flex; gap: .35rem; justify-content: center; position: absolute; bottom: 4.5rem; left: 0; right: 0; }
.testi-stack.apilado .testi-puntos span { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.3); transition: background 200ms ease, width 200ms ease; }
.testi-stack.apilado .testi-puntos span.on { background: #fff; width: 18px; }

.testi-carta {
  background: #fff; color: var(--tinta); border: 1px solid rgba(255,255,255,.1); border-radius: 18px;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 30px 60px -34px rgba(0,0,0,.55);
  display: flex; flex-direction: column; gap: 1rem;
}
.testi-carta .stars { color: var(--cian); }
.testi-carta blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; letter-spacing: -0.01em; flex: 1; }
.testi-carta blockquote::before { content: '\00ab'; }
.testi-carta blockquote::after { content: '\00bb'; }
.testi-carta figcaption { display: flex; align-items: center; gap: .7rem; }
.testi-avatar { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; flex: none; border-radius: 999px; background: var(--hueso); color: var(--tinta); font-size: 13px; font-weight: 600; }
.testi-quien { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.testi-quien b { font-size: 13.5px; font-weight: 600; }
.testi-quien span { font-size: 11.5px; color: var(--tinta-suave); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.testi-verificada { margin-left: auto; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 999px; background: var(--verde); color: #fff; flex: none; }

.testimonios-vacio { max-width: 42rem; margin: 1.5rem auto 0; padding: 0 1rem; text-align: center; font-size: 14px; color: rgba(255,255,255,.7); }
.testimonios-pie { max-width: var(--max); margin: 3rem auto 0; padding: 0 1rem; }

/* ---------- Blog ---------- */
.blog-wrap { padding-top: 2.5rem; padding-bottom: 4rem; }
.blog-head { max-width: 46rem; }
.blog-kicker { margin: 0 0 .4rem; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--magenta); font-weight: 600; }
.blog-head h1 { margin: 0; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.03em; line-height: 1.05; }
.blog-lede { margin: .9rem 0 0; font-size: 1rem; line-height: 1.65; color: var(--tinta-media); }
.blog-temas { display: flex; gap: .4rem; overflow-x: auto; margin: 1.75rem 0 0; padding-bottom: .25rem; }
.blog-temas .plp-chip { white-space: nowrap; }

.blog-grid { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 680px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.bcard {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--linea); border-radius: 14px;
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.bcard:hover { box-shadow: 0 18px 34px -24px rgba(0,0,0,.4); transform: translateY(-3px); }
.bcard-media { display: grid; place-items: center; aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.bcard-media img { width: 100%; height: 100%; object-fit: cover; }
.bcard-inicial { font-size: 3.5rem; font-weight: 700; color: #fff; opacity: .9; line-height: 1; }
.tono-0 { background: linear-gradient(135deg, var(--cian), #0a6cdc); }
.tono-1 { background: linear-gradient(135deg, var(--magenta), #b8006e); }
.tono-2 { background: linear-gradient(135deg, var(--amarillo), #e0a800); }
.tono-3 { background: linear-gradient(135deg, #3a3a3a, var(--negro)); }

.bcard-cuerpo { display: flex; flex-direction: column; gap: .5rem; padding: 1rem 1.1rem 1.25rem; flex: 1; }
.bcard-meta { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: 11px; color: var(--tinta-suave); }
.bcard-tema { background: var(--hueso); border: 1px solid var(--linea); border-radius: 999px; padding: .15rem .5rem; color: var(--tinta-media); }
.bcard-cuerpo h2 { margin: 0; font-size: 1.05rem; line-height: 1.3; letter-spacing: -0.015em; }
.bcard-cuerpo h2 a:hover { color: var(--azul-marca); }
.bcard-resumen { margin: 0; font-size: 13px; line-height: 1.6; color: var(--tinta-media); }
.bcard-link { margin-top: auto; padding-top: .4rem; display: inline-flex; align-items: center; gap: .35rem; font-size: 12px; font-weight: 500; }
.bcard-link:hover { color: var(--magenta); }
.blog-paginado { margin-top: 2.5rem; text-align: center; font-size: 13px; }
.blog-paginado a, .blog-paginado span { padding: .35rem .6rem; }

/* ---------- Artículo ---------- */
.articulo { padding-top: 1.5rem; padding-bottom: 4rem; }
.articulo-head { max-width: 44rem; margin: 1.5rem 0 0; }
.articulo-tema { margin: 0 0 .5rem; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--magenta); font-weight: 600; }
.articulo-head h1 { margin: 0; font-size: clamp(1.9rem, 4.6vw, 2.8rem); line-height: 1.1; letter-spacing: -0.03em; }
.articulo-lede { margin: 1rem 0 0; font-size: 1.05rem; line-height: 1.65; color: var(--tinta-media); }
.articulo-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.1rem 0 0; font-size: 12px; color: var(--tinta-suave); }
.articulo-portada { margin: 2rem 0 0; border-radius: 14px; overflow: hidden; }

.article-prose { max-width: 44rem; margin: 2.25rem 0 0; font-size: 1rem; line-height: 1.75; color: #22221f; }
.article-prose > * + * { margin-top: 1.1rem; }
.article-prose .lead { font-size: 1.1rem; line-height: 1.65; color: var(--tinta); }
.article-prose h2 { margin-top: 2.5rem; font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.02em; }
.article-prose h3 { margin-top: 1.9rem; font-size: 1.15rem; letter-spacing: -0.01em; }
.article-prose ul, .article-prose ol { padding-left: 1.15rem; }
.article-prose li + li { margin-top: .4rem; }
.article-prose a { color: var(--azul-marca); text-decoration: underline; text-underline-offset: 2px; }
.article-prose a:hover { color: var(--magenta); }
.article-prose strong { font-weight: 600; }
.article-prose .table-wrap { overflow-x: auto; border: 1px solid var(--linea); border-radius: 10px; }
.article-prose table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 30rem; }
.article-prose th, .article-prose td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--linea); }
.article-prose thead th { background: var(--hueso); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--tinta-media); }
.article-prose tbody tr:last-child td { border-bottom: 0; }

.articulo-cta {
  max-width: 44rem; margin: 3rem 0 0; padding: 1.75rem 1.5rem;
  border: 1px solid var(--linea); border-radius: 14px; background: var(--hueso);
}
.articulo-cta .kicker { margin: 0 0 .4rem; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--cian); font-weight: 600; }
.articulo-cta h2 { margin: 0; font-size: 1.35rem; letter-spacing: -0.02em; }
.articulo-cta p { margin: .6rem 0 0; font-size: 14px; line-height: 1.6; color: var(--tinta-media); }
.articulo-cta-botones { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.articulo-mas { margin-top: 3.5rem; }
.articulo-mas h2 { margin: 0; font-size: 1.4rem; letter-spacing: -0.02em; }

/* ---------- Para tu impresora: fondo de tinta en agua ---------- */
.impresora-fondo {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #ffffff 0%, #00a8e8 42%, #0a6cdc 72%, #0a0a0a 100%);
}
.shader-oceanico {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; opacity: 0; transition: opacity 600ms ease; z-index: -1;
}
.shader-oceanico.on { opacity: 1; }
.impresora-fondo .impresora { padding-top: 4.5rem; padding-bottom: 4.5rem; color: #fff; }
.impresora-fondo .section-title { color: #fff; }
.impresora-fondo .section-link { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.5); }
.impresora-fondo .section-link:hover { color: #fff; }
.impresora-fondo .modelos-lede { color: rgba(255,255,255,.88); max-width: 46ch; }
.impresora-fondo .impresora-campo { background: rgba(255,255,255,.96); border-color: transparent; }
.impresora-fondo .impresora-campo:focus-within { box-shadow: 0 0 0 3px rgba(255,255,255,.45); }
.impresora-fondo .impresora-nada { color: rgba(255,255,255,.88); }
.impresora-fondo .impresora-nada a { color: #fff; }
.impresora-fondo .impresora-marcas a {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28);
  color: #fff; backdrop-filter: blur(6px);
}
.impresora-fondo .impresora-marcas a:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.impresora-fondo .impresora-marca-pie { color: rgba(255,255,255,.75); }

/* ---------- FAQ en cintas que se desplazan ---------- */
.faq-muro { padding: 4rem 0 4.5rem; background: linear-gradient(180deg, #fff 0%, #f4f6ff 45%, #eef1fd 100%); overflow: hidden; }
.faq-muro-head { max-width: 44rem; margin: 0 auto; padding: 0 1rem; text-align: center; }
.faq-muro-head h2 { margin: 0; font-size: clamp(1.8rem, 4.5vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.1; }
.faq-muro-head p { margin: .8rem 0 0; font-size: 14.5px; line-height: 1.65; color: var(--tinta-media); }

.faq-pistas {
  margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.faq-pista { overflow: hidden; }
.faq-tren { display: flex; gap: 1rem; width: max-content; animation: faq-desliza 58s linear infinite; }
.faq-pista-b .faq-tren { animation-duration: 72s; animation-direction: reverse; }
.faq-pista-c .faq-tren { animation-duration: 64s; }
.faq-pistas:hover .faq-tren { animation-play-state: paused; }
@keyframes faq-desliza { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .faq-tren { animation: none; } .faq-pistas { mask-image: none; -webkit-mask-image: none; overflow-x: auto; } }

.faq-tarjeta {
  width: 20rem; flex: none; padding: 1.1rem 1.25rem 1.2rem;
  background: #fff; border: 1px solid var(--linea); border-radius: 12px;
  box-shadow: 0 12px 26px -22px rgba(0,0,0,.45);
}
.faq-tarjeta h3 { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.faq-tarjeta p { margin: .5rem 0 0; font-size: 13px; line-height: 1.6; color: var(--tinta-media); }
.faq-pie { margin: 2.25rem auto 0; text-align: center; font-size: 13.5px; color: var(--tinta-media); }
.faq-pie a { text-decoration: underline; text-underline-offset: 3px; color: var(--tinta); }
.faq-pie a:hover { color: var(--magenta); }

/* ---------- Ventajas (rejilla de iconos) ---------- */
.ventajas { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.ventajas-head { max-width: 40rem; margin: 0 auto; text-align: center; }
.ventajas-head h2 { margin: 0; font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: -0.035em; line-height: 1.05; }
.ventajas-head p { margin: .9rem 0 0; font-size: 15px; line-height: 1.65; color: var(--tinta-media); }

.ventajas-grid {
  list-style: none; margin: 3rem 0 0; padding: 0;
  display: grid; gap: 2rem 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 860px) { .ventajas-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem 1.75rem; } }
.ventaja { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.ventaja-icono {
  display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 18px;
  color: #fff; margin-bottom: .35rem; background: #1c1c1c;
}
.ventaja-icono svg { width: 2.3rem; height: 2.3rem; }
.ventaja-titulo { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; max-width: 22ch; }
.ventaja-texto { margin: 0; font-size: 13px; line-height: 1.6; color: var(--tinta-media); max-width: 30ch; }
.ventaja-icono.tono-0 { background: var(--cian); }
.ventaja-icono.tono-1 { background: var(--magenta); }
.ventaja-icono.tono-2 { background: var(--amarillo); color: var(--negro); }
.ventaja-icono.tono-3 { background: var(--negro); color: #fff; }

/* ---------- Selector de pack en la ficha ---------- */
.pdp-packs { margin-top: 1.4rem; }
.pdp-packs-label { margin: 0 0 .45rem; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--tinta-suave); }
.pdp-packs-fila { display: flex; flex-wrap: wrap; gap: .4rem; }
.pdp-pack {
  min-width: 3.6rem; padding: .55rem .7rem; border-radius: 9px;
  border: 1px solid var(--linea-fuerte); background: #fff; color: var(--tinta);
  font-size: 13px; font-weight: 600; letter-spacing: -0.01em;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}
.pdp-pack:hover { border-color: var(--tinta); }
.pdp-pack.active { background: var(--tinta); border-color: var(--tinta); color: #fff; }
/* selector de pack: precio por cartucho + sello al mejor */
.pdp-pack { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; position: relative; text-align: left; line-height: 1.25; }
.pdp-pack-nombre { font-weight: 600; }
.pdp-pack-ratio { font-size: 11px; opacity: .72; font-weight: 500; }
.pdp-pack.es-mejor { border-color: var(--cian); }
.pdp-pack-sello {
  position: absolute; top: -.6rem; right: -.35rem;
  background: var(--magenta); color: #fff;
  font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .12rem .34rem; border-radius: 999px; white-space: nowrap; line-height: 1.5;
}
.pdp-pack.active .pdp-pack-ratio { opacity: .85; }
@media (max-width: 420px) { .pdp-pack-sello { font-size: 8px; } }
.pdp-packs-pie { display: flex; flex-wrap: wrap; gap: .25rem .75rem; margin: .6rem 0 0; font-size: 12px; color: var(--tinta-media); }
.pdp-packs-leyenda { color: var(--tinta-suave); }

/* Precio de referencia y descuento en la ficha */
.pdp-pvp { font-size: 12px; font-weight: 400; color: var(--tinta-suave); letter-spacing: 0; }
.pdp-pvp s { margin-left: .2rem; }
.pdp-ahorro {
  font-size: 12px; font-weight: 600; letter-spacing: 0; color: #fff;
  background: var(--magenta); border-radius: 999px; padding: .15rem .45rem;
}

/* Testimonios sobre negro: los sellos de confianza en claro (los iconos ya llevan fondo pastel) */
.testi-stack .trust-badges { color: rgba(255,255,255,.78); }
.testi-stack .trust-badges .sub { color: rgba(255,255,255,.5); }
@media (min-width: 760px) { .testi-stack .trust-badges:not(.compact) { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; } }

/* Lista completa de impresoras: texto real, legible por buscadores */
.impresora-tabla { margin-top: 2rem; }
.impresora-tabla summary {
  cursor: pointer; display: inline-flex; align-items: center; gap: .4rem;
  font-size: 13px; font-weight: 500; padding: .5rem .85rem;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  color: #fff; background: rgba(255,255,255,.1);
}
.impresora-tabla summary:hover { background: rgba(255,255,255,.2); }
.impresora-tabla-caja {
  margin-top: 1rem; max-height: 26rem; overflow: auto;
  background: #fff; border-radius: 12px; padding: .25rem;
}
.impresora-tabla table { width: 100%; border-collapse: collapse; font-size: 13px; color: var(--tinta); }
.impresora-tabla th, .impresora-tabla td { text-align: left; padding: .5rem .7rem; border-bottom: 1px solid var(--linea); }
.impresora-tabla thead th { position: sticky; top: 0; background: var(--hueso); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--tinta-media); }
.impresora-tabla td a { color: var(--azul-marca); }
.impresora-tabla td a:hover { text-decoration: underline; }

/* ---------- Colección ---------- */
.coleccion { padding-top: 1.5rem; padding-bottom: 4rem; }
.coleccion-head { max-width: 46rem; margin: 1.25rem 0 2rem; }
.coleccion-head h1 { margin: 0; font-size: clamp(1.9rem, 4.6vw, 2.7rem); letter-spacing: -0.03em; line-height: 1.1; }
.coleccion-intro { margin-top: .9rem; font-size: 15px; line-height: 1.7; color: var(--tinta-media); }
.coleccion-intro p { margin: 0 0 .7rem; }
.coleccion-intro p:last-child { margin-bottom: 0; }
.coleccion-intro strong { color: var(--tinta); font-weight: 600; }
.coleccion-head .count { margin: 1rem 0 0; font-size: 12px; color: var(--tinta-suave); }

/* ---------- Contacto ---------- */
.contacto { padding-top: 1.5rem; padding-bottom: 4rem; }
.contacto-head { max-width: 42rem; margin: 1.25rem 0 2.25rem; }
.contacto-head h1 { margin: 0; font-size: clamp(1.9rem, 4.6vw, 2.7rem); letter-spacing: -0.03em; line-height: 1.1; }
.contacto-head p { margin: .9rem 0 0; font-size: 15px; line-height: 1.7; color: var(--tinta-media); }
.contacto-vias { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 780px) { .contacto-vias { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contacto-via { display: flex; gap: .85rem; padding: 1.25rem; border: 1px solid var(--linea); border-radius: 14px; background: #fff; }
.contacto-via.destacada { border-color: var(--verde); background: #f4fbf7; }
.contacto-icono { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 999px; background: var(--hueso); color: var(--tinta); }
.contacto-via.destacada .contacto-icono { background: var(--verde); color: #fff; }
.contacto-que { margin: 0 0 .15rem; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--tinta-suave); }
.contacto-via a { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.contacto-via a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contacto-nota { margin: .45rem 0 0; font-size: 12.5px; line-height: 1.55; color: var(--tinta-media); }
.contacto-aviso { margin-top: 2.5rem; padding: 1.5rem; border: 1px solid var(--linea); border-radius: 14px; background: var(--hueso); max-width: 46rem; }
.contacto-aviso h2, .contacto-faq h2 { margin: 0 0 .6rem; font-size: 1.2rem; letter-spacing: -0.02em; }
.contacto-aviso p { margin: 0 0 .9rem; font-size: 14px; line-height: 1.65; color: var(--tinta-media); }
.contacto-aviso address { font-style: normal; font-size: 14px; line-height: 1.6; }
.contacto-faq { margin-top: 2.5rem; max-width: 46rem; }
.contacto-faq ul { margin: 0; padding-left: 1.1rem; }
.contacto-faq li { margin-bottom: .6rem; font-size: 14px; line-height: 1.65; color: var(--tinta-media); }
.contacto-faq a { color: var(--azul-marca); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 404 ---------- */
.error-404 { padding: 4rem 1rem 5rem; max-width: 44rem; text-align: center; }
.error-codigo { margin: 0; font-size: 4.5rem; font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: var(--linea-fuerte); }
.error-404 h1 { margin: .5rem 0 0; font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: -0.03em; }
.error-texto { margin: 1rem 0 0; font-size: 14.5px; line-height: 1.7; color: var(--tinta-media); }
.error-texto a { color: var(--azul-marca); text-decoration: underline; text-underline-offset: 2px; }
.error-acciones { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.5rem; }
.error-enlaces { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin: 2rem 0 0; padding: 0; }
.error-enlaces a { font-size: 12.5px; padding: .45rem .75rem; border: 1px solid var(--linea); border-radius: 999px; color: var(--tinta-media); }
.error-enlaces a:hover { border-color: var(--tinta); color: var(--tinta); }

/* Objetivos táctiles cómodos en móvil */
@media (max-width: 767px) {
  .plp-chip { padding: .6rem 1rem; font-size: 13px; }
  .pdp-pack { padding: .7rem .9rem; font-size: 14px; }
  .blog-temas .plp-chip { padding: .6rem 1rem; }
}

/* Productos dentro del artículo */
.articulo-productos { margin-top: 3rem; }
.articulo-productos h2 { margin: 0 0 1.25rem; font-size: 1.4rem; letter-spacing: -0.02em; }
.articulo-productos-pie { margin: 1.25rem 0 0; font-size: 13.5px; }
.articulo-productos-pie a { color: var(--azul-marca); text-decoration: underline; text-underline-offset: 3px; }
.articulo-productos-pie a:hover { color: var(--magenta); }


/* ---------- Opiniones (estilo Loox) ---------- */
.op { margin-top: 1rem; }
.op-cabecera { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding-bottom: 1.25rem; border-bottom: 1px solid var(--linea); }
.op-resumen { display: flex; align-items: center; gap: 1rem; }
.op-media { margin: 0; font-size: 3rem; font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.op-titulo { margin: 0; font-size: 1.5rem; letter-spacing: -0.02em; }
.op-cuenta { margin: .3rem 0 0; font-size: 13px; color: var(--tinta-media); max-width: 42ch; }
.op-escribir { white-space: nowrap; border-radius: 10px; }
.op-gracias { margin: 1rem 0 0; padding: .85rem 1rem; border-radius: 10px; background: #f4fbf7; border: 1px solid var(--verde); font-size: 13.5px; }

.op-barras { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .3rem; max-width: 22rem; }
.op-barras li { display: grid; grid-template-columns: 2.2rem 1fr 1.6rem; align-items: center; gap: .5rem; }
.op-nivel { display: inline-flex; align-items: center; gap: .15rem; font-size: 12px; color: var(--tinta-media); }
.op-pista { height: 6px; border-radius: 999px; background: var(--linea); overflow: hidden; }
.op-relleno { display: block; height: 100%; background: var(--amarillo); }
.op-cnt { font-size: 12px; color: var(--tinta-suave); text-align: right; }

.op-tira { display: flex; gap: .4rem; overflow-x: auto; margin-top: 1.5rem; padding-bottom: .3rem; scrollbar-width: none; }
.op-tira::-webkit-scrollbar { display: none; }
.op-tira-foto { flex: none; padding: 0; border: 0; background: none; border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.op-tira-foto img { width: 88px; height: 88px; object-fit: cover; transition: transform 200ms ease; }
.op-tira-foto:hover img { transform: scale(1.06); }

.op-muro { list-style: none; margin: 1.75rem 0 0; padding: 0; columns: 1; column-gap: 1rem; }
@media (min-width: 700px) { .op-muro { columns: 2; } }
@media (min-width: 1040px) { .op-muro { columns: 3; } }
.op-tarjeta { break-inside: avoid; margin: 0 0 1rem; border: 1px solid var(--linea); border-radius: 14px; overflow: hidden; background: #fff; }
.op-tarjeta-foto { display: block; position: relative; width: 100%; padding: 0; border: 0; background: var(--hueso); cursor: zoom-in; }
.op-tarjeta-foto img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.op-mas-fotos { position: absolute; right: .5rem; bottom: .5rem; background: rgba(0,0,0,.65); color: #fff; font-size: 11px; padding: .15rem .45rem; border-radius: 999px; }
.op-tarjeta-cuerpo { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .5rem; }
.op-quien { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.op-avatar { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; flex: none; border-radius: 999px; background: var(--hueso); font-size: 12px; font-weight: 600; }
.op-quien-datos { display: flex; flex-direction: column; line-height: 1.25; }
.op-quien-datos b { font-size: 13px; font-weight: 600; }
.op-quien-datos time { font-size: 11px; color: var(--tinta-suave); }
.op-verificada { display: inline-flex; align-items: center; gap: .2rem; margin-left: auto; font-size: 10.5px; font-weight: 500; color: var(--verde); }
.op-tarjeta-titulo { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.op-tarjeta-texto { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--tinta-media); }

/* Visor */
.op-visor { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.9); display: grid; place-items: center; padding: 1.5rem; }
.op-visor figure { margin: 0; max-width: min(60rem, 92vw); text-align: center; }
.op-visor img { max-width: 100%; max-height: 80vh; border-radius: 12px; }
.op-visor figcaption { margin-top: .75rem; color: rgba(255,255,255,.8); font-size: 13px; }
.op-visor-cerrar { position: absolute; top: 1rem; right: 1rem; background: rgba(255,255,255,.12); border: 0; color: #fff; border-radius: 999px; padding: .5rem; display: grid; place-items: center; }
.op-visor-cerrar:hover { background: rgba(255,255,255,.25); }

/* Formulario */
.op-modal { position: fixed; inset: 0; z-index: 130; background: rgba(0,0,0,.55); display: grid; place-items: center; padding: 1rem; overflow-y: auto; }
.op-modal-caja { position: relative; width: min(32rem, 100%); background: #fff; border-radius: 16px; padding: 1.75rem 1.5rem 1.5rem; max-height: 92vh; overflow-y: auto; }
.op-modal-cerrar { position: absolute; top: .75rem; right: .75rem; background: var(--hueso); border: 0; border-radius: 999px; padding: .4rem; display: grid; place-items: center; }
.op-modal-caja h2 { margin: 0; font-size: 1.35rem; letter-spacing: -0.02em; }
.op-modal-lede { margin: .5rem 0 1.25rem; font-size: 13px; color: var(--tinta-media); }
.op-form { display: flex; flex-direction: column; gap: .9rem; }
.op-campo { display: flex; flex-direction: column; gap: .3rem; border: 0; padding: 0; margin: 0; font-size: 13px; }
.op-campo > span, .op-campo legend { font-weight: 500; }
.op-campo em { font-style: normal; color: var(--tinta-suave); font-weight: 400; }
.op-campo small { font-size: 11px; color: var(--tinta-suave); }
.op-campo input, .op-campo textarea {
  font: inherit; font-size: 14px; padding: .65rem .75rem; border: 1px solid var(--linea-fuerte);
  border-radius: 9px; background: #fff; color: var(--tinta); width: 100%;
}
.op-campo input:focus, .op-campo textarea:focus { outline: 0; border-color: var(--tinta); box-shadow: 0 0 0 3px var(--cian-suave); }
.op-picker { display: flex; gap: .15rem; }
.op-picker button { background: none; border: 0; padding: .15rem; color: var(--linea-fuerte); line-height: 0; transition: color 120ms ease; }
.op-picker button.on { color: var(--amarillo); }
.op-foto-aviso { margin: 0; padding: .7rem .85rem; background: var(--hueso); border-radius: 9px; font-size: 12.5px; line-height: 1.55; color: var(--tinta-media); }
.op-foto-aviso a { color: var(--verde); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.op-legal { margin: 0; font-size: 11px; line-height: 1.5; color: var(--tinta-suave); }

/* ---------- Arreglos de móvil (medidos, no a ojo) ---------- */

/* El resplandor decorativo de "el más vendido" sobresale un 8 % por cada lado
   y en móvil eso empujaba la página ~43 px a la derecha. */
.star-product { overflow-x: clip; }

/* La tarjeta del pie va rotada y las cintas se salen 16 px por diseño. */
.site-footer { overflow-x: clip; }

/* Red de seguridad: nada puede provocar scroll lateral.
   `clip` en vez de `hidden` para no romper el sticky del hero. */
html { overflow-x: clip; }

/* Mismo trato para los otros dos diálogos que añadí */
.op-modal-caja { max-height: calc(100dvh - 1.5rem); }
@media (max-width: 599px) {
  .op-modal { padding: .75rem; align-items: flex-start; }
  .op-modal-caja { padding: 1.25rem 1.1rem 1.1rem; border-radius: 12px; }
  .op-cabecera { flex-direction: column; align-items: flex-start; }
  .op-escribir { width: 100%; }
  .op-media { font-size: 2.4rem; }
}
.op-visor { padding: max(1rem, env(safe-area-inset-top)) 1rem 1rem; }
.op-visor img { max-height: 70vh; }

/* Tablas anchas dentro de artículos y fichas: que scrolleen ellas, no la página */
.article-prose .table-wrap, .impresora-tabla-caja { max-width: 100%; }

/* El banner de cookies lo pinta Shopify y en pantallas muy estrechas (280 px,
   un Fold cerrado) se sale por la derecha. */
@media (max-width: 320px) {
  #shopify-pc__banner { max-width: calc(100vw - 1rem) !important; left: .5rem !important; right: .5rem !important; }
}

/* ---------- Colores de compra ---------- */
/* Botón de añadir a la cesta: magenta de marca, que destaque sobre el blanco */
.btn-comprar { background: var(--magenta); color: #fff; border-color: var(--magenta); }
.btn-comprar:hover { background: #c60076; border-color: #c60076; color: #fff; }
.btn-comprar.cargando { opacity: .75; pointer-events: none; }
.btn-comprar.hecho { background: var(--verde); border-color: var(--verde); }

/* Selector de pack: cian, para que no compita con el botón */
.pdp-pack.active { background: var(--cian); border-color: var(--cian); color: #fff; }
.pdp-pack:hover { border-color: var(--cian); }

/* PVP tachado en rojo y el descuento en verde */
.pdp-pvp { color: var(--tinta-suave); }
.pdp-pvp s { color: var(--bermellon); text-decoration-color: var(--bermellon); }
.pdp-ahorro { background: transparent; color: var(--verde); font-weight: 700; padding: 0; font-size: 13px; }
.pcard-precio s { color: var(--bermellon); text-decoration-color: var(--bermellon); }
.pcard-dto { color: var(--verde); font-weight: 700; font-size: 12px; }

/* ---------- Ajustes de color y encuadre (2026-09-15) ---------- */
/* Botón de compra en azul, selector de pack en magenta */
.btn-comprar { background: var(--azul-marca); border-color: var(--azul-marca); color: #fff; }
.btn-comprar:hover { background: #0857b0; border-color: #0857b0; color: #fff; }
.btn-comprar.hecho { background: var(--verde); border-color: var(--verde); }

.pdp-pack.active { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.pdp-pack:hover { border-color: var(--magenta); }

/* La etiqueta de descuento en rojo */
.et-dto { background: var(--bermellon); color: #fff; }

/* Las fotos son cajas sobre blanco: fuera el marco gris y el margen interior */
.pcard-media { background: #fff; }
.pcard-foto { padding: 0; object-fit: cover; }
.pcard-fotos { aspect-ratio: 1 / 1; }
.pdp-gallery .main { background: #fff; }
.pdp-gallery .main img { background: #fff; }
.pdp-thumbs li { background: #fff; }

/* ---------- [hidden] tiene que ganar (2026-09-15) ---------- */
/* .pcard y otros elementos declaran display:flex/grid, que gana al display:none
   del agente de usuario. Sin esto los filtros del catálogo cuentan bien pero no
   ocultan nada. */
[hidden] { display: none !important; }

/* ---------- Repaso de maquetación (2026-09-15) ---------- */
/* Las fotos son cajas: contener, nunca recortar. `cover` cortaba el 604XL
   de la sección "El más vendido" por los lados. */
.pcard-foto,
.star-product-grid .thumb img,
.pdp-gallery .main img { object-fit: contain; }

/* "-20 %" partía en dos líneas dentro de la tarjeta */
.pcard-dto, .pcard-precio s, .pcard-precio b { white-space: nowrap; }

/* "Añadir a la cesta" partía en dos líneas en móvil */
.btn-comprar { white-space: nowrap; }
.pcard .btn-comprar { font-size: 13px; padding-inline: .6rem; }

/* Precio del producto estrella: mismo tratamiento que las tarjetas */
.star-product .price s { font-size: 1rem; color: var(--bermellon); text-decoration-color: var(--bermellon); margin-left: .5rem; }
.star-product .price .pcard-dto { font-size: .95rem; margin-left: .35rem; }

/* Tarjeta de marca: el dato y su aclaración, uno debajo del otro */
.marca-datos { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.3; }


/* ==========================================================================
   Liquidación v3 (2026-09-22): hero folleto, barra superior, popup,
   cajón de cesta, barra fija de compra. Móvil primero.
   ========================================================================== */

/* Barra superior: un mensaje, un enlace */
.promo-bar { display: block; background: var(--negro); color: #fff; text-align: center; font-size: 12px; letter-spacing: .03em; line-height: 1.4; padding: .5rem 1rem; }
.promo-bar b { color: var(--amarillo); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.promo-sep { margin: 0 .45rem; opacity: .6; }
.promo-bar:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Hero folleto */
.seccion-hero { position: relative; }
.hf { position: relative; overflow: clip; background: #fff; isolation: isolate; }
.hf-fondo {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 30% at 0% 0%, rgba(0,168,232,.55), transparent 100%),
    radial-gradient(34% 26% at 100% 4%, rgba(236,0,140,.5), transparent 100%),
    radial-gradient(40% 24% at 6% 100%, rgba(255,212,0,.6), transparent 100%),
    radial-gradient(36% 26% at 96% 96%, rgba(0,168,232,.45), transparent 100%),
    radial-gradient(30% 20% at 50% 55%, rgba(236,0,140,.1), transparent 100%),
    #fff;
}
.hf-inner { max-width: var(--max); margin: 0 auto; padding: 1.25rem 1rem 2.5rem; }
/* multiply: el blanco del recorte desaparece y el rótulo queda sobre las manchas de tinta */
.hf-titulo { width: 100%; max-width: 46rem; height: auto; margin: 0 auto; mix-blend-mode: multiply; }
.hf-lema { margin: .75rem auto 0; text-align: center; display: grid; gap: .4rem; justify-items: center; }
.hf-lema-dto { display: inline-block; background: var(--negro); color: #fff; padding: .45rem 1rem; border-radius: 999px; font-size: 14px; font-weight: 500; }
.hf-lema-dto b { color: var(--amarillo); font-weight: 700; }
.hf-lema-dto a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hf-lema-stock { color: var(--tinta-media); font-size: 13px; line-height: 1.4; }
.hf-lema-stock b { color: #e3001b; }

.hf-packs { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hf-pack {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: 16px; border: 3px solid var(--cian);
  box-shadow: 0 16px 30px -22px rgba(0,0,0,.45);
}
.hf-pack-1 { border-color: var(--magenta); }
.hf-pack-2 { border-color: var(--amarillo); }
.hf-pack-3 { border-color: var(--negro); }
.hf-pack-link { display: flex; flex-direction: column; gap: .15rem; padding: .8rem .8rem .4rem; flex: 1; }
.hf-marca { font-size: 1.1rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; text-transform: uppercase; }
.hf-marca-epson { color: #003399; letter-spacing: .04em; font-weight: 700; }
.hf-marca-canon { color: #cc0000; }
.hf-marca-brother { color: #0b5cab; text-transform: none; }
.hf-marca-hp { color: #0096d6; }
.hf-pack-nombre { font-size: 1.05rem; font-weight: 800; letter-spacing: -.03em; text-transform: uppercase; line-height: 1.05; color: var(--negro); }
.hf-colores { display: flex; gap: .25rem; margin-top: .2rem; }
.hf-colores i { width: .55rem; height: .55rem; border-radius: 999px; background: var(--negro); }
.hf-colores i:nth-child(2) { background: var(--amarillo); }
.hf-colores i:nth-child(3) { background: var(--magenta); }
.hf-colores i:nth-child(4) { background: var(--cian); }
.hf-pack-foto { display: block; aspect-ratio: 1 / 1; margin: .35rem -.25rem 0; }
.hf-pack-foto img { width: 100%; height: 100%; object-fit: contain; }
.hf-pack-detalle { font-size: 11.5px; color: var(--tinta-media); min-height: 1.2em; }
.hf-precio { display: flex; align-items: center; gap: .5rem; margin-top: .35rem; }
.hf-precio b {
  display: inline-block; background: #e3001b; color: #fff;
  font-size: 1.45rem; font-weight: 800; letter-spacing: -.04em; line-height: 1;
  padding: .5rem .7rem; border-radius: 48% 52% 50% 50% / 55% 55% 45% 45%;
  transform: rotate(-4deg); box-shadow: 0 6px 14px -8px rgba(227,0,27,.7); white-space: nowrap;
}
.hf-precio s { font-size: 12px; color: var(--tinta-suave); }
.hf-btn { margin: .4rem .8rem .8rem; width: auto; border-radius: 10px; font-size: 13px; padding-block: .7rem; }
.hf-acciones { margin-top: 1.5rem; text-align: center; }
.hf-cta { width: 100%; padding: .95rem 1.6rem; font-size: 15px; font-weight: 600; }
.hf-pie { margin: .9rem 0 0; font-size: 12px; line-height: 1.5; color: var(--tinta-media); }
@media (min-width: 640px) {
  .hf-inner { padding: 2rem 1.5rem 3.5rem; }
  .hf-lema { grid-auto-flow: column; gap: 1rem; align-items: center; }
  .hf-packs { gap: 1rem; }
  .hf-cta { width: auto; }
}
@media (min-width: 900px) {
  .hf-packs { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 2rem; }
  .hf-pack-link { padding: 1rem 1rem .5rem; }
  .hf-marca { font-size: 1.35rem; }
  .hf-pack-nombre { font-size: 1.25rem; }
  .hf-precio b { font-size: 1.85rem; }
}

/* Tarjetas de producto: el precio manda */
.pcard-precio b { font-size: 1.35rem; font-weight: 700; color: #e3001b; }
.pcard .btn-comprar { padding-block: .7rem; }

/* Popup de descuento */
.discount-popup { border: 0; border-radius: 18px; }
.discount-popup-photo { position: relative; }
.discount-popup-bubble {
  position: absolute; right: .6rem; top: .6rem;
  display: grid; text-align: center; line-height: 1;
  background: #e3001b; color: #fff; font-weight: 800; font-size: 1.3rem;
  padding: .55rem .6rem; border-radius: 48% 52% 50% 50% / 55% 55% 45% 45%; transform: rotate(-6deg);
}
.discount-popup-bubble small { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.discount-popup .kicker { color: var(--magenta); }
.discount-popup h2 { font-size: 1.5rem; }
.discount-popup .form-error { margin: .5rem 0 0; font-size: 12px; color: var(--bermellon); }
.newsletter-success .btn { margin-top: .75rem; }

/* Cajón de la cesta: la lista scrollea, el resumen y "Pagar" siempre a la vista */
.cart-drawer { top: 0; bottom: auto; height: 100dvh; }
#cart-drawer-full { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow-y: auto; }
.cart-lines { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.cart-progreso, .cart-sugerencias, .cart-drawer-head { flex: none; }
.cart-cuerpo { flex: none; }
.cart-lines { flex: none; overflow: visible; }
.cart-line .model { margin: .1rem 0 0; font-size: 11.5px; color: var(--tinta-suave); }
.cart-summary { flex: none; }
.cart-progreso { padding: .75rem 1.25rem; border-bottom: 1px solid var(--linea); background: var(--hueso); }
.cart-progreso-texto { margin: 0 0 .45rem; font-size: 12.5px; color: var(--tinta); }
.cart-progreso-texto b { color: var(--magenta); }
.cart-progreso-pista { display: block; height: 8px; border-radius: 999px; background: var(--linea); overflow: hidden; }
.cart-progreso-pista i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cian), var(--magenta) 60%, var(--amarillo)); transition: width .4s ease; }
.cart-ver { display: block; margin-top: .75rem; text-align: center; font-size: 12px; color: var(--tinta-media); text-decoration: underline; text-underline-offset: 3px; }
@media (max-height: 640px) { .cart-summary-extra { display: none; } }
.qty-stepper button[disabled] { opacity: .35; cursor: wait; }
.btn.cargando { opacity: .7; pointer-events: none; }
.cart-aviso {
  /* Arriba: abajo lo taparían la barra fija de compra de la ficha o la barra del navegador */
  position: fixed; left: 50%; top: 7rem; transform: translateX(-50%); z-index: 60;
  margin: 0; max-width: calc(100vw - 2rem); padding: .7rem 1rem; border-radius: 10px;
  background: var(--bermellon); color: #fff; font-size: 13px; line-height: 1.45;
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.5);
}

/* Ficha: barra fija de compra cuando los botones se han ido de la pantalla */
.pdp-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--linea); box-shadow: 0 -10px 30px -18px rgba(0,0,0,.35);
}
.pdp-sticky-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pdp-sticky-nombre { font-size: 12px; color: var(--tinta-media); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdp-sticky-precio { font-size: 1.15rem; font-weight: 700; }
.pdp-sticky .btn { flex: none; padding: .75rem 1.25rem; }
@media (min-width: 1024px) { .pdp-sticky { display: none; } }

/* Ficha: la galería se queda a la izquierda mientras se baja a descripción/opiniones */
@media (min-width: 1024px) { .pdp-gallery { position: sticky; top: 104px; align-self: start; } }

/* Oferta automática 3 packs -15 % (descuento Shopify sin código) */
.pdp-oferta-packs { margin: 0 0 .75rem; padding: .6rem .8rem; border: 1.5px dashed var(--magenta); border-radius: 6px; background: var(--hueso); font-size: 13px; line-height: 1.35; color: var(--tinta); }
.pdp-oferta-packs b { display: block; color: var(--magenta); font-size: 14px; }
.pdp-oferta-packs span { color: var(--tinta-media); }

/* Cesta: "Completa tu pedido" */
.cart-sugerencias { padding: .75rem 1.25rem; border-top: 1px solid var(--linea); background: var(--hueso); }
.cart-sugerencias-titulo { margin: 0 0 .5rem; font-size: 13px; font-weight: 600; color: var(--tinta); }
.cart-sugerencias-titulo span { font-weight: 400; color: var(--magenta); }
.cart-sugerencias ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.cart-sug { display: grid; grid-template-columns: 48px 1fr auto; gap: .6rem; align-items: center; }
.cart-sug .thumb img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 4px; }
.cart-sug .name { display: block; font-size: 12.5px; line-height: 1.25; color: var(--tinta); text-decoration: none; }
.cart-sug .cifra { font-size: 12.5px; color: var(--tinta-media); }
.cart-sug .qty-stepper { justify-self: end; }

/* ---------- PDP: cuántos packs + pocas unidades ---------- */
.pdp-cantidad { margin: 0 0 .75rem; }
.pdp-cantidad-fila { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.pdp-cant {
  position: relative; min-height: 44px; padding: .55rem .5rem; border: 1px solid var(--linea-fuerte); border-radius: 9px;
  background: #fff; color: var(--tinta); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.pdp-cant:hover { border-color: var(--tinta); }
.pdp-cant.active { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.pdp-cant:focus-visible { outline: 2px solid var(--cian); outline-offset: 2px; }
.pdp-cant span { position: absolute; top: -.55rem; right: .35rem; padding: 0 .35rem; border-radius: 999px; background: var(--magenta); color: #fff; font-size: 10px; line-height: 1.5; }
.pdp-pocas { margin: -.25rem 0 .75rem; font-size: 13px; font-weight: 600; color: var(--magenta); }

/* Página de resultados: el mismo buscador, a lo ancho bajo el título */
.header-search.search-page { max-width: 560px; margin: 1rem 0 .5rem; }
.header-search.search-page input[type="search"] { height: 46px; font-size: 16px; }
.header-search.search-page .header-search__icono { top: 23px; }

/* Precio de la ficha con descuento por cajas: total sin descuento tachado + nuevo total */
.pdp-price .pdp-precio-sin { font-size: 1.1rem; font-weight: 400; color: var(--tinta-suave); text-decoration: line-through; text-decoration-color: var(--bermellon); }
.pdp-nota-cajas { font-size: 13px; font-weight: 500; color: var(--tinta-media); letter-spacing: 0; }

/* --- Conversión 2026-10-09: envío en vivo en la ficha, venta cruzada con papelería, CTA en artículos --- */
.pdp-envio-vivo { margin: 0 0 .75rem; font-size: 13px; line-height: 1.4; color: var(--tinta-media); }
.pdp-envio-vivo b { color: var(--tinta); }
.pdp-xsell { margin: 1rem 0; padding: .9rem 1rem; border: 1px solid var(--linea); border-radius: 8px; background: var(--hueso); }
.pdp-xsell h3 { margin: 0; font-size: 14px; font-weight: 600; color: var(--tinta); }
.pdp-xsell-sub { margin: .2rem 0 .6rem; font-size: 12.5px; color: var(--tinta-media); }
.pdp-xsell ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.pdp-xsell-item { display: grid; grid-template-columns: 48px 1fr auto; gap: .6rem; align-items: center; }
.pdp-xsell-item .thumb img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 4px; }
.pdp-xsell-item .name { display: block; font-size: 12.5px; line-height: 1.25; color: var(--tinta); text-decoration: none; }
.articulo-cta-arriba { display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; align-items: center; margin: 0 0 1.5rem; padding: .85rem 1rem; border: 1.5px solid var(--tinta); border-radius: 8px; background: var(--hueso); }
.articulo-cta-arriba .thumb img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 6px; }
.articulo-cta-arriba .kicker { margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--cian); font-weight: 600; }
.articulo-cta-arriba .nombre { margin: .15rem 0 0; font-size: 15px; font-weight: 600; }
.articulo-cta-arriba .nombre a { color: var(--tinta); text-decoration: none; }
.articulo-cta-arriba .detalle { margin: .15rem 0 0; font-size: 12.5px; color: var(--tinta-media); }
.articulo-espera { display: block; }
.articulo-espera p { margin: .25rem 0; font-size: 14px; line-height: 1.5; }
.articulo-espera .fine { font-size: 12px; color: var(--tinta-media); }
@media (max-width: 560px) { .articulo-cta-arriba { grid-template-columns: 56px 1fr; } .articulo-cta-arriba .btn { grid-column: 1 / -1; } }

/* Opiniones: foto ilustrativa generada con IA, separada de las fotos de clientes */
.op-ilustrativa { margin: 1.5rem 0; max-width: 320px; }
.op-ilustrativa img { width: 100%; height: auto; border-radius: var(--radio); background: var(--hueso); }
.op-ilustrativa figcaption { margin-top: .5rem; font-size: 12px; color: var(--tinta-media); }

/* Completa tu pedido: carrusel con flechas en la ficha */
.related-cab { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.related-flechas { display: flex; gap: .5rem; }
.related-flechas button { width: 40px; height: 40px; border: 1px solid var(--linea); border-radius: 50%; background: #fff; color: var(--tinta); font-size: 22px; line-height: 1; cursor: pointer; }
.related-pista { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; list-style: none; margin: 1.5rem 0 0; padding: 0 0 .5rem; }
.related-pista::-webkit-scrollbar { display: none; }
.related-pista > * { flex: 0 0 46%; scroll-snap-align: start; }
@media (min-width: 1024px) { .related-pista > * { flex-basis: calc(25% - .75rem); } }

/* Cajón compacto: 7 artículos caben sin scroll en una pantalla de portátil */
.cart-line { gap: .6rem; padding: .5rem 0; }
.cart-line .thumb { height: 3rem; width: 3rem; }
.cart-line .name { font-size: 12px; -webkit-line-clamp: 1; }
.cart-line .row { margin-top: .25rem; }
.cart-line .remove { margin-top: 0; }
.cart-line .model { display: none; }
.cart-progreso { padding: .5rem 1.25rem; }
.cart-summary { padding: .6rem 1.25rem .8rem; }
.cart-summary .row, .cart-summary .total { padding-top: .2rem; padding-bottom: .2rem; }
.cart-summary .btn { padding-top: .55rem; padding-bottom: .55rem; margin-top: .4rem; }
.cart-summary .cart-ver { margin-top: .3rem; }
.cart-sugerencias { padding: .5rem 1.25rem; }
.cart-sug { gap: .4rem; }
.cart-sug .thumb img { width: 36px; height: 36px; }
.cart-summary-extra { display: none; }
.cart-line { padding: .4rem 0; }
.cart-line .price { font-size: 12px; }
.cart-line .body .row { margin-top: .15rem; }
.cart-dto-linea { margin: .15rem 0 0; font-size: 11.5px; font-weight: 600; color: var(--magenta); }
.cart-pvp { margin: .15rem 0 0; font-size: 11.5px; color: var(--tinta-media); }
.cart-pvp s { color: var(--tinta-suave); }

/* Botón flotante de WhatsApp */
.wa-flotante {
  position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 30;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 10px 28px -10px rgba(0,0,0,.45);
  transition: transform .2s ease, bottom .2s ease;
}
.wa-flotante:hover { transform: scale(1.06); }
.wa-flotante:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; }
/* En móvil, por encima de la barra fija de compra de la ficha */
@media (max-width: 1023px) { body:has(#pdp-sticky:not([hidden])) .wa-flotante { bottom: calc(5.25rem + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .wa-flotante { transition: none; } }

/* Popup sin X: el rechazo es un enlace discreto bajo el formulario */
.discount-popup .popup-rechazo { display: block; margin: .75rem auto 0; padding: .25rem; background: none; border: 0; font-size: 12px; color: var(--tinta-suave); text-decoration: underline; cursor: pointer; }
.discount-popup .popup-rechazo:hover { color: var(--tinta); }
.testi-stack-head .testi-notas { margin-top: .6rem; font-size: 13.5px; }
.testi-notas a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Nuestra historia (capítulos con vídeo propio) ---------- */
.historia { padding-top: 4.5rem; padding-bottom: 5rem; }
.historia-head { max-width: 40rem; margin: 0 auto; text-align: center; }
.historia-kicker { margin: 0 0 .8rem; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--tinta-media); }
.historia-kicker::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 999px; background: var(--magenta); margin-right: .6rem; vertical-align: middle; translate: 0 -.1em; }
.historia-head h2 { margin: 0; font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; }
.historia-head p:last-child { margin: .9rem 0 0; font-size: 15px; line-height: 1.65; color: var(--tinta-media); }

.historia-lista { list-style: none; margin: 3.5rem 0 0; padding: 0; display: grid; gap: 4.5rem; }
.historia-cap { --acento: var(--cian); --acento-texto: #fff; display: grid; gap: 2.25rem; align-items: center; }
.historia-cap.historia-tono-1 { --acento: var(--magenta); }
.historia-cap.historia-tono-2 { --acento: var(--amarillo); --acento-texto: var(--negro); }
.historia-cap.historia-tono-3 { --acento: var(--negro); }
@media (min-width: 860px) {
  .historia-lista { gap: 6.5rem; margin-top: 4.5rem; }
  .historia-cap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; }
  .historia-cap:nth-child(even) .historia-medio { order: 2; }
}

.historia-medio { position: relative; width: min(100%, 26rem); margin: 0 auto; padding: 0 1.25rem 2.25rem 0; }
.historia-cap:nth-child(even) .historia-medio { padding: 0 0 2.25rem 1.25rem; }
.historia-foto {
  display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover;
  border-radius: 18px; background: var(--hueso);
  box-shadow: 18px 18px 0 -2px var(--acento);
}
.historia-cap:nth-child(even) .historia-foto { box-shadow: -18px 18px 0 -2px var(--acento); }
.historia-detalle {
  position: absolute; right: -.5rem; bottom: 0; width: 42%; aspect-ratio: 3 / 4; height: auto; object-fit: cover;
  border: 6px solid #fff; border-radius: 12px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.4); rotate: 3deg;
}
.historia-cap:nth-child(even) .historia-detalle { right: auto; left: -.5rem; rotate: -3deg; }

.historia-texto { max-width: 30rem; }
@media (max-width: 859px) { .historia-texto { margin: 0 auto; } }
.historia-cuando { display: flex; align-items: center; gap: .75rem; margin: 0 0 .9rem; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--tinta-media); }
.historia-cuando span { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 999px; background: var(--acento); color: var(--acento-texto); font-size: 13px; letter-spacing: 0; }
.historia-texto h3 { margin: 0; font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
.historia-texto p:last-child { margin: 1rem 0 0; font-size: 15.5px; line-height: 1.7; color: var(--tinta-media); }
.historia-pie { margin-top: 4.5rem; text-align: center; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .historia-head, .historia-texto, .historia-foto { animation: aparece linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .historia-detalle { animation: historiaFlota linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
@keyframes historiaFlota { from { transform: translateY(40px); } to { transform: translateY(-40px); } }
