.pv-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.pv-search-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.pv-search {
    flex: 1 1 320px;
}

.pv-nearby {
    flex: 0 0 auto;
}

.pv-nearby .th-btn {
    padding: 12px 18px;
    white-space: nowrap;
    height: 48px;
    line-height: 24px;
}

.pv-search .form-control {
    border-radius: 999px;
    padding: 12px 18px;
    box-shadow: none;
    height: 48px;
}

.pv-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pv-chip {
    border: 1px solid #e6e6e6;
    background: #fff;
    color: #141D38;
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.pv-chip:hover {
    border-color: var(--theme-color);
    color: var(--theme-color);
}

.pv-chip.is-active {
    background: var(--theme-color);
    border-color: var(--theme-color);
    color: #fff;
}

.pv-stats {
    font-weight: 600;
    color: #737887;
}

.pv-map {
    position: relative;
    z-index: 1;
    height: 520px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    box-shadow: 0 20px 40px rgba(20, 29, 56, 0.08);
}

.pv-list {
    max-height: 520px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pv-card {
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 14px 16px;
    background: #fff;
}

.pv-card h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.pv-card p {
    margin-bottom: 8px;
    color: #737887;
}

.pv-distance {
    font-weight: 700;
    color: #141D38;
    margin-left: 6px;
}

.pv-badge {
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pv-badge.franchising {
    background: rgba(11, 70, 151, 0.12);
    color: #0b4697;
}

.pv-badge.tabaccherie {
    background: rgba(255, 129, 57, 0.15);
    color: #FF8139;
}

.pv-badge.puffpoint {
    background: rgba(234, 179, 8, 0.15);
    color: #b58a00;
}

.pv-disclaimer {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #999;
    font-style: italic;
}

.pv-card .pv-actions {
    margin-top: 10px;
}

.pv-card .pv-actions .th-btn {
    padding: 8px 14px;
    font-size: 14px;
}

.pv-empty {
    padding: 18px;
    border: 1px dashed #ddd;
    border-radius: 14px;
    color: #737887;
    text-align: center;
}

@media (max-width: 991px) {
    .pv-map,
    .pv-list {
        max-height: none;
        height: 420px;
    }
}

@media (max-width: 767px) {
    .pv-controls {
        gap: 12px;
        margin-bottom: 20px;
    }

    .pv-search-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .pv-search {
        flex-basis: auto;
    }

    .pv-nearby .th-btn {
        width: 100%;
    }

    .pv-disclaimer {
        order: 1;
    }

    .pv-map {
        height: 320px;
    }

    .pv-list {
        height: auto;
        max-height: 360px;
    }
}

/* Legend */
.pv-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 12px;
    padding: 8px 4px;
}

.pv-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #141D38;
}

.pv-legend-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.pv-legend-dot.franchising {
    background: #0b4697;
}

.pv-legend-dot.tabaccheria {
    background: #FF8139;
}

.pv-legend-dot.puffpoint {
    background: #EAB308;
}

.pv-legend-dot.posizione {
    background: #E53935;
}

/* Cluster marker overrides */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background-color: transparent !important;
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    font-size: 0;
    width: 30px !important;
    height: 30px !important;
    margin-left: 5px !important;
    margin-top: 5px !important;
    border-radius: 50%;
}
