/********** Template CSS — Doctor Soap Brand **********/
:root {
    --gold: #C9A227;
    --gold-light: #E0BE5A;
    --primary: #3D6B35;
    --primary-light: #4F8544;
    --primary-rgb: 61, 107, 53;
    --secondary: #C9A227;
    --light: #F8F7F4;
    --dark: #1A1A1A;
    --whatsapp: #25D366;
    --topbar-bg: #1A1A1A;
}

/* Bootstrap overrides — brand palette */
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-light) !important;
    border-color: var(--primary-light) !important;
    color: #fff !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.text-primary {
    color: var(--gold) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

.border-primary {
    border-color: var(--gold) !important;
}

.spinner-border.text-primary {
    color: var(--gold) !important;
}

a.text-primary:hover {
    color: var(--gold-light) !important;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-weight: 400;
    color: var(--dark);
    line-height: 1.75;
    overflow-x: hidden;
}

p, .btn, .form-control, .form-select, label, .nav-link, .btn-link, .list-group-item, .card, .alert {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-4, .display-6,
.section-title h2,
.footer h4 {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-weight: 700;
}

.section-title p.fs-5 {
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/*** Top Bar ***/
.top-bar {
    background: var(--topbar-bg);
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--gold);
}

.top-bar-info span {
    margin-right: 20px;
    opacity: 0.9;
}

.top-bar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-left: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

.top-bar-social a:hover {
    background: var(--gold);
    color: var(--dark);
}

/* Mobile menu — pages first, contact & social below */
.mobile-menu-contact {
    margin-top: 12px;
    padding: 16px 0 8px;
    border-top: 2px solid var(--light);
    background: #fafaf8;
}

.mobile-menu-contact a {
    display: flex;
    align-items: center;
    color: var(--dark);
    text-decoration: none;
    padding: 10px 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.mobile-menu-contact a:hover {
    color: var(--primary);
}

.mobile-menu-contact a i {
    color: var(--gold);
    width: 22px;
}

.mobile-menu-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8e8e4;
}

.mobile-menu-social a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    color: var(--gold);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
}

.mobile-menu-social a:hover {
    background: var(--gold);
    color: var(--dark);
}

.navbar-wrapper {
    top: 0;
    transition: .5s;
    z-index: 1030;
}

.back-to-top,
.whatsapp-btn,
.floating-social {
    position: fixed;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.back-to-top.show,
.whatsapp-btn.show,
.floating-social.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top {
    right: 30px;
    bottom: 30px;
}

.whatsapp-btn {
    right: 30px;
    bottom: 100px;
    background: var(--whatsapp) !important;
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.whatsapp-btn:hover {
    background: #1DA851 !important;
    color: #fff;
    transform: scale(1.05);
}

.floating-social {
    right: 30px;
    bottom: 165px;
    width: 48px;
    height: 48px;
}

.floating-social-toggle {
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.floating-social-toggle.active {
    transform: rotate(45deg);
}

/* Arc en demi-fleur — réparti selon le nombre de réseaux */
.floating-social-menu {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 0;
    height: 0;
    z-index: 1;
    pointer-events: none;
}

.floating-social-menu.open {
    pointer-events: auto;
}

.floating-social-item {
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    margin-left: -21px;
    margin-top: -21px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translate(0, 0) scale(0.4);
    transition:
        transform 0.38s cubic-bezier(0.34, 1.4, 0.64, 1),
        opacity 0.28s ease,
        background 0.2s ease,
        color 0.2s ease;
    transition-delay: calc(var(--social-index) * 0.045s);
}

.floating-social-menu.open .floating-social-item {
    opacity: 1;
    transform: translate(var(--social-x), var(--social-y)) scale(1);
}

.floating-social-menu:not(.open) .floating-social-item {
    transition-delay: calc((var(--social-count, 1) - 1 - var(--social-index)) * 0.03s);
}

.floating-social-item:hover {
    background: var(--gold);
    color: var(--dark);
}

.product-card {
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-img-wrap {
    position: relative;
    overflow: hidden;
}

.product-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-modal-usage {
    font-size: 0.9rem;
    line-height: 1.7;
}

.category-filter .btn {
    font-size: 0.85rem;
}

.product-modal-img {
    max-height: 400px;
    object-fit: contain;
    background: var(--light);
}

.product-modal-desc {
    line-height: 1.8;
    font-size: 0.95rem;
}

.about-content {
    line-height: 1.8;
    font-size: 0.95rem;
}

.section-title-sm::before,
.section-title-sm::after {
    display: none;
}

.section-title-sm {
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.fw-medium {
    font-weight: 600;
}

.fw-bold {
    font-weight: 700;
}

.fw-black {
    font-weight: 900;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

.skip-to-main {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 100000;
    padding: 0.75rem 1rem;
    background: var(--primary);
    color: #fff !important;
    border-radius: 0.25rem;
    text-decoration: none;
    font-weight: 600;
}

.skip-to-main:focus {
    top: 1rem;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.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 ***/
.navbar .navbar-brand {
    position: absolute;
    padding: 0;
    width: 145px;
    height: 112px;
    top: 0;
    left: 0;
}

.navbar .navbar-nav .nav-link {
    margin-right: 28px;
    padding: 20px 0;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--gold);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand {
        width: 126px;
        height: 100px;
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 12px 4px;
        font-size: 0.95rem;
        border-bottom: 1px solid #f0f0ec;
    }

    .navbar .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .navbar .navbar-nav {
        margin-top: 70px;
        padding-bottom: 0;
        width: 100%;
    }

    #navbarCollapse {
        padding-bottom: 8px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header Carousel ***/
#header-carousel {
    max-height: 720px;
    overflow: hidden;
    background: var(--dark);
}

#header-carousel .carousel-inner {
    max-height: 720px;
}

#header-carousel .carousel-item {
    position: relative;
    min-height: 720px;
    max-height: 720px;
    overflow: hidden;
}

#header-carousel .carousel-item img {
    display: block;
    width: 100%;
    height: 720px;
    object-fit: cover;
    object-position: center;
}

#header-carousel .carousel-caption {
    position: absolute;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.97) 0%, rgba(26, 26, 26, 0.88) 35%, rgba(26, 26, 26, 0.55) 70%, rgba(26, 26, 26, 0.25) 100%);
    z-index: 2;
    padding: 1.5rem 1rem 2rem;
    text-align: center;
}

