/*
Theme Name: Lesley Rappillard Template
Author: Lesley dev team

*/


/* Conteneur principal *//* Conteneur principal */
.woocommerce {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    font-family: Arial, sans-serif;
}

/* Messages d'information et d'erreur */
.woocommerce-info, .woocommerce-error {
    padding: 15px;
    border: 1px solid;
    border-radius: 5px;
    margin-bottom: 20px;
}

.woocommerce-info {
    background-color: #e6f7ff;
    border-color: #91d5ff;
    color: #004085;
}

.woocommerce-error {
    background-color: #fdecea;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Champs du formulaire */
.woocommerce .form-row input,
.woocommerce .form-row select,
.woocommerce .form-row textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: none;
    font-size: 14px;
}

/* Champs en focus */
.woocommerce .form-row input:focus,
.woocommerce .form-row select:focus,
.woocommerce .form-row textarea:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 124, 186, 0.5);
}

/* Labels des champs */
.woocommerce .form-row label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    color: #333;
}

/* Boutons */
.woocommerce button.button,
.woocommerce input[type="submit"] {
    background-color: #007cba;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.woocommerce button.button:hover,
.woocommerce input[type="submit"]:hover {
    background-color: #005a8c;
}

/* Table de révision de commande */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.woocommerce-checkout-review-order-table th {
    background-color: #f7f7f7;
    font-weight: bold;
}

/* Total de la commande */
.woocommerce-checkout-review-order .order-total strong {
    color: #007cba;
    font-size: 18px;
}

/* Section des méthodes de paiement */
.wc_payment_methods {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.wc_payment_methods .woocommerce-info {
    font-size: 14px;
    line-height: 1.5;
}

/* Informations complémentaires */
.woocommerce-additional-fields h3 {
    border-bottom: 2px solid #007cba;
    margin-bottom: 15px;
    padding-bottom: 5px;
    color: #007cba;
}

/* Politique de confidentialité */
.woocommerce-privacy-policy-text {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 20px;
}

/* Messages JavaScript désactivé */
.woocommerce-checkout-payment noscript {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}
.woocommerce-privacy-policy-text{
    display:none
}

/* Conteneur principal */
.woocommerce {
    font-family: Arial, sans-serif;
    color: #333;
    margin: 20px auto;
    max-width: 1200px;
}

/* Table du panier */
.woocommerce .shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.woocommerce .shop_table th,
.woocommerce .shop_table td {
    padding: 15px;
    text-align: left;
    border: 1px solid #ddd;
}

.woocommerce .shop_table th {
    background-color: #f7f7f7;
    font-weight: bold;
}

.woocommerce .shop_table td {
    vertical-align: middle;
}

/* Miniatures des produits */
.woocommerce .product-thumbnail img {
    max-width: 75px;
    height: auto;
    border-radius: 5px;
}

/* Bouton supprimer */
.woocommerce .product-remove .remove {
    color: #ff5a5a;
    text-decoration: none;
    font-size: 18px;
}

.woocommerce .product-remove .remove:hover {
    color: #ff0000;
}

/* Boutons */
.woocommerce button.button {
    background-color: #0071a1;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
    margin-top:20px;
}

.woocommerce button.button:hover {
    background-color: #005f85;
}

/* Champ du code promo */
.woocommerce .coupon input.input-text {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    width: 60%;
    margin-right: 10px;
}

.woocommerce .coupon button {
    background-color: #28a745;
    color: #fff;
}

.woocommerce .coupon button:hover {
    background-color: #218838;
}

/* Totaux */
.woocommerce .cart_totals {
    margin-top: 20px;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.woocommerce .cart_totals h2 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #0071a1;
}

.woocommerce .cart_totals table {
    width: 100%;
}

.woocommerce .cart_totals th,
.woocommerce .cart_totals td {
    padding: 10px;
    text-align: left;
}

.woocommerce .cart_totals .order-total td {
    font-weight: bold;
    font-size: 16px;
}

/* Bouton valider commande */
.woocommerce .wc-proceed-to-checkout .checkout-button {
    display: block;
    text-align: center;
    background-color: #ff7f50;
    color: #fff;
    padding: 12px;
    text-transform: uppercase;
    font-size: 16px;
    border-radius: 3px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.woocommerce .wc-proceed-to-checkout .checkout-button:hover {
    background-color: #e66b3d;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce .shop_table th,
    .woocommerce .shop_table td {
        font-size: 14px;
    }

    .woocommerce .coupon input.input-text {
        width: 100%;
        margin-bottom: 10px;
    }

    .woocommerce .wc-proceed-to-checkout .checkout-button {
        font-size: 14px;
    }
}
/* Conteneur principal du produit */
.product {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px auto;
    max-width: 1200px;
    font-family: Arial, sans-serif;
    color: #333;
}

/* Galerie d'images */
.woocommerce-product-gallery {
    flex: 1 1 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 5px;
}

.woocommerce-product-gallery__image--placeholder img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Résumé du produit */
.summary.entry-summary {
    flex: 1 1 50%;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Titre du produit */
.product_title.entry-title {
    font-size: 28px;
    color: #0071a1;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Prix */
.price {
    font-size: 22px;
    color: #ff7f50;
    margin: 10px 0;
    font-weight: bold;
}

/* Formulaire du panier */
form.cart {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* Champ quantité */
form.cart .quantity {
    display: flex;
    align-items: center;
}

form.cart .quantity input {
    width: 80px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
}

/* Bouton Ajouter au panier */
.single_add_to_cart_button {
    background-color: #0071a1;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.single_add_to_cart_button:hover {
    background-color: #005f85;
}

/* Responsive */
@media (max-width: 768px) {
    .product {
        flex-direction: column;
        padding: 20px;
    }

    .woocommerce-product-gallery {
        margin-bottom: 20px;
    }

    .summary.entry-summary {
        padding: 15px;
    }

    .product_title.entry-title {
        font-size: 24px;
    }

    .price {
        font-size: 18px;
    }

    form.cart .quantity input {
        width: 60px;
        font-size: 14px;
    }

    .single_add_to_cart_button {
        font-size: 14px;
        padding: 10px 15px;
    }
}



.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    width: 600px;
}

#close-popup {
    margin-top: 10px;
}
.wc_payment_methods{
    list-style: none;
    border: 1px solid #ccc;
    text-transform: uppercase;
}
#popup-product-description{
    text-align: left !important;
}

#billing_postcode_field, #billing_address_1_field, #billing_city_field, #billing_postcode {
    display: none !important;
}