/* Стили для таблицы прайсов */
.price-category {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.price-category h3 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.price-category h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    border-radius: 3px;
}
.price-value {
    font-size: 1rem;
    font-weight: 400;
    color: #a6a6a6;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(123, 98, 254, 0.3);
}
.price-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 2rem;
    background: rgba(61, 61, 61, 0.5);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
    color: var(--text-primary);
}

.price-table th {
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.price-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(123, 98, 254, 0.1);
    vertical-align: middle;
    transition: background-color 0.2s ease;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tr:hover td {
    background-color: rgba(123, 98, 254, 0.05);
}

.price-description {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 5px;
    line-height: 1.4;
}

.price-highlight {
    font-weight: 600;
    color: var(--accent-primary);
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Мобильная версия (max-width: 768px) */
@media (max-width: 768px) {
    .price-category {
        margin-bottom: 1.8rem;
        padding: 0 0.5rem;
    }
    
    .price-category h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid var(--accent-primary);
    }
    
    .price-category h3::after {
        display: none;
    }
    
    .price-table-container {
        margin-bottom: 1.5rem;
        background: transparent;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .price-table {
        min-width: 100%;
        display: block;
        border-radius: 8px;
    }
    
    .price-table thead {
        display: none;
    }
    
    .price-table tbody {
        display: block;
        width: 100%;
    }
    
    .price-table tr {
        display: block;
        width: 100%;
        margin-bottom: 12px;
        background: rgba(61, 61, 61, 0.25);
        border-radius: 8px;
        overflow: hidden;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .price-table tr:active {
        transform: scale(0.98);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    .price-table td {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 12px 15px;
        font-size: 0.9rem;
        position: relative;
        border-bottom: 1px solid rgba(123, 98, 254, 0.1);
    }
    
    .price-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--accent-primary);
        font-size: 0.9rem;
        margin-bottom: 4px;
    }
    
    .price-table td:last-child {
        border-bottom: none;
    }
    
    .price-description {
        display: none; /* По умолчанию скрываем */
        font-size: 0.8rem;
        color: var(--text-secondary);
        margin-top: 4px;
        text-align: left;
        width: 100%;
        padding-top: 4px;
        border-top: 1px dashed rgba(123, 98, 254, 0.1);
    }
        .price-table td:has(.price-description:not(:empty)) .price-description {
        display: block;
    }
    
    /* Стиль для ячеек с ценой */
    .price-table td:not(:first-child) {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .price-highlight {
        font-weight: 600;
        color: var(--accent-secondary);
    }
    
    /* Анимация при наведении (если устройство поддерживает hover) */
    @media (hover: hover) {
        .price-table tr:hover {
            background: rgba(123, 98, 254, 0.1);
        }
    }
}

/* Дополнительные стили для выделенных строк */
.price-table tr.featured {
    position: relative;
    background: rgba(123, 98, 254, 0.05);
}

.price-table tr.featured::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
}

@media (max-width: 768px) {
    .price-table tr.featured {
        background: rgba(123, 98, 254, 0.1);
    }
    
    .price-table tr.featured::after {
        width: 100%;
        height: 3px;
        top: auto;
        bottom: 0;
        background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    }
}