/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/

/* Banner h1-style div (replaces duplicate h1 in breadcrumb for SEO) */
.breadcrumb-area .h1-style {
    font-weight: 600;
    color: #292929;
    text-transform: uppercase;
    font-family: "Oswald", sans-serif;
    font-size: 2em;
    margin: 0.67em 0;
}
.banner-area .banner-text .h1-style {
    color: #211e1e;
    font-family: "Playfair Display", serif;
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 26px;
}
@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .banner-area .banner-text .h1-style {
        font-size: 63px;
    }
}
@media only screen and (max-width: 767px) {
    .breadcrumb-area .h1-style {
        font-size: 26px;
        line-height: 31px;
        margin-bottom: 10px;
    }
    .banner-area .banner-text .h1-style {
        font-size: 45px;
        margin-bottom: 15px;
    }
}
/*
    Created on : 1 mars 2019, 07:34:19
    Author     : greg
*/

/* Smooth scroll pour les ancres */
html {
    scroll-behavior: smooth;
}

/*===> Begin preloader <===*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background: #fff;
}

.preloader #cube-loader {
    -ms-flex-align: center;
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    width: 100%;
    position: fixed;
}

.preloader #cube-loader .caption {
    margin: 0 auto;
}

.preloader #cube-loader .cube-loader {
    width: 190px;
    height: 190px;
    margin: 0 auto;
    margin-top: 49px;
    position: relative;
}

.preloader #cube-loader .cube-loader .cube {
    position: relative;
    width: 50%;
    height: 50%;
    float: left;
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.preloader #cube-loader .cube-loader .cube:before {
    content: "";
    position: absolute;
    top: -1px;
    left: 30px;
    width: 130%;
    height: 200%;
    background-repeat: no-repeat;
    background-image: url('../img/svg/abeille.svg');

    animation: cube-loader 3.76s infinite linear both;
    -ms-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

@keyframes cube-loader {

    0% {
        transform:  translate(0px,0px)  ;
    }
    15% {
        transform:  translate(0px,-25px)  ;
    }
    30% {
        transform:  translate(0px,0px)  ;
    }
    45% {
        transform:  translate(0px,-15px)  ;
    }
    60% {
        transform:  translate(0px,0px)  ;
    }
    75% {
        transform:  translate(0px,-5px)  ;
    }
    100% {
        transform:  translate(0px,0px)  ;
    }


}

/*===> End preloader <===*/


.transition-fade {
    transition: 0.4s;
    opacity: 1;
}

html.is-animating .transition-fade {
    opacity: 0;
}
.icon-menu{
    background: white;
    border-radius:50px;
}
.line-menu{
    line-height: 40px;  
}
.cadre-ln{
    background-color:#ffffff;
    border-radius:20px;
    border:1px solid #849696;
    padding:30px;
    margin-bottom:10px;
}
.cadre-map-area{
    background-color:#ffffff;
    border-radius:10px;
    padding:30px;
}
.btn-paypal{
    
    display: inline-block;
    text-align: center;
    background: #ffc439;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding:7px 10%;
    border-radius:20px;
}

.btn-paypal:hover{
    display: inline-block;
    background: #ffc439;
    padding:7px 10%;
    border-radius:0px;
}

.img-paypal{
    display: inline;
    width:4em;
}
.btn-paypal-icon{
    display: inline;
    width:1em;
}
.paypal-text{
    vertical-align: top;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    text-align: left;
}
.border_connexion{

    padding:15px 20px 20px 20px;
    border:3px solid #dedede;
}

.product-add-shop{
    margin-left: auto;
    margin-right: auto;
}

.text_login{
    font-size: 0.8rem;
}

.btn-home{
    color:#facc15;
}

.btn-home:hover{
    color:#849696;
}

.souligne{
    text-decoration: underline;  
}

.box-anime{
    -webkit-animation-delay: 0.7s;
    -moz-animation-delay: 0.7s;
    animation-delay: 0.7s;
}

#popup-load{
    z-index: 99990;
    display:none;
    position: fixed;
    width:100%;
    height:100%;
    top:0;
    left:0;
    -moz-box-shadow: 1px 1px 10px 0px #cfcfcf;
    -webkit-box-shadow: 1px 1px 10px 0px #cfcfcf;
    -o-box-shadow: 1px 1px 10px 0px #cfcfcf;
    box-shadow: 1px 1px 10px 0px #cfcfcf;
    filter:progid:DXImageTransform.Microsoft.Shadow(color=#cfcfcf, Direction=134, Strength=10);
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
}

.validate svg {
    width : 100px;
    height: 100px;
    position: relative;
    top: 50px;
    left: 50%;
    margin-left: -50px;
}

.validate svg.animate path {
    animation: dash 0.75s linear both;
    animation-delay: 0.5s;
}

#popup-load{
    z-index: 99990;
    display:none;
    position: fixed;
}

.loaders {
    display: flex;
    width:100px;
    height:100px;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color:#ffffff;
    -moz-box-shadow: 1px 1px 10px 0px #cfcfcf;
    -webkit-box-shadow: 1px 1px 10px 0px #cfcfcf;
    -o-box-shadow: 1px 1px 10px 0px #cfcfcf;
    box-shadow: 1px 1px 10px 0px #cfcfcf;
    filter:progid:DXImageTransform.Microsoft.Shadow(color=#cfcfcf, Direction=134, Strength=10);
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
}

.two {
    position: relative;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    border-top: 5px solid rgba(var(--orange), 0.25);
    border-left: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 5px solid transparent;
    animation: spin 3.0s linear infinite;
}
.two:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 64px;
    border-top: 5px solid rgba(var(--blue), 0.4);
    border-right: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid transparent;
    border-radius: 50%;
    animation: spin 3.0s linear infinite;
}
.two:after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 54px;
    height: 54px;
    border-top: 5px solid rgba(var(--green), 1);
    border-right: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid transparent;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.product-details-area .product-details-text p{
    padding-top: 0px;
}

@keyframes spin {
    from {
        transform: rotate(0);
    }
    to{
        transform: rotate(360deg);
    }
}

@keyframes spin-backwards {
    from {
        transform: rotate(0);
    }
    to{
        transform: rotate(-360deg);
    }
}

@keyframes spin-double {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(720deg);
    }
}

@keyframes dash {
    0% { stroke-dashoffset: 210; }
    75% { stroke-dashoffset: -220; }
    100% { stroke-dashoffset: -205; }
}


@media only screen and (min-width: 1000px) and (max-width: 1200px) {
    .btn-paypal{
        display: inline;
        background: #ffc439;
        padding:7px 23px;
        border-radius:20px;
    }
}

.cookiewarning {
    z-index: 999990;
    padding-bottom: 15em;
}

.cookiewarning p{
    z-index: 999990;
    font-size: 15px;
}

div.cookiewarning {
    display: none;
}
.cookiewarning div.cookiewarning {
    z-index: 999990;
    padding: 1em;	
    display: block;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(0,0,0,.8);
    color: white;
}

.removecookie {
    z-index: 999990;
    display: inline-block;
}

.cookiewarning .removecookie {
    z-index: 999990;
    display: none;
}

.message_new{
    position:absolute;
    background-color:#facc15;
    width:100%;
    margin-top:-24px;
    font-weight: 500;
}

/* PORTFOLIO debut */

#ptf-wapper{
    width: 100%;
    margin: 0 auto 90px auto;
}
#ptf-menu{
    margin: 0 auto 30px auto;
    padding: 30px 0;
    list-style-type: none;
}
.ptf-btn{

}

#ptf-container {
    width: 90%;
    margin: 10px auto 0 auto;
    grid-gap: 10px;
    grid-template-columns: repeat(4, 1fr);
}
.column{
    display: none;
}
.show{
    display: block;
    opacity: 1;
}
.ptf-block {
    position: relative;
}

/* PORTFOLIO fin */
@import "compass/css3";
@-webkit-keyframes myanimation {
    from {
        left: 0%;
    }
    to {
        left: 50%;
    }
}

.checkout-wrap {
    color: #444;
    font-family: 'PT Sans Caption', sans-serif;
    margin: 40px auto;
    max-width: 1200px;
    position: relative;
}
ul.checkout-bar li {
    color: #ccc;
    display: block;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 20px 14px 80px;
    position: relative;
}
ul.checkout-bar li:before {
    -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, .2);
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, .2);
    background: #ddd;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    left: 20px;
    line-height: 37px;
    height: 35px;
    position: absolute;
    text-align: center;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
    top: 4px;
    width: 35px;
    z-index: 999;
}
ul.checkout-bar li.active,ul.checkout-bar li.active-end {
    color: #8bc53f;
    font-weight: bold;
}
ul.checkout-bar li.active:before,ul.checkout-bar li.active-end:before {
    background: #8bc53f;
}
ul.checkout-bar li.visited {
    background: #ececec;
    color: #57aed1;
}
ul.checkout-bar li.visited:before {
    background: #57aed1;
    z-index: 99990;
}
ul.checkout-bar li:nth-child(1):before {
    content: "1";
}
ul.checkout-bar li:nth-child(2):before {
    content: "2";
}
ul.checkout-bar li:nth-child(3):before {
    content: "3";
}
ul.checkout-bar li:nth-child(4):before {
    content: "4";
}
ul.checkout-bar li:nth-child(5):before {
    content: "5";
}
ul.checkout-bar li:nth-child(6):before {
    content: "6";
}
ul.checkout-bar a {
    color: #57aed1;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}
@media all and (min-width: 800px) {

    .checkout-bar-custom{
        background:#fbfbfb;
        height:100px;
    }  
    .checkout-bar li.active:after {
        -webkit-animation: myanimation 3s 0;
        background-size: 35px 35px;
        background-color: #8bc53f;
        background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
        background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
        -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, .2);
        box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, .2);
        content: "";
        height: 15px;
        width: 100%;
        left: 50%;
        position: absolute;
        top: -50px;
        z-index: 0;
    }
    .checkout-bar li.active-end:after {
        -webkit-animation: myanimation 3s 0;
        background-size: 35px 35px;
        background-color: #8bc53f;
        background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
        background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
        -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, .2);
        box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, .2);
        content: "";
        height: 15px;
        width: 56%;
        border-radius: 15px;
        left: 45%;
        position: absolute;
        top: -50px;
        z-index: 0;
    }
    .checkout-wrap {
        margin: 80px auto;
    }
    ul.checkout-bar {
        -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, .2);
        box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, .2);
        background-size: 35px 35px;
        background-color: #ececec;
        background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, .4) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .4) 50%, rgba(255, 255, 255, .4) 75%, transparent 75%, transparent);
        background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, .4) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .4) 50%, rgba(255, 255, 255, .4) 75%, transparent 75%, transparent);
        border-radius: 15px;
        height: 15px;
        margin: 0 auto;
        padding: 0;
        width: 100%;
    }
    ul.checkout-bar:before {
        background-size: 35px 35px;
        background-color: #57aed1;
        background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
        background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
        -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, .2);
        box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, .2);
        border-radius: 15px;
        content: " ";
        height: 15px;
        position: absolute;
        width: 20%;
    }
    ul.checkout-bar li {
        display: inline-block;
        margin: 50px 0 0;
        padding: 0 15px 0 0 ;
        text-align: center;
        width: 33%;
    }
    ul.checkout-bar li:before {
        height: 45px;
        left: 40%;
        line-height: 45px;
        position: absolute;
        top: -65px;
        width: 45px;
        z-index: 99;
    }
    ul.checkout-bar li.visited {
        background: none;
    }
    ul.checkout-bar li.visited:after {
        background-size: 35px 35px;
        background-color: #57aed1;
        background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
        background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
        -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, .2);
        box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, .2);
        content: "";
        height: 15px;
        left: 50%;
        position: absolute;
        top: -50px;
        width: 100%;
        z-index: 99;
    }
}
.btn-qty{
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: #849696; 
    border: none;
    color: white;
    padding: 2px 10px;
    border-radius:0 0 5px 5px;
    text-align: center;
    text-decoration: none;
    font-size: 10px;
}
.btn-qty-custom{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width:62px;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-image: none;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius:5px 5px 0 0;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

/* add shop */
.basket-add {
    overflow: hidden;
    padding: 17px 19px;
}

.choice {
    position: relative;
    margin-bottom: 15px;
    background: #FAEBD7;
    border-radius: 10px;
}

.product-add {
    float: left;
    height: 100px;
    display: table;
    width: 50%;
}
.basket-add .product-add .pic {
    display: table-cell;
    width: 130px;
}
.basket-add .product-add .pic img {
    float: left;
    width: 100%;
    height: auto;
}
.basket-add .product-add .txt {
    display: table-cell;
    vertical-align: middle;
    overflow: hidden;
    padding-left: 20px;
}
.basket-add .product-add .txt strong {
    font-size: 20px;
    color: #505050;
    font-weight: 600;
}
.basket-add .product-add .txt .qty {
    color: #505050;
    font-size: 16px;
}
.basket-add .product-add .txt .price {
    font-weight: 600;
    color: #0a3782;
    font-size: 20px;
    margin-top: 3px;
    margin-bottom: 15px;
}
.basket-add .actions {
    float: right;
    right: 20px;
    width: 50%;
    text-align: right;
    padding-top: 14px;
}
.basket-add .confirm {
    font-size: 18px;
    font-weight: 600;
    color: #14aa14;
    margin-bottom: 11px;
}
.basket-add .confirm span.icon {
    position: relative;
    top: 4px;
    font-size: 40px;
}
.basket-add .actions .msg {
    position: relative;
    top: -8px;
}

@media screen and (max-width: 992px){

    .basket-add .product-add {
        float: none;
        width: 100%;
        display: block;
        margin-bottom: 40px;
    }    
    .basket-add .product-add .txt .qty {
        font-size: 13px;
    }

    .basket-add .product-add .txt .qty {
        color: #505050;
        font-size: 16px;
    }
    .basket-add .product-add .txt .price {
        font-size: 18px;
        margin-top: 10px;
    }

    .basket-add .product-add .txt .price {
        font-weight: 600;
        color: #0a3782;
        font-size: 20px;
        margin-top: 3px;
        margin-bottom: 15px;
    }
    .basket-add .actions {
        text-align: center;
        position: relative;
        top: 0;
        right: 0;
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -ms-transform: translateY(0);
        width: 100%;
        display: block;
        padding-top: 10px 0 0 0;
    }

}
@media screen and (max-width: 768px){
    .basket-add .product-add .pic {
        width: 100px;
    }

    .basket-add .product-add .pic {
        display: table-cell;
        width: 130px;
    }
    .basket-add .product-add .txt .qty {
        color: #505050;
        font-size: 11px;
    }
}


/*

All grid code is placed in a 'supports' rule (feature query) at the bottom of the CSS (Line 310). 
        
The 'supports' rule will only run if your browser supports CSS grid.

Flexbox and floats are used as a fallback so that browsers which don't support grid will still recieve a similar layout.

*/

/* Base Styles */

*,
*::before,
*::after {
    box-sizing: border-box;
}

.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

/* Profile Section */

.profile {
    padding: 5rem 0;
    font-size: 10px;
}

.profile::after {
    content: "";
    display: block;
    clear: both;
}

.profile-image {
    float: left;
    width: calc(33.333% - 1rem);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 3rem;
}

.profile-image img {
    border-radius: 50%;
}

.profile-user-settings,
.profile-stats,
.profile-bio {
    float: left;
    width: calc(66.666% - 2rem);
}

.profile-user-settings {
    margin-top: 1.1rem;
}

.profile-user-name {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 300;
}

.profile-edit-btn {
    font-size: 1.4rem;
    line-height: 1.8;
    border: 0.1rem solid #dbdbdb;
    border-radius: 0.3rem;
    padding: 0 2.4rem;
    margin-left: 2rem;
}

.profile-settings-btn {
    font-size: 2rem;
    margin-left: 1rem;
}

.profile-stats {
    margin-top: 2.3rem;
}

.profile-stats li {
    display: inline-block;
    font-size: 1.2rem;
    line-height: 1.5;
    margin-right: 4rem;
    cursor: pointer;
}

.profile-stats li:last-of-type {
    margin-right: 0;
}

.profile-bio {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 2.3rem;
}

.profile-real-name,
.profile-stat-count,
.profile-edit-btn {
    font-weight: 600;
}

/* Gallery Section */

.gallery {
    display: flex;
    flex-wrap: wrap;
    margin: -1rem -1rem;
    padding-bottom: 3rem;
}

.gallery-item {
    position: relative;
    flex: 1 0 22rem;
    margin: 1rem;
    color: #fff;
    cursor: pointer;
}

.gallery-item:hover .gallery-item-info,
.gallery-item:focus .gallery-item-info {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.gallery-item-info {
    display: none;
}

.gallery-item-info li {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
}

.gallery-item-likes {
    margin-right: 2.2rem;
}

.gallery-item-type {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 20px;
    text-shadow: 0.2rem 0.2rem 0.2rem rgba(0, 0, 0, 0.1);
}

.fa-clone,
.fa-comment {
    transform: rotateY(180deg);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Media Query */

@media screen and (max-width: 40rem) {
    .profile {
        display: flex;
        flex-wrap: wrap;
        padding: 4rem 0;
        font-size: 10px;
    }

    .profile::after {
        display: none;
    }

    .profile-image,
    .profile-user-settings,
    .profile-bio,
    .profile-stats {
        float: none;
        width: auto;
    }

    .profile-image img {
        width: 7.7rem;
    }

    .profile-user-settings {
        flex-basis: calc(100% - 10.7rem);
        display: flex;
        flex-wrap: wrap;
        margin-top: 1rem;
    }

    .profile-user-name {
        font-size: 16px;
    }

    .profile-edit-btn {
        order: 1;
        padding: 0;
        text-align: center;
        margin-top: 1rem;
    }

    .profile-edit-btn {
        margin-left: 0;
    }

    .profile-bio {
        font-size: 12px;
        margin-top: 1.5rem;
    }

    .profile-edit-btn,
    .profile-bio,
    .profile-stats {
        flex-basis: 100%;
    }

    .profile-stats {
        order: 1;
        margin-top: 1.5rem;
    }

    .profile-stats ul {
        display: flex;
        text-align: center;
        padding: 1.2rem 0;
        border-top: 0.1rem solid #dadada;
        border-bottom: 0.1rem solid #dadada;
    }

    .profile-stats li {
        font-size: 14px;
        flex: 1;
        margin: 0;
    }

    .profile-stat-count {
        display: block;
    }
}

/* === Localisation page === */

.loca-section {
    padding: 40px 0 60px;
}

.loca-header {
    text-align: center;
    margin-bottom: 28px;
}

.loca-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
}

.loca-subtitle {
    font-size: 15px;
    color: #777;
    margin: 0;
}

.loca-subtitle span {
    font-weight: 600;
    color: #ca8a04;
}

#container-maps {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.10);
}

.map, #mapview {
    width: 100%;
    height: 600px;
}

