/* legacy code */
#index #cube_page div#page {
    padding-top: 80px;
}

#home-banner {
    margin-top: 50px;

    @media screen and (min-width: 1200px) {
        margin-top: 107px;
    }

    .SEslider.sample {
        padding-bottom: 0;
    }

    .big-banner-text {
        @media screen and (min-width: 1200px) {
            margin-bottom: 126px;
        }
    }
}
.flexslider_carousel_block, .iqitcontent-column-inner {
    margin-bottom: 50px;
    padding-bottom: 0px;
}

#iqitcontentcreator .iqit-banner-image {
    opacity: 1 !important;
}

#iqitcontentcreator .iqitcontent-column {
    margin-top: 0px !important;
}

div#iqitcontentcreator > .row {
    margin-top: 0px !important;
    margin-bottom: 200px !important;
}
div#iqitcontentcreator > .row:first-child {
    margin-top: 0 !important;
    position: relative;
}   
div#iqitcontentcreator > .row:first-child > div:nth-child(1) {
    margin-bottom: 59px;
}
div#iqitcontentcreator > .row:first-child > div:nth-child(3) {
    padding: 4em 0;
}
div#iqitcontentcreator > .row:first-child > div:nth-child(4) {
    position: absolute;
    bottom: -3em;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9;
}
div#iqitcontentcreator > .row:first-child > div:nth-child(4) .iqitcontent-column-inner {
    max-width: 687px;
}
div#iqitcontentcreator > .row:first-child > div:nth-child(5) {
    position: absolute;
    top: 70%;
    left: -5%;
    right: -5%;
    width: calc(100% + 10%);
    max-width: unset;
}

/* first child media query */
@media screen and (max-width: 1400px) {
    #index #cube_page div#page {
        padding-top: 80px;
    }
    div#iqitcontentcreator > .row:first-child > div:nth-child(1) {
        margin-bottom: 0px;
    }
    #index .big-banner-text {
        font-size: 36px;
    }
    div#iqitcontentcreator > .row:first-child > div:nth-child(3) {
        padding: 4em 4em;
    }
    div#iqitcontentcreator > .row:first-child > div:nth-child(3) h2 {
        font-size: 26px;
    }
    div#iqitcontentcreator > .row:first-child > div:nth-child(4) {
        bottom: -6em;
    }
}

@media screen and (max-width: 1200px) {
    #index #cube_page div#page {
        padding-top: 80px;
    }
    div#iqitcontentcreator > .row:first-child > div:nth-child(1) {
        margin-top: 35px !important;
    }
    #index .big-banner-text {
        font-size: 30px;
    }
    div#iqitcontentcreator > .row:first-child > div:nth-child(3) {
        padding: 4em 4em;
    }
    div#iqitcontentcreator > .row:first-child > div:nth-child(3) h2 {
        font-size: 20px;
    }
    div#iqitcontentcreator > .row:first-child > div:nth-child(4) {
        bottom: -6em;
    }
}

@media screen and (max-width: 1000px) {
    div#iqitcontentcreator > .row:first-child > div:nth-child(4) {
        bottom: -3vw;
    }
    div#iqitcontentcreator > .row:first-child > div:nth-child(4) .iqitcontent-column-inner {
        max-width: 50%;
    }
}

@media screen and (max-width: 768px) {
    #index #cube_page div#page {
        padding-top: 80px !important;
    }
    div#iqitcontentcreator > .row {
        margin-bottom: 30px !important;
    }
    div#iqitcontentcreator > .row:first-child {
        display: grid;
        grid-template-columns: 100%;
    }
    div#iqitcontentcreator > .row:first-child > div:nth-child(1) {
        /* grid-row: 2; */
        margin-top: 0 !important;
        margin-bottom: 15px;
    }
    div#iqitcontentcreator > .row:first-child > div:nth-child(1) > .iqitcontent-column-inner {
        margin-bottom: 0;
    }
    div#iqitcontentcreator > .row:first-child > div:nth-child(5) {
        position: static;
        width: 100%;
        display: none;
    }
    div#iqitcontentcreator > .row:first-child > div:nth-child(4) {
        bottom: 0px;
        position: static;
    }
    div#iqitcontentcreator > .row:first-child > div:nth-child(3) {
        padding: 0px 0px 30px;
    }
    div#iqitcontentcreator > .row:first-child > div:nth-child(3) .iqitcontent-column-inner,
    div#iqitcontentcreator > .row:first-child > div:nth-child(2) .iqitcontent-column-inner {
        margin: 15px;
    }
}

