/********** Template CSS **********/
:root {
    --primary: #352050;
    --secondary: #5B3A78;
    --light: #F7F8FC;
    --dark: #111111;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 20px;
    bottom: 90px;
    z-index: 9990;

    background-color: #FFFFFF !important;
    border-color: #5B3A78 !important;
    color: #5B3A78 !important;
}

.back-to-top:hover,
.back-to-top:focus,
.back-to-top:active {
    background-color: #FFFFFF !important;
    border-color: #5B3A78 !important;
    color: #5B3A78 !important;
}

.back-to-top i {
    color: #5B3A78 !important;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.bg-icon {
    background: url(../img/bg-icon.png) center center repeat;
    background-size: contain;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary,
.btn.btn-outline-primary:hover,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: #555555;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--dark);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    position: relative;
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/carousel-1.jpg) top right no-repeat;
    background-size: cover;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.60);
    z-index: 0;
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Section Header ***/
.section-header {
    position: relative;
    padding-top: 25px;
}

.section-header::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
}

.section-header::after {
    position: absolute;
    content: "";
    width: 90px;
    height: 2px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
}

.section-header.text-start::before,
.section-header.text-start::after {
    left: 0;
    transform: translateX(0);
}



/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background-image: -webkit-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -moz-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -ms-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -o-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-size: 20px 20px;
    transform: skew(20deg);
    z-index: 1;
}


/*** Product ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.product-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.product-item img {
    transition: .5s;
}

.product-item:hover img {
    transform: scale(1.1);
}

.product-item small a:hover {
    color: var(--primary) !important;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-item.center .testimonial-item i {
    color: var(--secondary) !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/
.footer {
    color: #999999;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #999999;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #999999;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

.logo {
    width: 180px;
    height: auto;
    max-height: 75px;
    object-fit: contain;
  }  

.bg-primary,
.btn-primary {
    background-color: #5B3A78;
    border-color: #5B3A78;
}

.text-primary {
    color: #5B3A78;
}


.bg-secondary,
.btn-secondary {
    background-color: #5F7F4F;
    border-color: #5F7F4F;
}

.text-secondary {
    color: #5F7F4F;
}


.btn-outline-primary {
    color: #5B3A78;
    border-color: #5B3A78;
}

.btn-outline-primary:hover,
.btn-outline-primary.active {
    background-color: #5B3A78;
    border-color: #5B3A78;
    color: white;
}

.titre-ambre {
  color: #ffffff;
  text-shadow: 0 0 15px rgba(255, 191, 0, 0.8), 2px 2px 4px rgba(0, 0, 0, 0.9);
}


#header-carousel .carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    
    z-index: 1;
    pointer-events: none;
}


#header-carousel .carousel-caption {
    z-index: 2;
}

#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
    z-index: 3;
}

.footer-logo {
    width: 180px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-fleurals {
    background-color: #5F7F4F;
    color: #FFFFFF;
}

.footer-fleurals h1,
.footer-fleurals h2,
.footer-fleurals h3,
.footer-fleurals h4,
.footer-fleurals h5,
.footer-fleurals h6,
.footer-fleurals p,
.footer-fleurals a,
.footer-fleurals span,
.footer-fleurals small {
    color: #FFFFFF;
}

.location-fleurals {
    background-color: #5B3A78;
}

.map-container {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    display: block;
}

@media (max-width: 575.98px) {
    .navbar-brand .logo {
        width: 120px;
    }
}

.features-fleurals {
    background-color: #f7f5f1;
    background-image: url("../img/features-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mobile-contact-buttons {
    display: none;
}

@media (max-width: 1199.98px) {
    .mobile-contact-buttons {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-left: auto;
        margin-right: 8px;
    }

    .mobile-contact-buttons a {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #FFFFFF;
        text-decoration: none;
        font-size: 16px;
    }

    .mobile-call {
        background-color: #5B3A78;
    }

    .mobile-whatsapp {
        background-color: #5F7F4F;
    }

    .mobile-contact-buttons a:hover {
        opacity: 0.85;
    }
}



.navbar {
    min-height: 80px;
}

.navbar-brand {
    flex-shrink: 0;
}

.navbar-brand .logo {
    width: 170px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
}


@media (min-width: 992px) {
    .navbar {
        padding-left: 25px;
        padding-right: 25px;
    }

    .navbar .navbar-nav {
        margin-left: auto;
    }

    .navbar .navbar-nav .nav-link {
        padding-left: 10px;
        padding-right: 10px;
        white-space: nowrap;
    }
}


@media (max-width: 991.98px) {

    .navbar {
        padding-left: 10px;
        padding-right: 10px;
        min-height: 70px;
    }

    .navbar-brand {
        margin-left: 0;
    }

    .navbar-brand .logo {
        width: 130px;
        max-height: 55px;
    }

    .navbar-toggler {
        margin-right: 5px;
        padding: 6px 9px;
    }

    .navbar-collapse {
        width: 100%;
    }

    .navbar .navbar-nav {
        width: 100%;
        margin-top: 10px;
        padding: 10px 15px;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 5px;
    }
}

.product-tabs .btn {
    padding: 7px 12px;
    font-size: 13px;
    line-height: 1.2;
}

.product-item {
        background: #ffffff;
    }
    .product-title-container {
        min-height: 52px; /* Laisse l'espace pour 1 ou 2 lignes en français */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .product-arabic-container {
        min-height: 32px; /* Réserve l'espace pour l'arabe, même si vide */
    }