/* Detail panel - desktop: slide from right */
#detail-etablisement {
    position: absolute;
    top: 0;
    right: 0;
    width: 380px;
    height: 100%;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0,0,0,.12);
    z-index: 800;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

#detail-etablisement.active {
    transform: translateX(0);
}

/* Close button */
#panel-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 810;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.9);
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #555;
    transition: background .2s, color .2s;
}

#panel-close:hover {
    background: #fff;
    color: #000;
}

/* Drag indicator (mobile only) */
.loca-drag-indicator {
    display: none;
}

/* Panel image */
#info-img {
    flex-shrink: 0;
}

#info-img img,
#loca_img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

/* Panel body */
.loca-card-body {
    padding: 18px 20px 24px;
    flex: 1;
}

#detail-etablisement h3 {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 14px;
    line-height: 1.3;
}

#info-etablisement {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.loca-info-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.loca-info-line i {
    color: #ca8a04;
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

/* Visit button */
.loca-visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #facc15, #eab308);
    color: #1a1a1a;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s, box-shadow .2s;
    box-shadow: 0 2px 8px rgba(234,179,8,.25);
}

.loca-visit-btn:hover {
    background: linear-gradient(135deg, #eab308, #ca8a04);
    box-shadow: 0 4px 12px rgba(234,179,8,.35);
    color: #1a1a1a;
    text-decoration: none;
}

/* === Mobile: bottom sheet === */
@media screen and (max-width: 800px) {

    .loca-section {
        padding: 24px 0 40px;
    }

    .loca-header h2 {
        font-size: 22px;
    }

    #container-maps {
        border-radius: 10px;
    }

    .map, #mapview {
        height: 450px;
    }

    #detail-etablisement {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        max-height: 60%;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 20px rgba(0,0,0,.15);
        transform: translateY(100%);
    }

    #detail-etablisement.active {
        transform: translateY(0);
    }

    .loca-drag-indicator {
        display: block;
        width: 40px;
        height: 4px;
        background: #ccc;
        border-radius: 2px;
        margin: 10px auto 4px;
    }

    #panel-close {
        top: 8px;
        right: 8px;
    }

    #info-img img,
    #loca_img {
        aspect-ratio: 2 / 1;
    }

    .loca-card-body {
        padding: 14px 16px 20px;
    }
} 
/*
The following code will only run if your browser supports CSS grid.

Remove or comment-out the code block below to see how the browser will fall-back to flexbox & floated styling. 

*/

@supports (display: grid) {

    .profile {
        display: grid;
        grid-template-columns: 1fr 2fr;
        grid-template-rows: repeat(3, auto);
        grid-column-gap: 3rem;
        align-items: center;
        font-size: 10px;
    }
    .profile-image {
        grid-row: -1;
    }
    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
        grid-gap: 2rem;
    }
    .profile-image, .profile-user-settings, .profile-stats, .profile-bio, .gallery-item, .gallery {
        width: auto;
        margin: 0;
    }
    @media (max-width: 40rem) {
        .profile {
            grid-template-columns: auto 1fr;
            grid-row-gap: 1.5rem;
        }
        .profile-image {
            grid-row: 0.5;
        }
        .profile-user-settings {
            display: grid;
            grid-template-columns: auto 1fr;
            grid-gap: 1rem;
        }
        .profile-edit-btn, .profile-stats, .profile-bio {
            grid-column: -1;
        }
        .profile-user-settings, .profile-edit-btn, .profile-settings-btn, .profile-bio, .profile-stats {
            margin: 0;
        }
    }
}

/* ============================================
   Shop Filters - Filtres boutique
   ============================================ */

/* Barre de filtres en haut */
.shop-filters-bar {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.shop-filters-bar label {
    font-weight: 600;
    color: #495057;
    margin-right: 10px;
    font-size: 14px;
}

.shop-filters-bar .form-control {
    display: inline-block;
    width: auto;
    min-width: 180px;
    border-radius: 6px;
    border: 1px solid #ced4da;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    height: auto !important;
    line-height: 1.5 !important;
    overflow: visible !important;
}

.shop-filters-bar select.form-control,
.shop-filters-bar select.form-control-sm,
.shop-filters-bar select#sortSelect {
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
    padding-right: 30px;
    height: 38px !important;
    min-height: 38px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

.shop-filters-bar .form-control:focus {
    border-color: #8b7355;
    box-shadow: 0 0 0 0.2rem rgba(139, 115, 85, 0.15);
    outline: none;
}

.products-count {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

/* ===== PLP Layout avec sidebar rétractable ===== */
.plp-layout {
    display: flex;
    gap: 0;
    position: relative;
}

.plp-products {
    flex: 1;
    min-width: 0;
    transition: flex 0.3s ease;
}

/* Sidebar fermée par défaut */
.plp-sidebar {
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease, padding 0.3s ease;
    flex-shrink: 0;
}

.plp-sidebar .sidebar-wrapper {
    width: 280px;
    opacity: 0;
    transition: opacity 0.2s ease;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

/* Sidebar ouverte */
.plp-layout.filters-open .plp-sidebar .sidebar-wrapper {
    opacity: 1;
}

@media (min-width: 992px) {
    .plp-layout.filters-open .plp-sidebar {
        width: 280px;
        padding-left: 20px;
        overflow: visible;
        position: sticky;
        top: 120px;
        align-self: flex-start;
    }
}

/* Header sidebar */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eab308;
}

.sidebar-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
    letter-spacing: 0.5px;
}

.sidebar-close-btn {
    background: none;
    border: none;
    font-size: 16px;
    color: #999;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.sidebar-close-btn:hover {
    background: #fee2e2;
    color: #ef4444;
}

/* Widgets sidebar */
.sidebar-widget {
    margin-bottom: 16px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget h3 {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0 0 10px 0;
}

/* Bouton toggle filtres */
.filters-toggle-btn {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    background: linear-gradient(135deg, #eab308, #d97706);
    color: #eab308;
    border: none;
    width: 52px;
    height: 52px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    /* Coins coupés style alvéole */
    clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0% calc(100% - 12px), 0% 12px);
}

.filters-toggle-btn::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: #fff;
    clip-path: polygon(10px 0%, calc(100% - 10px) 0%, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0% calc(100% - 10px), 0% 10px);
    z-index: -1;
}

.filters-toggle-btn span {
    display: none;
}

.filters-toggle-btn:hover {
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    color: #fff;
    width: auto;
    padding: 0 24px;
    gap: 8px;
}

.filters-toggle-btn:hover::before {
    display: none;
}

.filters-toggle-btn:hover span {
    display: inline;
    font-size: 14px;
    font-weight: 600;
}

/* Desktop : quand filtres ouverts */
@media (min-width: 992px) {
    .plp-layout.filters-open .filters-toggle-btn {
        display: none;
    }

    .plp-layout.filters-open .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

.sidebar-drag-handle {
    display: none;
}

/* Overlay */
.filters-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1099;
}

.filters-overlay.active {
    display: block;
}

/* ===== Mobile ===== */
@media (max-width: 991px) {
    .plp-layout {
        display: block;
    }

    .filters-toggle-btn {
        position: fixed;
        bottom: 20px;
        right: auto;
        left: 50%;
        top: auto;
        transform: translateX(-50%);
        width: auto;
        height: auto;
        padding: 12px 28px;
        gap: 8px;
        background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
        color: #fff;
        border: none;
        /* Coins coupés style alvéole */
        clip-path: polygon(14px 0%, calc(100% - 14px) 0%, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0% calc(100% - 14px), 0% 14px);
    }

    .filters-toggle-btn::before {
        display: none;
    }

    .filters-toggle-btn span {
        display: inline;
        font-size: 15px;
        font-weight: 600;
    }

    .plp-sidebar {
        position: fixed !important;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1100;
        width: 100% !important;
        height: auto !important;
        max-height: 80vh;
        overflow: visible !important;
        overflow-y: auto !important;
        background: #fff;
        border-radius: 20px 20px 0 0;
        padding: 0 !important;
        transform: translateY(100%);
        transition: transform 0.3s ease !important;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
        flex-shrink: unset;
    }

    .plp-layout.filters-open .plp-sidebar {
        transform: translateY(0) !important;
    }

    .sidebar-drag-handle {
        display: block;
        width: 40px;
        height: 5px;
        background: #ccc;
        border-radius: 3px;
        margin: 10px auto;
    }

    .plp-sidebar .sidebar-wrapper {
        width: 100%;
        opacity: 1;
        padding: 0 20px 20px;
        position: static;
        background: none;
        border: none;
        box-shadow: none;
        border-radius: 0;
    }

    .plp-layout.filters-open .filters-toggle-btn {
        display: none;
    }
}

/* Filtre de prix */
.price-filter-wrapper {
    padding: 5px 0 0;
}

.price-range-display {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #8b7355;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f5f0;
    border-radius: 6px;
}

.price-slider-container {
    position: relative;
    height: 40px;
    margin-bottom: 15px;
}

.price-slider-container input[type="range"] {
    position: absolute;
    width: 100%;
    height: 6px;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.price-slider-container input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
}

.price-slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #8b7355;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    margin-top: -7px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.price-slider-container input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.price-slider-container input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #8b7355;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.price-slider-container input[type="range"]::-moz-range-track {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
}

#priceMin {
    top: 0;
}

#priceMax {
    top: 15px;
}

.price-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-inputs input[type="number"] {
    width: 70px;
    padding: 8px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
}

.price-inputs input[type="number"]:focus {
    border-color: #8b7355;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(139, 115, 85, 0.15);
}

.price-inputs span {
    color: #6c757d;
    font-weight: 500;
}

.btn-reset-price {
    display: block;
    width: 100%;
    padding: 8px 12px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid #8b7355;
    color: #8b7355;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset-price:hover {
    background: #8b7355;
    color: #fff;
}

/* Fix select dropdown in sidebar */
.sidebar-widget .sort-filter select,
.sidebar-widget select.form-control,
#sortSelect {
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
    width: 100% !important;
    min-height: 44px !important;
    height: auto !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
}

#sortSelect option {
    padding: 10px;
    white-space: normal;
    word-wrap: break-word;
}

/* Liens gammes au-dessus de la grille */
.gamme-links-top {
    text-align: center;
    margin-top: 0;
    margin-bottom: 50px !important;
}

.gamme-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.gamme-links .gamme-btn {
    display: inline-block;
    padding: 12px 22px;
    background: #fff;
    color: #555;
    border: 2px solid #eab308;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: none;
}

