.lpv-widget {
    --lpv-red: #e2211c;
    --lpv-ink: #151515;
    --lpv-muted: #555555;
    --lpv-soft: #f5f5f5;
    position: relative;
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(320px, 1fr);
    min-height: var(--lpv-height, 620px);
    overflow: hidden;
    isolation: isolate;
    background: #ffffff;
    color: var(--lpv-ink);
    font-family: Poppins, Helvetica, Arial, sans-serif;
}

.lpv-widget,
.lpv-widget * {
    box-sizing: border-box;
}

.lpv-widget::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(135deg, transparent 0 48%, rgba(244, 244, 244, 0.94) 48.1% 57%, transparent 57.1% 100%),
        linear-gradient(135deg, rgba(249, 249, 249, 0.92) 0 31%, transparent 31.1% 100%);
    pointer-events: none;
}

.lpv-map-column {
    position: relative;
    min-height: var(--lpv-height, 620px);
}

.lpv-map {
    width: 100%;
    height: 100%;
    min-height: var(--lpv-height, 620px);
    background: #eef1f1;
}

.lpv-detail {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(48px, 9vw, 122px) clamp(28px, 8vw, 112px) clamp(40px, 7vw, 86px);
}

.lpv-eyebrow {
    margin: 0 0 18px;
    color: var(--lpv-red);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
}

.lpv-title {
    margin: 0 0 18px;
    color: var(--lpv-ink);
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0;
}

.lpv-contact-list {
    max-width: 520px;
    color: var(--lpv-ink);
    font-size: 15px;
    line-height: 1.75;
}

.lpv-address,
.lpv-row {
    margin: 0 0 8px;
    white-space: pre-line;
}

.lpv-row[hidden] {
    display: none;
}

.lpv-row a {
    color: var(--lpv-red);
    text-decoration: none;
}

.lpv-row a:hover,
.lpv-row a:focus-visible {
    text-decoration: underline;
}

.lpv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.lpv-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 58px;
    flex: 0 1 230px;
    min-width: 190px;
    padding: 16px 18px;
    border: 2px solid var(--lpv-red);
    background: rgba(255, 255, 255, 0.78);
    color: var(--lpv-red);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.lpv-button:hover,
.lpv-button:focus-visible {
    background: var(--lpv-red);
    color: #ffffff;
    transform: translateY(-1px);
    text-decoration: none;
}

.lpv-map-icon,
.lpv-direction-icon {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
}

.lpv-map-icon {
    width: 11px;
    height: 11px;
    border: 2px solid currentColor;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.lpv-map-icon::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
}

.lpv-direction-icon {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 12px solid currentColor;
    transform: rotate(-28deg);
}

.lpv-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: 520px;
    margin-top: auto;
    padding-top: 82px;
}

.lpv-counter {
    color: var(--lpv-ink);
    font-size: 16px;
    line-height: 1;
}

.lpv-arrows {
    display: inline-flex;
    align-items: center;
    gap: 20px;
}

.lpv-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--lpv-ink);
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    transition: color 160ms ease, transform 160ms ease;
}

.lpv-arrow-next {
    color: var(--lpv-red);
}

.lpv-arrow:hover,
.lpv-arrow:focus-visible {
    color: var(--lpv-red);
    transform: translateX(-2px);
}

.lpv-arrow-next:hover,
.lpv-arrow-next:focus-visible {
    transform: translateX(2px);
}

.lpv-marker {
    background: transparent;
    border: 0;
}

.lpv-pin {
    position: absolute;
    left: 3px;
    top: 1px;
    width: 28px;
    height: 28px;
    border: 4px solid rgba(255, 255, 255, 0.95);
    border-radius: 50% 50% 50% 0;
    background: rgba(226, 33, 28, 0.62);
    box-shadow: 0 8px 18px rgba(226, 33, 28, 0.24);
    transform: rotate(-45deg);
    transform-origin: 50% 50%;
    transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.lpv-pin::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
}

.lpv-marker.is-active .lpv-pin {
    background: var(--lpv-red);
    box-shadow: 0 12px 24px rgba(226, 33, 28, 0.42);
    transform: rotate(-45deg) scale(1.22);
}

.lpv-widget .leaflet-container {
    font-family: Poppins, Helvetica, Arial, sans-serif;
}

.lpv-widget .leaflet-control-zoom {
    border: 0;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.lpv-widget .leaflet-control-zoom a {
    width: 30px;
    height: 30px;
    border: 0;
    color: #222222;
    font-size: 20px;
    line-height: 30px;
}

.lpv-widget .leaflet-control-attribution {
    font-size: 10px;
}

.lpv-empty {
    padding: 24px;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    color: #333333;
    font-family: Poppins, Helvetica, Arial, sans-serif;
}

@media (max-width: 900px) {
    .lpv-widget {
        grid-template-columns: 1fr;
    }

    .lpv-map-column,
    .lpv-map {
        min-height: min(72vw, 470px);
    }

    .lpv-detail {
        min-height: 420px;
        padding: 40px 24px 44px;
    }

    .lpv-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .lpv-button {
        width: 100%;
        min-width: 0;
    }

    .lpv-navigation {
        margin-top: 42px;
        padding-top: 0;
    }
}

@media (max-width: 520px) {
    .lpv-title {
        font-size: 29px;
    }

    .lpv-contact-list {
        font-size: 14px;
    }

    .lpv-navigation {
        gap: 16px;
    }
}