.floating-cart {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    top: auto !important;
    left: auto !important;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;

    border: none;
    border-radius: 50%;

    background-color: #5B3A78;
    color: #FFFFFF;

    font-size: 21px;
    line-height: 1;

    z-index: 2147483647 !important;

    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    cursor: pointer;
    appearance: none;
}

.floating-cart:hover {
    transform: scale(1.05);
}

#cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    border-radius: 50%;
    background-color: #C62828;
    color: #FFFFFF;
    font-size: 11px;
    line-height: 21px;
    text-align: center;
    font-weight: 700;
}


/* Fenêtre panier */

.cart-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90%;
    height: 100vh;
    background: #FFFFFF;
    z-index: 10000;
    box-shadow: -5px 0 25px rgba(0,0,0,0.20);
    display: flex;
    flex-direction: column;
    transition: right 0.35s ease;
}

.cart-panel.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #5B3A78;
    color: #FFFFFF;
}

.cart-header h4 {
    color: #FFFFFF;
}

.cart-close {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    border-bottom: 1px solid #eeeeee;
    padding: 15px 0;
}

.cart-item-name {
    font-weight: 600;
    color: #333333;
}

.cart-item-price {
    color: #5B3A78;
    font-weight: 600;
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.cart-quantity button {
    width: 28px;
    height: 28px;
    border: 1px solid #dddddd;
    background: #FFFFFF;
    border-radius: 50%;
    cursor: pointer;
}

.cart-quantity button:hover {
    background-color: #5B3A78;
    color: #FFFFFF;
}

.cart-remove {
    border: none;
    background: transparent;
    color: #999999;
    cursor: pointer;
}

.cart-remove:hover {
    color: #C62828;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eeeeee;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 9999;
    display: none;
}

.cart-overlay.show {
    display: block;
}


/* Mobile */

@media (max-width: 575.98px) {

    .floating-cart {
        position: fixed !important;
        right: 15px !important;
        bottom: 15px !important;
        top: auto !important;
        left: auto !important;

        width: 52px;
        height: 52px;
    }

    .cart-panel {
        width: 100%;
        max-width: 100%;
    }
}

.modal-logo {
    width: 140px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.contact-green-box {
    background-color: #5F7F4F !important;
}

.splide__slide {
    width: 198px !important;
}
.splide__slide img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
}
@media (max-width: 575.98px) {
    .splide__slide {
        width: 132px !important;
    }

    .splide__slide img {
        height: 100px;
        object-fit: contain;
        border-radius: 6px;
    }
}