/****** STORE SKRÆME ******/

@media only screen and (min-width: 1920px) {}


/****** BÆRBAR / MINDRE SKÆRME ******/

@media only screen and (max-width: 1440px) {
    .stom-button a {
        font-size: 18px;
    }
    
    .slick-dots li button {
        width: 16px;
        height: 16px;
    }

    .slick-dots li.slick-active button:before {
        width: 14px;
        height: 14px;
    }

    header .top-bar {
        font-size: 14px;
    }
    
    span.sub-heading {
        font-size: 18px;
    }
    
    .page-slider-section .slider-text-inner .slider-text-inner-wrapper > h1, 
    .page-slider-section .slider-text-inner .slider-text-inner-wrapper > h2 {
        font-size: 48px;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper > p {
        font-size: 18px;
    }

    header .main-navigation ul.menu a {
        font-size: 16px;
    }

    #woo-icons .stom-custom-svg, 
    header .stomWF-favourites-list-link a {
        font-size: 18px;
    }

    #woo-icons .site-header-cart .cart-contents span.count {
        font-size: 14px;
    }

    .section-wrap.clear.information-container .section > ul li {
        font-size: 18px;
    }

    .section-wrap.clear.service-section .section .grid-elements .grid-element .overlay .content > h2, 
    .section-wrap.clear.service-section .section .grid-elements .grid-element .overlay .content > h3 {
        font-size: 18px;
    }

    .section-wrap.clear.service-section .section .grid-elements .grid-element .overlay .content > p {
        font-size: 14px;
    }

    .section-wrap.clear.stom-products-section .section .section-link a {
        font-size: 18px;
    }

    .woocommerce ul.products li.product a.button {
        font-size: 18px;
    }

    .woocommerce ul.products li.product .product-category {
        font-size: 14px;
    }

    .woocommerce ul.products li.product .woocommerce-loop-category__title, 
    .woocommerce ul.products li.product .woocommerce-loop-product__title, 
    .woocommerce ul.products li.product h3 {
        font-size: 16px;
    }

    .woocommerce ul.products li.product .price {
        font-size: 16px;
    }

    .anmeldelse-updated-design .stom-anmeldelse-tekst-content {
        font-size: 16px;
    }

    .anmeldelse-updated-design .stom-anmeldelse-reviewer {
        font-size: 16px;
    }

    #colophon.footer-setting-02 {
        /* font-size: 14px; */
    }

    .woocommerce-products-header .term-short-description {
        font-size: 16px;
    }

    .woocommerce .woocommerce-result-count,
    .woocommerce .woocommerce-ordering select {
        font-size: 16px;
    }

    .bapf_sfilter .bapf_head > h3 {
        font-size: 18px;
    }

    .bapf_sfilter .bapf_body li > label {
        font-size: 14px;
    }

    .woocommerce div.product .woocommerce-product-details__short-description {
        font-size: 16px;
    }

    .single-product-fullwidth #primary .product_title + .price {
        font-size: var(--h3);
    }
}

