/*
Theme Name: Blocksy Child — PartidaGames
Template: blocksy
Version: 2.8
Description: Child theme de PartidaGames — todo el código y estilos de la casa viven aquí, a salvo de actualizaciones.
*/

/* ── Cards de producto: fondo, borde y hover ── */
.woocommerce ul.products li.product,
[data-products] .product {
  background: #fff;
  border: 1px solid #ececf1;
  border-radius: 12px;
  padding: 10px 10px 16px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.woocommerce ul.products li.product:hover,
[data-products] .product:hover {
  box-shadow: 0 8px 24px rgba(15,14,23,.12);
  transform: translateY(-2px);
}

/* ── Precio protagonista, todo en una línea ── */
.woocommerce ul.products li.product .price,
[data-products] .product .price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
  color: #0F0E17;
  font-weight: 800;
  font-size: 1.08em;
}
.pg-desde { font-weight: 600; color: #8a8fa3; font-size: .82em; margin-right: 2px; }
.pg-usd  { font-weight: 700; color: #7C3AED; font-size: .78em; letter-spacing: .5px; }

/* ── Badge Oferta ── */
span.onsale {
  background: #7C3AED !important;
  color: #fff !important;
  border-radius: 6px;
  font-weight: 700;
}

/* ── Página de producto ── */
@media (max-width: 768px) {
  .woocommerce-product-gallery { max-width: 300px; margin: 0 auto; }
}
.pg-venta { font-size: 14.5px; color: #444; margin-bottom: 4px; }

.pg-details { border: 1px solid #ececf1; border-radius: 10px; margin: 14px 0; overflow: hidden; }
.pg-details summary { cursor: pointer; padding: 12px 14px; font-weight: 700; list-style: none; }
.pg-details summary::-webkit-details-marker { display: none; }
.pg-details summary::after { content: "▾"; float: right; color: #7C3AED; transition: transform .2s; }
.pg-details[open] summary::after { transform: rotate(180deg); }
.pg-details-body { padding: 4px 14px 14px; }

.pg-ficha-fila { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed #ececf1; font-size: 14px; }
.pg-ficha-fila:last-child { border-bottom: 0; }

.pg-lic { background: #f8f8fb; border-radius: 8px; padding: 12px; margin-bottom: 10px; }
.pg-lic p { margin: 6px 0 8px; font-size: 13.5px; }
.pg-chip { display: inline-block; font-size: 12px; border-radius: 6px; padding: 3px 8px; margin: 2px 6px 0 0; font-weight: 600; }
.pg-chip.ok { background: #e7f5ec; color: #1d7a3f; }
.pg-chip.warn { background: #fdf3e3; color: #a3690e; }

.pg-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.pg-badges div { background: #f8f8fb; border: 1px solid #ececf1; border-radius: 8px; padding: 10px; font-size: 12.5px; font-weight: 600; text-align: center; }

/* Un solo precio: el del formulario de variación se oculta */
.woocommerce-variation-price { display: none; }

/* ── v1.1: precio del producto con tachado discreto ── */
.product .summary .price del { font-size: .62em; color: #a7a9be; font-weight: 600; }
.product .summary .price ins { text-decoration: none; }

/* ── v1.1: "¿Cuál es la diferencia?" compacta, dentro del formulario ── */
.pg-dif { margin: 6px 0 14px; }
.pg-dif summary { padding: 9px 12px; font-size: 13.5px; }
.pg-dif .pg-details-body { padding: 2px 10px 10px; }
.pg-dif .pg-lic { padding: 9px 10px; margin-bottom: 7px; }
.pg-dif .pg-lic p { font-size: 12.5px; margin: 4px 0 6px; }
.pg-dif .pg-chip { font-size: 11px; padding: 2px 7px; }

/* ── v1.2: HOME ── */
/* Hero compacto: se ven las ofertas sin bajar mucho */
.pg-hero { border-radius: 14px; overflow: hidden; }
.pg-hero img { display: block; width: 100%; height: auto; }
@media (max-width: 768px) {
  .pg-hero { border-radius: 10px; }
}

/* Títulos de sección */
.pg-sec-title {
  font-size: 1.15rem !important;
  font-weight: 800;
  letter-spacing: .3px;
  margin: 34px 0 16px !important;
  padding-left: 12px;
  border-left: 4px solid #7C3AED;
}

/* Badges de confianza en la home: 4 columnas en desktop */
.pg-badges-home { margin: 26px 0 10px; }
@media (min-width: 769px) {
  .pg-badges-home { grid-template-columns: repeat(4, 1fr); }
}

/* ── v1.3: título de página oculto en la portada ── */
.home .entry-header, .home h1.page-title, .page-id-2 .entry-title { display: none !important; }
body.home .hentry > .entry-header { display: none !important; }

/* ── v1.3: SLIDER del hero (scroll-snap + dots) ── */
.pg-slider { position: relative; border-radius: 14px; overflow: hidden; margin-bottom: 6px; }
.pg-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.pg-slides::-webkit-scrollbar { display: none; }
.pg-slide { flex: 0 0 100%; scroll-snap-align: start; }
.pg-slide img { display: block; width: 100%; height: auto; }
.pg-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 7px; }
.pg-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.45); transition: all .2s; }
.pg-dots button.act { background: #22D3EE; width: 22px; border-radius: 5px; }
.pg-slider:has(.pg-slide:only-child) .pg-dots { display: none; }

/* ── v1.3: carruseles de productos deslizables en móvil ── */
@media (max-width: 768px) {
  .pg-scroll ul.products,
  .pg-scroll [data-products] {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x proximity;
    padding: 2px 2px 10px;
    scrollbar-width: none;
  }
  .pg-scroll ul.products::-webkit-scrollbar,
  .pg-scroll [data-products]::-webkit-scrollbar { display: none; }
  .pg-scroll ul.products li.product,
  .pg-scroll [data-products] .product {
    flex: 0 0 45% !important;
    min-width: 45%;
    scroll-snap-align: start;
    margin: 0 !important;
  }
}

/* ── v1.4: título de página EJECUTADO en la portada (selectores Blocksy) ── */
body.home .hero-section,
body.home .entry-header,
body.home h1.page-title,
body.home .page-title,
body.home article > .entry-title,
body.home [data-prefix] .entry-title { display: none !important; }

/* ── v1.4: slider a ancho completo en móvil (edge-to-edge) ── */
@media (max-width: 768px) {
  .pg-slider {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
  }
}

/* ── v1.4: carrusel de productos reforzado (con y sin wrapper) ── */
@media (max-width: 768px) {
  body.home ul.products,
  body.home .products[data-products],
  .pg-scroll ul.products,
  .pg-scroll .products {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 10px;
    scroll-snap-type: x proximity;
    padding: 2px 2px 10px;
    scrollbar-width: none;
  }
  body.home ul.products::-webkit-scrollbar,
  .pg-scroll ul.products::-webkit-scrollbar { display: none; }
  body.home ul.products li.product,
  body.home .products[data-products] .product,
  .pg-scroll ul.products li.product,
  .pg-scroll .products .product {
    flex: 0 0 45% !important;
    min-width: 45% !important;
    width: 45% !important;
    scroll-snap-align: start;
    margin: 0 !important;
  }
}

/* ── v1.6: sin selector de cantidad en la página de producto ── */
/* (quien quiera dos, añade dos veces: cada click suma 1 al carrito) */
.single-product form.cart .quantity { display: none !important; }
.single-product form.cart .ct-quantity-actions { display: none !important; }

/* ── v1.7: CARRITO Y CHECKOUT ── */
/* Títulos de página fuera (el stepper manda) */
.woocommerce-cart .hero-section, .woocommerce-cart .entry-header, .woocommerce-cart h1.page-title,
.woocommerce-checkout .hero-section, .woocommerce-checkout .entry-header, .woocommerce-checkout h1.page-title { display: none !important; }

/* Sin selector de cantidad en el carrito (modelo dixgamer: solo el quitar) */
.wc-block-components-quantity-selector { display: none !important; }

/* Stepper de pasos 1-2-3 */
.pg-steps { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 6px 0 22px; flex-wrap: wrap; }
.pg-step { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13.5px; letter-spacing: 1px; color: #b9bcc9; text-transform: uppercase; }
.pg-step span { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #ececf1; color: #9a9db0; font-size: 13px; }
.pg-step.act { color: #0F0E17; }
.pg-step.act span { background: #7C3AED; color: #fff; }
.pg-step + .pg-step::before { content: "›"; color: #d3d5e0; margin: 0 10px 0 4px; font-size: 18px; font-weight: 400; }

/* Estética de los items del carrito */
.wc-block-cart-item__image img { border-radius: 8px; border: 1px solid #ececf1; }
.wc-block-components-product-name { color: #0F0E17 !important; font-weight: 700 !important; text-decoration: none !important; }
.wc-block-cart-item__remove-link, .wc-block-cart-item__remove-icon { color: #c62828 !important; }
.wc-block-components-product-metadata { font-size: 12px; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-weight: 800; font-size: 1.15em; }
.wc-block-components-sale-badge { background: #f3e8ff !important; color: #6a1b9a !important; border: 0 !important; }

/* El botón principal hereda la casa */
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
  background: #7C3AED !important; border-radius: 10px !important; font-weight: 800 !important;
}
.wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover { background: #6a2fd6 !important; }

/* ── v1.8: el aviso verde de la casa + sugeridos ── */
.woocommerce-cart .wc-block-components-notice-banner.is-success,
.woocommerce-cart .woocommerce-message {
  background: #eef9f0 !important; border: 1.5px solid #79c98b !important;
  color: #1d6b34 !important; border-radius: 10px !important; font-size: 14px;
}
.woocommerce-cart .woocommerce-message a.button { display: none !important; }
.pg-sugeridos-title { margin-top: 34px !important; }

/* ── v1.9: CHECKOUT CLÁSICO estetizado ── */
.woocommerce-checkout form.checkout h3 {
  font-size: 1.05rem; font-weight: 800; padding-left: 12px;
  border-left: 4px solid #7C3AED; margin: 22px 0 14px;
}
.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row select {
  border: 1.5px solid #e0e2ea; border-radius: 10px; padding: 12px 14px;
  font-size: 14.5px; background: #fff;
}
.woocommerce-checkout form .form-row input.input-text:focus,
.woocommerce-checkout form .form-row select:focus { border-color: #7C3AED; outline: none; }
.woocommerce-checkout form .form-row label { font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.select2-container--default .select2-selection--single {
  border: 1.5px solid #e0e2ea !important; border-radius: 10px !important; height: 46px !important;
  display: flex; align-items: center; padding: 0 8px;
}
#order_review { background: #f8f8fb; border: 1px solid #ececf1; border-radius: 12px; padding: 18px; }
#order_review table.shop_table { border: 0; background: transparent; }
#order_review .order-total .amount { font-size: 1.2em; font-weight: 800; }
#place_order {
  background: #7C3AED !important; border-radius: 10px !important; font-weight: 800 !important;
  padding: 15px !important; width: 100%; font-size: 15.5px !important;
}
#place_order:hover { background: #6a2fd6 !important; }
.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error { border-radius: 10px; }

/* ── v1.11: métodos de pago que calzan con el tema (el recuadro rebelde) ── */
.woocommerce-checkout #order_review { overflow: hidden; }
.woocommerce-checkout #payment { background: transparent !important; border: 0 !important; }
.woocommerce-checkout #payment ul.payment_methods {
  border: 1px solid #e4e0f2; border-radius: 10px; background: #fff;
  padding: 2px 0 !important; margin: 6px 0 14px !important; list-style: none;
}
.woocommerce-checkout #payment li.wc_payment_method { padding: 11px 14px; }
.woocommerce-checkout #payment li.wc_payment_method label { font-weight: 700; font-size: 14.5px; }
.woocommerce-checkout #payment div.payment_box {
  background: #f5f2ff !important; border-radius: 8px; margin: 8px 12px 4px !important;
  padding: 10px 13px !important; font-size: 13px; line-height: 1.55; color: #4a4560;
}
.woocommerce-checkout #payment div.payment_box::before { display: none !important; }
.woocommerce-privacy-policy-text p { font-size: 12.5px; color: #8a8fa3; }

/* ── v1.12: THANK YOU PAGE ── */
/* El stepper avanza solo al paso 3 en la página de gracias */
.woocommerce-order-received .pg-step.act { color: #b9bcc9; }
.woocommerce-order-received .pg-step.act span { background: #ececf1; color: #9a9db0; }
.woocommerce-order-received .pg-step:last-child { color: #0F0E17; }
.woocommerce-order-received .pg-step:last-child span { background: #16a34a; color: #fff; }

/* Gracias + datos del pedido como chips compactos */
.woocommerce-order-received .woocommerce-notice--success {
  font-size: 1.05rem; font-weight: 800; color: #16a34a; text-align: center; margin-bottom: 16px;
}
ul.woocommerce-order-overview {
  display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; margin: 0 0 18px !important;
}
ul.woocommerce-order-overview li {
  background: #f8f8fb; border: 1px solid #ececf1; border-radius: 10px;
  padding: 8px 12px; font-size: 11.5px; color: #8a8fa3; text-transform: uppercase; letter-spacing: .4px;
  border-right: 1px solid #ececf1 !important; margin: 0 !important; float: none !important; width: auto !important;
}
ul.woocommerce-order-overview li strong { display: block; font-size: 14px; color: #0F0E17; letter-spacing: 0; text-transform: none; margin-top: 2px; }

/* Las instrucciones del método de pago: la card protagonista */
.woocommerce-order-received .woocommerce-bacs-bank-details,
.woocommerce-order-received .woocommerce-info,
.woocommerce-order-received section.woocommerce-order-details ~ .payment-instructions,
.pg-pago-card {
  background: #f5f2ff; border: 1.5px solid #d8ccf5; border-radius: 12px; padding: 16px 18px; margin: 0 0 20px;
}
.woocommerce-order-received .wc-bacs-bank-details-heading,
.woocommerce-order-received h2.wc-bacs-bank-details-heading { font-size: 1rem; margin-top: 0; }

/* Resumen del pedido comprimido; fuera la dirección de facturación */
.woocommerce-order-received section.woocommerce-customer-details { display: none !important; }
.woocommerce-order-received section.woocommerce-order-details h2 {
  font-size: 1rem; font-weight: 800; padding-left: 12px; border-left: 4px solid #7C3AED;
}
.woocommerce-order-received table.order_details { border: 1px solid #ececf1; border-radius: 12px; overflow: hidden; }
.woocommerce-order-received table.order_details th, .woocommerce-order-received table.order_details td { padding: 10px 14px; font-size: 13.5px; }

/* ── v2.1: selector de monedas colapsable ── */
.pg-monedas { border-top: 1px solid rgba(128,128,128,.2); margin-top: 10px; padding-top: 6px; }
.pg-monedas summary {
  display: flex; align-items: center; gap: 9px; cursor: pointer; list-style: none;
  padding: 10px 12px; font-size: 15px; border-radius: 8px;
}
.pg-monedas summary::-webkit-details-marker { display: none; }
.pg-monedas .pg-m-flecha { margin-left: auto; color: #7C3AED; transition: transform .2s; }
.pg-monedas[open] .pg-m-flecha { transform: rotate(180deg); }
.pg-m-lista { max-height: 260px; overflow-y: auto; }
.pg-monedas .pg-m {
  display: flex; align-items: center; gap: 9px; background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 14.5px; padding: 10px 12px; width: 100%; text-align: left;
  border-top: 1px solid rgba(128,128,128,.12);
}
.pg-monedas .pg-m span { color: #9a9db0; font-size: 12.5px; margin-left: auto; }
.pg-monedas .pg-m:hover { background: rgba(124,58,237,.08); }

/* ── v2.1: thank-you en tres cards ordenadas ── */
.woocommerce-order-received .woocommerce-order { display: flex; flex-direction: column; }
.pg-ty-1 { order: -10; }
.pg-ty-3 { order: 50; }
.woocommerce-order-received .woocommerce-notice--success,
.woocommerce-order-received ul.woocommerce-order-overview,
.woocommerce-order-received section.woocommerce-order-details { display: none !important; }

.pg-ty { background: #fff; border: 1px solid #ececf1; border-radius: 14px; padding: 22px 20px; margin-bottom: 16px; }
.pg-ty-1 { text-align: center; }
.pg-ty-icono {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.pg-ty-icono.espera { background: #fdf6e3; color: #b8860b; }
.pg-ty-icono.ok { background: #e8f7ec; color: #16a34a; }
.pg-ty-1 h2 { font-size: 1.25rem; margin: 0 0 4px; }
.pg-ty-sub { color: #8a8fa3; font-size: 13.5px; margin-bottom: 10px; }
.pg-ty-mail { font-size: 14px; line-height: 1.5; }
.pg-ty-entrega {
  margin-top: 14px; background: #eef9f0; border-left: 4px solid #4caf7d;
  padding: 10px 14px; font-size: 13.5px; text-align: left; border-radius: 0 8px 8px 0;
}
.pg-ty-3 h3 { font-size: 1rem; font-weight: 800; margin: 0 0 12px; padding-left: 12px; border-left: 4px solid #7C3AED; }
.pg-ty-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #ececf1; font-weight: 600; font-size: 14px; }
.pg-ty-item img { border-radius: 6px; width: 44px; height: auto; }
.pg-ty-fila { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #f2f2f6; font-size: 13.5px; }
.pg-ty-fila:last-child { border-bottom: 0; }
.pg-ty-fila span { color: #8a8fa3; }

/* ── v2.2: CARRITO CLÁSICO estilo de la casa ── */
.woocommerce-cart table.shop_table.cart { border: 0; }
.woocommerce-cart table.shop_table.cart thead { display: none; }
.woocommerce-cart table.shop_table.cart tr.woocommerce-cart-form__cart-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 4px;
  border-bottom: 1px solid #f0f0f4;
}
.woocommerce-cart table.shop_table.cart td { border: 0 !important; padding: 0 !important; background: transparent !important; }
.woocommerce-cart td.product-thumbnail img { width: 58px; border-radius: 8px; border: 1px solid #ececf1; }
.woocommerce-cart td.product-name { flex: 1; font-weight: 700; font-size: 14px; line-height: 1.35; }
.woocommerce-cart td.product-name a { color: #0F0E17; text-decoration: none; }
.woocommerce-cart td.product-name .variation { font-size: 11.5px; color: #8a8fa3; font-weight: 500; margin: 3px 0 0; }
.woocommerce-cart td.product-name .variation dt, .woocommerce-cart td.product-name .variation dd { margin: 0; display: inline; }
.woocommerce-cart td.product-price { display: none; }
.woocommerce-cart td.product-quantity { display: none; }
.woocommerce-cart td.product-subtotal { font-weight: 800; font-size: 14.5px; white-space: nowrap; }
.woocommerce-cart td.product-remove a.remove {
  color: #c62828 !important; font-size: 20px; width: 28px; height: 28px; line-height: 26px;
  border-radius: 50%; background: #fdf2f2 !important;
}
.woocommerce-cart td.product-remove a.remove:hover { background: #c62828 !important; color: #fff !important; }
.woocommerce-cart .cart-collaterals .cart_totals { width: 100%; float: none; }
.woocommerce-cart .cart_totals h2 { display: none; }
.woocommerce-cart .cart_totals table.shop_table { border: 1px solid #ececf1; border-radius: 12px; }
.woocommerce-cart .cart_totals .order-total td, .woocommerce-cart .cart_totals .order-total th { font-size: 1.1em; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background: #7C3AED !important; border-radius: 10px !important; font-weight: 800 !important;
  padding: 15px !important; font-size: 15.5px !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { background: #6a2fd6 !important; }
.woocommerce-cart td.actions { padding-top: 14px !important; }
.woocommerce-cart td.actions .coupon { display: flex; gap: 8px; width: 100%; }
.woocommerce-cart td.actions .coupon input#coupon_code {
  flex: 1; border: 1.5px solid #e0e2ea; border-radius: 10px; padding: 11px 13px; font-size: 14px; width: auto;
}
.woocommerce-cart td.actions .coupon button {
  background: #f1edfb !important; color: #7C3AED !important; border-radius: 10px !important; font-weight: 700 !important;
}
.woocommerce-cart button[name="update_cart"] { display: none !important; }
.woocommerce-cart .return-to-shop a.button {
  background: #7C3AED !important; border-radius: 10px !important; font-weight: 800 !important;
}
.cart-empty.woocommerce-info { border-radius: 10px; }

/* ── v2.2: el paso 3 también es morado ── */
.woocommerce-order-received .pg-step:last-child span { background: #7C3AED; }

/* ── v2.3: carrito clásico afinado (markup Blocksy) ── */
.woocommerce-cart .quantity, .woocommerce-cart .product-quantity { display: none !important; }
.woocommerce-cart td.product-name { padding-right: 8px !important; }
.woocommerce-cart table.shop_table.cart td.product-subtotal { margin-left: auto; }
.woocommerce-cart .cart_totals table.shop_table td,
.woocommerce-cart .cart_totals table.shop_table th { border: 0 !important; padding: 10px 14px !important; }
.woocommerce-cart .cart_totals table.shop_table tr + tr td,
.woocommerce-cart .cart_totals table.shop_table tr + tr th { border-top: 1px solid #f0f0f4 !important; }
.woocommerce-cart td.actions .coupon button,
.woocommerce-cart td.actions .coupon .button { width: auto !important; padding: 11px 18px !important; }

/* ── v2.3: checkout sin la sección vacía "Información adicional" ── */
.woocommerce-checkout .woocommerce-additional-fields { display: none !important; }

/* ── v2.3: OFF-CANVAS estilo de la casa (referencia Pixel) ── */

#offcanvas .ct-panel-content ul.menu > li > a,
#offcanvas .ct-menu > li > a,
#offcanvas [data-id="menu"] li a {
  text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; font-size: 14.5px;
  padding: 13px 0 !important;
}
#offcanvas .pg-monedas { border-top: 1px solid rgba(128,128,128,.18); padding-top: 10px; }
.pg-monedas summary { font-size: 14px; letter-spacing: .5px; }
.pg-monedas summary b { font-weight: 800; }
.pg-monedas .pg-m b { min-width: 42px; }

/* ── v2.4: carrito — la imagen pegada al texto, sin el × huérfano ── */
.woocommerce-cart table.shop_table.cart td.product-thumbnail { width: 66px !important; min-width: 0 !important; flex: 0 0 66px; }
.woocommerce-cart td.product-name > span:not([class]) { display: none; }

/* ── v2.4: OFF-CANVAS blanco estilo Pixel, alineado arriba ── */
#offcanvas .ct-panel-inner, #offcanvas .ct-panel-content { background: #fff !important; }
#offcanvas ul.menu, #offcanvas .ct-menu { margin: 14px 0 0 !important; }
#offcanvas .ct-panel-content ul.menu > li > a,
#offcanvas .ct-menu > li > a,
#offcanvas [data-id="menu"] li a {
  color: #0F0E17 !important; border-bottom: 1px solid #f2f2f6;
}
#offcanvas .ct-panel-content ul.menu > li > a:hover { color: #7C3AED !important; }
#offcanvas .ct-toggle-close { color: #0F0E17 !important; }
#offcanvas .pg-monedas { color: #0F0E17; }
.pg-m-lab { color: #8a8fa3; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-right: 8px; }
.pg-monedas summary b { color: #7C3AED; }
.pg-monedas .pg-m b { color: #0F0E17; }

/* ── v2.5: offcanvas — todo arriba (refuerzo contra el centrado) ── */
#offcanvas .ct-panel-content > * { margin-top: 0 !important; margin-bottom: 0 !important; }
#offcanvas .ct-panel-content { padding-top: 8px; }

/* ── v2.8: búsqueda off-canvas — barra ARRIBA, fondo claro, resultados debajo ── */
#search-modal { background: rgba(255,255,255,.98) !important; }
#search-modal .ct-container {
  justify-content: flex-start !important; align-items: flex-start !important;
  padding-top: 18px !important; margin-top: 0 !important;
}
#search-modal form, #search-modal .ct-search-form { width: 100% !important; max-width: 680px; margin: 0 auto !important; }
#search-modal input[type="search"] {
  color: #0F0E17 !important; background: #fff !important;
  border: 1.5px solid #e0e2ea !important; border-radius: 12px !important;
  padding: 14px 16px !important; font-size: 16px !important;
}
#search-modal input[type="search"]:focus { border-color: #7C3AED !important; outline: none; }
#search-modal .ct-search-results, #search-modal .ct-search-box { color: #0F0E17 !important; }
#search-modal .ct-toggle-close { color: #0F0E17 !important; top: 14px; }
#search-modal ::placeholder { color: #9a9db0 !important; }
