/* Contacts page — salon sales cards (/contacts/) */

.salons-list-view {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.salon-row {
    display: flex;
    align-items: center;
    padding: 30px 24px;
    border-radius: 16px;
    border-bottom: 1px solid #e5e5e5;
    gap: 30px;
    transition: background 0.3s ease, border-color 0.3s ease;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.salon-row:last-child {
    border-bottom: 1px solid transparent;
}

.salon-row:hover {
    background: #f4f5f7;
    border-color: transparent;
}

.salon-row__img-wrap {
    flex-shrink: 0;
    width: 240px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    display: block;
}

.salon-row__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.salon-row__main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    /* html { font-weight:500 } in styles.min — contact lines stay book/regular */
    font-weight: 400 !important;
}

.salon-row__main > div,
.salon-row__main > div span,
.salon-row__main > div a {
    font-weight: 400 !important;
}

.salon-row__title {
    font-size: 22px;
    font-weight: 500 !important;
    color: #000000 !important;
    margin-bottom: 15px;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.3;
}

.salon-row__title:hover {
    color: #ffc800 !important;
}

.salon-row__address {
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 400 !important;
}

.salon-row__details {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    margin-left: auto;
    min-width: 0;
}

.salon-row__schedule {
    font-size: 13px;
    color: #1a1a1a;
    line-height: 1.5;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-weight: 400 !important;
}

.salon-row__phone {
    font-size: 14px;
    color: #1a1a1a !important;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-weight: 400 !important;
}

.salon-row__phone:hover {
    color: #ffc800 !important;
}

.salon-row__rating {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 15px;
    align-items: flex-end;
}

.salon-row__badges {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.salon-row__badge {
    background: #f3f4ee;
    color: #8d9178;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #d0d4bf;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 3D тур / Новое пространство — cream */
.salon-row__badge--tour {
    background: #fdf6dc;
    color: #000;
    border-color: #f0e6c4;
}

.salon-row__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 40px;
    padding: 0 24px;
    border-radius: 100px;
    border: none;
    text-decoration: none;
    color: #000 !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Stolzl', sans-serif;
    margin-top: 15px;
    align-self: flex-end;
    background: #f3f1f1;
    box-sizing: border-box;
}

.salon-row__btn svg {
    display: none !important;
}

.salon-row__btn::after {
    content: "Подробнее";
}

.salon-row:hover .salon-row__btn {
    border: none;
    color: #000 !important;
    background: #ffc800;
}

.salon-row__btn:hover {
    border: none !important;
    color: #000 !important;
    background: #ffc800 !important;
}

/* Mobile / tablet: real card stack, not squeezed desktop row */
@media (max-width: 991px) {
    .page__map {
        height: 280px !important;
        margin-bottom: 16px !important;
        margin-top: 12px !important;
    }

    .salons-list-view {
        margin-top: 20px !important;
        gap: 12px;
    }

    .salon-row {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 0 !important;
        gap: 0 !important;
        border-radius: 14px !important;
        background: #fff !important;
        margin-bottom: 0 !important;
        border: 1px solid #e8e8e8 !important;
        overflow: hidden !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    }

    .salon-row:hover {
        background: #fff !important;
    }

    .salon-row__img-wrap {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 10 !important;
        border-radius: 0 !important;
        max-width: 100% !important;
    }

    .salon-row__main {
        padding: 14px 14px 0 !important;
        width: 100% !important;
    }

    .salon-row__title {
        font-size: 16px !important;
        line-height: 1.35 !important;
        margin-bottom: 10px !important;
    }

    .salon-row__address,
    .salon-row__schedule,
    .salon-row__phone {
        font-size: 13px !important;
        justify-content: flex-start !important;
        text-align: left !important;
        margin-bottom: 8px !important;
    }

    .salon-row__details {
        width: 100% !important;
        max-width: 100% !important;
        text-align: left !important;
        margin: 0 !important;
        padding: 12px 14px 14px !important;
        align-items: flex-start !important;
        box-sizing: border-box !important;
    }

    .salon-row__rating {
        align-items: flex-start !important;
        margin-top: 0 !important;
        margin-bottom: 10px !important;
    }

    .salon-row__badges {
        justify-content: flex-start !important;
        margin-bottom: 12px !important;
        width: 100%;
    }

    .salon-row__btn {
        align-self: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 4px !important;
        height: 44px !important;
    }

    .salons-map-section h2 {
        font-size: 22px !important;
        margin-bottom: 15px !important;
    }

    .salons-map-section {
        margin-top: 10px !important;
        margin-bottom: 10px !important;
        padding: 10px 0 !important;
    }
}
