/* ============================================
   INTERACTIVE PRICES SECTION
   На основе оригинального WordPress стиля
   ============================================ */

.section {
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.section_title {
    text-align: left;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: bold;
}

.services-wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    min-height: 450px;
}

.services-table-wrap {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.services-table_descr {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.services-table {
    margin-top: 10px;
}

.services-table_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.2s;
}

.services-table_row:hover {
    background-color: #f8f9fa;
}

.services-table_row:last-child {
    border-bottom: none;
}

.services-table_row-info {
    flex: 1;
}

.services-table_row-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.services-table_row-time {
    font-size: 14px;
    color: #666;
}

.services-table_row-price-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.services-table_row-price--old {
    text-decoration: line-through;
    color: red;
    font-size: 14px;
}

.services-table_row-price--new {
    font-weight: bold;
    color: #27ae60;
    font-size: 18px;
}

/* ============================================
   СТИЛИ ДЛЯ АБОНЕМЕНТОВ
   ============================================ */

.membership-row {
    background: linear-gradient(135deg, #fff3e0 0%, #ffffff 100%);
    border-left: 4px solid #ff9800;
    padding: 15px 10px;
    margin-top: 15px;
}

.membership-row:hover {
    background: linear-gradient(135deg, #ffe0b2 0%, #ffffff 100%);
}

.membership-title {
    font-weight: 600;
    color: #e65100;
    font-size: 17px;
}

.membership-price {
    color: #e65100 !important;
    font-size: 20px !important;
}

.services-type-items {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 15px;
    align-content: start;
}

.services-type_item {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    background: #fff;
    padding: 12px 15px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.services-type_item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-color: #27ae60;
}

.services-type_item--clicked {
    border-color: #27ae60;
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.15);
}

.services-type_item-icon {
    width: 50px;
    height: 50px;
    transition: filter 0.3s ease;
}

.services-type_item-name {
    font-size: 15px;
    font-weight: 500;
    color: #555;
    margin: 0;
}

.services-type_item--clicked .services-type_item-name {
    color: #333;
    font-weight: 600;
}

.services-info {
    margin-top: 15px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    font-size: 14px;
    color: #555;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 1024px) {
    .services-wrap {
        flex-direction: column-reverse;
    }

    .services-type-items {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 15px;
        margin: 20px auto;
    }

    .section_title {
        font-size: 24px;
    }

    .services-wrap {
        gap: 15px;
        min-height: auto;
    }

    .services-table-wrap {
        padding: 15px;
    }

    .services-type-items {
        grid-template-columns: 1fr;
    }

    .services-type_item {
        padding: 10px 12px;
    }

    .services-type_item-icon {
        width: 40px;
        height: 40px;
    }

    .services-type_item-name {
        font-size: 14px;
    }

    .services-table_row {
        padding: 10px 5px;
    }

    .services-table_row-time {
        font-size: 13px;
    }

    .services-table_row-price--new {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .services-type_item-icon {
        width: 35px;
        height: 35px;
    }

    .services-info {
        font-size: 13px;
        padding: 12px 15px;
    }
}