#header-carousel .carousel-caption h1,
#header-carousel .carousel-caption .display-4 {
    color: #fff !important;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 2.75rem !important;
    margin-bottom: 0.5rem !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85), 0 0 2px rgba(0, 0, 0, 0.9);
}

#header-carousel .carousel-caption p.fs-4 {
    color: #fff !important;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.15rem !important;
    margin-bottom: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 0 2px rgba(0, 0, 0, 0.9);
}

#header-carousel .carousel-caption p.fs-4 strong {
    color: #F5E6B8 !important;
    font-style: italic;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

#header-carousel .carousel-caption .btn-lg,
#header-carousel .carousel-caption .btn-hero {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    padding: 0.55rem 1.5rem !important;
    font-size: 1rem !important;
}

.carousel-hero-wrap {
    margin-bottom: 2rem !important;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--dark);
    border: 15px solid var(--dark);
}

@media (max-width: 768px) {
    #header-carousel,
    #header-carousel .carousel-inner {
        max-height: 520px;
    }

    #header-carousel .carousel-item {
        min-height: 520px;
        max-height: 520px;
    }

    #header-carousel .carousel-item img {
        height: 520px;
    }

    #header-carousel .carousel-caption h1,
    #header-carousel .carousel-caption .display-4 {
        font-size: 1.75rem !important;
    }

    #header-carousel .carousel-caption p.fs-4 {
        font-size: 0.95rem !important;
    }

    #header-carousel .carousel-caption .btn-lg,
    #header-carousel .carousel-caption .btn-hero {
        padding: 0.45rem 1.15rem !important;
        font-size: 0.9rem !important;
    }

    .display-6 {
        font-size: 1.45rem;
    }

    .page-header h1 {
        font-size: 1.6rem !important;
    }

    .product-card img {
        height: 175px;
    }

    .back-to-top, .whatsapp-btn, .floating-social {
        right: 15px;
    }

    .back-to-top { bottom: 20px; }
    .whatsapp-btn { bottom: 85px; }
    .floating-social { bottom: 145px; }
}