/* first child media query end */

div#iqitcontentcreator > .row:nth-child(2) {
    align-items: center;
}
#iqitcontentcreator:has(#steps-section) {
    @media screen and (min-width: 1200px) {margin-top: 0px;}
}

#steps-section{
    display: flex;
    flex-direction: column;
    gap: 15px;

    @media screen and (min-width: 992px) {gap: 50px; padding-block: 0;}

    @media screen and (min-width: 1200px) {gap: 91px;}

    > li {
        display: grid;
        grid-template-areas:
            "image title"
            "image description"
        ;

        > img {
            grid-area: image;
            margin-right: 15px;

            @media screen and (min-width: 1200px) {
                margin-right: 34px;
            }
        }

        > strong {
            grid-area: title;
            font-size: 18px;

            @media screen and (min-width: 1200px) {
                font-size: 28px
            }
        }

        > p {
            grid-area: description;
            font-size: 14px;
            line-height: 1.2;
            margin-top: 10px;

            @media screen and (min-width: 1200px) {
                font-size: 18px;
                margin-top: 22px;
                line-height: 1.3
            }
        }
    }
}

.iqitcontent-column-inner:has(#categories-section) {
    @media screen and (min-width: 1200px) {
        margin-top: 0px;
    }
}
#index .iqitcontent-column-inner .title_block {
    font-size: 18px;
    text-transform: none;
    font-weight: 700;

    background: linear-gradient(180deg, #2B0D2E 0%, #75517D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-color: var(--foreground-color);

    @media screen and (min-width: 1200px) {
        font-size: 28px;
        border: 0;
        line-height: 1;
    }
}
#iqitcontentcreator .iqitcontent-column {
    margin-top: 0px;
}


#categories-section {
    display: grid;
    grid-template-columns: auto;
    gap: 15px;
    justify-content: center;
    align-items: center;

    img {
        max-width: 100%;
        height: auto;
    }

    @media screen and (min-width: 576px) {
        grid-template-columns: auto auto;
    }

    @media screen and (min-width: 768px) {
        grid-template-columns: auto auto auto auto;
    }

    @media screen and (min-width: 1200px) {
        margin-bottom: 100px;
        margin-top: 64px;
        justify-content: space-between;
    }
}

#how-section {
    position: relative;
    padding-bottom: 30px;
    text-align: center;

    @media screen and (min-width: 992px) {
        display: grid;
        grid-template-columns: auto 50%;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        padding-block: 138px;
        font-size: 16px;
    }

    @media screen and (min-width: 1200px) {
        grid-template-columns: 50% auto;
        padding-block: 0px;
        gap: 90px;
    }

    img {
        max-width: 100%;
        height: auto;
        object-fit: scale-down;
    }

    > div {
        text-align: left;

        > p:has(img) {
            justify-content: space-between;
            gap: 10px;
    
            @media screen and (min-width: 992px) {
                font-size: 18px;
                gap: 25px;
            }
        }
    }

    > img {
        margin-bottom: 15px;

        @media screen and (min-width: 992px) {
            margin-bottom: 0;
        }
    }

    button {
        width: 100%;
        max-width: 394px;
        border: 0;
        background-color: #16431C;
        padding: 14px;
        color: #fff;
        text-align: center;
        border-radius: 10px;
        font-size: 16px;

        @media screen and (min-width: 500px) {
            font-size: 18px;
        }

        @media screen and (min-width: 1200px) {
            margin-top: 40px;
        }
    }
}

#how-section:before {
    content: " ";

    width: 100vw;
    height: 100%;

    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    bottom: 0;
    z-index: -1;

    border-bottom: 1px solid #AB73C3;
    background: var(--violet-gradient);
}