@media only screen and (max-width: 1240px) {
     :root body {
        /* Font sizes */
        --h1: 40px;
        --h2: 34px;
        --h3: 22px;
        --h4: 19px;
        --h5: 15px;
        --h6: 13px;
        --p: 16px;
        /* Gaps */
        --gap-l: 60px;
        --gap-m: 25px;
        --gap-s: 20px;
        /* Sidebar */
        --sidebar-width: 280px;
    }

    header .main-navigation ul.menu a {
        font-size: 14px;
    }

    .section-wrap.clear.stom-billede-sektion {
        margin-inline: var(--gap-m);
    }

    .stom-billede-sektion .stom-picture {
        width: 50%;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper > h1, 
    .page-slider-section .slider-text-inner .slider-text-inner-wrapper > h2 {
        font-size: var(--h1);
    }

    .section-wrap.clear.information-container .section > ul li {
        font-size: 16px;
    }

    #colophon.footer-setting-02 {
        font-size: 14px;
    }

    #colophon .widget-title {
        font-size: 18px;
    }

    .woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item .variable-item-span .variation-price .price {
        font-size: 12px;
    }

    .woocommerce #content div.product div.images, 
    .woocommerce div.product div.images, 
    .woocommerce-page #content div.product div.images, 
    .woocommerce-page div.product div.images {
        margin-bottom: 90px !important;
    }

    .woocommerce #content div.product div.summary, 
    .woocommerce div.product div.summary, 
    .woocommerce-page #content div.product div.summary, 
    .woocommerce-page div.product div.summary {
        margin-bottom: 90px !important;
    }

    .section-wrap.clear.instagram-section .section .grid-elements {
        gap: var(--gap-m);
    }

    .section-wrap.clear.instagram-section .section .grid-elements .grid-element.feed .overlay {
        padding: var(--gap-m);
    }

    body:not(.no-sidebar):not(.woocommerce) #primary {
        width: calc(100% - var(--sidebar-width) - var(--sidebar-gap));
    }

    .section-wrap.clear.contact-form-section .section .grid-elements .grid-element .overlay {
        padding: 40px;
    }

    .section-wrap.clear.contact-form-section .section .grid-elements .grid-element.grid-span-2 {
        /* grid-column: inherit; */
    }
}

@media only screen and (max-width: 1200px) {
    .section-wrap.clear.category-section .section .grid-elements {
        display: block;
    }

    .section-wrap.clear.category-section .section .grid-elements .grid-element.heading {
        margin-bottom: var(--gap-s);
    }

    .section-wrap.clear.category-section .section .grid-elements .grid-element-slider-wrap .slick-list {
        margin-left: -10px;
        margin-right: -10px;
    }

    .section-wrap.clear.category-section .section .grid-elements .grid-element-slider-wrap .slick-list .slick-track {
        margin-left: 0;
        gap: 0;
    }
    
    .section-wrap.clear.category-section .section .grid-elements .grid-element-slider-wrap .slick-list .slick-track:before,
    .section-wrap.clear.category-section .section .grid-elements .grid-element-slider-wrap .slick-list .slick-track:after {
        display: none;
    }

    .section-wrap.clear.category-section .section .grid-elements .grid-element-slider-wrap .slick-list .slick-track .grid-element {
        margin: 0 10px;
    }

    .section-wrap.clear.category-section .section .grid-elements .grid-element-slider-wrap .slick-dots {
        position: static;
        margin-top: var(--gap-l);
    }

    .woocommerce ul.products li.product a.button {
        font-size: 16px;
    }
}

@media only screen and (max-width: 1140px) {
    .section-wrap.clear.service-section .section .grid-elements {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        row-gap: var(--gap-l);
    }
    
    .section-wrap.clear.service-section .section .grid-elements .grid-element .overlay {
        justify-content: flex-start;
    }
}


/****** IPADS - VERTIKALT ******/

