/* cpuproductlayout — legacy.css
 * Reglas copiadas SIN CAMBIOS de los <style> del product.tpl original (paridad con la ficha actual).
 * Se irán sustituyendo por clases propias en fases posteriores. */

.product-information-icons,
.col-product-info .product-information-table > .product-brand > .product-info-row {
    display: none !important;
    margin-left:10%;
}
body#product .reviews-replaceable-block .netreviews_stars_light {
    display: none;
}
body#product .product_header_container .h1.page-title {
    margin: 0;
    broder-bottom: none !important;
}
body#product .product_header_container .h1.page-title + .product-reviews-block-substitution {
    margin-bottom: 40px;
    broder-bottom: none !important;
}

@media only screen and (max-width: 768px) {
    .whatsapp.whatsapp_1.whatsapp-badge,
    .skeepers-widget-wrapper-070f2ede-83e0-487e-bcf4-8c4f9f423ae3 {
        display: none !important;
    }
    .mim-col-add-whatsapp .mim-whatsappchat-anchor .whatsapp.whatsapp_1.whatsapp-badge {
        display: block !important;
        margin: 0 !important;
    }
    .col.mim-col-add-whatsapp {
        margin: 0 !important;
    }

    .row.extra-small-gutters.product-quantity {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 101%;
        padding: 5px 15px;
        height: 65px;
        background: #fff;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
        z-index: 15;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: nowrap;
        gap: 10px;
    }
    .row.extra-small-gutters.product-quantity > span.title-qty,
    .row.extra-small-gutters.product-quantity > .col.col-add-qty {
        display: none;
    }
    #product .row.extra-small-gutters.product-quantity > .col.col-add-wishlist {
        flex-grow: 0;
        margin: 0;
        margin-bottom: 0;
    }
    #back-to-top.-back-to-top-visible {
        bottom: 70px;
    }

    #product .product-quantity>.col {
        padding: 0 !important;
        margin: 0 !important;
    }

    #product .row.extra-small-gutters.product-quantity > .col {
        flex: unset;
        flex-grow: 0;
        flex-basis: auto;
        padding: 0 !important;
        margin: 0 !important;
    }

    #product .col.mim-col-add-whatsapp {
        width: 100%;
        height: 38px;
        max-width: 38px;
        max-height: 38px;
    }
    #product .col.mim-col-add-whatsapp > a.mim-whatsappchat-anchor {
        display: block;
        width: 100%;
        height: 100%;
    }
    #product .col.mim-col-add-whatsapp > a.mim-whatsappchat-anchor button {
        display: block;
        width: 100%;
        height: 100%;
        padding: 0;
        border: none;
        outline: none;
        padding: 5px;
        border-radius: 50px;
        background: transparent;
        border: 2px solid #051a59;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        cursor: pointer;
    }
    #product .col.mim-col-add-whatsapp > a.mim-whatsappchat-anchor button i {
        margin: 0 !important;
    }
}

#product .row.extra-small-gutters.product-quantity > .col.col-add-wishlist,
#product .row.extra-small-gutters.product-quantity > .col.mim-col-add-whatsapp {
    display: none;
}

/* ---- botón comprar + barra sticky ---- */
.btn-comprar-animado {
    background: linear-gradient(to right, #f9bc31 0%, #fad65c 50%, #f9bc31 100%) !important;
    background-size: 200% auto !important;
    transition: background-position 0.4s ease-in-out, transform 0.2s ease, box-shadow 0.2s ease !important;
    color: #051a59 !important;
    padding: 15px 0 !important;
    width: 100% !important;
    border: none !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
}
.btn-comprar-animado:hover {
    background-position: right center !important;
    transform: translateY(-2px) !important;
    box-shadow: 0px 6px 15px rgba(249, 188, 49, 0.4) !important;
}

.sticky-bottom-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    padding: 12px 0px !important;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.15) !important;
    z-index: 999999 !important;
    border-top: 1px solid #eee !important;
}

body { padding-bottom: 95px !important; }

@media screen and (min-width: 1200px) {
    .sticky-bottom-bar .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }
    .btn-comprar-animado-sticky {
        font-size: 18px !important;
        padding: 12px 30px !important;
        width: auto !important;
        border-radius: 8px !important;
    }
}

@media screen and (max-width: 1199px) {
    .btn-comprar-animado-sticky {
        font-size: 15px !important;
        padding: 14px 10px !important;
        flex: 0 0 45% !important;
        border-radius: 8px !important;
    }
}

/* ---- split descripción / productos relacionados ---- */
.columns-custom-split {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

.product_description_col,
.product-footer-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
}

.product_description_col {
    margin-bottom: 25px !important;
}

@media (min-width: 992px) {
    .columns-custom-split {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        gap: 0 !important;
    }
    .product_description_col {
        flex: 0 0 70% !important;
        max-width: 70% !important;
        padding-right: 30px !important;
        margin-bottom: 0 !important;
    }
    .product-footer-container {
        flex: 0 0 30% !important;
        max-width: 30% !important;
        margin-top: 10px !important;
    }
    .product-footer-container .slick-slide {
        flex: 0 0 45% !important;
        max-width: 45% !important;
    }
}

.product-footer-container .product-miniature {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    padding: 10px !important;
}

.product-footer-container .thumbnail-container img {
    width: 100% !important;
    max-height: 120px !important;
    object-fit: contain;
}