.gamme-links .gamme-btn:hover {
    background: #fffbeb;
    border-color: #d97706;
}

.gamme-links .gamme-btn.active {
    background: linear-gradient(135deg, #facc15 0%, #eab308 60%, #d97706 100%);
    color: #fff;
    border-color: #eab308;
}

/* Mobile : slider horizontal */
@media (max-width: 991px) {
    .gamme-links-top {
        margin-left: -15px;
        margin-right: -15px;
        padding: 0 15px;
    }

    .gamme-links {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 8px;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .gamme-links::-webkit-scrollbar {
        display: none;
    }

    .gamme-links .gamme-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Sous-catégories dans la sidebar filtres */
.sidebar-subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-subcategories .gamme-btn.small {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    color: #555;
    border: 2px solid #eab308;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    box-shadow: none;
}

.sidebar-subcategories .gamme-btn.small:hover {
    background: #fffbeb;
    border-color: #d97706;
}

.sidebar-subcategories .gamme-btn.small.active {
    background: linear-gradient(135deg, #facc15 0%, #eab308 60%, #d97706 100%);
    color: #fff;
    border-color: #eab308;
}

/* Boutons gamme améliorés */
.sidebar-widget-option-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-widget-option .ptf-btn {
    display: block;
    padding: 12px 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    color: #495057;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-widget-option .ptf-btn:hover {
    background: #e9ecef;
    border-color: #8b7355;
    color: #8b7355;
}

.sidebar-widget-option .ptf-btn.active {
    background: #8b7355;
    border-color: #8b7355;
    color: #fff;
    font-weight: 600;
}

/* ============================================
   Products Grid - Grille produits épurée
   ============================================ */

.shop-area .products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: grid-template-columns 0.3s ease;
}

/* Product Card - Design premium */
.products-grid .product-card {
    background: #fff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    position: relative !important;
    border: 1px solid rgba(0,0,0,0.03) !important;
}

.products-grid .product-card:hover {
    box-shadow: 0 15px 45px rgba(101, 157, 68, 0.2) !important;
    transform: translateY(-10px) !important;
    border-color: rgba(101, 157, 68, 0.15) !important;
}

/* Product Image */
.products-grid .product-card .product-image {
    position: relative !important;
    display: block !important;
    aspect-ratio: 1 !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

.products-grid .product-card .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: all 0.5s ease !important;
    display: block !important;
    filter: saturate(1.1) contrast(1.05) brightness(1.02) !important;
}

.products-grid .product-card:hover .product-image img {
    transform: scale(1.1) !important;
    filter: saturate(1.15) contrast(1.08) brightness(1.05) !important;
}

/* Badge Bio permanent en bas à droite */
.products-grid .product-card .product-image::after {
    content: '\f4d8';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute !important;
    bottom: 10px !important;
    right: 10px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    font-size: 14px !important;
    background: rgba(255,255,255,0.95) !important;
    color: #2e7d32 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15) !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Badges Nouveau */
.products-grid .product-badge {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    padding: 6px 14px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 20px !important;
    z-index: 3 !important;
    line-height: 1 !important;
}

.products-grid .badge-new {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    color: #fff !important;
    box-shadow: 0 3px 12px rgba(231, 76, 60, 0.4) !important;
}

/* Product Info */
.products-grid .product-info {
    padding: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    flex: 1 !important;
    background: #fff !important;
}

.products-grid .product-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    min-height: 40px !important;
}

.products-grid .product-title a {
    color: #333 !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.products-grid .product-title a:hover {
    color: #659d44 !important;
}

/* Product Subtitle - PLP */
.products-grid .product-subtitle {
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #595959 !important;
    margin: -2px 0 0 0 !important;
    line-height: 1.3 !important;
    font-style: italic !important;
    letter-spacing: 0.2px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Stock Status */
.products-grid .stock-status {
    font-size: 11px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 4px 10px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    background: #f0fdf4 !important;
}

.products-grid .stock-status.in-stock {
    color: #15803d !important;
    background: #f0fdf4 !important;
}

.products-grid .stock-status.out-stock {
    color: #b91c1c !important;
    background: #fef2f2 !important;
}

/* Price */
.products-grid .product-price {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #2d3436 !important;
    margin: 5px 0 !important;
    padding: 0 !important;
}

/* Actions */
.products-grid .product-actions {
    margin-top: auto !important;
    padding-top: 12px !important;
}

.products-grid .product-actions .add-form {
    margin: 0 !important;
    padding: 0 !important;
}

.products-grid .btn-add-cart,
.products-grid .btn-view {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 14px 16px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

.products-grid .btn-add-cart {
    background: linear-gradient(135deg, #659d44 0%, #4a7c31 100%) !important;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(101, 157, 68, 0.25) !important;
}

.products-grid .btn-add-cart:hover {
    background: linear-gradient(135deg, #4a7c31 0%, #3d6628 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(101, 157, 68, 0.45) !important;
}

.products-grid .btn-view {
    background: #f8f9fa !important;
    color: #555 !important;
    border: 1px solid #e0e0e0 !important;
}

.products-grid .btn-view:hover {
    background: #fff !important;
    color: #659d44 !important;
    border-color: #659d44 !important;
}

/* No products message */
.products-grid .no-products {
    grid-column: 1 / -1 !important;
    text-align: center !important;
    padding: 60px 20px !important;
    color: #888 !important;
    font-size: 16px !important;
}

/* Animation des produits pour le filtrage */
.products-grid .column,
.products-grid .product-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

/* Legacy support */
.grid-shop .column {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
}

/* ============================================
   Responsive - Shop & Products
   ============================================ */

/* Tablet */
@media (max-width: 991px) {
    .shop-area .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
        gap: 16px !important;
    }

    .shop-filters-bar {
        padding: 12px 15px;
    }

    .shop-filters-bar .form-control {
        min-width: 150px;
        font-size: 13px;
    }

    .products-count {
        text-align: center;
        margin-top: 10px;
    }

    .products-grid .product-info {
        padding: 12px !important;
    }

    .products-grid .product-title {
        font-size: 13px !important;
        min-height: 36px !important;
    }

    .products-grid .product-subtitle {
        font-size: 10px !important;
        margin: -1px 0 0 0 !important;
    }

    .products-grid .product-price {
        font-size: 17px !important;
    }

    .products-grid .btn-add-cart,
    .products-grid .btn-view {
        padding: 10px 12px !important;
        font-size: 11px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .products-grid .btn-add-cart {
        width: 100% !important;
        height: auto !important;
        min-width: unset !important;
        padding: 14px 16px !important;
        border-radius: 10px !important;
        gap: 8px !important;
    }

    .products-grid .btn-add-cart span {
        display: inline !important;
        font-size: 14px !important;
    }

    .products-grid .btn-add-cart i {
        font-size: 16px !important;
        margin: 0 !important;
    }

    .products-grid .product-actions {
        display: flex !important;
        justify-content: center !important;
    }

    .products-grid .product-actions .add-form {
        width: 100% !important;
    }

    .shop-area .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .shop-filters-bar .row {
        flex-direction: column;
    }

    .shop-filters-bar .col-md-4,
    .shop-filters-bar .col-md-8 {
        width: 100%;
        text-align: center;
    }

    .sort-filter {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .shop-filters-bar .form-control {
        width: 100%;
        max-width: 250px;
    }

    .price-inputs input[type="number"] {
        width: 60px;
    }

    .products-grid .product-card {
        border-radius: 10px !important;
    }

    .products-grid .product-info {
        padding: 10px !important;
        gap: 6px !important;
    }

    .products-grid .product-title {
        font-size: 12px !important;
        min-height: 34px !important;
    }

    .products-grid .stock-status {
        font-size: 10px !important;
    }

    .products-grid .product-price {
        font-size: 16px !important;
    }

    .products-grid .btn-view {
        padding: 12px 14px !important;
        font-size: 12px !important;
        gap: 6px !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .shop-area .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .products-grid .product-badge {
        top: 6px !important;
        left: 6px !important;
        padding: 4px 8px !important;
        font-size: 8px !important;
    }

    .products-grid .product-info {
        padding: 8px !important;
    }

    .products-grid .product-title {
        font-size: 11px !important;
        min-height: 30px !important;
    }

    .products-grid .product-price {
        font-size: 14px !important;
    }

    .products-grid .btn-add-cart {
        padding: 8px 10px !important;
    }

    .products-grid .btn-add-cart span {
        font-size: 10px !important;
    }

    .products-grid .btn-add-cart i {
        font-size: 12px !important;
    }

    .products-grid .btn-view {
        padding: 10px 8px !important;
        font-size: 10px !important;
    }

    .products-grid .btn-view i {
        font-size: 12px !important;
    }
}

/* ============================================
   Popup Ajout au Panier
   ============================================ */

.cart-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-popup {
    background: #fff;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    position: relative;
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.cart-popup-overlay.active .cart-popup {
    transform: scale(1) translateY(0);
}

.cart-popup-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: #f0f0f0;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    z-index: 10;
    line-height: 1;
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-popup-close:hover {
    color: #fff;
    background: #e74c3c;
}

.cart-popup-content {
    padding: 25px;
    padding-top: 45px;
}

.cart-popup-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #d4edda;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #155724;
}

.cart-popup-success i {
    font-size: 24px;
    color: #28a745;
}

.cart-popup-success span {
    font-size: 16px;
    font-weight: 600;
}

.cart-popup-product {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
}

.cart-popup-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}

.cart-popup-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-popup-product-info h4 {
    margin: 0 0 8px 0;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.cart-popup-product-details {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #666;
}

.cart-popup-product-details span:last-child {
    color: #facc15;
    font-weight: 600;
}

.cart-popup-cart-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #fff8e6;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.cart-popup-cart-info i {
    color: #facc15;
}

.cart-popup-total strong {
    color: #facc15;
    font-size: 16px;
}

.cart-popup-actions {
    display: flex;
    flex-direction: row !important;
    gap: 10px;
    flex-wrap: nowrap;
}

.cart-popup-actions .btn-continue,
.cart-popup-actions .btn-view-cart {
    flex: 1 1 0;
    padding: 12px 10px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cart-popup-actions .btn-continue {
    background: #f0f0f0;
    color: #333;
}

.cart-popup-actions .btn-continue:hover {
    background: #e0e0e0;
}

.cart-popup-actions .btn-view-cart {
    background: #659d44;
    color: #fff;
}

.cart-popup-actions .btn-view-cart:hover {
    background: #548432;
}

/* Responsive popup */
@media (max-width: 480px) {
    .cart-popup {
        max-width: 95%;
    }

    .cart-popup-content {
        padding: 15px;
        padding-top: 40px;
    }

    .cart-popup-product img {
        width: 60px;
        height: 60px;
    }

    .cart-popup-product-info h4 {
        font-size: 13px;
    }

    .cart-popup-cart-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .cart-popup-actions {
        flex-direction: row !important;
        gap: 8px;
    }

    .cart-popup-actions .btn-continue,
    .cart-popup-actions .btn-view-cart {
        padding: 10px 8px;
        font-size: 11px;
    }
}

/* ============================================
   Page Produit Moderne
   ============================================ */

.product-page {
    padding: 50px 0 80px;
}

.product-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

/* Galerie */
.product-gallery {
    position: sticky;
    top: 100px;
    align-self: start;
}

.product-gallery-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    aspect-ratio: 1;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.gallery-slide.active {
    display: block;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1) contrast(1.05) brightness(1.02);
    transition: all 0.4s ease;
}

.gallery-slide:hover img {
    filter: saturate(1.15) contrast(1.08) brightness(1.05);
}

.gallery-zoom {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.2s ease;
    text-decoration: none;
}

.gallery-zoom:hover {
    background: #659d44;
    color: #fff;
}

.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.gallery-thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: #659d44;
    opacity: 1;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Loupe zoom au survol (desktop) */
.gallery-lens {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 3px solid rgba(255,255,255,0.9);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.25);
    background-repeat: no-repeat;
}

@media (hover: none) and (pointer: coarse) {
    .gallery-lens { display: none; }
}

/* Popin image produit */
.product-lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.product-lightbox-overlay.active {
    display: flex;
}

.product-lightbox-popin {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    max-width: 700px;
    max-height: 85vh;
    width: 90%;
}

.product-lightbox-popin img {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.product-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    background: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.4rem;
    color: #333;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.product-lightbox-close:hover {
    background: #f0f0f0;
}

/* Bouton sticky ajout panier */
.sticky-add-cart {
    position: fixed;
    top: 30%;
    right: 20px;
    z-index: 9990;
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sticky-add-cart.visible {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.sticky-add-cart .btn-add-to-cart {
    flex: none;
    width: 56px;
    height: 56px;
    padding: 0;
    gap: 0;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                gap 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease;
    border-radius: 50%;
}

.sticky-add-cart .btn-add-to-cart i {
    font-size: 20px;
    flex-shrink: 0;
}

.sticky-add-cart .btn-add-to-cart span {
    display: none;
}

.sticky-add-cart .btn-add-to-cart:hover {
    width: auto;
    padding: 0 24px;
    gap: 10px;
    box-shadow: 0 6px 28px rgba(0,0,0,0.25);
    border-radius: 28px;
}

.sticky-add-cart .btn-add-to-cart:hover span {
    display: inline;
    font-size: 14px;
}

@media (max-width: 767px) {
    .sticky-add-cart {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: translateY(100%);
        padding: 10px 16px;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(8px);
        box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
    }

    .sticky-add-cart.visible {
        transform: translateY(0);
    }

    .sticky-add-cart .btn-add-to-cart {
        width: 100%;
        height: auto;
        padding: 14px 24px;
        gap: 10px;
        border-radius: 12px;
        overflow: visible;
        white-space: normal;
    }

    .sticky-add-cart .btn-add-to-cart span {
        display: inline;
        font-size: 16px;
    }

    .sticky-add-cart .btn-add-to-cart i {
        font-size: 18px;
    }

    .sticky-add-cart .btn-add-to-cart:hover {
        width: 100%;
        padding: 14px 24px;
        gap: 10px;
        border-radius: 12px;
    }

    .sticky-add-cart .btn-add-to-cart:hover span {
        display: inline;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .sticky-add-cart {
        top: 30%;
        right: 12px;
    }

    .sticky-add-cart .btn-add-to-cart {
        width: 46px;
        height: 46px;
        border-radius: 50%;
    }

    .sticky-add-cart .btn-add-to-cart i {
        font-size: 18px;
    }

    .sticky-add-cart .btn-add-to-cart:hover {
        width: 46px;
        padding: 0;
        gap: 0;
        border-radius: 50%;
    }

    .sticky-add-cart .btn-add-to-cart:hover span {
        display: none;
    }
}

/* Toast ajout panier */
.cart-toast {
    position: fixed;
    top: 120px;
    right: 20px;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-left: 4px solid #659d44;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 360px;
}

.cart-toast.show {
    transform: translateX(0);
}

.cart-toast-error {
    border-left-color: #e53e3e;
}

.cart-toast img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-toast-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-toast-text strong {
    font-size: 14px;
    color: #333;
}

.cart-toast-text strong i {
    color: #659d44;
    margin-right: 4px;
}

.cart-toast-text span {
    font-size: 13px;
    color: #666;
}

.cart-toast button {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 0 0 0 8px;
    line-height: 1;
}

.cart-toast button:hover {
    color: #333;
}

@media (max-width: 767px) {
    .cart-toast {
        top: auto;
        bottom: 20px;
        right: 10px;
        left: auto;
        max-width: 280px;
    }
}


/* Infos produit */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-admin-actions {
    display: flex;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.product-admin-actions a {
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    background: #f0f0f0;
    color: #333;
    transition: all 0.2s ease;
}

.product-admin-actions a:hover {
    background: #e0e0e0;
}

.product-admin-actions a.delete:hover {
    background: #e74c3c;
    color: #fff;
}

/* Badges qualité */
.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 5px;
}

.product-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badges .badge-bio {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.product-badges .badge-artisan {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #e65100;
    border: 1px solid #ffcc80;
}

.product-badges .badge-france {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
    border: 1px solid #90caf9;
}

.product-badges .badge-dynamic {
    background: linear-gradient(135deg, #fef9e7 0%, #fdebd0 100%);
    color: #7d6608;
    border: 1px solid #f9e79f;
}

/* Navigation rapide vers sections */
.product-quick-nav {
    display: flex;
    gap: 12px;
    margin: 15px 0;
}

.quick-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    color: #555;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-nav-btn i {
    font-size: 14px;
    color: #659d44;
}

.quick-nav-btn:hover {
    border-color: #659d44;
    background: linear-gradient(135deg, #f0f7ec, #e5f2dd);
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(101, 157, 68, 0.15);
}

.product-category {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #659d44;
    font-weight: 600;
}

.product-page .product-title {
    font-size: 36px;
    font-weight: 700;
    color: #2d3436;
    margin: 0;
    line-height: 1.2;
    font-family: 'Playfair Display', Georgia, serif;
}

/* Product Subtitle - PDP */
.product-page .product-subtitle {
    font-size: 16px;
    font-weight: 300;
    color: #7f8c8d;
    margin: -2px 0 0 0;
    line-height: 1.3;
    font-style: italic;
    letter-spacing: 0.3px;
}

/* Prix épuré */
.product-price-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
}

.product-price-tag {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-price-tag .price-amount {
    font-size: 26px;
    font-weight: 600;
    color: #2d3436;
    letter-spacing: -0.5px;
}

.product-price-tag .price-currency {
    font-size: 18px;
    font-weight: 500;
    color: #659d44;
    margin-left: 3px;
}

.product-weight {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Stock badge inline (next to price) */
.product-stock-badge {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.product-stock-badge.in-stock {
    background: #e8f5e9;
    color: #1b5e20;
}

.product-stock-badge.out-of-stock {
    background: #ffebee;
    color: #b71c1c;
}

.product-stock-badge i {
    font-size: 12px;
    margin-right: 2px;
}

/* Shipping delay message */
.product-shipping-delay {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    border: 1px solid #fde68a;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #92400e;
}

.product-shipping-delay i {
    color: #eab308;
    font-size: 18px;
}

/* Formulaire ajout */
.product-add-form {
    display: flex;
    gap: 15px;
    padding: 20px 0;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 45px;
    height: 50px;
    border: none;
    background: #f5f5f5;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    color: #333;
}

.qty-btn:hover {
    background: #e8e8e8;
}

.quantity-selector input {
    width: 60px;
    height: 50px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    -moz-appearance: textfield;
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-add-to-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 35px;
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    color: #fff;
    border: none;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    border-radius: 12px;
}

.btn-add-to-cart i {
    font-size: 20px;
}

.btn-add-to-cart:hover {
    background: linear-gradient(135deg, #eab308 0%, #d97706 100%);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.5);
}

.btn-add-to-cart:active {
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

/* Engagements / Avantages */
.product-commitments {
    background: linear-gradient(135deg, #f0faf0 0%, #e8f5e9 50%, #f1f8e9 100%);
    border: 1px solid #c8e6c9;
    border-radius: 16px;
    padding: 25px;
    margin: 10px 0;
}

.product-commitments h3 {
    font-size: 16px;
    font-weight: 700;
    color: #2e7d32;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-commitments h3 i {
    color: #43a047;
}

.commitments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.commitment {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.commitment-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #c8e6c9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.commitment-icon i {
    font-size: 17px;
    color: #43a047;
}

.commitment-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.commitment-text strong {
    font-size: 13px;
    font-weight: 700;
    color: #2e7d32;
}

.commitment-text span {
    font-size: 11px;
    color: #558b2f;
}

/* Paiements */
.product-payments {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.product-payments > span {
    font-size: 13px;
    color: #555;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-payments > span i {
    color: #eab308;
}

.payment-icons {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.payment-icons img {
    height: 30px;
    opacity: 0.8;
    transition: all 0.2s ease;
    filter: grayscale(20%);
}

.payment-icons img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Section Description */
.product-description-section {
    margin-top: 50px;
    background: #fff;
    border-radius: 0;
    padding: 40px 45px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.06);
    border: none;
    position: relative;
}

/* Bordure en L épurée - style alvéole - deux coins opposés */
.product-description-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        /* Haut gauche - horizontal */
        linear-gradient(to right, #eab308, transparent) top left / 120px 2px no-repeat,
        /* Haut gauche - vertical */
        linear-gradient(to bottom, #eab308, transparent) top left / 2px 80px no-repeat,
        /* Bas droit - horizontal */
        linear-gradient(to left, #eab308, transparent) bottom right / 120px 2px no-repeat,
        /* Bas droit - vertical */
        linear-gradient(to top, #eab308, transparent) bottom right / 2px 80px no-repeat;
}

.product-ingredients-section {
    margin-top: 50px;
    background: #fff;
    border-radius: 0;
    padding: 40px 45px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.06);
    border: none;
    position: relative;
}

/* Bordure en L épurée - style alvéole vert - deux coins opposés */
.product-ingredients-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        /* Haut gauche - horizontal */
        linear-gradient(to right, #659d44, transparent) top left / 120px 2px no-repeat,
        /* Haut gauche - vertical */
        linear-gradient(to bottom, #659d44, transparent) top left / 2px 80px no-repeat,
        /* Bas droit - horizontal */
        linear-gradient(to left, #659d44, transparent) bottom right / 120px 2px no-repeat,
        /* Bas droit - vertical */
        linear-gradient(to top, #659d44, transparent) bottom right / 2px 80px no-repeat;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.section-header .section-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #facc15, #eab308);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.section-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.section-header .section-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, #eab308, transparent);
    min-width: 50px;
}

/* Section ingrédients en vert */
.product-ingredients-section .section-header .section-icon {
    background: linear-gradient(135deg, #659d44, #7ab85a);
    box-shadow: 0 4px 15px rgba(101, 157, 68, 0.3);
}

.product-ingredients-section .section-header .section-line {
    background: linear-gradient(to right, #659d44, transparent);
}

.description-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
}

.description-text {
    line-height: 1.9;
    color: #555;
    font-size: 15px;
}

.description-text p {
    margin-bottom: 15px;
}

.description-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, #fffbf5, #fff5eb);
    border-radius: 0;
    border: none;
    position: relative;
}

/* Bordure en L épurée - style alvéole - deux coins opposés */
.description-highlights::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        /* Haut gauche - horizontal */
        linear-gradient(to right, #eab308, transparent) top left / 80px 2px no-repeat,
        /* Haut gauche - vertical */
        linear-gradient(to bottom, #eab308, transparent) top left / 2px 50px no-repeat,
        /* Bas droit - horizontal */
        linear-gradient(to left, #eab308, transparent) bottom right / 80px 2px no-repeat,
        /* Bas droit - vertical */
        linear-gradient(to top, #eab308, transparent) bottom right / 2px 50px no-repeat;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
    white-space: nowrap;
}

.highlight-item i {
    color: #eab308;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Section Ingrédients */
.ingredients-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Grille des ingrédients */
.ingredients-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.ingredient-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #f8faf6, #f0f7ec);
    border: 1px solid #e0e8db;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.ingredient-card:hover {
    border-color: #659d44;
    box-shadow: 0 4px 15px rgba(101, 157, 68, 0.15);
    transform: translateY(-2px);
}

.ingredient-icon {
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(101, 157, 68, 0.1);
}

.ingredient-icon i {
    color: #659d44;
    font-size: 14px;
}

.ingredient-name {
    font-size: 13px;
    color: #444;
    font-weight: 500;
}

/* Détails / Texte complet */
.ingredients-details {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 15px;
    padding: 25px 30px;
    margin-top: 10px;
}

.ingredients-details h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.ingredients-details h3 i {
    color: #659d44;
}

.ingredients-text {
    line-height: 1.9;
    color: #555;
    font-size: 14px;
}

.ingredients-text p {
    margin-bottom: 12px;
}

.ingredients-text p:last-child {
    margin-bottom: 0;
}

/* Garantie */
.ingredients-guarantee {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #659d44, #7ab85a);
    border-radius: 15px;
    margin-top: 25px;
}

.guarantee-badge {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guarantee-badge i {
    color: #fff;
    font-size: 24px;
}

.guarantee-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.guarantee-text strong {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.guarantee-text span {
    color: rgba(255,255,255,0.9);
    font-size: 13px;
}

.ingredients-note span {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

/* Partage */
.product-page .product-share {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-page .product-share > span {
    font-size: 14px;
    color: #888;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3b5998;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(59, 89, 152, 0.4);
}

/* Responsive */
@media (max-width: 991px) {
    .product-page-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 25px;
    }

    .product-gallery {
        position: static;
    }

    .product-page .product-title {
        font-size: 28px;
    }

    .product-price-tag .price-amount {
        font-size: 24px;
    }

    .commitments-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .product-commitments h3 {
        justify-content: flex-start;
        text-align: left;
    }

    .product-description-section,
    .product-ingredients-section {
        padding: 25px 20px;
    }

    .section-header {
        flex-direction: row;
        text-align: left;
    }

    .section-header .section-line {
        display: block;
    }

    .section-header h2 {
        font-size: 18px;
    }

    .description-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .description-highlights {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .ingredients-grid {
        gap: 8px;
    }

    .ingredient-card {
        padding: 10px 14px;
    }

    .ingredient-icon {
        width: 28px;
        height: 28px;
    }

    .ingredient-icon i {
        font-size: 12px;
    }

    .ingredient-name {
        font-size: 11px;
    }

    .ingredients-details {
        padding: 20px;
    }

    .ingredients-details h3 {
        font-size: 14px;
    }

    .ingredients-guarantee {
        flex-direction: row;
        text-align: left;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .product-page {
        padding: 30px 0 50px;
    }

    .product-page-wrapper {
        padding: 20px;
    }

    .product-badges {
        justify-content: center;
    }

    .product-badges .badge {
        font-size: 10px;
        padding: 5px 10px;
    }

    .product-quick-nav {
        justify-content: center;
    }

    .quick-nav-btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    .product-page .product-title {
        font-size: 24px;
        text-align: center;
    }

    .product-page .product-subtitle {
        font-size: 14px;
        text-align: center;
        margin: -1px 0 0 0;
    }

    .product-category {
        text-align: center;
        display: block;
    }

    .product-price-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn-add-to-cart {
        width: 100%;
    }

    .product-payments {
        flex-direction: column;
        text-align: center;
    }

    .payment-icons {
        margin-left: 0;
    }

    .gallery-thumb {
        width: 55px;
        height: 55px;
    }

    .section-header {
        flex-direction: row;
        text-align: left;
    }

    .section-header .section-line {
        display: block;
    }

    .product-commitments h3 {
        justify-content: flex-start;
        text-align: left;
    }

    .ingredient-card {
        padding: 8px 12px;
    }

    .ingredient-icon {
        width: 24px;
        height: 24px;
    }

    .ingredient-name {
        font-size: 11px;
    }

    .highlight-item {
        font-size: 12px;
    }

    .guarantee-text span {
        font-size: 12px;
    }

    .product-payments {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ============================================
   Page Panier Moderne
   ============================================ */

.cart-page {
    padding: 60px 0 100px;
    background: #fff;
    min-height: 60vh;
}

.cart-header {
    margin-bottom: 30px;
}

.cart-count {
    color: #666;
    font-size: 15px;
    font-weight: 400;
}

/* Layout */
.cart-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* Liste des articles */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    background: #f9f7f4;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 1px solid #f0ede8;
    transition: box-shadow 0.2s ease;
}

.cart-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f8f8;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cart-item-image:hover img {
    transform: scale(1.05);
}

.cart-item-details {
    min-width: 0;
}

.cart-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.cart-item-price-unit {
    font-size: 14px;
    color: #888;
    font-weight: 400;
}

/* Quantité */
.cart-item-quantity .qty-form {
    display: flex;
    align-items: center;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.cart-item-quantity .qty-btn {
    width: 36px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    font-size: 18px;
    cursor: pointer;
    color: #333;
    transition: all 0.2s;
}

.cart-item-quantity .qty-btn:hover {
    background: #e8e8e8;
}

.cart-item-quantity .qty-btn:active {
    background: #ddd;
}

.cart-item-quantity .qty-input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    background: #fff;
    -moz-appearance: textfield;
}

.cart-item-quantity .qty-input::-webkit-outer-spin-button,
.cart-item-quantity .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* Total article */
.cart-item-total {
    text-align: right;
    min-width: 100px;
}

.cart-item-total .total-label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}

.cart-item-total .total-amount {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

/* Supprimer */
.cart-item-remove {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border-radius: 8px;
    transition: all 0.2s;
    text-decoration: none;
}

.cart-item-remove:hover {
    background: #ffebee;
    color: #e53935;
}

/* Actions panier */
.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}

.btn-continue-shopping,
.btn-clear-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-continue-shopping {
    background: #fff;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.btn-continue-shopping:hover {
    background: #facc15;
    color: #fff;
    box-shadow: 0 4px 12px rgba(244,164,67,0.3);
}

.btn-clear-cart {
    background: transparent;
    color: #999;
    border: 1px solid #ddd;
}

.btn-clear-cart:hover {
    background: #ffebee;
    color: #e53935;
    border-color: #ffcdd2;
}

/* Récapitulatif */
.cart-summary {
    position: sticky;
    top: 100px;
}

.cart-summary-card {
    background: #f9f7f4;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border: 1px solid #f0ede8;
}

.cart-summary-card h2 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.summary-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #666;
}

.summary-line span:last-child {
    color: #333;
    font-weight: 500;
}

.shipping-info {
    font-size: 13px;
    color: #999;
    font-style: italic;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}

.summary-total span:first-child {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.summary-total .total-price {
    font-size: 26px;
    font-weight: 700;
    color: #333;
}

.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: #facc15;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-checkout:hover {
    background: #e8963a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(244,164,67,0.4);
    color: #fff;
}

.btn-checkout i {
    font-size: 14px;
}

/* Avantages panier */
.cart-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.cart-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #666;
}

.cart-benefit i {
    width: 20px;
    color: #659d44;
}

/* Paiements */
.cart-payments {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.cart-payments > span {
    font-size: 12px;
    color: #888;
    display: block;
    margin-bottom: 10px;
}

.payment-logos {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.payment-logos img {
    height: 24px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.payment-logos img:hover {
    opacity: 1;
}

/* Responsive Panier */
@media (max-width: 1100px) {
    .cart-wrapper {
        grid-template-columns: 1fr 340px;
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .cart-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cart-summary {
        position: static;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto;
        gap: 15px;
    }

    .cart-item-image {
        width: 80px;
        height: 80px;
        grid-row: span 2;
    }

    .cart-item-details {
        grid-column: 2;
    }

    .cart-item-quantity {
        grid-column: 2;
        justify-self: start;
    }

    .cart-item-total {
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
    }

    .cart-item {
        position: relative;
    }

    .cart-item-remove {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (max-width: 576px) {
    .cart-page {
        padding: 30px 0 60px;
    }

    .cart-header {
        margin-bottom: 20px;
    }

    .cart-items {
        gap: 12px;
    }

    .cart-item {
        padding: 15px;
        grid-template-columns: 70px 1fr;
    }

    .cart-item-image {
        width: 70px;
        height: 70px;
    }

    .cart-item-title {
        font-size: 14px;
    }

    .cart-item-total {
        right: 50px;
    }

    .cart-item-total .total-amount {
        font-size: 15px;
    }

    .cart-item-total .total-label {
        display: none;
    }

    .cart-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-continue-shopping,
    .btn-clear-cart {
        justify-content: center;
        width: 100%;
    }

    .cart-summary-card {
        padding: 20px;
    }

    .summary-total .total-price {
        font-size: 22px;
    }
}

/* ============================================
   Menu Mobile Compact
   ============================================ */

/* Container menu mobile */
.mobile-menu-area {
    background: #fff !important;
    border-top: 1px solid #eee;
}

.mobile-menu {
    padding: 0 !important;
}

/* Menu principal */
.mobile-menu nav#mobile-menu-active > ul.menu-overflow {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
}

.mobile-menu nav#mobile-menu-active > ul.menu-overflow > li {
    border-bottom: 1px solid #f0f0f0;
    margin: 0 !important;
    padding: 0 !important;
}

.mobile-menu nav#mobile-menu-active > ul.menu-overflow > li:last-child {
    border-bottom: none;
}

.mobile-menu nav#mobile-menu-active > ul.menu-overflow > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    text-transform: capitalize !important;
    background: transparent !important;
    transition: all 0.2s ease;
}

.mobile-menu nav#mobile-menu-active > ul.menu-overflow > li > a:hover,
.mobile-menu nav#mobile-menu-active > ul.menu-overflow > li > a:focus {
    background: #f8f9fa !important;
    color: #659d44 !important;
}

/* Sous-menus */
.mobile-menu nav#mobile-menu-active ul.menu-overflow li ul {
    background: #f8f9fa !important;
    padding: 0 !important;
    margin: 0 !important;
    border-top: 1px solid #eee;
}

.mobile-menu nav#mobile-menu-active ul.menu-overflow li ul li {
    margin: 0 !important;
    padding: 0 !important;
}

.mobile-menu nav#mobile-menu-active ul.menu-overflow li ul li a {
    padding: 12px 20px 12px 35px !important;
    font-size: 13px !important;
    color: #666 !important;
    display: block;
    border-bottom: 1px solid #eee;
}

.mobile-menu nav#mobile-menu-active ul.menu-overflow li ul li:last-child a {
    border-bottom: none;
}

.mobile-menu nav#mobile-menu-active ul.menu-overflow li ul li a:hover {
    color: #659d44 !important;
    background: #f0f0f0 !important;
}

/* Bouton toggle (hamburger) */
.mobile-menu .mean-bar {
    background: transparent !important;
    padding: 0 !important;
    min-height: auto !important;
}

.mobile-menu .mean-bar .meanmenu-reveal {
    padding: 12px 15px !important;
    color: #333 !important;
    top: 0 !important;
    right: 0 !important;
}

.mobile-menu .mean-bar .meanmenu-reveal span {
    background: #333 !important;
    height: 2px !important;
    margin-top: 5px !important;
}

/* Expand icon pour sous-menus */
.mobile-menu .mean-bar .mean-expand {
    background: transparent !important;
    border: none !important;
    color: #888 !important;
    font-size: 18px !important;
    height: 44px !important;
    line-height: 44px !important;
    width: 44px !important;
    padding: 0 !important;
    text-align: center;
    right: 5px !important;
}

.mobile-menu .mean-bar .mean-expand:hover {
    background: #f0f0f0 !important;
    color: #659d44 !important;
}

/* Header mobile sticky */
@media (max-width: 991px) {
    .header-sticky {
        position: sticky;
        top: 0;
        z-index: 999;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }

    .header-top-massage {
        font-size: 12px !important;
        padding: 8px 10px !important;
    }

    .header-container {
        padding: 10px 15px !important;
    }

    .header-container .logo img {
        width: 40px !important;
    }

    /* Icônes header compactes */
    .header-content .icon-menu {
        width: 40px;
        height: 40px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .header-content .icon-menu i {
        font-size: 18px;
    }

    /* Badge panier */
    .cart-wrapper .icon-menu span {
        position: absolute;
        top: -5px;
        right: -5px;
        background: #659d44;
        color: #fff;
        font-size: 10px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cart-wrapper {
        position: relative;
    }

    /* Affichage icônes connexion et panier côte à côte */
    .header-content {
        display: flex !important;
        align-items: center;
        gap: 10px;
    }

    .header-content > .settings-wrapper {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-left: 0 !important;
    }

    .header-content > .settings-wrapper > a,
    .header-content > .settings-wrapper > a.icon-menu,
    .header-content > .settings-wrapper > a.line-menu {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 40px !important;
        height: 40px !important;
        align-items: center;
        justify-content: center;
        background: #659d44 !important;
        border-radius: 50%;
        font-size: 18px;
        color: #fff !important;
    }

    .header-content > .settings-wrapper > a i {
        display: inline-block !important;
        visibility: visible !important;
    }

    .header-content > .cart-wrapper {
        margin-left: 0 !important;
    }
}

/* Petit mobile */
@media (max-width: 576px) {
    .header-top-massage {
        font-size: 11px !important;
        padding: 6px 8px !important;
    }

    .header-container .row {
        flex-wrap: nowrap;
    }

    .header-container .logo img {
        width: 35px !important;
    }

    .mobile-menu nav#mobile-menu-active > ul.menu-overflow > li > a {
        padding: 12px 15px !important;
        font-size: 13px !important;
    }

    .mobile-menu nav#mobile-menu-active ul.menu-overflow li ul li a {
        padding: 10px 15px 10px 30px !important;
        font-size: 12px !important;
    }
}

/* =====================================================
   MOBILE MENU - Nouveau système propre
   ===================================================== */

/* Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}

.mobile-overlay.active {
    display: block;
}

/* Menu latéral */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.mobile-nav.active {
    left: 0;
}

/* Header du menu */
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.mobile-nav-logo {
    height: 40px;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* Liens du menu */
.mobile-nav-links {
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-links > a,
.mobile-nav-dropdown > a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}

.mobile-nav-links > a:hover,
.mobile-nav-dropdown > a:hover {
    background: #f8f8f8;
    color: #659d44;
}

/* Dropdown */
.mobile-nav-dropdown {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-dropdown > a {
    border-bottom: none;
}

.mobile-nav-dropdown > a i {
    float: right;
    transition: transform 0.3s;
}

.mobile-nav-dropdown.active > a i {
    transform: rotate(180deg);
}

/* Contenu dropdown - IMPORTANT: en dessous */
.mobile-nav-dropdown-content {
    display: none;
    background: #f5f5f5;
}

.mobile-nav-dropdown.active .mobile-nav-dropdown-content {
    display: block;
}

.mobile-nav-dropdown-content a {
    display: block;
    padding: 12px 20px 12px 40px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #e8e8e8;
}

.mobile-nav-dropdown-content a:last-child {
    border-bottom: none;
}

.mobile-nav-dropdown-content a:hover {
    background: #eee;
    color: #659d44;
}

/* Footer du menu */
.mobile-nav-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.mobile-nav-footer a {
    display: block;
    padding: 10px 0;
    color: #555;
    text-decoration: none;
    font-size: 14px;
}

.mobile-nav-footer a i {
    margin-right: 10px;
    color: #659d44;
}

.mobile-nav-footer a:hover {
    color: #659d44;
}

.mobile-nav-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.mobile-nav-social a {
    padding: 0;
    font-size: 20px;
    color: #888;
}

.mobile-nav-social a:hover {
    color: #659d44;
}

/* Bouton hamburger */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #333;
    margin: 3px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* Responsive */
@media (max-width: 991px) {
    .mobile-menu-btn {
        display: flex !important;
        visibility: visible !important;
    }

    .mobile-menu-area,
    .mean-container,
    .mean-bar {
        display: none !important;
    }

    .header-container .col-lg-2.col-sm-4 {
        position: relative;
        padding-left: 50px;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    .mobile-nav {
        display: flex !important;
    }
}

@media (min-width: 992px) {
    .mobile-nav,
    .mobile-overlay,
    .mobile-menu-btn {
        display: none !important;
    }
}

/* ============================================
   Categories List - Page Boutique (Grid Layout)
   ============================================ */
.categories-area {
    padding: 60px 0;
}

.categories-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .categories-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 576px) {
    .categories-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Category Card - Colonne avec image en haut */
.category-row {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-row:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.category-row-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}

.category-row-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-row:hover .category-row-img::after {
    opacity: 1;
}

.category-row-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: saturate(1.05) contrast(1.02);
}

.category-row:hover .category-row-img img {
    transform: scale(1.08);
}

.category-row-content {
    padding: 25px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-row-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    letter-spacing: -0.3px;
}

.category-row-content h3 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-row-content h3 a:hover {
    color: #659d44;
}

.category-row-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 0 0 20px 0;
    flex: 1;
}

.category-row-link {
    font-size: 0.95rem;
    color: #fff;
    background: linear-gradient(135deg, #659d44 0%, #4a7c31 100%);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 30px;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.category-row-link:hover {
    gap: 12px;
    background: linear-gradient(135deg, #4a7c31 0%, #3a6225 100%);
    color: #fff;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(101, 157, 68, 0.3);
}

/* Texte informatif */
.categories-info-text {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.categories-info-text p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.9;
}

/* Responsive ajustements */
@media (max-width: 767px) {
    .category-row-content {
        padding: 20px;
    }

    .category-row-content h3 {
        font-size: 1.2rem;
    }

    .category-row-content p {
        font-size: 0.9rem;
    }

    .categories-info-text {
        margin-top: 40px;
    }

    .categories-info-text p {
        font-size: 0.9rem;
    }
}

/* ========================================
   Sidebar Panier Latéral - Style Checkout
   ======================================== */

/* Overlay */
#sdjCartOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#sdjCartOverlay.open {
    opacity: 1;
    visibility: visible;
}

/* Sidebar */
#sdjCartSidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    z-index: 9999;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.2);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    border-radius: 24px 0 0 24px;
}

#sdjCartSidebar.open {
    right: 0;
}

/* Header du panier */
.sdj-cart-header {
    background: url('../../account/images/img-shop.jpg') center/cover no-repeat;
    color: #fff;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    border-radius: 24px 0 0 0;
}

.sdj-cart-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.02em;
}

.sdj-cart-header h3 i {
    font-size: 24px;
    opacity: 0.9;
}

.sdj-cart-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.sdj-cart-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

/* Contenu du panier */
.sdj-cart-content {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Liste des produits */
.sdj-cart-items {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
}

.sdj-cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: #f1f5f9;
    border-radius: 16px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.sdj-cart-item:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    transform: translateX(-4px);
}

.sdj-cart-item:last-child {
    margin-bottom: 0;
}

.sdj-cart-item-img {
    position: relative;
    flex-shrink: 0;
}

.sdj-cart-item-img img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Badge quantité sur l'image */
.sdj-cart-item-qty-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4);
}

.sdj-cart-item-info {
    flex: 1;
    min-width: 0;
}

.sdj-cart-item-info h5 {
    margin: 0 0 6px 0;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sdj-cart-item-qty {
    font-size: 13px;
    color: #64748b;
}

.sdj-cart-item-price {
    font-weight: 700;
    color: #1e293b;
}

.sdj-cart-item-delete {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.sdj-cart-item-delete:hover {
    background: #fee2e2;
    color: #ef4444;
}

.sdj-cart-item.removing {
    opacity: 0;
    transform: translateX(60px);
    max-height: 0;
    padding: 0 14px;
    margin-bottom: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Résumé prix */
.sdj-cart-summary {
    background: #fff;
    padding: 20px;
    border-top: 1px solid #e2e8f0;
    margin: 0 20px;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03);
}

.sdj-cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: #64748b;
}

.sdj-cart-summary-row:last-child {
    margin-bottom: 0;
}

.sdj-cart-summary-row span:last-child {
    font-weight: 600;
    color: #334155;
}

.sdj-cart-total {
    padding-top: 16px;
    margin-top: 12px;
    border-top: 2px solid #1e293b;
    font-size: 16px !important;
    font-weight: 700;
    color: #1e293b !important;
}

.sdj-cart-total span:last-child {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sdj-cart-free {
    color: #16a34a !important;
    font-weight: 700;
}

/* Boutons d'action */
.sdj-cart-actions {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.sdj-btn-cart,
.sdj-btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 16px 24px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sdj-btn-cart {
    background: #fff;
    color: #334155;
    border: 2px solid #e2e8f0;
}

.sdj-btn-cart:hover {
    background: #f8fafc;
    border-color: #facc15;
    color: #facc15;
}

.sdj-btn-checkout {
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.sdj-btn-checkout:hover {
    background: linear-gradient(135deg, #eab308 0%, #ea580c 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.45);
}

.sdj-btn-checkout i {
    font-size: 18px;
}

/* Sauvegarder le panier */
.sdj-cart-save {
    padding: 0 20px 16px;
}

.sdj-btn-save-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: 1px dashed #d1d5db;
    border-radius: 10px;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sdj-btn-save-cart:hover {
    background: linear-gradient(135deg, rgba(244, 164, 67, 0.08) 0%, rgba(249, 115, 22, 0.08) 100%);
    border-color: #facc15;
    color: #facc15;
}

.sdj-btn-save-cart:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.sdj-btn-save-cart.success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.1) 100%);
    border-color: #22c55e;
    border-style: solid;
    color: #16a34a;
}

.sdj-btn-save-cart.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    border-color: #ef4444;
    border-style: solid;
    color: #dc2626;
}

.sdj-btn-save-cart i {
    font-size: 14px;
}

/* Modal sauvegarder panier */
.sdj-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sdj-modal.open {
    opacity: 1;
    visibility: visible;
}

.sdj-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.sdj-modal-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.sdj-modal.open .sdj-modal-content {
    transform: scale(1) translateY(0);
}

.sdj-modal-header {
    position: relative;
    padding: 24px 24px 16px;
    text-align: center;
    background: linear-gradient(135deg, rgba(244, 164, 67, 0.08) 0%, rgba(249, 115, 22, 0.08) 100%);
    border-bottom: 1px solid rgba(244, 164, 67, 0.15);
}

.sdj-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.sdj-modal-icon i {
    font-size: 24px;
    color: #fff;
}

.sdj-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.sdj-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: #fff;
    border: none;
    border-radius: 10px;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sdj-modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

.sdj-modal-body {
    padding: 24px;
}

.sdj-modal-body label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
}

.sdj-modal-body input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    color: #1e293b;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.sdj-modal-body input:focus {
    outline: none;
    border-color: #facc15;
    box-shadow: 0 0 0 4px rgba(244, 164, 67, 0.15);
}

.sdj-modal-body input::placeholder {
    color: #94a3b8;
}

.sdj-modal-footer {
    padding: 16px 24px 24px;
    display: flex;
    gap: 12px;
}

.sdj-modal-btn-cancel,
.sdj-modal-btn-save {
    flex: 1;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sdj-modal-btn-cancel {
    background: #f1f5f9;
    border: none;
    color: #64748b;
}

.sdj-modal-btn-cancel:hover {
    background: #e2e8f0;
    color: #475569;
}

.sdj-modal-btn-save {
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    border: none;
    color: #fff;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.sdj-modal-btn-save:hover {
    background: linear-gradient(135deg, #eab308 0%, #ea580c 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.sdj-modal-btn-save:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Promo livraison gratuite */
.sdj-cart-promo {
    margin: 0 20px 16px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(244, 164, 67, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
    border: 1px solid rgba(244, 164, 67, 0.2);
    border-radius: 12px;
    text-align: center;
}

.sdj-cart-promo p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.sdj-cart-promo strong {
    color: #eab308;
    font-weight: 700;
}

/* Panier vide */
.sdj-cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 30px;
    text-align: center;
}

.sdj-cart-empty i {
    font-size: 80px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.sdj-cart-empty p {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 24px;
    font-weight: 500;
}

.sdj-btn-shop {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.sdj-btn-shop:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.45);
    color: #fff;
}

/* Responsive */
@media only screen and (max-width: 480px) {
    #sdjCartSidebar {
        width: 100%;
        right: -100%;
        border-radius: 0;
    }

    .sdj-cart-header {
        border-radius: 0;
        padding: 12px 16px;
    }

    .sdj-cart-header h3 {
        font-size: 15px;
        gap: 8px;
    }

    .sdj-cart-header h3 i {
        font-size: 18px;
    }

    .sdj-cart-close {
        width: 36px;
        height: 36px;
        font-size: 22px;
        background: rgba(0, 0, 0, 0.3);
        flex-shrink: 0;
        border-radius: 10px;
    }

    .sdj-cart-items {
        padding: 12px;
    }

    .sdj-cart-item {
        gap: 10px;
        padding: 10px;
        border-radius: 12px;
        margin-bottom: 8px;
    }

    .sdj-cart-item-img img {
        width: 48px;
        height: 48px;
        border-radius: 10px;
    }

    .sdj-cart-item-qty-badge {
        width: 18px;
        height: 18px;
        font-size: 10px;
        top: -4px;
        right: -4px;
    }

    .sdj-cart-item-info h5 {
        font-size: 12px;
        margin: 0 0 2px 0;
    }

    .sdj-cart-item-qty {
        font-size: 11px;
    }

    .sdj-cart-item-price {
        font-size: 13px;
    }

    .sdj-cart-item-delete {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .sdj-cart-summary {
        margin: 0 12px 8px;
        padding: 12px;
        border-radius: 12px;
    }

    .sdj-cart-summary-row {
        margin-bottom: 6px;
        font-size: 13px;
    }

    .sdj-cart-total {
        padding-top: 10px;
        margin-top: 8px;
        font-size: 14px !important;
    }

    .sdj-cart-total span:last-child {
        font-size: 18px;
    }

    .sdj-cart-promo {
        margin: 0 12px 8px;
    }

    .sdj-cart-actions {
        padding: 10px 12px;
        gap: 8px;
    }

    .sdj-btn-cart,
    .sdj-btn-checkout {
        padding: 12px 16px;
        font-size: 13px;
        border-radius: 12px;
    }

    .sdj-cart-save {
        padding: 0 12px 10px;
    }

    .sdj-btn-save-cart {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* ========================================
   Dropdown Compte Utilisateur
   ======================================== */
.settings-wrapper .settings-content {
    position: absolute;
    right: 0;
    top: 100%;
    width: 200px;
    background: #ffffff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 15px 15px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0);
    transform-origin: top;
    transition: all 0.3s ease;
    padding: 0;
}

.settings-wrapper .settings-content.active {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
}

/* Triangle pointer */
.settings-wrapper .settings-content:before {
    content: "";
    position: absolute;
    right: 12px;
    top: -10px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #659d44;
}

.settings-wrapper .settings-content h4 {
    background: linear-gradient(135deg, #659d44 0%, #4a7a32 100%);
    color: #fff;
    margin: 0;
    padding: 12px 15px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.settings-wrapper .settings-content h4 i {
    display: none;
}

.settings-wrapper .settings-content ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.settings-wrapper .settings-content ul li {
    margin: 0;
}

.settings-wrapper .settings-content ul li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.settings-wrapper .settings-content ul li a:hover {
    background: #f5f5f5;
    color: #659d44;
}

/* ============================================
   Header Panier - Icône visible
   ============================================ */

/* Container du panier dans le header */
#topnav .menu-extras .cart > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
}

#topnav .menu-extras .cart > a:hover {
    background: #659d44;
    box-shadow: 0 4px 12px rgba(101, 157, 68, 0.3);
}

#topnav .menu-extras .cart > a i.ti-bag {
    font-size: 18px;
    color: #333;
    transition: color 0.3s ease;
}

#topnav .menu-extras .cart > a:hover i.ti-bag {
    color: #fff;
}

/* Badge nombre d'articles */
#topnav .menu-extras .cart > a .cart-number {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 5px rgba(231, 76, 60, 0.4);
}

/* Dropdown panier */
#topnav .menu-extras .cart .shopping-cart {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    border: none;
}

/* ============================================
   Header Panier - Fix fond blanc (haute specificite)
   ============================================ */

#topnav .menu-extras .menu-item .cart > a,
header#topnav .menu-extras .cart > a,
.menu-extras .cart > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    background: #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15) !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

#topnav .menu-extras .menu-item .cart > a:hover,
header#topnav .menu-extras .cart > a:hover,
.menu-extras .cart > a:hover {
    background: #659d44 !important;
    box-shadow: 0 4px 15px rgba(101, 157, 68, 0.4) !important;
    transform: scale(1.05);
}

#topnav .menu-extras .cart > a i,
.menu-extras .cart > a i.ti-bag {
    font-size: 20px !important;
    color: #333 !important;
    transition: color 0.3s ease !important;
}

#topnav .menu-extras .cart > a:hover i,
.menu-extras .cart > a:hover i.ti-bag {
    color: #fff !important;
}

#topnav .menu-extras .cart > a .cart-number,
.menu-extras .cart > a .cart-number,
.cart > a > .cart-number {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    min-width: 22px !important;
    height: 22px !important;
    background: #e74c3c !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 4px !important;
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.5) !important;
    line-height: 1 !important;
}

/* ============================================
   Header - Fix superposition menu/icônes
   ============================================ */

/* Ajouter de l'espace à droite du menu pour les icônes */
header.header-area .ht-main-menu {
    padding-right: 120px !important;
}

/* Sur tablettes et petits écrans */
@media (max-width: 1100px) {
    header.header-area .ht-main-menu {
        padding-right: 100px !important;
    }
    
    header.header-area .ht-main-menu ul {
        gap: 15px !important;
    }
    
    header.header-area .ht-main-menu ul li a {
        font-size: 14px !important;
    }
}

@media (max-width: 991px) {
    /* Cacher le menu desktop sur mobile/tablette */
    #sdjDesktopMenu {
        display: none !important;
    }
    
    /* Afficher le bouton burger */
    #sdjBurgerBtn {
        display: flex !important;
    }
}

/* ============================================
   NOUVEAU HEADER - Structure moderne
   ============================================ */

.sdj-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.sdj-header.scrolled {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

/* Header fixed - le contenu passe derrière */
body {
    padding-top: 0 !important;
}

/* Homepage hero - compenser le header fixed (promo 36px + main ~74px = ~110px) */
.ht-hero-section {
    padding-top: 128px;
}

.ht-hero-slider {
    top: 0;
}

.ht-hero-slider .ht-single-slide {
    height: calc(100vh - 128px);
}

@media (max-width: 991px) {
    .ht-hero-section {
        padding-top: 108px;
    }
    .ht-hero-slider .ht-single-slide {
        height: calc(100vh - 108px);
    }
}

@media (max-width: 480px) {
    .ht-hero-section {
        padding-top: 94px;
    }
    .ht-hero-slider .ht-single-slide {
        height: calc(100vh - 94px);
    }
}

/* Pour les pages sans slider (panier, etc.), ajouter un espace */
.cart-page,
.checkout-page,
.account-page,
.page-content {
    padding-top: 138px !important;
}

@media (max-width: 991px) {
    .cart-page,
    .checkout-page,
    .account-page,
    .page-content {
        padding-top: 118px !important;
    }
}

.sdj-header-promo {
    position: relative;
    overflow: hidden;
    height: 36px;
    text-align: center;
    margin: 0;
}
.promo-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    padding: 0 15px;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}
.promo-slide-active {
    transform: translateY(0);
}
.promo-slide-exit {
    transform: translateY(-100%);
}
.promo-slide a {
    color: inherit;
    text-decoration: none;
}
.promo-slide a:hover {
    text-decoration: underline;
}
/* Single banner: no animation needed */
.sdj-header-promo .promo-slide:only-child {
    position: relative;
    transform: none;
}

.sdj-header-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: transparent;
}

/* Logo */
.sdj-header-logo {
    flex-shrink: 0;
}

.sdj-header-logo img {
    height: 60px;
    width: auto;
}

/* Navigation */
.sdj-header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.sdj-header-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.sdj-header-nav li {
    position: relative;
}

.sdj-header-nav > ul > li > a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 12px 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sdj-header-nav > ul > li > a:hover {
    color: #eab308;
}

.sdj-header-nav > ul > li > a i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.sdj-header-nav li:hover > a i {
    transform: rotate(180deg);
}

/* Sous-menu */
.sdj-header-nav .sdj-submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    border-radius: 12px;
    list-style: none;
    padding: 12px 0;
    margin: 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
}

.sdj-header-nav li:hover .sdj-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.sdj-submenu li a {
    display: block;
    padding: 10px 20px;
    color: #444;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.sdj-submenu li a:hover {
    background: #fffbeb;
    color: #ca8a04;
    padding-left: 25px;
}

/* Icônes header */
.sdj-header-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.sdj-header-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: #eab308;
    text-decoration: none !important;
    font-size: 22px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.sdj-header-icon svg {
    width: 30px;
    height: 30px;
}

.sdj-header-icon:hover {
    color: #ca8a04;
    transform: translateY(-2px);
}

.sdj-header-icon .sdj-badge {
    position: absolute;
    top: 0;
    right: -2px;
    min-width: 20px;
    height: 20px;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Dropdown compte */
.sdj-account-dropdown {
    position: relative;
}

.sdj-account-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.sdj-account-avatar {
    width: 36px;
    height: 42px;
    display: block;
    position: relative;
    transition: all 0.2s ease;
}

.sdj-avatar-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.sdj-avatar-initials {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.sdj-account-btn:hover .sdj-account-avatar {
    transform: scale(1.05);
}

.sdj-account-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: #fff;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    min-width: 240px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1000;
    overflow: hidden;
}

.sdj-account-dropdown:hover .sdj-account-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sdj-account-greeting {
    padding: 14px 16px 10px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    border-bottom: 1px solid #f3f4f6;
}

.sdj-account-notifs {
    padding: 8px;
    border-bottom: 1px solid #f3f4f6;
}

.sdj-account-notif {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.sdj-account-notif:hover {
    background: #f9fafb;
}

.sdj-account-notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sdj-account-notif-icon svg {
    width: 18px;
    height: 18px;
}

.sdj-notif-order {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
}

.sdj-notif-ticket {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #2563eb;
}

.sdj-account-notif-text {
    flex: 1;
    min-width: 0;
}

.sdj-account-notif-text strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.sdj-account-notif-text small {
    display: block;
    font-size: 11px;
    color: #9ca3af;
    margin-top: 1px;
}

.sdj-account-links {
    padding: 8px;
}

.sdj-account-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.sdj-account-links a:hover {
    background: #fff7ed;
    color: #eab308;
}

.sdj-account-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: color 0.2s ease;
}

.sdj-account-icon svg {
    width: 18px;
    height: 18px;
}

.sdj-account-links a:hover .sdj-account-icon {
    color: #eab308;
}

.sdj-account-logout {
    margin-top: 6px;
    border-top: 1px solid #f3f4f6;
    padding-top: 10px !important;
}

.sdj-account-logout:hover {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

.sdj-account-logout:hover .sdj-account-icon {
    color: #dc2626 !important;
}

/* Burger menu */
.sdj-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-right: 10px;
}

.sdj-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 1200px) {
    .sdj-header-nav ul {
        gap: 20px;
    }
    
    .sdj-header-nav > ul > li > a {
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .sdj-header-nav {
        display: none;
    }
    
    .sdj-burger {
        display: flex;
    }
    
    .sdj-header-main {
        padding: 10px 15px;
    }
    
    .sdj-header-logo img {
        height: 40px;
    }
}

@media (max-width: 991px) {
    .sdj-header-icon {
        width: 44px;
        height: 44px;
    }

    .sdj-header-icon svg {
        width: 26px;
        height: 26px;
    }

    .sdj-header-icons {
        gap: 10px;
    }

    .sdj-header-icon .sdj-badge {
        min-width: 22px;
        height: 22px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .sdj-header-promo {
        height: 30px;
    }

    .promo-slide {
        font-size: 11px;
        padding: 0 10px;
    }

    .sdj-header-main {
        padding: 8px 12px;
        gap: 10px;
    }

    .sdj-header-logo img {
        height: 36px;
    }

    .sdj-header-icon {
        width: 40px;
        height: 40px;
    }

    .sdj-header-icon svg {
        width: 24px;
        height: 24px;
    }

    .sdj-header-icons {
        gap: 8px;
    }

    .sdj-burger {
        padding: 6px;
        margin-right: 6px;
    }

    .cart-page,
    .checkout-page,
    .account-page,
    .page-content {
        padding-top: 85px !important;
    }
}

/* ========== MODERN GALLERY STYLES ========== */

/* Gallery Description */
.gallery-description {
    max-width: 720px;
    margin: 0 auto 2rem;
    text-align: center;
}

.gallery-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

@media (max-width: 575px) {
    .gallery-description p {
        font-size: 1rem;
    }
}

/* Gallery Grid - Pinterest / Masonry layout */
.gallery-grid {
    columns: 3;
    column-gap: 1rem;
    padding: 0;
    margin: 0;
}

@media (max-width: 992px) {
    .gallery-grid {
        columns: 2;
        column-gap: 0.75rem;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        columns: 2;
        column-gap: 0.5rem;
    }
}

/* Gallery Item */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    background: #f0ece6;
    break-inside: avoid;
    margin-bottom: 1rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

@media (max-width: 576px) {
    .gallery-item {
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }
}

.gallery-item:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    transform: translateY(-4px);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
    filter: brightness(0.9);
}

/* Overlay with icon */
.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-item::after {
    content: '\f065';
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', FontAwesome;
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    font-size: 2rem;
    color: #fff;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 60px;
    text-align: center;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Caption */
.gallery-item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 3;
}

.gallery-item:hover .gallery-item-caption {
    transform: translateY(0);
}

/* Modern Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 2rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    z-index: 100001;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.25rem;
    width: 55px;
    height: 55px;
    cursor: pointer;
    z-index: 100001;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

.lightbox-content {
    max-width: 85%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: lightboxImageIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes lightboxImageIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 1.25rem 2rem;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 30px;
    margin-top: 1.5rem;
    backdrop-filter: blur(4px);
}

.lightbox-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* === Galleries List Page === */
.galleries-main {
    padding: 1rem 0 5rem;
}

.galleries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

/* Featured first item spans 2 cols */
.galleries-item--featured {
    grid-column: span 2;
    grid-row: span 2;
}

.galleries-item {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
}

.galleries-item__img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    background: linear-gradient(145deg, #f0ebe4, #e0dbd3);
}

.galleries-item--featured .galleries-item__img {
    min-height: 505px;
}

.galleries-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.galleries-item:hover .galleries-item__img img {
    transform: scale(1.05);
}

.galleries-item__placeholder {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.galleries-item__placeholder i {
    font-size: 3rem;
    color: #c4b9a8;
    opacity: 0.6;
}

.galleries-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.15) 50%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transition: background 0.4s ease;
}

.galleries-item:hover .galleries-item__overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.25) 55%,
        transparent 100%
    );
}

.galleries-item__content {
    transform: translateY(4px);
    transition: transform 0.4s ease;
}

.galleries-item:hover .galleries-item__content {
    transform: translateY(0);
}

.galleries-item__title {
    font-family: "Playfair Display", serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: #fff;
    line-height: 1.3;
}

.galleries-item--featured .galleries-item__title {
    font-size: 1.75rem;
}

.galleries-item__desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 0.75rem;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.galleries-item:hover .galleries-item__desc {
    max-height: 80px;
    opacity: 1;
}

.galleries-item--featured .galleries-item__desc {
    max-height: none;
    opacity: 1;
}

.galleries-item__count {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.galleries-item__count i {
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 991px) {
    .galleries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .galleries-item--featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .galleries-item--featured .galleries-item__img {
        min-height: 320px;
    }

}

@media (max-width: 575px) {
    .galleries-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .galleries-item--featured {
        grid-column: span 1;
    }

    .galleries-item__img {
        min-height: 200px;
    }

    .galleries-item--featured .galleries-item__img {
        min-height: 260px;
    }

    .galleries-item__title {
        font-size: 1.15rem;
    }

    .galleries-item--featured .galleries-item__title {
        font-size: 1.35rem;
    }

    .galleries-item__overlay {
        padding: 1.25rem;
    }

    /* Always show description on mobile (no hover) */
    .galleries-item__desc {
        max-height: 80px;
        opacity: 1;
    }
}

/* Other galleries section */
.other-galleries {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #eee;
}

.other-galleries h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.other-gallery-link {
    text-decoration: none;
    display: block;
}

.other-gallery-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.other-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.other-gallery-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.other-gallery-card:hover img {
    transform: scale(1.05);
}

.other-gallery-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f8f5f0 0%, #e8e4de 100%);
}

.other-gallery-placeholder i {
    font-size: 2rem;
    color: #c4b9a8;
}

.other-gallery-title {
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #fff;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.btn-back:hover {
    color: #333;
}

/* ====================================
   AUTHENTIFICATION (Login/Register)
   ==================================== */

.auth-area {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Force tab content visibility */
.auth-card .tab-content {
    display: block !important;
}

.auth-card .tab-content > .tab-pane {
    display: none;
}

.auth-card .tab-content > .tab-pane.active {
    display: block !important;
}

.auth-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: 20px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo img {
    max-width: 80px;
    height: auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.auth-header p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* Onglets */
.auth-tabs {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    background: #f0f0f0;
    padding: 4px;
}

.auth-tabs .nav-item {
    flex: 1;
}

.auth-tabs .nav-link {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #666;
    background: transparent;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.auth-tabs .nav-link:hover {
    color: #333;
}

.auth-tabs .nav-link.active {
    background: linear-gradient(135deg, #659d44 0%, #4a7c31 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(101, 157, 68, 0.3);
}

/* Formulaires */
.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.auth-form .form-control {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    font-size: 0.95rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.auth-form .form-control:focus {
    outline: none;
    border-color: #659d44;
    box-shadow: 0 0 0 3px rgba(101, 157, 68, 0.1);
}

.auth-form .form-control::placeholder {
    color: #aaa;
}

.auth-form .form-text {
    font-size: 0.8rem;
    margin-top: 6px;
}

/* Wrapper mot de passe avec oeil */
.password-wrapper {
    position: relative;
}

.password-wrapper .form-control {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 0;
    top: 0;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #659d44;
}

/* Checkbox */
.auth-form .form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.auth-form .form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border: 2px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

.auth-form .form-check-input:checked {
    background-color: #659d44;
    border-color: #659d44;
}

.auth-form .form-check-label {
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
}

.auth-form .form-check-label a {
    color: #659d44;
    text-decoration: underline;
}

/* reCAPTCHA */
.recaptcha-wrapper {
    display: flex;
    justify-content: center;
}

/* Bouton principal */
.btn-auth-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 50px;
    padding: 0 24px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #659d44 0%, #4a7c31 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(101, 157, 68, 0.3);
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(101, 157, 68, 0.4);
}

.btn-auth-primary:active {
    transform: translateY(0);
}

/* Lien mot de passe oublie */
.forgot-link {
    font-size: 0.9rem;
    color: #659d44;
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: #4a7c31;
    text-decoration: underline;
}

/* Separateur "ou" */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.auth-divider span {
    padding: 0 16px;
    font-size: 0.9rem;
    color: #999;
    text-transform: uppercase;
}

/* Bouton Google */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 50px;
    padding: 0 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-google:hover {
    border-color: #ccc;
    background: #f9f9f9;
    color: #333;
    text-decoration: none;
}

.btn-google svg {
    flex-shrink: 0;
}

/* Termes */
.auth-terms {
    text-align: center;
    font-size: 0.85rem;
    color: #999;
    margin-top: 20px;
    margin-bottom: 0;
}

.auth-terms a {
    color: #659d44;
    text-decoration: underline;
}

/* Retour */
.auth-back {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.auth-back a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-back a:hover {
    color: #659d44;
}

/* Regles mot de passe */
.password-rules {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.password-rules p {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.password-rules ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-rules li {
    font-size: 0.85rem;
    color: #666;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-rules li i {
    color: #659d44;
    font-size: 0.8rem;
}

/* Modal termes */
#termsModal .modal-header {
    background: linear-gradient(135deg, #659d44 0%, #4a7c31 100%);
    color: #fff;
    border-radius: 0;
}

#termsModal .modal-title {
    font-weight: 600;
}

#termsModal .btn-close {
    filter: brightness(0) invert(1);
}

#termsModal .accordion-button {
    font-weight: 500;
}

#termsModal .accordion-button:not(.collapsed) {
    background-color: rgba(101, 157, 68, 0.1);
    color: #4a7c31;
}

#termsModal .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(101, 157, 68, 0.25);
    border-color: #659d44;
}

/* Responsive */
@media (max-width: 576px) {
    .auth-area {
        padding: 30px 15px;
    }

    .auth-card {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .auth-tabs .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .auth-form .form-control,
    .btn-auth-primary,
    .btn-google {
        height: 48px;
    }

    .password-toggle {
        height: 48px;
    }

    .recaptcha-wrapper .g-recaptcha {
        transform: scale(0.85);
        transform-origin: center;
    }
}

/* ===========================================
   FAVORITES / WISHLIST
   =========================================== */

/* Heart button on product cards (PLP) */
.btn-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    padding: 0;
}
.btn-favorite:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
/* Two icons: empty (far) shown by default, full (fas) hidden */
.btn-favorite .fav-icon-empty,
.btn-favorite .svg-inline--fa.fa-heart[data-prefix="far"] {
    font-size: 16px;
    color: #d4a017;
    transition: color 0.2s ease, transform 0.2s ease;
}
.btn-favorite .fav-icon-full,
.btn-favorite .svg-inline--fa.fa-heart[data-prefix="fas"] {
    font-size: 16px;
    color: #e74c3c;
    transition: color 0.2s ease, transform 0.2s ease;
    display: none;
}
/* When favorited: hide empty, show full */
.btn-favorite.is-favorite .fav-icon-empty,
.btn-favorite.is-favorite .svg-inline--fa.fa-heart[data-prefix="far"] {
    display: none;
}
.btn-favorite.is-favorite .fav-icon-full,
.btn-favorite.is-favorite .svg-inline--fa.fa-heart[data-prefix="fas"] {
    display: inline-block;
}
.btn-favorite.fav-pulse .fav-icon-full,
.btn-favorite.fav-pulse .fav-icon-empty,
.btn-favorite.fav-pulse .svg-inline--fa {
    animation: favPulse 0.4s ease;
}
@keyframes favPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* Product card needs relative positioning */
.product-image {
    position: relative;
}

/* Heart button on PDP - circle in top right of gallery */
.btn-favorite-pdp {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-favorite-pdp:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.btn-favorite-pdp .fav-icon-empty,
.btn-favorite-pdp .svg-inline--fa.fa-heart[data-prefix="far"] {
    font-size: 20px;
}
.btn-favorite-pdp .fav-icon-full,
.btn-favorite-pdp .svg-inline--fa.fa-heart[data-prefix="fas"] {
    font-size: 20px;
}

/* PDP favorite button positioning */
.pdp-favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

/* Favorite toast notification */
.favorite-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 99999;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-width: 360px;
    border: 1px solid #f0f0f0;
}
.favorite-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.favorite-toast img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.favorite-toast-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.favorite-toast-msg {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
.favorite-toast-title {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .btn-favorite {
        width: 32px;
        height: 32px;
        top: 8px;
        right: 8px;
    }
    .btn-favorite i {
        font-size: 14px;
    }
    .favorite-toast {
        bottom: 16px;
        left: 16px;
        right: 16px;
        transform: translateX(0) translateY(80px);
        max-width: none;
    }
    .favorite-toast.show {
        transform: translateX(0) translateY(0);
    }
}

/* === Events page === */

/* View toggle */
.events-view-toggle {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-bottom: 24px;
}
.events-view-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 15px;
}
.events-view-btn:hover {
    border-color: #ca8a04;
    color: #ca8a04;
}
.events-view-btn.active {
    background: #ca8a04;
    border-color: #ca8a04;
    color: #fff;
}

/* ---- Common card styles ---- */
.event-card {
    display: flex;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}
.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    text-decoration: none;
    color: inherit;
}
.event-card--past {
    opacity: 0.7;
}
.event-card--past:hover {
    opacity: 1;
}

.event-card__image {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.event-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.event-card:hover .event-card__image img {
    transform: scale(1.05);
}
.event-card__logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fef9c3 0%, #fef3c7 100%);
}
.event-card__logo-fallback img {
    width: 60%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.event-card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
}
.event-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.event-badge--upcoming {
    background: #dbeafe;
    color: #1d4ed8;
}
.event-badge--ongoing {
    background: #dcfce7;
    color: #15803d;
}
.event-badge--past {
    background: #f3f4f6;
    color: #6b7280;
}

.event-card__body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    flex: 1;
}
.event-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px 0;
    line-height: 1.3;
}
.event-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-bottom: 10px;
}
.event-card__date {
    font-size: 13px;
    color: #ca8a04;
    font-weight: 600;
}
.event-card__date i {
    margin-right: 4px;
}
.event-card__location {
    font-size: 13px;
    color: #6b7280;
}
.event-card__location i {
    color: #ca8a04;
    margin-right: 4px;
}
.event-card__excerpt {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.55;
    margin: 0 0 12px 0;
}
.event-card__link {
    font-size: 13px;
    font-weight: 600;
    color: #ca8a04;
    margin-top: auto;
    transition: color 0.2s;
}
.event-card__link i {
    margin-left: 4px;
    font-size: 11px;
    transition: transform 0.2s;
}
.event-card:hover .event-card__link {
    color: #a16207;
}
.event-card:hover .event-card__link i {
    transform: translateX(3px);
}

/* ---- LIST view (default) ---- */
.events-container--list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.events-container--list .event-card {
    flex-direction: row;
}
.events-container--list .event-card__image {
    width: 280px;
    min-height: 200px;
}

/* ---- GRID view (2 columns) ---- */
.events-container--grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.events-container--grid .event-card {
    flex-direction: column;
}
.events-container--grid .event-card__image {
    width: 100%;
    height: 200px;
}
.events-container--grid .event-card__title {
    font-size: 18px;
}

/* Empty state */
.empty-events {
    padding: 60px 20px;
}
.empty-events i {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 16px;
    display: block;
}
.empty-events p {
    font-size: 16px;
    color: #9ca3af;
}

/* Event single page */
.event-past-notice {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 10px;
    padding: 12px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #92400e;
    font-weight: 500;
}
.event-past-notice i {
    color: #d97706;
}

.event-single__hero {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
    max-height: 320px;
}
.event-single__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.event-single__hero-badge {
    position: absolute;
    top: 16px;
    right: 16px;
}

/* Event header - infos + carte côte à côte */
.event-single__header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 30px;
}

.event-single__details {
    background: #fefce8;
    border-radius: 14px;
    border: 1px solid #fef08a;
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.event-single__details-title {
    font-size: 18px;
    font-weight: 700;
    color: #92400e;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-single__details-title i {
    color: #ca8a04;
}

.event-single__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.event-single__info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #374151;
    font-size: 15px;
}

.event-single__info-item > i {
    color: #ca8a04;
    width: 20px;
    text-align: center;
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.event-single__info-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #92400e;
    margin-bottom: 2px;
}

/* Event map wrapper */
.event-single__map-wrapper {
    border-radius: 14px;
    overflow: hidden;
    min-height: 250px;
}

.event-single__map {
    width: 100%;
    height: 100%;
    min-height: 250px;
}

/* Event map directions button */
.event-single__directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    align-self: flex-start;
}
.event-single__directions-btn:hover {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    color: #fff;
    text-decoration: none;
}
.event-single__directions-btn i {
    font-size: 16px;
}

/* Event content area */
.event-single__content {
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Event content (rich text from editor) */
.event-layout-text {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    padding: 20px 0;
}
.event-layout-text p {
    margin-bottom: 16px;
}
.event-layout-text img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 16px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.event-layout-text img[data-float="left"] {
    margin: 16px 1.5rem 1rem 0;
}
.event-layout-text img[data-float="right"] {
    margin: 16px 0 1rem 1.5rem;
}
.event-layout-text h1,
.event-layout-text h2,
.event-layout-text h3 {
    margin: 24px 0 12px;
    color: #1f2937;
}
.event-layout-text blockquote {
    border-left: 4px solid #eab308;
    padding-left: 16px;
    margin: 16px 0;
    font-style: italic;
    color: #6b7280;
}
.event-layout-text a {
    color: #ca8a04;
    text-decoration: underline;
}
.event-layout-text ul,
.event-layout-text ol {
    margin: 12px 0;
    padding-left: 24px;
}
.event-layout-text li {
    margin-bottom: 6px;
}
.event-post-section__content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 16px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Post-event section */
.event-post-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #fef08a;
}
.event-post-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}
.event-post-section h2 i {
    color: #ca8a04;
    margin-right: 8px;
}
.event-post-section__content {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}
.event-post-section__content p {
    margin-bottom: 16px;
}

/* Gallery section (slider) */
.event-gallery-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #f3f4f6;
}
.event-gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.event-gallery-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}
.event-gallery-header h2 i {
    color: #ca8a04;
    margin-right: 8px;
}
.event-gallery-nav {
    display: flex;
    gap: 8px;
}
.event-gallery-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: #fff;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.event-gallery-nav-btn:hover {
    border-color: #ca8a04;
    color: #ca8a04;
    background: #fffbeb;
}
.event-gallery-slider {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.event-gallery-slider::-webkit-scrollbar {
    display: none;
}
.event-gallery-track {
    display: flex;
    gap: 12px;
}
.event-gallery-slide {
    flex: 0 0 220px;
    scroll-snap-align: start;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.event-gallery-slide:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.event-gallery-slide img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}
.event-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 12px;
}

/* Upcoming events section */
.event-upcoming-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #f3f4f6;
}
.event-upcoming-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}
.event-upcoming-section h2 i {
    color: #ca8a04;
    margin-right: 8px;
}
.event-upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.event-upcoming-card {
    display: flex;
    gap: 16px;
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}
.event-upcoming-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
}
.event-upcoming-card__image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}
.event-upcoming-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.event-upcoming-card__date {
    font-size: 12px;
    color: #ca8a04;
    font-weight: 600;
    margin-bottom: 4px;
}
.event-upcoming-card__body h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}
.event-upcoming-card__location {
    font-size: 12px;
    color: #9ca3af;
}
.event-upcoming-card__location i {
    margin-right: 3px;
}

/* Responsive */
@media (max-width: 800px) {
    /* List view: stack vertically on mobile */
    .events-container--list .event-card {
        flex-direction: column;
    }
    .events-container--list .event-card__image {
        width: 100%;
        height: 180px;
        min-height: auto;
    }
    /* Grid view: single column on mobile */
    .events-container--grid {
        grid-template-columns: 1fr;
    }
    .event-layout-split,
    .event-zigzag-row,
    .event-zigzag-row--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    .event-single__header {
        grid-template-columns: 1fr;
    }
    .event-single__map-wrapper {
        min-height: 220px;
    }
    .event-single__map {
        min-height: 220px;
    }
    .event-single__hero {
        max-height: 250px;
    }
    .event-gallery-slide {
        flex: 0 0 180px;
    }
    .event-gallery-slide img {
        height: 140px;
    }
    .event-upcoming-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Rich-text image float / alignment (TipTap output)
   Scoped inside .rich-text-content to avoid affecting
   any other part of the page.
   ===================================================== */
.rich-text-content {
  overflow: hidden;
}

.rich-text-content img[data-float="left"] {
  float: left;
  margin: 16px 1.5rem 1rem 0;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.rich-text-content img[data-float="right"] {
  float: right;
  margin: 16px 0 1rem 1.5rem;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.rich-text-content img[data-alignment="center"] {
  display: block;
  margin: 16px auto;
  height: auto;
}

.rich-text-content img[data-alignment="left"] {
  display: block;
  margin: 16px 16px 16px 16px;
  height: auto;
}

.rich-text-content img[data-alignment="right"] {
  display: block;
  margin: 16px 0 16px auto;
  height: auto;
}

@media (max-width: 767px) {
  .rich-text-content img[data-float="left"],
  .rich-text-content img[data-float="right"] {
    float: none;
    margin: 1rem 0;
    max-width: 100%;
    width: 100% !important;
  }
}

/* =============================================
   Page Blocks — Standard block overrides for content pages
   ============================================= */

/* Fix sa_block_txt to properly render rich HTML content (lists, paragraphs) */
.content-page-area .sa_block_txt {
    display: block;
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}
.content-page-area .sa_block_txt p {
    font-size: 17px;
    margin-bottom: 12px;
    line-height: 1.8;
}
.content-page-area .sa_block_txt ul,
.content-page-area .sa_block_txt ol {
    padding-left: 25px;
    margin-bottom: 15px;
}
.content-page-area .sa_block_txt li {
    margin-bottom: 8px;
    line-height: 1.7;
}
.content-page-area .sa_block_txt strong {
    color: #444;
}
.content-page-area .sa_block_txt em {
    color: #666;
    font-style: italic;
}

/* Full-width standard block (no media) — override centered layout */
.content-page-area .sa_block.sa_block_full .sa_block_content {
    text-align: left;
    padding: 30px 5%;
}
.content-page-area .sa_block.sa_block_full .sa_block_title h2 {
    text-align: left;
}

/* Standard block spacing in content pages */
.content-page-area .sa_block {
    align-items: center;
}
.content-page-area .sa_block .sa_block_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}
.content-page-area .sa_block .sa_block_img img {
    border-radius: 12px;
    object-fit: cover;
}

@media only screen and (max-width: 768px) {
    .content-page-area .sa_block,
    .content-page-area .sa_block.text-right {
        align-items: stretch;
        grid-template-columns: 1fr;
        grid-template-areas:
            "sa_block_1"
            "sa_block_2"
            "sa_block_3"
            "sa_block_4";
    }
    .content-page-area .sa_block .sa_block_1,
    .content-page-area .sa_block .sa_block_2,
    .content-page-area .sa_block .sa_block_3,
    .content-page-area .sa_block .sa_block_4 {
        max-height: none !important;
        overflow: visible !important;
    }
    .content-page-area .sa_block .sa_block_img {
        width: 100%;
    }
    .content-page-area .sa_block .sa_block_img img {
        width: 100%;
        height: auto;
        max-height: 350px;
        object-fit: cover;
    }
}
.content-page-area .sa_block .sa_block_txt {
    text-align: left;
}
.content-page-area .sa_block .sa_block_title h2 {
    text-align: left;
}
.content-page-area .sa_block_title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #444;
    margin-bottom: 15px;
}

/* =============================================
   Page Blocks — New Block Types
   ============================================= */

/* --- Text Only --- */
.pb-text-only {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.pb-text-only-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #444;
    margin-bottom: 20px;
}
.pb-text-only-content {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}
.pb-text-only-content p { margin-bottom: 15px; }

/* --- Quote --- */
.pb-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 30px;
    position: relative;
}
.pb-quote-icon {
    font-size: 3rem;
    color: #eab308;
    margin-bottom: 15px;
    opacity: 0.6;
}
.pb-quote-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.7;
    color: #444;
    margin: 0 0 20px;
    border: none;
    padding: 0;
}
.pb-quote-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pb-quote-author-name {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}
.pb-quote-author-title {
    font-size: 0.875rem;
    color: #888;
}

