/*
==================================================================
SEN DARAL
PUBLIC DESIGN SYSTEM
==================================================================
*/

:root{

    /*
    ==============================================================
    COULEURS
    ==============================================================
    */

    --sd-primary:#0d4f45;

    --sd-primary-dark:#083932;

    --sd-primary-light:#1b7d6d;

    --sd-secondary:#f5a623;

    --sd-success:#18a957;

    --sd-danger:#dc3545;

    --sd-warning:#ffb703;

    --sd-info:#2196f3;

    /*
    ==============================================================
    NEUTRES
    ==============================================================
    */

    --sd-white:#ffffff;

    --sd-bg:#f7f9fb;

    --sd-card:#ffffff;

    --sd-border:#e7edf3;

    --sd-text:#182230;

    --sd-muted:#6b7280;

    --sd-yellow: #f1ca67;

    /*
    ==============================================================
    RADIUS
    ==============================================================
    */

    --sd-radius-xs:8px;

    --sd-radius-sm:12px;

    --sd-radius:18px;

    --sd-radius-lg:24px;

    --sd-radius-xl:32px;

    /*
    ==============================================================
    SHADOWS
    ==============================================================
    */

    --sd-shadow-sm:

        0 8px 24px rgba(15,23,42,.05);

    --sd-shadow:

        0 18px 45px rgba(15,23,42,.08);

    --sd-shadow-lg:

        0 35px 80px rgba(15,23,42,.10);

    /*
    ==============================================================
    TRANSITIONS
    ==============================================================
    */

    --sd-transition:.30s ease;

}

/*
==================================================================
RESET
==================================================================
*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:"Inter",sans-serif;

    background:var(--sd-bg);

    color:var(--sd-text);

    line-height:1.7;

    font-size:16px;

    overflow-x:hidden;

}

/*
==================================================================
TYPOGRAPHIE
==================================================================
*/

h1,
h2,
h3,
h4,
h5,
h6{

    color:var(--sd-text);

    font-weight:800;

    line-height:1.2;

}

.home-seller-cta-inner h2 {
    color: var(--sd-yellow);
}

a{

    text-decoration:none;

    transition:var(--sd-transition);

}

img{

    max-width:100%;

    display:block;

}

section{

    position:relative;

}


/*
==================================================================
CONTAINER
==================================================================
*/

.container{

    max-width:1200px;

}

/*
==================================================================
BOUTONS
==================================================================
*/

.btn{

    border-radius:16px;

    font-weight:700;

    transition:var(--sd-transition);

    padding:14px 26px;

}

.btn:hover{

    transform:translateY(-2px);

}

.btn-publish{

    color:#fff;

    background:

        linear-gradient(
            180deg,
            var(--sd-primary),
            var(--sd-primary-dark)
        );

    border:none;

    box-shadow:

        0 18px 45px rgba(13,79,69,.25);

}

.btn-publish:hover{

    color:#fff;

    background:

        linear-gradient(
            180deg,
            var(--sd-primary-light),
            var(--sd-primary)
        );

}

.btn-login{

    border:1px solid var(--sd-border);

    background:#fff;

    color:var(--sd-text);

}

.btn-login:hover{

    background:#f7f9fb;

}

/*
==================================================================
HEADER
==================================================================
*/

.sd-header{

    position:sticky;

    top:0;

    z-index:999;

    backdrop-filter:blur(18px);

    background:

        rgba(255,255,255,.92);

    border-bottom:1px solid rgba(231,237,243,.65);

}

/*
==================================================================
NAVBAR
==================================================================
*/

.navbar{

    padding:18px 0;

}

.navbar-brand{

    display:flex;

    align-items:center;

    gap:14px;

    font-size:26px;

    font-weight:900;

    color:var(--sd-text);

}

.navbar-brand:hover{

    color:var(--sd-primary);

}

.brand-icon{

    width:54px;

    height:54px;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    font-size:22px;

    background:

        linear-gradient(
            180deg,
            var(--sd-primary),
            var(--sd-primary-dark)
        );

}

.brand-text{

    letter-spacing:.03em;

}

/*
==================================================================
MENU
==================================================================
*/

.navbar-nav{

    gap:10px;

}