#stmreviews-wrapper {
    position: relative;
    width: auto;
    max-width: 1075px;
    margin: 0 auto;
    overflow: visible;
    button {
        position: absolute;
        top: 50%;
        border: none;
        background: #2d0f30;
        padding: 10px 10px;
        z-index: 999;
        color: #fff;
        font-size: 20px;
    }
    button#next {
        right: 0;
    }
}

#stmreviews.dragging {
  scroll-snap-type: none;     /* smoother while dragging */
  scroll-behavior: auto;
  cursor: grabbing;
}
div#stmreviews {
    padding: 4em 0;
    margin: 0 auto;
    max-width: 1075px;
    display: flex;
    gap: 30px;
    /* scroll-snap-type: x mandatory; */
    overflow-x: scroll;
    position: relative;
    -webkit-overflow-scrolling: touch;
    user-select: none;
    cursor: grab;
    /* button.slick-arrow {
        display: block !important;
        background: #2d0f30 !important;
    } */
    .stmreviews-item {
        background: #fff;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 2px 10px;
        margin: 0px 10px;
        height: max-content;
        width: 33.33%;
        max-width: unset;
        flex: 0 0 calc(33.33% - 40px);
        scroll-snap-align: center;
    }
    .review-content {
        margin-bottom: 30px;
        margin-top: 15px;
        font-size: 16px;
        line-height: 1.6;
        font-style: italic;
        border-left: 5px solid rgba(0, 0, 0, .05) !important;
        padding-left: 10px;
        height: auto;
    }
    .review-author {
        font-size: 16px;
        text-align: center;
    }
    .review-title {
        font-size: 17px;
        margin-top: 10px;
    }
}
#stmreviews::-webkit-scrollbar {
  display: none;
}
#stmreviews {
  scrollbar-width: none; /* Firefox */
}
#stmreviews {
  -ms-overflow-style: none; /* IE and old Edge */
}
div#stmreviews > div {
    width: 100%;
}
.slick-track {
    overflow: visible;
    height: auto !important;
    padding: 50px 0 !important;
}

.stmreviews-item.slick-slide.slick-current.slick-active {
    transform: scale(1.2);
    margin: 0px 30px !important;
}
.slick-track > div:last-child,
button.slick-prev, button.slick-next {
    display: none !important;
}
@media screen and (max-width: 768px) {
    div#stmreviews {
        gap: 10px;
    }
    div#stmreviews .stmreviews-item {
        width: 50%;
        flex: 0 0 calc(50% - 25px);
    }
}
@media screen and (max-width: 500px) {
    div#stmreviews {
        gap: 10px;
    }
    div#stmreviews .stmreviews-item {
        width: 100%;
        flex: 0 0 calc(100% - 20px);
    }
}

/* product list index css */


#index #page .product_list.grid>li {
    max-width: calc(100%/4);
    height: auto;
}

#index #page .product_list.grid>li .left-block .addToCartFormWrapper {
    display: none !important;
}

#index #page .product_list.grid>li .left-block .product-name-container {
    height: auto;
    padding: 15px 0;
    position: absolute;
    z-index: 9;
    bottom: 17%;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    background: #a55b4b80;
    background-image: url(https://cdn.magipa.dk/themes/shoptech/img/magic-pages-logo-1737096943.png) !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 40px auto !important;
}

#index #page .product_list.grid>li .left-block .product-name-container.toTop {
    top: 10%;
    bottom: unset;
}

#index #page .product_list.grid>li .left-block .product-name-container.toCenter {
    top: calc(55% - 53px);
    bottom: unset;
}

#index #page .product_list.grid>li .left-block .product-name-container a.product-name {
    color: #fcf9f2;
    text-shadow: 0px 0px 10px #444444;
    width: 90%;
    margin: 0 auto;
}

#index #page .product_list.grid>li .right-block .add_to_cart_wrapper {
    max-width: 100%;
}

#index #page .product_list.grid>li .right-block .add_to_cart_wrapper a.button {
    width: 100% !important;
}

#index #page .product_list.grid>li .right-block .add_to_cart_wrapper a.button .add-to-cart-price {
    padding: 7px 0 !important;
    height: auto !important;
}

