.ProductCardGalleryContainer {
    height: auto;
    display: flex; justify-content: center; align-items: center;
}

.ProductCardGallery {
    width: 100%; height: auto;
    display: flex;
    position: relative;
    transition: all 0.5s ease;
}

.ProductCardContainer {
    aspect-ratio: 1/1;
    min-width: 25vw;
}

@media screen and (max-width: 1400px) {
    .ProductCardContainer { min-width: 45vw; }
}
@media screen and (max-width: 1200px) {
    .ProductCardContainer { min-width: 50vw; }
}
@media screen and (max-width: 992px) {
    .ProductCardContainer { min-width: 55vw; }
}
@media screen and (max-width: 768px) {
    .ProductCardContainer { min-width: 60vw; }
}
@media screen and (max-width: 576px) {
    .ProductCardContainer { min-width: 100%; }
}

.ProductCard {
    width: 100%; aspect-ratio: 1/1;
    display: flex; justify-content: center;
    overflow: hidden;
    position: relative;
    background-color: #ffffff;
    transition: all 0.5s ease;
}

.CardOverlay{
    width: 100%; aspect-ratio: 1/1;
    position: relative;
    grid-row: 1; grid-column: 1;
    background-color: #333333;
    z-index: 5;
    opacity: 0.3;
}

.ProductCardimgCon{
    width: 100%; height: 100%;
    position: relative;
    display: grid; grid-template-rows: 1fr; grid-template-columns: 1fr;
}
.ProductCard img {
    width: 100%; height: 100%; object-fit: cover;
    grid-row: 1; grid-column: 1;
    transition: transform 0.5s ease;
    transform: scale(1);
}

.ProductCardtext{
    width: 100%; height: 100%;
    display: flex; justify-content: center;
}

.ProductCard h3 {
    color: white;
    font-size: 35px; font-weight: 700;
    bottom: 60px;
    position: absolute;
    transition: all 0.5s ease;
    z-index: 15;
}

.ProductCard a {
    width: 45px; height: 45px;
    position: absolute;
    background-color: #ffffff;
    color: #333333;
    display: flex; justify-content: center; align-items: center;
    border-radius: 50%;
    bottom: 60px;
    text-decoration: none;
    transition: all 0.5s ease;
    opacity: 0;
    z-index: 10;
}

.ProductCard svg {
    width: 22px;
    height: 22px;
}

.ProductCard:hover img { transform: scale(1.2); }
.ProductCard:hover h3 { bottom: 40px; }
.ProductCard:hover a { bottom: 100px; opacity: 1; }

.ProductCardGallerybtn {
    width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    pointer-events: none;
    z-index: 10;
}

.gallery-button {
    width: 50px; height: 50px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
}

.gallery-button svg { width: 25px; height: 25px; }

.gallery-button.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.gallery-button.hide {
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
}