.nav-link{

    padding:12px 18px !important;

    border-radius:14px;

    font-weight:600;

    color:var(--sd-text);

    transition:var(--sd-transition);

}

.nav-link:hover{

    color:var(--sd-primary);

    background:#eef8f6;

}

/*
==================================================================
ACTIONS
==================================================================
*/

.sd-navbar-actions{

    display:flex;

    align-items:center;

    gap:14px;

}

/*
==================================================================
CARDS PREMIUM
==================================================================
*/

.sd-card{

    background:var(--sd-card);

    border-radius:var(--sd-radius-xl);

    border:1px solid var(--sd-border);

    box-shadow:var(--sd-shadow);

    padding:40px;

    transition:var(--sd-transition);

}

.sd-card:hover{

    transform:translateY(-6px);

    box-shadow:var(--sd-shadow-lg);

}

/*
==================================================================
SECTION TITLES
==================================================================
*/

.section{

    padding:100px 0;

}

.section-title{

    max-width:760px;

    margin:0 auto 70px;

    text-align:center;

}

.section-title span{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 22px;

    border-radius:999px;

    background:#eef8f6;

    color:var(--sd-primary);

    font-weight:700;

    font-size:13px;

    letter-spacing:.08em;

    text-transform:uppercase;

}

.section-title h2{

    margin-top:20px;

    font-size:48px;

    font-weight:900;

}

.section-title p{

    margin-top:20px;

    font-size:19px;

    color:var(--sd-muted);

}

/*
==================================================================
FORMULAIRES
==================================================================
*/

.form-label{

    font-weight:700;

    margin-bottom:10px;

}

.form-control,
.form-select{

    height:60px;

    border-radius:16px;

    border:1px solid var(--sd-border);

    padding:0 20px;

    font-size:16px;

    box-shadow:none;

    transition:var(--sd-transition);

}

textarea.form-control{

    min-height:170px;

    padding-top:18px;

}

.form-control:focus,
.form-select:focus{

    border-color:var(--sd-primary);

    box-shadow:

        0 0 0 .20rem rgba(13,79,69,.12);

}

/*
==================================================================
BADGES
==================================================================
*/

.sd-badge{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:8px 18px;

    border-radius:999px;

    font-size:13px;

    font-weight:700;

}

.sd-badge-success{

    background:#e8faf0;

    color:var(--sd-success);

}

.sd-badge-warning{

    background:#fff7df;

    color:#cc8a00;

}

.sd-badge-primary{

    background:#eef8f6;

    color:var(--sd-primary);

}

/*
==================================================================
LISTES
==================================================================
*/

.sd-list{

    list-style:none;

    padding:0;

    margin:0;

}

.sd-list li{

    display:flex;

    align-items:flex-start;

    gap:14px;

    margin-bottom:18px;

}

.sd-list li i{

    color:var(--sd-success);

    margin-top:5px;

}

/*
==================================================================
FOOTER
==================================================================
*/

.sd-footer{

    margin-top:120px;

    padding:90px 0 40px;

    background:#0b1d24;

    color:rgba(255,255,255,.75);

}

.footer-brand{

    display:flex;

    align-items:center;

    gap:14px;

    margin-bottom:24px;

}

.footer-brand .brand-text{

    color:#fff;

    font-size:28px;

    font-weight:900;

}

.footer-description{

    line-height:1.9;

}

.sd-footer h5{

    color:#fff;

    margin-bottom:22px;

    font-weight:800;

}

.sd-footer ul{

    list-style:none;

    padding:0;

}

.sd-footer li{

    margin-bottom:14px;

}

.sd-footer a{

    color:rgba(255,255,255,.75);

}

.sd-footer a:hover{

    color:#fff;

}

.footer-social{

    display:flex;

    gap:14px;

    margin-top:30px;

}

.footer-social a{

    width:46px;

    height:46px;

    border-radius:14px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(255,255,255,.08);

    color:#fff;

    transition:.30s;

}

.footer-social a:hover{

    background:var(--sd-primary);

}

.footer-contact li{

    display:flex;

    gap:12px;

}

