/* Equal Image Sizing for Product Gallery */
.thumb {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: #f8f8f8;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Optional: Better Grid Layout */
.men-item-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.item {
    transition: transform 0.3s ease;
}

.item:hover {
    transform: translateY(-5px);
}


/* Equal Image Sizing */
/* Equal Image Sizing */
.thumb {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: #f8f8f8;
    cursor: pointer;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

/* ZOOM ON HOVER */
.thumb:hover img {
    transform: scale(1.15);
}

/* FULLSCREEN IMAGE VIEWER */
.fullscreen-viewer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.fullscreen-viewer.active {
    display: flex;
}

.fullscreen-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fullscreen-viewer img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.fullscreen-info {
    margin-top: 20px;
    text-align: center;
    color: white;
}

.fullscreen-info h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.fullscreen-info h4 {
    font-size: 20px;
    color: #ccc;
    margin-bottom: 5px;
}

.fullscreen-info span {
    font-size: 14px;
    color: #999;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-button:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}