

/* GENERALI */
.bot_bord_light {
    position: relative;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}

.bot_bord_light::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shadow_card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3), 0 4px 6px rgba(0, 0, 0, 0.3);
    padding: 25px;
}

.pad_y_20 {
    padding-top: 20px;
    padding-bottom: 20px;
}


/* CARRELLO */

.container_cart {
    font-family: "Montserrat", sans-serif;
    z-index: 9999;
    padding-top: 50px;
}

.content_cart {
    margin: 0 auto 15px auto;
}

#cart {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    z-index: 9999;
}

.list_cart {
    width: 65%;
}

.checkout_cart {
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.heading_list_cart {
    padding: 5px 0px;
    font-weight: 600;
    color: black;
    font-size: 20px;
}

.cart_items {

}

.cart_item {
   /* height: 150px; */
}

.row_item_cart {
    display: flex;
    /* gap: 20px; */
}

.fade-out {
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.fade-out.fade {
    opacity: 0;
}

.image_item_cart {
    width: 110px;
    height: 110px;
    padding: 15px; 
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.image_item_cart>a {
    width: 100%;
    height: 100%;
}

.image_item_cart img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 5px; 
}
.info_item_cart {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: calc(100% - 110px);
    min-width: 0;
}

.name_price_item_cart {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.price_stock_item_cart {
    margin-bottom: 15px;
    margin-top: 5px;
}

.qta_actions_item_cart {
    display: flex;
    justify-content: space-between;
}

.des_item_cart {
    font-weight: 400 !important;
    font-size: var(--font-md) !important;
    color: black;
    width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price_item_cart {
    font-size: var(--font-md) !important;
    font-weight: 500 !important;
    color: black;
    font-family: "Montserrat", sans-serif;
}

.cart_view#cart_inputs {
    justify-content: flex-start;
}

.actions_item_cart {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer_checkout_cart {}

.btn_cart {
    width: 100%;
    padding: 10px 10px;
    background-color: #fff;
    color: black;
    font-weight: 600;
    border-radius: 15px;
    border: 0px;
    border: 1px solid #ddd;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
    font-size: var(--font-sm);
}

.btn_cart.buy {
    background-color: #23623d;
    color: #fff;
    margin-bottom: 15px;
}
.btn_cart:hover {
    background-color: #f0f0f0;
    color: #000; 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px); 
    transition: all 0.3s ease; 
}
.btn_cart.buy:hover {
    background-color: #1a4e2f; 
    color: #e0e0e0; 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); 
    transform: translateY(-3px);
    transition: all 0.3s ease; 
}


.price_checkout_cart {}

.row_checkout_cart {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    padding: 10px;
}

.row_checkout_cart h5 {
    font-size: var(--font-md);
    font-weight: 500;

}

/* FINE CARRELLO.PHP */


/* CHECKOUT_1.PHP */
.heading_checkouts {
    width: 100%;
    display: flex;
    justify-content: center;
    list-style-type: none;
    gap: 25px;
    margin: 0px !important;
    padding-left: 0px !important;
    padding: 30px 0px 10px 0px;
    /* padding: 20px 10px; */
}
.heading_checkouts li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #ddd;
    width: 120px;
    padding: 15px 0px;
    border-radius: 8px;
    cursor: not-allowed;
}
.heading_checkouts li.active {
    background-color: #23623d;
    color: #fff;
    cursor: pointer;
    border: 2px solid #b4b4b4;
}






/* Indirizzi di spedizione - Checkout */
/* CSS GPT */

.address_selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto; /* Centrato orizzontalmente */
}

.address_item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.address_item:hover {
    border-color: #23623d;
    background-color: #f0f0f0;
}

.address_item input[type="radio"] {
    margin-right: 15px;
    accent-color: #23623d;
}

.address_details {
    display: flex;
    flex-direction: column;
}

.address_details .name {
    font-weight: bold;
    color: #333;
}

.address_details .address {
    color: #555;
    margin-top: 5px;
}

.checkout_footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.proceed_button {
    padding: 10px 20px;
    background-color: #23623d;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.proceed_button:hover {
    background-color: #1a4e2f;
}

/* FINE CSS GPT */












@media (max-width: 450px) {

    .row_item_cart {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .info_item_cart  {
        width: 100%;
    }

    #cart {
        flex-direction: column;
        align-items: center;
    }
    .list_cart {
        width: 100%;
    }
    .checkout_cart {
        width: 100%;
    }
    .name_price_item_cart {
        flex-direction: column;
    }
    .qta_actions_item_cart {
        flex-direction: column;
    }
    .actions_item_cart {
        flex-direction: row;
        justify-content: center;
        margin-top: 15px;
        gap: 15px;
    }
    .des_item_cart {
        width: 100%;
    }
    .cart_view#cart_inputs {
        justify-content: center;
    }
    .image_item_cart {
        margin: 5px 0px;
    }
    .content_cart {
        padding: 50px 15px;
    }
    
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 451px) and (max-width: 767.98px) {
    /* Styles for screens between 576px and 767.98px */

    #cart {
        flex-direction: column;
        align-items: center;
    }
    .list_cart {
        width: 100%;
    }
    .checkout_cart {
        width: 100%;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Styles for screens between 768px and 991.98px */

    #cart {
        flex-direction: column;
        align-items: center;
    }
    .list_cart {
        width: 100%;
    }
    .checkout_cart {
        width: 100%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Styles for screens between 992px and 1199.98px */

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    /* Styles for screens between 1200px and 1399.98px */
    .content_cart {
        max-width: 100%;
    }
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    /* Styles for screens larger than 1400px */
}
