/* Point-S Szervizek – szervizlista stílus */

.ps-szervizek {
    font-family: inherit;
    max-width: 900px;
    margin: 0 auto;
}

/* ── Kereső ── */
.ps-search-wrap {
    margin-bottom: 20px;
}

.ps-search {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}

.ps-search:focus {
    border-color: #004B93;
}

.ps-total {
    color: #555;
    font-size: 14px;
    margin-bottom: 16px;
}

/* ── Városlista ── */
.ps-city-group {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
}

.ps-city-header {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 18px;
    background: #f8f8f8;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 10px;
    transition: background 0.15s;
}

.ps-city-header:hover {
    background: #f0f0f0;
}

.ps-city-header[aria-expanded="true"] {
    background: #004B93;
    color: #fff;
}

.ps-city-name {
    font-size: 16px;
    font-weight: 600;
    flex: 1;
}

.ps-city-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 7px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 13px;
    font-size: 13px;
    font-weight: 700;
}

.ps-city-header[aria-expanded="true"] .ps-city-badge {
    background: rgba(255, 255, 255, 0.25);
}

.ps-city-arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.ps-city-header[aria-expanded="true"] .ps-city-arrow {
    transform: rotate(-135deg);
}

/* ── Kártyák ── */
.ps-city-content {
    padding: 16px;
    background: #fff;
}

.ps-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.ps-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px;
    background: #fafafa;
    transition: box-shadow 0.15s;
}

.ps-card:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.ps-card-name {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #1a1a1a;
    line-height: 1.3;
}

.ps-card-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 6px 0;
    font-size: 13px;
    color: #444;
    line-height: 1.4;
}

.ps-card-row:last-child {
    margin-bottom: 0;
}

.ps-card-row a {
    color: #004B93;
    text-decoration: none;
    word-break: break-all;
}

.ps-card-row a:hover {
    text-decoration: underline;
}

.ps-card-hours {
    color: #555;
}

/* ── Ikon (inline SVG) ── */
.ps-icon {
    width: 15px;
    height: 15px;
    fill: #004B93;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Nincs találat ── */
.ps-no-results {
    text-align: center;
    color: #888;
    padding: 30px 0;
    font-size: 15px;
}

/* ── Reszponzív ── */
@media (max-width: 500px) {
    .ps-cards {
        grid-template-columns: 1fr;
    }
    .ps-city-header {
        padding: 12px 14px;
    }
    .ps-city-name {
        font-size: 14px;
    }
}