@media only screen and (max-width: 959px) {
     :root body {
        /* Grid columns */
        --grid-2-cols: 1;
        --grid-3-cols: 2;
        --grid-4-cols: 2;
        --grid-5-cols: 3;
        --grid-6-cols: 3;
        --grid-7-cols: 4;
        --grid-8-cols: 4;
        --grid-9-cols: 5;
        --grid-10-cols: 5;
        --grid-11-cols: 6;
        --grid-12-cols: 6;
    }

    .stom-button a,
    .woocommerce ul.products li.product a.button {
        font-size: var(--p);
    }

    .stom-button a .arrow,
    .woocommerce ul.products li.product a.button .stom-custom-svg {
        font-size: 12px;
    }
    
    /* Move this rule if you change the the grid columns */
    .last-on-mobile {
        order: 66;
    }

    .section-wrap.clear.stom-products-section .section {
        display: block;
    }

    .section-wrap.clear.stom-products-section .section .container {
        margin-bottom: 20px;
    }

    .footer-setting-02 .footer-widget-area .section .grid-elements {
        grid-template-columns: 1fr;
        gap: var(--gap-l);
    }

    #colophon .widget-title {
        border-bottom: 1px solid var(--color-1);
        padding-bottom: 8px;
        margin-bottom: 20px;
    }

    #colophon .footer-widget-area-site-info .section {
        padding: 25px 0;
    }

    #colophon .footer-widget-area-site-info .section .footer-widgets .widget .textwidget > ul {
        flex-direction: column;
        gap: 8px;
    }

    #colophon .footer-widget-area-site-info .section .footer-widgets .widget .textwidget > ul li:not(:last-of-type):after {
        display: none;
    }

    .woocommerce #content .mere-tekst-wrapper > button {
        font-size: var(--p);
    }

    .woocommerce #content .mere-tekst-wrapper > button .stom-custom-svg {
        font-size: var(--p);
    }

    .section-wrap.clear.instagram-section .section .grid-elements {
        gap: 0;
    }

    .section-wrap.clear.instagram-section .section .grid-elements .grid-element.feed .overlay {
        padding: 0;
    }

    .section-wrap #sb_instagram #sbi_images, 
    .section-wrap #sb_instagram #sbi_images .sbi_item {
        padding: calc(0.5 * var(--gap-s));
    }

    body:not(.no-sidebar):not(.woocommerce) #primary,
    body:not(.no-sidebar):not(.woocommerce) aside#secondary {
        width: 100%;
    }

    #page .open-button {
        background-color: #222;
        padding: 10px;
        font-size: 16px;
        font-weight: 400;
    }

    #secondary .close-button {
        font-size: 1em;
    }

    #secondary:not(.sidebar-setup-after-content) .custom-overflow-wrapper {
        width: 100%;
    }

    #page .open-button .button-icon {
        margin-right: 10px;
    }

    #page .open-button .stom-fa-chevron-down {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
    }

    .section-wrap.clear.contact-form-section .section .grid-elements .grid-element.grid-span-2 {
        grid-column: inherit;
    }

    .home .page-slider-section .slider-text {
        padding-bottom: calc(var(--gap-l) * 1.5);
    }

    .section-wrap.clear.map-section .section .grid-elements .grid-element.grid-span-2 {
        grid-column: inherit;
    }

    
}

@media only screen and (max-width: 810px) {
    .stom-billede-sektion.picture-right .stom-cols-6,
    .stom-billede-sektion.picture-left .stom-cols-6 {
        padding-left: var(--gap-m);
        padding-right: var(--gap-m);
    }
}


/****** MINDRE END IPADS VERTIKALT ******/

@media only screen and (max-width: 782px) {}

