/* LinkedIn SVG — igualar tamaño al resto de íconos sociales */
.social-icons .social-linkedin.svg-inline--fa {
    width: 1em;
    height: 1em;
    vertical-align: middle;
}

/* Contener imagen del producto - no desborda ni se corta */
.product-single-gallery {
    overflow: hidden;
}

.product-single-carousel {
    max-height: 480px;
}

.product-single-image {
    max-height: 480px;
    width: auto !important;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Mobile: adaptar todo a pantalla pequeña */
@media (max-width: 575px) {
    .product-single-carousel {
        max-height: 35vh;
    }
    .product-single-image {
        max-height: 35vh;
        width: auto !important;
        max-width: 100%;
        object-fit: contain;
    }
    /* Thumbnails más pequeños */
    .prod-thumbnail .owl-dot .thumb img,
    .prod-thumbnail .thumb img {
        width: 60px !important;
        height: 60px !important;
    }
    /* Título más pequeño */
    .product-title {
        font-size: 1.6rem !important;
    }
    /* Precio y disponibilidad en la misma fila */
    .price-box {
        display: inline-block;
        margin-bottom: 0 !important;
    }
    .product-stock {
        display: inline-block;
        margin-left: 10px;
        vertical-align: middle;
    }
    .product-stock p {
        margin-bottom: 0;
    }
    /* Botones de acción: todos en una fila con íconos */
    .product-action {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        align-items: center;
    }
    .product-action .product-single-qty {
        flex: 0 0 auto;
    }
    /* Wrapper de botones — ocupa el espacio restante */
    .product-action .action-buttons {
        display: flex;
        flex: 1;
        gap: 8px;
    }
    /* Ambos botones iguales — mismo padre directo */
    .product-action .action-buttons .btn {
        flex: 1;
        font-size: 0 !important;
        padding: 10px 14px;
        margin: 0 !important;
        text-align: center;
    }
    /* Ícono + texto: carrito */
    .product-action .action-buttons .add-cart::before {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        font-size: 1.3rem;
        content: "\f07a";
        vertical-align: middle;
        margin-right: 5px;
    }
    .product-action .action-buttons .add-cart::after {
        font-family: inherit;
        font-size: 1.2rem;
        content: "Añadir al carrito";
        vertical-align: middle;
    }
    /* Ícono + texto: WhatsApp */
    .product-action .action-buttons .btn-whatsapp::before {
        font-family: "Font Awesome 5 Brands";
        font-weight: 400;
        font-size: 1.3rem;
        content: "\f232";
        vertical-align: middle;
        margin-right: 5px;
    }
    .product-action .action-buttons .btn-whatsapp::after {
        font-family: inherit;
        font-size: 1.2rem;
        content: "Comprar por WhatsApp";
        vertical-align: middle;
    }
    /* Botón flotante WhatsApp más pequeño */
    #whatsapp-link img {
        width: 50px !important;
    }
}

/* Producto responsive: apilar columnas en pantallas < lg (992px) */
@media (max-width: 991px) {
    .product-single-gallery,
    .product-single-details {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
}

/* Quitar padding inferior excesivo de industry-section */
.industry-section {
    padding-bottom: 0;
}

/* Métodos de pago: limitar tamaño de imágenes/logos */
.metodo-pago .opciones-listado .opcion label .img {
    flex-shrink: 0;
    max-width: 140px;
    text-align: right;
}
.metodo-pago .opciones-listado .opcion label .img img {
    max-height: 36px;
    width: auto;
    max-width: 100%;
}

.btn-outline-secondary:hover,
.btn-outline-secondary.focus {
    color: #fff !important;
}
