/* ═══ Hero shop ══════════════════════════════════════════ */

.hero--small {
    min-height: 62vh;
}

.hero__bg--shop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.03);
    transition: transform 8s ease-out;
}

.hero__bg--shop::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(18, 8, 15, .88) 0%, rgba(28, 12, 20, .65) 55%, rgba(140, 61, 85, .3) 100%);
}

/* ═══ Partie présentation magasin ══════════════════════════════════════════ */

.shop__presentation {
    padding: 100px 0;
    background-color: var(--cream);
}

.presentation__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.presentation__images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.presentation__images img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition);
}

.presentation__images img:first-child {
    grid-column: 1 / -1;
    height: 280px;
}

.presentation__images img:hover {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .presentation__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .presentation__images {
        grid-template-columns: 1fr;
        order: 2;
    }

    .presentation__images img:first-child {
        grid-column: auto;
        order: 1;
    }
}


/* ═══ Distributeur ══════════════════════════════════════════ */

#distributeur {
    background-color: var(--dark);
}

#distributeur::before {
    display: none;
}

.distri__section {
    position: relative;
}

.distri__img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.distri__soon {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--berry);
    color: var(--white);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    padding: 10px 24px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
}

.terroir-card {
    align-items: center;
}

.distri__img {
    filter: sepia(.08) contrast(1.05);
}

#distributeur .terroir-card {
    border-left: 4px solid var(--berry);
}

.terroir-card__emoji img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}


.dist-channel.dist-channel--border {
    border-right: 3px solid var(--green-dark);
}

/* ═══ Section horaire & map ══════════════════════════════════════════ */

.schedule-section {
    padding: 100px 0;
    background-color: var(--cream);
}

.schedule__header {
    margin-bottom: 56px;
}

.schedule__header .divider {
    margin: 0 auto 20px;
}


.schedule__map p {
    color: var(--berry-dark);
    font-weight: 600;
    font-size: .82rem;
}


.schedule__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
}

.schedule__card {
    margin: 0;
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.schedule__map {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    min-height: 400px;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 16px;
}

.schedule__map iframe {
    flex: 1;
    width: 100%;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* cibler à cause de la classe ajouté à cause des cookies */
.schedule__map .cmplz-placeholder-parent {
    flex: 1;
    width: 100%;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    overflow: hidden;
}

.schedule__map .cmplz-placeholder-parent iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.schedule__map p {
    text-align: center;
    width: 100%;
    margin: 12px 0 0;
}

.schedule__map p svg {
    margin-right: 5px;
    vertical-align: middle;
}

.schedule__hour {
    max-width: 1000px;
    margin: 0 auto 40px;
    background-color: var(--berry-dark);
    border-radius: var(--radius-md);
    padding: 24px 40px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.schedule__hour-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.schedule__hour-regular {
    font-size: .88rem;
    color: var(--text-dark);
    margin: 0;
}

.schedule__hour-regular {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
}

.schedule__exception p {
    display: flex;
    justify-content: center;
    align-items: center;
}

.schedule__exception-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--berry);
    margin-bottom: 20px;
}

.schedule__exception-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.schedule__exception-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
}

.schedule__exception-item--closed {
    background: rgba(192, 57, 43, 0.06);
    border-left: 3px solid #c0392b;
}

.schedule__exception-item--open {
    background: rgba(46, 106, 12, 0.06);
    border-left: 3px solid var(--green-dark);
}

.schedule__exception-item svg {
    flex-shrink: 0;
}

.schedule__card {
    word-break: break-all;
    min-width: 0;
}

/* pas d'horaire d'exception */

.schedule__exception-none {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}


.schedule__exception-none p {
    font-size: .88rem;
    color: var(--text-light);
    text-align: center;
    font-style: italic;
}


@media (max-width: 768px) {
    .schedule__grid {
        grid-template-columns: 1fr;
    }
}



/* ═══ Galerie ══════════════════════════════════════════ */

.gallery-section {
    padding: 100px 0;
    background-color: var(--white);
}

.gallery__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
}

.gallery__photos {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gallery__row--double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    display: block;
    cursor: pointer;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.gallery__row--double .gallery__item img {
    height: 180px;
}

.gallery__row--full .gallery__item img {
    height: 240px;
}

.gallery__item:hover img {
    transform: scale(1.03);
}

/* Galerie hover */

.gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity var(--transition);
    border-radius: var(--radius-sm);
}

.gallery__item:hover::after {
    opacity: 1;
}

.gallery__item-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 1;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}

.gallery__item-overlay span {
    font-size: 1rem;
    color: white;
    font-weight: 600;
    letter-spacing: .05em;
}


.gallery__number {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: .8rem;
    color: var(--text-light);
    font-style: italic;
}

.gallery__number svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .gallery__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery__row--double .gallery__item img,
    .gallery__row--full .gallery__item img {
        height: 200px;
    }
}