/*
Theme Name: Elessi Theme Child
Theme URI: https://elessi.nasatheme.com/demo/
Description: This is a child theme for Elessi Theme
Author: NasaTheme team
Author URI: https://nasatheme.com
Template: elessi-theme
Version: 1.0
*/


/*************** ADD YOUR CUSTOM CSS IN THIS AREA ***************/


.has-mega-menu {
    position: relative;
}
.has-mega-menu .mega-menu-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.has-mega-menu:hover .mega-menu-content {
    display: block;
}


.product-sku-barcode img {
    max-width: 150px; /* Limiter la largeur du code-barres */
    height: auto; /* Garder le ratio pour que l'image ne soit pas déformée */
    margin-top: 10px; /* Ajouter un espace au-dessus si nécessaire */
}

.product-sku-barcode {
    text-align: center; /* Centrer le code-barres si nécessaire */
    margin-bottom: 20px; /* Espace en dessous pour ne pas affecter les autres éléments */
}








.custom-price h2 {
    font-size: 2.5em;
    color: #1f2d3d;
    margin-bottom: 20px;
}

.custom-variations label {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.custom-quantity-add-to-cart {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.custom-quantity-add-to-cart .quantity {
    width: 100px;
}

.custom-quantity-add-to-cart .single_add_to_cart_button {
    background-color: #e74c3c;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.2em;
}

.custom-delivery-info {
    margin-top: 30px;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
    text-align: left;
}

.custom-delivery-info img {
    max-width: 40px;
    display: inline-block;
}

.custom-delivery-info .highlight {
    color: #e74c3c;
    font-weight: bold;
}

.custom-payment-info {
    margin-top: 20px;
    text-align: left;
    font-size: 1.1em;
}

.custom-payment-info img {
    max-width: 50px;
    display: inline-block;
    margin-right: 10px;
}








.styled-cart-box {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.styled-button {
    background-color: #ff6f61;
    color: #fff;
    padding: 15px 20px;
    border-radius: 30px;
    font-size: 1.2rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.styled-button:hover {
    background-color: #ff4a3a;
}

.quantity-wrapper {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-button {
    background-color: #ddd;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.quantity-button:hover {
    background-color: #bbb;
}

.payment-security {
    margin-top: 20px;
}

.payment-logos img {
    max-height: 40px;
    margin-right: 10px;
}

.stock-status {
    font-weight: bold;
    color: green;
}

.product-attributes select {
    padding: 10px;
    margin-bottom: 10px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
}



/* Style the label for the "Click and Collect" option */
li input[type="radio"] + label {
    font-weight: bold;
    font-size: 16px;
    color: #333;
    margin-left: 10px; /* Adjust the space between the radio button and label */
}

/* Style the select dropdown for pickup locations */
li .pickup-location-list {
    width: 100% !important;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

/* Style the selected pickup location's display */
li .select2-container--default .select2-selection--single {
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 40px; /* Adjust the height */
    padding: 8px;
    font-size: 14px;
}

/* Style the small text displaying the pickup address */
li .pickup-location-address small {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Style the item list for the products in pickup */
li .pickup-location-field-per-order p small {
    font-size: 12px;
    color: #333;
}