#index #page .product_list.grid>li .right-block .add_to_cart_wrapper a.button .add-to-cart-price>div {
    font-family: Playfair Display;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    vertical-align: middle;
    text-transform: none;
}

.product-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.38) 4% 3%, rgb(255 255 255 / 27%) 3% 1%, rgb(255 255 255 / 6%) 7%, rgb(0 0 0 / 21%) 100%);
    pointer-events: none;
    border-radius: 4px;
    z-index: 1;
    box-shadow: inset 5px 0px 4px rgb(0 0 0 / 42%);
}
    #iqitcontentcreator ul.product_list {
        padding: 0 !important;
    }

@media screen and (max-width: 1000px) {
    #index #page .product_list.grid>li {
        max-width: 50%;
    }
}

@media screen and (max-width: 500px) {
    #index #page .product_list.grid>li {
        max-width: 100%;
    }
}


.video-wrap {
    opacity: 0;
}
/* legcay code end */
.text_book {
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #000;
}
.text_book span {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding: 30px;
    text-align: left;
    font-size: calc(27px * 0.47229);
}
#book_modal .stf__wrapper,
#book_modal .stf__block {
  width: 100%;
  height: 100%;
}
.img_book img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;

    @media screen and (min-width: 1000px) {
        object-fit: fill !important;
    }
}

body .row.content-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    display: block;
}

body .row.content-inner div#center_column {
    width: 100%;
}

body #page .page-heading {
    float: none;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0em;
}

body span.cat-name {
    font-family: Playfair Display;
    font-weight: 700;
    font-size: 46px;
    line-height: 100%;
    font-size: 32px;
    font-weight: bold;
    color: #f9e7c0;
    text-shadow: 0px 1px 0 #5a2a3c, 1px 2px 0 #3a1a22, 2px 2px 0 #000000;
    letter-spacing: 0.5px;
}

body div.prices {
    display: flex;
    justify-content: center;
    gap: 50px;
}

div#cube_page header#header .container.container-header div.prices {
    position: absolute;
    right: 12.5%;
    top: 25px;
}

div#cube_page header#header .container.container-header div.prices.prices-left,
div#cube_page header#header .container.container-header div.prices.prices-right {
    display: none !important;
}

body div.prices>div {
    background: #fff;
    border-radius: 5px;
}

body div.prices span {
    background: #FFFDF9;
    box-shadow: 0px 4px 4px 0px #00000040;
    font-family: Akatab;
    font-size: 25px;
    line-height: 100%;
    text-align: center;
    background: linear-gradient(to bottom, #2B0D2E, #75517D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 8px;
    border-radius: 5px;
    display: block;
    font-weight: 600;
}

body #page .page-heading div#introduction * {
    background: linear-gradient(to bottom, #2B0D2E, #75517D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: Playfair Display;
    font-weight: 700;
    font-size: 25px;
    line-height: 100%;
    text-align: center;
}

#subcategories ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

#subcategories ul:before,
#subcategories ul:after {
    display: none;
}

#subcategories ul li {
    width: 100%;
}

.product_rows_wrap>div {
    /* padding: 30px; */
    border: 2px solid var(--blue) !important;
    margin: 40px 0;
    height: 400px;
    background: rgb(217, 243, 216);
    background: linear-gradient(90deg, rgb(171 225 228) 0%, rgb(255 255 255) 50%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%);
}

.product_rows_wrap>div:nth-child(even) {
    background: rgb(217, 243, 216);
    background: linear-gradient(275deg, rgb(171 225 228) 0%, rgb(255 255 255) 50%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%);
}

.product_rows_wrap>div>div {
    width: 50%;
    height: 100%;
    position: relative;
    padding: 30px;
}

.product_rows_wrap>div>div.image-item {
    float: left;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
}

.product_rows_wrap>div:nth-child(even) div.image-item {
    float: right;
    /* text-align: right; */
    /* padding-left: 5%; */
}

.product_rows_wrap>div>div.image-item img {
    height: 100%;
    display: inline-block;
    /* width: 90%; */
}

