.gallery-section {
    padding: clamp(2.5rem, 4vw, 4.5rem) 0;
}

/* gallery */
.gallery-title {
    font-size: 36px;
    color: var(--text-color);
    text-align: center;
    font-weight: 700;
    margin-bottom: clamp(2rem, 4vw, 4rem);
}

.share,
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.share {
    justify-content: flex-end;
}

.tags a,
.share a {
    color: var(--text-color);
    text-decoration: none;
}

.tags a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.55rem 0.95rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.tags a:hover,
.tags a:focus {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.tags .active {
    color: #fff;
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.gallery_product {
    margin: 0;
    padding: 0.75rem;
    position: relative;
}

.gallery_product .fancybox {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--event-surface-radius);
    aspect-ratio: 4 / 3;
    background: rgba(0, 0, 0, 0.04);
}

.gallery_product .img-info {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery_product:hover .img-info {
    opacity: 1;
}

.fancybox .img-responsive {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery_product:hover .img-responsive {
    transform: scale(1.03);
}

.img-info h4,
.img-info p {
    margin-bottom: 0.35rem;
}

@media (max-width: 767px) {
    .share {
        justify-content: flex-start;
    }
}
