/* =====================================================================
   Confecciones Palmira - Tema "Athleisure Moderno" (fase 2, 2026-10-02)
   Archivo independiente: no modifica style22.css, style.css ni Bootstrap.
   Todas las reglas llevan el prefijo "html body" para ganarle a los
   estilos que algunas paginas cargan despues (login.css, footer, etc.).
   Para desactivar el tema basta con quitar la linea <link> que lo carga.
   ===================================================================== */

/* =========================== 1. VARIABLES GLOBALES =========================== */
:root {
    --cp-blanco: #FFFFFF;
    --cp-borde: #E2E8F0;
    --cp-coral: #FA5252;
    --cp-coral-oscuro: #E03131;
    --cp-coral-suave: rgba(250, 82, 82, 0.12);
    --cp-carbon: #1E293B;
    --cp-gris: #64748B;
    --cp-hielo: #F8FAFC;
}

/* ============================ 2. BASE Y TIPOGRAFIA ============================ */
html body { color: var(--cp-carbon); }
html body h1, html body h2, html body h3, html body h4, html body h5, html body h6 { color: var(--cp-carbon); }
html body a { color: var(--cp-carbon); }
html body a:hover, html body a:focus { color: var(--cp-coral-oscuro); }
html body .text-muted, html body small, html body .product-old-price, html body .product-category { color: var(--cp-gris); }

/* ======================= 3. CABECERA Y NAVEGACION ======================= */
/* Fondo blanco con borde gris claro */
html body #header { background-color: var(--cp-blanco) !important; border-bottom: 1px solid var(--cp-borde); }
/* Franja superior (solo existe en las cabeceras antiguas header.php y header23.php) */
html body #top-header { background-color: var(--cp-hielo) !important; border-bottom: 1px solid var(--cp-borde); }
html body #top-header .header-links li, html body #top-header .header-links li a { color: var(--cp-carbon) !important; }
html body #top-header .header-links li a:hover { color: var(--cp-coral) !important; }
html body .header-links li i { color: var(--cp-coral) !important; }
/* Logo en las cabeceras antiguas: tamano controlado */
html body #header .header-logo .logo img { max-width: 210px; height: auto; }

/* Redes sociales y sesion (bloque de la fase 1) */
html body #header .redes-header a { background: var(--cp-hielo); color: var(--cp-carbon); border: 1px solid var(--cp-borde); }
html body #header .redes-header a:hover, html body #header .redes-header a:focus { background: var(--cp-coral); color: var(--cp-blanco); border-color: var(--cp-coral); }
html body #header .sesion-header, html body #header .sesion-header a { color: var(--cp-carbon); }
html body #header .sesion-header a:hover, html body #header .sesion-header a:focus { color: var(--cp-coral-oscuro); }
html body #header .sesion-header i { color: var(--cp-coral); }
html body #header .sesion-header .sesion-sep { color: var(--cp-gris); }

/* Buscador del encabezado */
html body .form-busqueda-header { background-color: var(--cp-blanco); border: 1px solid var(--cp-borde); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06); }
html body .input-busqueda-header, html body .select-talla-header { color: var(--cp-carbon); }
html body .select-talla-header { border-left-color: var(--cp-borde); }
html body .btn-buscar-header, html body .header-search form .search-btn { background-color: var(--cp-coral) !important; color: var(--cp-blanco) !important; }
html body .btn-buscar-header:hover, html body .btn-buscar-header:focus, html body .header-search form .search-btn:hover { background-color: var(--cp-coral-oscuro) !important; }

/* Boton Menu (celular) e insignia de cantidad */
html body .header-ctn > div > a, html body .header-ctn .menu-toggle a { color: var(--cp-carbon) !important; }
html body .header-ctn > div > a > .qty { background-color: var(--cp-coral) !important; color: var(--cp-blanco) !important; }

/* Barra de navegacion blanca */
html body #navigation { background: var(--cp-blanco) !important; border-top: 0 !important; border-bottom: 1px solid var(--cp-borde) !important; }
html body .main-nav > li > a { color: var(--cp-carbon); }
html body .main-nav > li > a:hover, html body .main-nav > li > a:focus, html body .main-nav > li.active > a { color: var(--cp-coral-oscuro) !important; }
html body .main-nav > li > a:after { background-color: var(--cp-coral) !important; }