.product_rows_wrap>div>div.image-item a {
    position: relative;
    display: inline-block;
    height: 100%;
}

.product_rows_wrap>div>div.image-item a img.zoomicon {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: auto;
}

.product_rows_wrap>div:nth-child(even) div.image-item img {
    /* width: 100%; */
}

.product_rows_wrap>div>div.image-item-zoom {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    padding: 0;
    z-index: 99999;
    display: grid;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.product_rows_wrap>div>div.image-item-zoom .overlay {
    width: 100%;
    height: 100%;
    background: #23232375;
    position: fixed;
}

.product_rows_wrap>div>div.image-item-zoom .image-item-zoom-caller {
    position: relative;
    max-width: 70%;
    margin: 0 auto;
}

.product_rows_wrap>div>div.image-item-zoom.inactive {
    /* display: none; */
}

.product_rows_wrap>div>div.product_txt_content {
    float: right;
}

.product_rows_wrap>div:nth-child(even) div.product_txt_content {
    float: left;
}

.product_rows_wrap>div>div.product_txt_content .heading {
    margin-bottom: 30px;
}

.product_rows_wrap>div>div.product_txt_content .heading:after {
    content: "";
    display: block;
    height: 2px;
    background: #000;
    margin-top: 20px;
    width: 150px;
}

.product_rows_wrap>div>div.product_txt_content .heading h3 {
    font-size: 20px;
    margin-top: 10px;
}

.product_rows_wrap>div>div.product_txt_content .prod_desc {
    font-size: 19px;
    line-height: 1.5;
}

.product_rows_wrap>div>div.product_txt_content .toggle_products {
    text-align: center;
}

@media screen and (min-width: 1000px) {
    .product_rows_wrap>div>div.product_txt_content .toggle_products {
        position: absolute;
        bottom: 15px;
        width: 100%;
    }
}

button.toggle_event {
    color: black;
    box-sizing: border-box;
    padding: 5px 30px;
    width: auto;
    margin: 0 auto;
    background: linear-gradient(#fff, #fff), linear-gradient(to right, #142E92, #5BCBCC);
    border: 3px solid transparent !important;
    background-repeat: no-repeat;
    background-origin: padding-box, border-box;
    display: block;
    position: relative;
    border-radius: 6px;
}

button.toggle_event:before {
    content: "";
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -1px;
    right: -1px;
    border: 5px solid #fff;
    border-radius: 5px;
}

button.toggle_event img {
    width: 25px;
    height: 20px;
    display: inline-block;
    vertical-align: top;
    margin-right: 5px;
}

.product_rows_wrap>div .products_sub_float.hidden {
    visibility: hidden !important;
    opacity: 0 !important;
}

/* .product_rows_wrap > div .products_sub_float.initheight {
    display: block;
    height: 0;
    overflow: hidden;
} */

.product_rows_wrap>div .products_sub_float {
    position: fixed;
    top: 25%;
    left: 0;
    width: 100%;
    z-index: 10000;
}

.product_rows_wrap>div .products_sub_float.toggled {
    height: 450px;
}

.product_rows_wrap>div .products_sub_float .list_wrap {
    display: block !important;
    max-width: 1270px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0px 0px 11px;
    padding: 0 15px;
    position: relative;
}

button.close_popup_toggle {
    display: none;
    position: absolute;
    left: -20px;
    bottom: -20px;
    background: #fff;
    border: none;
    padding: 0;
    border-radius: 100%;
    overflow: hidden;
}

.product_rows_wrap>div .products_sub_float .list_wrap button.close_popup_toggle {
    display: block;
}

button.close_popup_toggle>img {
    width: 100%;
}

.product_rows_wrap>div .products_sub_float .list_wrap ul {
    justify-content: center;
    align-items: center;
}

.product_rows_wrap>div .products_sub_float .list_wrap>ul>li {
    height: 345px;
    padding: 9px 9px 0;
}

.product_rows_wrap>div .products_sub_float.is_grid .list_wrap>ul>li {
    width: 16.66% !important;
}

.product_rows_wrap>div .products_sub_float.is_slider.initslider .list_wrap>ul {}

.product_rows_wrap>div .products_sub_float.is_slider .list_wrap ul.product_list li:hover {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.product_rows_wrap>div .products_sub_float .list_wrap ul.product_list li .product-container {
    box-shadow: none;
    outline: 1px solid #d3f4d7 !important;
    border: 1px solid #d3f4d7 !important;
    text-align: center;
}

.product_rows_wrap>div .products_sub_float .list_wrap ul.product_list li .product-container .product-desc {
    display: none;
}

.product_rows_wrap>div .products_sub_float .list_wrap ul.product_list li .product-container a.product-name {
    font-size: 14px !important;
}

.product_rows_wrap>div .products_sub_float .list_wrap ul.product_list li .product-container span.price.product-price {
    font-size: 18px !important;
}

body .product_rows_wrap>div .products_sub_float .list_wrap ul.product_list li .product-container a.c_add_to_crt_c {
    padding: 4px 7px;
}

body .product_rows_wrap>div .products_sub_float .list_wrap ul.product_list li .product-container a.c_add_to_crt_c .cart>div {
    top: 5px;
}

body .product_rows_wrap>div .products_sub_float .list_wrap ul.product_list li .product-container a.c_add_to_crt_c,
body .product_rows_wrap>div .products_sub_float .list_wrap ul.product_list li .product-container a.c_add_to_crt_c>div>span {
    font-size: 14px !important;
}

body .product_rows_wrap>div .products_sub_float .list_wrap ul.product_list li .product-container a.c_add_to_crt_c>div>img {
    width: 20px;
}

body .product_rows_wrap>div .products_sub_float .list_wrap ul.product_list li .product-container a.c_add_to_crt_c .success {
    top: 9px;
}

.button.lnk_view {
    box-shadow: 0 4px 5px #989898;
}

.button.lnk_view>span {
    padding: 6px 15px 6px;
    font-size: 19px !important;
}

.product_rows_wrap>div>div.product_txt_content .toggle_products .button.lnk_view>span {
    padding: 6px 15px;
    font-size: 15px !important;
}

button.slick-prev,
button.slick-next {
    color: #ffffff !important;
}

button.slick-prev,
button.slick-next {
    background: #153093 !important;
}

button.slick-prev:hover,
button.slick-next:hover {
    background: var(--blue) !important;
}

button.slick-prev:hover,
button.slick-next:hover {
    color: #888888 !important;
}

.product_rows_wrap>div .products_sub_float .list_wrap ul.product_list li .product-container span.price-percent-reduction {
    display: none;
}

.product_rows_wrap>div>div.clearfix {
    z-index: -999;
}
div#iqitcontentcreator > .row:first-child > div:nth-child(2) {
    position: static !important;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 50% !important;
    display: flex;
    align-items: center;
}
#index #iqitcontentcreator .iqitcontent_row:nth-child(5)>div:first-child {
    margin-bottom: 30px;
}

.pb-center-column.displayExtraProductText {
    min-height: 455px;
}

ul.product_list.grid>li .product-image-container img {
    max-width: 100%;
    height: auto;
    width: 100% !important;
}


/* tag_filter */
body #page .content_sortPagiBar .sortPagiBar {
    gap: 20px;
    gap: 10px;
}