/* --- Banner --- */
.pb-banner {
    position: relative;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pb-banner-overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 40px;
    width: 100%;
    background: rgba(0,0,0,0.45);
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.pb-banner-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.pb-banner-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin-bottom: 25px;
    line-height: 1.6;
}
.pb-banner-cta {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #facc15, #eab308);
    color: #333;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pb-banner-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234,179,8,0.4);
    color: #222;
}

/* --- Image Grid --- */
.pb-image-grid {
    max-width: 1200px;
    margin: 0 auto;
}
.pb-image-grid-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #444;
    text-align: center;
    margin-bottom: 15px;
}
.pb-image-grid-intro {
    text-align: center;
    font-size: 17px;
    color: #555;
    max-width: 800px;
    margin: 0 auto 30px;
}
.pb-image-grid-items {
    display: grid;
    gap: 20px;
}
.pb-image-grid-2 { grid-template-columns: repeat(2, 1fr); }
.pb-image-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pb-image-grid-4 { grid-template-columns: repeat(2, 1fr); }
.pb-image-grid-item img {
    width: 100%;
    border-radius: 10px;
    aspect-ratio: 4/3;
    object-fit: cover;
}
.pb-image-grid-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}
@media (max-width: 768px) {
    .pb-image-grid-2,
    .pb-image-grid-3,
    .pb-image-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* --- Accordion --- */
.pb-accordion {
    max-width: 900px;
    margin: 0 auto;
}
.pb-accordion-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #444;
    text-align: center;
    margin-bottom: 25px;
}
.pb-accordion-item {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.pb-accordion-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.pb-accordion-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 22px;
    background: #fafafa;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    text-align: left;
    transition: background 0.2s;
}
.pb-accordion-question:hover { background: #f5f5f5; }
.pb-accordion-arrow {
    transition: transform 0.3s;
    font-size: 0.8rem;
    color: #888;
}
.pb-accordion-item.active .pb-accordion-arrow { transform: rotate(180deg); }
.pb-accordion-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.pb-accordion-item.active .pb-accordion-answer { max-height: 1000px; }
.pb-accordion-answer-inner {
    padding: 18px 22px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    border-top: 1px solid #eee;
}

/* --- Cards --- */
.pb-cards {
    max-width: 1200px;
    margin: 0 auto;
}
.pb-cards-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #444;
    text-align: center;
    margin-bottom: 15px;
}
.pb-cards-intro {
    text-align: center;
    font-size: 17px;
    color: #555;
    max-width: 800px;
    margin: 0 auto 30px;
}
.pb-cards-grid {
    display: grid;
    gap: 25px;
}
.pb-cards-2 { grid-template-columns: repeat(2, 1fr); }
.pb-cards-3 { grid-template-columns: repeat(3, 1fr); }
.pb-cards-4 { grid-template-columns: repeat(4, 1fr); }
.pb-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.pb-card-icon {
    font-size: 2.5rem;
    color: #eab308;
    margin-bottom: 18px;
}
.pb-card-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 18px;
}
.pb-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}
.pb-card-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .pb-cards-3, .pb-cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .pb-cards-2, .pb-cards-3, .pb-cards-4 { grid-template-columns: 1fr; }
}

