/* Offre et magasins mis en avant : styles limités à cette page. */
.vfstores-page-wrapper {
    padding-top: 32px;
}

.vfstores-page .vfstores-multiline {
    white-space: pre-line;
}

.vfstores-page .vfstores-offer {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
    background: #f6f7f8;
    border: 1px solid #e7e8ea;
    border-radius: 6px;
    color: #242628;
    overflow-wrap: anywhere;
    scroll-margin-top: 25px;
}

.vfstores-offer-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 3px;
    margin-bottom: 24px;
}

.vfstores-offer-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px dashed #b8bcc1;
    color: #676b70;
    text-align: center;
    font-size: 12px;
    min-height: 160px;
}

.vfstores-offer-body > p:first-child {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.vfstores-offer-body .vfstores-offer-preview {
    font-size: 11px;
    color: #676b70;
    margin-bottom: 4px;
}

.vfstores-page .vfstores-offer h2 {
    color: inherit;
    font-size: 32px;
    line-height: 1.25;
    margin: 0;
    font-weight: 700;
}

.vfstores-page .vfstores-offer .vfstores-offer-link {
    margin: 0;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 12px;
    white-space: normal;
}

.vfstores-offer-conditions {
    font-size: 12px;
    line-height: 1.6;
}

.vfstores-offer-conditions summary {
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.vfstores-offer-conditions p {
    margin: 12px 0 0;
}

.vfstores-featured {
    scroll-margin-top: 25px;
}

.vfstores-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.vfstores-featured-card {
    border: 1px solid #dfdcd6;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.vfstores-photo-exterior,
.vfstores-photo-interior {
    display: block;
    width: 100%;
    object-fit: cover;
    background: #f3f0ea;
}

.vfstores-photo-exterior {
    aspect-ratio: 1.4;
}

.vfstores-photo-interior {
    aspect-ratio: 1.8;
    border-top: 3px solid #fff;
}

.vfstores-featured-card--wittenheim .vfstores-photo-exterior {
    object-position: 50% 55%;
}

.vfstores-featured-card--illzach .vfstores-photo-interior {
    object-position: 50% 60%;
}

.vfstores-featured-card--wittenheim .vfstores-photo-interior {
    object-position: 50% 55%;
}

.vfstores-featured-card--strasbourg .vfstores-photo-interior {
    object-position: 50% 50%;
}

.vfstores-featured-body {
    padding: 22px 22px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-wrap: anywhere;
    line-height: 1.6;
}

.vfstores-featured-body h3 {
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 8px;
}

.vfstores-featured-name {
    font-size: 13px;
    margin-bottom: 12px;
}

.vfstores-featured-body address {
    font-style: normal;
    font-size: 13px;
    margin-bottom: 15px;
}

.vfstores-featured-hours {
    font-size: 12px;
}

.vfstores-featured-contact {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.vfstores-featured-body > :last-child {
    margin-bottom: 0;
}

.vfstores-featured-contact a {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.vfstores-featured-contact i {
    width: 14px;
    flex: 0 0 14px;
    text-align: center;
    color: #625e57;
}

.vfstores-featured-access {
    line-height: 1.6;
    margin: 12px 22px 16px;
}

.vfstores-featured-access p {
    line-height: inherit;
}

.vfstores-featured-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 22px;
}

/* Les rangées communes alignent les actions selon le contenu réel, sans hauteur réservée. */
@supports (grid-template-rows: subgrid) {
    .vfstores-featured-card {
        display: grid;
        grid-template-rows: subgrid;
        grid-row: span 5;
        row-gap: 0;
    }

    .vfstores-photo-exterior { grid-row: 1; }
    .vfstores-photo-interior { grid-row: 2; }
    .vfstores-featured-body { grid-row: 3; }
    .vfstores-featured-actions { grid-row: 4; }
    .vfstores-featured-access { grid-row: 5; }
}

.vfstores-featured-actions .vf-btn {
    flex: 1;
    min-height: 44px;
    padding: 10px 8px;
    font-size: 12px;
    white-space: normal;
}

.vfstores-tour summary {
    cursor: pointer;
    padding: 16px;
    border: 1px solid #dfdcd6;
}

.vfstores-tour iframe {
    display: block;
    width: 100%;
    border: 0;
    margin-top: 12px;
}

@media (max-width: 767px) {
    .vfstores-tour iframe {
        height: 350px;
    }
}

.vfstores-email {
    overflow-wrap: anywhere;
}

@media (max-width: 991px) {
    .vfstores-page .vfstores-offer {
        gap: 16px;
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .vfstores-page .vfstores-offer .vfstores-offer-link {
        grid-column: -2 / -1;
        justify-self: start;
    }

    .vfstores-featured-grid {
        gap: 16px;
    }

    .vfstores-featured-body {
        padding: 16px;
    }

    .vfstores-featured-actions {
        margin-inline: 16px;
    }

    .vfstores-featured-access {
        margin-inline: 16px;
    }
}

@media (max-width: 767px) {
    .vfstores-featured-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vfstores-page-wrapper {
        padding-top: 20px;
    }

    .vfstores-featured-card {
        display: flex;
        grid-row: auto;
    }

    .vfstores-page .vfstores-offer {
        grid-template-columns: minmax(0, 1fr);
        padding: 18px;
    }

    .vfstores-offer-body,
    .vfstores-page .vfstores-offer .vfstores-offer-link {
        grid-column: 1 / -1;
    }

    .vfstores-page .vfstores-offer h2 {
        font-size: 25px;
    }

}
