/*
Theme Name: Number Three One - Child
Theme URI: https://standoutmedia.dk/
Author: Standoutmedia A/S
Author URI: https://standoutmedia.dk/
Description: Et helt specielt Standoutmedia Tema
Template: number-three-one
Text Domain: number-three-child
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/* ===== CSS Variables ===== */

:root {
    /* Font sizes */
    --h1: 60px;
    --h2: 35px;
    --h3: 25px;
    --h4: 22px;
    --h5: 16px;
    --h6: 14px;
    --p: 20px;

    /* Gaps */
    --gap-l: 90px;
    --gap-m: 40px;
    --gap-s: 20px;

    /* font families */
    --h-fam: 'Lora', serif;
    --p-fam: 'Work Sans', sans-serif;
    --btn-fam: var(--p-fam);

    /* colors */
    --color-1: #746354;
    --color-2: #DBB362;
    --color-bg: #F7F0E7;
    --color-text: #22221E;
    --color-dark: #22221E;
    --color-overlay: rgb(0 0 0 / 20%);

    --border-radius: 10px;

    /* transitions */
    --transition: .175s ease-out;

    /* Margin on the right and left of the main content sections (change 0 to 1 to match template distances)*/
    --content-margin: calc(0 * var(--gap-m));
    --slider-text-width: 800px;
    
    /* Theme defined variables from PHP */
    --content-width: initial;
    --sidebar-width: initial;
    /* END Theme defined variables from PHP */
}


/* ===== END CSS Variables ===== */


/*======================================================================//
// style.css                                                            //
//======================================================================*/


/* Generel */
body {
	background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 400;
    transition: var(--transition);
}

html, body, input, select, optgroup, textarea {
    font-weight: 300;
    line-height: 1.25;
    transition: var(--transition);
}

p {
    margin: 0 0 1.2em;
}

p + .stom-button {
    margin-top: 30px;
}

.stom-button a {
    display: inline-block;
    background-color: var(--color-1);
    border: 1px solid var(--color-1);
    font-size: var(--p);
    font-weight: 300;
    color: #fff;
    border-radius: 25rem;
    line-height: 1.25;
    padding: 12px 20px;
}

.stom-button a:hover {
    background-color: var(--color-bg);
    color: var(--color-1);
    border-color: var(--color-1);
}

.stom-button.transparent a {
    background-color: transparent;
    border-color: var(--color-bg);
    color: var(--color-bg);
}

.stom-button.transparent a:hover {
    background-color: var(--color-bg);
    color: #22221E;
    border-color: var(--color-bg);
}

.stom-button.white a {
    background-color: #fff;
    border-color: #fff;
    color: #22221E;
}


.stom-button.white a:hover {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

span.read-more a {
    text-decoration: none;
    border-bottom: 1px solid var(--color-2);
    padding-bottom: 5px;
}

span.read-more a .stom-custom-svg {
    font-size: 13px;
    color: var(--color-2);
    line-height: 0;
    margin-left: .25em;
}

.slick-dots li button {
    width: 12px;
    height: 12px;
}

.slick-dots li button:before {
    opacity: 1;
    border: 1px solid var(--color-text);
    background-color: transparent;
}

.slick-dots li.slick-active button:before {
    opacity: 1;
    background-color: var(--color-text);
}

.stom-small.small-left {
    max-width: 870px;
}

/* Sections */
.section-wrap.clear.has-background span.sub-heading {
    color: #fff;
}

.section-wrap.clear.stom-billede-sektion {
    margin-top: calc(var(--gap-l) * 2);
}

.section-wrap.clear.stom-billede-sektion .stom-cols-6 {
    align-items: flex-start;
    padding-top: 0;
    min-height: 765px;
}

.section-wrap.clear.stom-billede-sektion .stom-picture > img {
    border-radius: var(--border-radius);
}

.section-wrap.clear.stom-billede-sektion.has-background {
    padding-block: var(--gap-l);
}

.section-wrap.clear.stom-billede-sektion.has-background .section {
    padding-block: 0;
}

.section-wrap.clear.stom-billede-sektion.has-background .section .stom-cols-6 {
    min-height: 440px;
    padding-block: var(--gap-l);
    align-items: center;
}

/* Logo + Menu */
#woo-icons {
    column-gap: 10px;
}

#woo-icons .stom-custom-svg {
    color: #fff;
}

#woo-icons .woo-header-icon:hover .stom-custom-svg {
    color: #fff;
}

.style-header-02 .site-branding #logo {
    padding: 30px 0;
}

.header-sticky-active.scrolled header .site-branding #logo {
    padding: 30px 0;
}

/* Header */
body:not(.woocommerce-cart):not(.woocommerce-checkout) header#masthead {
    background-color: transparent;
    /* transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1); */

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    /* background-color: var(--color-bg); */
    box-shadow: none;
    /* transform: translateY(0); */
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease, border-color 0.5s ease !important;
}

/* Skjul header */
body:not(.woocommerce-cart):not(.woocommerce-checkout) #masthead.header-hidden {
    transform: translateY(-100%);
}

/* Scrollet tilstand (synlig eller skjult) = mørk baggrund + hvidt logo.
   Også mens headeren er skjult, så den glider ind færdig og ikke skifter logo midt i bevægelsen */
body:not(.woocommerce-cart):not(.woocommerce-checkout) #masthead {
    border-bottom: 1px solid transparent;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout) #masthead.header-visible,
body:not(.woocommerce-cart):not(.woocommerce-checkout) #masthead.header-hidden {
    background-color: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* Blur-laget lever i et pseudoelement BAG indholdet og fader ind/ud */
body:not(.woocommerce-cart):not(.woocommerce-checkout) #masthead::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: -1;            /* bag headerens indhold */
    pointer-events: none;   /* så klik går igennem til menuen */
    opacity: 0;
    transition: opacity 0.5s ease;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout) #masthead.header-visible::before,
body:not(.woocommerce-cart):not(.woocommerce-checkout) #masthead.header-hidden::before {
    opacity: 1;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout) #masthead.header-top {
    background-color: transparent;
    box-shadow: none;
}


/* Logo-switch med blød overgang (crossfade begge veje) */
#logo a {
    position: relative;
    display: inline-block;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout) #logo .logo-default {
    display: inline-block;
    transform: scale(1);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout) #logo .logo-alt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    opacity: 0;
    pointer-events: none;
    filter: brightness(0) invert(1);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout) #masthead.header-visible #logo .logo-default,
body:not(.woocommerce-cart):not(.woocommerce-checkout) #masthead.header-hidden #logo .logo-default {
    opacity: 0;
    transform: scale(0.96);
}

body:not(.woocommerce-cart):not(.woocommerce-checkout) #masthead.header-visible #logo .logo-alt,
body:not(.woocommerce-cart):not(.woocommerce-checkout) #masthead.header-hidden #logo .logo-alt {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
    body:not(.woocommerce-cart):not(.woocommerce-checkout) #masthead::before,
    body:not(.woocommerce-cart):not(.woocommerce-checkout) #logo .logo-default,
    body:not(.woocommerce-cart):not(.woocommerce-checkout) #logo .logo-alt {
        transition: none;
    }
}

#woo-icons .site-header-cart .cart-contents span.count, 
header .stomWF-favourites-list-link .count {
    bottom: unset;
    top: -15px;
    right: 0;
    font-size: 12px;
    padding: 4px;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled #masthead {
    box-shadow: none;
}

/*
header#masthead .top-bar {
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
  max-height: 60px;
  overflow: hidden;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled #masthead {
    z-index: 999;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled #masthead .top-bar {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled #masthead {
    background-color: transparent;
    border-bottom: none;
    box-shadow: none;
    padding: 10px 24px;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled #masthead .header-wrapper {
    background: var(--color-dark);
    max-width: var(--content-width);
    border-radius: var(--border-radius);
    padding: 6px 20px;
    border: 0.5px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#masthead .header-wrapper {
    transition: background 0.4s ease,
                border-radius 0.4s ease,
                padding 0.4s ease,
                border 0.4s ease;
    border-radius: 0;
    border: 0.5px solid transparent;
}
*/

#masthead .header-wrapper .header-inner {
    width: 100%;
    align-items: center;
}

header.site-header .section-wrap .section,
.header-sticky-active.scrolled .style-header-02 .section-wrap .section {
    padding: 8px 0;
}

.header-sticky-active.scrolled header .site-branding #logo img.logo-landscape {
    max-height: 80px;
    max-width: 300px;
}

.header-sticky-active.scrolled header .nav-wrap #site-navigation .menu-toggle {
    /* font-size: 24px; */
}

.header-sticky-active.scrolled header .nav-wrap #site-navigation .menu-toggle > .title {
    /* font-size: 16px; */
}

.header-sticky-active.scrolled header #woo-icons .site-header-cart .cart-contents span.count {
    background-color: #fff;
    color: #000;
}

header .top-bar .section {
    border-bottom: 1px solid #fff;
}

header .top-bar .section:after {
    display: none !important;
}

header .top-bar .section > ul {
    /*
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    */
}

header .top-bar ul li {
    font-size: 16px;
    font-weight: 275;

    display: flex;
    align-items: center;
    column-gap: 8px;
}

header .top-bar ul li:not(:last-of-type) {
    margin-right: 25px;
}

header .top-bar ul li > img {

}

.home .page-slider-section .image-aligner img {
    max-height: 100vh;
}

.page-slider-section .slider-text {
    align-items: flex-end;
    padding-bottom: var(--gap-l);
}

.page-slider-section .slider-text-inner .slider-text-inner-wrapper h1 {
    line-height: 1.35;
}

.page-slider-section .slider-text-inner .slider-text-inner-wrapper p {
    font-size: 20px;
    font-family: var(--h-fam);
}

.page-slider-section .slider-text-inner .slider-text-inner-wrapper p + .stom-button {
    margin-top: 30px;
}

.page-slider-section .slider-text-inner .slider-text-inner-wrapper .stom-button a {
    font-size: var(--p);
    font-weight: 300;
    padding: 12px 30px;
}

.page-slider-section .slider-inner {
    position: relative;
}

.page-slider-section .slider-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
    bottom: var(--gap-l);
    right: calc(var(--gap-l) * 2);
    width: auto;
    gap: 18px;
}

.page-slider-section .slider-controls .slick-arrow {
    position: static;
    background-color: transparent;
    box-shadow: none;
    width: auto;
    height: auto;
    padding: 0;
    border-radius: 0;
}

.page-slider-section .slider-controls .slick-arrow.slick-prev {
    order: 2;
}

.page-slider-section .slider-controls .slick-arrow.slick-next {
    order: 3;
}

.page-slider-section .slider-controls .slick-arrow .stom-custom-svg {
    font-size: 29px;
    line-height: 0;
    color: #fff;
}

.page-slider-section .slider-controls .slick-dots {
    position: static;
    display: flex;
    order: 1;
    margin-right: 8px;
}

.page-slider-section .slider-controls .slick-dots li button:before {
    background-color: transparent;
    border-color: #fff;
}

.page-slider-section .slider-controls .slick-dots li.slick-active button:before {
    background-color: #fff;
}

span.sub-heading {
    display: block;
    margin-bottom: 5px;
    font-size: var(--p);
    font-weight: 300;
    color: var(--color-1);
}

/* Frontpage */
.home .section-wrap.clear.card-section.footer {
    display: none;
}

.section-wrap.clear.category-section {
    margin-inline: 0;
}

.section-wrap.clear.category-section .section {
    max-width: 100%;
    padding-left: calc(var(--gap-l) * 2);
}

.section-wrap.clear.category-section .section .grid-elements {
    display: block;
}

.section-wrap.clear.category-section .section .grid-elements .grid-element:not(.heading) {
    overflow: hidden;
    position: relative;
}