/* Menu desplegable del celular: panel blanco en vez de negro */
@media only screen and (max-width: 991px) {
    html body #responsive-nav { background: var(--cp-blanco) !important; border-right: 1px solid var(--cp-borde); box-shadow: 4px 0 18px rgba(15, 23, 42, 0.12); }
    html body #responsive-nav .main-nav > li > a { color: var(--cp-carbon) !important; border-bottom: 1px solid var(--cp-borde); }
    html body #responsive-nav .main-nav > li > a:hover { color: var(--cp-coral-oscuro) !important; }
}

/* Selector "Descargar catalogo" */
html body .form-descargar-catalogo select { border: 1px solid var(--cp-borde); color: var(--cp-carbon); }
html body .form-descargar-catalogo .search-btn { background-color: var(--cp-coral) !important; color: var(--cp-blanco) !important; }
html body .form-descargar-catalogo .search-btn:hover, html body .form-descargar-catalogo .search-btn:focus { background-color: var(--cp-coral-oscuro) !important; }

/* Migas de pan */
html body #breadcrumb { background: var(--cp-hielo); border-bottom: 1px solid var(--cp-borde); }
html body #breadcrumb .breadcrumb-tree li a:hover { color: var(--cp-coral-oscuro) !important; }

/* ======================= 4. BOTONES Y FORMULARIOS ======================= */
html body .primary-btn,
html body .cta-btn,
html body .newsletter form .newsletter-btn,
html body .shopping-cart-btn,
html body .btn-primary,
html body .btn-descargar-img {
    background-color: var(--cp-coral) !important;
    border-color: var(--cp-coral) !important;
    color: var(--cp-blanco) !important;
}
html body .primary-btn:hover, html body .primary-btn:focus,
html body .cta-btn:hover, html body .cta-btn:focus,
html body .newsletter form .newsletter-btn:hover,
html body .shopping-cart-btn:hover,
html body .btn-primary:hover, html body .btn-primary:focus, html body .btn-primary:active,
html body .btn-descargar-img:hover {
    background-color: var(--cp-coral-oscuro) !important;
    border-color: var(--cp-coral-oscuro) !important;
    color: var(--cp-blanco) !important;
}
/* Eliminar / acciones destructivas: coral oscuro */
html body .btn-danger, html body .btneliminar { background-color: var(--cp-coral-oscuro) !important; border-color: var(--cp-coral-oscuro) !important; color: var(--cp-blanco) !important; }
html body .btn-danger:hover, html body .btneliminar:hover { background-color: #C92A2A !important; border-color: #C92A2A !important; }

/* Campos, radios, checks, cantidad y rango de precios */
html body .input:focus, html body .input-select:focus, html body .form-control:focus { border-color: var(--cp-coral) !important; box-shadow: 0 0 0 3px var(--cp-coral-suave) !important; }
html body .input-radio input[type="radio"]:checked + label span,
html body .input-checkbox input[type="checkbox"]:checked + label span { background-color: var(--cp-coral) !important; border-color: var(--cp-coral) !important; }
html body .input-number .qty-up:hover, html body .input-number .qty-down:hover { background-color: var(--cp-coral) !important; color: var(--cp-blanco) !important; }
html body .noUi-connect { background: var(--cp-coral) !important; }
html body .noUi-horizontal .noUi-handle { background: var(--cp-coral) !important; border-color: var(--cp-coral) !important; }

/* Iniciar sesion y Registro (login.css / registro.css) */
html body .subbt { background-color: var(--cp-coral) !important; color: var(--cp-blanco) !important; text-shadow: none !important; }
html body .subbt:hover { background-color: var(--cp-coral-oscuro) !important; }
html body .bts-a:hover { color: var(--cp-coral-oscuro) !important; }
html body .login-form input:focus, html body .login-form input:active { border-bottom-color: var(--cp-coral) !important; }
html body form#login-form:before { color: var(--cp-coral) !important; }

/* ===================== 5. TARJETAS Y FICHA DE PRODUCTO ===================== */
html body .product:hover { box-shadow: 0 0 0 1px var(--cp-borde), 0 10px 24px rgba(15, 23, 42, 0.10) !important; }
html body .product .product-body .product-name > a:hover,
html body .product .product-body .product-name > a:focus,
html body .product-widget .product-body .product-name > a:hover { color: var(--cp-coral-oscuro) !important; }
html body .product .product-body .product-price,
html body .product-widget .product-body .product-price,
html body .product-details .product-price,
html body .cart-dropdown .cart-list .product-widget .product-body .product-price { color: var(--cp-coral-oscuro) !important; }
html body .product .product-body .product-price .product-old-price,
html body .product-details .product-price .product-old-price { color: var(--cp-gris) !important; }

/* Insignias de descuento y novedad */
html body .product .product-img .product-label > span.sale { background-color: var(--cp-blanco) !important; border-color: var(--cp-coral) !important; color: var(--cp-coral-oscuro) !important; }
html body .product .product-img .product-label > span.new { background-color: var(--cp-coral) !important; border-color: var(--cp-coral) !important; color: var(--cp-blanco) !important; }

/* Franja y boton "Anadir al carrito" */
html body .product .add-to-cart { background: var(--cp-hielo) !important; }
html body .product .add-to-cart .add-to-cart-btn,
html body .product-details .add-to-cart .add-to-cart-btn {
    background-color: var(--cp-coral) !important;
    border-color: var(--cp-coral) !important;
    color: var(--cp-blanco) !important;
}
html body .product .add-to-cart .add-to-cart-btn:hover,
html body .product-details .add-to-cart .add-to-cart-btn:hover {
    background-color: var(--cp-coral-oscuro) !important;
    border-color: var(--cp-coral-oscuro) !important;
    color: var(--cp-blanco) !important;
}
html body .product .add-to-cart .add-to-cart-btn > i,
html body .product-details .add-to-cart .add-to-cart-btn > i { background-color: transparent !important; color: var(--cp-blanco) !important; }

html body .product .product-body .product-btns > button:hover { color: var(--cp-coral-oscuro) !important; }
html body .product .product-body .product-btns > button .tooltipp { background: var(--cp-carbon) !important; }
html body .product-widget .delete { background-color: var(--cp-carbon) !important; }
html body .product-details .product-available { color: var(--cp-coral-oscuro) !important; }
html body #product-imgs .product-preview.slick-current { border-color: var(--cp-coral) !important; }
html body #product-tab .tab-nav li.active a, html body .section-tab-nav li.active a { color: var(--cp-coral-oscuro) !important; }
html body #product-tab .tab-nav li a:after, html body .section-tab-nav li a:after { background-color: var(--cp-coral) !important; }
html body .hot-deal .hot-deal-countdown > li { background: var(--cp-coral) !important; }

/* Estrellas de calificacion y resenas */
html body .product .product-body .product-rating > i.fa-star,
html body .product-details .product-rating > i.fa-star,
html body .rating-avg .rating-stars > i.fa-star,
html body .rating .rating-stars > i.fa-star,
html body .reviews .review-heading .review-rating > i.fa-star { color: var(--cp-coral) !important; }
html body .rating .rating-progress > div { background-color: var(--cp-coral) !important; }
html body .reviews-pagination li.active, html body .reviews-pagination li:hover { background-color: var(--cp-coral) !important; border-color: var(--cp-coral) !important; color: var(--cp-blanco) !important; }

/* Catalogo: paginacion, vista en cuadricula y carruseles */
html body .store-pagination li.active, html body .store-pagination li:hover,
html body .store-grid li.active, html body .store-grid li:hover { background-color: var(--cp-coral) !important; border-color: var(--cp-coral) !important; color: var(--cp-blanco) !important; }
html body .slick-dots li.slick-active button:before { color: var(--cp-coral) !important; }
html body .slick-prev:hover, html body .slick-prev:focus, html body .slick-next:hover, html body .slick-next:focus { background-color: var(--cp-coral) !important; border-color: var(--cp-coral) !important; }

/* Boton de precios por cantidad en categoria.php (estilo en linea sin !important) */
html body button[onclick^="togglePreciosInline"] { background: var(--cp-coral) !important; }
/* Enlace "Ver catalogo" de product.php (estilo en linea sin !important) */
html body a[href="./categoria.php"][style*="#D10024"] { background: var(--cp-coral) !important; }

/* ========================= 6. CARRITO Y CHECKOUT ========================= */
html body .cart-dropdown .cart-btns > a { background-color: var(--cp-coral) !important; color: var(--cp-blanco) !important; }
html body .cart-dropdown .cart-btns > a:first-child { background-color: var(--cp-carbon) !important; }
html body .order-summary .order-col .order-total { color: var(--cp-coral-oscuro) !important; }
html body .cart-card-talla-badge, html body .pedido-final-card-talla-badge { border-color: var(--cp-borde) !important; }

/* Carrito flotante */
html body .carrito-flotante-btn { background-color: var(--cp-coral) !important; color: var(--cp-blanco) !important; box-shadow: 0 6px 16px rgba(250, 82, 82, 0.35) !important; }
html body .carrito-flotante-btn:hover { background-color: var(--cp-coral-oscuro) !important; }

/* Boton "App" y barra de notificaciones */
html body #cp-inst-btn { background: var(--cp-coral) !important; box-shadow: 0 3px 10px rgba(250, 82, 82, 0.35) !important; }
html body #cp-inst-btn:hover { background: var(--cp-coral-oscuro) !important; }
html body #pwa-banner-permiso { background: var(--cp-coral-oscuro) !important; }

/* ============================ 7. PIE DE PAGINA ============================ */
/* Carbon/grafito en vez de negro: conserva el contraste del texto claro existente */
html body #footer { background: var(--cp-carbon) !important; }
html body #bottom-footer { background: #172033 !important; border-top: 1px solid rgba(255, 255, 255, 0.06); }
html body .footer-links li i { color: var(--cp-coral) !important; }
html body .footer-links li a:hover { color: var(--cp-coral) !important; }
html body .footer-payments li a { background-color: rgba(255, 255, 255, 0.08) !important; }
html body .newsletter .newsletter-follow li a:hover, html body .newsletter .newsletter-follow li a:focus { background-color: var(--cp-coral) !important; border-color: var(--cp-coral) !important; }
html body #newsletter.section { border-top-color: var(--cp-borde) !important; border-bottom-color: var(--cp-coral) !important; }
html body #footer h1, html body #footer h2, html body #footer h3, html body #footer h4, html body #footer h5, html body #footer h6,
html body #footer .footer-title { color: var(--cp-blanco) !important; }
html body #footer a, html body #bottom-footer a, html body #footer p, html body #bottom-footer span { color: #CBD5E1; }
html body #footer a:hover, html body #bottom-footer a:hover { color: var(--cp-coral); }

/* ===================== 8. ICONOS OFICIALES DE REDES (redes oficiales) ===================== */
html body #header .redes-header { gap: 12px; }
html body #header .redes-header a { width: 28px; height: 28px; background: transparent !important; border: 0 !important; border-radius: 0; transition: transform .2s ease, opacity .2s ease; }
html body #header .redes-header a:hover, html body #header .redes-header a:focus { background: transparent !important; transform: translateY(-2px); opacity: .85; }
html body #header .redes-header a img { width: 24px; height: 24px; display: block; }
@media (max-width: 991px) {
    html body #header .redes-sesion-mobile .redes-header { gap: 10px; }
    html body #header .redes-sesion-mobile .redes-header a { width: 24px; height: 24px; }
    html body #header .redes-sesion-mobile .redes-header a img { width: 21px; height: 21px; }
}

/* ===================== 9. TALLA Y CANTIDAD EN LA PAGINA DE PRODUCTO (campos ovalados) ===================== */
/* Solo el formulario de "Anadir al carrito" de product.php (form#carrito que envia a add_to_car.php).
   Solo estilos: no cambia el HTML, los nombres de los campos ni los botones + y -. */
html body form#carrito[action*="add_to_car"] .product-options { margin: 0 0 14px !important; }
html body form#carrito[action*="add_to_car"] .product-options label,
html body form#carrito[action*="add_to_car"] .add-to-cart .qty-label {
    display: grid !important;
    grid-template-columns: 90px minmax(0, 240px);
    align-items: center;
    column-gap: 12px;
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--cp-carbon) !important;
}
html body form#carrito[action*="add_to_car"] .add-to-cart { display: block !important; margin: 0 !important; }
html body form#carrito[action*="add_to_car"] .add-to-cart .qty-label { margin-bottom: 18px !important; }
html body form#carrito[action*="add_to_car"] .product-options .input-select {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 46px !important;
    margin: 0 !important;
    padding: 0 42px 0 20px !important;
    border: 1px solid var(--cp-borde) !important;
    border-radius: 999px !important;
    background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 18px center !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--cp-carbon) !important;
    box-shadow: none !important;
    cursor: pointer;
}
html body form#carrito[action*="add_to_car"] .add-to-cart .input-number {
    position: relative !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--cp-borde) !important;
    border-radius: 999px !important;
    background: #FFFFFF !important;
}
html body form#carrito[action*="add_to_car"] .add-to-cart .input-number input[type="number"] {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 92px 0 20px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--cp-carbon) !important;
    box-shadow: none !important;
    -moz-appearance: textfield;
}
html body form#carrito[action*="add_to_car"] .add-to-cart .input-number .qty-up,
html body form#carrito[action*="add_to_car"] .add-to-cart .input-number .qty-down {
    position: absolute !important;
    top: 5px !important;
    bottom: auto !important;
    left: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--cp-borde) !important;
    border-radius: 50% !important;
    background: var(--cp-hielo) !important;
    color: var(--cp-carbon) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
