/*
Theme Name: Montinix
Theme URI:
Description: Wordpress-tema till Monitinix AB.
Version: 1.0
Author URI: https://montinix.se/
*/


:root {
    /* Färger */
    --white:              #fff;
    --gray:               #A8A8A8;
    --off-white:          #F5F9FC;
    --off-black:          #121B29;
    --accent:             #0041FF;
    --dark-accent:        #073A8E;
    --red:                #ff1308;
    --green:              #28A551;
    
    --accent-fill-1:        linear-gradient(130deg, #0041FF 27.4%, #043DC5 100%);
    --dark-fill-1:          linear-gradient(163deg, var(--dark-accent) 11.84%, var(--off-black) 100%);
    --fill-box-shadow:      4px 4px 20px 0px rgba(255, 255, 255, 0.30) inset, 4px 4px 8px 0px rgba(0, 0, 0, 0.04);
    --green-fill:           linear-gradient(116deg, #28A551 33.88%, #1F803F 100%);
  
    /* Typografi */
    --fontText: "Poppins", sans-serif;
    --fontHeading: 'Ulm Grotesk', sans-serif;

    --formControlHeight: 2rem;
    --formControlBoxShadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.04) inset;
}
  
body {
    font-family: var(--fontText);
    color: var(--off-black);
    background: var(--off-white);
	font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--fontHeading);
}

h1, h2, h3 {font-weight: 800}
h4, h5, h6 {font-weight: 600;}

h1,
  .text-xxl {
    font-size: var(--fontXLarge);
  
    @media screen and (max-width: 40rem) {
      font-size: calc(var(--fontXLarge) - 1.5rem) !important;
    }
  }
  
  h2,
  .text-xl {
    font-size: var(--fontLarge);
      
      @media screen and (max-width: 40rem) {
      font-size: calc(var(--fontLarge) - 1rem) !important;
    }
  }


.semibold {
    font-weight: var(--fontWeightSemiBold);
}

/* a {
    font-weight: var(--fontWeightRegular);
} */

/* p a:not(.btn):not(.btnButton) {
    text-decoration: underline !important;
} */


.btn {
    border-radius: 5px;
}

ol, ul {
    padding-left: 1.6em;
}

.btnButton .btnText {
    order: -1
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: var(--gray) !important;
    font-size: var(--fontXSmall);
}

::-moz-placeholder { /* Firefox 19+ */
    color: var(--gray) !important;
    font-size: var(--fontXSmall);
}

:-ms-input-placeholder { /* IE 10+ */
    color: var(--gray) !important;
    font-size: var(--fontXSmall);

}
:-moz-placeholder { /* Firefox 18- */
    color: var(--gray) !important;
    font-size: var(--fontXSmall);
}








#top-header {
    background: var(--off-black);
    color: var(--white);
}

ul.tick-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: clamp(1em, 2.5vw, 3em);
    font-size: clamp(.6em, 2.3vw, 1em);
}

ul.tick-items li {
    display: flex;
    align-items: center;
    gap: .5em;
    padding: .8em 0;
}

ul.tick-items li svg {
    width: 1em;
}

#master-header {
    background: var(--white);
    z-index: 999;
}

#master-header .is-search-form .is-search-input,
#master-header .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    border-radius: .5em!important;
    box-shadow: var(--formControlBoxShadow);
    width: 36rem;
    padding-left: 2.5rem !important;
    height: 40px;
    border: none !important;
    max-width: 100%;
}

#master-header .is-search-form .is-search-input {
    background: var(--off-white) url('https://montinix.se/wp-content/uploads/2025/06/magnifying-glass.svg') no-repeat 1rem center !important;
}

#master-header .row {
    max-width: 80rem;
    margin: auto;
    padding: 0 2rem;
    box-sizing: border-box;
    position: relative;

}

#master-header .header-desktop .header-elements {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

#master-header .header-desktop .header-elements a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2em
}

#master-header .header-desktop .menu {
    position: static;
    transform: none;
}

.home #master-header .menu ul li a {
    color: inherit;
}

#master-header .menu-row {
    border-top: .1em solid var(--off-white);
    padding: 1em 0;
    border-radius: 0 0 1rem 1rem;
}


.wp-block-button .wp-element-button, 
.woocommerce ul.m-products li.product .button,
.m-button, .woocommerce button.m-button {
    text-transform: none;
    letter-spacing: 0;
    gap: 1em;
    box-shadow: var(--fill-box-shadow) !important;
    backdrop-filter: blur(12px);
    height: var(--formControlHeight);
    padding: .5rem 1.2rem !important;
    display: inline-flex !important;
    align-items: center;
    border-radius: 2em;
    color: var(--white);
    box-sizing: border-box;
    justify-content: center;
    font-weight: 600;
    border: none;
    line-height: 1;
    cursor: pointer;
}

.wp-block-button .wp-element-button:not(.has-background), 
.woocommerce ul.m-products li.product .button,
.m-button {
    background: var(--wp--preset--gradient--accent-fill-1);
}

.wp-block-button .wp-element-button svg,
.woocommerce ul.m-products li.product .button svg,
.m-button svg {
    width: 1.3em
}

.wp-block-button.is-circular .wp-element-button,
.m-button.is-circular,
.woocommerce .m-button.is-circular {
    padding: .5em !important;
    border-radius: 50%;
    height: var(--formControlHeight);
    width: var(--formControlHeight);
}

/*
svg path {
    fill: currentColor;
}
*/
svg path:not([fill^="url("]) {
  fill: currentColor;
}

.wp-block-button .wp-element-button {
    margin-top: 0
}

.embossed {
    box-shadow: var(--fill-box-shadow) !important;
}




.m-grid {
    --columns-desktop: 3;
    --columns-tablet: 2;
    --columns-mobile: 2;
    --column-gap-desktop: 1.5rem;
    --column-gap-mobile: 1rem;
    --column-gap-tablet: 1rem;
    --row-gap-desktop: 2rem;
    --row-gap-mobile: 2rem;
    --row-gap-tablet: 2rem;

    ---columns: var(--columns-mobile);
    ---column-gap: var(--column-gap-mobile);
    ---row-gap: var(--row-gap-mobile);
    ---column-width: calc((100% / var(---columns)) - (((var(---columns) - 1) * var(---column-gap)) / var(---columns)));

    display: grid;
    grid-template-columns: repeat(var(---columns), var(---column-width));
    column-gap: var(---column-gap);
    row-gap: var(---row-gap);
}

.m-grid.columns-4 {
    --columns-desktop: 4;
}

@media (min-width: 541px) {
    .m-grid {
        ---columns: var(--columns-tablet);
        ---column-gap: var(--column-gap-tablet);
        ---row-gap: var(--row-gap-tablet);
    }
}

@media (min-width: 769px) {
    .m-grid {
        ---columns: var(--columns-desktop);
        ---column-gap: var(--column-gap-desktop);
        ---row-gap: var(--row-gap-desktop);
    }
}

@media (max-width: 375px) {
    .m-grid {
        ---columns: 2;
    }
}




ul.m-products {
    list-style: none;
    margin: 0;
    padding: 0
}

ul.m-products h2,
ul.m-products h3 {
    font-size: 1.1em !important;
    margin: 0;
    font-weight: 600;
}

ul.m-products li.product-category {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    overflow-wrap: anywhere;
}
.product-category.product .woocommerce-loop-category__title .count {display: none;}
ul.m-products li.product-category .img {
    grid-column: 1/3;
}

ul.m-products li.product-category .img img {
    border-radius: 1rem;
}

ul.m-products li.product:not(.product-category) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

ul.m-products li.product {
    gap: .7rem
}

ul.m-products li.product img,
ul.products li.product img {
    border-radius: 1rem;
    background: var(--white);
    aspect-ratio: .97;
}

ul.m-products li.product .price,
.dgwt-wcas-pd-price,
.dgwt-wcas-tpd-price {
    font-weight: 700;
    font-size: 1.2em;
    /*margin-top: 2em;*/
    display: inline-flex;
    color: inherit;
}

.woocommerce .related .m-products::before {
    content: none;
}



.container {
    box-sizing: border-box;
}

#master-footer {
    background: var(--white);
    color: inherit
}

.footer-icon-items {
    border-bottom: .15em solid var(--off-white);
    padding: 1em 0;
}

.footer-icon-items ul {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-size: 1em;
    font-weight: 600;
    flex-wrap: wrap
}

.footer-icon-items ul li {
    display: flex;
    align-items: center;
    gap: .5em;
}

.footer-icon-items ul li svg {
    width: 1.3em;
    color: var(--dark-accent);
}

