body.theme-aquamarine:has(.aq-local) {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

body.theme-aquamarine:has(.aq-local) .aq-main {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

body.theme-aquamarine:has(.aq-local) .aq-footer {
    margin-top: 0;
}

body.theme-aquamarine .aq-local,
body.theme-aquamarine .aq-local *,
body.theme-aquamarine .aq-local *::before,
body.theme-aquamarine .aq-local *::after {
    box-sizing: border-box;
}

body.theme-aquamarine .aq-local {
    --aq-local-ink: var(--theme-text, var(--aq-ink, #1a1a1a));
    --aq-local-muted: var(--theme-text-muted, var(--aq-muted, #5c5c5c));
    --aq-local-line: var(--theme-border, var(--aq-line, #e6e6e6));
    --aq-local-blue: var(--aq-blue, var(--theme-accent, var(--theme-primary, #0084ff)));
    --aq-local-blue-deep: color-mix(in srgb, var(--aq-local-blue) 78%, #031018);
    --aq-local-soft: var(--theme-surface-alt, var(--aq-soft, #f4f7fb));
    --aq-local-surface: var(--theme-surface, #ffffff);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: clamp(1.25rem, 4vw, 2.75rem) 1rem clamp(2.5rem, 6vw, 4rem);
    color: var(--aq-local-ink);
    background: #f7f9fc;
}

body.theme-aquamarine .aq-local__atmosphere {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(115% 75% at 8% -8%, color-mix(in srgb, var(--aq-local-blue) 30%, transparent), transparent 58%),
        radial-gradient(85% 65% at 100% 0%, color-mix(in srgb, var(--aq-local-blue) 18%, transparent), transparent 52%),
        linear-gradient(180deg, var(--aq-local-soft) 0%, #fff 46%, #f7f9fc 100%);
}

body.theme-aquamarine .aq-local__atmosphere::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image:
        linear-gradient(color-mix(in srgb, var(--aq-local-blue) 9%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--aq-local-blue) 9%, transparent) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 75% 55% at 50% 12%, #000 18%, transparent 78%);
}

body.theme-aquamarine .aq-local__stage {
    position: relative;
    z-index: 1;
    width: min(68rem, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 3.5vw, 2.35rem);
}

body.theme-aquamarine .aq-local .storefront-breadcrumbs {
    margin: 0 auto;
    align-self: center;
}

body.theme-aquamarine .aq-local__brand {
    text-align: center;
}

body.theme-aquamarine .aq-local__brand-name {
    margin: 0 0 0.5rem;
    font-size: clamp(1.65rem, 4.2vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--aq-local-blue-deep);
}

body.theme-aquamarine .aq-local__title {
    margin: 0 0 0.4rem;
    font-size: clamp(1.15rem, 2.6vw, 1.45rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

body.theme-aquamarine .aq-local__lead {
    margin: 0 auto;
    max-width: 34rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--aq-local-muted);
}

body.theme-aquamarine .aq-local__jump {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
}

body.theme-aquamarine .aq-local__jump a {
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--aq-local-blue) 18%, var(--aq-local-line));
    color: var(--aq-local-blue-deep);
    font-weight: 700;
    font-size: 0.9rem;
}

body.theme-aquamarine .aq-local__jump a:hover {
    background: var(--aq-local-blue);
    border-color: var(--aq-local-blue);
    color: #fff;
}

body.theme-aquamarine .aq-local-block {
    background: var(--aq-local-surface);
    border: 1px solid color-mix(in srgb, var(--aq-local-line) 88%, var(--aq-local-blue));
    border-radius: 18px;
    box-shadow:
        0 1px 0 color-mix(in srgb, #fff 80%, transparent),
        0 18px 40px rgba(8, 40, 72, 0.08);
    padding: clamp(1.1rem, 3vw, 1.65rem);
    display: grid;
    gap: 1.15rem;
}

body.theme-aquamarine .aq-local-block__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 1rem;
}

body.theme-aquamarine .aq-local-block__head h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

body.theme-aquamarine .aq-local-block__head p {
    margin: 0;
    color: var(--aq-local-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

body.theme-aquamarine .aq-local-map {
    position: relative;
    display: grid;
    gap: 0.85rem;
    padding: clamp(0.65rem, 2vw, 1rem);
    border-radius: 14px;
    background:
        radial-gradient(80% 70% at 50% 0%, color-mix(in srgb, var(--aq-local-blue) 10%, transparent), transparent 62%),
        linear-gradient(180deg, #f6f9fd, #eef3f8);
    border: 1px solid color-mix(in srgb, var(--aq-local-line) 80%, var(--aq-local-blue));
}

body.theme-aquamarine .aq-local-map__canvas svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

body.theme-aquamarine .aq-local-map--ca .aq-local-map__canvas svg {
    max-height: min(62vh, 34rem);
    margin-inline: auto;
}

body.theme-aquamarine .aq-local-map__shape {
    fill: color-mix(in srgb, var(--aq-local-soft) 70%, #c9d4e0);
    stroke: #fff;
    stroke-width: 1;
    stroke-linejoin: round;
    transition: fill 0.16s ease, filter 0.16s ease;
}

body.theme-aquamarine .aq-local-map--ca .aq-local-map__shape {
    stroke-width: 80;
}

body.theme-aquamarine .aq-local-map__shape.is-empty {
    fill: #d7dee6;
    pointer-events: none;
}

body.theme-aquamarine .aq-local-map__shape.is-live {
    fill: color-mix(in srgb, var(--aq-local-blue) 22%, #8fb4d4);
    cursor: pointer;
}

body.theme-aquamarine .aq-local-map__hit:hover .aq-local-map__shape.is-live,
body.theme-aquamarine .aq-local-map__hit:focus-visible .aq-local-map__shape.is-live,
body.theme-aquamarine .aq-local-map__hit.is-active .aq-local-map__shape.is-live {
    fill: var(--aq-local-blue);
    filter: drop-shadow(0 8px 14px color-mix(in srgb, var(--aq-local-blue) 35%, transparent));
}

body.theme-aquamarine .aq-local-map__hit:focus-visible {
    outline: none;
}

body.theme-aquamarine .aq-local-map__pins {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

body.theme-aquamarine .aq-local-map__pins:empty {
    display: none;
}

body.theme-aquamarine .aq-local-map__pins a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    min-height: 2.35rem;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--aq-local-blue) 20%, var(--aq-local-line));
    color: var(--aq-local-blue-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

body.theme-aquamarine .aq-local-map__pins a:hover,
body.theme-aquamarine .aq-local-map__pins a.is-active {
    background: var(--aq-local-blue);
    border-color: var(--aq-local-blue);
    color: #fff;
}

body.theme-aquamarine .aq-local-map__tip {
    position: absolute;
    z-index: 2;
    transform: translate(-50%, -120%);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: var(--aq-local-blue-deep);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 10px 22px rgba(8, 40, 72, 0.18);
}

body.theme-aquamarine .aq-local-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

body.theme-aquamarine .aq-local-list a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.7rem;
    padding: 0.45rem 0.7rem;
    border-radius: 12px;
    background: color-mix(in srgb, var(--aq-local-soft) 78%, #fff);
    border: 1px solid color-mix(in srgb, var(--aq-local-line) 88%, var(--aq-local-blue));
    color: var(--aq-local-ink);
    font-weight: 700;
    line-height: 1.25;
}

body.theme-aquamarine .aq-local-list a:hover,
body.theme-aquamarine .aq-local-list a.is-active {
    background: #fff;
    border-color: var(--aq-local-blue);
    color: var(--aq-local-blue-deep);
    box-shadow: 0 8px 18px -12px color-mix(in srgb, var(--aq-local-blue) 70%, #000);
}

body.theme-aquamarine .aq-local-list__code {
    flex: 0 0 auto;
    min-width: 2rem;
    color: var(--aq-local-blue-deep);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

body.theme-aquamarine .aq-local-list__name {
    min-width: 0;
}

body.theme-aquamarine .aq-local__empty {
    margin: 0;
    text-align: center;
    color: var(--aq-local-muted);
}

@media (min-width: 720px) {
    body.theme-aquamarine .aq-local-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 980px) {
    body.theme-aquamarine .aq-local-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body.theme-aquamarine .aq-local-map__pins a {
        min-width: 2.75rem;
        min-height: 2.55rem;
    }

    body.theme-aquamarine .aq-local-list {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.theme-aquamarine .aq-local-map__shape {
        transition: none;
    }
}