/*
Theme Name: eCommerce Star Child
Template: ecommerce-star
Author: Ceylon Themes
Theme URI: https://www.ceylonthemes.com/wordpress-ecommerce-theme/
Author URI: https://www.ceylonthemes.com
Version: 1.3.9
Requires PHP: 5.6
Tested up to: 5.8
Description: eCommerce Star Child
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ecommerce-star-Child
Tags: blog, e-commerce, theme-options, portfolio, one-column, two-columns,left-sidebar, right-sidebar, flexible-header, custom-colors, custom-header, custom-menu, custom-logo, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/

/*header*/
.site-header .container {
        max-width: 1300px !important;
}

/*header bannier*/
div.myBanner {
        background-color: #97b4e8;
        margin-bottom: -15px;
}

div.myBanner p {
        font-size: 12px;
        padding-top: 5px;
        padding-bottom: 5px;
        text-align: center;
        color: white;
}

/*home page start*/

/* body container */
.container {
        max-width: 1920px;
}

/*main slide*/
figure.wp-block-image {
        margin-top: -50px;
}

/*menu*/
#sticky-nav.woocommerce-layout #top-menu>.current_page_item>a {
        font-weight: 100;
        text-transform: initial;
}

#top-menu>li {
        margin-left: 50px;
}

/* logo width */
.custom-logo-link img {
        max-width: 140px;
}

/* top barre all cate color */
.category-items {
        color: #719cdf;
}

.search-cat {
        display: none;
}

#text-search {
        padding: 0px 0px 0px 10px;
}

/*search barre*/
.col-lg-5 {
        margin-left: -65px;
}

/*search icon in menu*/
.my-nav-menu-search {
        display: none !important;
}

/* menu arrow */
.main-navigation .menu-item-has-children>a>.icon,
.main-navigation .page_item_has_children>a>.icon {
        display: none;
}

/* deemoi menu */
#menu-item-390>a {
        color: white !important;
        background-color: #f3d8df;
        height: 28px;
        border-radius: 5px;
}

/*main menu*/
.main-navigation a {
        padding: 0.12em 0.3em;
}

/* 1er menu */
#sticky-nav li>a.product-category-heading {
        display: none;
}

/* number cata */
h2>.count {
        display: none;
}

h1.home-title {
        font-size: 18px;
        margin: 0px;
}

/* presentation */
div.presentation {
        height: 55px;
        overflow: hidden;
}

div.presentation>p {
        font-size: 12px;
}

/* homepage full width */
@media (min-width: 992px) {
        .col-md-8 {
                width: 100% !important;
        }
}

/*home page end*/

/*category */
.wc-block-grid__product-title,
.woocommerce-loop-product__title {
        font-family: arial;
        font-weight: 300;
        font-size: 16px;
        color: black;
        line-height: 21px;
}

/*footer*/
#colophon {
        display: none;
}

.bloc_produit_homepage {
        margin-left: 30px;
        margin-right: 30px;
}

.footer {
        background-color: #97b4e8;
        float: left;
        margin-top: -30px;
        width: 100%;
}

.footer .col-full {
        width: 100%;
        float: left;
        padding: 10px;
}

.footer .col-3 {
        width: 30%;
        float: left;
}

/*Mobile*/
@media only screen and (max-width: 600px) {
        .col-lg-5 {
                margin-left: 0px;
        }

        /*head*/
        .vertical-center {
                margin-top: -15px !important;
        }

        /*menu*/
        #site-navigation>button.menu-toggle {
                margin-left: 0px !important;
        }

        #sticky-nav {
                position: absolute !important;
                top: 38px !important;
                z-index: 10000 !important
        }

        /*cart*/
        #cart-wishlist-container>.cart-wishlist-table {
                margin-right: 0px !important
        }

        .vertical-center>.col-md-2 {
                position: absolute !important;
                top: 35px !important;
                right: 10px !important;
        }

        /*barre de recherche*/
        .vertical-center>.col-md-5 {
                margin-top: -55px !important;
                margin-bottom: -13px !important;
        }

        /*logo*/
        .vertical-center>.col-md-4 {
                width: 180px !important;
                margin-left: calc((100vw - 190px) / 2) !important;
        }

        /*search bar*/
        #search-category>form.search-box {
                height: 32px !important;
        }

        .search-box>input#text-search {
                height: 32px !important;
                line-height: 32px !important;
        }

        .search-box>#btn-search-category {
                height: 32px !important
        }

        /*shadow*/
        .header-box-shadow {
                box-shadow: none !important
        }
}

/* Homepage Optimization */

/* Slider Section */
.soldes-2026-slider .slider-image-container {
        height: 600px;
        background-size: cover;
        background-position: center;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
}

.soldes-2026-slider .soldes-caption {
        position: absolute;
        bottom: 20%;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        width: 100%;
        text-shadow: none;
}

.soldes-2026-slider .soldes-cta {
        display: inline-block;
        padding: 15px 40px;
        background-color: #fff;
        color: #000;
        font-size: 1.2rem;
        font-weight: 700;
        text-transform: uppercase;
        text-decoration: none;
        border-radius: 50px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        border: 2px solid #fff;
}

