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