.page-header {
    background: linear-gradient(rgba(26, 26, 26, 0.72), rgba(var(--primary-rgb), 0.78)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 50%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 28px;
    height: 28px;
    bottom: -13px;
    left: calc(25% - 13px);
    background: var(--gold);
    border: 10px solid #FFFFFF;
    border-radius: 28px;
}

.section-title.text-center::before {
    left: 25%;
}

.section-title.text-center::after {
    left: calc(50% - 13px);
}


/*** Products ***/
.product {
    background: linear-gradient(rgba(var(--primary-rgb), .08), rgba(var(--primary-rgb), .08)), url(../img/product-bg.png) left bottom no-repeat;
    background-size: auto;
}

.product-carousel .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.product-carousel .owl-nav .owl-prev,
.product-carousel .owl-nav .owl-next {
    margin: 0 10px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}

.product-carousel .owl-nav .owl-prev:hover,
.product-carousel .owl-nav .owl-next:hover {
    background: #FFFFFF;
    color: var(--primary);
}


/*** About ***/
.video {
    background: linear-gradient(rgba(26, 26, 26, 0.55), rgba(var(--primary-rgb), 0.82)), url(../img/video-bg.jpg) center center no-repeat;
    background-size: cover;
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 65px;
    height: 75px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 28px 30px 30px 38px;
    background: #FFFFFF;
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 120px;
    height: 120px;
    background: #FFFFFF;
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 120px;
    height: 120px;
    background: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 13px;
    border-left: 40px solid var(--primary);
    border-top: 28px solid transparent;
    border-bottom: 28px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Store ***/
.store-item .store-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), .35);
    opacity: 0;
    transition: .5s;
}

.store-item:hover .store-overlay {
    opacity: 1;
}


/*** Contact ***/
.contact .btn-square {
    width: 100px;
    height: 100px;
    border: 20px solid var(--light);
    background: var(--primary);
    border-radius: 50px;
}


/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(26, 26, 26, 0.5), rgba(var(--primary-rgb), 0.82)), url(../img/testimonial-bg.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-item {
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
    background: #FFFFFF;
    border: 30px solid var(--gold);
}

.testimonial-item img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 60px;
    object-fit: cover;
}

.testimonial-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    max-height: 3.2em;
}

.star-rating {
    color: #f5b301;
    font-size: 0.95rem;
    letter-spacing: 2px;
}

.star-rating .fa-star {
    margin: 0 1px;
}

.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 6px;
    font-size: 1.75rem;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
    color: #f5b301;
}

.review-product-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-height: 200px;
    overflow-y: auto;
}

.review-product-option {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 4px;
    cursor: pointer;
    width: 72px;
    text-align: center;
    transition: border-color 0.2s;
}

.review-product-option.selected {
    border-color: var(--primary);
}

.review-product-option img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.review-product-option span {
    display: block;
    font-size: 0.65rem;
    line-height: 1.1;
    margin-top: 4px;
    color: var(--dark);
}

.review-logo-option img {
    object-fit: contain;
    background: var(--light);
    padding: 6px;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--gold);
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    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: var(--gold);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #B0B9AE;
}

.copyright {
    background: var(--dark);
}

.footer-about-text {
    line-height: 1.6;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.copyright a:hover {
    color: #FFFFFF !important;
}


/*** Catalog Page ***/
.catalog-viewer {
    background: #fff;
    border-radius: 12px;
}

.catalog-viewer-toolbar {
    background: var(--light);
    border-bottom: 1px solid #e8e8e4;
}

.catalog-viewer-body {
    background: #525659;
    min-height: 480px;
}

.catalog-iframe {
    display: block;
    width: 100%;
    height: 75vh;
    min-height: 420px;
    border: 0;
}

.page-header-sm {
    margin-bottom: 1.5rem !important;
}

.page-title-main {
    font-size: 2.25rem;
}


/*** Hero & Buttons ***/
.btn-hero {
    padding: 0.55rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
}


/*** Responsive — typography, spacing, images ***/
@media (max-width: 991.98px) {
    html {
        font-size: 15px;
    }

    .display-4 {
        font-size: 2rem !important;
    }

    .display-6 {
        font-size: 1.55rem !important;
    }

    .page-title-main {
        font-size: 1.75rem;
    }

    .page-header {
        margin-bottom: 2rem !important;
    }

    .page-header .container {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .page-header h1.display-4 {
        font-size: 1.75rem !important;
        margin-bottom: 0.75rem !important;
    }

    .page-header .breadcrumb-item,
    .page-header .breadcrumb-item a {
        font-size: 0.9rem;
    }

    .section-title {
        margin-bottom: 2rem;
        padding-bottom: 1.25rem;
    }

    .container-xxl.py-5,
    .container-fluid.py-5.my-5,
    .container-fluid.product.py-5.my-5,
    .container-fluid.testimonial.py-5.my-5,
    .container-fluid.video.py-5.my-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }

    .container.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .footer.mt-5.py-5 .container.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .footer h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem !important;
    }

    .btn-lg,
    .btn.rounded-pill.py-3.px-5 {
        padding: 0.5rem 1.35rem !important;
        font-size: 0.9rem !important;
    }

    .btn-lg-square {
        width: 42px;
        height: 42px;
    }

    .contact .btn-square {
        width: 80px;
        height: 80px;
        border-width: 14px;
    }

    .product-card img {
        height: 190px;
    }

    .product-item .p-4 h4 {
        font-size: 1rem;
    }

    .product-item .p-4 {
        padding: 0.85rem !important;
        margin-top: -2rem !important;
    }

    .testimonial-item {
        border-width: 18px !important;
        padding: 1.25rem !important;
    }

    .catalog-iframe {
        height: 65vh;
        min-height: 360px;
    }
}