.footer-bottom{

    margin-top:40px;

    padding-top:30px;

    border-top:1px solid rgba(255,255,255,.08);

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:15px;

    font-size:14px;

}


/*
==================================================================
ANIMATIONS
==================================================================
*/

.fade-up{

    opacity:0;

    transform:translateY(30px);

    animation:fadeUp .8s ease forwards;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:none;

    }

}

.hover-lift{

    transition:var(--sd-transition);

}

.hover-lift:hover{

    transform:translateY(-8px);

}

/*
==================================================================
IMAGES
==================================================================
*/

.sd-cover{

    border-radius:var(--sd-radius-xl);

    overflow:hidden;

    box-shadow:var(--sd-shadow-lg);

}

.sd-cover img{

    width:100%;

    height:100%;

    object-fit:cover;

}

/*
==================================================================
HELPERS
==================================================================
*/

.text-muted{

    color:var(--sd-muted)!important;

}

.text-primary{

    color:var(--sd-primary)!important;

}

.bg-primary-soft{

    background:#eef8f6;

}

.rounded-xl{

    border-radius:var(--sd-radius-xl);

}

.shadow-premium{

    box-shadow:var(--sd-shadow-lg);

}

/*
==================================================================
SCROLLBAR
==================================================================
*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#edf2f7;

}

::-webkit-scrollbar-thumb{

    background:var(--sd-primary);

    border-radius:999px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--sd-primary-dark);

}

/*
==================================================================
RESPONSIVE
==================================================================
*/

@media (max-width:1200px){

    .section-title h2{

        font-size:42px;

    }

}

@media (max-width:992px){

    .navbar{

        padding:14px 0;

    }

    .sd-navbar-actions{

        margin-top:20px;

        flex-direction:column;

        width:100%;

    }

    .sd-navbar-actions .btn{

        width:100%;

    }

    .section{

        padding:80px 0;

    }

    .section-title h2{

        font-size:38px;

    }

    .sd-card{

        padding:30px;

    }

    .footer-bottom{

        text-align:center;

        justify-content:center;

    }

}

@media (max-width:768px){

    .section{

        padding:60px 0;

    }

    .section-title{

        margin-bottom:50px;

    }

    .section-title h2{

        font-size:32px;

    }

    .section-title p{

        font-size:17px;

    }

    .brand-text{

        font-size:22px;

    }

    .brand-icon{

        width:46px;

        height:46px;

        font-size:20px;

    }

    .sd-card{

        padding:24px;

        border-radius:22px;

    }

}

@media (max-width:576px){

    .container{

        padding-left:18px;

        padding-right:18px;

    }

    .btn{

        width:100%;

    }

    .footer-social{

        justify-content:center;

    }

}


/* ==========================================================
   SEN DARAL — NAVBAR ACCOUNT PREMIUM
   Extensions uniquement
   ========================================================== */


/* ==========================================================
   ACTIONS
   ========================================================== */

.sd-navbar-actions {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-left: auto;

}


/* ==========================================================
   FAVORIS
   ========================================================== */

.sd-nav-favorites {

    position: relative;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    height: 42px;

    padding: 0 13px;

    border-radius: 12px;

    color: #334155;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;

}


.sd-nav-favorites i {

    font-size: 18px;

}


.sd-nav-favorites:hover {

    color: #dc2626;

    background: #fff1f2;

    transform: translateY(-1px);

}


/* ==========================================================
   ACCOUNT TRIGGER
   ========================================================== */

.sd-account-dropdown {

    position: relative;

}


.sd-account-trigger {

    display: flex;

    align-items: center;

    gap: 10px;

    min-height: 46px;

    padding: 5px 10px 5px 6px;

    border: 1px solid rgba(15, 23, 42, .08);

    border-radius: 14px;

    background: rgba(255, 255, 255, .96);

    color: #172033;

    cursor: pointer;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;

}


.sd-account-trigger:hover {

    border-color: rgba(15, 23, 42, .15);

    box-shadow:
        0 8px 24px rgba(15, 23, 42, .08);

    transform: translateY(-1px);

}


.sd-account-trigger:focus {

    outline: none;

    border-color: rgba(15, 23, 42, .18);

    box-shadow:
        0 0 0 4px rgba(15, 23, 42, .05);

}


