/* MB17938_BOUTIQUE_STORY | MB17939_BOUTIQUE_REFINEMENT | MB17942_BOUTIQUE_FONT_CORRECTION */

.mb-boutique-story {
    display: grid;
    grid-template-columns: minmax(0,1.25fr) minmax(0,1fr);
    width: min(calc(100% - 48px), var(--section-max,1520px));
    margin-inline: auto;
    background: var(--mb-boutique-bg,#f8f6f2);
    color: #292526;
    overflow: hidden;
}

.mb-boutique-gallery {
    display: grid;
    grid-template-columns: minmax(0,1.45fr) minmax(0,1fr);
    grid-template-rows: repeat(2,minmax(0,1fr));
    gap: 6px;
    min-height: 420px;
}

.mb-boutique-photo {
    margin: 0;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    position: relative;
    background: #e9e3da;
}

.mb-boutique-photo:first-child {
    grid-row: span 2;
}

.mb-boutique-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.mb-boutique-gallery[data-image-count="1"] {
    grid-template-columns: 1fr;
}

.mb-boutique-gallery[data-image-count="2"] {
    grid-template-rows: 1fr;
}

.mb-boutique-gallery[data-image-count="2"]
.mb-boutique-photo:first-child {
    grid-row: auto;
}

.mb-boutique-content {
    padding: clamp(28px,3.6vw,58px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
}

.mb-boutique-eyebrow {
    color: #681827;
    font-family: var(--mb-design-ui);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.mb-boutique-title {
    font-family: var(--mb-design-editorial);
    font-size: clamp(32px,3.1vw,46px);
    font-weight: 600;
    line-height: 1.13;
    letter-spacing: -.025em;
    color: #681827;
    margin: 0 0 16px;
}

.mb-boutique-description {
    font-family: var(--mb-design-ui);
    font-size: 15px;
    font-weight:var(--mb-design-weight-body,500);
    line-height: 1.7;
    color: #494342;
    margin: 0 0 22px;
}

.mb-boutique-contact {
    width: 100%;
    border-top: 1px solid #d9cfc1;
    padding-top: 20px;
    display: grid;
    gap: 13px;
}

.mb-boutique-contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.mb-boutique-icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ece4d9;
    color: #681827;
}

.mb-boutique-icon svg {
    display: block;
    width: 21px;
    height: 21px;
}

.mb-boutique-contact-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    font-family: var(--mb-design-ui);
    font-size: 14px;
    line-height: 1.5;
    color: #494342;
    font-weight: 400;
}

.mb-boutique-contact-copy strong {
    font-size: 14px;
    font-weight: 600;
    color: #292526;
}

.mb-boutique-contact-copy a {
    color: inherit;
    text-decoration: none;
}

.mb-boutique-contact-copy a:hover {
    color: #681827;
    text-decoration: underline;
}

.mb-boutique-actions {
    display: grid;
    gap: 13px;
    width: 100%;
    margin-top: 24px;
}

.mb-boutique-primary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 50px;
    padding: 13px 20px;
    background: linear-gradient(
        110deg,#681827,#84243b
    );
    color: #fff;
    font-family: var(--mb-design-ui);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color .18s ease;
}

.mb-boutique-primary:hover {
    background: #380e1b;
    color: #fff;
}

.mb-boutique-primary > span {
    font-size: 20px;
    line-height: 1;
}

.mb-boutique-review {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    color: #681827;
    font-family: var(--mb-design-ui);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.mb-boutique-review:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.mb-boutique-review-icon {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    color: #927344;
}

.mb-boutique-story a:focus-visible {
    outline: 2px solid #681827;
    outline-offset: 4px;
}

.mb-boutique-placeholder {
    min-height: 220px;
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: center;
    background: #e9e3da;
}

.mb-boutique-story:not(:has(.mb-boutique-gallery,.mb-boutique-placeholder)) {
    grid-template-columns: 1fr;
}

@media(min-width:1450px) {
    .mb-boutique-contact {
        grid-template-columns: repeat(2,minmax(0,1fr));
        column-gap: 18px;
    }

    .mb-boutique-contact-row:last-child {
        grid-column: 1/-1;
    }
}

@media(max-width:1000px) {
    .mb-boutique-story {
        grid-template-columns: 1fr;
    }

    .mb-boutique-gallery {
        min-height: 360px;
    }
}

@media(min-width:601px) and (max-width:1000px) {
    .mb-boutique-contact {
        grid-template-columns: repeat(3,minmax(0,1fr));
        gap: 12px;
    }

    .mb-boutique-contact-row {
        align-items: flex-start;
    }
}

@media(max-width:600px) {
    .mb-boutique-story {
        width: calc(100% - 32px);
    }

    .mb-boutique-gallery {
        min-height: 0;
        aspect-ratio: 4/3;
        gap: 4px;
    }

    .mb-boutique-content {
        padding: 24px 20px 22px;
    }

    .mb-boutique-eyebrow {
        font-size: 11px;
        margin-bottom: 12px;
        font-weight: 600;
        letter-spacing: .09em;
    }

    .mb-boutique-title {
        font-size: clamp(29px,8.2vw,32px);
        margin-bottom: 14px;
    }

    .mb-boutique-description {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 20px;
        font-weight:var(--mb-design-weight-body,500);
        color: #494342;
    }

    .mb-boutique-contact {
        padding-top: 17px;
        gap: 12px;
    }

    .mb-boutique-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .mb-boutique-icon svg {
        width: 19px;
        height: 19px;
    }

    .mb-boutique-actions {
        margin-top: 20px;
        gap: 8px;
    }

    .mb-boutique-primary {
        min-height: 48px;
        padding-inline: 16px;
        font-size: 14px;
        font-weight: 600;
    }
}

@media(prefers-reduced-motion:reduce) {
    .mb-boutique-primary {
        transition: none;
    }
}
