.store-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.store-tabs__tab {
    border: 2px solid #fff;
    padding: 30px;
    background: #161141;
    position: relative;
    padding: 15px 25px 23px;
    transition: .5s;
    border-radius: 5px;
    color: #fff;
    font-size: 36px;
    font-family: "Oswald", sans-serif;
}
.store-tabs__tab:hover {
    box-shadow: 0 0 30px rgba(180,255,255,0.5);
}
.store-tabs__tab.active {
    background: #f10406;
}
.store-tabs__content {
    display: none;
}
.store-tabs__content.active {
    display: block;
}
@media (max-width: 767px) {
    .store-tabs {
        justify-content: flex-start;
        gap: 15px;
        width: 100%;
        overflow-x: auto;
    }
    .store-tabs__tab {
        font-size: 20px;
        padding: 10px 15px 14px;
        white-space: nowrap;
    }
}

.store__section-title {
    text-align: center;
}
.store__grid0 {
    display: grid;
    /* grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 50px; */
    grid-template-columns: repeat(auto-fill, minmax(max(160px, calc((100% - 20px) / 2)), 1fr));
    gap: clamp(1rem, 3vw, 3rem);

    margin-top: 50px;
}


.store__item {
    padding: 30px;
    background: #161141;
    position: relative;
    padding-bottom: 80px;
    transition: .5s;
    border-radius: 5px;
    overflow: hidden;
}
.store__item:hover {
    box-shadow:0 0 30px rgba(180,255,255,0.5);
}
.store__info {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 15px;
    right: 15px;
    background: none;
    border: 2px solid #fff;
    color: #fff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    padding: 0;
}
.store__chips {
    text-align: center;
    font-size: 45px;
    font-weight: bold;
    color: #fff;
    margin: 15px 0 30px;
    text-shadow: 0 0 30px #ff0000;
}
.store__tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}
.store__td--icon img {
    max-width: 90px;
}
.store__td--value {
    font-size: 22px;
    color: #fff;
    font-weight: bold;
}
.store__btn {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    background: #f10406;
    width: 100%;
    border: none;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    gap: 15px;
}
.store__old-price {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    opacity: 0.6;
    text-decoration: line-through;
}
.store__more {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    background: #161141;
    opacity: 0.9;
    width: 100%;
    height: calc(100% - 60px);
    overflow: hidden;
    transition: .5s;
    transform: translateY(-100%);
}
.store__more__inner {
    padding: 60px 30px 30px;
}
.store__more.active {
    transform: none;
}
.store__more h3 {
    margin-bottom: 30px;
}
.store__more p {
    color: #fff;
    font-size: 20px;
}
.store__more__close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 15px;
    right: 15px;
    background: none;
    border: 2px solid #fff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
}
.store__more__close::before, .store__more__close::after {
    content: '';
    display: block;
    width: 15px;
    height: 2px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(45deg);
    background: #fff;
}
.store__more__close::after {
    transform: translate(-50%,-50%) rotate(-45deg);
}



.pay {
    cursor: pointer;
}

/* балансы */

/* .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
} */

/* .section-header .store-balance-grid {
    gap: 15px;
}

.store-balance-panel {
    background: rgba(22, 17, 65, 0.6);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.store-balance-grid {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.store-balance-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    min-width: 120px;
} */

.store-balance-panel {
    background: transparent;
    padding: 20px 0;
    margin-bottom: 30px;
}