/* ==========================================================
   AVATAR
   ========================================================== */

.sd-account-avatar {

    width: 34px;

    height: 34px;

    min-width: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            var(--sd-primary-dark),
            var(--sd-primary)
        );

    color: #fff;

}


.sd-account-avatar img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.sd-account-avatar i {

    font-size: 18px;

}


/* ==========================================================
   ACCOUNT INFO
   ========================================================== */

.sd-account-info {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    line-height: 1.1;

    min-width: 75px;

}


.sd-account-info strong {

    max-width: 120px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    font-size: 13px;

    font-weight: 700;

    color: #172033;

}


.sd-account-info small {

    margin-top: 3px;

    font-size: 10px;

    color: #94a3b8;

    font-weight: 500;

}


.sd-account-chevron {

    margin-left: 3px;

    color: #94a3b8;

    font-size: 11px;

    transition: transform .2s ease;

}


.sd-account-dropdown.show
.sd-account-chevron {

    transform: rotate(180deg);

}


/* ==========================================================
   DROPDOWN
   ========================================================== */

.sd-account-menu {

    width: 300px;

    margin-top: 10px !important;

    padding: 8px;

    border: 1px solid rgba(15, 23, 42, .08);

    border-radius: 18px;

    background: rgba(255, 255, 255, .98);

    box-shadow:
        0 24px 60px rgba(15, 23, 42, .14),
        0 4px 12px rgba(15, 23, 42, .06);

    backdrop-filter: blur(16px);

    -webkit-backdrop-filter: blur(16px);

}


/* ==========================================================
   HEADER DROPDOWN
   ========================================================== */

.sd-account-menu-header {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px 10px 14px;

}


.sd-account-menu-avatar {

    width: 44px;

    height: 44px;

    min-width: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            var(--sd-primary-dark),
            var(--sd-primary)
        );

    color: #fff;

}


.sd-account-menu-avatar img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.sd-account-menu-avatar i {

    font-size: 21px;

}


.sd-account-menu-header > div:last-child {

    display: flex;

    flex-direction: column;

    min-width: 0;

}


.sd-account-menu-header strong {

    color: #172033;

    font-size: 14px;

    font-weight: 700;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

}


.sd-account-menu-header span {

    margin-top: 3px;

    color: #94a3b8;

    font-size: 11px;

}


/* ==========================================================
   SEPARATEUR
   ========================================================== */

.sd-account-menu-divider {

    height: 1px;

    margin: 5px 4px;

    background: #eef2f7;

}


/* ==========================================================
   ITEMS
   ========================================================== */

.sd-account-item {

    display: flex !important;

    align-items: center;

    gap: 11px;

    margin: 2px 0;

    padding: 10px !important;

    border-radius: 12px;

    color: #334155 !important;

    background: transparent;

    transition:
        background .18s ease,
        color .18s ease,
        transform .18s ease;

}


.sd-account-item:hover {

    background: #f8fafc;

    color: var(--sd-primary-dark) !important;

    transform: translateX(2px);

}


.sd-menu-icon {

    width: 36px;

    height: 36px;

    min-width: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    background: #eef4ff;

    color: var(--sd-primary-dark);

}


.sd-menu-icon i {

    font-size: 16px;

}


/* FAVORIS */

.sd-menu-icon-heart {

    background: #fff1f2;

    color: #dc2626;

}


/* DÉCONNEXION */

.sd-menu-icon-logout {

    background: #fff7ed;

    color: #ea580c;

}


.sd-menu-content {

    display: flex;

    flex-direction: column;

    min-width: 0;

}


.sd-menu-content strong {

    font-size: 13px;

    line-height: 1.2;

    font-weight: 700;

    color: #334155;

}


.sd-menu-content small {

    margin-top: 3px;

    font-size: 10px;

    line-height: 1.2;

    color: #94a3b8;

}


/* ==========================================================
   LOGOUT
   ========================================================== */

.sd-account-logout:hover {

    background: #fff7ed !important;

    color: #c2410c !important;

}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1199.98px) {

    .sd-navbar-actions {

        width: 100%;

        margin-top: 15px;

        padding-top: 15px;

        border-top: 1px solid rgba(15, 23, 42, .06);

        justify-content: flex-start;

        flex-wrap: wrap;

    }

}


