.product-container {
    max-width: 1200px; /* ограничение по ширине */
    margin: 0 auto;    /* центрирование */
    padding: 0 20px;   /* отступы слева и справа */
    box-sizing: border-box;
    user-select: none;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}


.product-tile {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
}
.product-tile.sold {
    opacity: 0.5;
    filter: grayscale(100%);
}
.product-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.product-info {
    padding: 10px;
}

.product-name {
    font-size: 16px;
    font-weight: bold;
    margin: 5px 0;
}

.product-price {
    color: #28a745;
    font-weight: 600;
}

.product-shop {
    font-size: 12px;
    color: #667;
}

.tags {
    margin: 10px 0;
}

.tags a {
    display: inline-block;
    margin-right: 10px;
    padding: 5px 10px;
    background: #f2f2f2;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.tags a:hover {
    background: #d9d9d9;
}

.favorite-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #aaa;
    transition: color 0.3s, transform 0.3s ease;
}


.favorite-btn.favorited {
    color: red !important;
}


.board-slide {
    display: block;
    flex: 0 0 100%;
    height: 300px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
}

.board-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.banner-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.banner-slider-track {
    display: flex;
    width: 100%;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
report-btn


.slider-btn.left { left: 10px; }
.slider-btn.right { right: 10px; }

.slide-img-link {
    display: block;
    height: 100%;
    flex: 0 0 100%;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-tile:hover .report-btn {
    opacity: 0.5;
    pointer-events: auto;
}
.sold-overlay {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: #d9534f;
    color: white;
    padding: 4px 8px;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}
.slider-zone {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%; /* ширина зоны */
    z-index: 5;
    cursor: pointer;
}

.left-zone {
    left: 0;
}

.right-zone {
    right: 0;
}
.nav-search-form {
    flex: 1;
    display: flex;
    margin: 0;
}


@media screen and (max-width: 768px) {
    .slider-zone {
        width: 0%;
    }
    .nav-left-products {
        max-width: 1160px;
        position: sticky;
        top: 0px; /* высота твоей верхней навигации */
        z-index: 1000;
        padding: 10px 10px;
    }
    #addProductBtn {
        padding: 8px 12px;
        font-size: 20px;
        border-radius: 6px;
        border: 1px solid #ccc;
        cursor: pointer;
        min-width: 35px;
   }
    .product-container {
        padding: 0 0px;
    }

    .banner-slider-wrapper {
        border-radius: 10px;
    }

    .board-slide {
        height: 200px;
        border-radius: 10px;
    }



    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .product-image {
        height: 200px;
    }

    .product-name {
        font-size: 14px;
    }

    .product-price {
        font-size: 14px;
    }

    .tags a {
        font-size: 12px;
        padding: 4px 8px;
    }

    .favorite-btn {
        font-size: 20px;
    }
    .tags {
        flex-direction: column;
        align-items: flex-start;
    }

    .tags strong {
        margin-bottom: 8px;
        font-size: 15px;
    }

    .tags a {
        font-size: 13px;
        padding: 5px 10px;
    }

    .u-modal__content {
        width: 95%;
        padding: 15px;
    }

    #reportForm label {
        font-size: 13px;
    }

    #reportForm button[type="submit"] {
        font-size: 15px;
    }
}