@media (min-width: 769px) {
    .footer-form > .container {
        display: grid;
        grid-template-columns: 1fr calc(40% - .5rem);
        align-items: center;
        column-gap: 1rem
    }
}

.footer-form > .container > h2 {
    grid-column: 1/3;
    margin-bottom: 0;
    text-transform: uppercase;
}

.footer-form > .container > p {
    grid-column: 1;
}

#master-footer .footer-form .gform_fields {
    grid-template-columns: 1fr auto;
}

#master-footer .footer-form .gform_fields .gfield:not(.gfield--type-submit) {
    grid-column: 1;
}

#master-footer .footer-form .gform_fields .gfield.gfield--type-submit {
    grid-column: 2;
}

#master-footer .footer-form .gform_fields .gfield.gfield--type-submit [type=submit] {
    margin: 0
}

#master-footer .footer-form .gform-footer {
    margin: 0;
    padding: 0;
}

#master-footer .footer-form input[type=email] {
    padding: .5rem 1rem !important;
    background: var(--off-white);
    border: none;
    outline: none;
    box-shadow: var(--formControlBoxShadow)
}

#master-footer .footer-form [type=submit] {
    height: 2.5rem;
    background: var(--accent-fill-1);
    box-shadow: var(--fill-box-shadow);
    border-radius: 2em;
    color: var(--white);
    line-height: 1.2;
}

.footer-cols .m-grid {
    --columns-desktop: 5
}

.footer-cols h4 {
    font-weight: 600;
}

.footer-logos-social {
        padding: 4rem 0 2rem;
}

.footer-logos-social .container {
    display: flex;
    justify-content: space-between;
}