.section-wrap.clear.category-section .section .grid-elements .grid-element:not(.heading) > img {
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.section-wrap.clear.category-section .section .grid-elements .grid-element:not(.heading):hover > img {
    opacity: .4;
}

.section-wrap.clear.category-section .section .grid-elements .grid-element .overlay {
    grid-row: inherit;
    margin-top: 18px;
    padding: 0;
}

.section-wrap.clear.category-section .section .grid-elements .grid-element .overlay > h3 {
    padding-bottom: 2px;
}

.section-wrap.clear.category-section .section .grid-elements .grid-element-slider-wrap {
    margin-top: 50px;
}

.section-wrap.clear.category-section .section .grid-elements .grid-element-slider-wrap .slick-list {
    margin-left: -15px;
    margin-right: -15px;
    padding: 0 12% 0 0;
}

.section-wrap.clear.category-section .section .grid-elements .grid-element-slider-wrap .slick-list .slick-track {
    display: flex;
    gap: 0;
    margin-left: 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 .slick-slide {
    display: block;
    margin: 0 15px;
    height: fit-content;
}

.section-wrap.clear.card-section {
    margin-top: calc(var(--gap-l) * 2);
}

.section-wrap.clear.card-section .section .grid-elements {
    column-gap: 30px;
    align-items: flex-start;
}

.section-wrap.clear.card-section .section .grid-elements .grid-element > img {
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 600px;
}

.section-wrap.clear.card-section .section .grid-elements .grid-element:not(.heading):hover > img {
    opacity: .4;
}

.section-wrap.clear.card-section .section .grid-elements .grid-element:not(.heading) .overlay {
    grid-row: inherit;
    padding: 0;
    margin-top: 22px;
    justify-content: flex-start;
}

.section-wrap.clear.card-section .section .grid-elements .grid-element:not(.heading) .overlay > h3 {
    margin-bottom: 5px;
}

.section-wrap.clear.about-section .section .stom-cols-6 {
    padding-bottom: 0;
}

.section-wrap.clear.about-section .section .stom-cols-6 .stom-center-box {
    min-height: 765px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section-wrap.clear.about-section .section .stom-cols-6 .stom-center-box .content > .sub-heading {
    margin-bottom: 0;
}

.section-wrap.clear.about-section .section .stom-cols-6 .stom-center-box .content > h2 {
    font-size: var(--h1);
}

.section-wrap.clear.about-section .section .stom-cols-6 .stom-center-box > p:first-of-type {
    line-height: 0;
}

.section-wrap.clear.about-section .section .stom-cols-6 .stom-center-box > p:first-of-type img {
    border-radius: var(--border-radius);
}

.section-wrap.clear.workshop-section {
    overflow: hidden;
    position: relative;
    background-size: cover;
    height: 100vh;
    margin-top: 0;
}

.section-wrap.clear.workshop-section:before {
    content:"";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(34, 34, 30, 0.70) 0%, rgba(34, 34, 30, 0.70) 100%);
    /* z-index: 2; */
	pointer-events: none;
}

.section-wrap.clear.workshop-section .section {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.section-wrap.clear.workshop-section .section:after {
    display: none;
}

.section-wrap.clear.workshop-section .section .stom-small > .sub-heading {
    font-weight: 200;
}

.section-wrap.clear.workshop-section .section .stom-small > p {
    font-weight: 200;
}

.section-wrap.clear.workshop-section .section .stom-small > p + .stom-button {
    margin-top: 15px;
}

.section-wrap.clear.quote-section {
    overflow: hidden;
    position: relative;
    background-size: cover;
    margin-top: calc(var(--gap-l) * 2);
    height: 100vh;
}

.section-wrap.clear.quote-section .section {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-wrap.clear.quote-section .section:after {
    display: none;
}

.section-wrap.clear.quote-section .section blockquote {
    margin-inline: 0;
    max-width: 1200px;
}

.section-wrap.clear.quote-section .section blockquote > p {
    font-size: var(--h1);
    font-family: var(--h-fam);
    transition: var(--transition);
}

/* Subpages */
body:not(.home) .page-slider-section .image-aligner img {
    max-height: calc(85vh - var(--header-height));
}

body.workshop-page .section-wrap.clear.stom-billede-sektion .stom-cols-6 {
    min-height: 500px;
}

.section-wrap.clear.contact-section .section .grid-elements {
    overflow: hidden;
    gap: 0;
    border-radius: var(--border-radius);
    border: 1px solid #000;
}

.section-wrap.clear.contact-section .section .grid-elements .grid-element.form {
    grid-column: span 2;
}

.section-wrap.clear.contact-section .section .grid-elements .grid-element.form .overlay > p {
    font-size: 16px;
}

.section-wrap.clear.contact-section .section .grid-elements .grid-element.info .overlay > p {
    font-size: 16px;
}

.section-wrap.clear.contact-section .section .grid-elements .grid-element .overlay {
    justify-content: flex-start;
}

/* Kontaktoplysninger: ikon + overskrift (sort) til venstre, oplysninger til højre.
   Kun CSS – indholdet i WYSIWYG'en er uændret (h5 med ikon-billede, efterfulgt af p'er).
   Smal boks: overskriften står over oplysningerne, der rykkes ind under overskriftsteksten. */
.section-wrap.clear.contact-section .section .grid-elements .grid-element.info {
    container-type: inline-size;
    --info-icon: 32px;
    --info-icon-gap: 12px;
}

.section-wrap.clear.contact-section .section .grid-elements .grid-element.info .overlay {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
}

.section-wrap.clear.contact-section .section .grid-elements .grid-element.info .overlay > h5 {
    display: flex;
    align-items: center;
    gap: var(--info-icon-gap);
    margin: 0;
    /* .white-text sætter --color-text til hvid; arv i stedet boksens tekstfarve (#22221e fra ACF) */
    color: inherit;
}

.section-wrap.clear.contact-section .section .grid-elements .grid-element.info .overlay > h5:not(:first-child) {
    margin-top: 28px;
}

.section-wrap.clear.contact-section .section .grid-elements .grid-element.info .overlay > h5 img {
    flex: 0 0 var(--info-icon);
    width: var(--info-icon);
    height: var(--info-icon);
    margin: 0;
    object-fit: contain;
}

.section-wrap.clear.contact-section .section .grid-elements .grid-element.info .overlay > p {
    margin: 6px 0 0;
    padding-left: calc(var(--info-icon) + var(--info-icon-gap));
}

.section-wrap.clear.contact-section .section .grid-elements .grid-element.info .overlay > p + p {
    margin-top: 8px;
}

@container (min-width: 540px) {
    .section-wrap.clear.contact-section .section .grid-elements .grid-element.info .overlay {
        grid-template-columns: max-content minmax(0, 1fr);
        column-gap: clamp(24px, 4cqi, 48px);
    }

    .section-wrap.clear.contact-section .section .grid-elements .grid-element.info .overlay > h5 {
        grid-column: 1;
        align-self: start;
    }

    /* Første tekstlinje flugter med overskriften (ikonet er 32px højt) */
    .section-wrap.clear.contact-section .section .grid-elements .grid-element.info .overlay > p {
        grid-column: 2;
        padding-left: 0;
    }

    .section-wrap.clear.contact-section .section .grid-elements .grid-element.info .overlay > h5 + p {
        margin-top: 6px;
    }

    .section-wrap.clear.contact-section .section .grid-elements .grid-element.info .overlay > h5:not(:first-child) + p {
        margin-top: calc(28px + 6px);
    }
}

/* Fra tablet: kontaktboks og formular deler bredden ligeligt, så oplysningerne kan stå ved siden af overskrifterne */
@media only screen and (min-width: 768px) {
    .section-wrap.clear.contact-section .section .grid-elements {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-wrap.clear.contact-section .section .grid-elements .grid-element.form {
        grid-column: auto;
    }
}

/* Skillestreg mellem de to halvdele i kontaktboksen og kortet – samme streg som kassens kant.
   Side om side: lodret streg. Mobil (stablet): vandret streg. */
.section-wrap.clear.contact-section .section .grid-elements .grid-element.info {
    border-bottom: 1px solid #000;
}

.section-map.maps-optimize .section > .map-container {
    border-top: 1px solid #000;
}

@media only screen and (min-width: 768px) {
    .section-wrap.clear.contact-section .section .grid-elements .grid-element.info {
        border-bottom: 0;
        border-right: 1px solid #000;
    }

    .section-map.maps-optimize .section > .map-container {
        border-top: 0;
    }

    .section-map.maps-optimize .section > .stom-cols-6:first-child {
        border-right: 1px solid #000;
    }
}

/* Kort-sektion ("Find vej til os"): samme kort-look som kontaktboksen – kant, runde hjørner,
   samme bredde. Kortet fylder sin halvdel i fuld højde, så Googles stedkort (navn + rating) får plads. */
.section-map.maps-optimize {
    line-height: 1.5;
}

.section-map.maps-optimize .section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #000;
    border-radius: var(--border-radius);
    background-color: #f7f0e7;
}

.section-map.maps-optimize .section > .stom-cols-6,
.section-map.maps-optimize.optimize-left .section > .stom-cols-6:not(.last),
.section-map.maps-optimize.optimize-right .section > .stom-cols-6.last {
    position: static;
    float: none;
    width: auto;
    margin: 0;
}

.section-map.maps-optimize .section > .map-container {
    min-height: clamp(380px, 34vw, 560px);
    line-height: 0;
}

.section-map.maps-optimize .map-container .stom_maps_free {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    border: 0;
}

.section-map.maps-optimize .section > .stom-cols-6:not(.map-container) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Spejler kontaktboksen: beige til venstre (oplysninger/kort), hvid til højre (formular/tekst),
       og samme indrykning som formularen, så "Skriv til os" og "Find vej til os" flugter */
    padding: var(--gap-m);
    background-color: #fff;
}

.section-map.maps-optimize .section > .stom-cols-6:not(.map-container) > :last-child {
    margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
    .section-map.maps-optimize .section {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Mobil: overskrift og tekst først, kortet under */
    .section-map.maps-optimize .section > .stom-cols-6:not(.map-container) {
        order: -1;
        padding: var(--gap-l) var(--gap-m);
    }

    .section-map.maps-optimize .section > .map-container {
        min-height: 360px;
    }
}

.gform_wrapper form .gform_body {
    padding-top: 0 !important;
}

.gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > * {
    font-size: 14px;
    border-color: #000;
    border-radius: 5px;
}

.gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > *::placeholder {

}

.gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > input {
    height: 40px;
}

.gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > textarea {
    height: 150px;
}

.gform_wrapper form .gform_body .gform_fields .stomGFAS-container-field .stomGFAS-inner {
    max-width: 100%;
    width: 100%;
    background-color: #fff;
    border-color: #000;
    border-radius: 5px;
    box-shadow: none;
}

.gform_wrapper form .gform_body .gform_fields .stomGFAS-container-field .stomGFAS-label {
    font-size: 14px;
    font-weight: 600;
}

.gform_wrapper form .gform_footer {
    margin: 40px 0 0 !important;
}

.gform_wrapper form .gform_footer .gform_button {
    display: inline-block;
    background-color: var(--color-1);
    border: 1px solid var(--color-1);
    font-size: var(--p);
    font-weight: 300;
    color: #fff;
    border-radius: 25rem;
    line-height: 1.25;
    padding: 12px 20px;
}

.gform_wrapper form .gform_footer .gform_button:hover{
    background-color: #fff;
    border-color: var(--color-1);
    color: var(--color-1);
}

.section-wrap.clear.employee-section .section .grid-elements .grid-element .overlay > p img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

body:not(.home).no-sidebar #main-content #content {
    max-width: 1200px;
}

/* Kategori-/underkategori-visning (uden filtre): samme bredde som produktvisningen */
body.aa-subcategory-view.no-sidebar #main-content #content {
    max-width: var(--content-width);
}

/* Tomme kategorier: grå, ikke klikbare, med label */
.woocommerce ul.products li.product-category.aa-cat-empty {
    cursor: default;
}

/* Samme billedstørrelse som de klikbare kort (deres regler kræver et <a> omkring billedet) */
.woocommerce ul.products li.product-category.aa-cat-empty img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 0 1em;
    box-shadow: none;
    border-radius: var(--border-radius);
    filter: grayscale(1);
    opacity: .45;
}

.woocommerce ul.products li.product-category.aa-cat-empty .woocommerce-loop-category__title {
    opacity: .55;
}

.woocommerce ul.products li.product-category .aa-cat-empty-label {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 10px;
    font-size: 13px;
    font-weight: 375;
    line-height: 1.4;
    color: var(--color-text);
    background-color: rgba(34, 34, 30, .07);
    border-radius: 999px;
}

body:not(.home) .entry-content > p a {
    text-decoration: none;
    font-weight: 600;
}

body:not(.home) .entry-content > p a:hover {
    text-decoration: underline;
}

.section-wrap.clear.list-section .section .grid-elements .grid-element.heading .overlay > h2 {
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
}

.section-wrap.clear.list-section .section .grid-elements .grid-element:not(.heading) .overlay ul {  
    column-count: 3;
    /* padding-left: 0; */
}

.section-wrap.clear.list-section .section .grid-elements .grid-element:not(.heading) .overlay ul li {
    /* list-style-type: none; */
    font-size: 16px;
}

.section-wrap.clear.list-section .section .grid-elements .grid-element:not(.heading) .overlay ul li:not(:last-of-type) {
    margin-bottom: 5px;
}

.section-wrap.clear.list-section .section .grid-elements .grid-element:not(.heading) .overlay ul li a {
    text-decoration: none;
}

.section-wrap.clear.list-section .section .grid-elements .grid-element:not(.heading) .overlay ul li a:hover {
    text-decoration: underline;
}

/* Sidebar */

/* Before Colophon */
.section-wrap.clear.usp-section {
    position: relative;
    background-size: cover;
    margin-top: calc(var(--gap-l) * 2);
}

.section-wrap.clear.usp-section:before {
    content:"";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(34, 34, 30, 0.80) 0%, rgba(34, 34, 30, 0.80) 100%);
    /* z-index: 2; */
	pointer-events: none;
}