.soldes-2026-slider .soldes-cta:hover {
        background-color: transparent;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Homepage Improvements */
body,
p {
        font-family: 'Open Sans', sans-serif;
        line-height: 1.7;
        color: #444;
}

h1,
h2,
h3,
h4,
h5,
h6 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        color: #222;
        margin-bottom: 1.5rem;
}

/* Override inline styles for mobile slider */
@media only screen and (max-width: 600px) {
        img#slide-img {
                content: url("/wp-content/themes/ecommerce-star-child/images/soldes-2026-banner-mobile.png") !important;
                width: 100%;
                height: auto;
        }
}

/* Product Cards (WooCommerce) Polish */
.woocommerce ul.products li.product {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        border: 1px solid #eee;
        border-radius: 8px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        background: #fff;
        padding: 15px;
}

.woocommerce ul.products li.product:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 1.1rem;
        margin-top: 10px;
        margin-bottom: 10px;
}

.woocommerce ul.products li.product .price {
        font-size: 1.1rem;
        color: #d4af37;
        font-weight: bold;
}

.woocommerce ul.products li.product .button {
        background-color: #222;
        color: #fff;
        border-radius: 4px;
        padding: 10px 20px;
        font-weight: 600;
}

.woocommerce ul.products li.product .button:hover {
        background-color: #d4af37;
        color: #fff;
}

/* Improved Placeholder Styling */
img.recovered-image {
        opacity: 0.8;
        filter: grayscale(20%);
        border: 1px solid #eee;
        padding: 10px;
        background: #f9f9f9;
        max-height: 300px;
        width: auto;
        display: block;
        margin: 20px auto;
}

/* General Section Polish */
section,
.site-content {
        padding-top: 50px;
        padding-bottom: 50px;
}

/* Category Grid Improvements */
.product-category {
        transition: transform 0.3s ease;
}

.product-category:hover {
        transform: translateY(-5px);
}

.product-category h2 {
        font-family: 'Montserrat', sans-serif;
        letter-spacing: 1px;
}

/* Fix spacing for mobile */
@media only screen and (max-width: 600px) {
        .site-content {
                padding-top: 20px;
        }
}

/* TESTIMONIALS PREMIUM SECTION */
.testimonials-premium-section {
        background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
        padding: 80px 20px;
        position: relative;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
}

.testimonials-premium-section>h2 {
        width: 100%;
        text-align: center;
        font-size: 2.5rem;
        color: #222;
        margin-bottom: 50px;
        position: relative;
}

.testimonials-premium-section>h2:after {
        content: '';
        display: block;
        width: 60px;
        height: 3px;
        background: #d4af37;
        margin: 20px auto 0;
}

.testimonial-card-premium {
        background: #fff;
        border-radius: 12px;
        padding: 40px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        position: relative;
        border-left: 4px solid #d4af37;
        transition: transform 0.3s ease;
        width: 300px;
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
}

.testimonial-card-premium:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-card-premium h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        margin-top: 25px;
}

.testimonial-card-premium img {
        border-radius: 8px;
        margin-bottom: 15px;
        max-width: 150px;
}

.testimonial-card-premium h4 {
        font-size: 0.9rem;
        color: #888;
        margin-top: auto;
        font-family: 'Open Sans', sans-serif;
        font-weight: normal;
}

/* Gold Quote Icon */
.testimonial-card-premium:before {
        content: '';
        position: absolute;
        top: -20px;
        left: 20px;
        width: 40px;
        height: 40px;
        background-image: url('/wp-content/themes/ecommerce-star-child/images/gold-quote.png');
        background-size: contain;
        background-repeat: no-repeat;
        opacity: 1;
}

/* Payment Methods Section - Aggressive Center / Reset */
.payment-methods-container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        clear: both !important;
        margin: 30px auto !important;
        text-align: center !important;
        position: static !important;
        padding: 20px 0 !important;
        background: transparent !important;
        flex: 0 0 100% !important;
}

.payment-methods-icons {
        display: block !important;
        /* User requested block */
        text-align: center;
        margin-top: 10px;
}

.payment-methods-icons i {
        display: inline-block;
        font-size: 3rem;
        /* Large icons */
        color: #555;
        margin: 0 15px;
        /* Spacing */
        transition: color 0.3s ease, transform 0.3s ease;
        /* Force font family for older versions/conflicts */
        font-family: "Font Awesome 5 Brands", "Font Awesome 5 Free" !important;
        font-weight: 900;
}

.payment-methods-icons i:hover {
        color: #d4af37;
        /* Gold hover */
        transform: translateY(-3px);
}

/* Specific Brand Colors on Hover */
.payment-methods-icons i.fa-cc-visa:hover {
        color: #1434CB;
}

.payment-methods-icons i.fa-cc-mastercard:hover {
        color: #EB001B;
}

.payment-methods-icons i.fa-cc-paypal:hover {
        color: #003087;
}

/* Social Icons Styling */
a .fab {
        transition: transform 0.2s ease;
}

a:hover .fab {
        transform: scale(1.1);
}