@media (max-width: 767.98px) {
    html {
        font-size: 14px;
    }

    #header-carousel,
    #header-carousel .carousel-inner {
        max-height: 480px;
    }

    #header-carousel .carousel-item {
        min-height: 480px;
        max-height: 480px;
    }

    #header-carousel .carousel-item img {
        height: 480px;
    }

    #header-carousel .carousel-caption {
        padding: 0.85rem 0.5rem 1rem;
    }

    #header-carousel .carousel-caption h1,
    #header-carousel .carousel-caption .display-4 {
        font-size: 1.5rem !important;
        margin-bottom: 0.35rem !important;
        line-height: 1.25;
    }

    #header-carousel .carousel-caption p.fs-4 {
        font-size: 0.85rem !important;
        margin-bottom: 0.5rem;
    }

    #header-carousel .carousel-caption .btn-hero,
    #header-carousel .carousel-caption .btn-lg {
        padding: 0.4rem 1rem !important;
        font-size: 0.82rem !important;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2.25rem;
        height: 2.25rem;
        border-width: 8px;
    }

    .display-4 {
        font-size: 1.65rem !important;
    }

    .display-6 {
        font-size: 1.35rem !important;
    }

    .fs-5 {
        font-size: 0.95rem !important;
    }

    .page-title-main {
        font-size: 1.45rem;
    }

    .navbar .navbar-brand {
        width: 100px;
        height: 78px;
    }

    .navbar .navbar-nav {
        margin-top: 62px;
    }

    .section-title::after {
        width: 22px;
        height: 22px;
        bottom: -11px;
        border-width: 8px;
    }

    .product-carousel .owl-nav .owl-prev,
    .product-carousel .owl-nav .owl-next {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .product-card img {
        height: 160px;
    }

    .about-content,
    .product-modal-desc {
        font-size: 0.88rem;
    }

    .video .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .video .display-6 {
        font-size: 1.25rem !important;
    }

    .video .btn-lg-square {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    .back-to-top,
    .whatsapp-btn,
    .floating-social-toggle {
        width: 42px !important;
        height: 42px !important;
    }

    .floating-social {
        width: 42px;
        height: 42px;
    }

    .floating-social-menu {
        bottom: 21px;
        right: 21px;
    }

    .floating-social-item {
        width: 36px;
        height: 36px;
        margin-left: -18px;
        margin-top: -18px;
        font-size: 0.85rem;
    }

    .floating-social-menu.open .floating-social-item {
        transform: translate(calc(var(--social-x) * 0.85), calc(var(--social-y) * 0.85)) scale(1);
    }

    .catalog-iframe {
        height: 55vh;
        min-height: 280px;
    }

    .catalog-viewer-body {
        min-height: 280px;
    }
}

@media (max-width: 575.98px) {
    .category-filter .btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.65rem;
    }

    .container-fluid.bg-dark.footer .row.g-5 {
        --bs-gutter-y: 1.75rem;
    }

    .copyright .row > div {
        text-align: center !important;
        margin-bottom: 0.5rem;
    }
}

/*** Legal pages ***/
.legal-content {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--dark);
}

