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

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

.polycopy-gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px;
    margin-bottom: 28px;
        position: sticky;
    top: 168px;
    background-color: #ffffff;
    z-index: 99;
    padding-bottom: 20px;
}

@media (min-width: 1200px) {
.polycopy-gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px;
    margin-bottom: 28px;
        position: sticky;
    top: 162px;
    background-color: #ffffff;
    z-index: 99;
    padding-bottom: 20px;
}
}

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

.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 {
     color: #BCCF00;
  /*border-color: #000000;
  background-color: #BCCF00;
  color: #000000;*/
}

.polycopy-gallery-filter-link:last-child {
        border-right: 0;
}

.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 {
    display: grid;
    grid-auto-flow: dense;
    grid-template-columns: repeat(var(--pg-columns), minmax(0, 1fr));
    grid-auto-rows: var(--pg-cell, 200px);
    gap: 24px;
}

.polycopy-gallery-grid--masonry .polycopy-gallery-card {
    margin-bottom: 0;
}

.polycopy-gallery-grid--masonry .polycopy-gallery-card--landscape {
    grid-column: span 2;
}

.polycopy-gallery-grid--masonry .polycopy-gallery-card--portrait {
    grid-row: span 2;
}

.polycopy-gallery-grid--masonry .polycopy-gallery-image-link {
    height: 100%;
}

.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-image--bg {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.polycopy-gallery-grid--natural .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: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #fff;
    background: transparent;
    opacity: 0;
    transition: opacity .2s ease;
}

.polycopy-gallery-information--hover::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(0, 0, 0, .5);
    content: '';
}

.polycopy-gallery-information--hover::after {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 48px;
    height: 48px;
    background: url('/wp-content/themes/polycopy/images/zoom_plus.png') center / contain no-repeat;
    content: '';
    transform: translate(-50%, -50%);
}

.polycopy-gallery-information--hover h3,
.polycopy-gallery-information--hover p {
    position: relative;
    z-index: 1;
}

.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;
    cursor: pointer;
}

.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;
}

.cat_head_cont {
    margin-bottom: 48px;
    border-bottom: 1px solid #706f6f;
}

.polycopy-gallery-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 48px;
}

.polycopy-gallery-controls,
.polycopy-gallery-control-form {
    display: flex;
    align-items: center;
}

.polycopy-gallery-control-form {
    flex-wrap: wrap;
    gap: 8px;
}

.polycopy-gallery-control-form label,
.polycopy-gallery-control-form span {
    color: #505052;
    line-height: 40px;
}

.polycopy-gallery-control-form select {
    height: 40px;
    padding: 0 6px;
    border: 1px solid #888;
    border-radius: 0;
    color: #505052;
    cursor: pointer;
    transition: background-color 200ms ease, color 200ms ease;
}

.polycopy-gallery-control-form select:hover,
.polycopy-gallery-control-form select:focus {
    background-color: #BCCF00;
    color: #505052;
    outline: 0;
}

.polycopy-gallery-control-form select:focus-visible {
    box-shadow: 0 0 0 3px rgba(80, 80, 82, .25);
}

.polycopy-gallery-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    list-style: none;
}

.polycopy-gallery-pagination ul.page-numbers li {
    margin: 0;
    padding: 0;
}

.polycopy-gallery-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 8px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background-color: #D9D9D9;
    color: #505052;
    text-align: center;
    text-decoration: none;
}

.polycopy-gallery-pagination .page-numbers.next,
.polycopy-gallery-pagination .page-numbers.prev {
    width: auto;
    padding: 0 16px;
}

.polycopy-gallery-pagination .page-numbers.current {
    background-color: #505052;
    color: #FFFFFF;
}

.polycopy-gallery-pagination a.page-numbers:hover,
.polycopy-gallery-pagination a.page-numbers:focus {
    background-color: #BCCF00;
    color: #505052;
}

.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;
}

.polycopy-gallery-lightbox-wishlist-button {
    padding: 10px !important;
    background-color: #fff !important;
}

@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;
    }
}

@media (max-width: 767px) {
    .polycopy-gallery-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

.polycopy-gallery-heading {
    padding-bottom:48px;
}