@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shadows+Into+Light+Two&display=swap');

/* Global Styles */
:root {
    --title-color: #282801;
    --link-color: var(--title-color);
    --dark_color: #17160b;
    --button_bkc: var(--dark_color);
    --base_color: #f5d700;
    --primary-color: var(--dark_color);
    /* Rose vif */
    --secondary-color: #f5eb4d;
    /* Rose clair */
    --accent-color: #fff0f5;
    /* Rose très clair */
    --dark-color: #2C2C2C;
    /* Dark gray */
    --light-color: #FFFFFF;
    --text-color: #333333;
    --border-color: #E5E5E5;
    --border_color: #E5E5E5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", "Roboto Condensed", Arial, sans-serif !important;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Roboto", "Roboto Condensed", Arial, sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
}

a,
.button,
button {
    transition: 0.3s;
}

a:focus,
.button:focus,
button:focus {
    text-decoration: none;
    outline: none;
}

a:focus {
    text-decoration: none;
}

a:focus,
a:hover,
.portfolio-cat a:hover,
.footer -menu li a:hover {
    text-decoration: none;
}

img, svg {
    vertical-align: middle;
}

.section-title {
    font-size: 2.0rem;
    color: var(--title-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0;
}

/* Header */
.navbar {
    padding: 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: "Roboto", "Roboto Condensed", Arial, sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

/* Navbar Icons Styles */
.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    margin: 0 0.25rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link i {
    font-size: 1.1rem;
    display: inline-block;
    width: auto;
    height: auto;
}

.navbar-nav .nav-link:hover {
    /*background-color: rgba(0, 0, 0, 0.5);*/
    transform: translateY(-1px);
}

#search-icon,
#cart-icon,
.nav-link[href="#compte"] {
    position: relative;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--text-color) !important;
    text-decoration: none;
}

#search-icon i,
#cart-icon i,
.nav-link[href="#compte"] i {
    color: var(--text-color) !important;
    font-size: 1.2rem;
    display: block;
}

#search-icon:hover,
#cart-icon:hover,
.nav-link[href="#compte"]:hover {
    background-color: rgba(139, 115, 85, 0.1);
    transform: scale(1.1);
    color: var(--primary-color) !important;
}

#search-icon:hover i,
#cart-icon:hover i,
.nav-link[href="#compte"]:hover i {
    color: var(--primary-color) !important;
}

#cart-icon .badge {
    position: absolute;
    top: -1px;
    right: -5px;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
}

/* text primary style */
.text-primary {
    color: var(--base_color) !important;
}