.store-balance-grid {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.store-balance-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #161141;
    border-radius: 8px;
    min-width: 140px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.store-balance-value {
    color: #ffffff;
    font-weight: 500;
    font-family: 'Oswald';
}

.store-balance-item  img {
    width: 40px;
    display: block;
}

@media (max-width: 1200px) {
    .section-header--middle {
        max-inline-size: 500px;
        margin: auto;
        margin-bottom: 110px;
        margin-top: -40px;
        text-align: center;
    }
    
    .section-header--middle:after {
        bottom: -35px;
    }

    .store-balance-panel {
        background: transparent;
        padding: 0px 0; 
        margin-bottom: 30px;
        margin-top: -40px;
    }
    .store-balance-grid {
        flex-direction: row;
        gap: 10px;
        flex-wrap:nowrap;
    }

    .store-balance-item {
        justify-content: center;
        width: 200px;
    }
    .store-balance-item img {
        width: 27px;
    }

    .store-tabs {
        flex-direction: row;
        align-items: center;
    }

    .store-tabs__tab {
        width: 200px;
        text-align: center;
    }
}

/* Стили для попапа обмена */
.exchange-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.exchange-popup__overlay {
    /* position: absolute; */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.exchange-popup__content {
    /* position: absolute; */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    min-width: 300px;
    max-width: 90%;
}

.exchange-popup__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.exchange-popup__header h3 {
    margin: 0 auto;
    color: #333;
}

.exchange-popup__close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.exchange-popup__close:hover {
    color: #333;
}

.exchange-popup__body {
    margin-bottom: 20px;
    text-align: center;
}

.exchange-popup__body p {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.exchange-popup__balance {
    font-size: 14px;
    color: #666;
}

.exchange-popup__footer {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.exchange-popup__btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    min-width: 80px;
}

.exchange-popup__btn--confirm {
    background: #28a745;
    color: white;
}

.exchange-popup__btn--confirm:hover {
    background: #218838;
}

.exchange-popup__btn--cancel {
    background: #dc3545;
    color: white;
}

.exchange-popup__btn--cancel:hover {
    background: #c82333;
}

.answer-error {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #dc3545;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.answer-error.active {
    opacity: 1;
    transform: translateX(0);
}

/* Курсор для товаров с обменом */
.exchange-item {
    cursor: pointer;
}

.exchange-item:hover {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}


/*  */

        /* ПАНЕЛЬ БАЛАНСА С ПЕРЕКЛЮЧАТЕЛЕМ (DESKTOP ONLY) */
        .balance-wrapper {
            background: transparent;
            padding: 20px 0;
            margin-bottom: 30px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .balance-wrapper.friend-mode {
            background: rgba(241, 4, 6, 0.08);
            border-radius: 12px;
            padding: 20px;
            border: 2px solid rgba(241, 4, 6, 0.4);
            box-shadow: 0 0 30px rgba(241, 4, 6, 0.2);
        }

        .balance-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            gap: 20px;
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 15px;
            flex: 1;
            min-width: 0;
        }

        .user-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: 2px solid #fff;
            background: #161141;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }

        .friend-mode .user-avatar {
            border-color: #f10406;
            box-shadow: 0 0 15px rgba(241, 4, 6, 0.5);
        }
        .user-avatar-img {
            border-radius: 50%;
        }

        .user-name-block {
            min-width: 0;
            flex: 1;
        }

        .user-name {
            font-size: 20px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .friend-mode .user-name {
            color: #f10406;
        }

        .mode-label {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.6);
            margin-top: 2px;
            transition: all 0.3s ease;
        }

        .friend-mode .mode-label {
            color: rgba(241, 4, 6, 0.8);
        }

        .purchase-mode-toggle {
            display: flex;
            align-items: center;
            gap: 10px;
            background: #161141;
            padding: 12px 24px;
            border-radius: 8px;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.3s ease;
            white-space: nowrap;
            position: relative;
            overflow: hidden;
        }

        .purchase-mode-toggle:hover {
            box-shadow: 0 0 20px rgba(180, 255, 255, 0.4);
            transform: translateY(-2px);
        }

        .purchase-mode-toggle:active {
            transform: translateY(0);
        }

        .friend-mode .purchase-mode-toggle {
            background: #f10406;
            border-color: #fff;
        }

        .friend-mode .purchase-mode-toggle:hover {
            box-shadow: 0 0 25px rgba(241, 4, 6, 0.6);
        }

        .toggle-icon {
            font-size: 20px;
            transition: transform 0.3s ease;
        }

        .purchase-mode-toggle:hover .toggle-icon {
            transform: scale(1.1) rotate(5deg);
        }

        .toggle-text {
            font-size: 16px;
            font-weight: 500;
        }

        /* Индикатор загрузки для кнопки */
        .toggle-loading {
            display: none;
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top-color: #fff;
            border-radius: 50%;
            animation: spin 0.6s linear infinite;
        }

        .purchase-mode-toggle.loading .toggle-loading {
            display: block;
        }

        .purchase-mode-toggle.loading .toggle-icon,
        .purchase-mode-toggle.loading .toggle-text {
            display: none;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }
/*  */
/* СЕГМЕНТИРОВАННЫЙ КОНТРОЛ */
.toggle-segmented {
    display: flex;
    background: #161141;
    border-radius: 8px;
    padding: 4px;
    gap: 4px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.toggle-segmented:hover {
    box-shadow: 0 0 20px rgba(180, 255, 255, 0.3);
}

.toggle-segment {
    flex: 1;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border: none;
    white-space: nowrap;
    font-family: 'Oswald', sans-serif;
}

.toggle-segment:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
}

.toggle-segment.active {
    background: #fff;
    color: #161141;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.toggle-segment.active.friend {
    background: #f10406;
    color: #fff;
}

.toggle-segment-icon {
    font-size: 18px;
    width: 24px;
}

.toggle-segment-arrow {
    font-size: 12px;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.toggle-segment.friend:hover .toggle-segment-arrow {
    transform: translateY(2px);
}

/* Скрываем стрелку у активного сегмента "Другу" когда друг выбран */
.toggle-segment.friend.active .toggle-segment-arrow {
    display: inline;
}
/*  */
        .store-balance-grid {
            display: flex;
            gap: 20px;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
        }

        .store-balance-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 20px;
            background: #161141;
            border-radius: 8px;
            min-width: 140px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
        }

        .store-balance-item.loading {
            opacity: 0.6;
        }

        .store-balance-item img {
            width: 40px;
            height: 40px;
        }

        .store-balance-value {
            font-size: 18px;
            font-weight: 500;
        }

        /* Скелетон для загрузки баланса */
        .balance-skeleton {
            width: 80px;
            height: 20px;
            background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 100%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
            border-radius: 4px;
        }

        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }

        /* МОДАЛЬНОЕ ОКНО ВЫБОРА ДРУГА */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.85);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            padding: 20px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal-overlay.active {
            display: flex;
            opacity: 1;
        }

        .modal-content {
            background: #161141;
            border-radius: 12px;
            padding: 30px;
            max-width: 600px;
            width: 100%;
            max-height: 80vh;
            display: flex;
            flex-direction: column;
            border: 2px solid #f10406;
            box-shadow: 0 10px 50px rgba(241, 4, 6, 0.3);
            transform: scale(0.9);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .modal-overlay.active .modal-content {
            transform: scale(1);
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .modal-header h2 {
            font-size: 28px;
        }

        .modal-close {
            background: none;
            border: 2px solid #fff;
            color: #fff;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }

        .modal-close:hover {
            background: #fff;
            color: #161141;
            transform: rotate(90deg);
        }

        .search-box {
            margin-bottom: 20px;
        }

        .search-box input {
            width: 100%;
            padding: 14px 18px;
            background: #0a0825;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 8px;
            color: #fff;
            font-size: 16px;
            font-family: 'Oswald', 'Arial', sans-serif;
            transition: all 0.3s ease;
        }

        .search-box input:focus {
            outline: none;
            border-color: #f10406;
            box-shadow: 0 0 15px rgba(241, 4, 6, 0.3);
        }

        .search-box input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .friends-list {
            overflow-y: auto;
            max-height: 450px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding-right: 5px;
        }

        .friends-list::-webkit-scrollbar {
            width: 8px;
        }

        .friends-list::-webkit-scrollbar-track {
            background: #0a0825;
            border-radius: 4px;
        }

        .friends-list::-webkit-scrollbar-thumb {
            background: #f10406;
            border-radius: 4px;
        }

        .friends-list::-webkit-scrollbar-thumb:hover {
            background: #c40305;
        }

        .friend-item {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px;
            background: #0a0825;
            border-radius: 8px;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.3s ease;
        }

        .friend-item:hover {
            border-color: #f10406;
            box-shadow: 0 0 20px rgba(241, 4, 6, 0.3);
            transform: translateX(5px);
        }

        .friend-item:active {
            transform: translateX(5px) scale(0.98);
        }

        .friend-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: #161141;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            border: 2px solid #fff;
            flex-shrink: 0;
        }
        .friend-avatar img {
            border-radius: 50%;
        }

        .friend-info {
            flex: 1;
            min-width: 0;
        }

        .friend-name {
            font-size: 20px;
            font-weight: 500;
            margin-bottom: 4px;
        }

        .friend-status {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.6);
        }

        .friend-status.online {
            color: #28a745;
        }

        /* ПУСТОЙ СПИСОК ДРУЗЕЙ */
        .empty-friends {
            text-align: center;
            padding: 60px 20px;
            color: rgba(255, 255, 255, 0.6);
        }

        .empty-friends-icon {
            font-size: 64px;
            margin-bottom: 20px;
            opacity: 0.5;
        }

        .empty-friends-text {
            font-size: 18px;
            margin-bottom: 10px;
        }

        .empty-friends-hint {
            font-size: 14px;
            opacity: 0.7;
        }

        /* ИНДИКАТОР ЗАГРУЗКИ СПИСКА */
        .friends-loading {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 60px 20px;
            gap: 20px;
        }

        .friends-loading-spinner {
            width: 50px;
            height: 50px;
            border: 4px solid rgba(241, 4, 6, 0.2);
            border-top-color: #f10406;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        .friends-loading-text {
            font-size: 16px;
            color: rgba(255, 255, 255, 0.7);
        }

        /* ТАБЫ МАГАЗИНА */


        .store-tabs__tab.hidden {
            display: none;
        }

        /* ТОВАРЫ */
        /* .store-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 30px;
        } */

        .store-item {
            background: #161141;
            border-radius: 8px;
            padding: 20px;
            text-align: center;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .store-item:hover {
            box-shadow: 0 0 30px rgba(180, 255, 255, 0.5);
            transform: translateY(-5px);
        }

        .store-item img {
            width: 100%;
            max-width: 150px;
            margin-bottom: 15px;
        }

        .item-name {
            font-size: 20px;
            margin-bottom: 10px;
        }

        .item-price {
            font-size: 24px;
            color: #f10406;
            font-weight: bold;
        }

        /* УВЕДОМЛЕНИЯ */
        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            background: #28a745;
            color: white;
            padding: 15px 25px;
            border-radius: 8px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
            z-index: 2000;
            display: none;
            align-items: center;
            gap: 12px;
            max-width: 400px;
            animation: slideInRight 0.4s ease;
        }

        .notification.show {
            display: flex;
        }

        .notification.error {
            background: #dc3545;
        }

        @keyframes slideInRight {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        .notification-icon {
            font-size: 24px;
        }

        .notification-text {
            flex: 1;
            font-size: 16px;
        }

        /* DESKTOP ONLY - скрываем функционал на мобильных */
        @media (max-width: 768px) {
            .balance-header {
                flex-direction: column;
            }
            .purchase-mode-toggle {
                display: none !important;
            }
            /* .user-name, .mode-label {
                display:none
            } */
            
            /* .balance-wrapper.friend-mode {
                background: transparent;
                border: none;
                box-shadow: none;
                padding: 20px 0;
            } */
        }


/* В твой store.css добавь/замени: */

/* Desktop */
.store-tabs-wrapper {
    position: relative;
    margin-bottom: 3rem;
}

.store-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-tabs__tab {
    border: 2px solid #fff;
    padding: 15px 25px;
    background: #161141;
    transition: all 0.3s ease;
    border-radius: 5px;
    color: #fff;
    font-size: 2.25rem;
    font-family: "Oswald", sans-serif;
    cursor: pointer;
    white-space: nowrap;
    min-width: fit-content;
}

.store-tabs__tab:hover {
    box-shadow: 0 0 30px rgba(180, 255, 255, 0.5);
}

.store-tabs__tab.active {
    background: #f10406;
}

/* Mobile */
@media (max-width: 1200px) {
    .store-tabs-wrapper {
        margin-bottom: 2rem;
    }
    
    /* Индикаторы скролла */
    .store-tabs-wrapper::before,
    .store-tabs-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 10px;
        width: 40px;
        pointer-events: none;
        z-index: 2;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .store-tabs-wrapper::before {
        left: 0;
        background: linear-gradient(90deg, #02121D 0%, transparent 100%);
    }
    
    .store-tabs-wrapper::after {
        right: 0;
        background: linear-gradient(270deg, #02121D 0%, transparent 100%);
    }
    
    .store-tabs-wrapper.can-scroll-left::before {
        opacity: 1;
    }
    
    .store-tabs-wrapper.can-scroll-right::after {
        opacity: 1;
    }
    
    .store-tabs {
        justify-content: flex-start;
        gap: 10px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 0 15px 10px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    
    .store-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .store-tabs__tab {
        font-size: 1rem;
        padding: 10px 18px;
        flex-shrink: 0;
    }
}

@media (max-width: 375px) {
    .store-tabs__tab {
        font-size: 0.875rem;
        padding: 8px 14px;
    }
}
        
/* ========== STORE GRID FIX ========== */
.store__grid {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

/* 4 колонки на больших экранах */
@media (min-width: 1279px) {
    .store__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 3 колонки на средних (ФИКС ПРОБЛЕМЫ!) */
@media (min-width: 720px) and (max-width: 1279px) {
    .store__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

/* 2 колонки на планшетах */
@media (min-width: 600px) and (max-width: 719px) {
    .store__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* 2 узкие колонки на мобилках */
@media (max-width: 599px) {
    .store__grid {
        grid-template-columns: repeat(2, minmax(145px, 1fr));
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .store__item {
        padding: 1rem;
        padding-bottom: 3.5rem;
    }
    
    .store__chips {
        font-size: clamp(1.125rem, 5vw, 1.5625rem);
        margin: 0.5rem 0 1rem;
    }
    
    .store__td--icon img {
        max-width: 35px;
    }
    
    .store__td--value {
        font-size: clamp(0.625rem, 2.8vw, 0.875rem);
    }
    
    .store__btn {
        height: 50px;
        font-size: clamp(0.875rem, 3.5vw, 1.125rem);
    }
}

/* iPhone SE и меньше */
@media (max-width: 375px) {
    .store__grid {
        gap: 0.75rem;
    }
    
    .store__item {
        padding: 0.75rem;
        padding-bottom: 3rem;
    }
}


Вижу проблему! У тебя в HTML 9 снежинок, а в CSS стили только до :nth-child(8). Девятая снежинка без анимации просто висит статично.

Вот исправленный CSS с добавленной 9-й снежинкой:

css
/* ========== СНЕЖИНКИ В КАРТОЧКАХ ========== */
.product-snowflakes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
    border-radius: 5px;
}

.snowflake {
    position: absolute;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    user-select: none;
    will-change: transform, opacity;
}

/* Распределение снежинок */
.snowflake:nth-child(1) {
    left: 10%;
    font-size: 14px;
    animation: snowfall-1 25s ease-in-out infinite;
    animation-delay: -5s;
    opacity: 0.4;
}

.snowflake:nth-child(2) {
    left: 25%;
    font-size: 22px;
    animation: snowfall-2 22s ease-in-out infinite;
    animation-delay: -12s;
    opacity: 0.7;
}

.snowflake:nth-child(3) {
    left: 42%;
    font-size: 12px;
    animation: snowfall-3 35s ease-in-out infinite;
    animation-delay: -20s;
    opacity: 0.3;
}

.snowflake:nth-child(4) {
    left: 58%;
    font-size: 18px;
    animation: snowfall-1 28s ease-in-out infinite;
    animation-delay: -8s;
    opacity: 0.6;
}

.snowflake:nth-child(5) {
    left: 72%;
    font-size: 15px;
    animation: snowfall-2 30s ease-in-out infinite;
    animation-delay: -15s;
    opacity: 0.5;
}

.snowflake:nth-child(6) {
    left: 88%;
    font-size: 14px;
    animation: snowfall-3 24s ease-in-out infinite;
    animation-delay: -2s;
    opacity: 0.6;
}

.snowflake:nth-child(7) {
    left: 35%;
    font-size: 13px;
    animation: snowfall-1 32s ease-in-out infinite;
    animation-delay: -25s;
    opacity: 0.4;
}

.snowflake:nth-child(8) {
    left: 80%;
    font-size: 20px;
    animation: snowfall-2 26s ease-in-out infinite;
    animation-delay: -10s;
    opacity: 0.7;
}

.snowflake:nth-child(9) {
    left: 50%;
    font-size: 16px;
    animation: snowfall-3 27s ease-in-out infinite;
    animation-delay: -18s;
    opacity: 0.5;
}

/* Анимации с мягким покачиванием */
@keyframes snowfall-1 {
    0% {
        transform: translateY(-20px) translateX(0) rotate(0deg);
        opacity: 0;
    }
    15% { opacity: 0.8; }
    85% { opacity: 0.8; }
    100% {
        transform: translateY(850px) translateX(30px) rotate(180deg);
        opacity: 0;
    }
}

@keyframes snowfall-2 {
    0% {
        transform: translateY(-20px) translateX(0) rotate(0deg);
        opacity: 0;
    }
    15% { opacity: 0.8; }
    85% { opacity: 0.8; }
    100% {
        transform: translateY(850px) translateX(-40px) rotate(-120deg);
        opacity: 0;
    }
}

@keyframes snowfall-3 {
    0% {
        transform: translateY(-20px) translateX(0) rotate(0deg);
        opacity: 0;
    }
    15% { opacity: 0.8; }
    85% { opacity: 0.8; }
    100% {
        transform: translateY(850px) translateX(20px) rotate(360deg);
        opacity: 0;
    }
}

/* На мобилках уменьшаем снежинки */
@media (max-width: 599px) {
    .snowflake {
        font-size: 10px;
    }
    
    .snowflake:nth-child(2),
    .snowflake:nth-child(4),
    .snowflake:nth-child(8) {
        font-size: 14px;
    }
    
    .snowflake:nth-child(3),
    .snowflake:nth-child(9) {
        font-size: 9px;
    }
}