/* body,
.gallery {
    background: var(--color-lightgreen);
}

.info {
    right: 0;
    left: unset;
}

.filters {
    left: 0;
    right: unset;
}

.filters-wrapper {
    align-items: flex-start;
    text-align: start;
} */

.info {
    /* width: 80vw; */
    width: 100vw;
}

.filter {
    cursor: pointer;
}

/* .info-wrapper {
    align-items: flex-end;
    text-align: end;
}

.item-info .item-info-shop {
    display: flex;
    flex-direction: column;
    align-items: end;
} */

.info-wrapper.is-empty {
    cursor: pointer;
}

.info-wrapper.is-empty::after {
    content: "No items";
    width: fit-content;
    height: fit-content;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--color-darkgrey);
}

.item-content {
    display: block;
    position: relative;
    opacity: 1;
    cursor: default;
}

.item-content.is-filtered-out {
    opacity: 0.35;
    pointer-events: none;
    display: none;
}

/* Left text column: 20% of the full window width */
.item-info {
    width: 20vw;
}

/* Right image column: taken out of flow so the text column defines the
   row height, then stretched top-to-bottom to match it exactly.
   Acts as the "track" for the per-product mini gallery: images are stacked
   on top of each other and only one is shown at a time (see shop.js). */
.item-lightbox {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(20vw + 4rem);
    right: 0;
    display: flex;
    gap: 2rem;
    overflow: hidden;
}

/* Each image fills the strip and is layered over the others; the active one
   is faded/zoomed in by the mini gallery, mirroring the main gallery. */
.item-lightbox-image,
.item-lightbox-video {
    /* position: absolute; */
    inset: 0;
    /* width: 100%; */
    height: 100%;
    object-fit: contain;
    will-change: transform, opacity, clip-path;
    clip-path: inset(0 0 0 0);
    cursor: pointer;
    opacity: 0;
    transition: opacity .5s ease;
}

.gallery {
    display: none;
}

.gallery-track {
    position: relative;
    /* width: 80vw;
    height: 100vh; */
}

.gallery-content.is-filtered-out {
    display: none;
}

.gallery-content.is-empty {
    pointer-events: none;
}

.gallery-track:has(.gallery-content.is-empty)::after {
    content: "No items";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--color-darkgrey);
}

.gallery-counter {
    display: none;
}

.filter {
    opacity: 1;
    transition: transform .35s ease;
}

.filter.is-filter-active {
    transform: translateX(-40px);
}

.filter.is-filter-not-active {
    opacity: 0.35;
}