/* Shop Locator — Google Maps consent layer only (does not alter theme/page styles). */

/* ----- Full-page mode (overlay appended to <body>) ----- */
.sl-mc-overlay.sl-mc-overlay--fullscreen {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(34, 38, 42, 0.88);
    color: #f1f3f4;
    box-sizing: border-box;
}

.sl-mc-loading.sl-mc-loading--fullscreen {
    position: fixed;
    inset: 0;
    z-index: 2147482900;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    color: #202124;
    font-size: 1rem;
}

.sl-mc-banner.sl-mc-banner--fullscreen {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2147483000;
    padding: 16px 20px;
    background: rgba(248, 249, 250, 0.98);
    color: #202124;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.45;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

/* ----- Map-only mode (elements inside .sl-mc-map-root) ----- */
.sl-mc-map-root {
    position: relative;
    min-height: 280px;
    overflow: hidden;
}

.sl-mc-map-root > .sl-mc-overlay {
    position: absolute;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(34, 38, 42, 0.88);
    color: #f1f3f4;
    box-sizing: border-box;
}

.sl-mc-map-root > .sl-mc-loading {
    position: absolute;
    inset: 0;
    z-index: 49;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    color: #202124;
    font-size: 1rem;
}

.sl-mc-map-root > .sl-mc-banner {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 51;
    padding: 12px 16px;
    background: rgba(248, 249, 250, 0.98);
    color: #202124;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.45;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.sl-mc-map-root > .sl-mc-banner.sl-mc-error {
    background: rgba(252, 232, 230, 0.98);
    color: #c5221f;
}

.sl-mc-card {
    max-width: 420px;
    width: 100%;
    background: #fff;
    color: #202124;
    border-radius: 8px;
    padding: 24px 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

.sl-mc-card h2 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 600;
}

.sl-mc-card .sl-mc-body {
    margin: 0 0 16px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #3c4043;
}

.sl-mc-card .sl-mc-body p {
    margin: 0 0 0.75em;
}

.sl-mc-card .sl-mc-body p:last-child {
    margin-bottom: 0;
}

.sl-mc-card .sl-mc-body a {
    color: #1a73e8;
    text-decoration: underline;
}

.sl-mc-card .sl-mc-body a:hover {
    color: #1557b0;
}

.sl-mc-banner .sl-mc-banner-body {
    font-size: inherit;
    line-height: inherit;
}

.sl-mc-banner .sl-mc-banner-body p {
    margin: 0 0 0.5em;
}

.sl-mc-banner .sl-mc-banner-body p:last-child {
    margin-bottom: 0;
}

.sl-mc-banner .sl-mc-banner-body a {
    color: inherit;
    text-decoration: underline;
}

.sl-mc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.sl-mc-actions button {
    font: inherit;
    cursor: pointer;
    border-radius: 6px;
    padding: 10px 18px;
    border: none;
}

.sl-mc-accept {
    background: #1a73e8;
    color: #fff;
}

.sl-mc-accept:hover {
    background: #1557b0;
}

.sl-mc-decline {
    background: #e8eaed;
    color: #202124;
}

.sl-mc-decline:hover {
    background: #dadce0;
}

.sl-mc-banner button.sl-mc-reset {
    margin-top: 10px;
    font-size: 0.875rem;
    color: #1a73e8;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    padding: 4px 8px;
}

.sl-mc-banner button.sl-mc-reset:hover {
    color: #1557b0;
}

.sl-mc-is-hidden {
    display: none !important;
}