html body form#carrito[action*="add_to_car"] .add-to-cart .input-number .qty-up { right: 5px !important; }
html body form#carrito[action*="add_to_car"] .add-to-cart .input-number .qty-down { right: 45px !important; }
html body form#carrito[action*="add_to_car"] .add-to-cart .input-number .qty-up:hover,
html body form#carrito[action*="add_to_car"] .add-to-cart .input-number .qty-down:hover {
    background: var(--cp-coral) !important;
    border-color: var(--cp-coral) !important;
    color: #FFFFFF !important;
}
html body form#carrito[action*="add_to_car"] .product-options .input-select:focus,
html body form#carrito[action*="add_to_car"] .add-to-cart .input-number:focus-within {
    border-color: var(--cp-coral) !important;
    box-shadow: 0 0 0 3px var(--cp-coral-suave) !important;
    outline: none !important;
}
html body form#carrito[action*="add_to_car"] #btncar { margin-top: 0 !important; }
@media (max-width: 767px) {
    html body form#carrito[action*="add_to_car"] .product-options label,
    html body form#carrito[action*="add_to_car"] .add-to-cart .qty-label {
        grid-template-columns: 78px minmax(0, 1fr);
        column-gap: 10px;
    }
    html body form#carrito[action*="add_to_car"] .product-options .input-select,
    html body form#carrito[action*="add_to_car"] .add-to-cart .input-number { height: 48px !important; }
    html body form#carrito[action*="add_to_car"] .add-to-cart .input-number input[type="number"] { height: 46px !important; }
    html body form#carrito[action*="add_to_car"] .add-to-cart .input-number .qty-up,
    html body form#carrito[action*="add_to_car"] .add-to-cart .input-number .qty-down { width: 36px !important; height: 36px !important; }
    html body form#carrito[action*="add_to_car"] .add-to-cart .input-number .qty-down { right: 47px !important; }
    html body form#carrito[action*="add_to_car"] #btncar { width: 100%; }
}