@media (max-width: 575.98px) {

    .sd-navbar-actions {

        gap: 8px;

    }


    .sd-nav-favorites-label {

        display: none;

    }


    .sd-nav-favorites {

        width: 42px;

        padding: 0;

    }


    .sd-account-trigger {

        padding-right: 8px;

    }


    .sd-account-info {

        display: none;

    }


    .sd-account-menu {

        position: absolute;

        right: 0;

        width: min(
            300px,
            calc(100vw - 30px)
        );

    }

}



.sd-navbar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 20px;
    height: 20px;

    padding: 0 6px;
    margin-left: 7px;

    border-radius: 999px;

    background: #0d4f45;
    color: #fff;

    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.sd-navbar-badge-message {
    background: #dc3545;
}
/* ==========================================================
   MOBILE ACCOUNT DROPDOWN — OVERFLOW HARDENING
   ========================================================== */
@media (max-width: 575.98px) {
    .sd-account-dropdown {
        position: static;
    }

    .sd-account-menu {
        position: fixed !important;
        top: 76px !important;
        right: 12px !important;
        left: 12px !important;
        width: auto !important;
        max-width: none !important;
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        margin: 0 !important;
        z-index: 2000;
    }

    .sd-account-menu-header,
    .sd-account-item {
        min-width: 0;
    }

    .sd-account-menu-header > div:last-child,
    .sd-menu-content {
        min-width: 0;
    }

    .sd-account-menu-header strong,
    .sd-menu-content strong,
    .sd-menu-content small {
        overflow-wrap: anywhere;
    }
}




.sd-header .navbar-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.sd-header .sd-navbar-logo {
    display: block;
    width: auto;
    height: 58px;
    max-width: 220px;
    object-fit: contain;
}

@media (max-width: 575.98px) {
    .sd-header .sd-navbar-logo {
        height: 46px;
        max-width: 175px;
    }
}


/* ==========================================================
   SEN DARAL — Recherche premium en haut de l'accueil
   À ajouter à la fin de public.css
========================================================== */

.home-search-premium-section {
    position: relative;
    z-index: 2;
    padding: clamp(22px, 3.5vw, 42px) 0 clamp(26px, 4vw, 48px);
    background:
        radial-gradient(circle at 90% 0%, rgba(13, 79, 69, .08), transparent 34%),
        linear-gradient(180deg, #f7faf8 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(13, 79, 69, .08);
}

.home-search-premium-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.home-search-premium-heading h1 {
    margin: 7px 0 5px;
    color: #173b34;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.15;
}

.home-search-premium-heading p {
    margin: 0;
    color: #71817b;
    font-size: .94rem;
}

.home-search-premium-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #0d6b59;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-search-premium-count {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: #0d5a4d;
    background: #eaf4ef;
    border: 1px solid rgba(13, 79, 69, .1);
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 750;
    white-space: nowrap;
}

/* Le formulaire existant est conservé : seul son habillage change. */
.home-search-premium-section .home-search-box {
    display: grid;
    grid-template-columns: minmax(220px, 1.8fr) minmax(160px, 1fr) minmax(160px, 1fr) auto;
    align-items: center;
    gap: 9px;
    width: 100%;
    margin: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid rgba(13, 79, 69, .12);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(20, 54, 45, .09);
}

.home-search-premium-section .home-search-main,
.home-search-premium-section .home-search-filter {
    display: flex;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 0 13px;
    background: #f7faf8;
    border: 1px solid #edf2ef;
    border-radius: 12px;
}

.home-search-premium-section .home-search-main > i,
.home-search-premium-section .home-search-filter > i {
    flex: 0 0 auto;
    color: #0d806b;
    font-size: 1rem;
}

.home-search-premium-section .home-search-input,
.home-search-premium-section .home-search-select {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0;
    color: #263b34;
    background: transparent;
    border: 0;
    outline: 0;
    box-shadow: none;
    font-size: .9rem;
}

.home-search-premium-section .home-search-input::placeholder {
    color: #87958f;
}