@media only screen and (max-width: 767px) {
     :root body {
        /* Font sizes */
        --h1: 30px;
        --h2: 24px;
        --h3: 20px;
        --h4: 18px;
        --h5: 14px;
        --h6: 12px;
        /* --p: 14px; */
        /* Gaps */
        --gap-l: 50px;
        --gap-m: 20px;
        --gap-s: 15px;
        /* Outer margin */
        --content-margin: 0;
    }

    header .top-bar {
        font-size: 12px;
    }

    span.sub-heading,
    .stom-billede-sektion .stom-cols-6 .stom-center-box .sub-heading {
        font-size: var(--p);
    }

    .section-wrap.clear.stom-products-section .section .section-link a {
        font-size: var(--p);
    }

    .section-wrap.clear.information-container .section > ul li {
        font-size: var(--p);
    }

    .section-wrap.clear.service-section {
        margin-top: calc(var(--gap-l) * 1);
    }

    .home .section-wrap.clear.banner-section {
        margin-top: calc(var(--gap-l) * 1);
    }

    .section-wrap.clear.stom-products-section {
        margin-top: calc(var(--gap-l) * 1.5);
    }

    .section-wrap.clear.stom-billede-sektion {
        margin-top: calc(var(--gap-l) * 1);
    }

    .section-wrap.clear.instagram-section {
        margin-top: calc(var(--gap-l) * 1);
    }

    .section-wrap.clear.review-section {
        margin-top: calc(var(--gap-l) * 1);
    }

    .section-wrap.clear.contact-form-section {
        margin-top: calc(var(--gap-l) * 1);
    }

    #colophon.footer-setting-02 {
        margin-top: calc(var(--gap-l) * 1);
    }

    .anmeldelse-updated-design .slick-dots {
        margin-top: 30px;
    }

    .stom-anmeldelse-wrapper, .stom-anmeldelse-wrapper.slick-dotted {
        margin-bottom: 0;
        
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper {
        padding: var(--gap-l) 30px;
    }

    .section-wrap.clear.information-container .section {
        padding-block: 20px;
    }

    .section-wrap.clear.information-container .section > ul {
        flex-direction: column;
        gap: 8px;
    }

    .section-wrap.clear.information-container .section > ul li:not(:last-of-type):after {
        display: none;
    }

    .stom-billede-sektion .stom-picture {
        width: 100%;
    }

    .stom-billede-sektion .stom-picture img {
        max-height: 300px;
    }

    .section-wrap.clear.stom-billede-sektion .stom-cols-6 {
        overflow: hidden;
        padding: calc(var(--gap-l) * 2) var(--gap-l);
    }

    .stom-billede-sektion.picture-right .stom-cols-6, 
    .stom-billede-sektion.picture-left .stom-cols-6 {

    }

    .anmeldelse-updated-design .stom-anmeldelse-reviewer {
        font-size: 14px;
    }

    .anmeldelse-updated-design .stom-anmeldelse-tekst-content {
        font-size: var(--p);
        padding: 40px 25px;
    }

    .footer-setting-02 .footer-widget-area .section {
        padding: 50px 0;
    }

    .woocommerce-products-header {
        margin-bottom: var(--gap-l);
    }

    .woocommerce ul.products li.product, 
    .woocommerce-page ul.products li.product {
        margin-bottom: 80px !important;
    }

    .woocommerce-products-header .term-short-description {
        font-size: var(--p);
    }

    .single-product-fullwidth #primary > .product {
        margin-top: 0;
    }

    /* .single-product-fullwidth #primary > .product .related {
        margin-top: calc(var(--gap-l) * 2);
    } */

    .woocommerce div.product .woocommerce-product-details__short-description {
        font-size: var(--p);
    }

    body.single-product .section-wrap.clear.banner-section {
        margin-top: calc(var(--gap-l) * 1);
    }

    .woocommerce .woocommerce-breadcrumb,
    .single-product-fullwidth #primary nav.woocommerce-breadcrumb {
        font-size: 14px;
    }

    .section-wrap.clear.contact-form-section .section .grid-elements {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 639px) {
     :root body {
        /* Grid columns */
        --grid-2-cols: 1;
        --grid-3-cols: 1;
        --grid-4-cols: 1;
        --grid-5-cols: 1;
        --grid-6-cols: 1;
        --grid-7-cols: 1;
        --grid-8-cols: 1;
        --grid-9-cols: 1;
        --grid-10-cols: 1;
        --grid-11-cols: 1;
        --grid-12-cols: 1;
    }

    .section-wrap.clear.service-section .section .grid-elements {
        /* grid-template-columns: 1fr; */
    }

    .section-wrap.clear.service-section .section .grid-elements .grid-element .overlay > p:first-of-type img {
        max-height: 40px;
        max-width: 40px;
        height: auto;
        width: auto;
    }

    .section-wrap.clear.service-section .section .grid-elements .grid-element .overlay .content > h2, 
    .section-wrap.clear.service-section .section .grid-elements .grid-element .overlay .content > h3 {
        font-size: var(--p);
    }

    .stom-product-count-sorting-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .section-wrap.clear.contact-form-section .section .grid-elements .grid-element .overlay {
        padding: 50px var(--gap-m);
    }

    .gform_wrapper form .gform_footer .gform_button {
        line-height: 1 !important;
    }

    .section-wrap.clear.contact-form-section .section .grid-elements .grid-element.info .overlay > p {
        font-size: var(--p);
    }
}


/****** MOBILER ******/