/* --- Steps --- */
.pb-steps {
    max-width: 1000px;
    margin: 0 auto;
}
.pb-steps-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #444;
    text-align: center;
    margin-bottom: 15px;
}
.pb-steps-intro {
    text-align: center;
    font-size: 17px;
    color: #555;
    max-width: 800px;
    margin: 0 auto 35px;
}
.pb-steps-list {
    position: relative;
}
.pb-steps-list::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #facc15, #eab308);
    border-radius: 3px;
}
.pb-step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 35px;
    position: relative;
}
.pb-step:last-child { margin-bottom: 0; }
.pb-step-number {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #facc15, #eab308);
    color: #333;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 3px 10px rgba(234,179,8,0.3);
}
.pb-step-content { flex: 1; padding-top: 12px; }
.pb-step-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.pb-step-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}
.pb-step-image {
    flex-shrink: 0;
    width: 200px;
}
.pb-step-image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}
@media (max-width: 768px) {
    .pb-step { flex-wrap: wrap; }
    .pb-step-image { width: 100%; margin-top: 15px; }
    .pb-steps-list::before { left: 20px; }
    .pb-step-number { width: 42px; height: 42px; font-size: 1rem; }
}

/* --- Before/After --- */
.pb-before-after {
    max-width: 1000px;
    margin: 0 auto;
}
.pb-before-after-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #444;
    text-align: center;
    margin-bottom: 25px;
}
.pb-before-after-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
.pb-before-after-item { position: relative; }
.pb-before-after-item img {
    width: 100%;
    border-radius: 12px;
    aspect-ratio: 4/3;
    object-fit: cover;
}
.pb-before-after-label {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}
@media (max-width: 600px) {
    .pb-before-after-grid { grid-template-columns: 1fr; }
}

/* --- Shared margin for page blocks --- */
.content-page-area .pl_mg_t50 { margin-top: 50px; }
