/*
Theme Name: Copradis
Template: botanica
Author: Gakweb
Version: 1.0
Description: Un thème enfant pour Botanica
*/

body {
	font-size: 1.1em !important;
    line-height: 30px !important;   
    font-family: Open Sans, sans-serif !important;
    font-weight: 400 !important;
    color: #2b2e2a !important;
}
/* General Header and Theme Specific Styles - Keep as is */
@font-face {
    font-family: 'Mistrully';
    src: url('wp-content/themes/copagro/fonts/Mistrully.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
.rbb-default-header.header-3 .rbb-main-navigation ul li.level-1 > a {
    color: #744a2c !important;
}

.text-white {
    color: rgb(0 0 0) !important;
}

.rbb-default-header.header-6 #menu-primary>.level-1>a .menu-item-title {
    color: #724e2f;
}
.rbb-default-header .rbb-header-sticky.header-stuck>div {
    background-color: #ffffff;
}
.rbb-default-header .rbb-header-sticky.header-stuck {
    background-color: #ffffff;
}
.rbb-default-header .rbb-header-sticky.header-stuck>div .header-inner {
    background-color: #ffffff;
}
.rbb-default-header .rbb-header-sticky.header-stuck>div .header-inner {
    background-color: #ffffff;
}
.rbb-default-header.header-3 .rbb-main-navigation ul li.level-1>a {
    color: #724c2e;
}
.text-white {
    color: rgb(0 0 0);
}
.banner-7 .custom-html .box-content p {
    color: #000000;
}
.elementor-7012 .elementor-element.elementor-element-8131043 .title {
    line-height: normal;
}
.single-product .product-summary .woosw-btn {
	display: none !important;
}
.policy-style2 .elementor-image-box-wrapper .elementor-image-box-img img
/* Specificity: (0,3,1) */
{
    max-width: 100px !important;
}
/* General styles for the Nutrition Section - Keep as is */
.nutrition-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    box-sizing: border-box;
}

.nutrition-section .product-info {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    box-sizing: border-box;
}

.nutrition-section .info-section {
    background-color: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(50% - 10px);
    box-sizing: border-box;
    margin-bottom: 0;
}

/* Animation de base for hidden elements */
.nutrition-section .hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.nutrition-section .show {
    opacity: 1;
    transform: translateY(0);
}

/* Keyframe animation for nutritional items (fade-in) */
@keyframes nutritionFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animation for nutritional items using .show class */
.nutrition-section .nutrition-item.show {
    animation: nutritionFadeIn 0.5s forwards;
}

/* Specific styling for nutrition items */
.nutrition-section .nutrition-item {
    position: relative;
    width: 100%;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    border-radius: 20px;
    color: white;
    font-weight: bold;
}

.nutrition-section .nutrition-item .content {
    opacity: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
}

/* Section header styles */
.nutrition-section .section-header {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e91e63;
}

.nutrition-section .section-header i {
    color: #e91e63;
    font-size: 24px;
}

.nutrition-section .section-header h2 {
    color: #e91e63 !important;
    font-size: 20px !important;
    font-weight: bold !important;
    margin: 0 !important;
    padding: 0 !important;
    text-transform: none !important;
    line-height: 1.2 !important;
    display: block !important;
}

/* Nutritional container specific styles */
.nutrition-section .nutritional-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nutrition-section .nutrition-item .icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: white;
}

