.galery .product-image {
    height: auto;
    display: flex;
    background: none;
    position: relative;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.galery .product-card{
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: table-footer-group;
    background: #edf2f7;
	    cursor: pointer;
}
/* Сетка карточек */
.galery .products-grid {
    display: block;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
	    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.product-image {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 6px;
    padding: 12px;
}
.no-images { grid-column: 1/-1; text-align: center; color: #888; padding: 20px 0; font-size: 0.9rem; }

/* Лайтбокс (оставляем без изменений, он уже рабочий) */
.lightbox-overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.92);
    display: flex; align-items: center; justify-content: center;
    z-index: 10000; opacity: 0; visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-img { max-width: 92%; max-height: 88vh; object-fit: contain; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute; background: rgba(255,255,255,0.15); border: none; color: #fff;
    font-size: 2rem; cursor: pointer; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); transform: scale(1.1); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; } .lightbox-next { right: 16px; }
.lightbox-counter {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    color: #fff; font-size: 0.95rem; background: rgba(0,0,0,0.5); padding: 4px 12px; border-radius: 20px; user-select: none;
}

@media (max-width: 768px) {
    .products-grid { grid-template-columns: 1fr; padding: 12px; gap: 16px; }
    .lightbox-prev, .lightbox-next { font-size: 1.5rem; width: 36px; height: 36px; }
}
.galery .product-image img{
    position: relative !important;
    left: auto;
    top: auto;
	    width: auto;
    height: auto;
    transform: initial;
}
.lohir{
	    text-align: center;
    margin: 0 auto;
    width: auto;
    display: grid;
    background: black;
    color: white;
    padding: 5px 15px;
    max-width: 400px;
    border-radius: 3px;
    margin-top: 15px;
}