.section-wrap.clear.usp-section .section {

}

.section-wrap.clear.usp-section .section .grid-elements {
    column-gap: var(--gap-l);
}

.section-wrap.clear.usp-section .section .grid-elements .grid-element .overlay {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    column-gap: 20px;
}

.section-wrap.clear.usp-section .section .grid-elements .grid-element .overlay:after {
    display: none;
}

.section-wrap.clear.usp-section .section .grid-elements .grid-element .overlay > p:first-of-type {
    min-width: 90px;
    max-width: 90px;
    margin: 10px 0 0;
    line-height: 0;
    text-align: right;
}

.section-wrap.clear.usp-section .section .grid-elements .grid-element .overlay .content > p {
    font-size: 18px;
}

.section-wrap.clear.usp-section .section .grid-elements .grid-element .overlay .content > h3 {
    font-size: var(--p);
    margin-bottom: 10px;
}

/* Colophon */
#colophon.footer-setting-02 {
    color: var(--color-text);
	background-color: var(--color-bg);
}

#colophon .widget-title {
    font-size: 22px;
    font-weight: 300;
    font-family: var(--h-fam);
    color: var(--color-text);
    margin-bottom: 15px;
}

.footer-setting-02 .footer-widget-area .section .grid-elements {
    grid-template-columns: 400px 1fr 1fr 1fr;
    column-gap: 70px;
}

#colophon .logo-widget > img {
    width: 100%;
}

/* WooCommerce */
.section-wrap.clear.stom-products-section {
    margin-top: calc(var(--gap-l) * 2);
    margin-inline: 0;
    padding-inline: 0;
}

.section-wrap.clear.stom-products-section .section {
    max-width: 100%;
    padding-left: calc(var(--gap-l) * 2);
}

.section-wrap.clear.stom-products-section .section-link {
    padding-right: calc(var(--gap-l) * 2);
}

.section-wrap.clear.stom-products-section .section-link a {
    font-size: var(--p);
    border-bottom: 1px solid var(--color-2);
    padding-bottom: 5px;
    transition: var(--transition);
}

.section-wrap.clear.stom-products-section .section-link a:hover {
    border-bottom-color: var(--color-dark);
}

.section-wrap.clear.stom-products-section .section-link a .stom-custom-svg {
    font-size: 13px;
    color: var(--color-2);
    margin-left: .25em;
}

.section-wrap.clear.stom-products-section .section .woocommerce {
    border-top: none;
    margin-top: 20px;
}

.section-wrap.clear.stom-products-section .woocommerce ul.products li.product {
    margin: 0 15px;
}

.section-wrap.clear.stom-products-section .woocommerce ul.products li.product > a.woocommerce-loop-product__link {
    pointer-events: none;
}

.section-wrap.clear.stom-products-section .woocommerce ul.products li.product a.button {

}

.section-wrap.clear.stom-products-section .woocommerce ul.products li.product a.button.stom-add-to-cart-button {

}

.section-wrap.clear.stom-products-section.has-background .section {
    padding-block: calc(var(--gap-l) * 2);
}

.section-wrap.clear.stom-products-section .section .container .sub-heading {
    display: block;
    margin-bottom: 12px;
}

.section-wrap.clear.stom-products-section.has-background .section .container .sub-heading {
    color: #fff;
    font-weight: 200;
}

.section-wrap.clear.stom-products-section.has-background .woocommerce ul.products li.product .price {
    color: #fff;
}

.section-wrap.clear.stom-products-section .woocommerce ul.products li.product .woocommerce-loop-product__title {
    max-width: 100%;
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    line-height: 1.25;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    height: auto;
}

.section-wrap.clear.stom-products-section .woocommerce ul.products .slick-list {
    margin-left: -15px;
    margin-right: -15px;
    padding: 0 12% 0 0;
}

.section-wrap.clear.stom-products-section .woocommerce ul.products .slick-dots {
    position: static;
    margin-top: 70px;
    margin-bottom: 0;
    text-align: right;
    padding-right: calc(var(--gap-l) * 2);
}


/* Shop loop */
.woocommerce ul.products li.product .stom-product-loop-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin: 0 0 20px;
}

.woocommerce ul.products li.product .stom-product-loop-image-wrap:before {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    pointer-events: none;
    transform: translateY(100%);
    transition: transform 1.25s ease;
}

.woocommerce ul.products li.product .stom-product-loop-image-wrap .aligner a.stom-add-to-cart,
.woocommerce ul.products li.product .stom-product-loop-image-wrap .aligner a.stom-read-more {
    z-index: 3;
}

.woocommerce ul.products li.product:hover .stom-product-loop-image-wrap:before {
    transform: translateY(0);
}

.woocommerce ul.products li.product .stom-product-loop-image-wrap .aligner {
    padding-top: 110%;
    background-color: #fff;
}

.woocommerce ul.products li.product .stom-product-loop-image-wrap .aligner a.stom-read-more {
    max-width: 90%;
    margin-inline: auto;
    transition: var(--transition);
    transform: translateY(105%);
}

.woocommerce ul.products li.product .stom-product-loop-image-wrap .aligner a.stom-read-more:hover,
.woocommerce ul.products li.product .stom-product-loop-image-wrap .aligner a.stom-add-to-cart:hover {
    background-color: #fff;
    color: #000;
}

.woocommerce ul.products li.product:hover .stom-product-loop-image-wrap .aligner a.stom-read-more  {
    transform: translateY(-20px) !important;
}

.woocommerce ul.products li.product .stom-product-loop-image-wrap .aligner a.stom-add-to-cart {
    max-width: 90%;
    margin-inline: auto !important;
    transition: var(--transition);
    color: #fff;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;

    transform: translateY(105%);   /* skjuler den under bunden i hvile */
}

.woocommerce ul.products li.product:hover .stom-product-loop-image-wrap .aligner a.stom-add-to-cart {
    transform: translateY(-90px) !important;
    
}

.woocommerce ul.products li.product .stom-product-loop-image-wrap .aligner a.stom-read-more,
.woocommerce ul.products li.product .stom-product-loop-image-wrap .aligner a.stom-read-more-button,
.woocommerce ul.products li.product .stom-product-loop-image-wrap .aligner a.stom-add-to-cart  {
    border-radius: 25rem;
    border: 1px solid #fff;
    background-color: transparent;
    padding: 16px 20px;
    font-size: 20px;
    font-weight: 250;
}

.woocommerce ul.products li.product .product-meta-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.woocommerce ul.products li.product .product-meta-wrapper .product-category {
    position: relative;
    display: block;
    font-size: 16px;
    font-weight: 375;
    text-transform: inherit;
    color: var(--color-text);
    line-height: 1.25;
    opacity: 1;
    margin-bottom: 0;
}

.woocommerce ul.products li.product .product-meta-wrapper .product-category:after {
    content: '|';
    margin: 0 10px;
}

.woocommerce ul.products li.product .product-meta-wrapper .product-stock-status {
    display: flex;
    align-items: center;
    column-gap: 5px;
}

.woocommerce ul.products li.product .product-meta-wrapper .product-stock-status .stock-indicator {
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.stock-instock .stock-indicator {
    background-color: #4caf50;
}

/* Ny status: Kontakt os (gul) */
.stock-contactus .stock-indicator {
    background-color: #fdd835;
}

/* Lagerstatus på produktsiden (samme prik + label som i shop loop) */
.single-product-fullwidth #primary .product .summary .stock.aa-stock-status,
.single-product-fullwidth #primary .product .summary .woocommerce-variation-availability .stock.aa-stock-status {
    display: flex;
}

.aa-stock-status {
    display: flex;
    align-items: center;
    column-gap: 8px;
    margin: 20px 0;
    font-size: 16px;
    font-weight: 375;
    line-height: 1.3;
    color: var(--color-text);
}

.aa-stock-status .stock-indicator {
    display: inline-block;
    flex: 0 0 auto;
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.stock-contact .stock-indicator {
    box-shadow: inset 0 0 0 1px rgba(219, 179, 98, 1);
    background-color: transparent;
}

.stock-onbackorder .stock-indicator {
    background-color: #ff9800;
}

.stock-outofstock .stock-indicator {
    background-color: #f44336;
}

.woocommerce ul.products li.product .product-meta-wrapper .product-stock-status .stock-text {
    font-size: 16px;
    font-weight: 375;
}

.section-wrap.clear.stom-products-section.has-background .woocommerce ul.products li.product .product-category {
    color: #fff;
    font-weight: 300;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 18px;
    margin-bottom: 15px;
    max-width: 100% !important;
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    line-height: 1.25;
    overflow: hidden;
    white-space: normal !important;
    text-overflow: ellipsis;
    height: auto;
}

.section-wrap.clear.stom-products-section.has-background .woocommerce ul.products li.product .woocommerce-loop-product__title {

}

.woocommerce ul.products li.product .price {
    font-size: 22px;
    font-family: var(--h-fam);
    font-weight: 600;
}

.woocommerce ul.products li.product:not(.product-category) img {
    height: 100%;
}

body.woocommerce-page #main-content #content {
    margin-top: var(--gap-l);
}

body.woocommerce-page .header-sticky-active.scrolled header .site-branding #logo img {
    filter: brightness(0) invert(1);
}

/* Delivery content */
.delivery-container {
    margin-block: 40px;
}

.delivery-container ul {
    padding-left: 0;
}

.delivery-container ul li {
    display: flex;
    align-items: center;
    list-style-type: none;
    font-size: 16px;
    font-weight: 350;
}