.footer-logos-social .logos {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-logos-social .logos img {
    max-width: 4.5rem;
}

.footer-logos-social .socials {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.footer-logos-social .socials svg {
    max-height: 1rem;
}




.woocommerce-wrap {
    padding-top: 2rem;
    padding-bottom: 2rem;
}


form input,
form select,
form button,
form textarea,
form .select2-container .select2-selection {
    border: none !important;
    outline: none !important;
    box-shadow: var(--formControlBoxShadow);
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: auto;
    border-radius: 1.5rem !important;
}

form input,
form select,
form button,
form .select2-container .select2-selection {
    height: var(--formControlHeight) !important;
}

form input,
form select,
form textarea,
form .select2-container .select2-selection {
    background-color: var(--off-white) !important;
}

form input[type=checkbox], form input[type=radio] {
    display: inline-flex;
    width: 1.4em !important;
    height: 1.4em !important;
    padding: .5em !important;
    font-size: 1em;
    background: var(--green-fill);
    justify-content: center;
    align-items: center;
}

form input[type=checkbox]:checked:after, form input[type=radio]:checked::after {
    font-size: .7em;
    position: static;
    transform: none;
}

form input[type=submit] {
    background: var(--accent-fill-1);
    box-shadow: var(--fill-box-shadow);
}

.select2-container .select2-dropdown {
    border: none !important;
    background: var(--off-white) !important;
    padding: 0 1rem !important;
}

.shop-archive-wrap {
    clear: both;
}


.woocommerce-products-header {
    position: relative;
    margin-bottom: 1.5rem;
}

@media (min-width: 769px) {
    .woocommerce-products-header:has(img) .summary {
        position: absolute;
        bottom: 1rem;
        left: 1rem;
        color: var(--white);
    }

    .woocommerce-products-header .summary:not(:has(.berocket_element_above_products)) {
        max-width: 40%;
    }
}

.woocommerce-products-header .summary h1 {
    text-transform: uppercase;
    font-size: var(--fontLarge);
}

.scroll-up, .xoo-wsc-container .xoo-wsc-basket {
    background: var(--accent-fill-1);
    box-shadow: var(--fill-box-shadow);
}




.woocommerce .product {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.product-main {
    display: grid;
    gap: 1.5rem;
}

.woocommerce .product-main h1.product_title {
    margin: 0;
    font-size: clamp(1.4em, 3vw, 2em) !important;
    font-weight: 600;
}

.woocommerce .product .product-main .woocommerce-product-gallery,
.woocommerce .product .product-main .summary {
    width: auto;
}

.woocommerce .product .product-main .woocommerce-product-gallery,
.woocommerce .product .product-main .summary {
    margin-bottom: 0;
}

.woocommerce .product-main .summary {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    grid-auto-rows: max-content;
}

.product-main .summary > :not(.price, .woosw-btn) {
    grid-column: span 2;
}


@media (min-width: 769px) {
    .product-main {
        grid-template-columns: 1.3fr 1fr;
    }
}

.product-main .brand {
    font-weight: 600;
    text-transform: uppercase;
}

.product-main .sku {
    font-weight: 500;
    color: #767676;
    margin-bottom: 1em;
}

.product-main .brand:has(+.sku) {
    margin-bottom: 1rem;
}

.woocommerce .product .product-main .price {
    font-weight: 600;
    font-size: clamp(1.4em, 3vw, 2em) !important;
    color: inherit;
    margin: 0
}

.product-main .woocommerce-product-gallery--with-images:has(.flex-viewport) {
    display: grid;
    gap: 1rem;
    grid-auto-rows: max-content;
}

.product-main .woocommerce-product-gallery--with-images .flex-control-nav {
    display: flex;
    gap: 1rem;
}

.woocommerce .product .product-main .woocommerce-product-gallery--with-images .flex-control-nav li {
    width: auto;
}

.woocommerce .product .product-main .woocommerce-product-gallery--with-images .flex-control-nav li img {
    background: var(--white);
    border-radius: .5rem;
}

.woocommerce .product .product-main .cart .variations select {
    background-color: #0041FF !important;
    color: #fff;
    border-radius: 6px !important;
	background-image: url(scss/images/nedladdnings.svg)!important;
	font-family: "Poppins", sans-serif;
	font-weight: 600;
}

.woocommerce .product .product-main .cart .variations select:has(option:first-child:checked) {
    width: 100%;
}

.product-main .woocommerce-variation-add-to-cart {
    display: flex;
    flex-direction: column;
}

.product-main .m-button.single_add_to_cart_button {
    background: var(--green);
    width: 100%;
}

.product-main .m-button.single_add_to_cart_button svg {
    margin-left: auto;
}

.breadcrumbs {
    display: flex;
    gap: .7rem;
}

.breadcrumbs > span:empty {
    display: none;
}


.product-description:has(img) {
    display: grid;
    gap: 1rem;
}

.product-description img {
    grid-row: 1;
}

@media (min-width: 769px) {
    .product-description:has(>img) {
        grid-template-columns: 1fr 2fr;
    }

    .product-description img {
        grid-column: 2;
        aspect-ratio: 3/2;
        object-fit: cover !important;
    }
}

.product-description .desc {
    background: var(--white);
    padding: 1rem;
}

.product-description .desc,
.product-description img {
    border-radius: 1rem;
}

.product-description .desc h3:first-of-type {
    text-transform: uppercase;
    font-size: clamp(1.4em, 3vw, 1.8em) !important;
}


.woocommerce .product .m-toggle-area {
    display: grid;
    gap: .5rem;
    background: var(--white);
    padding: 1.5rem 1rem !important;
}

.woocommerce .product .related > h2,
.woocommerce .product .m-toggle-area > h2 {
    text-transform: uppercase;
    font-size: clamp(1.4em, 3vw, 1.8em) !important;
    font-weight: 900;
}

.woocommerce .product .m-toggle-area > h2 {
    margin: 0;
}

.woocommerce .product .m-toggle-area p {
    margin-top: 0;
}

.woocommerce .product .m-toggle-area ul.fields {
    --row-gap: 1.5rem;
    --column-gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    row-gap: var(--row-gap);
    column-gap: var(--column-gap);
    overflow: hidden;
}

@media (min-width: 768px) {
    .woocommerce .product .m-toggle-area ul.fields {
        grid-template-columns: 1fr 1fr;
    }
}

.woocommerce .product .m-toggle-area ul.fields li {
    position: relative;
}

.woocommerce .product .m-toggle-area ul.fields li::after {
    --offset-x: calc(-1 * var(--column-gap)/2);
    --offset-y: calc(-1 * var(--row-gap)/2);
    position: absolute;
    left: var(--offset-x);
    right: var(--offset-x);
    border-top: 2px solid #F5F9FC;
    content: '';
    bottom: var(--offset-y)
}

.woocommerce .product .m-toggle-area ul.fields h5 {
    margin: 0 0 .4em
}

.woocommerce .product .m-toggle-area ul.fields p {
    margin: 0
}


























.hero {
    height: auto;
    margin-top: -6.3rem
}

.hero .acf-innerblocks-container > .wp-block-group {
    align-items: flex-start;
}

.hero .gform-theme--foundation .gform_fields {
    row-gap: 20px;
}

.hero .gform-theme--framework .gfield--input-type-datepicker.gfield--datepicker-default-icon .ginput_container_date {
    position: relative;
}

.hero .gform-theme--framework .gfield--input-type-datepicker.gfield--datepicker-default-icon .ginput_container_date::after {
    position: absolute;
    right: 10px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
}

.hero .gform-theme--framework .gfield--input-type-datepicker .ginput_container_date input {
    --gf-local-width: 100%
}


ul.help-nav {
    display: grid;
    column-gap: 40px;
    row-gap: 0;
    justify-content: normal;
}

@media (min-width: 736px) {
    ul.help-nav {
        grid-template-columns: 1fr 1fr;
    }
}

ul.help-nav .wp-block-navigation-item a {
    display: grid;
    flex-grow: 1;
    font-weight: 300;
    font-size: 1.2em;
    border-bottom: .1em solid var(--light-beige);
    padding: .5em 0;
    grid-template-columns: 1fr auto;
}

ul.help-nav .wp-block-navigation-item a::after {
    content: "\f178";
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
}


.wp-block-group.brands-grid {
    align-items: center;
    width: 100%;
    text-align: center;
    justify-content: center;
}

.wp-block-group.brands-grid img {
    max-width: 180px;
}


footer .logo {
    display: block;
    margin-top: 1rem;
}

footer .logo img {
    height: 4rem
}

footer :is(.fa-solid, .fa-regular) {
    margin-right: .6em;
}

footer h4 {
    font-weight: 500;
}

footer .icons {
    display: flex;
    gap: 1rem;
    font-size: 1.8em;
}

button:not(.scroll-up), .btn {
    gap: 1rem
}

.wp-container-core-group-is-layout-18 {
    width: 100%
}

@media (min-width: 961px) {
    .col-pad-l-5 {
        padding-left: 5rem
    }
}


footer .contact {
    justify-content: flex-start
}


@media (max-width: 60rem) {
    footer .row.justify-between {
        flex-direction: row;
    }
}

@media (max-width: 40rem) {
    footer .icons {
        justify-content: center;
    }
}


.page-template-hero-page header:not(.sticky) .header-desktop .menu ul li a {
    color: var(--white);
}

.page-template-hero-page header .row .logo a img.logo-light {
    display: block;
}

.page-template-hero-page header .row .logo a img.logo-dark {
    display: none;
}

.page-template-hero-page header:not(.sticky) .contact li .btn {
    color: var(--white);
    border-color: var(--white);
}

.hero .wp-block-columns {
    flex-basis: 100%;
}




details.faq {
    padding-block: .6rem;
    width: 100%;
    position: relative;
    padding-left: 1.4em;
}

details.faq:not(:last-child) {
    border-block-end: 1px solid var(--off-white);
}

details.faq::before {
    content: '';
    background: url('https://montinix.se/wp-content/uploads/2025/06/question-mark.svg') no-repeat left top / .7em auto;
    position: absolute;
    width: 1em;
    height: 1.4em;
    left: 0;
    top: 1em;
}
  
details.faq summary {
    /* Pin the custom marker to the container */
    position: relative;
    /* Register summary as an anchor element */
    anchor-name: --summary;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    padding-inline-end: 2.5em;
}

details.faq summary::marker {
    content: "";
}

details.faq summary::before,
details.faq summary::after {
    /* Custom marker dimensions */
    content: "";
    border-block-start: .15em solid var(--off-black);
    height: 0;
    width: 1rem;
    
    /* Positions the lines */
    inset-block-start: 50%;
    inset-inline-end: 0;
    
    /* Anchor the shape to the summary */
    position: absolute;
    position-anchor: --summary;
    position-area: top end;
}

details.faq summary::after {
    transform: rotate(90deg);
    transform-origin: 50%;
}
  
  /* Rotate the line when open */
details.faq[open] summary::after {
    transform: rotate(0deg);
}

details summary::-webkit-details-marker {
    display: none;
}

details.faq p {
    margin-block-start: 7px;
}

@media (max-width: 577px) {
    .wp-block-group.mobile-stack .wp-block-group {
        flex-basis: 100%;
    }

    .hero .tick-items {
        gap: 10px;
        font-size: clamp(.6em, 2.3vw, 1em);
    }

    .hero .tick-items > .wp-block-group {
        font-size: 1em !important;
    }

    .hero .tick-items > .wp-block-group:not(:last-child) {
        padding-right: 1rem !important
    }

    .hero .tick-items img {
        max-width: 2em;
    }
}

.iframe-wrap {
    position: relative;
    padding-top: 56.25% !important;
}

.iframe-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
}

.menu-item.hide-label > a > span {
    display: none;
}

.menu-item svg path {
    fill: currentColor
}

figure.wp-block-image {
    line-height: 1;
}


@media (max-width: 60rem) {
    .wp-block-group.card .wp-block-columns {
        gap: 1rem;
    }

    .wp-block-group.card .wp-block-columns .wp-block-column-image {
        order: -1
    }

    .hero .wp-block-group:has(.wp-block-btn-button) {
        flex-direction: column;
        align-items: stretch;
    }

    .hero .wp-block-group .wp-block-btn-button .btnButton {
        display: flex !important;
    }
}


header .contact .btn.btn-glass {
    height: auto;
    background: var(--off-black) !important;
}

header .contact .wpml-ls-legacy-dropdown {
    width: auto;
}

header .contact .wpml-ls-legacy-dropdown,
header .contact .wpml-ls-legacy-dropdown > ul,
header .contact .wpml-ls-legacy-dropdown > ul > li {
    height: 100%;
}

header .contact .wpml-ls-legacy-dropdown > ul > li {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header .row .contact {
    align-items: stretch;
}

header .contact .wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
    border: none;
}



#breadcrumbs {
    padding: 0 2rem;
    box-sizing: border-box;
}

#breadcrumbs, 
.yoast-breadcrumbs {
    font-weight: 300;
    font-size: .9em;
}

#breadcrumbs >span,
.yoast-breadcrumbs > span {
    display: flex;
    gap: .75rem
}




.gform-theme--api,.gform-theme--framework {
    --gf-color-primary: var(--off-black) !important;
    --gf-color-primary-rgb: 56,56,56 !important;
    --gf-color-primary-contrast: var(--off-white) !important;
    --gf-color-primary-contrast-rgb: 255,254,253 !important;
    --gf-color-primary-darker: var(--off-black) !important;
    --gf-color-primary-lighter: var(--beige) !important;

    --gf-color-in-ctrl-contrast: var(--dark-beige) !important;
    --gf-color-in-ctrl-contrast-rgb: 124,117,110 !important;

    --gf-ctrl-placeholder-opacity: .5 !important;

    --gf-color-out-ctrl-dark-darker: var(--off-black) !important;
    --gf-color-out-ctrl-dark-lighter: var(--beige) !important;
}

.has-dark-beige-background-color .gform-theme--api,
.has-dark-beige-background-color .gform-theme--framework {
    --gf-color-out-ctrl-dark-darker: var(--off-white) !important;
    --gf-color-out-ctrl-dark-lighter: var(--lightest-beige) !important;
}

header .row .menu {
    white-space: nowrap;
}

.page-template-hero-page header:not(.sticky) .row .menu:not(.active) .menu-burger-toggle .menu-burger .menu-burger-line {
    background-color: var(--off-white);
}


header .contact .wpml-ls-legacy-dropdown img.wpml-ls-flag {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}

header .contact .wpml-ls-legacy-dropdown a {
    --pad-lr: 1rem;
    --pad-tb: .5rem;

    padding: var(--pad-tb) var(--pad-lr);
}

header .contact .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
    padding-right: calc(var(--pad-lr) + 1.6em);
}

header .contact .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
    right: var(--pad-lr);
    width: .6em;
    height: .6em;
    border: none;
    border-right: .12em solid;
    border-bottom: .12em solid;
    transform: rotate(45deg);
    top: calc(50% - .5em);
}

header .contact .wpml-ls-legacy-dropdown {
    border-radius: 5px;
}

