/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.4.1753288879
Updated: 2025-07-23 16:41:19

*/


/* WooCommerce Notice Custom Styling */
/* Black & White theme with Poppins/Arial fonts and responsive clamping */

.woocommerce-message {
    background-color: #ffffff;
    border: 2px solid #000000;
    border-radius: clamp(8px, 2vw, 12px);
    padding: clamp(16px, 4vw, 24px);
    margin: clamp(16px, 3vw, 24px) 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Alternative dark version - uncomment if you prefer dark notices */
/*
.woocommerce-message {
    background-color: #000000;
    border: 2px solid #ffffff;
    color: #ffffff;
}
*/

.woocommerce-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #000000;
}

.woocommerce-message p.fgw_notice_msg {
    font-family: Arial, sans-serif;
    font-size: clamp(14px, 2.5vw, 16px);
    line-height: clamp(1.4, 2vw, 1.6);
    color: #000000;
    margin: 0;
    padding-right: clamp(8px, 2vw, 12px);
}

/* For dark version, uncomment: */
/*
.woocommerce-message p.fgw_notice_msg {
    color: #ffffff;
}
*/

/* High specificity selectors to override WooCommerce defaults */
.woocommerce-message .fgw_gift_btn.button.btn.alt,
.woocommerce-message a.fgw_gift_btn.button.btn.alt,
.woocommerce-message .fgw_gift_btn {
    font-family: 'Poppins', sans-serif !important;
    font-weight: bold !important;
    font-size: clamp(14px, 2.5vw, 16px) !important;
    background-color: #000000 !important;
    background: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #000000 !important;
    border-color: #000000 !important;
    padding: clamp(8px, 2vw, 12px) clamp(16px, 4vw, 24px) !important;
    margin-left: clamp(8px, 2vw, 12px) !important;
    border-radius: clamp(4px, 1vw, 6px) !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    box-shadow: none !important;
    text-shadow: none !important;
    line-height: 1.4 !important;
}

.woocommerce-message .fgw_gift_btn.button.btn.alt:hover,
.woocommerce-message a.fgw_gift_btn.button.btn.alt:hover,
.woocommerce-message .fgw_gift_btn:hover,
.woocommerce-message .fgw_gift_btn.button.btn.alt:focus,
.woocommerce-message a.fgw_gift_btn.button.btn.alt:focus,
.woocommerce-message .fgw_gift_btn:focus,
.woocommerce-message .fgw_gift_btn.button.btn.alt:active,
.woocommerce-message a.fgw_gift_btn.button.btn.alt:active,
.woocommerce-message .fgw_gift_btn:active {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #000000 !important;
    border: 2px solid #000000 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    text-decoration: none !important;
}