@media only screen and (max-width: 479px) {
    :root body {
        /* Font sizes */
        --p: 15px;
    }

    header .top-bar .top-bar-right {
        display: none;
    }

    .header-sticky-active.scrolled header .site-branding #logo {
        padding: 10px 0;
    }

    .site-branding #logo img {
        max-height: 70px;
    }

    body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header .site-branding #logo img {
        max-height: 55px;
    }
    
    .stom-billede-sektion.picture-right .stom-cols-6:after {
        right: 0;
        opacity: .75;
    }

    .stom-billede-sektion.picture-left .stom-cols-6:after {
        right: 0;
        opacity: .75;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper > p {
        font-size: 16px;
    }

    .section-wrap.clear.service-section .section .grid-elements {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    .section-wrap.clear.stom-billede-sektion .stom-cols-6 {
        padding: calc(var(--gap-l) * 1.5) var(--gap-m);
    }

    .stom-billede-sektion .stom-picture img {
        max-height: 100%;
    }

    .single-product-fullwidth #primary .product_title {
        font-size: var(--h1);
    }

    .woocommerce div.product .woocommerce-product-details__short-description {
        font-size: 14px;
    }

    .woocommerce-page.single .custom-woocommerce-message .custom-button-wrapper .button {
        font-size: 14px;
    }

    .section-wrap.clear.instagram-section .section .grid-elements .grid-element.cover .overlay > h2, 
    .section-wrap.clear.instagram-section .section .grid-elements .grid-element.cover .overlay > h3 {
        font-size: var(--h3);
    }

    .page-slider-section .slick-slider .slick-dots {
        bottom: var(--gap-s);
        text-align: center;
    }

    .home .page-slider-section .slider-text {
        padding-bottom: var(--gap-l);
    }

    .woocommerce div.product form.cart .button.single_add_to_cart_button {
        font-size: var(--p);
    }

    .woocommerce .stom-input-wrap input, .woocommerce .product .cart .quantity .stom-input-wrap input, .woocommerce .cart_item .stom-input-wrap input {
        height: 45px;
    }

    #delivery-date-buttons .delivery-date-button {
        font-size: 13px;
    }
}

@media only screen and (max-width: 410px) {
    #woo-icons .site-header-cart {
        padding: 10px 20px;
    }

    #woo-icons .stom-custom-svg, 
    header .stomWF-favourites-list-link a {
        font-size: 14px;
    }

    #woo-icons .site-header-cart .cart-contents span.count {
        font-size: 12px;
    }

    .woocommerce ul.products.slick-slider .slick-list, 
    .woocommerce-page ul.products.slick-slider .slick-list {
        margin-left: -10px;
        margin-right: -10px;
    }

    .woocommerce ul.products li.product.slick-slide, 
    .woocommerce-page ul.products li.product.slick-slide, 
    .products .product.slick-slide {
        margin: 0 10px !important;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper {
        padding: var(--gap-l) 20px;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper > h1, 
    .page-slider-section .slider-text-inner .slider-text-inner-wrapper > h2 {
        font-size: 24px;
    }

    .woocommerce ul.products li.product .stom-product-loop-image-wrap {
        margin-bottom: 25px;
    }

    .woocommerce ul.products li.product .woocommerce-loop-category__title, 
    .woocommerce ul.products li.product .woocommerce-loop-product__title, 
    .woocommerce ul.products li.product h3 {
        font-size: 18px;
        line-height: 1.25;
    }

    .section-wrap.clear.stom-products-section .section .woocommerce ul.products .slick-prev, 
    .single-product-fullwidth #primary > .product .related ul.products .slick-prev {
        left: 25px;
    }

    .section-wrap.clear.stom-products-section .section .woocommerce ul.products .slick-next, 
    .single-product-fullwidth #primary > .product .related ul.products .slick-next {
        right: 25px;
    }

    .woocommerce-page.single .custom-woocommerce-message .custom-button-wrapper .button {
        font-size: 12px;
    }

    .stomFST-free-delivery-wrap .stomFST-free-delivery-title {
        font-size: 14px;
    }

    .woocommerce-page.single .custom-product-wrapper .custom-product-title {
        font-size: 14px;
    }

    .woocommerce #content div.product div.images, 
    .woocommerce div.product div.images, 
    .woocommerce-page #content div.product div.images, 
    .woocommerce-page div.product div.images {
        margin-bottom: 40px !important;
    }
}