header .contact .wpml-ls-legacy-dropdown .wpml-ls-sub-menu > li:last-child a {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

header .contact .wpml-ls-legacy-dropdown:hover {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}


header .header-mobile .contact .wpml-ls-legacy-dropdown ul {
    position: static !important;
    height: auto !important;
    width: 100% !important;
    visibility: visible !important;
    display: block !important;
}

header .header-mobile .contact .wpml-ls-legacy-dropdown ul,
header .header-mobile .contact .wpml-ls-legacy-dropdown ul li,
header .header-mobile .contact .wpml-ls-legacy-dropdown .wpml-ls-link {
    padding: 0 !important;
}

header .header-mobile .contact .wpml-ls-legacy-dropdown .wpml-ls-item-toggle {
    display: none !important;
}

header .header-mobile .contact .wpml-ls-legacy-dropdown,
header .header-mobile .contact .wpml-ls-legacy-dropdown .wpml-ls-link {
    background: none;
}

header .header-mobile .contact .wpml-ls-legacy-dropdown .wpml-ls-link {
    border: none;
}





.gfield--type-multi_choice .gfield_radio .gchoice {
    position: relative;
}

.gfield--type-multi_choice .gfield_radio .gchoice input[type=radio] {
    position: absolute;
    right: 1.2em;
    top: 50%;
    transform: translateY(-50%);
    border-radius: .2em;
    background: none;
    border-color: var(--off-black);
    border-width: .15em;
    transition: border-color .4s;
}

.gfield--type-multi_choice .gfield_radio .gchoice label {
    background: var(--beige);
    padding: .8em 3.4em .8em 1.2em;
    border-radius: .3em;
    cursor: pointer;
    margin: 0;
    transition: background-color .4s, color .4s;
}

.gfield--type-multi_choice .gfield_radio .gchoice:has(input[type=radio]:checked) label {
    background: var(--off-black);
    color: var(--off-white)
}

.gfield--type-multi_choice .gfield_radio .gchoice input[type=radio]:checked {
    border-color: var(--off-white);
}

#gform_confirmation_message_1,
#gform_confirmation_message_6{ text-align: center; }

#gform_confirmation_message_1 h3,
#gform_confirmation_message_1 p{
color: var(--white);
}



header .row .logo a img {
    height: 1.6rem
}

header .row .menu ul:not(.contact) li a:not(.btn) {
    font-size: 15px;
	font-weight: 300;
}


footer ul.contact {
    margin: 0;
}

footer .row {
    padding: 2rem 0;
    /* align-items: flex-end; */
}

.gform-body .offertpris input{
	font-size: 1.2em!important;
	color: #000000!important;
}

.gform-body .offertform-lank label a{
	text-decoration: underline!important;
}


@media (max-width: 400px) {
    h1, .text-xxl {
        font-size: calc(var(--fontXXLarge) - 2rem) !important;
    }
}

@media (max-width: 1500px) {
	/* header .row .menu {
		left: 44%;
		transform: translate(-44%, 0);
	} */
	header .row .menu ul:not(.contact) {
		gap: 1rem;
	}
}










.wp-block-group[data-block-name="woocommerce/classic-shortcode"] {
    padding: 0;
}

.montinix-cart-form {
    --thumbnail-size: clamp(3rem, 9vw, 5rem);
    display: grid;
    grid-template-columns: var(--thumbnail-size) 1fr;
    gap: .5rem;
}

@media (min-width: 769px) {
    .montinix-cart-form {
        grid-template-columns: var(--thumbnail-size) 2fr 1fr;
    }
}

.montinix-cart-form .cart-items-header {
    grid-column: 2/3;
    display: flex;
    justify-content: space-between;
}

.montinix-cart-form h5 {
    margin: 0
}

.montinix-cart-form .cart-items,
.montinix-cart-form .cart-items .cart-item {
    display: grid;
    gap: .5rem;
    grid-auto-rows: max-content;
}

.montinix-cart-form .cart-items {
    grid-column: 1/3;
}

.montinix-cart-form .cart-items .cart-item {
    grid-template-columns: var(--thumbnail-size) 1fr;
}

.montinix-cart-form .cart-item .product-card,
.montinix-cart-form .cart-item img {
    background: var(--white);
    border-radius: .5rem;
}

.montinix-cart-form .cart-item .product-card {
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 1em */
}

.montinix-cart-form .cart-item img {
    box-sizing: border-box;
    padding: .5rem;
}

.montinix-cart-form .cart-item .product-card .quantity {
    grid-column: 2;
    grid-row: 2;
}

.montinix-cart-form .cart-item .product-card .quantity input {
    margin: 0;
}

.montinix-cart-form .cart-item .product-card .remove {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    color: inherit !important;
    font-size: 1em;
    background: none;
}

.montinix-cart-form .cart-item .product-card .remove svg {
    width: 1em;
}

.montinix-cart-form .cart-item .product-card .sku {
    font-weight: 600;
    font-size: var(--fontXSmall);
}

.montinix-cart-form .product-card .subtotal {
    align-self: center;
    font-weight: 600;
    font-size: var(--fontSmall);
}

.montinix-cart-form .product-card ul.variations {
    list-style: none;
    padding: 0;
    font-size: var(--fontXSmall);
    display: grid;
    gap: .5em;
}

.montinix-cart-form .cart-summary {
    display: grid;
    gap: .5rem;
    grid-auto-rows: max-content;
    grid-column: 2/3;
}

@media (min-width: 769px) {
    .montinix-cart-form .cart-summary {
        grid-column: 3;
    }
}

.montinix-cart-form .cart-summary > *,
.woocommerce-checkout-review-order {
    background: var(--dark-fill-1);
    border-radius: .5rem;
    padding: 1.5rem 1rem;
    color: var(--white);
    display: grid;
    box-sizing: border-box;
}

.montinix-cart-form .cart-summary .coupon {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .5em;
}

.montinix-cart-form .cart-summary .coupon label {
    grid-column: 1/3;
    font-weight: 600;
}

.montinix-cart-form .cart-summary .m-button {
    background: var(--green-fill);
}

.montinix-cart-form .cart-summary .cart_totals {
    width: auto
}

.m-button.is-flex {
    display: flex !important;
    justify-content: space-between;
}

.montinix-cart-form .cart-summary .cart_totals table,
.montinix-cart-form .cart-summary .cart_totals th,
.montinix-cart-form .cart-summary .cart_totals td,
.woocommerce-checkout-review-order table,
.woocommerce-checkout-review-order table th,
.woocommerce-checkout-review-order table td {
    border: none !important;
}

.montinix-cart-form .cart-summary .cart_totals th,
.montinix-cart-form .cart-summary .cart_totals td,
.woocommerce-checkout-review-order table th,
.woocommerce-checkout-review-order table td {
    padding: .25em 0;
}

.montinix-cart-form .cart-summary .cart_totals td,
.woocommerce-checkout-review-order table th:last-child,
.woocommerce-checkout-review-order table td:last-child {
    text-align: right;
	font-weight: bold;
}



.woocommerce-checkout .col2-set {
    display: grid;
    gap: 1rem
}

.woocommerce-checkout .col2-set > * {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    width: auto !important;
}


.woocommerce-checkout #ship-to-different-address {
    font-size: 1em;
}

.select2-container.select2-container--open {
    width: auto;
}

.woocommerce #place_order {
    width: 100%;
    justify-content: space-between;
    margin-top: 1em;
    background: var(--green-fill);
}

.woocommerce #payment .wc_payment_method label {
    display: inline-block;
    width: auto;
}

.home header .menu .menu-burger-toggle .menu-burger-line {
    background: var(--black) !important
}



.header-mobile .header-elements {
    display: flex !important;
    flex-direction: column; 
    align-items: flex-start !important;
    gap: 1rem;
}

.header-mobile .header-elements form {
    padding: 0 1.5rem !important;
}

.header-mobile .header-elements a {
    display: flex;
    gap: .5em;
}

.header-mobile .header-elements form input {
    width: 100% !important
}


@media (max-width: 540px) {
    .hero-blurb {
        max-width: none !important;
    }
}


.woocommerce .woocommerce-pagination {
    margin: 3em 0;
    display: flex;
    justify-content: flex-end;
	font-size: 18px;
}

.woocommerce .woocommerce-pagination ul.page-numbers,
.woocommerce .woocommerce-pagination ul.page-numbers li {
    border: none;
}

.woocommerce .woocommerce-pagination ul.page-numbers li .page-numbers {
    font-weight: 600;
    background: none;
}

.woocommerce .woocommerce-pagination ul.page-numbers li .page-numbers.current {
    color: var(--accent);
    
}


.archive .subcategories {
    margin-bottom: 4rem;
}

.archive .subcategories .m-products.m-grid {
    --column-gap-desktop: 2rem;
    --row-gap-desktop: 2rem;
    --columns-desktop: 5 !important;
    overflow: hidden;
}

.subcategories.img-hidden .m-products .product-category .img {
    display: none;
}