.selected_filters {
    flex: 0 0 100%;
    margin-bottom: 10px;
    display: none;

    span:nth-child(n + 2):before {
        content: ", ";
    }
}

.selected_filters:has(span) {
    display: flex;
}

div.tag_filter {
    width: max-content;
    display: block;
    position: relative;
}

div.tag_filter>.tag_filter_content {
    display: flex;
    padding: 0;
    position: absolute;
    width: max-content;
    z-index: 999;
    /* background: #00000047; */
    flex-wrap: wrap;
    gap: 10px;
    top: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    bottom: 0;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.2s;
    z-index: -1;
    height: max-content;
    overflow: hidden;
}

div.tag_filter>.tag_filter_content ul {
    padding: 10px;
    border-radius: 0;
    background: #ded3b8;
    box-shadow: 0px 0px 10px;
    display: block;
    position: static;
    width: 100%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
div.tag_filter>.tag_filter_content ul div.checker span {
    border-color: #2B0D2E;
}

div.tag_filter>.tag_filter_content ul li.close_btn {
    display: none !important;
    position: absolute;
    right: -10px;
    top: -10px;
    background: #000;
    min-width: auto;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    color: #fff;
    text-align: center;
    display: block;
    line-height: 20px;
    margin: 0;
    cursor: pointer;
}

div.tag_filter>.tag_filter_content.active {
    z-index: 999;
    opacity: 1;
    transition: 0.2s;
}

div.tag_filter>.tag_filter_content li {
    width: max-content;
    min-width: 20%;
    margin-bottom: 10px;
    text-transform: uppercase;
}

div.tag_filter>.tag_filter_content li label {
    display: flex;
    align-items: center;
    font-size: 15px;
    padding: 0;
    line-height: 1;
    gap: 10px;
}

div.tag_filter #tag_filter_btn {
    cursor: pointer;
    display: inline-block;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    text-transform: uppercase;
    background: #DED3B8;
    color: #2B0D2E;
    font-weight: 700;
}
div.tag_filter.active #tag_filter_btn {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