.delivery-container ul li:not(:last-of-type) {
    margin-bottom: 8px;
}

.delivery-container ul li > img {
    min-width: 16px;
    max-width: 16px;
    margin-right: .25em;
}

.delivery-container ul li .stock-amount {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin-right: .25em;
}

.delivery-container ul li .stock-amount > .stom-custom-svg {
    display: inline-block;
    margin-right: .5em;
    min-width: 20px;
    max-width: 20px;
    text-align: center;
}

.delivery-container ul li .stock-amount > .stom-custom-svg svg path {
    fill: #000 !important;
}

/* Filters */
.bapf_sfilter {
    background-color: transparent;
    border: none;
}

.bapf_sfilter.bapf_ccolaps {
    margin-bottom: 40px;
}

.bapf_sfilter .bapf_body {
    padding: 0;
}

.bapf_sfilter .bapf_head {
    padding: 0;
    border-bottom: none;
    margin-bottom: 20px;
}

.bapf_sfilter h3 {
    font-size: var(--p);
    font-weight: 500;
    font-family: var(--p-fam);
    text-transform: inherit;
}

.bapf_sfilter .bapf_body li:not(:last-of-type) {
    margin-bottom: 8px !important;
}

.bapf_sfilter .bapf_body li > label {
    font-size: 16px;
    font-weight: 400;
}

.bapf_sfilter.bapf_ckbox input[type=checkbox] {
    margin-right: .5em !important;
    width: 20px;
    height: 20px;
    accent-color: var(--color-dark);
    background-color: var(--color-bg);           
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid var(--color-dark);
    cursor: pointer;
    position: relative;
    vertical-align: middle;
}

.bapf_sfilter.bapf_ckbox input[type=checkbox]:checked {
    background-color: var(--color-dark);
    border-color: var(--color-dark);
}

/* Antal pr. filterværdi (dynamisk – genberegnes efter hvert valg) */
.bapf_sfilter .bapf_body li .pcs {
    margin-left: 4px;
    font-size: 14px;
    opacity: .55;
}

/*----------------------------------------------------------------------
 * Mega-filter over produkterne (BeRocket-filter vist som fliser)
 * Markup: li > input + label + span.pcs  – hele li'en er flisen
 *--------------------------------------------------------------------*/
.aa-mega-filter {
    margin: 0 0 32px;
}

.aa-mega-filter.is-empty {
    display: none;
}

.aa-mega-filter__title {
    margin: 0 0 14px;
    font-family: var(--h-fam);
    font-size: 22px;
    line-height: 1.3;
    color: var(--color-text);
}

.aa-mega-filter .berocket_single_filter_widget,
.aa-mega-filter .bapf_sfilter,
.aa-mega-filter .bapf_sfilter.bapf_ccolaps {
    margin: 0;
}

.aa-mega-filter .bapf_sfilter .bapf_head {
    display: none;
}

/* Altid åben – også når filteret er sat til at være minimeret i sidebaren */
.aa-mega-filter .bapf_sfilter .bapf_body {
    display: block !important;
    height: auto !important;
}

.aa-mega-filter .bapf_sfilter .bapf_body ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.aa-mega-filter .bapf_sfilter .bapf_body li,
.aa-mega-filter .bapf_sfilter .bapf_body li:not(:last-of-type) {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 48px;
    margin: 0 !important;
    padding: 10px 18px !important;
    border: 1px solid var(--color-dark);
    background-color: transparent;
    color: var(--color-text);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

/* Skjul selve checkboksen – den dækker hele flisen, så alt er klikbart */
.aa-mega-filter .bapf_sfilter.bapf_ckbox input[type=checkbox] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    border: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.aa-mega-filter .bapf_sfilter .bapf_body li > label {
    margin: 0;
    font-size: 16px;
    font-weight: 375;
    line-height: 1.2;
    color: inherit;
    cursor: pointer;
}

.aa-mega-filter .bapf_sfilter .bapf_body li .pcs {
    margin-left: 0;
    color: inherit;
}

.aa-mega-filter .bapf_sfilter .bapf_body li:hover {
    border-color: var(--color-1);
    background-color: rgba(116, 99, 84, .08);
}

.aa-mega-filter .bapf_sfilter .bapf_body li:focus-within {
    outline: 2px solid var(--color-1);
    outline-offset: 2px;
}

.aa-mega-filter .bapf_sfilter .bapf_body li.is-checked,
.aa-mega-filter .bapf_sfilter .bapf_body li:has(input:checked) {
    background-color: var(--color-dark);
    border-color: var(--color-dark);
    color: #fff;
}

.aa-mega-filter .bapf_sfilter .bapf_body li.is-checked .pcs,
.aa-mega-filter .bapf_sfilter .bapf_body li:has(input:checked) .pcs {
    opacity: .7;
}

/* Med billeder (sættes pr. værdi under Varer → Egenskaber / Varemærker) */
.aa-mega-filter.has-images .bapf_sfilter .bapf_body li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 170px;
    padding: 0 0 12px !important;
}

.aa-mega-filter.has-images .bapf_sfilter .bapf_body li > label,
.aa-mega-filter.has-images .bapf_sfilter .bapf_body li > .pcs {
    padding-inline: 12px;
}

.aa-mega-filter.has-images .bapf_sfilter .bapf_body li > label {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-inline: 0;
    width: 100%;
}

.aa-mega-filter.has-images .bapf_sfilter .bapf_body li > label > :not(.aa-mega-filter__img) {
    padding-inline: 12px;
}

.aa-mega-filter__img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #fff;
}

.aa-mega-filter__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media only screen and (max-width: 767px) {
    .aa-mega-filter {
        margin-bottom: 24px;
    }

    .aa-mega-filter__title {
        font-size: 18px;
    }

    /* Én vandret række, der kan scrolles */
    .aa-mega-filter .bapf_sfilter .bapf_body ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        margin-inline: calc(var(--gap-m) * -1);
        padding: 0 var(--gap-m) 6px;
        scrollbar-width: none;
    }

    .aa-mega-filter .bapf_sfilter .bapf_body ul::-webkit-scrollbar {
        display: none;
    }

    .aa-mega-filter .bapf_sfilter .bapf_body li,
    .aa-mega-filter .bapf_sfilter .bapf_body li:not(:last-of-type) {
        flex: 0 0 auto;
        min-height: 42px;
        padding: 8px 14px !important;
        white-space: nowrap;
        scroll-snap-align: start;
    }

    .aa-mega-filter .bapf_sfilter .bapf_body li > label {
        font-size: 15px;
    }

    .aa-mega-filter.has-images .bapf_sfilter .bapf_body li {
        width: 130px;
        padding: 0 0 10px !important;
        white-space: normal;
    }
}

.bapf_slidr_jqrui .bapf_from,
.bapf_slidr_jqrui .bapf_to {
    font-size: 16px;
    font-weight: 400;
}

.bapf_slidr_jqrui .bapf_slidr_main {
    margin-bottom: 20px !important;
}

.stom-product-count-sorting-wrap {
    /* display: inline-block; */
    /* justify-content: space-between; */
    justify-content: flex-start;
    margin: 0 0 35px;
}

.stom-product-count-sorting-wrap .berocket_single_filter_widget {
    
}

.stom-product-count-sorting-wrap .berocket_single_filter_widget .bapf_sfilter {
    margin-bottom: 0;
}

.stom-product-count-sorting-wrap .berocket_single_filter_widget .bapf_sfilter .bapf_head {
    display: none;
}

.stom-product-count-sorting-wrap .berocket_single_filter_widget .bapf_sfilter .bapf_body .bapf_sfa_unall {
    display: none !important;
}

.stom-product-count-sorting-wrap .berocket_single_filter_widget .bapf_sfilter .bapf_body .bapf_sfa_taxonomy ul li {
    margin: 0 !important;
}

.stom-product-count-sorting-wrap .berocket_single_filter_widget .bapf_sfilter .bapf_body .bapf_sfa_taxonomy ul li a {
    font-size: 16px;
    font-weight: 400;
    border-radius: 0;
    border-color: var(--color-text);
    border-width: 1px;
    text-decoration: none;
    padding: 5px 30px 5px 10px;
}

.stom-product-count-sorting-wrap .berocket_single_filter_widget .bapf_sfilter .bapf_body .bapf_sfa_taxonomy ul li a:before {
    color: var(--color-text);
    right: 25px;
    top: 3px;
    font-weight: 300;
}

.woocommerce .woocommerce-ordering {
    margin-left: auto !important;
}

.woocommerce .woocommerce-ordering select {
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
    background-color: var(--color-bg);
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom-color: #000;
    padding: 0;
    font-weight: 400;
}

.woocommerce .woocommerce-ordering select:focus-visible {
    outline: none;
}

/* .woocommerce .woocommerce-ordering select option:not([selected]) { 
    font-size: 14px;
} */

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb a {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text);
}

.woocommerce .woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}

.woocommerce .woocommerce-breadcrumb span {
    font-size: 16px;
    font-weight: 400;
}

 .single-product-fullwidth #main-content #content {
    max-width: var(--content-width) !important;
}

.single-product-fullwidth #primary .stom-product-header-wrapper {
    border-bottom: 0;
    margin: 0 0 40px;
}

.single-product-fullwidth #primary nav.woocommerce-breadcrumb {
    font-size: 16px;
    text-transform: inherit;
    line-height: 1.25;
    max-width: 1200px;
    margin-inline: auto;
    padding-bottom: 0;
}

/* */
.woocommerce-page .site-branding #logo img, 
.woocommerce-page .site-branding #logo svg {
    filter: brightness(0%);
}

.woocommerce-page header#masthead {
    /* background-color: var(--color-bg); */
    border-bottom: 1px solid var(--color-dark);
}

.woocommerce-page header .top-bar .section {
    border-bottom-color: #22221E;
}

.woocommerce-page header .top-bar ul li {
    color: #22221E;
}



.woocommerce-page header .top-bar ul li > img {
    filter: brightness(0%);
}

/* Single product */
.single-product-fullwidth #primary > .product {
    margin-top: 0;
}

.single-product-fullwidth #primary .product.outofstock .summary .delivery-container {
    margin-top: 40px;
}

.woocommerce div.product .product_meta {
    display: none;
}

body.single-product #main-content #content {
    margin-top: 60px;   
}

.single-product-fullwidth #primary > .product .product-inner-wrapper {
    max-width: 1200px;
    margin-top: 20px;
    margin-inline: auto;
    display: block;
    overflow: hidden;
}

.single-product-fullwidth #primary .product .summary .product-category {
    display: block;
    font-size: 16px;
    font-weight: 375;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.single-product-fullwidth #primary .product .summary .stock {
    display: none;
}

.single-product-fullwidth #primary .product .summary .price {
    font-size: 30px;
    font-family: var(--h-fam);
    font-weight: 600;
    border-bottom: 1px solid var(--color-dark);
    margin-top: 35px;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.single-product-fullwidth #primary .product .summary .dvaone {
    margin: 0 !important;
    border-bottom: 1px solid var(--color-dark);
    padding-bottom: 15px;
}

.single-product-fullwidth #primary .product .summary anyday-price-widget {
    margin: 0 !important;
    border-bottom: 1px solid var(--color-dark);
    padding-bottom: 15px;
}

.single-product-fullwidth #primary > .product ul.slick-slider .slick-list {
    margin-left: -15px;
    margin-right: -15px;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 16px;
    line-height: 1.4;
}

.woocommerce div.product .woocommerce-product-details__short-description ol li:not(:last-of-type),
.woocommerce div.product .woocommerce-product-details__short-description ul li:not(:last-of-type) {
    margin-bottom: 5px;
}