/* Pink Button Styles */
.btn-pink {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-pink:hover {
    background-color: var(--dark_color);
    border-color: var(--dark_color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
}

.btn-pink:focus {
    background-color: var(--dark_color);
    border-color: var(--dark_color);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(255, 105, 180, 0.25);
}

.btn-pink.dropdown-toggle::after {
    margin-left: 0.5rem;
}

/* Mega Menu Styles */
.mega-menu {
    width: 100vw;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding: 2rem 0;
    border: none;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: var(--light-color);
    margin-top: 0;
    position: absolute;
}

.mega-menu .container {
    max-width: 1200px;
    margin: 0 auto;
}

.dropdown-header {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.mega-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    position: relative;
}

.mega-menu-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.mega-menu-img:hover {
    transform: scale(1.05);
}

.mega-menu-section {
    padding: 1rem;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.mega-menu-section:hover {
    background-color: rgba(139, 115, 85, 0.05);
}

.mega-menu-content {
    flex: 1;
    min-width: 0;
}

.mega-menu .dropdown-item {
    color: var(--text-color);
    padding: 0.5rem 0;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    background: none;
    display: block;
    text-decoration: none;
    white-space: nowrap;
}

.mega-menu .dropdown-item:hover {
    color: var(--primary-color);
    background: var(--accent-color);
    transform: translateX(5px);
    padding-left: 0.5rem;
    text-decoration: none;
}

.mega-menu .dropdown-item:active {
    background: var(--primary-color);
    color: var(--light-color);
}

/* Fix dropdown positioning
.navbar-nav .dropdown {
    position: static;
}

.navbar-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
}
 */
/* Responsive Mega Menu */
@media (max-width: 768px) {
    .mega-menu {
        padding: 1rem 0;
        width: 100%;
        left: 0 !important;
        right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .mega-menu-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .mega-menu-img {
        width: 60px;
        height: 60px;
    }

    .mega-menu-content {
        width: 100%;
    }

    .mega-menu .dropdown-item {
        white-space: normal;
        text-align: center;
    }
}

/* Listing Page Styles - Parfum Theme */

/* Hero Area 2 - Slider */


/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    /* padding: 0.75rem 2rem;*/
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark_color);
    border-color: var(--dark_color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Product Cards */
.product-card {
    background: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-name {
    font-family: "Roboto", "Roboto Condensed", Arial, sans-serif;
    font-weight: 700;
    color: var(--title-color);
}

.product-brand {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* add btn styles */

.product-card .product-info h4 {
    font-size: 16px;
}

.product-card .product-price .myst_btn_primary {
    font-size: 14px;
    line-height: 1.3333333333;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: capitalize;
    font-weight: 400;
    padding: 9px 10px;
}

.product-card .product-price {
    gap: 5px;
}

.product-card .product-price p {
    font-size: 20px;
    line-height: 1;
    color: var(--link-color);
    text-align: right;
    flex-grow: 1;
}


.myst_btn_primary {
    background: var(--button_bkc);
    border-radius: 0px;
    display: inline-block;
    font-family: "Roboto", "Roboto Condensed", Arial, sans-serif;
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    padding: 5px;
    border: 1px solid transparent;
    text-transform: uppercase;
    display: inline-block;
    transition: 0.3s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.myst_btn_primary_whatsapp {
    background: #25D366;
    border-radius: 0px;
    display: inline-block;
    font-family: "Roboto", "Roboto Condensed", Arial, sans-serif;
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    padding: 5px;
    border: 1px solid transparent;
    text-transform: uppercase;
    display: inline-block;
    transition: 0.3s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-price p del {
    font-size: 16px;
    color: #687083;
    display: block;
    margin-bottom: 2px;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    /*margin-bottom: 1rem;*/
}

/* Small Product Cards */
.product-card-small {
    background: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.product-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-info-small h6 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-info-small .price {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Filter System */
.filter-container {
    background: var(--accent-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.form-select {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 0.5rem 1rem;
}

/* Promotion Section */
#promotions {
    background-color: #f8f9fa;
    padding: 3rem 0;
}

/* Promotion Cards */
.promotion-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
}

.promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.promotion-card .card-title {
    color: var(--title-color);
    font-weight: 700;
}

.btn-danger {
    background-color: var(--dark_color);
    border-color: var(--dark_color);
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background-color: var(--dark_color);
    border-color: var(--dark_color);
    transform: translateY(-2px);
}

/* Brand Cards */
.brand-card {
    background: var(--light-color);
    /*border: 1px solid var(--border-color);
    border-radius: 10px;*/
    padding: 1rem;
    transition: all 0.3s ease;
    /*box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);*/
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.brand-card h6 {
    color: var(--title-color);
    font-weight: 600;
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.client-info {
    margin-left: 1rem;
}

.client-info h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stars {
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: #666;
    line-height: 1.6;
}

/* Newsletter Section */
.newsletter-form .form-control {
    border: none;
    border-radius: 25px 0 0 25px;
    padding: 0.75rem 1.5rem;
}

.newsletter-form .btn {
    border-radius: 0 25px 25px 0;
    padding: 0.75rem 1.5rem;
}

/* Owl Carousel Styles */
.best-sellers-carousel {
    padding: 20px 0;
}

.best-sellers-carousel .item {
    padding: 0 3px;
}

.best-sellers-carousel .product-card {
    margin: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.best-sellers-carousel .product-card:hover {
    transform: translateY(-5px);
    /*box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);*/
}

/* Owl Carousel Navigation */
.owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
}

.owl-prev,
.owl-next {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    color: #8B7355 !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.owl-prev:hover,
.owl-next:hover {
    background: var(--dark_color) !important;
    color: white !important;
    transform: scale(1.1);
}

.owl-prev {
    left: -25px;
}

.owl-next {
    right: -25px;
}

/* Owl Carousel Dots */
.owl-dots {
    text-align: center;
    margin-top: 20px;
}

.owl-dot {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #ddd !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.owl-dot.active {
    background: #8B7355 !important;
    transform: scale(1.2);
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {

    .owl-prev,
    .owl-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .owl-prev {
        left: -20px;
    }

    .owl-next {
        right: -20px;
    }
}

/* Ad Banner Styles */
.ad-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--econdary-color) 50%, var(--primary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 80px 0;
    clear: both;
    z-index: 1;
}

/* Ensure proper spacing between sections */
#produits {
    margin-bottom: 0 !important;
    padding-bottom: 80px !important;
}

#promotions {
    margin-top: 0 !important;
    padding-top: 80px !important;
}

.ad-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.ad-content {
    position: relative;
    z-index: 2;
}

.ad-title {
    font-family: "Roboto", "Roboto Condensed", Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.ad-subtitle {
    font-family: "Roboto", "Roboto Condensed", Arial, sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.ad-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.ad-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ad-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.ad-feature i {
    font-size: 1.2rem;
    color: #FFD700;
}

.ad-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.ad-cta .btn {
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.ad-cta .btn-primary {
    background: var(--dark_color);
    border-color: var(--dark_color);
    color: #fff;
}

.ad-cta .btn-primary:hover {
    background: var(--dark_color);
    border-color: var(--dark_color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.ad-cta .btn-outline-light {
    border-width: 2px;
}

.ad-cta .btn-outline-light:hover {
    background: white;
    color: vae(--dark_color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.ad-image-container {
    position: relative;
    text-align: center;
}

.ad-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.ad-image:hover {
    transform: scale(1.05);
}

.ad-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #FF4444;
    color: white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(255, 68, 68, 0.4);
    animation: pulse 2s infinite;
}

.badge-text {
    font-family: "Roboto", "Roboto Condensed", Arial, sans-serif;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive Ad Banner */
@media (max-width: 768px) {
    .ad-title {
        font-size: 2rem;
    }

    .ad-subtitle {
        font-size: 1.5rem;
    }

    .ad-features {
        flex-direction: column;
        gap: 1rem;
    }

    .ad-cta {
        flex-direction: column;
    }

    .ad-cta .btn {
        width: 100%;
    }

    .ad-badge {
        width: 60px;
        height: 60px;
        font-size: 1rem;
        right: 10px;
    }
}

/* Cart Modal Styles */
.cart-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.cart-item:hover {
    background-color: #f8f9fa;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: #666;
    font-size: 0.9rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.25rem;
}

.cart-item-remove {
    color: var(--base_color);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    color: var(--base_color);
    transform: scale(1.1);
}

#cart-total {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

#checkout-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#empty-cart-message {
    color: #999;
}

#empty-cart-message i {
    color: #ddd;
}

/* Blog Cards */
.blog-card {
    background: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-card .card-title {
    color: var(--title-color);
    font-weight: 700;
}

.blog-card .card-text {
    color: #666;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--dark-color) !important;
}

footer h5 {
    color: #fff;
    margin-bottom: 1.5rem;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color) !important;
}

.social-links a {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .filter-container {
        text-align: center;
    }

    .filter-container .form-select {
        margin-bottom: 1rem;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .product-card {
        margin-bottom: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
    opacity: 1;
    pointer-events: none;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus States */
.btn:focus,
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(139, 115, 85, 0.25);
    border-color: var(--primary-color);
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.quick-view-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.quick-view-btn:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

/* Quick View Modal Styles */
.quick-view-image {
    text-align: center;
    margin-bottom: 20px;
}

.quick-view-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quick-view-details {
    padding: 0 15px;
}

.product-rating .stars {
    color: #ffc107;
    font-size: 1.1rem;
}

.product-options .form-select,
.product-options .form-control {
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.product-options .form-select:focus,
.product-options .form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Category Section Styles */
.category-section {
    background: transparent;
    border-radius: 0;
    padding: 2rem;
    box-shadow: none;
    transition: all 0.3s ease;
}

.category-section:hover {
    box-shadow: none;
    transform: none;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.category-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.category-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
}

.category-overlay h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.category-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.category-products {
    padding: 0 1rem;
}

.category-title {
    color: var(--title-color);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0;
    text-align: left;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.category-header .btn {
    transition: all 0.3s ease;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.category-header .btn:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

/* Category Carousel Styles */
.category-carousel {
    padding: 10px 0;
}

.category-carousel .item {
    padding: 0 10px;
}

.category-carousel .product-card {
    margin: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-carousel .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Category Carousel Navigation */
.category-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
}

.category-carousel .owl-prev,
.category-carousel .owl-next {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    color: #8B7355 !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.category-carousel .owl-prev:hover,
.category-carousel .owl-next:hover {
    background: #8B7355 !important;
    color: white !important;
    transform: scale(1.1);
}

.category-carousel .owl-prev {
    left: -20px;
}

.category-carousel .owl-next {
    right: -20px;
}

/* Category Carousel Dots */
.category-carousel .owl-dots {
    text-align: center;
    margin-top: 15px;
}

.category-carousel .owl-dot {
    width: 10px;
    height: 10px;
    margin: 0 4px;
    background: #ddd !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.category-carousel .owl-dot.active {
    background: #8B7355 !important;
    transform: scale(1.2);
}

/* Responsive adjustments for category section */
@media (max-width: 768px) {
    .category-section {
        padding: 1.5rem;
    }

    .category-title {
        font-size: 1.5rem;
        text-align: left;
    }

    .category-products {
        padding: 0;
    }

    .category-carousel .owl-prev,
    .category-carousel .owl-next {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .category-carousel .owl-prev {
        left: -17px;
    }

    .category-carousel .owl-next {
        right: -17px;
    }

    /* Responsive adjustments for promotion cards */
    .promotion-card {
        margin: 0 1rem;
    }
}

@media (max-width: 576px) {
    .promotion-card {
        margin: 0 0.5rem;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .btn,
    .social-links {
        display: none !important;
    }

    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
}

/* Search Overlay Styles */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-overlay.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.search-overlay-content {
    background: var(--light-color);
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 15px 15px 0 0;
}

.search-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.search-header .btn-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.search-header .btn-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.search-body {
    padding: 2rem;
}

.search-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 115, 85, 0.25);
}

.search-form .btn {
    border-radius: 10px;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-filters .form-select {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.search-filters .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 115, 85, 0.25);
}

.search-results {
    margin-top: 2rem;
    min-height: 200px;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.search-result-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.search-result-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.search-result-brand {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.search-result-price {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.search-result-actions {
    display: flex;
    gap: 0.5rem;
}

.search-result-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--border-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-overlay-content {
        width: 95%;
        margin: 1rem;
    }

    .search-header {
        padding: 1rem 1.5rem;
    }

    .search-body {
        padding: 1.5rem;
    }

    .search-filters .row {
        margin: 0;
    }

    .search-filters .col-md-4 {
        padding: 0 0.5rem;
    }

    .search-result-item {
        flex-direction: column;
        text-align: center;
    }

    .search-result-image {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .search-result-actions {
        justify-content: center;
        margin-top: 1rem;
    }
}

/* Scroll to Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.scroll-to-top-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top-btn i {
    transition: transform 0.3s ease;
}

.scroll-to-top-btn:hover i {
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scroll-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .scroll-to-top-btn {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Correction du débordement horizontal */
body {
    overflow-x: hidden;
    width: 100%;
}

.container {
    /*max-width: 100%;*/
    padding-left: 15px;
    padding-right: 15px;
}

/* Correction pour les carousels */
.owl-carousel {
    overflow: hidden;
}

.owl-stage {
    display: flex;
}

.owl-item {
    flex-shrink: 0;
}

/* Optimisation des images */
.product-card {
    max-width: 100%;
    overflow: hidden;
}

.product-image {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Images des meilleures ventes */
.best-sellers-carousel .product-image {
    height: 280px;
}

/* Images des catégories */
.category-carousel .product-image {
    height: 200px;
}

/* Images des produits populaires */
.product-card-small {
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-card-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Correction pour la bannière publicitaire */
.ad-banner {
    overflow: hidden;
}

.ad-image-container {
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.ad-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Correction pour les catégories */
.category-section {
    overflow: hidden;
}

.category-carousel {
    overflow: hidden;
}

.category-image {
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Logo optimisé */
.logo {
    max-height: 70px;
    width: auto;
}

/* Images du mega menu */
.mega-menu-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .owl-carousel {
        margin: 0 -10px;
    }

    .product-card {
        margin: 0 5px;
    }

    .category-carousel {
        margin: 0 -5px;
    }

    .product-image {
        height: 200px;
    }

    .best-sellers-carousel .product-image {
        height: 220px;
    }

    .category-carousel .product-image {
        height: 160px;
    }

    .product-card-small {
        height: 150px;
    }

    .ad-image-container {
        height: 200px;
    }

    .category-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .product-image {
        height: 180px;
    }

    .best-sellers-carousel .product-image {
        height: 200px;
    }

    .category-carousel .product-image {
        height: 140px;
    }

    .product-card-small {
        height: 120px;
    }

    .ad-image-container {
        height: 150px;
    }

    .category-image {
        height: 150px;
    }
}

/* Correction pour les éléments flex */
.row {
    margin-left: 0;
    margin-right: 0;
}

/*
        .col-lg-2, .col-md-4, .col-6 {
            padding-left: 20px;
            padding-right: 20px;
        }
        */
/* Correction pour les filtres */
.filter-container {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
}

.filter-container .form-select {
    margin-right: 15px;
    min-width: 150px;
}

/* Correction pour les badges et overlays */
.position-absolute {
    z-index: 1;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

/* Styles pour le hero slider */
.hero-slider {
    position: relative;
}

.hero-background {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
    will-change: transform;
    opacity: 0.6;
}

.hero-content {
    background: rgba(0, 0, 0, 0.6);
    padding: 3rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    color: white;
}

.hero-image {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.hero-background:hover .hero-image {
    transform: scale(1.05);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Navigation du hero slider */
.hero-slider .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
}

.hero-slider .owl-prev,
.hero-slider .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    transition: all 0.3s ease;
    color: #333 !important;
    font-size: 24px;
}

.hero-slider .owl-prev {
    left: 30px;
}

.hero-slider .owl-next {
    right: 30px;
}

.hero-slider .owl-prev:hover,
.hero-slider .owl-next:hover {
    background: #007bff !important;
    color: white !important;
    transform: translateY(-50%) scale(1.1);
}

/* Dots du hero slider */
.hero-slider .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-slider .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5) !important;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.hero-slider .owl-dot.active {
    background: #007bff !important;
    transform: scale(1.3);
}

/* Responsive pour le hero slider */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-slider .owl-prev,
    .hero-slider .owl-next {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .hero-slider .owl-prev {
        left: 15px;
    }

    .hero-slider .owl-next {
        right: 15px;
    }
}

.shop_now_tex {
    font-size: 14px;
    font-weight: 700;
    color: var(--base_color);
    text-transform: uppercase;
    display: block;
}

/*----------------------------------------------------*/
/*----------------------------------------------------*/


.single-product-image .product-main-carousel img {
    min-height: 100%;
}

.single-product-image .item-slick.slick-slide.slick-current.slick-active {
    outline: none !important;
}

.single-product-image .product-main-carousel {
    margin-bottom: 10px;
}

.single-product-image .product-main-carousel img {
    width: 100% !important;
    min-height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.single-product-image .slider-nav {
    margin: auto -5px;
}

.single-product-image .slider-nav .item-slick {
    max-width: 90px;
    margin-right: 0px;
    outline: none !important;
    cursor: pointer;
    margin: 0 5px;
    opacity: 0.8;
}

.single-product-image .slider-nav .item-slick.slick-current {
    opacity: 1;
}

.single-product-image .slider-nav .item-slick {
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-product-image .slider-nav .item-slick img {
    max-width: 80px;
    background-size: cover;
    background-position: center;
    width: 80px;
    height: 80px;
    object-fit: cover;
    object-position: center;
}

.gallery_large .slick-slide {
    min-height: 500px;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
}

.slider-nav .item-slick {
    background: #f7f7f7;
}

.single-product-image .slider-nav {
    position: relative;
}

.single-product-image .slider-nav .slick-arrow {
    position: absolute;
    top: 50%;
    z-index: 50;
    transform: translateY(-50%);
}

.single-product-image .slider-nav .slick-prev {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.single-product-image .slider-nav .slick-next {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.single-product-image .slider-nav button {
    display: none !important;
}

@media (max-width: 575.98px) {
    .single-product-image .slider-nav button {
        display: none !important;
    }
}

.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    margin-left: 0;
    margin-right: 0;
}

.single-product-image .product-main-carousel img {
    min-height: auto;
    max-height: 495px;
    max-width: 505px;
    width: auto;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 430px) {
    .gallery_large .slick-slide {
      min-height: 390px;
    }

    .single-product-image .product-main-carousel img {
      max-height: 385px;
      max-width: 348px;
    }
  }


.product-details-container {
    padding: 50px 0 0px 0;
  }

  @media (max-width: 767.98px) {
    .product-details-container {
      padding: 15px 0 0px 0;
    }
  }