@media screen and (max-width: 768px) {
    div.tag_filter>.tag_filter_content ul li.close_btn {
        display: block !important;
    }
    div.tag_filter>.tag_filter_content.active {
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
    }
    div.tag_filter #tag_filter_btn {
        border: 1px solid;
    }
    div.tag_filter.active #tag_filter_btn {
        border-bottom-right-radius: 10px;
        border-bottom-left-radius: 10px;
    }
}


.content_sortPagiBar .sortPagiBar .nbrItemPage {
    display: none;
}

.content_sortPagiBar {
    display: flex;
    justify-content: space-between;
}

/* slider bar */
#product_grid_zoomer {
    width: 150px;
    text-align: center;
}

#product_grid_zoomer_trigger {
    width: 100%;
}

body #page .product_list.grid.three_col>li {
    max-width: calc(100% / 3);
    height: auto;
}

body #page .product_list.grid.two_col>li {
    max-width: calc(100% / 2);
    height: auto;
}

body #page .product_list.grid.one_col>li {
    max-width: calc(100%);
    height: auto;
}

div#product_grid_zoomer_labels {
    display: grid;
    grid-template-columns: repeat(3, calc(100% / 3));
}

div#product_grid_zoomer_labels span {
    display: block;
    font-size: 10px;
}

div#product_grid_zoomer_labels span:first-child {
    text-align: left;
    padding-left: 10%;
}

div#product_grid_zoomer_labels span:last-child {
    text-align: right;
    padding-right: 10%;
}

div#product_grid_zoomer_labels span:nth-child(2) {
    text-align: center;
}

div#product_grid_zoomer_labels span:nth-child(4) {
    text-align: right;
    padding-right: 20%;
}

/* Remove default appearance */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: transparent;
}

/* Chrome, Safari, Edge */
input[type=range]::-webkit-slider-runnable-track {
    background: #2b0d2e;
    height: 6px;
    border-radius: 3px;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    background: #ffffff;
    border: 2px solid #2b0d2e;
    border-radius: 50%;
    margin-top: -5px;
    cursor: pointer;
}

/* Firefox */
input[type=range]::-moz-range-track {
    background: #2b0d2e;
    height: 6px;
    border-radius: 3px;
}

input[type=range]::-moz-range-thumb {
    height: 16px;
    width: 16px;
    background: #ffffff;
    border: 2px solid #2b0d2e;
    border-radius: 50%;
    cursor: pointer;
}

/* Internet Explorer */
input[type=range]::-ms-track {
    background: transparent;
    border-color: transparent;
    color: transparent;
    height: 6px;
}

input[type=range]::-ms-fill-lower {
    background: #2b0d2e;
}

input[type=range]::-ms-fill-upper {
    background: #2b0d2e;
}

input[type=range]::-ms-thumb {
    height: 16px;
    width: 16px;
    background: #ffffff;
    border: 2px solid #2b0d2e;
    border-radius: 50%;
}

