:root {
    --gp-navy: #061a38;
    --gp-navy-2: #0a254d;
    --gp-coral: #ff4d5f;
    --gp-pink: #ff2f79;
    --gp-map-text: #102641;
    --gp-map-muted: #63748b;
    --gp-map-panel: rgba(255, 255, 255, .96);
    --gp-map-border: rgba(12, 39, 73, .12);
    --gp-map-shadow: 0 20px 55px rgba(6, 26, 56, .18);
}

.map-page {
    overflow: hidden;
    background: #eef3f9;
}
.map-page .site-header,
.map-page .site-footer,
.map-page .flash-wrap { display: none !important; }
.map-page main { min-height: 100vh; }

.goplace-map-shell {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    width: 100%;
    height: 100vh;
    overflow: hidden;
    color: var(--gp-map-text);
    background: #f4f7fb;
}

.map-sidebar {
    position: relative;
    z-index: 12;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 28px 20px 22px;
    background: rgba(255, 255, 255, .97);
    border-right: 1px solid #e4ebf3;
    box-shadow: 12px 0 34px rgba(8, 31, 65, .08);
}
.map-brand {
    display: inline-flex;
    width: 188px;
    min-height: 48px;
    align-items: center;
}
.map-brand img { width: 100%; height: auto; }
.map-logo-dark { display: none; }
.map-sidebar-copy {
    margin: 18px 8px 22px;
    color: #607087;
    font-weight: 600;
    line-height: 1.55;
}
.map-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #dce5ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(14, 39, 70, .05);
}
.map-search span { color: #5d7189; font-size: 1.4rem; transform: rotate(-18deg); }
.map-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #102641;
    font: inherit;
}
.map-search input::placeholder { color: #8b9aab; }
.map-category-heading {
    margin: 24px 8px 10px;
    color: #132944;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.map-category-list {
    min-height: 0;
    overflow: auto;
    display: grid;
    gap: 6px;
    scrollbar-width: thin;
}
.map-category {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #1d334e;
    font: inherit;
    font-weight: 720;
    text-align: left;
    cursor: pointer;
    transition: .18s ease;
}
.map-category:hover { background: #f1f5fa; transform: translateX(2px); }
.map-category.active {
    color: #fff;
    background: linear-gradient(135deg, var(--gp-coral), var(--gp-pink));
    box-shadow: 0 12px 24px rgba(255, 57, 104, .24);
}
.category-symbol {
    display: grid;
    width: 24px;
    place-items: center;
    color: var(--gp-coral);
    font-size: 1.08rem;
}
.map-category.active .category-symbol { color: #fff; }
.map-location-sidebar {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 52px;
    margin-top: auto;
    padding: 0 16px;
    border: 1px solid rgba(255, 71, 96, .52);
    border-radius: 13px;
    background: rgba(255, 77, 95, .07);
    color: #d83452;
    font: inherit;
    font-weight: 820;
    cursor: pointer;
}
.map-location-sidebar span { font-size: 1.35rem; }
.map-sidebar-links {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 14px;
    color: #708199;
    font-size: .77rem;
    font-weight: 700;
}
.map-sidebar-links a:hover { color: var(--gp-coral); }

.map-stage {
    position: relative;
    min-width: 0;
    height: 100vh;
    overflow: hidden;
    background: #eaf0f7;
}
.goplace-map { position: absolute; inset: 0; }
.goplace-map .maplibregl-canvas { outline: none; }
.goplace-map .maplibregl-ctrl-attrib {
    right: 8px;
    bottom: 5px;
    border-radius: 8px;
    font-size: 10px;
    opacity: .78;
}

.map-top-controls {
    position: absolute;
    z-index: 8;
    top: 20px;
    right: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.map-city-form {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid rgba(12, 39, 73, .12);
    border-radius: 15px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 34px rgba(6, 26, 56, .15);
    backdrop-filter: blur(14px);
}
.map-city-form select {
    max-width: 150px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #102641;
    font: inherit;
    font-weight: 820;
    cursor: pointer;
}
.map-theme-toggle {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(12, 39, 73, .12);
    border-radius: 15px;
    background: rgba(255, 255, 255, .94);
    color: #102641;
    box-shadow: 0 14px 34px rgba(6, 26, 56, .15);
    cursor: pointer;
    backdrop-filter: blur(14px);
}
.theme-sun, .theme-moon { grid-area: 1 / 1; transition: .18s ease; }
.theme-moon { opacity: 0; transform: scale(.75); }

.map-custom-controls {
    position: absolute;
    z-index: 8;
    right: 24px;
    bottom: 28px;
    display: grid;
    overflow: hidden;
    border: 1px solid rgba(12, 39, 73, .13);
    border-radius: 17px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 15px 36px rgba(7, 28, 58, .18);
    backdrop-filter: blur(12px);
}
.map-custom-controls button {
    width: 48px;
    height: 48px;
    border: 0;
    border-bottom: 1px solid rgba(12, 39, 73, .09);
    background: transparent;
    color: #102641;
    font-size: 1.55rem;
    cursor: pointer;
}
.map-custom-controls button:last-child { border-bottom: 0; font-size: 1.2rem; }
.map-custom-controls button:hover { background: rgba(255, 77, 95, .09); color: var(--gp-coral); }
.map-list-toggle {
    position: absolute;
    z-index: 8;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: rgba(6, 26, 56, .94);
    color: #fff;
    box-shadow: 0 14px 34px rgba(5, 22, 46, .26);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.map-place-card {
    position: absolute;
    z-index: 9;
    top: 90px;
    right: 22px;
    width: min(350px, calc(100% - 44px));
    overflow: hidden;
    border: 1px solid var(--gp-map-border);
    border-radius: 21px;
    background: var(--gp-map-panel);
    box-shadow: var(--gp-map-shadow);
    backdrop-filter: blur(16px);
}
.map-place-card[hidden], .map-route-panel[hidden], .map-list-drawer[hidden], .map-location-prompt[hidden], .map-toast[hidden] { display: none !important; }
.map-card-close {
    position: absolute;
    z-index: 2;
    top: 11px;
    right: 11px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(6, 26, 56, .86);
    color: #fff;
    font-size: 1.35rem;
    cursor: pointer;
}
.map-place-image {
    width: 100%;
    height: 168px;
    object-fit: cover;
    background: #dfe7f1;
}
.map-place-content { padding: 19px 20px 20px; }
.map-place-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.map-place-title-row h2 { margin: 0; color: #0c223f; font-size: 1.38rem; line-height: 1.2; }
.map-place-category {
    flex: 0 0 auto;
    padding: 5px 9px;
    border: 1px solid rgba(255, 77, 95, .3);
    border-radius: 999px;
    background: rgba(255, 77, 95, .1);
    color: #e33b5c;
    font-size: .7rem;
    font-weight: 820;
}
.map-place-card p { margin: 12px 0 0; color: #53677f; font-size: .86rem; line-height: 1.45; }
.map-place-distance { color: #193654 !important; font-weight: 800; }
.map-place-address, .map-place-hours { display: flex; gap: 8px; align-items: flex-start; }
.map-place-address > span:first-child { color: var(--gp-coral); }
.map-place-hours > span:first-child { color: #20aa63; font-size: .75rem; margin-top: 2px; }
.map-place-actions { display: grid; grid-template-columns: 1fr 1.18fr; gap: 10px; margin-top: 18px; }
.map-btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 12px;
    font: inherit;
    font-weight: 820;
    cursor: pointer;
}
.map-btn.primary {
    border: 0;
    background: linear-gradient(135deg, var(--gp-coral), var(--gp-pink));
    color: #fff;
    box-shadow: 0 12px 26px rgba(255, 48, 119, .23);
}
.map-btn.secondary {
    border: 1px solid #cbd8e6;
    background: transparent;
    color: #102641;
}

.map-route-panel {
    position: absolute;
    z-index: 10;
    left: 22px;
    bottom: 25px;
    width: min(330px, calc(100% - 44px));
    padding: 18px 52px 18px 19px;
    border: 1px solid var(--gp-map-border);
    border-radius: 18px;
    background: var(--gp-map-panel);
    box-shadow: var(--gp-map-shadow);
    backdrop-filter: blur(16px);
}
.route-kicker { display: block; color: var(--gp-coral); font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.map-route-panel strong { display: block; margin-top: 4px; color: #0b223f; font-size: 1.03rem; }
.map-route-panel p { margin: 6px 0 0; color: #5b6f86; font-size: .86rem; }
.map-route-panel .map-card-close { top: 12px; right: 12px; }

.map-list-drawer {
    position: absolute;
    z-index: 12;
    inset: 18px 18px 18px auto;
    width: min(430px, calc(100% - 36px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--gp-map-border);
    border-radius: 22px;
    background: var(--gp-map-panel);
    box-shadow: var(--gp-map-shadow);
    backdrop-filter: blur(18px);
}
.map-list-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 15px; border-bottom: 1px solid var(--gp-map-border); }
.map-list-drawer-head span { display: block; color: var(--gp-coral); font-size: .72rem; font-weight: 820; text-transform: uppercase; }
.map-list-drawer-head strong { display: block; margin-top: 3px; color: #112944; }
.map-list-drawer-head button { width: 36px; height: 36px; border: 0; border-radius: 11px; background: #eef3f8; color: #152b46; font-size: 1.3rem; cursor: pointer; }
.map-list-results { min-height: 0; overflow: auto; padding: 12px; }
.map-list-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 13px;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 15px;
    background: transparent;
    cursor: pointer;
    transition: .18s ease;
}
.map-list-item:hover { border-color: rgba(255, 77, 95, .24); background: rgba(255, 77, 95, .055); }
.map-list-item img { width: 92px; height: 78px; border-radius: 11px; object-fit: cover; }
.map-list-item h3 { margin: 2px 0 5px; color: #102641; font-size: .95rem; }
.map-list-item p { margin: 0; color: #687a90; font-size: .76rem; line-height: 1.4; }
.map-list-item small { display: block; margin-bottom: 4px; color: var(--gp-coral); font-weight: 800; }
.map-list-empty { padding: 38px 20px; color: #6a7b90; text-align: center; }

.map-location-prompt {
    position: absolute;
    z-index: 15;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    width: min(720px, calc(100% - 42px));
    padding: 14px 15px;
    border: 1px solid var(--gp-map-border);
    border-radius: 18px;
    background: var(--gp-map-panel);
    box-shadow: var(--gp-map-shadow);
    backdrop-filter: blur(18px);
}
.location-prompt-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; background: rgba(255, 77, 95, .1); color: var(--gp-coral); font-size: 1.35rem; }
.map-location-prompt strong { color: #102641; }
.map-location-prompt p { margin: 4px 0 0; color: #64778e; font-size: .8rem; }
.location-prompt-actions { display: flex; gap: 8px; }
.location-prompt-actions .map-btn { min-height: 40px; padding: 0 13px; font-size: .78rem; }

.map-empty-state {
    position: absolute;
    z-index: 6;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(360px, calc(100% - 40px));
    padding: 28px;
    border: 1px solid var(--gp-map-border);
    border-radius: 20px;
    background: var(--gp-map-panel);
    box-shadow: var(--gp-map-shadow);
    text-align: center;
}
.map-empty-state span { display: block; color: var(--gp-coral); font-size: 2rem; }
.map-empty-state strong { display: block; margin-top: 8px; color: #102641; }
.map-empty-state p { margin: 7px 0 0; color: #687b91; font-size: .84rem; line-height: 1.5; }
.map-toast {
    position: absolute;
    z-index: 20;
    left: 50%;
    top: 22px;
    transform: translateX(-50%);
    max-width: min(520px, calc(100% - 42px));
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(6, 26, 56, .94);
    color: #fff;
    box-shadow: 0 14px 32px rgba(4, 20, 43, .26);
    font-size: .84rem;
    font-weight: 750;
    text-align: center;
}

.map-mobile-header, .map-mobile-toolbar { display: none; }

/* Tema oscuro */
.map-page.map-theme-dark {
    --gp-map-text: #eef5ff;
    --gp-map-muted: #a8b7ca;
    --gp-map-panel: rgba(5, 24, 49, .96);
    --gp-map-border: rgba(128, 159, 196, .22);
    --gp-map-shadow: 0 22px 60px rgba(0, 7, 17, .42);
    background: #04142b;
}
.map-theme-dark .goplace-map-shell, .map-theme-dark .map-stage { background: #04142b; }
.map-theme-dark .map-sidebar {
    background: rgba(4, 22, 46, .98);
    border-right-color: rgba(126, 154, 187, .16);
    box-shadow: 14px 0 38px rgba(0, 8, 18, .28);
}
.map-theme-dark .map-logo-light { display: none; }
.map-theme-dark .map-logo-dark { display: block; }
.map-theme-dark .map-sidebar-copy,
.map-theme-dark .map-sidebar-links,
.map-theme-dark .map-search input,
.map-theme-dark .map-search input::placeholder { color: #9fb0c4; }
.map-theme-dark .map-search { background: #071d3a; border-color: #203d60; box-shadow: none; }
.map-theme-dark .map-category-heading, .map-theme-dark .map-category { color: #edf5ff; }
.map-theme-dark .map-category:hover { background: rgba(255, 255, 255, .055); }
.map-theme-dark .map-location-sidebar { color: #ff6576; background: rgba(255, 77, 95, .08); border-color: rgba(255, 77, 95, .46); }
.map-theme-dark .map-city-form, .map-theme-dark .map-theme-toggle, .map-theme-dark .map-custom-controls {
    background: rgba(5, 24, 49, .94);
    border-color: rgba(142, 170, 204, .2);
    color: #fff;
    box-shadow: 0 16px 38px rgba(0, 8, 20, .36);
}
.map-theme-dark .map-city-form select, .map-theme-dark .map-custom-controls button { color: #fff; }
.map-theme-dark .map-city-form select option { color: #102641; background: #fff; }
.map-theme-dark .theme-sun { opacity: 0; transform: scale(.75); }
.map-theme-dark .theme-moon { opacity: 1; transform: scale(1); }
.map-theme-dark .map-place-title-row h2,
.map-theme-dark .map-route-panel strong,
.map-theme-dark .map-list-drawer-head strong,
.map-theme-dark .map-list-item h3,
.map-theme-dark .map-empty-state strong,
.map-theme-dark .map-location-prompt strong { color: #f4f8ff; }
.map-theme-dark .map-place-card p,
.map-theme-dark .map-route-panel p,
.map-theme-dark .map-list-item p,
.map-theme-dark .map-empty-state p,
.map-theme-dark .map-location-prompt p { color: #a6b6c8; }
.map-theme-dark .map-place-distance { color: #d7e6f8 !important; }
.map-theme-dark .map-btn.secondary { border-color: #395572; color: #f3f7fc; }
.map-theme-dark .map-list-drawer-head button { background: #102d4f; color: #fff; }
.map-theme-dark .map-list-item:hover { background: rgba(255, 77, 95, .08); }

@media (max-width: 900px) {
    .map-page { overflow: hidden; }
    .goplace-map-shell { display: block; height: 100dvh; }
    .map-sidebar, .map-top-controls { display: none; }
    .map-stage { height: 100dvh; padding-top: 147px; }
    .goplace-map { top: 147px; }

    .map-mobile-header {
        position: absolute;
        z-index: 13;
        top: 0;
        left: 0;
        right: 0;
        height: 66px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 0 14px;
        background: rgba(255, 255, 255, .97);
        border-bottom: 1px solid #e5ecf4;
        box-shadow: 0 8px 24px rgba(10, 34, 64, .08);
    }
    .map-mobile-brand { width: 132px; }
    .map-mobile-brand img { width: 100%; }
    .map-mobile-actions { display: flex; align-items: center; gap: 7px; }
    .map-city-form.mobile { min-height: 39px; padding: 0 9px; border-radius: 12px; box-shadow: none; }
    .map-city-form.mobile select { max-width: 92px; font-size: .78rem; }
    .map-mobile-header .map-theme-toggle { width: 39px; height: 39px; border-radius: 12px; box-shadow: none; }

    .map-mobile-toolbar {
        position: absolute;
        z-index: 12;
        top: 66px;
        left: 0;
        right: 0;
        display: block;
        height: 81px;
        padding: 8px 12px 0;
        background: rgba(255, 255, 255, .96);
        border-bottom: 1px solid #e6edf5;
    }
    .map-mobile-toolbar .map-search { min-height: 40px; border-radius: 12px; box-shadow: none; }
    .map-mobile-categories {
        display: flex;
        gap: 4px;
        margin: 5px -2px 0;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .map-mobile-categories::-webkit-scrollbar { display: none; }
    .map-mobile-category {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 5px;
        min-height: 30px;
        padding: 0 9px;
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: #324964;
        font: inherit;
        cursor: pointer;
    }
    .map-mobile-category span { color: var(--gp-coral); font-size: .86rem; }
    .map-mobile-category small { font-size: .64rem; font-weight: 770; white-space: nowrap; }
    .map-mobile-category.active { background: linear-gradient(135deg, var(--gp-coral), var(--gp-pink)); color: #fff; }
    .map-mobile-category.active span { color: #fff; }

    .map-custom-controls { right: 12px; bottom: 145px; border-radius: 16px; }
    .map-custom-controls button[data-map-zoom-in], .map-custom-controls button[data-map-zoom-out] { display: none; }
    .map-custom-controls button { width: 45px; height: 45px; }
    .map-list-toggle { bottom: 146px; min-height: 42px; padding: 0 15px; font-size: .78rem; }
    .map-place-card {
        top: auto;
        left: 10px;
        right: 10px;
        bottom: 10px;
        width: auto;
        display: grid;
        grid-template-columns: 110px minmax(0, 1fr);
        max-height: 128px;
        border-radius: 17px;
    }
    .map-place-card[hidden] { display: none !important; }
    .map-place-image { width: 110px; height: 100%; min-height: 128px; }
    .map-place-content { min-width: 0; padding: 13px 13px 12px; }
    .map-place-title-row h2 { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .map-place-category { display: none; }
    .map-place-card p { margin-top: 5px; font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .map-place-hours { display: none !important; }
    .map-place-actions { gap: 7px; margin-top: 9px; }
    .map-btn { min-height: 34px; border-radius: 9px; font-size: .7rem; }
    .map-card-close { width: 29px; height: 29px; top: 7px; right: 7px; font-size: 1rem; }

    .map-route-panel { left: 10px; bottom: 148px; width: calc(100% - 74px); padding: 12px 42px 12px 14px; border-radius: 14px; }
    .map-route-panel strong { font-size: .87rem; }
    .map-route-panel p { font-size: .74rem; }
    .map-list-drawer { inset: 75px 8px 8px; width: auto; border-radius: 18px; }
    .map-location-prompt {
        bottom: 12px;
        grid-template-columns: auto 1fr;
        width: calc(100% - 20px);
        padding: 12px;
        border-radius: 15px;
    }
    .location-prompt-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
    .map-toast { top: 156px; }

    .map-theme-dark .map-mobile-header, .map-theme-dark .map-mobile-toolbar {
        background: rgba(4, 22, 46, .98);
        border-color: rgba(126, 154, 187, .17);
        box-shadow: none;
    }
    .map-theme-dark .map-mobile-brand .map-logo-light { display: none; }
    .map-theme-dark .map-mobile-brand .map-logo-dark { display: block; }
    .map-theme-dark .map-mobile-category { color: #dce8f7; }
}

@media (max-width: 420px) {
    .map-mobile-brand { width: 116px; }
    .map-city-form.mobile select { max-width: 80px; }
    .map-place-card { grid-template-columns: 92px minmax(0, 1fr); }
    .map-place-image { width: 92px; }
    .map-place-actions { grid-template-columns: .9fr 1.2fr; }
}

/* Pines HTML de Go Place.
   El contenedor exterior queda bajo control exclusivo de MapLibre; nunca se le
   aplica transform desde CSS. Así el pin permanece anclado a sus coordenadas. */
.goplace-marker-anchor {
    /* MapLibre necesita que el elemento raíz del marcador sea absoluto.
       Nunca usar relative/fixed aquí: rompería el anclaje geográfico. */
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 58px;
    pointer-events: none;
    overflow: visible;
    will-change: transform;
}
.goplace-place-marker {
    position: absolute;
    inset: 0;
    display: grid;
    width: 48px;
    height: 58px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    filter: drop-shadow(0 7px 8px rgba(5, 23, 49, .34));
    cursor: pointer;
    pointer-events: auto;
    transform-origin: 50% 100%;
    transition: transform .16s ease, filter .16s ease;
}
.goplace-place-marker:hover,
.goplace-place-marker:focus-visible {
    transform: translateY(-2px) scale(1.08);
    outline: none;
    filter: drop-shadow(0 10px 11px rgba(5, 23, 49, .42));
}
.goplace-marker-anchor.selected .goplace-place-marker {
    transform: translateY(-3px) scale(1.18);
    filter: drop-shadow(0 12px 14px rgba(255, 73, 100, .36));
}
.goplace-place-marker img {
    display: block;
    width: 48px;
    height: 58px;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}
.goplace-marker-fallback {
    display: none;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 12px;
    background: linear-gradient(135deg, var(--gp-coral), var(--gp-pink));
    color: #fff;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1;
    transform: rotate(-45deg);
    box-shadow: 0 7px 13px rgba(5, 23, 49, .3);
}
.goplace-place-marker.marker-image-failed img { display: none; }
.goplace-place-marker.marker-image-failed .goplace-marker-fallback { display: grid; }
.goplace-marker-anchor.selected .goplace-place-marker.marker-image-failed .goplace-marker-fallback {
    border-color: var(--gp-coral);
    background: var(--gp-navy);
}

.goplace-marker-label {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 5px);
    z-index: 2;
    max-width: 190px;
    padding: 6px 10px;
    overflow: hidden;
    border: 1px solid rgba(6, 26, 56, .12);
    border-radius: 9px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 20px rgba(6, 26, 56, .18);
    color: var(--gp-navy);
    font-size: .75rem;
    font-weight: 800;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 5px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.goplace-marker-label::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 8px;
    height: 8px;
    border-right: 1px solid rgba(6, 26, 56, .12);
    border-bottom: 1px solid rgba(6, 26, 56, .12);
    background: inherit;
    transform: translate(-50%, -4px) rotate(45deg);
}
.goplace-map.show-place-labels .goplace-marker-label,
.goplace-marker-anchor.selected .goplace-marker-label {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.map-theme-dark .goplace-marker-label {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(6, 26, 56, .96);
    color: #fff;
    box-shadow: 0 9px 22px rgba(0, 0, 0, .36);
}
.map-theme-dark .goplace-marker-label::after {
    border-color: rgba(255, 255, 255, .16);
}

@media (max-width: 900px) {
    .goplace-marker-anchor { width: 42px; height: 51px; }
    .goplace-place-marker { width: 42px; height: 51px; }
    .goplace-place-marker img { width: 42px; height: 51px; }
    .goplace-marker-label { max-width: 150px; font-size: .7rem; }
}