.anyday-header {
    font-size: 16px;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button {
    font-weight: 300;
    min-width: calc(100% - 140px);
    background-color: var(--color-1);
    border-color: var(--color-1);
    color: #fff;
    float: right;
    height: 53px;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button:not(.disabled) {
    background-color: var(--color-1);
    border-color: var(--color-1);
    min-width: calc(100% - 140px);
    transition: var(--transition);
}

.woocommerce div.product form.cart .button.single_add_to_cart_button:not(.disabled):hover {
    background-color: var(--color-dark);
    border-color: var(--color-dark);
}

.woocommerce div.product form.cart div.quantity input {
    font-weight: 400;
    background-color: var(--color-bg);
}

.woocommerce .stom-input-wrap input, 
.woocommerce .product .cart .quantity .stom-input-wrap input, 
.woocommerce .cart_item .stom-input-wrap input {
    font-weight: 400;
}

.woocommerce .stom-input-wrap {
    margin-right: 10px;
}

.woocommerce .stom-input-wrap button {
    height: 53px;
    background-color: var(--color-bg);
}

.woocommerce .stom-input-wrap button:hover {
    background-color: var(--color-1);
    color: #fff;
}

/* Popup */
.hear-more-overlay {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hear-more-overlay.active {
    opacity: 1;
    visibility: visible;
}

.hear-more-popup {
    position: relative;
    background-color: var(--color-bg);
    padding: 40px 30px 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.96);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hear-more-overlay.active .hear-more-popup {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.hear-more-btn {
    font-weight: 300;
    width: 100%;
    height: 53px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-dark);
    color: var(--color-text);
    margin-bottom: 40px;
}

.hear-more-btn:hover {
    background-color: var(--color-1);
    border-color: var(--color-1);
}

/* "Kontakt os"-knap (lagerstatus Kontakt os) – primær knap som "Tilføj til kurv" */
.aa-contact-us-cta {
    margin-bottom: 40px;
}

.hear-more-btn.hear-more-btn--contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0;
    background-color: var(--color-1);
    border-color: var(--color-1);
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}

.hear-more-btn.hear-more-btn--contact:hover,
.hear-more-btn.hear-more-btn--contact:focus-visible {
    background-color: var(--color-dark);
    border-color: var(--color-dark);
    color: #fff;
}

.hear-more-btn.hear-more-btn--contact .aa-contact-us-icon {
    flex: 0 0 auto;
}

.aa-contact-us-note {
    margin: 12px 0 0;
    font-size: 14px;
    font-weight: 350;
    line-height: 1.5;
    color: var(--color-text);
    opacity: .8;
}

.hear-more-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    transition: color 0.2s ease;
}

.hear-more-close:hover {
    color: #000;
}

.hear-more-popup .gform_wrapper form .gform_body {
    padding-top: 0 !important;
}

.hear-more-popup .gform_wrapper form .gform_body .gform_fields {

}

.hear-more-popup .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > * {
    font-size: 14px;
    font-weight: 350;
    border-color: var(--color-dark);
}

.hear-more-popup .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > *::placeholder {
    font-size: 14px;
    font-weight: 350;
}

.hear-more-popup .gform_wrapper form .gform_footer .gform_button {
    font-size: 16px;
    font-weight: 300;
    width: 100%;
    height: 53px;
    background-color: var(--color-1);
    border: 1px solid var(--color-1);
    color: #fff;
}

.hear-more-popup .gform_wrapper form .gform_body .gform_fields .stomGFAS-container-field .stomGFAS-inner {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    border-color: var(--color-dark);
    background-color: #fff;
}

.hear-more-popup .gform_wrapper form .gform_body .gform_fields .stomGFAS-container-field .stomGFAS-the-element {
    width: 20px;
    height: 20px;
    border-radius: 0;
    border-width: 1px;
    border-color: var(--color-dark);
}

.hear-more-popup .gform_wrapper form .gform_body .gform_fields .stomGFAS-container-field .stomGFAS-label {
    font-size: 14px;
    font-weight: 500;
}

.hear-more-popup .gform_wrapper form .gform_body .gform_fields .stomGFAS-container-field .stomGFAS-icon {
    font-size: 40px;
}

.hear-more-popup .gform_wrapper form .gform_body .gform_fields .stomGFAS-container-field .stomGFAS-complete {
    font-size: 16px;
}

/* WooComemrce Variations */
.woocommerce div.product form.cart {
    margin-top: 30px;
    margin-bottom: 10px;
}

.woocommerce div.product form.cart .variations {
    margin-bottom: 30px;
}

.woocommerce div.product form.cart .variations tbody {
    display: flex;
    gap: 20px;
}

.woocommerce div.product form.cart .variations tbody tr {
    flex: 1;
}

.woocommerce div.product form.cart .variations td, 
.woocommerce div.product form.cart .variations th {
    text-align: left;
}

.woocommerce div.product form.cart .variations td {
    display: block;
    padding: 0;
}

.woocommerce div.product form.cart .variations th {
    display: block;
    line-height: 1;
    padding: 0;
}

.woocommerce div.product form.cart .variations th label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.woocommerce div.product form.cart .variations select {
    height: 41px;
    width: 100%;
    font-size: 16px;
    background-color: var(--color-bg);
    border-color: var(--color-dark);
    text-indent: 10px;
}

.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation .woocommerce-variation-price .price {
    display: block;
    border-bottom: none !important;
    padding-bottom: 0;
    margin-bottom: 20px;
}

.woocommerce div.product .single_variation_wrap .woocommerce-variation-description {
    display: none;
}

/* Accordions */
.custom-accordions {
    border-top: 1px solid var(--color-dark);
}

.custom-accordion__toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 0;
    background: none;
    border: none;
    border-bottom: 1px solid var(--color-dark);
    cursor: pointer;
    text-align: left;
    color: inherit;
    font-family: inherit;
}

.custom-accordion__toggle span {
    font-size: 20px;
    font-weight: 500;
    font-family: var(--h-fam);
}

.custom-accordion__toggle:hover,
.custom-accordion__toggle:focus {
    background-color: var(--color-bg);
    border-color: var(--color-dark);
    color: #000;
}

.custom-accordion__toggle svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.custom-accordion__toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.custom-accordion__content {
    padding: 1em 0;
    border-bottom: 1px solid var(--color-dark);
}

.custom-accordion__content > p,
.custom-accordion__content > ul li,
.custom-accordion__content > ol li {
    font-size: 16px;
}

.custom-accordion__content > ul li:not(:last-of-type),
.custom-accordion__content > ol li:not(:last-of-type) {
    margin-bottom: 5px;
}

.custom-accordion__content > h1 {
    font-size: var(--h3);
}

.custom-accordion__content > h2 {
    font-size: 24px;
    line-height: 1.3;
    margin-top: 24px;
    margin-bottom: 10px;
}

.custom-accordion__content > h3 {
    font-size: 21px;
    margin-bottom: 8px;
}

.custom-accordion__content .custom-accordion__video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 1rem;
}

.custom-accordion__content .custom-accordion__video:last-child {
    margin-bottom: 0;
}

.custom-accordion__content .custom-accordion__video > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* */
.woocommerce table.shop_attributes th {
    font-weight: 400;
    border-bottom: none;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
    text-align: left;
    font-size: 16px;
}

.woocommerce table.shop_attributes td p {
    padding: 0;
}

.woocommerce table.shop_attributes tr:nth-child(even) td, 
.woocommerce table.shop_attributes tr:nth-child(even) th {
    background-color: var(--color-bg);
}


/* Short description */
.woocommerce div.product .woocommerce-product-details__short-description .short-description__content {
    overflow: hidden;
    max-height: 9999px;
    transition: max-height 0.4s ease;
    line-height: 1.6;
}

/* Collapsed state */
.woocommerce div.product .woocommerce-product-details__short-description.is-collapsed .short-description__content {
    max-height: 3.2em; /* 2 linjer (1.6 * 2) */
}

.woocommerce div.product .woocommerce-product-details__short-description .short-description__toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 300;
    color: var(--color-text);
    margin-top: 8px;
    display: none;
    border-bottom: 1px solid #000;
}

.single-product-fullwidth #primary section.related {
    position: relative;
    display: inline-block;
    width: 100%;
}

.single-product-fullwidth #primary section.related ul.products {
    margin-top: 50px;
}

.single-product-fullwidth #primary section.related ul.products .slick-list {
    margin-left: -15px;
    margin-right: -15px;
}

.single-product-fullwidth #primary section.related ul.products li.product .price {
    margin-top: 0;
    line-height: 1.15;
}

.single-product-fullwidth #primary .product_title {
    line-height: 1.25;
}

.single-product-fullwidth #primary section.related:not(.category-copurchased) {
    position: relative;
    overflow: visible;
    background-color: var(--color-dark);
    padding-block: var(--gap-l);
    /* margin-top: var(--gap-l); */
}

.single-product-fullwidth #primary section.related:not(.category-copurchased)::before,
.single-product-fullwidth #primary section.related:not(.category-copurchased)::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100vw;
    background-color: var(--color-dark);
    z-index: -1;
}

/* venstre side */
.single-product-fullwidth #primary section.related:not(.category-copurchased)::before {
    right: 100%;
}

/* højre side */
.single-product-fullwidth #primary section.related:not(.category-copurchased)::after {
    left: 100%;
}

.single-product-fullwidth #primary section.related:not(.category-copurchased) > h2 {
    color: #fff;
}

.single-product-fullwidth #primary section.related:not(.category-copurchased) ul.products li.product .product-meta-wrapper .product-category,
.single-product-fullwidth #primary section.related:not(.category-copurchased) ul.products li.product .product-meta-wrapper .product-stock-status,
.single-product-fullwidth #primary section.related:not(.category-copurchased) ul.products li.product .woocommerce-loop-product__title,
.single-product-fullwidth #primary section.related:not(.category-copurchased) ul.products li.product .price {
    color: #fff;
}

.single-product-fullwidth #primary section.related.category-copurchased {
    margin-top: var(--gap-l);
}

body:not(.single-product) .section-wrap.clear.category-section.woocommerce-single-footer {
    display: none;
}

body.single-product .section-wrap.clear.card-section {
    margin-top: calc(var(--gap-l) * 1);
}

.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: var(--gap-l);
    width: 45%;
}

.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: var(--gap-l);
    float: right;
}

/* Off canvas */
#woo-icons .stom-off-canvas-wrapper .widgettitle {
    font-size: var(--h3);
    text-transform: inherit;
}

#woo-icons .stom-off-canvas-wrapper .off-canvas-close {
    font-size: 20px;
    color: var(--color-dark) !important;
}

#woo-icons .stom-off-canvas-wrapper {
    background-color: var(--color-bg);
}

#woo-icons .site-header-cart .widget_shopping_cart .woocommerce-mini-cart__empty-message {
    font-size: 16px;
}

#woo-icons .stom-off-canvas-wrapper .cart_list .mini_cart_item a.remove .stom-custom-svg {
    color: red !important;
}

#woo-icons .stom-off-canvas-wrapper .buttons a {
    border-radius: 25rem;
}

/* */



body.woocommerce-page #site-navigation .menu-toggle .stom-custom-svg,
body.woocommerce-page #site-navigation .menu-toggle > .title {
    color: var(--color-dark);
}

body.woocommerce-page #woo-icons .stom-custom-svg {
    color: var(--color-dark);
}

body.woocommerce-page #woo-icons .site-header-cart:hover .stom-custom-svg {
    color: var(--color-dark);
}

body.woocommerce-page .header-sticky-active.scrolled #site-navigation .menu-toggle .stom-custom-svg,
body.woocommerce-page .header-sticky-active.scrolled #site-navigation .menu-toggle > .title,
body.woocommerce-page .header-sticky-active.scrolled #woo-icons .stom-custom-svg,
body.woocommerce-page .header-sticky-active.scrolled .top-bar ul li {
    color: #fff;
}

body.woocommerce-page .header-sticky-active.scrolled .top-bar .section {
    border-bottom-color: #fff;
}