.legal-content h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.legal-content h3 {
    font-size: 1.05rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.legal-content ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.legal-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-nav .btn-outline-primary {
    font-size: 0.78rem;
}

.footer-legal-links a {
    color: #B0B9AE;
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: var(--gold);
}

.cookie-settings-link {
    color: #B0B9AE !important;
    font-size: 0.82rem;
    text-decoration: none;
    vertical-align: middle;
}

.cookie-settings-link:hover {
    color: var(--gold) !important;
}

/*** Cookie consent modal ***/
.cookie-modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.cookie-modal-content .modal-title {
    font-size: 1.15rem;
}

.cookie-category .form-check-input {
    width: 2.5em;
    height: 1.25em;
    cursor: pointer;
}

.cookie-category .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.cookie-fab {
    position: fixed;
    left: 20px;
    bottom: 24px;
    z-index: 98;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    padding: 0.45rem 0.85rem;
}

.map-cookie-wrap {
    min-height: 400px;
}

.map-cookie-wrap.map-is-active .cookie-map-placeholder {
    display: none !important;
}

.map-cookie-wrap .cookie-deferred-map {
    position: relative;
    z-index: 1;
    min-height: 400px;
    background: #e9ecef;
}

.map-cookie-wrap .cookie-map-placeholder {
    z-index: 2;
}

@media (max-width: 767.98px) {
    .cookie-fab {
        left: 12px;
        bottom: 16px;
        font-size: 0.8rem;
    }

    #cookieConsentModal .modal-footer {
        flex-direction: column;
        align-items: stretch !important;
    }

    #cookieConsentModal .modal-footer .d-flex {
        flex-direction: column;
    }

    #cookieConsentModal .modal-footer .btn {
        width: 100%;
    }
}

/*** Catalogue en ligne (magazine) ***/
.catalog-online-page {
    background: var(--light);
}

.catalog-toolbar {
    background: #fff;
    border-bottom: 1px solid #e8e8e4;
    position: sticky;
    top: 0;
    z-index: 50;
}

.catalog-magazine {
    padding-bottom: 2rem;
}

.catalog-pdf-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 1px solid #e8e8e4 !important;
}

.catalog-section {
    padding: 2.5rem 0;
    background: #fff;
    border-bottom: 1px solid #ecece8;
    position: relative;
}

.catalog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.04;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath fill='%233D6B35' d='M30 90c20-40 40-60 60-70'/%3E%3C/svg%3E") repeat;
}

.catalog-page-logo-wrap {
    text-align: center;
    margin-bottom: 1.25rem;
}

.catalog-page-logo {
    height: 52px;
    width: auto;
}

.catalog-hero-logo {
    height: 72px;
    width: auto;
}

.catalog-section-hero {
    padding: 0;
}

.catalog-hero {
    min-height: 380px;
    background: var(--dark) center/cover no-repeat;
    position: relative;
}

.catalog-hero-overlay {
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.82), rgba(61, 107, 53, 0.55));
    padding: 3rem 1rem;
}

.catalog-hero-sub {
    color: var(--gold);
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.catalog-hero-title {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.catalog-hero-body {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
}

.catalog-intro {
    max-width: 720px;
}

.catalog-intro-sub {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.catalog-intro-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.catalog-intro-body {
    color: #555;
    line-height: 1.8;
}

.catalog-full-image {
    position: relative;
    line-height: 0;
}

.catalog-full-image img {
    max-height: 520px;
    object-fit: cover;
    width: 100%;
}

.catalog-full-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(26, 26, 26, 0.75));
    text-align: center;
}

.catalog-full-caption span {
    color: #fff;
    font-weight: 600;
}

.catalog-split .catalog-block-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.catalog-block-sub {
    font-style: italic;
    margin-bottom: 0.35rem;
}

.catalog-block-body {
    color: #555;
    line-height: 1.75;
}

.catalog-block-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.catalog-collection-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.catalog-collection-label {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
}

.catalog-collection-title {
    font-size: 1.65rem;
    margin-bottom: 0.75rem;
}

.catalog-collection-desc {
    color: #666;
    line-height: 1.7;
}

.catalog-shelf-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.catalog-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid #eee;
}

.catalog-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.catalog-product-img {
    aspect-ratio: 1;
    overflow: hidden;
    background: #fff;
    padding: 6px;
    background:
        radial-gradient(circle at 0 50%, transparent 6px, var(--gold) 6px, var(--gold) 8px, transparent 8px) 0 0/16px 100%,
        radial-gradient(circle at 100% 50%, transparent 6px, var(--gold) 6px, var(--gold) 8px, transparent 8px) 100% 0/16px 100%,
        linear-gradient(var(--gold), var(--gold)) 8px 0/calc(100% - 16px) 8px,
        linear-gradient(var(--gold), var(--gold)) 8px 100%/calc(100% - 16px) 8px,
        #fff;
}