.archive .subcategories ul.m-products.m-grid li.product-category {
    --border-color: #a8a8a875;
    position: relative;
}

.archive .subcategories ul.m-products.m-grid li.product-category::before,
.archive .subcategories ul.m-products.m-grid li.product-category::after {
    content: '';
    position: absolute;
}

.archive .subcategories ul.m-products.m-grid li::before {
    top: calc(-1 * var(---row-gap)/2);
    bottom: calc(-1 * var(---row-gap)/2);
    right: calc(-1 * var(---column-gap)/2);
    border-right: 1px solid var(--border-color);
}

.archive .subcategories ul.m-products.m-grid li::after {
    left: calc(-1 * var(---column-gap)/2);
    right: calc(-1 * var(---column-gap)/2);
    bottom: calc(-1 * var(---row-gap)/2);
    border-top: 1px solid var(--border-color);
}

.archive .subcategories ul.m-grid.m-products .m-button {
    backdrop-filter: unset
}
.archive .subcategories ul.m-grid.m-products .m-button::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}


#master-header ul.mega-menu {
    display: flex !important;
}












@media (min-width: 1281px) {
    .mega-menu-wrap, .mega-menu, .mega-menu li.click-toggle .mega-sub-menu li {
        position: static !important;
    }

    .mega-menu .mega-menu-megamenu > .mega-sub-menu {
        top: calc(100% + 25px) !important;
        border-radius: 1em !important;
        padding: 2em !important;
        left: 2rem !important;
        width: calc(100% - 4rem) !important;
        background: var(--white) !important
    }

    .mega-menu .mega-sub-menu .mega-menu-link {
        font-size: 1em !important;
    }

    .mega-menu .mega-sub-menu .mega-has-icon > .mega-menu-link::before {
        font-size: 3em !important;
        color: rgba(34, 85, 85, 0.8) !important;
        background: #e6e6e6 !important;
        padding: .3em !important;
        border-radius: .6em !important;
        line-height: 1 !important;
        margin-right: .4em !important;
    }

    .mega-menu .mega-sub-menu .mega-menu-link .mega-menu-description {
        font-style: normal !important;
        font-size: .98em !important;
        line-height: 1.3 !important;
    }



    .mega-menu li.click-toggle .mega-sub-menu li {
        float: none !important
    }

    .mega-menu li.click-toggle li.mega-menu-column > ul.mega-sub-menu {
        min-height: 400px !important;
    }

    .mega-menu li.click-toggle li.mega-menu-column > ul.mega-sub-menu > .mega-menu-item-has-children > .mega-sub-menu {
        position: absolute !important;
        left: 100% !important;
        top: 0 !important;
        width: 100% !important;
        max-height: 100% !important;
        overflow: auto !important;
        display: grid !important;
        gap: 1.5em;
        height: auto !important;
    }

    .mega-menu li.click-toggle li.mega-menu-column.mega-menu-columns-4-of-12 > ul.mega-sub-menu > .mega-menu-item-has-children > .mega-sub-menu {
        width: 200% !important;
    }

    .mega-menu li.click-toggle li.mega-menu-column.mega-menu-columns-3-of-12 > ul.mega-sub-menu > .mega-menu-item-has-children > .mega-sub-menu {
        width: 300% !important;
    }

    .mega-menu li.click-toggle.sub-2-cols li.mega-menu-column > ul.mega-sub-menu > .mega-menu-item-has-children > .mega-sub-menu {
        grid-template-columns: 1fr 1fr;
    }

    .mega-menu li.click-toggle li.mega-menu-column > ul.mega-sub-menu > .mega-menu-item-has-children .mega-sub-menu {
        margin: 0 !important
    }

    /* .mega-menu li.click-toggle:not(.ua) li.mega-menu-column > ul.mega-sub-menu > .mega-menu-item-has-children:not(:first-child) > .mega-sub-menu, */
    .mega-menu li.click-toggle/* .ua */ li.mega-menu-column > ul.mega-sub-menu > .mega-menu-item-has-children:not(.toggle-on) > .mega-sub-menu {
        visibility: hidden !important;
    }

    .mega-menu li.click-toggle li.mega-menu-column > ul.mega-sub-menu > .mega-menu-item {
        padding: 5px 45px 5px 5px!important;
    }

    .mega-menu li.click-toggle li.mega-menu-column > ul.mega-sub-menu > .mega-menu-item > .mega-menu-link {
        padding: .5em 1.2em !important;
        border-radius: 2em !important;
        /* color: #777 !important */
    }

    .mega-menu li.click-toggle li.mega-menu-column > ul.mega-sub-menu > .mega-menu-item > .mega-menu-link > .mega-indicator {
        display: none !important;
    }

    /* .mega-menu li.click-toggle:not(.ua) li.mega-menu-column > ul.mega-sub-menu > .mega-menu-item-has-children:first-child > .mega-menu-link, */
    .mega-menu li.click-toggle li.mega-menu-column > ul.mega-sub-menu > .mega-menu-item > .mega-menu-link:hover,
    .mega-menu li.click-toggle/* .ua */ li.mega-menu-column > ul.mega-sub-menu > .mega-menu-item-has-children.toggle-on > .mega-menu-link {
        background: var(--gray) !important;
        color: var(--off-black) !important
    }

    .mega-menu li.click-toggle li.mega-menu-column > ul.mega-sub-menu > .mega-menu-item-has-children > .mega-sub-menu .mega-menu-link {
        padding: .3em 0 !important;
        color: #555 !important
    }

    .mega-menu li.click-toggle li.mega-menu-column > ul.mega-sub-menu > .mega-menu-item-has-children > .mega-sub-menu :not(.mega-has-icon) > .mega-menu-link::before {
        font-family: dashicons;
        content: "\f345";
        color: rgba(34,85,85,0.8) !important;
        display: inline-flex !important;
        width: 1.5em !important;
        height: 1.5em !important;
        align-items: center;
        justify-content: center;
        font-weight: 100 !important;
        margin-right: .8em !important;
        line-height: 0 !important;
    }

    .mega-menu li.click-toggle li.mega-menu-column > ul.mega-sub-menu > .mega-menu-item-has-children > .mega-sub-menu > .mega-menu-item > .mega-menu-link {
        font-weight: 600 !important;
    }

    .mega-menu li.click-toggle li.mega-menu-column > ul.mega-sub-menu > .mega-menu-item-has-children > .mega-sub-menu > .mega-menu-item:not(.mega-has-icon) > .mega-menu-link::before {
        background: var(--accent-fill-1) !important;
        border-radius: 50%;
        color: var(--off-white) !important;
    }

    .mega-menu .astm-search-menu {
        display: none !important;
    }
}

 
@media (max-width: 1280px) {
    #main-header .container {
        width: 100%;
        padding: 0 15px;
    }

    #main-header #logo {
        max-width: 40%;
    }

    ul.mega-menu {
        align-items: unset !important;
        gap: 0 !important;
    }

    ul.mega-menu > li {
        border-bottom: 2px solid var(--off-white) !important;
    }

    .mega-menu .astm-search-menu {
        padding: 10px;
        box-sizing: border-box;
		display: none;
    }
}

                 
#mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link {
    color: #6b6b6b;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 600;
}

#mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link:hover
{font-weight: 600;}

#mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link{
	font-weight: 600;
}




.xoo-wsc-basket .xoo-wsc-items-count {
    background: var(--accent-fill-1);
}

.xoo-wsc-container .xoo-wsc-basket,
.xoo-wsc-basket .xoo-wsc-items-count,
.xoo-wsc-container .xoo-wsc-footer {
    color: var(--white);
}

.xoo-wsc-container .xoo-wsc-footer {
    background: var(--dark-fill-1);
}



.woocommerce-error, 
.woocommerce-info, 
.woocommerce-message {
    background: var(--dark-fill-1);
    color: var(--white);
}

.xoo-wsc-container .xoo-wsc-footer .m-button {
    padding: 1.2rem !important;
    border-radius: 8px;
}



