#index #cube_page div#page {
    padding-top: 200px;
}

#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;
}