/* Specific colors for nutrition items */
.nutrition-section .calories { background-color: #e91e63; }
.nutrition-section .calories .icon i { color: #e91e63; }
.nutrition-section .proteins { background-color: #d21a26; }
.nutrition-section .proteins .icon i { color: #d21a26; }
.nutrition-section .carbs { background-color: #4caf50; }
.nutrition-section .carbs .icon i { color: #4caf50; }
.nutrition-section .fats { background-color: #ff9800; }
.nutrition-section .fats .icon i { color: #ff9800; }

/* Styles for ingredients list */
.nutrition-section .ingredients-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Initial state for ingredients */
.nutrition-section .ingredient {
    background-color: #f5f5f5;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 14px;
    color: #333;
    border: 1px solid #e0e0e0;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* Animation for ingredients using .show class */
.nutrition-section .ingredient.show {
    opacity: 1;
    transform: scale(1);
}

.nutrition-section .ingredient:hover {
    background-color: #e91e63;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.single-product .product-image {
    max-width: 95% !important;
	max-height: 95% !important;
}
/* Responsive Design for Nutrition Section */
@media (max-width: 768px) {
    .nutrition-section .product-info {
        flex-direction: column;
        gap: 20px;
    }

    .nutrition-section .info-section {
        flex: 1 1 100%;
    }
	.brands-menu-section {
    min-height: 100px !important; /* Adjusted to fit the menu content */
}
}

@media (max-width: 480px) {
    .nutrition-section .info-section {
        padding: 15px;
    }

    .nutrition-section .section-header h2 {
        font-size: 18px !important;
    }

    .nutrition-section .nutrition-item {
        padding: 6px 12px;
    }

    .nutrition-section .nutrition-item .icon {
        width: 25px;
        height: 25px;
    }

    .nutrition-section .ingredient {
        font-size: 12px;
        padding: 6px 12px;
    }
}
/* end Styles product */

/* SECTION: BRANDS MENU (Desktop Styles) */
.brands-menu-section {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align items to the top */
    padding: 0px;
    background-color: #fff; /* Default background for this section */
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.05); /* Soft shadow */
    z-index: 10; /* Under the header if exists, above slider */
    position: relative; /* Needed for z-index */
    gap: 0px; /* Space between brands-list and slider-section if side-by-side */
    min-height: 300px; /* Adjusted to fit the menu content */
}

.brands-list {
    display: flex;
    flex-direction: column;
    width: 100%; /* Fixed width for the brand list */
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 5px;
}

.brand-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between; /* To push toggle-icon to the right */
    padding: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border-radius: 5px;
    margin-bottom: 0px;
    border-bottom: 1px solid #eee; /* Added border for desktop */
}

.brand-menu-item:last-child {
    margin-bottom: 0;
}

.brand-menu-item:hover {
    background-color: #e9e9e9;
    transform: translateX(5px);
}

/* Active class for brand item (when its sub-menu is open or current brand) */
.brand-menu-item.active {
    background-color: #e0e0e0;
    font-weight: bold;
}

.brand-menu-item .brand-logo {
    width: 90px;
    height: 60px;
    margin-right: 10px;
    object-fit: contain;
}

.brand-menu-item span:not(.toggle-icon) {
    font-size: 1em;
    color: #333;
    flex-grow: 1;
}

.toggle-icon {
    font-size: 1.5em;
    font-weight: bold;
    color: #555;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.sub-menu-products {
    margin-top: 5px;
    margin-left: 20px;
    padding-left: 10px;
    border-left: 3px solid #eee;
    max-height: 0; /* Hidden by default */
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.sub-menu-products.open {
    /* Max-height is set by JS for smooth transition */
}

.sub-menu-products .category-title {
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 8px;
    color: #555;
    text-transform: uppercase;
    font-size: 1.2em;
    letter-spacing: 0.5px;
}

.sub-menu-products .sub-menu-product-item {
    padding: 8px 0;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    color: #666;
    font-size: 1em;
}

.sub-menu-products .sub-menu-product-item:hover {
    color: #007bff;
    transform: translateX(3px);
}

.sub-menu-product-item.active-sub-item {
    font-weight: bold;
    color: #007bff;
}


/* SECTION: SLIDER (Desktop Styles) */
.slider-section {
    flex-grow: 1;
    position: relative;
    height: 500px; /* Default height for desktop */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFF;
    transition: background-color 0.5s ease;
    overflow: hidden;
}

.slider-content {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.products-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.product-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    user-select: none;
    box-sizing: border-box;
}

.product-image-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    z-index: 2;
}

.product-image {
    max-width: 80%; /* Smaller image size for desktop */
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.5s ease-out;
}

.product-slide.swiper-slide-active .product-image {
    transform: scale(1.05);
}

.product-name {
    position: absolute; /* Keep absolute for desktop */
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5em;
    color: #333;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    z-index: 2;
    white-space: nowrap;
}

/* Background Word Styling */
.background-word {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9em; /* Large size for desktop */
    font-weight: 900;
    color: #84d814 !important;
    opacity: 0.2;
    z-index: 1;
    white-space: nowrap;
    pointer-events: none;
    transition: color 0.5s ease;
}

/* Swiper Navigation Arrows (Desktop Styles) */
.swiper-button-next,
.swiper-button-prev {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #000; /* Border k7al */
    transition: all 0.3s ease;
    font-size: 0;
    color: transparent;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Nbedlou l-couleur dyal l-flèche l-dakhliya w nkubrouha chwiya */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 14px !important; /* Adjusted size for better visibility, was 16px */
    font-weight: 800;
    color: #000;
    line-height: 1;
    display: block;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Hover effect for the new button style */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #8fc148; /* Background dyal l-bouton fash kaddir 3lih hover */
    transform: translateY(-50%) scale(1.1);
    border-color: #8fc148; /* Added border color on hover */
}

/* Hover effect for the arrow icon */
.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
    color: #fff; 
    transform: translateX(0);
}

/* Gooey Button Styling (Desktop Styles) */
.discover-btn-wrapper {
    position: absolute;
    right: 50px;
	top: 50%;
	transform: translateY(-50%) scale(0.7);
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 150px;
    min-height: 50px;
    transition: transform 0.3s ease;
}
.c-button {
    color: #000;
    font-weight: 700;
    font-size: 1em;
    text-decoration: none;
    padding: .7em 1.8em;
    cursor: pointer;
    display: inline-flex;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    position: relative;
    z-index: 1;
    font-family: 'Ubuntu', sans-serif;
}

.c-button--gooey {
    --button-gooey-color: #82a555;
    color: var(--button-gooey-color);
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 4px solid var(--button-gooey-color);
    border-radius: 25px;
    padding: 18px 40px;
    position: relative;
    transition: all 700ms ease;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.c-button--gooey .c-button__blobs {
    height: 100%;
    filter: url(#goo);
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    bottom: -3px;
    right: -1px;
    z-index: -1;
}

.c-button--gooey .c-button__blobs div {
    background-color: var(--button-gooey-color);
    width: 34%;
    height: 100%;
    border-radius: 100%;
    position: absolute;
    transform: scale(1.4) translateY(125%) translateZ(0);
    transition: all 700ms ease;
}

.c-button--gooey .c-button__blobs div:nth-child(1) { left: -5%; }
.c-button--gooey .c-button__blobs div:nth-child(2) { left: 30%; transition-delay: 60ms; }
.c-button--gooey .c-button__blobs div:nth-child(3) { left: 66%; transition-delay: 25ms; }

.c-button--gooey:hover { color: #fff; }
.c-button--gooey:hover .c-button__blobs div { transform: scale(1.4) translateY(0) translateZ(0); }

.c-button .arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.c-button:hover .arrow { transform: translateX(5px); }

/* Styles pour le bouton "Tous les produits" */
.all-products-btn-container {
    display: flex;
    justify-content: center;
    margin: 10px auto;
    max-width: 1200px;
}

.all-products-btn {
    z-index: 1;
    position: relative;
    padding: 15px 35px;
    margin-bottom: 0;
    text-align: center;
    text-transform: uppercase;
    color: #7a9c82;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    background-color: transparent;
    outline: none;
    border: none;
    transition: color 0.5s;
    cursor: pointer;
    border-radius: 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-family: 'Cormorant Garamond', serif;
}

.all-products-btn:before {
    content: "";
    z-index: 1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #7a9c82;
    border-radius: 30px;
}

.all-products-btn:after {
    content: "";
    z-index: -2;
    position: absolute;
    left: 3px;
    top: 3px;
    width: 100%;
    height: 100%;
    transition: all 0.3s 0.2s;
    border-radius: 30px;
}

.all-products-btn:hover {
    color: #734d2d;
    border-radius: 30px;
}

.all-products-btn:hover:after {
    transition: all 0.3s;
    left: 0;
    top: 0;
    border-radius: 30px;
}

.all-products-btn__inner {
    z-index: -1;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background: #ffffff;
}
.overflow-auto { overflow: hidden !important; }
.elementor-10214 .elementor-element.elementor-element-eaf1014 { text-shadow: 0 0 BLACK !important; }
.elementor-10214 .elementor-element.elementor-element-35681f14 { border-width: 0px !important; }

/* perso css*/
.bg-\[color\:var\(--rbb-header-background-color\)\] { background-color: #ffffff00; }
@media (min-width: 768px) { .md\:mr-2 { margin-right: 3.5rem; } }
.bg-\[\#ffd074\] {
    --tw-bg-opacity: 1;
    background-color: #ffffff00;
    background-position: center center;
    background-size: cover;
}
.after\:bg-\[\#ffd074\]:after { --tw-bg-opacity: 1; background-color: #ffffff00; }
.elementor-2086 .elementor-element.elementor-element-589c558 .sub_title {
    color: #5b3018;
    font-family: "Playball", Sans-serif;
    font-size: 60px;
    font-weight: 400;
    margin-bottom: 16px;
    font-size: 3.5em;
    line-height: 80px;
}

@media (min-width: 1024px) {
    .lg\:px-\[30px\] { padding: 0px; }
}

/* Style pour la page produit */
.product-custom-layout { margin: 0; }
.product-background {
    background-color: #bcd692;
    border-radius: 0% 50% 0% 30%;
    padding: 50px 20px 50px 20px;
    display: flex;
    align-items: center;
    gap: 0px;
    position: relative;
}

/* Style pour les boutons de variation */
.variations-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2;
}

.weight-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: white;
    transition: all 0.3s ease;
    font-size: 14px;
}

.weight-button span { font-weight: bold; color: #333; }
.weight-button:hover, .weight-button.active { border-color: #000; background: #f5f5f5; transform: scale(1.05); }

/* Style pour l'image du produit */
.product-image-wrapper { flex: 1; text-align: center; z-index: 1; }
.product-main-image { max-height: 400px; width: auto; transition: all 0.3s ease; }

/* Cacher les variations par défaut de WooCommerce */
.woocommerce div.product form.cart .variations { display: none; }

/* Responsive for Product Page */
@media (max-width: 768px) {
	
	.translate-x-1\/2 {    --tw-translate-x: 5%; }
    .product-background {
        flex-direction: column-reverse;
        border-radius: 20px;
        padding: 20px;
    }
    .variations-buttons {
        flex-direction: row;
        justify-content: center;
        margin-top: 20px;
    }
    .weight-button {
        width: 60px;
        height: 60px;
        font-size: 12px;
    }
    .product-main-image { max-height: 300px; }
}




/* Global mobile-specific styles for Brands Menu & Slider */

@media (max-width: 768px) {
	.brand-menu-item .brand-logo { width: 70px; height: 60px; margin-right: 20px;}
	.rbb_contact_shortcode_email {font-size:16px;}
.lg\:col-span-1 {
    width: 100% !important;
}
	.mt-\[100px\] { margin-top: 40px !important;}
    /* Brands Menu Section - Keep as is */
    .brands-menu-section {
        position: static;
        width: max-content;
        margin-top: 0;
        margin-bottom: 0;
        height: auto; /* Allow height to adjust to content */
        box-shadow: none;
        padding: 10px 0;
        background-color: transparent; /* Ensure no background covering slider */
        z-index: auto;
    }

    .brands-list {
        display: flex; /* Force Flexbox */
        flex-direction: row; /* Align horizontally */
        flex-wrap: nowrap;   /* Crucial: Prevent wrapping to new line */
        overflow-x: auto;    /* Enable horizontal scrolling */
        margin: 5px;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
        scroll-snap-type: x mandatory; /* Snap to items when scrolling */
        justify-content: flex-start; /* Aligne au début pour le défilement */
        gap: 0px; /* Remove gap if desired between actual logos, margin will handle space */
        background-color: transparent !important; /* TRÈS IMPORTANT : Supprime le fond de la liste elle-même */
        box-shadow: none !important; /* Supprime l'ombre de la liste entière */
        border-radius: 0 !important; /* Supprime le border-radius de la liste entière */
    }

    .brands-list::-webkit-scrollbar { height: 6px; }
    .brands-list::-webkit-scrollbar-thumb { background-color: rgba(0,0,0,0.2); border-radius: 10px; }

    .brand-menu-item {
        flex-shrink: 0; /* Prevent items from shrinking */
        display: flex;
        flex-direction: column; /* This keeps logo centered within its item */
        align-items: center;
        justify-content: center;
        padding: 0px; /* Padding ajusté pour la nouvelle taille de logo */
        border-radius: 0px; /* Supprime le border-radius pour les logos */
        background-color: transparent; /* Supprime le background */
        box-shadow: none; /* Supprime l'ombre */
        text-align: center;
        scroll-snap-align: start;
        min-width: 110px; /* Largeur minimale plus grande pour mieux voir 3 logos */
        border-bottom: none; /* Supprime la bordure inférieure */
        opacity: 1;
        margin-right: 15px; /* Espace entre les logos */
        transition: none; /* Désactive les transitions desktop sur mobile */
        cursor: default; /* Enlève le curseur pointeur */
    }

    .brand-menu-item:last-child {
        margin-right: 0; /* Pas de marge à droite pour le dernier élément */
    }

    .brand-menu-item:hover {
        background-color: transparent; /* Pas de hover background */
        transform: none; /* Pas de transform on hover */
    }

    .brand-menu-item .toggle-icon { display: none !important; } /* Cache l'icône de toggle */
    .brand-menu-item.active {
        background-color: transparent; /* Active state without background */
        border-color: transparent; /* Active state without border */
        font-weight: normal; /* Normal font weight for active state */
    }

    .brand-logo {
        width: 70px; /* TAILLE DU LOGO AUGMENTÉE */
        height: 70px; /* TAILLE DU LOGO AUGMENTÉE */
        margin-bottom: 0px; /* Supprime la marge sous le logo */
        border-radius: 50%; /* Garde le logo rond */
        object-fit: contain; /* Assure que le logo s'adapte sans être coupé */
    }

    .brand-menu-item span:not(.toggle-icon) {
        display: none; /* Cache le nom de la marque */
    }

    .sub-menu-products { display: none !important; } /* Cache tous les sous-menus sur mobile */

    /* Slider Section for mobile - Adjustments */
    .slider-section {
        padding-top: 0;
        height: 55vh; /* Hauteur augmentée pour le slider */
        min-height: 400px; /* Minimum height augmentée */
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        overflow: hidden; /* Garde l'overflow pour le slider */
    }

    .swiper-container {
        width: 100%;
        height: 100%;
    }

    .product-slide {
        display: flex;
        flex-direction: column;
        align-items: center; /* Center items horizontally in the column */
        justify-content: center;
        height: 100%;
        position: relative;
    }

    .product-image-link {
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .product-image {
        max-width: 100% !important; /* Make image bigger */
        max-height: 100%;
        object-fit: contain;
        margin-bottom: 10px;
    }

    /* Background Word for mobile - Keep as is */
    .background-word {
        font-size: 4em; /* Smaller size for mobile */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%; /* Take full width */
        height: 100%; /* Take full height */
        display: flex; /* Use flex to center the text content */
        align-items: center;
        justify-content: center;
        text-align: center;
        opacity: 0.1; /* Subtle background */
        pointer-events: none;
        white-space: nowrap; /* Prevent word from wrapping */
        overflow: hidden; /* Hide overflow if word is too long */
    }

    /* Product Name for mobile - Ensure centering and visibility */
    .product-name {
        font-size: 1.2em; /* Smaller font for mobile product name */
        position: relative; /* Remove absolute positioning, let flex handle */
        text-align: center; /* Explicitly center text */
        margin-top: 20px; /* Ajoute un peu d'espace au-dessus du nom */
        margin-bottom: 0px; /* Add some space below the name */
        z-index: 1;
        width: 100%; /* Ensure it takes full width for centering */
        padding: 0 10px; /* Ajoute un petit padding horizontal pour éviter que le texte ne touche les bords */
        box-sizing: border-box; /* S'assure que le padding n'augmente pas la largeur */
    }

    /* Discover Button for mobile - Modifications */
    .discover-btn-wrapper {
        display: flex !important; /* Make sure the button is visible */
        position: static; /* Remove absolute positioning */
        margin:  0 auto; /* Center horizontally with auto margins, add top margin */
        transform: none; /* Remove any transform that might offset it */
        width: fit-content; /* Adjust width to content */
        max-width: 90%; /* Prevent it from being too wide on smaller screens */
        box-sizing: border-box; /* Include padding and border in element's total width and height */
    }

    /* Override Gooey button specific styles for mobile */
    .c-button--gooey {
        background-color: transparent !important;
        border: none !important;
        color: #724C2E !important; /* Couleur du texte du lien */
        font-size: 1.1em; /* Ajustement de la taille de police */
        text-transform: none; /* Désactive l'uppercase */
        letter-spacing: normal; /* Désactive l'espacement des lettres */
        padding: 0.5em 0; /* Réduit le padding pour un look de lien */
        box-shadow: none !important;
        border-radius: 0 !important;
        font-weight: bold;
        transition: color 0.3s ease, text-decoration 0.3s ease;
        display: flex; /* Pour aligner le texte et la flèche */
        align-items: center;
    }

    .c-button--gooey .c-button__blobs {
        display: none !important; /* Cache les éléments "gooey" */
    }
    
    .c-button--gooey::after {
        content: '\2192'; /* Caractère de flèche Unicode (→) */
        font-size: 1.2em; /* Taille de la flèche */
        margin-left: 8px; /* Espace entre le texte et la flèche */
        display: inline-block; /* Assure que la flèche est sur la même ligne */
        transition: transform 0.3s ease; /* Animation de la flèche */
    }

    .c-button--gooey:hover {
        color: #5b3018 !important; /* Couleur du texte au survol */
        text-decoration: underline; /* Souligné au survol */
    }

    .c-button--gooey:hover::after {
        transform: translateX(5px); /* Déplace la flèche au survol */
    }

    /* Swiper Navigation Arrows (Desktop Styles) */
    .swiper-button-next,
    .swiper-button-prev {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.8);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        border: 1px solid #000; /* Border k7al */
        transition: all 0.3s ease;
        font-size: 0;
        color: transparent;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Nbedlou l-couleur dyal l-flèche l-dakhliya w nkubrouha chwiya */
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 14px !important; /* Adjusted size for better visibility, was 16px */
        font-weight: 800;
        color: #000;
        line-height: 1;
        display: block;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    /* Hover effect for the new button style */
    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background-color: #8fc148; /* Background dyal l-bouton fash kaddir 3lih hover */
        transform: translateY(-50%) scale(1.1);
        border-color: #8fc148; /* Added border color on hover */
    }

    /* Hover effect for the arrow icon */
    .swiper-button-next:hover::after,
    .swiper-button-prev:hover::after {
        color: #fff; /* Couleur dial l-flèche fash kaddir 3lih hover */
        transform: translateX(0);
    }
    /* Other mobile specific fixes */
    .py-\[59px\] {
        padding-bottom: 0px;
        padding-top: 0px;
    }
.elementor-2086 .elementor-element.elementor-element-589c558 .sub_title {

font-size: 2em !important;
line-height: 30px !important;
}
.rbb-main-navigation ul li.level-1>a>span {
    font-size: 0.8em !important;
}
.pl-1 {
    padding-left: .1rem !important ;
}
}


.rbb-main-navigation ul li.level-1>a>span {
        font-family: var(--typography-heading);
        color: #764d2a;
        font-size: 1em;
    }
.md\:-mr-9
Specificity: (0,1,0)
 {
        margin-right: -50rem !important;
        }
@media (min-width: 1024px) {
    .lg\:absolute {
        position: static;
        background-image: linear-gradient(#ffffff, #eff1f3);
    }
}
@media (min-width: 1024px) {
    .page-id-2086 .lg\:absolute {
        position: absolute;
        background-image: linear-gradient(#ffffff, #eff1f3);
    }
.elementor-2086 .elementor-element.elementor-element-589c558 .sub_title {

    line-height: 60px !important;
}

}



.section-bg {
    background-image: url('https://copradis.com/wp-content/uploads/2025/06/bg-copagro-home.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: auto;
}
@media (max-width: 768px) {
    .section-bg {
        background-image: url('https://copradis.com/wp-content/uploads/2025/06/mobile-bg-copagro.png') !important;
        background-size: cover;
        background-position: center;
        height: 500px;
    }
}

 .page-id-2086 .lg\:absolute {
        position: relative !important;
        background-image: linear-gradient(#ffffff, #ffffff);
    }
@media (min-width: 1024px) {
    .lg\:py-40 {
        padding-bottom: 10rem;
        padding-top: 20rem;
    }
}
@media (min-width: 767px) {
    .lg\:py-40 {
        padding-bottom: 10rem;
        padding-top: 15rem;
    }
}
    .rbb-default-header .rbb-header-sticky .header-inner .rbb-header-center #rbb-site-navigation .primary-menu .menu-container>li
    {
    font-size: 14px !important;
    font-family: Open Sans, sans-serif !important;
    font-weight: 600 !important;
    }

/* home title */
/* Conteneur principal centré */
#cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Titre avec la police Mistrully */
#cta-title h2 {
    font-family: 'Mistrully', sans-serif;
    font-size: 70px; /* Taille plus grande pour PC */
    font-weight: bold;
    color: #c53328; 
    margin-bottom: 20px;
		margin-right : 153px;
 /* Espacement avant le bouton */
}

/* Bouton stylé */
#btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    margin-left: 30px;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    color: #74492b; 
    background: white;
    border: 3px solid #8dc54c; 
    border-radius: 50px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    box-shadow: 0px 5px 15px rgba(141, 197, 76, 0.3);
}



/* Effet hover */
#btn-modern:hover {
    background: #8dc54c; 
    color: white;
    border-color: #74492b; /* Bordure marron */
    box-shadow: 0px 8px 20px rgba(141, 197, 76, 0.5);
    transform: scale(1.05);
}

/* Responsive : Ajustements pour tablettes et mobiles */
@media (max-width: 1024px) {
    .cta-title {
        font-size: 40px;
    }
    .btn-modern {
        padding: 16px 35px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    #cta-title h2 {
       display: none;
    }
    .btn-modern {
        padding: 14px 30px;
        font-size: 16px;
    }
    .arrow-icon {
        font-size: 20px;
    }
}


/* Responsive : Ajustements pour tablettes et mobiles */
@media (max-width: 1024px) {
    .cta-title {
        font-size: 40px;
    }
    .btn-modern {
        padding: 16px 35px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 30px;
display: none;
    }
    .btn-modern {
        padding: 14px 30px;
        font-size: 16px;
    }
    .arrow-icon {
        font-size: 20px;
    }
}
.rbb-page-title {
background-position : center;
}
.rbb-breadcrumb .text-xs {
    margin-top: -20px;
}
@media (max-width: 1024px) {
.py-20 {
    padding-bottom: 10rem !important;
    padding-top: 10rem !important;
}
}
@media (max-width: 768px) {
	.py-20 {
    padding-bottom: 3rem !important;
    padding-top: 3rem !important;
}
}

.text-amber-400 {display: none;}
.wishlist {display: none;}


.bg-\[\#bee2b1\] {

    background-color: #fff !important!important;
}
.slick-slider .slick-arrow.slick-prev {
    left: -70px;
}
.slick-slider .slick-arrow.slick-next {
    right: -70px;
}
.additional_information_tab {display: none;}
.woocommerce-product-details__short-description {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
}
.product-single__tabs .rbb-accordion {display: none;}