/*---------------------------------------------------------------------------------
Theme Name: CalderonTextiles
Theme URI: https://www.calderontextile.com/
Description: 
Author: LevelUpDevelopment
Author URI: https://www.levelupdevelopment.com/
Template: Divi
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
------------------------------ ADDITIONAL CSS HERE ------------------------------*/

/* Global Loading Overlay */

#global-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2147483647;
    display: none;
    justify-content: center;
    align-items: center;
    transition: ease all .3s;
    pointer-events: none;
    opacity: 0;
}

#global-loading-overlay.show {
    display: flex;
    opacity: 1;
    pointer-events: all !important;
}

#global-loading-overlay .loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
    z-index: 2147483647;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Define a class to hide elements */
.hidden-column {
    display: none;
}

.woocommerce-mini-cart-item .cart-item-quantity {
    display: none !important;
}

.cart-count {
    display: none;
}

.checkout-button.lud-hidden {
    display: none !important;
}

.lud-checkout-disabled-message {
    margin-top: 20px;
    padding: 10px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    text-align: center;
}

.lud-woocommerce-price-notice {
    font-family: Open Sans, Arial, sans-serif;
    font-size: 14px;
    color: inherit;
    font-weight: bold;
}

.lud-woocommerce-price-notice a {
    text-decoration: underline;
    color: #ba6d55;
    font-weight: bold;
}

.woocommerce-mini-cart__weight {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #333;
    /* Customize the color as needed */
    margin-top: 5px;
}

.woocommerce-mini-cart__weight strong {
    font-weight: bold;
}

.woocommerce-Weight-amount {
    text-align: right;
}

/* Additional Images */
.lud-variation-images-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lud-additional-image img {
    max-width: 100px;
    height: auto;
}

/* Disable image zoom by hiding the zoom image */
.zoomImg {
    display: none !important;
}

/* Alternatively, if the image has a specific class triggering the zoom */
.woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img {
    pointer-events: none; /* This would disable any hover effects */
}
