.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 1em;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
/* хром, сафари */
.element::-webkit-scrollbar { width: 0; }

/* ie 10+ */
.element { -ms-overflow-style: none; }

/* фф (свойство больше не работает, других способов тоже нет)*/
.element { overflow: -moz-scrollbars-none; }

.product-card {
    transition: transform 0.3s;
    margin: 0 auto;
    border: none;
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    font-family: "GrishenkoOpiyatNbp", sans-serif;
    background-color: #fff;
    color: #000;
}

.product-image-container {
    position: relative;
    height: 500px;
    width: 100%;
    overflow: hidden;
}

.product-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease; /* Плавное изменение opacity вместо трансформации */
}

/* Убираем эффект приближения */
.product-image:hover {
    transform: none; /* Отключаем любое увеличение */
}

.preorder-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    font-size: 0.7rem;
    padding: 5px 10px;
    background-color: #000;
    color: #fff;
    text-transform: uppercase;
}

.card-title {
    color: #000;
    font-size: .7rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.card-link {
    color: #000;
    text-decoration: none;
}

.card-link:hover {
    color: #000;
}

.price {
    font-weight: bold;
    color: #000;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.card-body {
    padding: 1rem;
}

.btn-brutal {
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
    padding: 10px 20px;
    font-weight: bold;
    width: 100%;
    transition: all 0.2s;
    cursor: pointer;
    font-family: "GrishenkoOpiyatNbp", sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-brutal:hover {
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
}

@media (max-width: 991px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .product-image-container {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .product-grid {
        grid-template-columns: 1fr !important; /* одна колонка */
        gap: 15px;
        padding: 0.5em;
    }

    .product-card {
        margin-bottom: 15px;
        width: 100%;
    }

    .product-image-container {
        height: 600px; /* уменьшил для мобильных */
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image-container {
        height: 300px;
    }
}
