/* для main/prices */

/* ============================================
   prices.css — добавляем стили для таблиц цен
   ============================================ */

/* ----- Таблицы цен ----- */
.prices-page {
    background: #f8fafc;
}

.price-table-wrapper {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 20px 28px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
    border: 1px solid #edf2f7;
    margin-bottom: 30px;
    overflow: hidden;
}

.price-table-wrapper:last-child {
    margin-bottom: 0;
}

.price-table-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}

.price-table-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0b2a3b;
    margin: 0;
}

.price-table-header .address {
    font-size: 0.95rem;
    color: #475569;
}

.price-table-header .address a {
    color: #0b7bb8;
    text-decoration: none;
    border-bottom: 1px dotted #0b7bb8;
}

.price-table-header .address a:hover {
    border-bottom: 1px solid #0b7bb8;
}

.price-table-header .schedule {
    font-size: 0.85rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 500;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    border-radius: 12px;
    overflow: hidden;
}

.price-table thead th {
    background: #0b7bb8;
    color: #ffffff;
    padding: 10px 14px;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.price-table thead th:first-child {
    text-align: left;
    background: #065a86;
}

.price-table tbody td {
    padding: 10px 14px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
}

.price-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: #0b2a3b;
    background: #f8fcff;
}

.price-table tbody tr:nth-child(even) td {
    background: #fafcfd;
}

.price-table tbody tr:nth-child(even) td:first-child {
    background: #f2f8ff;
}

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

.price-table .highlight {
    color: #0b7bb8;
    font-weight: 700;
}

.price-table .night {
    color: #1e3b4f;
}

.price-table .happy-hour {
    color: #16a34a;
    font-weight: 700;
}

/* ----- Секция для сушки ----- */
.dryer-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px dashed #e2e8f0;
}

.dryer-section .dryer-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.dryer-section .price-table thead th {
    background: #e3bf49;
    color: #1e293b;
}

.dryer-section .price-table thead th:first-child {
    background: #c9a83a;
}

/* ----- Адаптивность ----- */
@media (max-width: 768px) {
    .price-table-wrapper {
        padding: 16px 12px 20px;
    }
    
    .price-table {
        font-size: 0.8rem;
    }
    
    .price-table thead th,
    .price-table tbody td {
        padding: 8px 8px;
    }
    
    .price-table-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .price-table-header .schedule {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .price-table {
        font-size: 0.7rem;
    }
    
    .price-table thead th,
    .price-table tbody td {
        padding: 6px 4px;
    }
    
    .price-table-wrapper {
        padding: 12px 8px 16px;
    }
}