body #page .product_list.grid>li {
    max-width: calc(100%/4);
    height: auto;
}

body #page .product_list.grid>li .left-block .addToCartFormWrapper {
    display: none !important;
}

body #page .product_list.grid>li .left-block .product-name-container {
    height: auto;
    padding: 15px 0;
    position: absolute;
    z-index: 9;
    bottom: 17%;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    background: #a55b4b80;
    background-image: url(https://cdn.magipa.dk/themes/shoptech/img/magic-pages-logo-1737096943.png) !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 40px auto !important;
}

body #page .product_list.grid>li .left-block .product-name-container.toTop {
    top: 10%;
    bottom: unset;
}

body #page .product_list.grid>li .left-block .product-name-container.toCenter {
    top: calc(55% - 53px);
    bottom: unset;
}

body #page .product_list.grid>li .left-block .product-name-container a.product-name {
    color: #fcf9f2;
    /*text-shadow: 0px 0px 10px #444444;*/
    width: 90%;
    margin: 0 auto;
}

body #page .product_list.grid>li .right-block .add_to_cart_wrapper {
    max-width: 100%;
}

body #page .product_list.grid>li .right-block .add_to_cart_wrapper a.button {
    width: 100% !important;
}

body #page .product_list.grid>li .right-block .add_to_cart_wrapper a.button .add-to-cart-price {
    padding: 7px 0 !important;
    height: auto !important;
}

body #page .product_list.grid>li .right-block .add_to_cart_wrapper a.button .add-to-cart-price>div {
    font-family: Playfair Display;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    vertical-align: middle;
    text-transform: none;
}

.product-image-overlay {
   position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.38) 4% 3%, rgb(255 255 255 / 27%) 3% 1%, rgb(255 255 255 / 6%) 7%, rgb(0 0 0 / 21%) 100%);
    pointer-events: none;
    border-radius: 4px;
    z-index: 1;
    box-shadow: inset 5px 0px 4px rgb(0 0 0 / 42%);
}

/* media queries */

@media screen and (max-width: 1000px) {
    body #columns div.prices span {
        font-size: 20px;
    }

    body #page .product_list.grid>li {
        max-width: calc(100% / 3);
    }

    body #page .product_list.grid>li .left-block .product-name-container a.product-name {
        font-size: 16px;
    }

    div#cube_page header#header .container.container-header div.prices {
        top: 35px;
    }

    div#cube_page header#header .container.container-header div.prices.prices-left {
        right: unset;
        left: 20%;
    }

    div#cube_page header#header .container.container-header div.prices.prices-right {
        right: 20%;
    }

    div#cube_page header#header .container.container-header div.prices span {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {

    body div#page {
        padding-top: 150px !important;
    }

    body #columns div.prices {
        flex-direction: column;
        gap: 10px;
    }

    body #columns div.prices span {
        font-size: 18px;
    }

    body ul.product_list {
        padding: 0 !important;
    }

    body #page .product_list.grid>li {
        max-width: calc(100% / 2);
    }

    body #page .product_list.grid>li .right-block .add_to_cart_wrapper a.button .add-to-cart-price>div {
        font-size: 18px;
    }
    #product_grid_zoomer,
    body #page .content_sortPagiBar > div:nth-child(2) {
        display: none;
    }
}

@media screen and (max-width: 500px) {
    body #page .product_list.grid>li {
        max-width: 100%;
    }
    body #page .content_sortPagiBar {
        display: block;
    }
    body #page .content_sortPagiBar .sortPagiBar {
        gap: 5px;
        flex: 0 0 100%;
        overflow-x: scroll;
        overflow-y: hidden;
        max-width: 500px;
    }
    div.tag_filter>.tag_filter_content ul {
        min-height: 200px;
        max-width: 300px;
        flex-direction: column;
        display: flex;
        width: 80vw;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    div.tag_filter>.tag_filter_content li label {
        font-size: 18px;
        gap: 10px;
    }
}

body ul.product_list {
    padding: 0;
    margin: 0 -10px;
}
.top-pagination-content {
    display: none;
}
body #page .content_sortPagiBar .sortPagiBar:after {
    display: none;
}