/* Mobile-first responsive adjustments */
@media (max-width: 768px) {
    .woocommerce-message {
        margin: clamp(12px, 3vw, 16px) 0;
    }
    
    .woocommerce-message .fgw_gift_btn.button.btn.alt,
    .woocommerce-message a.fgw_gift_btn.button.btn.alt,
    .woocommerce-message .fgw_gift_btn {
        display: block !important;
        margin: clamp(12px, 3vw, 16px) 0 0 0 !important;
        text-align: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Success/Info Notice Variants */
.woocommerce-message.woocommerce-info {
    border-color: #666666;
}

.woocommerce-message.woocommerce-info::before {
    background-color: #666666;
}

/* Error Notice Styling */
.woocommerce-error {
    background-color: #ffffff;
    border: 2px solid #000000;
    border-left: 4px solid #ff0000;
    border-radius: clamp(8px, 2vw, 12px);
    padding: clamp(16px, 4vw, 24px);
    margin: clamp(16px, 3vw, 24px) 0;
    font-family: Arial, sans-serif;
    font-size: clamp(14px, 2.5vw, 16px);
    color: #000000;
}

/* Additional WooCommerce notice types */
.woocommerce-info,
.wc-block-components-notice-banner {
    background-color: #ffffff;
    border: 2px solid #000000;
    border-radius: clamp(8px, 2vw, 12px);
    padding: clamp(16px, 4vw, 24px);
    margin: clamp(16px, 3vw, 24px) 0;
    font-family: Arial, sans-serif;
    font-size: clamp(14px, 2.5vw, 16px);
    color: #000000;
}

/* Ensure buttons inherit the styling */
.woocommerce-message .button,
.woocommerce-message .btn {
    font-family: 'Poppins', sans-serif !important;
    font-weight: bold !important;
}

/* ===== MODAL POPUP STYLING ===== */

/* Modal Container */
.modal-content {
    background-color: #ffffff;
    border: 2px solid #000000;
    border-radius: clamp(12px, 3vw, 20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: clamp(320px, 90vw, 600px);
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

/* Modal Header */
.modal-header {
    background-color: #000000;
    padding: clamp(16px, 3vw, 24px);
    position: relative;
    border-bottom: 2px solid #000000;
}

/* Close Button */
.fgw_gifts_popup_close {
    position: absolute;
    top: 50%;
    right: clamp(16px, 3vw, 24px);
    transform: translateY(-50%);
    cursor: pointer;
    padding: clamp(8px, 2vw, 12px);
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fgw_gifts_popup_close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%) scale(1.1);
}

.fgw_gifts_popup_close svg {
    width: clamp(20px, 4vw, 28px);
    height: clamp(20px, 4vw, 28px);
    fill: #ffffff;
    transition: fill 0.3s ease;
}

.fgw_gifts_popup_close:hover svg {
    fill: #ffffff;
}

/* Modal Body */
.modal-body {
    padding: clamp(24px, 5vw, 40px);
    background-color: #ffffff;
}

/* Gift Container */
.fgw_gift {
    text-align: center;
}

.fgw_gift p {
    font-family: 'Poppins', sans-serif !important;
    font-weight: bold !important;
    font-size: clamp(20px, 4vw, 28px) !important;
    color: #000000 !important;
    margin: 0 0 clamp(20px, 4vw, 32px) 0 !important;
    line-height: 1.3 !important;
}

/* Gift Slider/Product Container */
.fgw_gift_slider_pp {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(16px, 3vw, 24px);
}

/* Individual Gift Product */
.fgw_gift_product {
    background-color: #ffffff;
    border: 2px solid #000000;
    border-radius: clamp(8px, 2vw, 12px);
    padding: clamp(16px, 3vw, 24px);
    transition: all 0.3s ease;
    max-width: clamp(250px, 80vw, 320px);
    width: 100%;
}

.fgw_gift_product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Product Link */
.fgw_gift_product a {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

/* Product Image Container */
.fgw_gift_product > a > div:first-child {
    margin-bottom: clamp(12px, 2vw, 16px);
    overflow: hidden;
    border-radius: clamp(6px, 1.5vw, 8px);
}

.fgw_gift_product img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: clamp(6px, 1.5vw, 8px) !important;
    transition: transform 0.3s ease !important;
}

.fgw_gift_product:hover img {
    transform: scale(1.05);
}

/* Product Title */
.fgw_title {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: clamp(16px, 3vw, 18px) !important;
    color: #000000 !important;
    margin: clamp(12px, 2vw, 16px) 0 !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

/* Add to Cart Button Container */
.fgw_gift_atc_btn {
    margin-top: clamp(16px, 3vw, 20px);
}

/* Add to Cart Button - High specificity for WooCommerce override */
.fgw_gift_atc_btn a.wp-block-button__link.button.alt,
.fgw_gift_atc_btn a.button.alt,
.fgw_gift_atc_btn a {
    font-family: 'Poppins', sans-serif !important;
    font-weight: bold !important;
    font-size: clamp(14px, 2.5vw, 16px) !important;
    background-color: #000000 !important;
    background: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #000000 !important;
    border-color: #000000 !important;
    padding: clamp(12px, 2.5vw, 16px) clamp(24px, 5vw, 32px) !important;
    border-radius: clamp(6px, 1.5vw, 8px) !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    box-shadow: none !important;
    text-shadow: none !important;
    line-height: 1.4 !important;
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.fgw_gift_atc_btn a.wp-block-button__link.button.alt:hover,
.fgw_gift_atc_btn a.button.alt:hover,
.fgw_gift_atc_btn a:hover,
.fgw_gift_atc_btn a.wp-block-button__link.button.alt:focus,
.fgw_gift_atc_btn a.button.alt:focus,
.fgw_gift_atc_btn a:focus {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #000000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    text-decoration: none !important;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .modal-content {
        margin: clamp(16px, 4vw, 24px);
        max-width: calc(100vw - clamp(32px, 8vw, 48px));
    }
    
    .fgw_gift_slider_pp {
        flex-direction: column;
    }
    
    .fgw_gift_product {
        max-width: 100%;
    }
}

/* Modal Overlay (if you need it) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: clamp(16px, 4vw, 24px);
}

/* Hide "Non merci" option completely in English */
.postid-12545 .dd-option:has(.dd-option-value[value="-1"]),
.postid-12545 .dd-selected:has(.dd-selected-value[value="-1"]) {
    display: none !important;
}

/* Hide entire component if "Non merci" is selected by default */
.postid-12545 .wooco_component_product:has(.dd-selected-value[value="-1"]) {
    display: none !important;
}