body.woocommerce-page .header-sticky-active.scrolled .top-bar ul li > img {
    filter: none;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    z-index: 9;
}



/* Instatnsearc */
#stom_instantsearch_result {
    background-color: var(--color-bg);
}

#stom_instantsearch_result .container-product .container-item .item-headline .headline, 
#stom_instantsearch_result .container-product .container-item .item-price:not(.on-sale) .price {
    font-weight: 500;
}

#stom_instantsearch_result .container-product .container-item .item-price .price {
    font-family: var(--h-fam);
    font-weight: 600 !important;
}

#stom_instantsearch_result.categories-active .container-product .item-content-wrapper .item-headline {
    font-size: 20px;
    font-family: var(--h-fam);
    padding-bottom: 10px;
}

#stom_instantsearch_result .container-product .container-item .item-category .category {
    text-transform: inherit;
    font-size: 14px;
    font-weight: 400;
}

#stom_instantsearch_result .container-product .container-item {
    background-color: #fff;
    border: 1px solid var(--color-dark);
    border-radius: var(--border-radius);
}

#stom_instantsearch_result .container-headline {
    font-size: 24px;
    font-family: var(--h-fam);
}

.woocommerce-page ul.products li.product-category > a img {
    border-radius: var(--border-radius);
}

.woocommerce-page .woocommerce-products-header {
    margin-bottom: var(--gap-m);
}


/* Skjul chevron og vis plus/minus i stedet */
.bapf_colaps_smb.fa-chevron-down:before {
    content: url('data:image/svg+xml,<svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13 5.5H7.5V0H5.5V5.5H0V7.5H5.5V13H7.5V7.5H13V5.5Z" fill="%2322221E"/></svg>') !important;
}

.bapf_colaps_smb.fa-chevron-up:before {
    content: url('data:image/svg+xml,<svg width="13" height="2" viewBox="0 0 13 2" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="13" height="2" fill="%2322221E"/></svg>') !important;
}

#woo-icons .site-header-cart .cart-contents span.count, 
header .stomWF-favourites-list-link .count {
    background-color: var(--color-dark);
    color: #fff;
}

.footer-setting-02 .footer-widget-area-site-info .section {
    border-top-color: var(--color-dark);
}

#colophon .copyright .section .footer-widgets .widget .textwidget {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#colophon .copyright .section .footer-widgets .widget .textwidget ul {
    display: flex;
    padding-left: 0;
}

#colophon .copyright .section .footer-widgets .widget .textwidget ul li {
    font-size: 18px;
    font-weight: 300;
}

#colophon .copyright .section .footer-widgets .widget .textwidget ul li:not(:last-of-type):after {
    content: '|';
    margin: 0 10px;
}

#colophon .copyright .section .footer-widgets .widget .textwidget ul li a {
    padding: 0;
}

.socials-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.socials-wrapper a.stom-social-shortcode {
    padding: 0;
}



.woocommerce-cart .woocommerce-cart-form .shop_table .cart_item .product-descriptions .product-name {
    font-size: 16px;
}

.woocommerce-cart .woocommerce-cart-form .shop_table .cart_item .product-descriptions .product-price {
    font-size: 14px;
}

.woocommerce-cart .woocommerce-cart-form .shop_table .cart_item .product-descriptions .product-quantity {
    font-size: 16px;
}

.woocommerce-cart .woocommerce-cart-form .shop_table .cart_item .product-descriptions .product-quantity .amount {
    font-family: 14px;
}

.woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout .checkout-button {
    border-radius: var(--border-radius);
    font-size: 20px;
    font-weight: 500;
}

.woocommerce table.shop_table tbody tr td, 
.woocommerce table.shop_table tbody tr th {
    font-size: 16px;
}

.woocommerce-cart .woocommerce-cart-form .cart,
.woocommerce table.shop_table {
    border-color: #000;
}

.woocommerce-cart .stom-input-wrap button {
    height: 38px;
}

.woocommerce-cart h1, .woocommerce-cart h2 {
    margin-bottom: 20px;
    font-size: var(--h3);
}

.woocommerce-cart .stom-input-wrap {
    margin-left: 10px;
}

#payment .payment_methods li label {
    display: inline-block !important;
}

.woocommerce-cart .cart-collaterals {
    position: static !important;
}

.woocommerce ul#shipping_method li label, 
.wlab-parcel-shop-selected-info strong {
    font-weight: 400 !important;
}

.woocommerce-checkout table.shop_table td.product-name, 
.woocommerce-checkout table.shop_table td.product-total {
    font-size: 14px !important;
}

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
    border-radius: var(--border-radius);
}

.woocommerce-checkout #content {
    margin-bottom: var(--gap-m);
}

#gform_fields_5 .gfield_label {
    font-size: 14px;
}

#gform_fields_5 .gform_heading .gform_title {
    font-size: 28px;
}

#gform_submit_button_5 {
    font-size: 16px;
}

.stom-button a.iwcf-open-withdrawal-form {
    font-size: 16px;
}

.woocommerce-products-footer {
    font-size: 18px;
}

/* Tilrettelser d. 12-06-2026 */
@media only screen and (max-width: 9999px) {
    header .number-three-burger-menu-content.active .burger-menu-content-inner {
        transform: translateX(0);
    }
}

@media only screen and (max-width: 9999px) {
    header .burger-menu-content-inner {
        display: flex;
        flex-direction: column;
        width: calc(100vw - 60px);
        max-width: 640px;
        height: 100%;
        margin-left: 0;        /* tilføjet */
        margin-right: auto;
        padding: 20px 0 0;
        background-color: #fff;
        overflow: hidden;
        transform: translateX(-100%);
        transition: transform 1.75s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

.woocommerce nav.woocommerce-pagination ul li a, 
.woocommerce nav.woocommerce-pagination ul li span {
    color: #22221E;
    font-size: 18px;
    font-weight: 300;
    background-color: transparent;
    border: 1px solid var(--color-1);
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    background-color: transparent;
    background-color: var(--color-1);
    color: #fff;
}

.woocommerce nav.woocommerce-pagination ul li span.current {

}

.woocommerce-pagination .prev.page-numbers, 
.woocommerce-pagination .next.page-numbers,
.woocommerce-pagination .dots {
    border: none;
    background-color: transparent;
}

.woocommerce-pagination .prev.page-numbers:hover, 
.woocommerce-pagination .next.page-numbers:hover,
.woocommerce-pagination .dots:hover {
    border: none;
    background-color: transparent;
}

/* Luft mellem produktgitter og paginering */
.woocommerce nav.woocommerce-pagination {
    margin-top: 60px;
}

@media only screen and (max-width: 767px) {
    .woocommerce nav.woocommerce-pagination {
        margin-top: 40px;
    }
}

.woocommerce-checkout header#masthead,
.woocommerce-cart header#masthead {
    background-color: var(--color-bg);
}

.woocommerce-cart #main-content #content {
    margin-top: var(--gap-l);
    margin-inline: auto;
    max-width: var(--content-width) !important;
}

body.stom-terms-page .entry-content,
body.stom-terms-page .entry-content > p {
    line-height: 1.5;
    font-size: 16px;
}

/* Sticky produktgalleri på produktsiden (desktop/tablet) */
@media only screen and (min-width: 768px) {
    /* overflow-x: hidden på #page gør #page til scroll-container og slår sticky fra - clip gør ikke */
    /* stom-frontend-editor sætter overflow-x: hidden på html/body for indloggede brugere */
    html:has(body.single-product),
    body.single-product,
    body.single-product #page {
        overflow-x: clip;
    }

    .single-product-fullwidth #primary > .product .product-inner-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        overflow: visible;
    }

    .single-product-fullwidth #primary > .product .product-inner-wrapper .woocommerce-product-gallery,
    .single-product-fullwidth #primary > .product .product-inner-wrapper .summary {
        float: none;
    }

    .single-product-fullwidth #primary > .product .product-inner-wrapper .woocommerce-product-gallery {
        position: sticky;
        top: 70px;
        /* !important fordi WooCommerce sætter transition: opacity inline på galleriet. Samme tid/easing som headeren */
        transition: top 0.4s ease, opacity 0.25s ease-in-out !important;
        will-change: top;
    }

    /* Når headeren er synlig, lægges galleriet under den */
    body.single-product:has(#masthead:not(.header-hidden)) #primary > .product .product-inner-wrapper .woocommerce-product-gallery {
        top: calc(var(--stom-header-height, 147px) + 30px);
    }
}

/* Indlogget: WordPress' adminbar (32px) ligger over siden */
@media only screen and (min-width: 783px) {
    body.admin-bar.single-product-fullwidth #primary > .product .product-inner-wrapper .woocommerce-product-gallery {
        top: 102px;
    }

    body.admin-bar.single-product:has(#masthead:not(.header-hidden)) #primary > .product .product-inner-wrapper .woocommerce-product-gallery {
        top: calc(var(--stom-header-height, 147px) + 62px);
    }
}

/* Fabriksnummer under produkttitlen */
.woocommerce div.product .summary .stom-fabriksnummer {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 6px 0 16px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.4;
    color: var(--color-text);
}

.woocommerce div.product .summary .stom-fabriksnummer__label {
    /* opacity: 0.65; */
}

.woocommerce div.product .summary .stom-fabriksnummer__value {
    font-weight: 400;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}


/* Arkivsider: produktgitter, priser og filtre */
body.woocommerce-shop #primary ul.products,
body.tax-product_cat #primary ul.products,
body.tax-product_tag #primary ul.products,
body.tax-product_brand #primary ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 24px;
    margin: 0;
}

body.woocommerce-shop #primary ul.products::before,
body.woocommerce-shop #primary ul.products::after,
body.tax-product_cat #primary ul.products::before,
body.tax-product_cat #primary ul.products::after,
body.tax-product_tag #primary ul.products::before,
body.tax-product_tag #primary ul.products::after,
body.tax-product_brand #primary ul.products::before,
body.tax-product_brand #primary ul.products::after {
    display: none;
}

body.woocommerce-shop #primary ul.products li.product,
body.tax-product_cat #primary ul.products li.product,
body.tax-product_tag #primary ul.products li.product,
body.tax-product_brand #primary ul.products li.product {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
}

/* Priser i produktlisten */
.woocommerce ul.products li.product .price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 8px;
    line-height: 1.2;
}

.woocommerce ul.products li.product .price .stom-price-from {
    font-family: var(--body-fam, inherit);
    font-size: 0.68em;
    font-weight: 300;
    opacity: 0.75;
}

.woocommerce ul.products li.product .price del {
    order: 2;
    font-size: 0.68em;
    font-weight: 300;
    opacity: 0.6;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

/* Filtre-overskrift */
.stom-filter-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 18px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--color-dark);
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text);
}

