.sbm-location-section {
    width: 100%;
    padding: 80px 20px;
    background: var(--sbm-section-bg, #f8f7f4);
    box-sizing: border-box;
}

.sbm-location-section *,
.sbm-location-section *::before,
.sbm-location-section *::after,
.sbm-map-only-wrap,
.sbm-map-only-wrap *,
.sbm-map-only-wrap *::before,
.sbm-map-only-wrap *::after,
.sbm-full-width-map-section,
.sbm-full-width-map-section *,
.sbm-full-width-map-section *::before,
.sbm-full-width-map-section *::after {
    box-sizing: border-box;
}

.sbm-location-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 32px;
    align-items: stretch;
}

.sbm-layout-map-right .sbm-map-wrap {
    order: 2;
}

.sbm-layout-map-right .sbm-info-card {
    order: 1;
}

.sbm-layout-stacked .sbm-location-inner {
    grid-template-columns: 1fr;
}

.sbm-map-wrap {
    width: 100%;
    min-height: 420px;
    border-radius: var(--sbm-radius, 22px);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
    background: #ddd;
    line-height: 0;
}

.sbm-map {
    display: block;
    width: 100%;
    min-height: 260px;
}

.sbm-info-card {
    padding: 42px;
    border-radius: var(--sbm-radius, 22px);
    background: var(--sbm-card-bg, #ffffff);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sbm-eyebrow {
    margin: 0 0 12px;
    font-size: 0.78rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sbm-text-color, #444444);
    opacity: 0.75;
}

.sbm-info-card h2 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    color: var(--sbm-heading-color, #111111);
}

.sbm-address,
.sbm-phone,
.sbm-hours {
    margin: 0 0 18px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--sbm-text-color, #444444);
}

.sbm-phone a {
    color: inherit;
    text-decoration: none;
}

.sbm-phone a:hover {
    text-decoration: underline;
}

.sbm-directions-button {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 14px 22px;
    border-radius: 999px;
    background: var(--sbm-button-bg, #111111);
    color: var(--sbm-button-text, #ffffff);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.25s ease, background 0.25s ease;
}

.sbm-directions-button:hover {
    transform: translateY(-2px);
    background: var(--sbm-button-hover-bg, #333333);
    color: var(--sbm-button-text, #ffffff);
}

/* Map-only footer/compact style */
.sbm-map-only-wrap {
    width: 100%;
    max-width: 100%;
    border-radius: var(--sbm-radius, 22px);
    overflow: hidden;
    background: #ddd;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
    line-height: 0;
}

.sbm-map-only-wrap iframe {
    display: block;
    width: 100%;
}

.sbm-map-only {
    min-height: 220px;
}

/* Full width styled map section */
.sbm-full-width-map-section {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 90px 20px;
    background: var(--sbm-section-bg, #f8f7f4);
    position: relative;
    left: 0;
}

.sbm-full-width-map-header {
    width: min(980px, 100%);
    margin: 0 auto 34px;
    text-align: center;
}

.sbm-full-width-map-header h2 {
    margin: 0 0 16px;
    font-size: clamp(2.4rem, 5vw, 5.2rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    color: var(--sbm-heading-color, #111111);
}

.sbm-full-width-map-address {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--sbm-text-color, #444444);
}

.sbm-full-width-map-wrap {
    width: min(1280px, 100%);
    margin: 0 auto;
    border-radius: var(--sbm-radius, 22px);
    overflow: hidden;
    background: #ddd;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
    line-height: 0;
}

.sbm-full-width-map-wrap iframe {
    display: block;
    width: 100%;
}

.sbm-full-width-map {
    min-height: 420px;
}

.sbm-full-width-map-actions {
    width: min(1280px, 100%);
    margin: 28px auto 0;
    display: flex;
    justify-content: center;
}

@media (max-width: 850px) {
    .sbm-location-section {
        padding: 56px 16px;
    }

    .sbm-location-inner {
        grid-template-columns: 1fr;
    }

    .sbm-layout-map-right .sbm-map-wrap,
    .sbm-layout-map-right .sbm-info-card {
        order: initial;
    }

    .sbm-info-card {
        padding: 30px;
    }

    .sbm-full-width-map-section {
        padding: 64px 16px;
    }

    .sbm-full-width-map-header {
        margin-bottom: 24px;
    }

    .sbm-full-width-map {
        min-height: 320px;
    }
}