.home-search-premium-section .home-search-select {
    cursor: pointer;
}

.home-search-premium-section .home-search-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    color: #fff;
    background: #0d4f45;
    border: 1px solid #0d4f45;
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 750;
    white-space: nowrap;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.home-search-premium-section .home-search-button:hover {
    background: #0a4038;
    box-shadow: 0 7px 18px rgba(13, 79, 69, .2);
    transform: translateY(-1px);
}

.home-search-premium-section .home-hero-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-top: 13px;
    color: #7a8982;
    font-size: .8rem;
}

.home-search-premium-section .home-hero-links a {
    color: #0d6657;
    font-weight: 700;
    text-decoration: none;
}

.home-search-premium-section .home-hero-links a:hover {
    color: #093f36;
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .home-search-premium-section .home-search-box {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .home-search-premium-section .home-search-main {
        grid-column: 1 / -1;
    }

    .home-search-premium-section .home-search-button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .home-search-premium-section {
        padding: 22px 0 26px;
    }

    .home-search-premium-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 15px;
    }

    .home-search-premium-heading p {
        max-width: 34ch;
        font-size: .86rem;
    }

    .home-search-premium-count {
        padding: 8px 12px;
        font-size: .76rem;
    }

    .home-search-premium-section .home-search-box {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        padding: 9px;
        border-radius: 15px;
    }

    .home-search-premium-section .home-search-main,
    .home-search-premium-section .home-search-filter,
    .home-search-premium-section .home-search-button {
        grid-column: auto;
        width: 100%;
    }

    .home-search-premium-section .home-search-button {
        min-height: 46px;
    }

    .home-search-premium-section .home-hero-links {
        gap: 7px 12px;
        font-size: .76rem;
    }
}

