body {
    --angle: url(/wp-content/plugins/annalee-catalogs/assets/img/angle.svg);
}
.entry-footer {
    margin: 0;
}
.entry-footer .edit-link {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
}
.site-footer {
    margin-top: 0;
}

#catalog-header, #catalog-footer {
    background-color: var(--gray);
    padding: 1rem;
}
#catalog-header-inner, #catalog-footer-inner {
    max-width: var(--max_width_wide);
    margin: auto;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#catalog-header-inner-left {
    width: 75%;
}
#catalog-header-inner-left a {
    color: inherit;
}
.catalogs-text {
    display: none;
}
#catalog-header-inner-right {
    width: 25%;
    text-align: right;
}
#catalog-header-inner-right button {
    background: transparent;
    color: inherit;
    padding: 0;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    cursor: pointer;
    vertical-align: middle;
}
#catalog-header-inner-right button#catalog-zoom {
    display: none;
}

#catalog-footer-inner {
    justify-content: flex-start;
}

article.catalog {
    position: relative;
    overflow: hidden;
}
.catalog-navigation {
    --nav_btn_height: 3rem;
    --nav_btn_height_half: calc( var(--nav_btn_height) * .5 );
    --nav_btn_height_third: calc( var(--nav_btn_height) * .3333 );
    --nav_btn_height_pointfour: calc( var(--nav_btn_height) * .4 );
    position: absolute;
    top: calc( 50% - var(--nav_btn_height_half) );
    width: calc( var(--nav_btn_height) * 1.5 );
    height: var(--nav_btn_height);
    background-color: rgba(0, 0, 0, 0.35);
    border: 0;
    border-radius: 0;
    padding: 0;
    z-index: 2;
    cursor: pointer;
}
.catalog-navigation:hover {
    background-color: rgba(0, 0, 0, 0.75);
}
.catalog-navigation.swiper-button-disabled {
    display: none;
}
.catalog-navigation::before {
    content: "";
    display: inline-block;
    width: var(--nav_btn_height_pointfour);
    height: var(--nav_btn_height_pointfour);
    background-image: var(--angle);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}
#catalog-prev {
    left: calc( var(--nav_btn_height_half) * -1 );
    border-top-right-radius: var(--nav_btn_height);
    border-bottom-right-radius: var(--nav_btn_height);
}
#catalog-prev::before {
    margin-left: var(--nav_btn_height_third);
    transform-origin: center;
    transform: rotate(180deg);
}
#catalog-next {
    right: calc( var(--nav_btn_height_half) * -1 );
    border-top-left-radius: var(--nav_btn_height);
    border-bottom-left-radius: var(--nav_btn_height);
}
#catalog-next.no {
    display: none !important;
}
#catalog-next::before {
    margin-right: var(--nav_btn_height_third);
}

#catalog-footer {
    display: block;
    padding: .5rem 1rem;
}
#catalog-items-on-page-wrapper::before {
    content: "|";
    display: inline-block;
    margin: 0 1rem;
}

@media (min-width: 45em) {
    #catalog-header, #catalog-footer {
        padding: 1rem 3rem;
    }
    #catalog-header-inner, #catalog-footer-inner {
        font-size: 1rem;
    }
    .catalogs-text {
        display: inline;
    }
    .catalogs-text::after {
        content: "|";
        display: inline-block;
        margin: 0 1rem;
    }
    .catalog-navigation {
        --nav_btn_height: 5rem;
    }
}

@media (min-width: 64em) {
    #catalog-header {
        margin-bottom: 1.5rem;
    }
    #catalog-footer {
        margin-top: 1.5rem;
    }
    #catalog-header-inner-right button#catalog-zoom {
        display: inline-flex;
        margin-right: 1.5rem;
    }
    #catalog-header-inner, #catalog-footer-inner {
        font-size: 1.125rem;
    }
}

.section-class-catalog,
.section-class-catalog .ps-slider-slides {
    padding: 0 !important;
}
.section-class-catalog {
    overflow: hidden;
}
.section-class-catalog .swiper-container {
    overflow: visible;
}