/* Store skærme: følg "Produkter per linje" i temaindstillingerne (columns-N) */
@media only screen and (min-width: 1241px) {
    :is(body.woocommerce-shop, body.tax-product_cat, body.tax-product_tag, body.tax-product_brand) #primary ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    :is(body.woocommerce-shop, body.tax-product_cat, body.tax-product_tag, body.tax-product_brand) #primary ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    :is(body.woocommerce-shop, body.tax-product_cat, body.tax-product_tag, body.tax-product_brand) #primary ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Store skærme: 4 produkter per linje - mindre typografi og knapper i produktkortet */
@media only screen and (min-width: 1241px) {
    :is(body.woocommerce-shop, body.tax-product_cat, body.tax-product_tag, body.tax-product_brand) #primary ul.products.columns-3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

    :is(body.woocommerce-shop, body.tax-product_cat, body.tax-product_tag, body.tax-product_brand) #primary ul.products li.product .woocommerce-loop-product__title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    :is(body.woocommerce-shop, body.tax-product_cat, body.tax-product_tag, body.tax-product_brand) #primary ul.products li.product .price {
        font-size: 18px;
    }

    :is(body.woocommerce-shop, body.tax-product_cat, body.tax-product_tag, body.tax-product_brand) #primary ul.products li.product .product-meta-wrapper {
        margin-bottom: 8px;
    }

    :is(body.woocommerce-shop, body.tax-product_cat, body.tax-product_tag, body.tax-product_brand) #primary ul.products li.product .product-meta-wrapper .product-category,
    :is(body.woocommerce-shop, body.tax-product_cat, body.tax-product_tag, body.tax-product_brand) #primary ul.products li.product .product-meta-wrapper .product-stock-status .stock-text {
        font-size: 13px;
    }

    :is(body.woocommerce-shop, body.tax-product_cat, body.tax-product_tag, body.tax-product_brand) #primary ul.products li.product .product-meta-wrapper .product-category:after {
        margin: 0 6px;
    }

    :is(body.woocommerce-shop, body.tax-product_cat, body.tax-product_tag, body.tax-product_brand) #primary ul.products li.product .product-meta-wrapper .product-stock-status .stock-indicator {
        width: 9px;
        height: 9px;
    }

    :is(body.woocommerce-shop, body.tax-product_cat, body.tax-product_tag, body.tax-product_brand) #primary ul.products li.product .stom-product-loop-image-wrap .aligner a.stom-add-to-cart,
    :is(body.woocommerce-shop, body.tax-product_cat, body.tax-product_tag, body.tax-product_brand) #primary ul.products li.product .stom-product-loop-image-wrap .aligner a.stom-read-more {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 44px;
        font-size: 16px;
        line-height: 1;
        padding: 0 16px;
    }

    /* Ens højde på begge knapper - 'Tilføj til kurv' placeres 16px over 'Læs mere' */
    :is(body.woocommerce-shop, body.tax-product_cat, body.tax-product_tag, body.tax-product_brand) #primary ul.products li.product:hover .stom-product-loop-image-wrap .aligner a.stom-add-to-cart {
        transform: translateY(-80px) !important;
    }
}
/* Antal resultater ved "Filtre" */
.stom-filter-heading .stom-result-count {
    float: none;
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: 500;
    color: inherit;
}

@media only screen and (max-width: 1240px) {
    body.woocommerce-shop #primary ul.products,
    body.tax-product_cat #primary ul.products,
    body.tax-product_tag #primary ul.products,
    body.tax-product_brand #primary ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 40px 20px;
    }
}

@media only screen and (max-width: 767px) {
    body.woocommerce-shop #primary ul.products,
    body.tax-product_cat #primary ul.products,
    body.tax-product_tag #primary ul.products,
    body.tax-product_brand #primary ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 12px;
    }

    .woocommerce ul.products li.product .product-meta-wrapper {
        flex-wrap: wrap;
        row-gap: 2px;
        margin-bottom: 6px;
    }

    .woocommerce ul.products li.product .product-meta-wrapper .product-category,
    .woocommerce ul.products li.product .product-meta-wrapper .product-stock-status .stock-text {
        font-size: 12px;
    }

    .woocommerce ul.products li.product .product-meta-wrapper .product-category:after {
        margin: 0 6px;
    }

    .woocommerce ul.products li.product .product-meta-wrapper .product-stock-status .stock-indicator {
        width: 8px;
        height: 8px;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .woocommerce ul.products li.product .price {
        font-size: 16px;
    }
}


/* "Vis flere" i lange filtre */
.bapf_sfilter.bapf_ckbox:not(.stom-filter-open) .bapf_body li.stom-filter-extra {
    display: none;
}

.bapf_sfilter .stom-filter-more {
    display: inline-block;
    margin: 10px 0 4px;
    padding: 0;
    background: none;
    border: 0;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4;
    color: var(--color-text);
    cursor: pointer;
}

.bapf_sfilter .stom-filter-more:hover,
.bapf_sfilter .stom-filter-more:focus {
    background: none;
    color: var(--color-text);
    opacity: 0.7;
}


/* Instrumenttype: vis filteret og værdier uden produkter (BeRocket skjuler dem ellers med !important) */
.bapf_sfilter[data-taxonomy="pa_instrument-type"].bapf_fhide.bapf_filter_hide,
.bapf_sfilter[data-taxonomy="product_cat"].bapf_fhide.bapf_filter_hide {
    display: block !important;
}

.bapf_sfilter[data-taxonomy="pa_instrument-type"].bapf_fhide .bapf_body ul li.bapf_hide:not(.stom-filter-extra),
.bapf_sfilter[data-taxonomy="product_cat"].bapf_fhide .bapf_body ul li.bapf_hide:not(.stom-filter-extra),
.bapf_sfilter[data-taxonomy="product_cat"].bapf_fhide.stom-filter-open .bapf_body ul li.bapf_hide.stom-filter-extra,
.bapf_sfilter[data-taxonomy="pa_instrument-type"].bapf_fhide.stom-filter-open .bapf_body ul li.bapf_hide.stom-filter-extra {
    display: list-item !important;
}


/* Instrumenttype: skjul BeRockets egen engelske "Show value(s)"-knap (vi bruger "Vis flere") */
.bapf_sfilter[data-taxonomy="pa_instrument-type"] .bapf_show_hide {
    display: none !important;
}

/* Sticky filter-sidebar på arkivsider (desktop) */
@media only screen and (min-width: 960px) {
    /* overflow-x: hidden på html/body/#page slår sticky fra - clip gør ikke */
    html:has(body.woocommerce-shop), html:has(body.tax-product_cat), html:has(body.tax-product_tag), html:has(body.tax-product_brand),
    :is(body.woocommerce-shop, body.tax-product_cat, body.tax-product_tag, body.tax-product_brand),
    :is(body.woocommerce-shop, body.tax-product_cat, body.tax-product_tag, body.tax-product_brand) #page {
        overflow-x: clip;
    }

    :is(body.woocommerce-shop, body.tax-product_cat, body.tax-product_tag, body.tax-product_brand) #secondary {
        position: sticky;
        top: 70px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-right: 8px;
        transition: top 0.4s ease, max-height 0.4s ease;
    }

    /* Når headeren er synlig, lægges sidebaren under den */
    :is(body.woocommerce-shop, body.tax-product_cat, body.tax-product_tag, body.tax-product_brand):has(#masthead:not(.header-hidden)) #secondary {
        top: calc(var(--stom-header-height, 147px) + 30px);
        max-height: calc(100vh - var(--stom-header-height, 147px) - 60px);
    }
}

/* Indlogget: adminbaren (32px) ligger over siden */
@media only screen and (min-width: 960px) {
    :is(body.woocommerce-shop, body.tax-product_cat, body.tax-product_tag, body.tax-product_brand).admin-bar #secondary {
        top: 102px;
        max-height: calc(100vh - 132px);
    }

    :is(body.woocommerce-shop, body.tax-product_cat, body.tax-product_tag, body.tax-product_brand).admin-bar:has(#masthead:not(.header-hidden)) #secondary {
        top: calc(var(--stom-header-height, 147px) + 62px);
        max-height: calc(100vh - var(--stom-header-height, 147px) - 92px);
    }
}


/* Valgte filtre som tags over produkterne */
.stom-product-count-sorting-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.stom-product-count-sorting-wrap .stom-selected-filters {
    flex: 1 1 auto;
    min-width: 0;
}

.stom-selected-filters .bapf_sfilter .bapf_body .bapf_sfa_taxonomy {
    display: contents;
}

.stom-selected-filters .bapf_sfilter .bapf_body ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.stom-product-count-sorting-wrap .stom-selected-filters .bapf_sfilter .bapf_body .bapf_sfa_taxonomy ul li a {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-text);
    background: transparent;
    border: 1px solid var(--color-dark);
    border-radius: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.stom-product-count-sorting-wrap .stom-selected-filters .bapf_sfilter .bapf_body .bapf_sfa_taxonomy ul li a:hover {
    background-color: var(--color-dark);
    color: #fff;
}

.stom-product-count-sorting-wrap .stom-selected-filters .bapf_sfilter .bapf_body .bapf_sfa_taxonomy ul li a i,
.stom-product-count-sorting-wrap .stom-selected-filters .bapf_sfilter .bapf_body .bapf_sfa_taxonomy ul li a:before {
    display: none;
}

.stom-product-count-sorting-wrap .stom-selected-filters .bapf_sfilter .bapf_body .bapf_sfa_taxonomy ul li a:after {
    content: "\00d7";
    margin-left: 2px;
    font-size: 16px;
    line-height: 1;
    opacity: 0.7;
}

/* Pænere scrollbar i den sticky filter-sidebar */
/* Firefox (Chrome/Safari bruger ::-webkit-scrollbar nedenfor) */
@supports (-moz-appearance: none) {
    #secondary {
        scrollbar-width: thin;
        scrollbar-color: rgba(34, 34, 30, 0.25) transparent;
    }
}

#secondary::-webkit-scrollbar {
    width: 4px;
}

#secondary::-webkit-scrollbar-track {
    background: transparent;
}

#secondary::-webkit-scrollbar-thumb {
    background-color: rgba(34, 34, 30, 0.25);
    border-radius: 4px;
}

#secondary:hover::-webkit-scrollbar-thumb {
    background-color: rgba(34, 34, 30, 0.45);
}

#secondary::-webkit-scrollbar-button {
    display: none;
    height: 0;
}


/* Skjul BeRockets engelske "Show value(s)"-knap på alle filtre (vi bruger "Vis flere") */
.bapf_sfilter .bapf_show_hide {
    display: none !important;
}

/* WooCommerce-sider (ingen page-slider): mørk streg under headeren i top-tilstand */
body.woocommerce:not(.woocommerce-cart):not(.woocommerce-checkout) #masthead:not(.header-visible):not(.header-hidden) {
    border-bottom-color: var(--color-dark);
}

/* Arkivsider: mindre afstand mellem header og indhold */
body.woocommerce-page:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand) #main-content #content {
    margin-top: 50px;
}


/* Produktsider: samme afstand mellem header og indhold som arkivsiderne */
body.single-product #main-content #content {
    margin-top: 50px;
}

/* Filter-sidebar: skjult scrollbar + bløde fades i top/bund, når der kan scrolles */
@media only screen and (min-width: 960px) {
    :is(body.woocommerce-shop, body.tax-product_cat, body.tax-product_tag, body.tax-product_brand) #secondary {
        scrollbar-width: none;
        padding-right: 0;
    }

    :is(body.woocommerce-shop, body.tax-product_cat, body.tax-product_tag, body.tax-product_brand) #secondary::-webkit-scrollbar {
        display: none;
        width: 0;
    }

    #secondary.stom-scroll-down {
        -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 70px), transparent 100%);
        mask-image: linear-gradient(to bottom, #000 calc(100% - 70px), transparent 100%);
    }

    #secondary.stom-scroll-up {
        -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 50px);
        mask-image: linear-gradient(to bottom, transparent 0, #000 50px);
    }

    #secondary.stom-scroll-up.stom-scroll-down {
        -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 50px, #000 calc(100% - 70px), transparent 100%);
        mask-image: linear-gradient(to bottom, transparent 0, #000 50px, #000 calc(100% - 70px), transparent 100%);
    }
}

/* Store skærme (23"+): bredere indhold, så der ikke er så meget tom plads i siderne.
   Indholdet fylder skærmen minus 80px i hver side, dog max 1920px. Under 1721px gælder temaets 1560px. */
@media only screen and (min-width: 1721px) {
    html:root body {
        --content-width: min(1920px, calc(100vw - 160px));
    }

    /* Produktside: billede og info lidt bredere end standard 1200px */
    .single-product-fullwidth #primary nav.woocommerce-breadcrumb,
    .single-product-fullwidth #primary > .product .product-inner-wrapper {
        max-width: 1440px;
    }
}

