/* =====================================================================
   boutiques.css — Styles spécifiques à la page Nos Boutiques
   ===================================================================== */

/* ── Hero Boutiques ── */
.boutiques-hero {
    display: flex;
    align-items: stretch;
    background: #fff;
    overflow: hidden;
    min-height: 180px;
    max-height: 260px;
}

.boutiques-hero__text {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 3rem;
    min-width: 0;
}

.boutiques-hero__img {
    flex: 0 0 42%;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 0 2.5rem;
}

.boutiques-hero__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Mobile : empilement vertical, image cachée */
@media (max-width: 767px) {
    .boutiques-hero {
        flex-direction: column;
        max-height: none;
    }
    .boutiques-hero__text {
        padding: 1.25rem 1rem;
    }
    .boutiques-hero__img {
        display: none; /* masquée sur mobile */
    }
}

/* ── Breadcrumb hero ── */
.boutiques-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: .4rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: .78rem;
    color: #888;
}
.boutiques-hero__breadcrumb a {
    color: #888;
    text-decoration: none;
    transition: color .2s;
}
.boutiques-hero__breadcrumb a:hover { color: #1a1a1a; }

/* ── Filtre boutiques sticky ── */
#boutiques-filter {
    transition: top 0.3s ease;
}
body.header-hidden #boutiques-filter {
    top: 0;
}

/* ── Lightbox boutique ── */
.dlb {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(10, 10, 10, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    animation: dlbFadeIn .2s ease;
}
@keyframes dlbFadeIn { from { opacity: 0; } to { opacity: 1; } }
.dlb[hidden] { display: none; }

.dlb-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 80px);
}

.dlb-img {
    max-width: 100%;
    max-height: calc(100vh - 80px);
    object-fit: contain;
    border-radius: .5rem;
    box-shadow: 0 8px 48px rgba(0, 0, 0, .6);
    animation: dlbImgIn .2s ease;
}
@keyframes dlbImgIn { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.dlb-close {
    position: absolute;
    top: 1.1rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: background .2s;
    z-index: 1;
}
.dlb-close:hover { background: rgba(255, 255, 255, .25); }

.dlb-caption {
    position: absolute;
    bottom: 1.1rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .75);
    font-size: .82rem;
    letter-spacing: .05em;
    white-space: normal;
    text-align: center;
    max-width: 90vw;
    word-break: break-word;
}

/* ── Carte Leaflet ── */
#map-wrapper {
    min-height: 70vw;
    max-height: 85vw;
}
#map {
    min-height: 70vw;
}
@media (min-width: 1024px) {
    #map-wrapper {
        min-height: 520px;
        max-height: none;
    }
    #map {
        min-height: 520px;
    }
}
