.polycopy-gallery-categories,
.polycopy-gallery-listing,
.polycopy-gallery-wishlist {
    padding: 48px 0;
}

@media (min-width: 1200px) {
    .polycopy-gallery-categories,
    .polycopy-gallery-listing
    {
        padding: 100px 0;
    }
}

.polycopy-gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.polycopy-gallery-filter-link {
    display: inline-block;
    padding: 12px 16px;
    border: 1px solid #888888;
    border-radius: 27px;
    color: #505052;
    text-decoration: none;
    font-family: museo-sans-rounded, sans-serif;
}

.polycopy-gallery-category-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}


.polycopy-gallery-category-link-wl {
    display: flex;
    flex-direction: column;
  
    color: inherit;
    text-decoration: none;
}

.polycopy-gallery-category-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.polycopy-gallery-category-image {
    position: absolute;
    inset: 0;
    background-color: #eaeaea;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.polycopy-gallery-category-label-wrapper {
    position: absolute;
    inset: 0;
    padding: 0;
}

.polycopy-gallery-category-name {
    display: block;
    padding: 24px 32px 24px 24px;
    background-color: #FFFFFF;
   
    transition: box-shadow .5s ease;
}

.polycopy-gallery-category-link:hover .polycopy-gallery-category-name,
.polycopy-gallery-category-link:focus .polycopy-gallery-category-name {
    box-shadow: 10px -10px 50px rgba(0, 0, 0, .4);
}

.polycopy-gallery-filter-link.is-active {
    border-color: #000;
    color: #000;
    background-color: #bccf00;
}

.polycopy-gallery-category-count {
    margin-left: .35rem;
}

.polycopy-gallery-grid {
    --pg-columns: var(--pg-mobile-columns);
}

.polycopy-gallery-grid--grid {
    display: grid;
    grid-template-columns: repeat(var(--pg-columns), minmax(0, 1fr));
    gap: 24px;
}

.polycopy-gallery-grid--masonry {
    column-count: var(--pg-columns);
    column-gap: 24px;
}

.polycopy-gallery-grid--masonry .polycopy-gallery-card {
    break-inside: avoid;
    margin-bottom: 24px;
}

.polycopy-gallery-card {
    position: relative;
    min-width: 0;
}

.polycopy-gallery-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    color: inherit;
    border-radius: 16px;
}

.polycopy-gallery-grid--square .polycopy-gallery-image-link {
    aspect-ratio: 1;
}

.polycopy-gallery-grid--landscape .polycopy-gallery-image-link {
    aspect-ratio: 4 / 3;
}

.polycopy-gallery-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.polycopy-gallery-grid--natural .polycopy-gallery-image,
.polycopy-gallery-grid--masonry .polycopy-gallery-image {
    height: auto;
}

.polycopy-gallery-information {
    box-sizing: border-box;
}

.polycopy-gallery-information h3,
.polycopy-gallery-information p {
    margin: 0;
}

.polycopy-gallery-information p {
    margin-top: .35rem;
}

.polycopy-gallery-information--visible {
    padding: 16px 0 0;
    color: #505052;
}

.polycopy-gallery-information--hover {
    position: absolute;
    inset: auto 0 0;
    padding: 24px;
    color: #fff;
    background: rgba(80, 80, 82, .92);
    opacity: 0;
    transition: opacity .2s ease;
}

.polycopy-gallery-image-link:hover .polycopy-gallery-information--hover,
.polycopy-gallery-image-link:focus .polycopy-gallery-information--hover,
.polycopy-gallery-image-link:focus-visible .polycopy-gallery-information--hover {
    opacity: 1;
}

.polycopy-gallery-wishlist-button {
    /*margin-top: 16px;*/
    margin-top: 0px;
    border: 0px solid #000;
    /*padding: 12px 16px;*/
    padding: 0;
    border-radius: 0;
    background-color: transparent;
}

.polycopy-gallery-wishlist-remove,
.polycopy-gallery-wishlist-button.is-saved .polycopy-gallery-wishlist-add {
    display: none;
}

.polycopy-gallery-wishlist-button.is-saved .polycopy-gallery-wishlist-remove {
    display: inline;
}

.polycopy-gallery-pagination {
    margin-top: 48px;
}

.polycopy-gallery-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.polycopy-gallery-pagination a,
.polycopy-gallery-pagination span {
    display: inline-block;
    padding: 12px 16px;
    border: 1px solid #888888;
    border-radius: 27px;
    color: #505052;
    text-decoration: none;
}

.polycopy-gallery-pagination .current {
    border-color: #000;
    color: #000;
    background-color: #bccf00;
}

.polycopy-gallery-wishlist-form {
    margin-top: 48px;
}

.polycopy-gallery-lightbox-caption {
    padding: 1rem 0 0;
}

.polycopy-gallery-lightbox-caption h3 {
    margin: 0 0 .5rem;
}

.polycopy-gallery-lightbox-caption p {
    margin: 0 0 1rem;
}

@media (min-width: 768px) {
    .polycopy-gallery-grid {
        --pg-columns: var(--pg-tablet-columns);
    }
}

@media (min-width: 1200px) {
    .polycopy-gallery-grid {
        --pg-columns: var(--pg-desktop-columns);
    }
}

@media (hover: none) {
    .polycopy-gallery-information--hover {
        position: static;
        opacity: 1;
    }
}