/* ===================== 10. BOTON ANADIR AL CARRITO ALINEADO CON TALLA Y CANTIDAD (computador) ===================== */

@media (min-width: 768px) {

    html body form#carrito[action*="add_to_car"] #btncar {

        display: block !important;

        box-sizing: border-box !important;

        width: 240px !important;

        margin-left: 102px !important;

        text-align: center !important;

    }

}


/* ===================== 11. CELULAR: SELECCIONE CATALOGO + DESCARGAR + MENU EN UNA SOLA FILA ===================== */
/* El selector se estira y ocupa el espacio libre; Descargar queda pegado al boton de Menu.
   El selector es el unico que se encoge (min-width: 0), asi Menu nunca se sale de la pantalla.
   Solo aplica cuando esta fila de celular esta visible; en computador no cambia nada. */
@media (max-width: 991px) {
    html body #header .header-account-col .header-ctn { flex-wrap: nowrap !important; }
    html body #header .header-ctn .catalogo-descargar-mobile {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 8px 0 0 !important;
    }
    html body #header .header-ctn .catalogo-descargar-mobile .form-descargar-catalogo {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }
    html body #header .header-ctn .catalogo-descargar-mobile .form-descargar-catalogo select {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
    }
    html body #header .header-ctn .catalogo-descargar-mobile .form-descargar-catalogo .search-btn {
        flex: 0 0 auto !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }
    html body #header .header-ctn .menu-toggle { flex: 0 0 auto !important; margin: 0 !important; }
}