.catalog-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.catalog-product-info {
    padding: 0.85rem 0.75rem 1rem;
    text-align: center;
}

.catalog-product-info h4 {
    font-size: 0.88rem;
    color: var(--primary);
    margin-bottom: 0.35rem;
    line-height: 1.25;
}

.catalog-product-info p {
    font-size: 0.72rem;
    color: #777;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: block;
    font-weight: 700;
    color: var(--gold);
    font-size: 1rem;
    margin: 0.25rem 0 0.4rem;
    line-height: 1.2;
}

.catalog-product-info .product-price {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.product-item .product-price {
    font-size: 0.95rem;
}

.product-modal-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

/*** Blog carousel (homepage) ***/
.blog-section {
    background: #fff;
}

.blog-carousel-item {
    height: 100%;
}

.blog-carousel-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
    border: 1px solid #ecece8;
    transition: transform 0.25s, box-shadow 0.25s;
}

.blog-carousel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}

.blog-carousel-link {
    color: inherit;
}

.blog-carousel-img-wrap {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f5f5f0;
}

.blog-carousel-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

.blog-carousel-card:hover .blog-carousel-img-wrap img {
    transform: scale(1.04);
}

.blog-carousel-img-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 2.5rem;
}

.blog-carousel-body {
    padding: 1.15rem 1.25rem 1.35rem;
}

.blog-carousel-date {
    font-size: 0.78rem;
    color: #999;
    display: block;
    margin-bottom: 0.4rem;
}

.blog-carousel-title {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.blog-carousel-excerpt {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.55;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-carousel-cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
}

.blog-carousel .owl-nav {
    margin-top: 1rem;
}

.blog-carousel .owl-nav button.owl-prev,
.blog-carousel .owl-nav button.owl-next {
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    background: var(--primary) !important;
    color: #fff !important;
    font-size: 1rem;
}

.article-content {
    font-size: 1.05rem;
    color: #333;
}

.catalog-banner {
    background: linear-gradient(135deg, var(--dark), #2a3d28);
    color: #fff;
    padding: 2.5rem 1rem;
    margin: 1rem 0;
}

.catalog-banner-title {
    color: var(--gold);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.catalog-banner-sub {
    font-size: 1rem;
    opacity: 0.95;
}

.catalog-banner-body {
    opacity: 0.85;
    margin-bottom: 0;
}

.catalog-section-banner {
    padding: 0;
}

@media (max-width: 767.98px) {
    .catalog-hero,
    .catalog-hero-overlay {
        min-height: 260px;
    }

    .catalog-hero-title {
        font-size: 1.5rem;
    }

    .catalog-section {
        padding: 1.75rem 0;
    }

    .catalog-full-image img {
        max-height: 280px;
    }
}

.catalog-full-title {
    color: var(--dark);
    font-size: 1.5rem;
}

.catalog-group-label {
    text-align: center;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.catalog-usage-box {
    background: #f8f6f0;
    border-left: 4px solid var(--gold);
    padding: 1rem 1.15rem;
    border-radius: 0 8px 8px 0;
    color: #444;
    line-height: 1.75;
    font-size: 0.92rem;
}

.catalog-badges {
    max-width: 820px;
    margin: 0 auto;
}

.catalog-badge {
    background: var(--dark);
    color: #fff;
    border-radius: 50%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    font-size: 0.78rem;
    line-height: 1.2;
    max-width: 140px;
    margin: 0 auto;
}

.catalog-badge-icon {
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: 0.35rem;
}

.catalog-packaging-title,
.catalog-samples-title,
.catalog-contact-title {
    color: var(--dark);
    font-size: 1.5rem;
}

.catalog-pack-card {
    text-align: center;
}

.catalog-pack-img,
.catalog-sample-img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.catalog-pack-placeholder {
    min-height: 200px;
    background: #f5f5f0;
    border: 2px dashed #ddd;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #aaa;
}

.catalog-pack-caption {
    margin-top: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    line-height: 1.45;
}

.catalog-contact-card {
    background: #fff;
    border: 1px solid #e8e8e4;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.catalog-contact-site {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.05rem;
}

.catalog-contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.catalog-contact-link:hover {
    color: var(--gold);
}

.catalog-shelf-sub {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.catalog-block-body ul {
    padding-left: 1.1rem;
    margin: 0;
}

.catalog-block-body li {
    margin-bottom: 0.5rem;
}