/* Вертикальные разделители по центру между разделами */
.t-store__parts-switch-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

.t-store__parts-switch-btn {
    position: relative;
    padding: 0 15px !important;
    margin: 0 !important;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-size: 14px;
    opacity: 0.8;
}

/* Разделитель между элементами - тонкие черные */
.t-store__parts-switch-btn:not(:last-child):after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateX(50%);
    height: 12px;
    width: 0.5px;
    background-color: #000000;
    opacity: 0.4;
    transition: all 0.3s ease;
}

/* Активный раздел на десктопе */
.t-store__parts-switch-btn.t-active {
    font-size: 16px !important;
    font-weight: 600;
    opacity: 1;
    transform: scale(1.05);
}

/* Подчеркивание для активного раздела */
.t-store__parts-switch-btn.t-active:before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    width: 80%;
    background-color: #20422f; /* Цвет #20422f */
    border-radius: 1px;
}

/* Эффект при наведении для всех разделов */
.t-store__parts-switch-btn:hover {
    opacity: 1;
    transform: scale(1.02);
}

.t-store__parts-switch-btn.t-active:hover {
    transform: scale(1.08);
}

/* Мобильная версия - вариант 5 с цветом #20422f */
@media (max-width: 768px) {
    .t-store__parts-switch-wrapper {
        flex-direction: column;
        align-items: center;
        width: 100%;
        background: #fafafa;
        border-radius: 16px;
        padding: 10px 0;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }
    
    .t-store__parts-switch-btn {
        padding: 14px 20px !important;
        margin: 2px 0 !important;
        width: 90%;
        text-align: center;
        white-space: normal;
        font-size: 15px;
        opacity: 0.8;
        transition: all 0.4s ease;
        transform: none;
        background: #ffffff;
        border-radius: 12px;
        border: 1px solid transparent;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    }
    
    /* Заменяем линии на точки между пунктами */
    .t-store__parts-switch-btn:not(:last-child):after {
        content: "•";
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        right: auto;
        height: auto;
        width: auto;
        background: none;
        color: #20422f; /* Цвет #20422f */
        opacity: 0.4;
        font-size: 18px;
        font-weight: 300;
    }
    
    /* Активный пункт на мобильных - акцент цветом #20422f */
    .t-store__parts-switch-btn.t-active {
        font-size: 16px !important;
        font-weight: 700;
        opacity: 1;
        transform: scale(1.02);
        background: #ffffff;
        border: 1.5px solid #20422f; /* Цвет #20422f */
        box-shadow: 0 4px 12px rgba(32, 66, 47, 0.15);
        color: #20422f; /* Цвет #20422f */
        position: relative;
    }
    
    /* Свечение для активного цветом #20422f */
    .t-store__parts-switch-btn.t-active:before {
        content: "";
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background-color: #20422f; /* Цвет #20422f */
        border-radius: 14px;
        z-index: -1;
        opacity: 0.08;
        display: block !important;
    }
    
    /* Неактивные пункты на мобильных */
    .t-store__parts-switch-btn:not(.t-active) {
        font-size: 14px !important;
        opacity: 0.7;
        background: #ffffff;
    }
    
    /* Эффект при наведении на мобильных */
    .t-store__parts-switch-btn:not(.t-active):hover {
        background: #f8f9fa;
        border-color: #e0e0e0;
        transform: translateY(-1px);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
        color: #20422f; /* Цвет при наведении */
    }
    
    /* Убираем оригинальное подчеркивание на мобильных */
    .t-store__parts-switch-btn:before {
        display: none;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .t-store__parts-switch-btn {
        padding: 12px 16px !important;
        width: 85%;
    }
    
    .t-store__parts-switch-btn:not(.t-active) {
        font-size: 13px !important;
    }
    
    .t-store__parts-switch-btn.t-active {
        font-size: 15px !important;
    }
    
    .t-store__parts-switch-wrapper {
        border-radius: 12px;
        padding: 8px 0;
    }
}