/* ===== ОСНОВНЫЕ СТИЛИ ===== */
.tablprop { 
    width: 90%; 
    border-collapse: collapse; 
    margin-bottom: 20px; 
}

.tablprop td { 
    padding: 6px; 
    border-bottom: 1px solid #eef2f6; 
}

/* ===== ВКЛАДКИ ===== */
.product-tabs-wrapper { 
    margin-top: 10px; 
    background: #fff; 
    border-radius: 20px; 
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: block;
    position: relative;
}

/* Навигация вкладок */
.tabs-navigation {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-bottom: 15px;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 8px;
    box-sizing: border-box;
}

.tabs-navigation::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* Кнопки вкладок */
.tab-button {
    flex: 0 0 auto;
    min-width: fit-content;
    white-space: nowrap;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e50;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.2s ease;
    font-family: inherit;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.tab-button:hover { 
    background: #eef2ff; 
    color: #1f77ac; 
}

.tab-button:focus-visible {
    outline: 2px solid #1f77ac;
    outline-offset: 2px;
}

.tab-button.active { 
    background: #1f77ac; 
    color: white; 
    border-color: #1f77ac;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(31, 119, 172, 0.3);
}

/* Содержимое вкладок */
.tab-content { 
    display: none; 
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    animation: fadeIn 0.3s ease; 
    padding: 6px 6px 20px; 
    box-sizing: border-box;
}

.tab-content.active-tab { 
    display: block; 
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(8px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* ===== ЛИПКАЯ ПЛАШКА ===== */
.tech-specs-sticky-bottom {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 12px 0;
    box-sizing: border-box;
}

.price-line-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 -8px 24px rgba(31, 119, 172, 0.08);
    background-color: #f4f8ff;
    border: 1px solid #cbdfff;
    border-radius: 12px;
    padding: 10px 10px 10px 20px;
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto;
}

.price-info-block {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.price-status {
    display: inline-block;
    white-space: nowrap;
    font-weight: 700;
}

.price-text {
    margin: 0;
    text-indent: 0;
    font-size: 1rem;
}

.cta-wrapper {
    flex-shrink: 0;
}

.cta-button {
    display: inline-block;
    background-color: #0284c7;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.cta-button:hover {
    background-color: #0369a1;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(3, 105, 161, 0.25);
    transform: translateY(-1px);
    text-decoration: none;
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(3, 105, 161, 0.2);
}

@media (max-width: 1650px) {
.tabs-navigation { width: calc(100vw - 320px);}
}

@media (max-width:1022px) {
.tabs-navigation { width: calc(100vw - 70px);}
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 860px) {
    .tablprop { 
        width: 100%; 
    }
    
    .product-tabs-wrapper {
        padding: 15px;
    }
    
    .tabs-navigation {
        width: calc(100vw - 70px);
        margin-bottom: 12px;
        gap: 6px;
    }
    
    .tab-button {
        padding: 9px 18px;
        font-size: 0.95rem;
    }

    .tech-specs-sticky-bottom {padding: 0;}
    
    .price-line-card {
        flex-direction: column;
        align-items: stretch;
        background-color: initial;
        border: none;
        box-shadow: none;
    }
    
    .price-info-block {
        display: none;
    }

    .cta-button {
        display: block;
        text-align: center;
        width: 100%;
        padding: 12px 20px;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .product-tabs-wrapper {
        padding: 6px;
        border-radius: 15px;
    }
    
    .tabs-navigation {
        gap: 4px;
        margin-bottom: 10px;
        width: calc(100vw - 50px);
    }
    
    .tab-button {
        padding: 8px 14px;
        font-size: 0.85rem;
        border-radius: 20px;
    }
    
    .price-info-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .cta-button {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
}