.product .price,
.dgwt-wcas-pd-price,
.dgwt-wcas-sp,
.dgwt-wcas-tpd-price {
    gap: .5em;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.product .price .savings {
    font-size: var(--fontRegular);
}

.product .price del,
.dgwt-wcas-pd-price del,
.dgwt-wcas-sp del,
.dgwt-wcas-tpd-price del {
    font-size: .8em;
    font-weight: 500;
}

.dgwt-wcas-pd-price del,
.dgwt-wcas-tpd-price del {
    font-weight: 600;
}

ul.m-products li.product .price del {
    color: var(--gray);
}

.woocommerce .product .price ins,
.dgwt-wcas-pd-price ins,
.dgwt-wcas-sp ins,
.dgwt-wcas-tpd-price ins {
    order: -1;
    text-decoration: none;
    font-weight: inherit !important;
    color: var(--red);
    font-style: italic;
}


ul.m-products li.product .img {
    position: relative;
	max-height: 300px;
	width: 100%;
}

.woocommerce img, .woocommerce-page img {
    height: 100%;
    max-width: 100%;
    object-fit: contain;
	width: 100%;
}

.woocommerce .woosw-btn {
    width: 1.6em;
    height: 1.6em !important;
    box-sizing: border-box;
    font-size: 1.4em;
    color: var(--gray);
    /* border-color: var(--gray); */
    padding: 0;
    border: none;
}

ul.m-products li.product .img .woosw-btn {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
}


.woocommerce .product .onsale {
    background: var(--red);
    border-radius: 0;
    padding: .5em .8em;
    line-height: 1.4;
    min-height: auto;
    min-width: auto;
    top: .5em;
    left: .5em;
	font-size: 1.2em;
}

.woocommerce .product .product-main .onsale {
    font-size: 1.2em;    
}



.m-toggle-panel:not(.active) .m-toggle-area {
    display: none;
}

.m-toggle-panel .m-toggle-cta {
    background: var(--white);
    padding: 1em 1.4em;
    display: flex;
    justify-content: space-between;
}

.m-toggle-panel .m-toggle-cta::after,
.m-number-input button::after {
    content: "";
    font-family: 'dashicons';
    font-weight: 500;
}

.m-toggle-panel:first-child .m-toggle-cta {
    border-top-left-radius: .5em;
    border-top-right-radius: .5em;
}

.m-toggle-panel:last-child:not(.active) .m-toggle-cta,
.m-toggle-panel:last-child.active .m-toggle-area {
    border-bottom-left-radius: .5em;
    border-bottom-right-radius: .5em;
}

.m-toggle-panel.active .m-toggle-cta {
    background: var(--accent-fill-1);
    color: var(--white)
}

.m-toggle-panel.active .m-toggle-cta::after {
    transform: rotate(180deg);
}


.m-number-input {
    display: grid;
    grid-template-columns: 1fr auto;
}

.m-number-input input {
    width: 100% !important;
}

.cart .m-number-input .quantity,
.cart .m-number-input .quantity input {
    margin: 0 !important
}

.cart .m-number-input .quantity input {
    height: 100% !important;
    box-sizing: border-box;
    font-size: 1.2em;
}

.m-number-input > input,
.cart .m-number-input .quantity {
    grid-row: span 2;
}

.woocommerce .product.product-type-simple .cart,
.woocommerce .product.product-type-variable .woocommerce-variation-add-to-cart {
    display: grid;
    gap: 1rem;
    grid-template-columns: 6rem 1fr;
}

.woocommerce .product.product-type-simple .cart .m-number-input:not(:has(.quantity input[type=text], .quantity [type=number])),
.woocommerce .product.product-type-variable .woocommerce-variation-add-to-cart .m-number-input:not(:has(.quantity input[type=text], .quantity [type=number])) {
    display: none;
}

.woocommerce .product.product-type-simple .cart .m-number-input:not(:has(.quantity input[type=text], .quantity [type=number])) + [type=submit],
.woocommerce .product.product-type-variable .woocommerce-variation-add-to-cart .m-number-input:not(:has(.quantity input[type=text], .quantity [type=number])) + [type=submit] {
    grid-column: span 2;
}

.woocommerce .product.product-type-variable .woocommerce-variation-add-to-cart {
    margin-bottom: 1rem;
}

.woocommerce .product .cart::before,
.woocommerce .product .cart::after {
    display: none !important;
}

.m-number-input button,
.m-number-input input {
    border-radius: 0 !important;
    border-color: var(--gray) !important;
    border-width: .1em !important;
}

.m-number-input input {
    border-style: solid !important;
    border-right-style: none !important;
    border-top-left-radius: .5em !important;
    border-bottom-left-radius: .5em !important;
}

.m-number-input button {
    padding: 0 .2em !important;
    font-size: 1.4em;
}

.m-number-input button:has(+button) {
    border-bottom-left-radius: .5em !important;
    border-bottom-style: solid !important;
    border-left-style: solid !important;
    transform: rotate(180deg);
}

.m-number-input button + button {
    border-bottom-right-radius: .5em !important;
    border-bottom-style: solid !important;
    border-right-style: solid !important;
}

.woocommerce .product .cart [type=submit] {
    /*height: auto !important;*/
    height: 64px !important;
    border-radius: .5em !important;
    font-size: 1.1em;
}

.woocommerce .product-main .woosw-btn {
    font-size: 1.8em;
}

.m-number-input input::-webkit-outer-spin-button,
.m-number-input input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

.m-number-input input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}




.product-tick-items {
    display: flex;
    justify-content: space-between;
    color: #767676;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 550px) {
    .product-tick-items {
        flex-wrap: nowrap;
        gap: 2px;
        font-size: 2.3vw;
    }
}

:is(.woocommerce .product.product-type-simple .cart, .woocommerce .product.product-type-variable .woocommerce-variation-add-to-cart) .product-tick-items {
    grid-column: span 2;
}
.product-tick-items p {
    margin: 0;
    display: flex;
    gap: .25em;
    align-items: center;
}

.product-tick-items p::before {
    content: "\f147";
    font-family: dashicons;
    font-size: 1.4em;
}

.woocommerce .product .product-main .price {
    margin: .5em 0;
}

.product .m-toggles {
    margin-top: 2em;
}

.woocommerce .product .product-main .stock {
    color: inherit;
    display: flex;
    gap: .5em;
    align-items: center;
    margin: 0;
}

.product .stock::before {
    content: '';
    width: .6em;
    height: .6em;
}

.product .stock.in-stock::before {background: var(--green)}
.product .stock.out-of-stock::before {background: var(--red)}
.product .stock.available-on-backorder::before {background: orange}

.woocommerce .product.product-type-simple .cart .stock {
    grid-column: span 2;
}

.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before {
    display:none;
	/*
	font-family: WooCommerce;
    content: "\e028";
    content: "\e028" / "";
    display: inline-block;
    position: absolute;
    top: 1em;
    left: 1.5em;
	*/
}

.woocommerce-error, .woocommerce-info, .woocommerce-message {
    background: var(--dark-fill-1);
    color: var(--white);
    font-size: 16px;
}



@media (min-width: 981px) {
    .wp-block-group[data-block-name="woocommerce/classic-shortcode"] {
        max-width: 80rem !important;
    }

    form.checkout:not(.kco-checkout) {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 1.5rem;
        grid-auto-rows: max-content 1fr;
        align-items: start;
    }

    form.checkout #customer_details {
        grid-row: span 2;
    }

    form.checkout #customer_details::before,
    form.checkout #customer_details::after {
        content: none;
    }

    form.checkout #order_review_heading {
        grid-column: 2;
        grid-row: 1;
        padding-top: 1.5rem;
    }

    form.checkout #order_review {
        grid-column: 2;
        grid-row: 2;
    }
}

.woocommerce .product .product-main .images img {
    max-height: 444px;
}

@media (max-width: 768px) {
    .woocommerce .product .product-main .images img {
        aspect-ratio: 1;
    }
}


.woosw-list {
    font-size: clamp(.8em, 2vw, 1em);
}

.woosw-list table.woosw-items .woosw-item .woosw-item--image img {
    width: clamp(40px, 5vw, 80px);
}

.woosw-list .woosw-item .woosw-item--actions .woosw-item--atc .button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--accent-fill-1);
    box-shadow: var(--fill-box-shadow);
    border-radius: 2em;
    color: var(--white);
    padding: 0.2rem 0.5rem;
}

.woosw-list .woosw-item .woosw-item--actions .woosw-item--atc .button svg {
    width: 1.3em
}

.contact-column, .customercare-column{
	padding-left: 1rem;
    padding-right: 1rem;
	padding-top: 1rem;
}

/* Dölj text i alla headerinstanser (desktop, sticky, mobil/offcanvas) */
.site-header a[href*="/mitt-konto/"],
.site-header a[href*="/varukorg/"],
.header a[href*="/mitt-konto/"],
.header a[href*="/varukorg/"],
.sticky-header a[href*="/mitt-konto/"],
.sticky-header a[href*="/varukorg/"],
.offcanvas a[href*="/mitt-konto/"],
.offcanvas a[href*="/varukorg/"] {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  line-height: 1;
}