/* Renfort visuel : identité claire du marché agricole et d'élevage SEN DARAL */
.home-search-premium-section {
    overflow: hidden;
    padding-top: clamp(30px, 4.5vw, 54px);
    padding-bottom: clamp(30px, 4.5vw, 54px);
    background:
        radial-gradient(ellipse at 88% 12%, rgba(198, 220, 151, .25), transparent 30%),
        radial-gradient(ellipse at 0% 100%, rgba(13, 79, 69, .07), transparent 35%),
        linear-gradient(135deg, #f5faf6 0%, #ffffff 52%, #f1f7f3 100%);
}

.home-search-premium-heading {
    align-items: center;
    margin-bottom: 22px;
}

.home-search-premium-heading h1 {
    max-width: 780px;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    line-height: 1.12;
}

.home-search-premium-heading p {
    max-width: 680px;
    line-height: 1.65;
}

.home-search-premium-section .home-search-box {
    padding: 12px;
    border-color: rgba(13, 79, 69, .14);
    border-radius: 20px;
    box-shadow: 0 18px 48px rgba(19, 61, 49, .12), 0 2px 8px rgba(19, 61, 49, .04);
}

.home-search-premium-section .home-search-main,
.home-search-premium-section .home-search-filter {
    min-height: 54px;
    background: #f7faf8;
    border-color: #e8efeb;
}

.home-search-premium-section .home-search-input,
.home-search-premium-section .home-search-select {
    height: 52px;
    font-size: .92rem;
}

.home-search-premium-section .home-search-button {
    min-height: 54px;
    padding-inline: 25px;
    box-shadow: 0 7px 18px rgba(13, 79, 69, .16);
}

.home-search-premium-section .home-hero-links {
    margin-top: 15px;
    padding-left: 5px;
}

@media (max-width: 575.98px) {
    .home-search-premium-heading h1 {
        font-size: 1.55rem;
    }
    .home-search-premium-section .home-search-box {
        padding: 9px;
    }
}


/* ==========================================================
   SEN DARAL — Finition signature ultra-premium (V4)
   ========================================================== */
.home-search-premium-section {
    position: relative;
    isolation: isolate;
    padding-block: clamp(30px, 4vw, 48px);
    background:
        radial-gradient(ellipse at 92% 8%, rgba(194, 218, 151, .30), transparent 28%),
        radial-gradient(ellipse at 4% 100%, rgba(13, 79, 69, .10), transparent 34%),
        linear-gradient(125deg, #f3f8f4 0%, #fff 48%, #f2f7f3 100%);
}
.home-search-premium-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 340px;
    height: 340px;
    top: -225px;
    right: 8%;
    border: 1px solid rgba(13, 79, 69, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(13, 79, 69, .018), 0 0 0 58px rgba(13, 79, 69, .014);
    pointer-events: none;
}
.home-search-premium-heading {
    gap: 20px;
    margin-bottom: 20px;
}
.home-search-premium-heading > div { min-width: 0; }
.home-search-premium-heading h1 {
    max-width: none;
    margin-top: 8px;
    font-size: clamp(1.35rem, 2.25vw, 1.95rem);
    line-height: 1.16;
    letter-spacing: -.045em;
    white-space: nowrap;
}
.home-search-premium-heading p {
    margin-top: 6px;
    font-size: .88rem;
    line-height: 1.45;
}
.home-search-premium-eyebrow {
    gap: 8px;
    font-size: .68rem;
    letter-spacing: .14em;
}
.home-search-premium-count {
    padding: 10px 15px;
    background: rgba(255,255,255,.78);
    border-color: rgba(13,79,69,.13);
    box-shadow: 0 6px 20px rgba(22,59,47,.055);
    backdrop-filter: blur(10px);
}
.home-search-premium-section .home-search-box {
    position: relative;
    gap: 9px;
    padding: 10px;
    border: 1px solid rgba(13,79,69,.13);
    border-radius: 19px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 18px 45px rgba(17,57,44,.10), 0 3px 9px rgba(17,57,44,.035);
    backdrop-filter: blur(16px);
}
.home-search-premium-section .home-search-main,
.home-search-premium-section .home-search-filter {
    min-height: 55px;
    padding-inline: 15px;
    border: 1px solid #e8efea;
    border-radius: 13px;
    background: linear-gradient(180deg,#fbfdfb 0%,#f5f9f6 100%);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.home-search-premium-section .home-search-main:focus-within,
.home-search-premium-section .home-search-filter:focus-within {
    border-color: rgba(13,106,87,.48);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(13,106,87,.08);
}
.home-search-premium-section .home-search-main > i,
.home-search-premium-section .home-search-filter > i {
    color: #0d6b59;
    font-size: 1.05rem;
}
.home-search-premium-section .home-search-input,
.home-search-premium-section .home-search-select {
    height: 53px;
    color: #203d34;
    font-size: .87rem;
    font-weight: 600;
}
.home-search-premium-section .home-search-input::placeholder { color: #87958e; font-weight: 450; }
.home-search-premium-section .home-search-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 22px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230d6b59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}
.home-search-premium-section .home-search-select option {
    padding: 12px 14px;
    color: #203d34;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
}
.home-search-premium-section .home-search-select option:first-child {
    color: #71817a;
    font-weight: 700;
}
.home-search-premium-section .home-search-button {
    min-height: 55px;
    padding-inline: 23px;
    border-radius: 13px;
    background: linear-gradient(135deg,#116454 0%,#0b493f 100%);
    border: 1px solid #0b493f;
    box-shadow: 0 8px 18px rgba(13,79,69,.19), inset 0 1px 0 rgba(255,255,255,.13);
    letter-spacing: .01em;
}
.home-search-premium-section .home-search-button:hover {
    background: linear-gradient(135deg,#0e5749 0%,#073c34 100%);
    box-shadow: 0 11px 23px rgba(13,79,69,.24);
}
.home-search-premium-section .home-hero-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 13px;
    padding: 0;
}
.home-search-premium-section .home-hero-links-label {
    margin-right: 3px;
    color: #84918b;
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.home-search-premium-section .home-hero-links a.home-quick-link {
    display: inline-flex;
    min-height: 43px;
    align-items: center;
    gap: 9px;
    padding: 6px 11px 6px 7px;
    color: #24483d;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(13,79,69,.10);
    border-radius: 12px;
    box-shadow: 0 4px 13px rgba(22,59,47,.045);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.home-search-premium-section .home-quick-link-icon {
    display: grid;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    place-items: center;
    color: #0d6b59;
    background: #eaf4ee;
    border-radius: 9px;
    font-size: .9rem;
}
.home-search-premium-section .home-quick-link strong,
.home-search-premium-section .home-quick-link small { display: block; line-height: 1.2; }
.home-search-premium-section .home-quick-link strong { color: #24483d; font-size: .73rem; font-weight: 800; }
.home-search-premium-section .home-quick-link small { margin-top: 3px; color: #89958f; font-size: .62rem; font-weight: 500; }
.home-search-premium-section .home-quick-link-arrow { margin-left: 3px; color: #9aa9a1; font-size: .72rem; }
.home-search-premium-section .home-hero-links a.home-quick-link:hover {
    color: #0d4f45;
    background: #fff;
    border-color: rgba(13,106,87,.28);
    box-shadow: 0 8px 20px rgba(22,59,47,.09);
    transform: translateY(-2px);
    text-decoration: none;
}
.home-search-premium-section .home-quick-link-all .home-quick-link-icon { color: #fff; background: #0d4f45; }
@media (max-width: 767.98px) {
    .home-search-premium-heading h1 { white-space: normal; }
    .home-search-premium-heading { align-items: flex-start; }
}
@media (max-width: 575.98px) {
    .home-search-premium-section { padding-block: 25px 28px; }
    .home-search-premium-heading h1 { font-size: 1.42rem; }
    .home-search-premium-heading p { font-size: .82rem; }
    .home-search-premium-count { align-self: flex-start; }
    .home-search-premium-section .home-hero-links { display: grid; grid-template-columns: 1fr; }
    .home-search-premium-section .home-hero-links-label { margin-bottom: 1px; }
    .home-search-premium-section .home-hero-links a.home-quick-link { width: 100%; }
}


/* ==========================================================
   SEN DARAL — Finition des champs de recherche
   ========================================================== */
.home-search-premium-section .home-search-input {
    font-size: .82rem;
    letter-spacing: -.01em;
}
.home-search-premium-section .home-search-input::placeholder {
    font-size: .78rem;
    letter-spacing: -.015em;
    opacity: 1;
}
.home-search-premium-section .home-search-filter {
    position: relative;
    overflow: visible;
}
.home-search-premium-section .home-search-select {
    min-width: 0;
    padding-left: 2px;
    padding-right: 27px;
    font-size: .84rem;
    font-weight: 650;
    color: #23483d;
}
.home-search-premium-section .home-search-select option {
    padding: 11px 14px;
    color: #24483d;
    background-color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 550;
}
.home-search-premium-section .home-search-select option:checked {
    color: #0d4f45;
    background: #e7f2ec;
    font-weight: 750;
}
.home-search-premium-section .home-search-select option:first-child {
    color: #71847a;
    background-color: #f4f8f5;
    font-weight: 700;
}
@media (max-width: 575.98px) {
    .home-search-premium-section .home-search-input { font-size: .8rem; }
    .home-search-premium-section .home-search-input::placeholder { font-size: .74rem; }
}


/* SEN DARAL — actions visibles sur mobile sans déplacer le hamburger */
.sd-mobile-quick-actions { display: none; }
@media (max-width: 1199.98px) {
    .sd-header .navbar > .container { flex-wrap: wrap; }
    .sd-header .navbar-brand { order: 1; margin-right: auto; }
    .sd-header .navbar-toggler { order: 2; flex: 0 0 auto; margin-left: 12px; }
    .sd-header .sd-mobile-quick-actions {
        order: 3;
        display: flex;
        flex: 0 0 100%;
        width: 100%;
        gap: 10px;
        padding: 10px 0 2px;
    }
    .sd-header .sd-mobile-quick-actions a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 40px;
        flex: 1 1 0;
        padding: 8px 12px;
        border-radius: 11px;
        font-size: 12px;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
    }
    .sd-header .sd-mobile-publish { background: #0d4f45; color: #fff; }
    .sd-header .sd-mobile-login { background: #fff; color: #182230; border: 1px solid #e7edf3; }
    .sd-header #mainNavbar { order: 4; flex-basis: 100%; width: 100%; }
}
@media (min-width: 1200px) { .sd-mobile-quick-actions { display: none !important; } }
