/* ==========================================
   СТРАНИЦА ЦЕН
   Стили в цветовой гамме Лайк Сервис
   ========================================== */

.prices-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

.prices-title {
    font-size: 32px;
    color: #D2691E;
    text-align: center;
    margin-bottom: 10px;
}

.prices-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Панель поиска и сортировки */
.prices-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
    align-items: center;
}

.prices-search-wrap {
    flex: 1 1 300px;
    min-width: 200px;
}

.prices-search {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid #E0D0C0;
    border-radius: 25px;
    background: #FFFBF5;
    transition: all 0.3s;
    box-sizing: border-box;
}

.prices-search:focus {
    outline: none;
    border-color: #D2691E;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.15);
}

.prices-sort-wrap {
    flex: 0 0 auto;
}

.prices-sort {
    padding: 12px 16px;
    font-size: 14px;
    border: 2px solid #E0D0C0;
    border-radius: 25px;
    background: #FFFBF5;
    cursor: pointer;
    transition: all 0.3s;
    color: #444;
}

.prices-sort:focus {
    outline: none;
    border-color: #D2691E;
}

.prices-refresh {
    padding: 12px 18px;
    font-size: 16px;
    border: 2px solid #D2691E;
    border-radius: 50%;
    background: #FFFBF5;
    color: #D2691E;
    cursor: pointer;
    transition: all 0.3s;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prices-refresh:hover {
    background: #D2691E;
    color: white;
    transform: rotate(90deg);
}

/* Таблица */
.prices-table-wrap {
    overflow-x: auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
    border: 1px solid #F0E0D0;
}

.prices-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.prices-table thead {
    background: linear-gradient(135deg, #D2691E, #8B4513);
    color: white;
}

.prices-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.prices-table th.col-price {
    text-align: right;
}

.prices-table tbody tr {
    border-bottom: 1px solid #F0E0D0;
    transition: background 0.2s;
}

.prices-table tbody tr:hover {
    background: #FFF8F0;
}

.prices-table tbody tr:last-child {
    border-bottom: none;
}

.prices-table td {
    padding: 14px 12px;
    color: #333;
    vertical-align: middle;
}

.prices-table td.col-price {
    text-align: right;
    font-weight: 700;
    color: #D2691E;
    font-size: 16px;
    white-space: nowrap;
}

.prices-table td.col-category {
    white-space: nowrap;
}

/* Бейдж категории */
.category-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.category-badge.typical {
    background: #FFE8D0;
    color: #8B4513;
    border: 1px solid #D2691E;
}

.category-badge.complex {
    background: #F0E0F0;
    color: #6B3A6B;
    border: 1px solid #9B59B6;
}

/* Загрузка и пустой результат */
.prices-loading,
.prices-empty-cell {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 16px;
}

.prices-empty {
    text-align: center;
    padding: 40px 20px;
    background: #FFFBF5;
    border-radius: 15px;
    border: 2px dashed #E0D0C0;
    margin-top: 20px;
}

.prices-empty p {
    font-size: 18px;
    color: #666;
    margin-bottom: 15px;
}

.prices-reset-search {
    padding: 10px 25px;
    font-size: 14px;
    border: 2px solid #D2691E;
    border-radius: 25px;
    background: white;
    color: #D2691E;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
}

.prices-reset-search:hover {
    background: #D2691E;
    color: white;
}

/* Кнопка связи */
.prices-contact {
    text-align: center;
    margin-top: 40px;
}

.prices-contact-btn {
    display: inline-block;
    background: linear-gradient(135deg, #D2691E, #8B4513);
    color: white;
    padding: 15px 45px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.3);
    transition: all 0.3s;
}

.prices-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.5);
}

/* Мобильная версия */
@media (max-width: 768px) {
    .prices-title {
        font-size: 24px;
    }
    
    .prices-subtitle {
        font-size: 14px;
    }
    
    .prices-table {
        font-size: 13px;
    }
    
    .prices-table th,
    .prices-table td {
        padding: 10px 8px;
    }
    
    .prices-table th {
        font-size: 11px;
    }
    
    .prices-table td.col-price {
        font-size: 14px;
    }
    
    .prices-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .prices-search-wrap,
    .prices-sort-wrap {
        flex: 1 1 100%;
    }
    
    .prices-sort {
        width: 100%;
    }
    
    .prices-refresh {
        align-self: center;
    }
}