/*
 Theme Name:   Astra Child
 Theme URI:    https://parfum-choganprestige.com/
 Description:  Child theme pour Astra
 Author:       Patrick Ntiwa
 Author URI:   https://parfum-choganprestige.com/
 Template:     astra
 Version:      1.0.0
*/

/* ============ ⚙️ STYLES GÉNÉRAUX ============ */

/* Transition douce sur les produits WooCommerce */
.woocommerce ul.products li.product {
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}
.woocommerce ul.products li.product:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
    z-index: 2;
}

/* Formulaire de recherche stylisé */
form.is-search-form.is-form-style-3 {
    width: 90%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    overflow: hidden;
}
form.is-search-form .is-search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 0;
}

/* ============ 🛒 HEADER ET PANIER ============ */

/* Réduction des espacements entre les éléments du header */
.elementor-element-4216879 > .elementor-widget-container,
.elementor-element-4216879 .elementor-widget {
    margin-right: 8px !important;
}
.elementor-element-4216879 .elementor-widget:last-child {
    margin-right: 0 !important;
}

/* Icône panier : padding interne */
.elementor-menu-cart__toggle_button {
    padding: 0 6px !important;
}

/* Suppression des marges/paddings par défaut */
.elementor-element-4216879 select,
.elementor-menu-cart__wrapper,
.elementor-widget-woocommerce-menu-cart {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.elementor-widget-woocommerce-menu-cart {
    width: auto !important;
    min-width: unset !important;
}

/* ============ ⭐ AVIS PRODUITS ============ */

.review-rating,
.woocommerce .star-rating {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.star-rating,
.star-rating::before {
    font-family: 'WooCommerce', 'FontAwesome', 'Dashicons' !important;
}

/* ============ 🌐 GTRANSLATE FLOAT ============ */

.gt-lang-code {
    font-size: 15px !important;
}
#gt_float_wrapper {
    font-size: 12px !important;
}
#gt_float_wrapper a {
    padding: 4px 6px !important;
}
#gt_float_wrapper img {
    width: 15px !important;
    height: 15px !important;
}

/* ============ 📧 NEWSLETTER ============ */

.newsletter-container {
    display: flex;
    justify-content: center;
    margin: 20px auto;
    width: 100%;
}

.newsletter-box {
    display: flex;
    max-width: 600px;
    width: 100%;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    background-color: #f3f3f3;
    font-size: 14px;
    color: #333;
    outline: none;
}
.newsletter-input::placeholder {
    color: #999;
}

.newsletter-button {
    background-color: #0a0606;
    color: white;
    border: none;
    padding: 12px 20px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

/* ============ 🍪 COOKIE BANNER ============ */

.cky-revisit-bottom-right {
    bottom: 75px !important;
}