/* Nolla textstorlek även på inre noder (teman lägger ofta text i span/strong) */
.site-header a[href*="/mitt-konto/"], .site-header a[href*="/varukorg/"],
.site-header a[href*="/mitt-konto/"] span, .site-header a[href*="/varukorg/"] span,
.site-header a[href*="/mitt-konto/"] strong, .site-header a[href*="/varukorg/"] strong,
.header a[href*="/mitt-konto/"], .header a[href*="/varukorg/"],
.header a[href*="/mitt-konto/"] span, .header a[href*="/varukorg/"] span,
.sticky-header a[href*="/mitt-konto/"] span, .sticky-header a[href*="/varukorg/"] span,
.offcanvas a[href*="/mitt-konto/"] span, .offcanvas a[href*="/varukorg/"] span {
  font-size: 0 !important;
  letter-spacing: 0 !important;
  /* Fallback om texten inte döljs av font-size */
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}

/* Förstora ikoner (hantera i, svg, och pseudo-ikoner) */
.site-header a[href*="/mitt-konto/"] i,
.site-header a[href*="/mitt-konto/"] svg,
.site-header a[href*="/mitt-konto/"]::before,
.site-header a[href*="/varukorg/"] i,
.site-header a[href*="/varukorg/"] svg,
.site-header a[href*="/varukorg/"]::before,
.header a[href*="/mitt-konto/"] i,
.header a[href*="/mitt-konto/"] svg,
.header a[href*="/mitt-konto/"]::before,
.header a[href*="/varukorg/"] i,
.header a[href*="/varukorg/"] svg,
.header a[href*="/varukorg/"]::before {
  font-size: 24px !important;  /* justera t.ex. 32–36px vid behov */
  width: 24px !important;
  height: 24px !important;
  line-height: 1 !important;
}

/* Ge lite större klickyta */
.site-header a[href*="/mitt-konto/"],
.site-header a[href*="/varukorg/"],
.header a[href*="/mitt-konto/"],
.header a[href*="/varukorg/"] {
  padding: .25rem .35rem;
}


.xoo-wsc-footer, .xoo-wsc-footer a, .xoo-wsc-footer .amount {font-size: 16px;}



/* ——— MOBIL TOPBAR-LAYOUT ——— */
@media (max-width: 1024px) {
  /* Dölj desktop, visa mobil */
  .header-desktop { display: none; }
  .header-mobile  { display: block; }

  /* Topbar som 3 kolumner: hamburgare | logga | ikoner */
  .header-mobile .mobile-topbar {
    display: grid;
    grid-template-columns: 44px 1fr 80px;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
  }

  /* Centrera loggan snyggt */
  .header-mobile .mobile-logo { display: flex; justify-content: center; }
  .header-mobile .mobile-logo img { max-height: 34px; width: auto; }

  /* Ikoner högerställda */
  .header-mobile .mobile-icons {
    display: flex; justify-content: flex-end; align-items: center; gap: 12px;
  }
  .header-mobile .header-icon .icon svg { width: 22px; height: 22px; display: block; }

  /* Sök under topbar (använder redan din header-search styling) */
  .header-mobile .mobile-search { padding: 0 16px 8px; }
  .header-mobile .mobile-search form { width: 100%; }
  .header-mobile .mobile-search .is-search-input { width: 100% !important; }

  /* — Mega Menu: flytta bara TOGGLE till vänster — */
  /* Wrappers kan variera, men dessa täcker standard-ID/klass från pluginet */
  [id^="mega-menu-wrap"] .mega-menu-toggle { 
    grid-column: 1; 
    order: -1; 
    justify-self: start; 
  }
  /* Gör själva knappen kompakt och utan extra label i mobil */
  [id^="mega-menu-wrap"] .mega-menu-toggle .mega-toggle-blocks { display: none; } /* döljer ev. textblock */
  [id^="mega-menu-wrap"] .mega-menu-toggle .mega-toggle-animated { 
    width: 44px; height: 44px; 
    display: inline-flex; align-items: center; justify-content: center; 
  }

  /* Se till att Mega Menu-listan hamnar i sin offcanvas/dropdown som vanligt.
     Vi rör inte öppna/stäng-logik – bara placering av togglen. */
  
  /* Döljer ev. extra "meny" som skrivs ut i mobil-topbar: låt endast TOGGLE synas där */
  .header-mobile .mobile-topbar .menu-header.menu-mobile { 
    display: contents; /* behåll wrappern för att togglen ska finnas i DOM, men ta bort UL layout */
  }
  .header-mobile .mobile-topbar .menu-header.menu-mobile > li { display: none; }


}

/* — Gör sökfältet vackert även i mobil — */
@media (max-width: 1024px) {
  #master-header .is-search-form .is-search-input {
    width: 100% !important;
    max-width: 100%;
  }
}

/* Ikonlänkar (återanvänder dina “dölj label”-regler) */
.header-mobile .mobile-icons a { display: inline-flex; align-items: center; gap: .25rem; }

/* === MOBILHEADER VID ≤1280px === */
@media (max-width: 1280px) {
  /* Visa mobil, dölj desktop */
  .header-desktop { display: none; }
  .header-mobile  { display: block; }

  /* Topbar-layout: hamburgare | logga | ikoner */
  .header-mobile .mobile-topbar {
    display: grid;
    grid-template-columns: 55px 1fr 60px;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--white);          /* vit topbar så allt syns även om menyn är mörk */
    color: var(--off-black);
    z-index: 1001;                      /* ovanför offcanvas */
    position: relative;
  }

  /* Logga */
  .header-mobile .mobile-logo { display: flex; justify-content: center; }
  .header-mobile .mobile-logo img { max-height: 34px; width: auto; }

  /* Ikoner till höger */
  .header-mobile .mobile-icons {
    display: flex; justify-content: flex-end; align-items: center; gap: 12px;
    color: var(--off-black);            /* synlig på vit topbar */
  }
  .header-mobile .mobile-icons a,
  .header-mobile .mobile-icons .icon,
  .header-mobile .mobile-icons svg,
  .header-mobile .mobile-icons path {
    color: #0140ef !important; /* dina SVG:er använder currentColor */
    fill: #0140ef !important;      /* säkerställ att paths tar färgen */
  }
  .header-mobile .header-icon .icon svg { width: 22px; height: 22px; display: block; }

  /* Sökfältet under topbar */
  .header-mobile .mobile-search { padding: 0 16px 8px; background: var(--white); }
  .header-mobile .mobile-search form { width: 100%; }
  .header-mobile .mobile-search .is-search-input { width: 100% !important; }

  /* — Mega Menu: visa BARA togglen i topbaren — */
  /* Låt Mega Menu rendera sin toggle, men göm UL-posterna i topbaren */
  .header-mobile .mobile-topbar .menu-header.menu-mobile { display: contents; }
  .header-mobile .mobile-topbar .menu-header.menu-mobile > li { display: none; }

  /* Placera togglen i vänster kolumn och gör den tydlig */
  [id^="mega-menu-wrap"] .mega-menu-toggle {
    grid-column: 1;
    order: -1;
    justify-self: start;
  }
  [id^="mega-menu-wrap"] .mega-menu-toggle .mega-toggle-animated {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
  }

	/* När offcanvas/droppmenyn från Mega Menu blir mörk:
     tvinga IKONERNA att bli ljusa om de ligger ovanpå en mörk bakgrund.
     (täck vanliga mörka wrappers från Max Mega Menu) */
  .mega-menu,
  .mega-menu .mega-sub-menu,
  .mega-menu .mega-menu-wrap,
  .mega-menu .mega-off-canvas,
  .mega-menu-toggle.mega-toggle-activated ~ .mega-menu {
    background-color: #000; /* eller behåll pluginets bakgrund – detta är bara ett exempel */
  }
  .mega-menu,
  .mega-menu .mega-sub-menu,
  .mega-menu .mega-off-canvas {
    color: var(--off-white);
  }
  /* Gör även ikonlänkar ljusa när de visas över mörk meny */
  .mega-menu .header-icon,
  .mega-menu .header-icon .icon,
  .mega-menu .header-icon svg,
  .mega-menu .header-icon path {
    color: var(--off-white) !important;
    fill: currentColor !important;
    stroke: currentColor !important;
  }
	#master-header .row {
    padding: 0 1rem;

}
#mega-menu-wrap-menu1 .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner, #mega-menu-wrap-menu1 .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::before, #mega-menu-wrap-menu1 .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::after {
		background-color: #0140ef;
	}
}

/* Extra: på herosidor där du tidigare tvingade mörka linjer –
   säkerställ kontrast mot mörk bakgrund om plugin/theme växlar färg */