/* Slider-sektioner (kategorier/produkter) går til højre kant - venstre kant og "Shop alle ..." flugter med indholdet.
   Indholdets kant er max(--gap-m, (bredde - --content-width) / 2). Under 1441px flugter de allerede via --gap-m i responsive.css */
@media only screen and (min-width: 1441px) {
    body .section-wrap.clear.category-section .section,
    body .section-wrap.clear.stom-products-section .section,
    body .section-wrap.clear.stom-products-section.has-background .section {
        padding-left: max(var(--gap-m), calc((100% - var(--content-width)) / 2));
    }

    body .section-wrap.clear.stom-products-section .section-link {
        padding-right: max(var(--gap-m), calc(100% - var(--content-width)));
    }
}

/* Mørk baggrund under relaterede produkter: overlap 1px, så der ikke opstår en tynd streg ved halve pixels */
.single-product-fullwidth #primary section.related:not(.category-copurchased)::before {
    right: calc(100% - 1px);
}

.single-product-fullwidth #primary section.related:not(.category-copurchased)::after {
    left: calc(100% - 1px);
}


/* JN FIX */
body.home .page-slider-section.main-slider-section .video-aligner {
	padding-top: 0 !important;
	line-height: 0;
}

/* Forside-video: videoen fylder hele headeren (beskæres med cover), så teksten altid ligger ovenpå */
body.home .page-slider-section.main-slider-section .slides {
	position: relative;
	overflow: hidden;
}

body.home .page-slider-section.main-slider-section .slide-video,
body.home .page-slider-section.main-slider-section .video-aligner {
	position: absolute;
	inset: 0;
}

body.home .page-slider-section.main-slider-section .slide-element video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 0;
	max-height: none;
	object-fit: cover;
	object-position: center;
}

/* Teksten bestemmer højden: samme højde som før på desktop, og plads under den faste header */
body.home .page-slider-section.main-slider-section .slider-text {
	min-height: min(56.25vw, calc(100vh - var(--header-height)));
	padding-top: calc(var(--header-height) + var(--gap-m));
}

@media only screen and (max-width: 959px) {
	body.home .page-slider-section.main-slider-section .slider-text {
		min-height: min(640px, 100vh);
		min-height: min(640px, 100svh);
	}
}

/* ===== Galleri (WordPress [gallery]) - bento-grid ===== */
/* Mønster pr. 10 billeder: billede 1 stort til venstre, billede 6 stort til højre */
.site-main .gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-flow: row dense;
	gap: 12px;
	margin: 0 auto;
}

.site-main .gallery br {
	display: none;
}

.site-main .gallery .gallery-item {
	float: none;
	width: auto !important;
	max-width: none;
	margin: 0 !important;
	padding: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--border-radius);
	background-color: rgb(116 99 84 / 12%);
}

.site-main .gallery .gallery-item:nth-child(10n+1),
.site-main .gallery .gallery-item:nth-child(10n+6) {
	grid-row: span 2;
	aspect-ratio: auto;
}

.site-main .gallery .gallery-item:nth-child(10n+1) {
	grid-column: 1 / span 2;
}

.site-main .gallery .gallery-item:nth-child(10n+6) {
	grid-column: 3 / span 2;
}

.site-main .gallery .gallery-icon,
.site-main .gallery .gallery-icon a {
	display: block;
	width: 100%;
	height: 100%;
}

.site-main .gallery .gallery-icon a {
	position: relative;
	cursor: zoom-in;
}

.site-main .gallery .gallery-icon img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border: 0 !important;
	border-radius: 0;
	transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.site-main .gallery .gallery-icon a::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(34 34 30 / 35%), transparent 45%);
	opacity: 0;
	transition: opacity var(--transition);
}

.site-main .gallery .gallery-icon a:hover img,
.site-main .gallery .gallery-icon a:focus-visible img {
	transform: scale(1.04);
}

.site-main .gallery .gallery-icon a:hover::after,
.site-main .gallery .gallery-icon a:focus-visible::after {
	opacity: 1;
}

.site-main .gallery .gallery-icon a:focus-visible {
	outline: 2px solid var(--color-2);
	outline-offset: -2px;
}

.site-main .gallery .gallery-caption {
	display: none;
}

@media only screen and (max-width: 767px) {
	.site-main .gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.site-main .gallery .gallery-item:nth-child(10n+1),
	.site-main .gallery .gallery-item:nth-child(10n+6) {
		grid-column: 1 / span 2;
		grid-row: span 1;
		aspect-ratio: 16 / 9;
	}
}


/* ===== Galleri-lightbox (temaets PhotoSwipe) i sitets farver ===== */
.pswp__bg {
	background-color: var(--color-dark);
}

.pswp__img {
	border-radius: var(--border-radius);
}

.pswp__counter {
	font-family: var(--p-fam);
	font-size: 14px;
	letter-spacing: .08em;
}


/* ===== Off-canvas kurv ===== */
#woo-icons .stom-off-canvas-wrapper {
	display: flex;
	flex-direction: column;
	max-width: 440px;
	padding-bottom: 0;
	box-shadow: -10px 0 40px rgb(34 34 30 / 18%);
}

#woo-icons .stom-off-canvas-wrapper .widgettitle {
	margin: 0;
	padding: 26px 70px 22px 28px;
	font-family: var(--h-fam);
	font-size: var(--h3);
	text-align: left;
	border-bottom: 1px solid rgb(116 99 84 / 18%);
}

#woo-icons .stom-off-canvas-wrapper .off-canvas-close {
	top: 18px;
	right: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	font-size: 16px;
	border-radius: 50%;
	transition: background-color var(--transition);
}

#woo-icons .stom-off-canvas-wrapper .off-canvas-close:hover {
	background-color: rgb(116 99 84 / 12%);
}

#woo-icons .stom-off-canvas-wrapper .widget_shopping_cart_content {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}

/* Varelinjer */
#woo-icons .stom-off-canvas-wrapper .cart_list {
	flex: 1 1 auto;
	margin: 0;
	padding: 8px 28px;
	overflow-y: auto;
}

#woo-icons .stom-off-canvas-wrapper .cart_list .mini_cart_item {
	position: relative;
	display: grid;
	grid-template-columns: 76px 1fr 28px;
	grid-template-rows: auto 1fr;
	column-gap: 16px;
	row-gap: 6px;
	align-items: start;
	margin: 0;
	padding: 18px 0;
	font-size: 16px;
	border-bottom: 1px solid rgb(116 99 84 / 14%);
}

#woo-icons .stom-off-canvas-wrapper .cart_list .mini_cart_item:last-child {
	border-bottom: 0;
}

/* Linket (billede + titel) fordeles i grid'et via display: contents */
#woo-icons .stom-off-canvas-wrapper .cart_list .mini_cart_item a:not(.remove) {
	display: contents;
	width: auto;
	color: var(--color-text);
	text-decoration: none;
}

#woo-icons .stom-off-canvas-wrapper .cart_list .mini_cart_item img {
	grid-column: 1;
	grid-row: 1 / span 2;
	float: none;
	width: 76px;
	height: 76px;
	margin: 0;
	padding: 6px;
	object-fit: contain;
	background-color: #fff;
	border-radius: 8px;
}

#woo-icons .stom-off-canvas-wrapper .cart_list .mini_cart_item .product-title {
	grid-column: 2;
	grid-row: 1;
	display: -webkit-box;
	width: auto;
	font-family: var(--p-fam);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	white-space: normal;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	transition: color var(--transition);
}

#woo-icons .stom-off-canvas-wrapper .cart_list .mini_cart_item a:not(.remove):hover .product-title {
	color: var(--color-1);
}

#woo-icons .stom-off-canvas-wrapper .cart_list .mini_cart_item .quantity {
	grid-column: 2;
	grid-row: 2;
	float: none;
	width: auto;
	font-size: 14px;
	font-weight: 400;
	color: rgb(34 34 30 / 65%);
}

#woo-icons .stom-off-canvas-wrapper .cart_list .mini_cart_item .quantity .amount {
	font-weight: 600;
	color: var(--color-text);
}

#woo-icons .stom-off-canvas-wrapper .cart_list .mini_cart_item a.remove {
	position: static;
	grid-column: 3;
	grid-row: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border-radius: 50%;
	transition: background-color var(--transition);
}

#woo-icons .stom-off-canvas-wrapper .cart_list .mini_cart_item a.remove .stom-custom-svg {
	font-size: 13px;
	color: rgb(34 34 30 / 45%) !important;
	transition: color var(--transition);
}

#woo-icons .stom-off-canvas-wrapper .cart_list .mini_cart_item a.remove:hover {
	background-color: rgb(220 79 73 / 10%);
}

#woo-icons .stom-off-canvas-wrapper .cart_list .mini_cart_item a.remove:hover .stom-custom-svg,
#woo-icons .stom-off-canvas-wrapper .cart_list .mini_cart_item a.remove:hover .stom-custom-svg svg {
	color: #c0392b !important;
}

/* Bund: subtotal + knapper (bliver i bunden) */
#woo-icons .stom-off-canvas-wrapper .total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0;
	padding: 20px 28px 6px;
	font-size: 18px;
	background-color: #fff;
	border-top: 1px solid rgb(116 99 84 / 18%);
	border-bottom: 0;
}

#woo-icons .stom-off-canvas-wrapper .total strong {
	font-weight: 500;
}

#woo-icons .stom-off-canvas-wrapper .total .amount {
	font-family: var(--h-fam);
	font-size: 22px;
	font-weight: 600;
}

#woo-icons .stom-off-canvas-wrapper .buttons {
	display: flex;
	flex-direction: column-reverse;
	gap: 10px;
	margin: 0;
	padding: 14px 28px 28px;
	background-color: #fff;
}

#woo-icons .stom-off-canvas-wrapper .buttons a,
#woo-icons .stom-off-canvas-wrapper .buttons a:not(:first-child) {
	margin: 0;
	padding: 15px 20px;
	font-size: 16px;
	font-weight: 500;
	text-align: center;
	border-radius: 25rem;
	transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

#woo-icons .stom-off-canvas-wrapper .buttons a.checkout {
	color: #fff;
	background-color: var(--color-1);
	border: 1px solid var(--color-1);
}

#woo-icons .stom-off-canvas-wrapper .buttons a.checkout:hover {
	background-color: var(--color-dark);
	border-color: var(--color-dark);
}

#woo-icons .stom-off-canvas-wrapper .buttons a:not(.checkout) {
	color: var(--color-text);
	background-color: transparent;
	border: 1px solid rgb(34 34 30 / 25%);
}

#woo-icons .stom-off-canvas-wrapper .buttons a:not(.checkout):hover {
	border-color: var(--color-text);
	background-color: rgb(116 99 84 / 8%);
}

#woo-icons .site-header-cart .widget_shopping_cart .woocommerce-mini-cart__empty-message {
	margin: 0;
	padding: 40px 28px;
	color: rgb(34 34 30 / 65%);
}

@media only screen and (max-width: 479px) {
	#woo-icons .stom-off-canvas-wrapper .widgettitle {
		padding: 22px 64px 18px 20px;
	}

	#woo-icons .stom-off-canvas-wrapper .cart_list {
		padding: 4px 20px;
	}

	#woo-icons .stom-off-canvas-wrapper .cart_list .mini_cart_item {
		grid-template-columns: 64px 1fr 28px;
		column-gap: 12px;
	}

	#woo-icons .stom-off-canvas-wrapper .cart_list .mini_cart_item img {
		width: 64px;
		height: 64px;
	}

	#woo-icons .stom-off-canvas-wrapper .total {
		padding: 16px 20px 4px;
	}

	#woo-icons .stom-off-canvas-wrapper .buttons {
		padding: 12px 20px 20px;
	}
}