/* ===== 12. Tarjetas: dos botones fijos (Ver precios / Agregar al carrito) - 2026-10-02 ===== */
html body .product .cp-botones { display: flex !important; gap: 6px; padding: 0 10px 12px; margin-top: 6px; }
html body .product .cp-botones > a { flex: 1 1 0; min-width: 0; text-decoration: none !important; }
html body .product .cp-botones .cp-btn { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; height: 100%; min-height: 38px; padding: 5px 6px; border: 0; border-radius: 40px; background: #FA5252; color: #FFFFFF !important; font-size: 11px; font-weight: 700; line-height: 1.15; text-transform: uppercase; text-align: center; cursor: pointer; }
html body .product .cp-botones > a:hover .cp-btn { background: #E03131; }
@media (max-width: 480px) { html body .product .cp-botones .cp-btn { font-size: 10px; min-height: 36px; padding: 4px 5px; border-radius: 20px; } }

/* ===== 13. Tarjetas: franja de tallas disponibles sobre la foto - 2026-10-02 ===== */
html body .product .product-img .cp-tallas { position: absolute; left: 0; right: 0; bottom: 0; z-index: 15; background: rgba(255, 255, 255, 0.94); padding: 8px 8px 10px; text-align: center; box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; pointer-events: none; }
html body .product .product-img .cp-tallas-tit { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: #64748B; text-transform: uppercase; line-height: 1.2; margin-bottom: 6px; }
html body .product .product-img .cp-tallas-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
html body .product .product-img .cp-tallas-chips span { display: inline-block; min-width: 34px; padding: 5px 9px; border: 1.5px solid #1F2937; border-radius: 20px; background: #FFFFFF; color: #1F2937; font-size: 13px; font-weight: 700; line-height: 1.2; box-sizing: border-box; }
html body .product .product-img .cp-tallas-pista { display: none; }
html body .product .product-img .product-label { transition: bottom 0.2s; }
html body .product .product-img.cp-tallas-on .cp-tallas { opacity: 1; visibility: visible; transform: none; }
html body .product .product-img.cp-tallas-on .product-label { bottom: calc(var(--cp-tallas-alto, 70px) + 8px) !important; }
@media (hover: hover) { html body .product .product-img:hover .cp-tallas { opacity: 1; visibility: visible; transform: none; } html body .product .product-img:hover .product-label { bottom: calc(var(--cp-tallas-alto, 70px) + 8px) !important; } }
@media (hover: none) { html body .product .product-img .cp-tallas-pista { display: inline-block; position: absolute; left: 8px; top: 8px; z-index: 16; background: rgba(31, 41, 55, 0.78); color: #FFFFFF; font-size: 11px; line-height: 1.3; padding: 4px 9px; border-radius: 12px; pointer-events: none; } html body .product .product-img.cp-tallas-on .cp-tallas-pista { display: none; } }

/* ===== 14. Tarjetas: compra rapida (tocar talla + Agregar al carrito = 1 unidad) - 2026-10-03 ===== */
html body .product .product-img.cp-tallas-on .cp-tallas { pointer-events: auto; }
@media (hover: hover) { html body .product .product-img:hover .cp-tallas { pointer-events: auto; } html body .product .product-img .cp-tallas-chips .cp-talla:hover { border-color: #FA5252; color: #FA5252; } }
html body .product .product-img .cp-tallas-chips .cp-talla { display: inline-block; min-width: 34px; margin: 0; padding: 5px 9px; border: 1.5px solid #1F2937; border-radius: 20px; background: #FFFFFF; color: #1F2937; font-family: inherit; font-size: 13px; font-weight: 700; line-height: 1.2; box-sizing: border-box; cursor: pointer; -webkit-appearance: none; appearance: none; }
html body .product .product-img .cp-tallas-chips .cp-talla.cp-sel, html body .product .product-img .cp-tallas-chips .cp-talla.cp-sel:hover { background: #FA5252; border-color: #FA5252; color: #FFFFFF; }
html body .product .cp-botones > a.cp-ok .cp-btn { background: #16A34A; }
html body #cp-aviso { position: fixed; left: 50%; bottom: 96px; z-index: 99999; max-width: 90%; transform: translate(-50%, 20px); background: #1F2937; color: #FFFFFF; font-size: 14px; line-height: 1.3; padding: 10px 16px; border-radius: 10px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); text-align: center; opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s, visibility 0.2s; pointer-events: none; }
html body #cp-aviso.cp-ver { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
html body #cp-aviso.cp-malo { background: #C92A2A; }

/* ===== 15) Celulares: casillas sin zoom automatico (2026-10-16) =====

   En iPhone, Safari hace zoom al tocar una casilla con letra menor de 16px y no lo

   deshace, y la pagina queda mas ancha que la pantalla. Con 16px no hace zoom.

   Solo aplica en pantallas de celular; computador y tablet quedan igual. */

@media (max-width: 767px) {

  input[type="text"], input[type="email"], input[type="password"], input[type="tel"],

  input[type="number"], input[type="search"], input:not([type]), select, textarea, .form-control {

    font-size: 16px !important;

  }

}