.page-template-hero-page header:not(.sticky) .row .menu:not(.active)
  .mega-menu-toggle .mega-toggle-animated span {
  background-color: var(--off-white) !important; /* vita streck på mörk hero */
}

@media (max-width: 350px) {
	.header-mobile .mobile-topbar {
		grid-template-columns: 45px 1fr 45px;
	}
	.header-mobile .mobile-icons {
		flex-direction: column;
	}
}


@media (max-width: 770px) {
.montinix-cart-form .cart-summary {width: 100%;}
.montinix-cart-form {display: flex; flex-direction: column; gap: 24px;}
	.montinix-cart-form .cart-items-header {display:none;}
}

.xoo-wsc-markup .xoo-wsc-product del {font-weight: normal;}
.xoo-wsc-markup .xoo-wsc-pprice ins {text-decoration: none;}
.xoo-wsc-markup .xoo-wsc-pprice .woocommerce-Price-amount {font-weight: bold;}


@media (min-width: 1280px) {
	.mega-menu-wrap #mega-menu-menu1 .menu-item-type-woosw {display: none!important;}
}


#top-header .tick-items {
  display: flex;
  align-items: center;
  gap: 12px;          /* mellanrum mellan items */
  flex-wrap: wrap;    /* om det behövs */
}


#top-header .tick-items .logo-item.logo-fist {margin-left: auto;}
#top-header .tick-items .logo-item.logo-fist img {height: 30px;}

#top-header .tick-items .logo-item {
  display: inline-flex;
  align-items: center;
}

#top-header .tick-items .logo-item img {
  height: 20px;       /* gör dem lika stora */
  width: auto;        /* behåll proportioner */
  display: block;
}

@media (max-width: 660px) {
  #top-header .tick-items .logo-item {
    display: none;    /* göm loggorna <= 660px */
  }
}




.header-icon--cart {
    position: relative;
}

.header-icon--cart .cart-contents-count:not(:empty) {
    position: absolute;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    width: 1.2em;
    height: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8em;
    top: -.8em;
    right: -.5em;
    padding: .2em;
    line-height: 1.2;
}


.berocket_element_above_products_is_hide {
    display: flex;
    flex-wrap: wrap;
}

.berocket_element_above_products_is_hide::after {
    display: none !important;
}

.berocket_element_above_products_is_hide .berocket_inline_filters {
    padding: 0 !important;
}


.bapf_head.bapf_colaps_togl {
    cursor: pointer;
}

.bapf_head.bapf_colaps_togl,
.bapf_head.bapf_colaps_togl + .bapf_body {
    padding: 1em;
}

.bapf_ccolaps .bapf_head.bapf_colaps_togl {
    box-shadow: 0px 0px 10px rgba(14, 58, 61, 0.1);
    background: var(--white);
}

.bapf_ocolaps .bapf_head.bapf_colaps_togl:hover {
    background: var(--gray);
}

.bapf_head.bapf_colaps_togl + .bapf_body {
    box-shadow: rgba(14, 58, 61, 0.1) 0px 5px 10px;
    background: var(--white);
    position: absolute;
    min-width: 200px;
    max-height: 400px;
    overflow: auto;
    z-index: 999;
}

.bapf_head.bapf_colaps_togl .bapf_hascolarr {
    font-size: 1em;
    font-weight: 600;
    margin: 0
}

.bapf_slidr_all .bapf_from,
.bapf_slidr_all .bapf_to {
    display: inline-flex;
    gap: 3px;
}

.bapf_slidr_all .bapf_to {
    justify-content: flex-end;
}

.bapf_slidr_all .bapf_from .bapf_tbprice,
.bapf_slidr_all .bapf_to .bapf_tbprice {
    order: 1
}




.bapf_sfilter.bapf_ckbox .bapf_body ul li {
    display: flex;
    gap: .4em;
    align-items: center;
    border-bottom: .1em solid var(--off-white);
}

.bapf_sfilter.bapf_ckbox input[type=checkbox] {
    appearance: none;
    width: 2em;
    height: 2em;
    border: .1em solid var(--gray);
    position: relative;
}

.bapf_sfilter.bapf_ckbox input[type=checkbox]:hover,
.bapf_sfilter.bapf_ckbox input[type=checkbox]:checked {
    background: var(--off-black);
}

.bapf_sfilter.bapf_ckbox label {
    padding: 1em 0;
}

.bapf_sfilter.bapf_ckbox input[type=checkbox]:checked::after {
    content: '';
    border: 0 solid var(--white);
    border-width: 0 .2em .2em 0;
    position: absolute;
    top: .4em;
    bottom: .5em;
    left: .65em;
    right: .65em;
    transform: rotate(30deg);
}


.m-number-input button.up,
.m-number-input button.down {letter-spacing: 0;}


.bapf_slidr .irs--big .irs-bar {
    box-shadow: none;
}

.bapf_slidr .irs--big .irs-line {
    background: var(--gray);
}

.bapf_slidr .irs--big .irs-bar,
.bapf_slidr .irs--big .irs-line {
    border: none;
}

.bapf_slidr .irs--big .irs-bar,
.bapf_slidr .irs--big .irs-from, 
.bapf_slidr .irs--big .irs-single, 
.bapf_slidr .irs--big .irs-to {
    background: var(--off-black);
    font-size: 1.1em;
}


.mega-menu-horizontal li.menu-item.woosw-menu-item.menu-item-type-woosw a {
    border-radius: 0;
    border: 0;
    margin: 0;
    line-height: 40px;
    height: 40px;
    padding: 0 10px;
    background: transparent;
    text-align: left;
    color: #121b29;
    font-size: 16px;
    font-weight: 300;
}



ul.category-terms {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 1rem 1.5rem;
    background: var(--white);
    gap: 1.5rem;
    border-radius: .4em;
    flex-wrap: wrap;
}

ul.category-terms li a {
    font-weight: 400;
}

ul.category-terms li.active a {
    display: flex;
    flex-direction: column;
    gap: .2em;
    font-weight: 500;
}

ul.category-terms li.active a::after {
    content: '';
    border-bottom: .1em solid;
}



#master-header .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
    top: 10px;
    left: 18px;
}



.woocommerce .product .product-main .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.woocommerce .product .product-main .woocommerce-product-gallery:not(:has(.flex-viewport)),
.woocommerce .product .product-main .woocommerce-product-gallery:has(.flex-viewport) .woocommerce-product-gallery__image {
    background: var(--white);
    border-radius: 1rem;
}


.dgwt-wcas-pd-addtc-form .quantity {
    display: none;
}


@media (max-width: 640px) {

  /* Gör tabellen block så vi kan styra layouten själva */
  .woosw-items,
  .woosw-items tbody { display: block; }

	
.woosw-list table.woosw-items tr:nth-child(2n) td {background-color: #ffffff;}

  .woosw-items tr.woosw-item {
    display: block;
    /*grid-template-columns: 24px 72px minmax(0,1fr) 132px;
    grid-template-rows: auto auto auto;
    grid-template-areas: 
      "remove image title  title"   
      "remove image price  actions"
      "remove image meta   actions";*/
    gap: 12px;
    padding: 14px;
    background: #fff;
    border-radius: 14px;
  }

  .woosw-items td { display:block; padding:0; border:0; }

  /* Placering av huvudceller */
  .woosw-item--remove { grid-area: remove; align-self: start; }
  .woosw-item--image  { grid-area: image; }
  .woosw-item--actions{
    grid-area: actions;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
  }

  /* Låt info-td:s barn placeras direkt i grid:en */
  .woosw-item--info { display: contents; }

  /* --- TITEL (rad 1, över 2 kolumner) --- */
  .woosw-item--name { grid-area: title; min-width: 0; }
  .woosw-item--name a{
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;         /* visa upp till 3 rader */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* --- PRIS (rad 2, tydlig hierarki) --- */
  .woosw-item--price{
    grid-area: price;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    font-size: 16px;
  }
  .woosw-item--price del{
    opacity: .6;
    font-size: 13px;
  }
  .woosw-item--price ins{
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    color: #D11;                    /* röd rea, justera efter tema */
  }

  /* --- META (rad 3) --- */
  .woosw-item--time{
    grid-area: meta;
    font-size: 12px;
    opacity: .75;
  }

  /* Bild */
  .woosw-item--image img{
    width: 72px; height: 72px; object-fit: cover; border-radius: 8px;
  }

  /* Lager + knapp i actions-kolumnen */
  .woosw-item--stock p{ margin:0; text-align: right; }
  .woosw-item--atc a.m-button{
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }

  /* Finlir på X-knappen */
  .woosw-item--remove span{ display:inline-block; transform: scale(.9); opacity:.7; }
}