.ps-slider-slide,
.ps-slider-slide .slide-inner,
.ps-slider-slide section,
.ps-slider-slide .page-section-inner,
.ps-slider-slide .page-section-inner > div,
.swiper-slide,
.swiper-wrapper {
    height: auto !important;
    min-height: 0 !important;
}

.ps-slider-slide img {
    border-radius: 0 !important;
    border: 0 !important;
}

.section-class-catalog .ftps-header.wysiwyg {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}


/* Popup */

.ft-popup .close-ft-popup {
    top: -.25rem;
}
.ft-popup .close-ft-popup-text {
    font-size: 3rem;
}

body .ft-popup[data-ft-popup-context*="shop-the-image-button"] .ft-popup-content {
    width: calc(100% - 3rem);
    max-width: 25rem;
    border-radius: 1rem;
    padding: 1.5rem;
}
body .ft-popup[data-ft-popup-context*="catalog-page-lightbox"] .ft-popup-content {
    width: calc(100% - 3rem);
    max-width: 75rem;
    border-radius: 1rem;
}
body .ft-popup[data-ft-popup-context*="shop-the-image-button"] .ft-popup-content li.product,
body .ft-popup[data-ft-popup-context*="shop-the-image-button"] .ft-popup-content li.product .product-inner {
    padding: 0;
}

.popup-page-nav {
    display: inline-flex;
    align-items: center;
}
.current-page, #catalog-items-on-page {
    color: var(--red);
    font-weight: bold;
}
.popup-page-nav button {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    color: inherit;
    width: 20px;
}
.popup-page-nav button[disabled] {
    opacity: .25;
}
.popup-page-nav button::before {
    content: "";
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    background-image: var(--angle);
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    filter: invert(1);
}
.popup-page-nav .catalog-popup-page-prev {
    margin-right: 1rem;
}
.popup-page-nav .catalog-popup-page-prev::before {
    transform: rotate(180deg);
    transform-origin: center;
}
.popup-page-nav .catalog-popup-page-next {
    margin-left: 1rem;
}
.ft-popup[data-ft-popup-context*="shop-the-image-button"] .ft-popup-html {
    margin-top: 1rem;
}

.ft-popup .empty {
    margin: 0;
}
.ft-popup .products li {
    position: relative;
}
.ft-popup .products li + li::before {
    content: "";
    position: absolute;
    top: -1rem;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #DBDBDB;
}
.ft-popup li.product .product-inner {
    border: 0 !important;
}
/*.ft-popup .products li.product.product_cat-bundles {
    background: transparent;
}*/
.shop-the-image-popup .product .onsale,
.shop-the-image-popup .product .text-m {
    display: none;
}
.shop-the-image-popup .product-inner {
    gap: .5rem;
}
.ft-popup .product .ftm-parent-shop-loop-image-wrapper {
    width: 37.5%;
    max-width: none;
}
.ft-popup .product .ftm-parent-shop-loop-content-wrapper {
    padding: 0;
    font-size: 1rem;
}
.ft-popup .shop-the-image-popup ul.products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 32em) {
    .popup-page-nav {
        width: calc( 100% - 3rem );
        padding-left: 3rem;
        justify-content: center;
    }
    .shop-the-image-popup .product-inner {
        gap: 1rem;
    }
    .ft-popup .product .ftm-parent-shop-loop-content-wrapper {
        font-size: 1.125rem;
    }
}

@media (min-width: 45em) {
    .ft-popup[data-ft-popup-context*="shop-the-image-button"] .ft-popup-html {
        margin-top: 1.5rem;
    }
    /*.ft-popup .shop-the-image-popup ul.products {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }*/
    /*.ft-popup .products li + li::before {
        display: none;
    }

    body .ft-popup[data-ft-popup-context*="shop-the-image-button"] .ft-popup-content li.product .product-inner {
        display: block;
    }
    .ft-popup .product .ftm-parent-shop-loop-image-wrapper {
        width: 100%;
    }*/
}

@media (min-width: 64em) {
    /*.ft-popup .shop-the-image-popup ul.products {
        grid-template-columns: 1fr 1fr 1fr;
    }*/
}

.swiper-slide .shop-the-image-button {
    position: static;
    display: block;
    margin: 1rem auto;
    background-color: var(--red);
    color: white;
    cursor: pointer;
}