/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE ***************/


/* ----- Estilos para dispositivos móviles ----- */
@media only screen and (max-width: 48em) {
    /* Añade aquí el CSS exclusivo para móviles */
}

#shipping_method .shipping__list_item label {
    color: black !important;
}

.pagos, .pagos2 {
    width: 150px;
}

/*VARIFICACION DE CARGA*/

/* ----- Desenfoque en imágenes de productos ----- */
.kiwichi-blur {
    filter: blur(10px) !important;
}


img.kiwichi-blur[data-loaded="true"] {
    filter: none;
}


/*.kiwichi-hide-images img,*/
.woocommerce-product-gallery .kiwichi-blur,
.product-thumbnails .kiwichi-blur {
    filter: blur(10px);
    pointer-events: none;
    transition: filter 0.3s ease-in-out;
}

/* ----- Botón para desbloquear imágenes ----- */
.kiwichi-toggle-visibility {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: url("https://kiwichi.com/wp-content/uploads/2025/01/2.png") no-repeat center center;
    background-size: contain;
    cursor: pointer;
    z-index: 10;
}

/* ----- Estilos para etiquetas de stock ----- */
.stock-info {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
}

.stock-badge, .stock-tienda {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
}

.physical-stock {
    background-color: #d4f4dd; /* Verde claro para stock físico */
    color: #056608;
}

.online-stock {
    background-color: #e0e8f7; /* Azul claro para stock online */
    color: #0646a4;
}

/* ----- Diseño del producto: Galería e información ----- */
.product-info.summary.col-fit.col.entry-summary.product-summary.text-left.form-minimal {
    padding: 20px;
    position: sticky;
}

.resumen {
    background-color: #00000005;
    padding: 20px;
    position: sticky;
    top: 120px;
}
.product-main .row.content-row {
    display: flex !important; /* Flex para el diseño */
    flex-direction: row !important; /* Invierte el orden de las columnas */
    justify-content: space-between !important; /* Distribuye espacio entre columnas */
    align-items: flex-start !important; /* Alinea los elementos al inicio verticalmente */
    overflow: visible;
    min-height: 100vh; /* Altura mínima del contenedor */
}

.product-gallery.large-7.col {
    order: 1 !important; /* Coloca este elemento a la izquierda */
    flex: 1; /* Tamaño proporcional más grande para la galería */
    margin-right: 20px;
}

.product-info.summary {
    position: sticky;
    top: 120px;
    order: 2 !important;
    flex: 1 !important;
    max-width: 400px;
}

.widget-title {
    border: 1px solid black;
}

.compras-ultimas-24h {
    font-size: 14px;
    color: #444;
    margin-top: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compras-ultimas-24h .llama {
    font-size: 21px;
    margin-right: 8px;
    animation: llama-parpadeo 4s infinite ease-in-out;
}

/* Animación para simular el parpadeo */
@keyframes llama-parpadeo {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    25% {
        opacity: 0.8;
        transform: scale(1.1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }
    75% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

#review_form label {
    color: rgb(120, 153, 43) !important;
}

.col-inner p label {
    color: white !important;
}

/**/

#wpam-reg-form label {
    color: black !important;
}
