/* ===== КАТАЛОГ ЦВЕТОВ - ТОЛЬКО СТИЛИ ===== */

.t-store__grid-cont {
    padding: 20px 15px;
    text-align: center;
}

.t-store__parts-switch-wrapper {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 60px;
    margin: 0 auto 30px auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: auto;
}

.t-store__parts-item {
    display: inline-block;
    margin: 0;
    position: relative;
}

.t-store__parts-switch-btn {
    padding: 12px 28px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
    color: #5a4a3a;
    background: transparent;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    text-align: center;
}

/* Активное состояние для любого выбранного раздела */
.t-store__parts-switch-btn.t-active {
    background: linear-gradient(135deg, #e29292 0%, #d47a7a 100%);
    color: white !important;
    box-shadow: 0 4px 15px rgba(226, 146, 146, 0.4);
}

/* Стиль для кнопки "Все" когда она активна */
.t-store__parts-switch-btn-all.t-active {
    background: linear-gradient(135deg, #e29292 0%, #d47a7a 100%);
    color: white !important;
    box-shadow: 0 4px 15px rgba(226, 146, 146, 0.4);
}

/* Обычное состояние кнопки "Все" (когда не активна) */
.t-store__parts-switch-btn-all {
    background: transparent;
    color: #5a4a3a !important;
    box-shadow: none;
}

@media (min-width: 769px) {
    .t-store__parts-switch-btn:hover {
        color: #e29292;
        transform: translateY(-2px);
        background: rgba(226, 146, 146, 0.1);
    }
    
    .t-store__parts-switch-btn.t-active:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(226, 146, 146, 0.5);
        background: linear-gradient(135deg, #d47a7a 0%, #c56868 100%);
    }
}

/* ===== АДАПТИВ ДЛЯ МОБИЛЬНЫХ ===== */
@media (max-width: 768px) {
    .t-store__grid-cont {
        padding: 15px 12px;
    }

    .t-store__parts-switch-wrapper {
        gap: 10px;
        padding: 14px 20px;
        border-radius: 50px;
        margin-bottom: 20px;
        background: rgba(255, 255, 255, 0.95);
        justify-content: center;
    }

    .t-store__parts-switch-btn {
        padding: 8px 20px;
        font-size: 13px;
        letter-spacing: 0.3px;
        white-space: nowrap;
    }

    .t-store__parts-switch-btn.t-active {
        box-shadow: 0 2px 10px rgba(226, 146, 146, 0.3);
    }
}

/* ===== ДЛЯ ОЧЕНЬ МАЛЕНЬКИХ ЭКРАНОВ (до 480px) ===== */
@media (max-width: 480px) {
    .t-store__grid-cont {
        padding: 12px 10px;
    }

    .t-store__parts-switch-wrapper {
        gap: 8px;
        padding: 12px 16px;
        border-radius: 40px;
        justify-content: center;
    }

    .t-store__parts-switch-btn {
        padding: 6px 14px;
        font-size: 12px;
    }
}

/* ===== ДЛЯ ПЛАНШЕТОВ (768px - 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .t-store__parts-switch-wrapper {
        gap: 10px;
        padding: 16px 24px;
        justify-content: center;
    }

    .t-store__parts-switch-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}