/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
.elementor-icon-wrapper,
.hfe-nav-menu-icon {
    display: flex;
}

a {
    text-decoration: none !important;
}

.hfe-search-form__input {
    box-shadow: none !important;
    padding-right: 30px !important;
}

.hfe-nav-menu .menu-item-has-children .sub-menu {
    z-index: 1;
}

.header-input .elementor-element-f50df8f {
    max-height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-input .fa-search {
    padding: 0 10px !important;
}

.footer-terms ul {
    gap: 10px;
}

.footer-terms ul li {
    padding: 5px 15px !important;
    background: #0084D61A;
    border-radius: 5px;
    transition: all 0.35s;
}

.footer-terms ul li:hover {
    background-color: #0084D6;
}

.ast-container {
    padding: 0 !important;
    max-width: 100% !important;
}

.cat-cards .elementor-widget-image-box {
    background: #FFFFFF;
    border: 1px solid #0084D61A;
    border-radius: 10px;
    box-shadow: 0px 0px 30px 0px #181F250D;
    cursor: pointer;
    transition: all 0.35s;
}

.cat-cards .elementor-widget-image-box:hover,
.expert-guides > .elementor-element:hover {
    box-shadow: 0px 0px 30px 0px #181f2523 !important;
}

.cat-cards .elementor-image-box-content {
    padding: 0 14px;
}
.cat-cards .elementor-image-box-title{
    position: relative;
}

.cat-cards .elementor-image-box-title::after {
    content: "";
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 11 11' fill='none'%3E%3Cpath d='M8.35066 2.84518L1.17851 10.0173L0 8.83883L7.17216 1.66667H0.850683V0H10.0173V9.16667H8.35066V2.84518Z' fill='%230084D6'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.cat-cards .elementor-image-box-img {
    overflow: hidden;
    border-radius: 5px;
}

.footer-nesletter {
    background-color: transparent;
    background-image: linear-gradient(180deg, #fff 50%, #181F25 50%);
}

.page-id-9 .footer-nesletter {
    background-image: linear-gradient(180deg, #F5F7F9 50%, #181F25 50%);
}

.cat-megamenu ul.products li.product.product-category a img {
    object-position: right !important;
}

/* ============================================================
   MM Product Categories Grid
   HOW TO ADD: Paste this into WPCode > CSS Snippet
   OR add via Appearance > Customize > Additional CSS
   ============================================================ */

/* Google Font - Figtree */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@500;700&display=swap');

/* ── Grid Container ── */
.mm-product-categories-grid {
    display: grid;
    gap: 24px;
    /* 24px gap between all items */
    grid-template-columns: repeat(4, 1fr);
    /* Default: 4 columns */
    width: 100%;
    box-sizing: border-box;
}

/* ── Column Variants (controllable via shortcode attribute) ── */
.mm-product-categories-grid.mm-cat-grid--cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.mm-product-categories-grid.mm-cat-grid--cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.mm-product-categories-grid.mm-cat-grid--cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.mm-product-categories-grid.mm-cat-grid--cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

.mm-product-categories-grid.mm-cat-grid--cols-6 {
    grid-template-columns: repeat(6, 1fr);
}

/* ── Each Category Card (it's a link) ── */
.mm-cat-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mm-cat-item:hover {
    transform: translateY(-3px);
}

/* ── Image Wrapper ── */
.mm-cat-image-wrap {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
    /* Image radius: 10px */
    background-color: #f4f6f8;
    aspect-ratio: 1/1;
}

.mm-cat-image {
    object-fit: cover;
    object-position: 90%;
    width: 100%;
    height: 100% !important;
    border-radius: 10px !important;
    /* Also on img for safety */
    display: block;
    transition: transform 0.3s ease;
}

.mm-cat-item:hover .mm-cat-image {
    transform: scale(1.04);
    /* Subtle zoom on hover */
}

/* ── Text Info Block ── */
.mm-cat-info {
    margin: 14px 10px;
    /* 14px gap from image to text */
    display: flex;
    flex-direction: column;
    gap: 6px;
    /* 6px gap between name and count */
}

/* ── Category Name (Main Heading) ── */
.mm-cat-info .mm-cat-name {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    /* Bold */
    font-size: 19px;
    line-height: 20px;
    color: #181F25;
    /* Main text color */
    margin: 0;
    padding: 0;
}

/* ── Product Count ── */
.mm-cat-count {
    font-family: 'Figtree', sans-serif;
    font-weight: 500;
    /* Medium */
    font-size: 14px;
    line-height: 14px;
    color: #0084D6;
    /* Count text color */
    display: block;
}

/* ── Empty State ── */
.mm-no-categories {
    font-family: 'Figtree', sans-serif;
    font-size: 14px;
    color: #181F25;
    text-align: center;
    padding: 24px;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   Handles any number of categories cleanly
   ============================================================ */

/* Tablet: 1024px and below → 3 columns */
@media (max-width: 1024px) {

    .mm-product-categories-grid,
    .mm-product-categories-grid.mm-cat-grid--cols-4,
    .mm-product-categories-grid.mm-cat-grid--cols-5,
    .mm-product-categories-grid.mm-cat-grid--cols-6 {
        grid-template-columns: repeat(3, 1fr);
    }
    .wpf_layout_horizontal .wpf_item_name,
    .wpf_layout_horizontal .wpf_search_button {
        font-size: 12px !important;
    }
}

/* Small Tablet: 768px and below → 2 columns */
@media (max-width: 768px) {

    .mm-product-categories-grid,
    .mm-product-categories-grid.mm-cat-grid--cols-3,
    .mm-product-categories-grid.mm-cat-grid--cols-4,
    .mm-product-categories-grid.mm-cat-grid--cols-5,
    .mm-product-categories-grid.mm-cat-grid--cols-6 {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .mm-cat-info {
        margin: 10px 0px 0px;
    }
    .mm-cat-info .mm-cat-name {
        font-size: 16px;
        line-height: 16px;
    }
    .mm-cat-count {
        font-size: 13px;
        line-height: 13px;
    }
    .cat-cards .elementor-image-box-content {
        padding: 0;
    }
    .cat-cards .elementor-image-box-title::after {
        width: 14px;
        height: 14px;
    }
}

/* Mobile: 480px and below → 2 columns (still looks good) */
@media (max-width: 480px) {

    .mm-product-categories-grid,
    .mm-product-categories-grid.mm-cat-grid--cols-3,
    .mm-product-categories-grid.mm-cat-grid--cols-4,
    .mm-product-categories-grid.mm-cat-grid--cols-5,
    .mm-product-categories-grid.mm-cat-grid--cols-6 {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

      .mm-cat-info .mm-cat-name {
        font-size: 14px;
        letter-spacing: -0.5px;
    }

    .mm-cat-count {
        font-size: 12px;
    }

    .mm-cat-info {
        margin-top: 10px;
        gap: 2px;
    }
}
.mm-cat-item,
.mm-cat-item * {
    text-decoration: none !important;
}

/*single product styling[product details page]*/
.woocommerce-js div.product div.images.woocommerce-product-gallery {
    display: flex;
    flex-direction: row-reverse;
    gap: 20px;
    margin-bottom: 0;
}

.woocommerce-js div.product div.images.woocommerce-product-gallery .flex-viewport {
    /* max-width: 630px; */
    min-height: 100%;
    max-width: calc(100% - 100px);
    width: calc(100% - 100px);
    aspect-ratio: 1 / 1;
    height: auto !important;
}

.woocommerce-js div.product div.images img {
    max-width: 630px;
    max-height: 630px;
    border-radius: 10px;
}

.woocommerce-js div.product div.images .flex-control-thumbs {
    max-width: 80px;
    gap: 10px;
}

.woocommerce-js div.product div.images .flex-control-thumbs li {
    margin: 0;
    width: 100%;
}

.woocommerce-js div.product div.images .flex-control-thumbs li img {
    opacity: 1;
    max-width: 80px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.woocommerce-js div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce-js div.product div.images .flex-control-thumbs li img:hover {
    border: 2px solid #0084D6;
}

.woocommerce-js div.product .product_title,
.woocommerce-js div.product .elementor-kit-6 p {
    margin-bottom: 0;
}

.woocommerce-js div.product form.cart .variations label {
    font-weight: 600;
    font-size: 15px;
    color: #67737E;
    text-transform: capitalize;
    margin: 0;
}

.woocommerce-js div.product form.cart .variations th {
    margin-bottom: 0;
}

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

:is(.elementor-widget-wc-add-to-cart,
    .elementor-widget-woocommerce-product-add-to-cart,
    .woocommerce div.product .elementor-widget-wc-add-to-cart,
    .woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart) .quantity .qty {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}


.woocommerce-js div.product form.cart .variations select {
    border-radius: 6px;
    padding: 0 10px;
    min-height: 45px;
    border: 1px solid #181F2529;
    font-size: 14px;
    color: var(--e-global-color-text);
    font-weight: 600;
    line-height: 16px;
}

a:hover,
a:focus {
    color: #0084D6;
}

.woocommerce-js div.product .e-atc-qty-button-holder .single_add_to_cart_button,
.single_add_to_cart_button {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 28px !important;
    fill: var(--e-global-color-4ceb74e) !important;
    color: var(--e-global-color-4ceb74e) !important;
    background-color: var(--e-global-color-ddf6cad);
    border-radius: 6px !important;
    width: 100%;
    padding: 12px 20px !important;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.elementor-element-761ea64 a,
.elementor-element-d34a710 a {
    background-image: none !important;
}

.mm-qty-wrap button {
    flex-basis: unset;
}

.mm-qty-wrap .mm-qty-plus {
    margin-top: 0;
}

.woocommerce-js div.product .e-atc-qty-button-holder .single_add_to_cart_button:hover {
    opacity: 0.9;
}

/* ── e-atc holder: stack qty + cart vertically ── */
.cus-product-detail .e-atc-qty-button-holder {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

/* ── Variation price display (shown when size is selected) ── */
.cus-product-detail .woocommerce-variation.single_variation {
    margin-bottom: 4px;
}

.cus-product-detail .woocommerce-variation .woocommerce-Price-amount.amount {
    font-size: 24px;
    font-weight: 700;
    color: #181F25;
}

/* ── "Clear" reset link ── */
.cus-product-detail .reset_variations {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: #67737E;
    text-decoration: underline;
    margin-top: 4px;
}

.cus-product-detail .reset_variations:hover {
    color: #0084D6;
}

/* Keep the "Clear" link visible at all times instead of letting
   WooCommerce's own variation-form JS toggle it with
   visibility:hidden (which still reserved its layout space and
   left an empty gap when no variation was selected). */
.cus-product-detail .reset_variations {
    visibility: visible !important;
}

/* ================================================================
   QUANTITY +/- WRAPPER
   Applied after custom.js adds .mm-qty-wrap to the .quantity div
   ================================================================ */

.cus-product-detail .quantity.mm-qty-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #181F2529;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    width: fit-content;
    height: 48px;
    margin: 0 !important;
}

select#size {
    color: #181F25;
    font-weight: 600;
    font-size: 14px;
}

/* +/- buttons */
.cus-product-detail .mm-qty-btn {
    background: transparent;
    border: none;
    width: 48px;
    height: 48px;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    color: #181F25;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
    padding: 0;
    user-select: none;
    flex-basis: unset !important;
    margin: 0 !important;
}

.cus-product-detail .mm-qty-btn .mm-qty-plus {
    margin-top: 0 !important;
}

.cus-product-detail .mm-qty-btn:hover {
    background: #0084D610;
    color: #0084D6;
}

.cus-product-detail .mm-qty-btn:active {
    background: #0084D620;
}

/* Number input inside the +/- wrap */
.cus-product-detail .quantity.mm-qty-wrap input.qty {
    width: 56px !important;
    height: 48px;
    border: none !important;
    border-left: 1px solid #181F2529 !important;
    border-right: 1px solid #181F2529 !important;
    border-radius: 0 !important;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #181F25;
    background: transparent;
    padding: 0 !important;
    box-shadow: none !important;
    -moz-appearance: textfield;
    outline: none;
}

/* Hide native spin arrows (Chrome/Safari) */
.cus-product-detail .quantity.mm-qty-wrap input.qty::-webkit-outer-spin-button,
.cus-product-detail .quantity.mm-qty-wrap input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ================================================================
   QTY + QUOTE ROW  (side by side — matches Figma)
   JS creates: .mm-qty-quote-row > [ .quantity.mm-qty-wrap | .elementor-element-d34a710 ]
   ================================================================ */

.cus-product-detail .mm-qty-quote-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

/* Qty wrap stays at its natural (fit-content) width */
.cus-product-detail .mm-qty-quote-row .quantity.mm-qty-wrap {
    flex-shrink: 0;
}

/* Quote button wrapper grows to fill remaining space */
.cus-product-detail .mm-qty-quote-row .elementor-element-d34a710 {
    flex: 1;
    min-width: 0;
    margin-top: 0 !important;
}

/* Make the anchor/button itself fill the full width */
.cus-product-detail .mm-qty-quote-row .elementor-element-d34a710 .elementor-button,
.cus-product-detail .mm-qty-quote-row .elementor-element-d34a710 .elementor-widget-container {
    width: 100%;
    display: block;
}

.product-inq-form .elementor-field-group .elementor-field-textual {
    border: 1px solid #69727d !important;
    outline: none !important;
    box-shadow: none !important;
}

.product-inq-form .elementor-field-group .elementor-field-textual:focus,
.product-inq-form .elementor-field-group .elementor-field-textual:focus-visible {
    border: 1px solid #0084D6 !important;
    outline: none !important;
}


.ast-article-single figure,
.ast-article-single img:not(figure img) {
    box-shadow: none !important;
}

/* ── Hide the WooCommerce variation price that shows below the select ──
   Prices are now shown inline inside each <option> via custom.js.
   We hide only the price child, not the full single_variation block
   (which also holds stock status etc.)                                  */
/* === Product price block (variable product) === */
.cus-product-detail .single_variation_wrap {
    margin-top: 8px;
}

.cus-product-detail .woocommerce-variation-price,
.mm-simple-price {
    margin: 18px 0 14px;
    padding: 12px 18px;
    background: #f5f9fc;
    /* soft brand-tinted surface */
    border: 1px solid #0084d6;
    border-left: 4px solid #0084d6;
    /* matches your icon blue */
    border-radius: 6px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

/* Optional label before the number */
.cus-product-detail .woocommerce-variation-price::before,
.mm-simple-price::before {
    content: "Pris";
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #67737e;
    line-height: 1;
    margin-right: 4px;
}

/* Main price number */
.cus-product-detail .woocommerce-variation-price .price {
    margin: 0px !important;
}

.cus-product-detail .woocommerce-variation-price .price,
.cus-product-detail .woocommerce-variation-price .woocommerce-Price-amount,
.mm-simple-price .price,
.mm-simple-price .woocommerce-Price-amount {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    color: #181f25;
    font-family: inherit;
}

.cus-product-detail .woocommerce-variation-price .woocommerce-Price-currencySymbol,
.mm-simple-price .woocommerce-Price-currencySymbol {
    font-size: 20px;
    font-weight: 600;
    color: #181f25;
    margin-right: 4px;
    vertical-align: baseline;
}

/* "eks. mva" helper line (shop prices are ex. VAT) (optional – add via filter or hardcoded after price) */
.cus-product-detail .woocommerce-variation-price::after,
.mm-simple-price::after {
    content: "eks. mva.";
    font-size: 12px;
    color: #67737e;
    margin-left: auto;
    line-height: 1;
    align-self: center;
}

/* === Sale price handling === */
.cus-product-detail .woocommerce-variation-price del,
.cus-product-detail .woocommerce-variation-price del .woocommerce-Price-amount {
    color: #9aa4ad !important;
    font-size: 16px;
    font-weight: 500;
    text-decoration: line-through;
    opacity: 1;
    order: 2;
}

.cus-product-detail .woocommerce-variation-price ins,
.cus-product-detail .woocommerce-variation-price ins .woocommerce-Price-amount {
    background: transparent;
    text-decoration: none;
    color: #e63946;
    /* sale red – swap to brand if you prefer */
    font-size: 28px;
    font-weight: 700;
    order: 1;
}

/* Hide the block until a variation is selected (Woo handles display:none, this is safety) */
.cus-product-detail .single_variation_wrap > .woocommerce-variation[style*="display: none"] {
    display: none !important;
}

/* === Mobile === */
@media (max-width: 480px) {
    .cus-product-detail .woocommerce-variation-price {
        padding: 12px 14px;
        gap: 8px;
    }

    .cus-product-detail .woocommerce-variation-price .price,
    .cus-product-detail .woocommerce-variation-price .woocommerce-Price-amount,
    .cus-product-detail .woocommerce-variation-price ins .woocommerce-Price-amount {
        font-size: 24px;
    }
}


/* ================================================================
   ACCESSORIES POPUP SHORTCODE
   ================================================================ */
.mm-accessories-wrap {
    width: 100%;
    font-family: inherit;
}

.mm-acc-header-text {
    font-size: 13px;
    color: #67737E;
    margin-bottom: 12px;
}

.mm-acc-list {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mm-acc-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    border: 1px solid #181F2529;
    border-radius: 6px;
    background: #fff;
}

.mm-acc-img-wrap {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    border: 1px solid #181F2529;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mm-acc-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.mm-acc-content-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mm-acc-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.mm-acc-title-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mm-acc-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    color: #181F25;
}

.mm-acc-price {
    font-size: 13px;
    font-weight: 600;
    color: #0084D6;
}

.mm-acc-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
}

.mm-acc-bottom-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 5px;
}

/* ───────────────────────────────────────
   QTY SELECTOR (Joined block like Figma)
   ─────────────────────────────────────── */
.mm-acc-bottom-row .mm-acc-qty-wrap {
    margin: 0 !important;
    height: 36px;
    display: flex;
    align-items: center;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    overflow: hidden;
    /* Keeps child backgrounds inside radius */
    background: #fff;
}

.mm-acc-bottom-row .mm-qty-btn {
    width: 32px;
    height: 36px;
    font-size: 18px;
    font-weight: 500;
    background-color: #181F2529;
    /* Light grey background */
    color: #181F25;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.mm-acc-bottom-row .mm-qty-btn:hover {
    background-color: #cbd5e1;
}

.mm-acc-bottom-row input.mm-acc-qty {
    width: 40px !important;
    height: 36px;
    font-size: 13px;
    font-weight: 600;
    color: #181F25;
    border: none;
    text-align: center;
    background: #fff;
    padding: 0;
    box-shadow: none !important;
    outline: none !important;
}

/* Hide arrows in number input */
.mm-acc-bottom-row input.mm-acc-qty::-webkit-outer-spin-button,
.mm-acc-bottom-row input.mm-acc-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.mm-acc-bottom-row input.mm-acc-qty[type=number] {
    -moz-appearance: textfield;
}

/* ───────────────────────────────────────
   INDIVIDUAL ADD BUTTON (Orange)
   ─────────────────────────────────────── */

.e-con-inner .elementor-shortcode .mm-acc-list .mm-acc-content-wrap .mm-acc-bottom-row .mm-acc-single-add {
    height: 36px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    background-image: linear-gradient(50deg, #FFAB1A 10%, #FF7700 100%) !important;
    color: #fff;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.e-con-inner .elementor-shortcode .mm-acc-list .mm-acc-content-wrap .mm-acc-bottom-row .mm-acc-single-add:hover {
    background: linear-gradient(50deg, #FF7700 10%, #FFAB1A 100%);
}

/* ───────────────────────────────────────
   MASTER ACTION (Blue button at bottom)
   ─────────────────────────────────────── */
.mm-acc-master-action {
    border-top: 1px solid #E2E8F0;
    padding-top: 20px;
    margin-top: 10px;
}

.mm-acc-add-selected-btn.mm-acc-add-selected-btn {
    width: 100%;
    background-color: #0084D6;
    background-image: none;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* Hover */
.mm-acc-add-selected-btn:hover {
    background-color: #006bb3;
}

/* Fix focus + active (THIS removes yellow) */
.mm-acc-add-selected-btn:focus,
.mm-acc-add-selected-btn:active {
    background-color: #0084D6 !important;
    color: #fff !important;
    outline: none;
    box-shadow: none;
}

.mm-acc-msg {
    margin: 16px 0;
    font-size: 18px;
    text-align: center;
    font-weight: 500;
}

.mm-acc-minus {
    border-radius: 6px 0 0 6px !important;
}

.mm-acc-plus {
    border-radius: 0 6px 6px 0 !important;
}

/* ================================================================
   DESIGN UPLOAD POPUP SHORTCODE
   ================================================================ */
.mm-upload-wrap {
    text-align: center;
    font-family: inherit;
    padding: 20px 20px 0 20px;
    background: #fff;
}

.mm-drop-zone {
    border: 1px dashed #0084D6;
    border-radius: 2px;
    padding: 30px 20px;
    position: relative;
    cursor: pointer;
    background: transparent;
    transition: all 0.2s ease;
    max-width: 380px;
    margin: 0 auto 20px;
}

.mm-drop-zone:hover,
.mm-drop-zone.dragover {
    background: #f0f8ff;
}

.mm-drop-zone-content svg {
    margin-bottom: 10px;
}

.mm-drop-zone-content p {
    font-size: 14px;
    color: #181F25;
    margin: 0;
    font-weight: 500;
}

.mm-browse-text {
    color: #0084D6;
    font-weight: 600;
    text-decoration: underline;
}

/* Invisible input overlay */
.mm-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.mm-upload-progress {
    margin: 15px auto;
    font-size: 16px;
    font-weight: 600;
    color: #FF8A00;
}

.mm-upload-success {
    margin: 15px auto;
    padding: 20px;
    background: #e6fcf5;
    border: 1px solid #a7f3d0;
    border-radius: 6px;
    text-align: center;
}

.mm-upload-success p {
    color: #059669;
    font-weight: 600;
    font-size: 16px;
    margin: 0;
}

/* ================================================================
   MEGA MENU CUSTOM STYLING (For Services)
   ================================================================ */
/* Two "Produkter" menu items, shown by breakpoint:
   • #menu-item-2177  = desktop mega menu (with images)  → hidden on tablet/mobile
   • #menu-item-45049 = native submenu (category names)  → hidden on desktop      */
@media (max-width: 1024px) {
    #menu-item-2177 {
        display: none !important;
    }
}

@media (min-width: 1025px) {
    #menu-item-45049 {
        display: none !important;
    }
}

/* ── Arrow beside Produkter (desktop item #menu-item-2177 only, no hover effect) ──
   Injected by custom.js since this item has no native submenu. */
#menu-item-2177 > a.hfe-menu-item .hfe-menu-toggle {
    display: inline-flex;
    align-items: center;
}

#menu-item-2177 > a.hfe-menu-item .hfe-menu-toggle .fa {
    display: none;
    /* empty glyph — we draw the chevron below */
}

#menu-item-2177 > a.hfe-menu-item .hfe-menu-toggle::after {
    content: "";
    display: inline-block;
    width: 0.45em;
    height: 0.45em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-0.12em) rotate(45deg);
}

/* ================================================================
   MEGA MENU CUSTOM STYLING (For Services)
   ================================================================ */
.cat-megamenu {
    position: fixed !important;
    left: 0;
    right: 0;
    /* Sits right under the header's actual current bottom edge — measured
       live by custom.js (--mm-header-bottom) since that edge moves: it's
       the full header height when at the top of the page, and just the
       nav bar's height once the header is stuck (top strip scrolled away,
       see the sticky header rule below). A hardcoded offset can't track
       both states, so this replaces what used to be a fixed transform. */
    top: var(--mm-header-bottom, 0px);
    height: fit-content !important;
    z-index: 998;
    /* Animation defaults */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
    pointer-events: none;
    overflow: hidden;
}

/* ================================================================
   STICKY HEADER
   position:sticky is applied on the OUTER <header> tag (the shared
   Elementor Theme Builder header wrapper), not on the inner
   .header-sticky containers (8f0909b desktop / c480af1 mobile).
   Reason: a sticky element can only stay "stuck" within the height
   of its own parent box. The inner containers' parent is just the
   <header> tag itself — barely taller than the header bar + top
   contact strip combined — so sticky on them alone runs out of room
   almost immediately and the whole header scrolls away. The outer
   <header> tag's parent is #page (full page height), so it has all
   the room it needs.
   top is a negative offset equal to the top contact strip's height
   (--mm-topbar-h, measured live by custom.js since its height can
   change per breakpoint/content) so that strip scrolls out of view
   first, then the header locks at the very top of the viewport.
   .header-sticky itself just marks the bar for the on-scroll shadow
   (.is-stuck, toggled by custom.js).
   ================================================================ */
header[data-elementor-type="header"] {
    position: sticky;
    top: calc(-1 * var(--mm-topbar-h, 0px));
    z-index: 999;
}

.header-sticky.is-stuck {
    box-shadow: 0 2px 12px rgba(24, 31, 37, 0.10);
}

.cat-megamenu.mm-mega-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Fix for Elementor grid inside absolute container */
.cat-megamenu .product-category {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-height: 230px;
}

.cat-megamenu .product-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.cat-megamenu .product-category a {
    width: 100%;
}

.cat-megamenu .woocommerce-loop-category__title {
    font-size: 14px;
    text-align: center;
    font-weight: 600;
    color: #181F25;
}

/* ─────────────────────────────────────────────────────────────
   DESIGN TEMPLATES FRONTEND GRID
   ───────────────────────────────────────────────────────────── */
.mm-design-templates-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.mm-template-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 280px;
}

.mm-template-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.mm-template-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 250px;
    background-color: #f7f7f7;
}

.mm-template-content {
    padding: 15px 15px 20px 15px;
}

.mm-template-title {
    font-size: 15px;
    margin: 0 0 5px 0;
    color: #111;
    font-weight: 600;
}

.mm-template-btn {
    display: inline-block;
    font-size: 14px;
    color: #FF7700;
    /* Orange color */
    text-transform: uppercase;
    text-decoration: underline !important;
    font-weight: 700;
    transition: color 0.2s ease;
}

.mm-template-btn:hover {
    color: #FF7700;
}

/* Keep checkbox appearance identical when checked - no blue fill */
.wpf_item input[type="checkbox"],
.wpf_item input[type="checkbox"]:checked,
.wpf_item input[type="checkbox"]:focus,
.wpf_item input[type="checkbox"]:hover,
.wpf_item input[type="checkbox"]:active {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    border: 1.5px solid #D0D5DD !important;
    border-radius: 4px !important;
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer !important;
    position: relative !important;
    transition: border-color .15s ease !important;
}

/* Subtle hover only on border */
.wpf_item input[type="checkbox"]:hover {
    border-color: #0084D6 !important;
}


/* Kill any theme/browser focus ring that adds blue fill */
.wpf_item input[type="checkbox"]:focus-visible {
    box-shadow: 0 0 0 2px rgba(0, 132, 214, 0.15) !important;
}

.wpf_search_button {
    background-color: var(--e-global-color-primary) !important;
    color: white !important;
    text-transform: none !important; /* "Filtrer" like the other labels (client audit MM-093) */
}

.wpf_search_button:hover,
.wpf_search_button:active {
    background-color: var(--e-global-color-primary) !important;
    color: white !important;
}

.wpf_form {
    margin-bottom: 0 !important;
}

.wpf_slider.ui-slider {
    margin: 10px 0 !important;
}

.wpf_item .ui-slider-range {
    background: #0084D6 !important;
}

.wpf_layout_horizontal .wpf_item_name {
    font-weight: 600 !important;
}

/* PRODUCT CARD — hover lift + blue border */
#archive-product-grid .e-loop-item.product {
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1),
        border-color .35s ease,
        box-shadow .35s ease !important;
}

#archive-product-grid .e-loop-item.product:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 18px 40px -12px rgba(0, 132, 214, .18),
        0 4px 12px -4px rgba(16, 24, 40, .08) !important;
}

/* TITLE — color shift on hover */
#archive-product-grid .e-loop-item.product .product_title {
    transition: color .25s ease !important;
}

#archive-product-grid .e-loop-item.product:hover .product_title {
    color: #0084D6 !important;
}

#archive-product-grid .elementor-kit-6 p {
    margin-bottom: 0 !important;
}

.elementor-823 .elementor-element.elementor-element-c45fb14 .input-text.qty {
    text-align: center;
}

/* Two columns on desktop only; on tablet/phone Elementor stacks them (fixed 19.11.2026, mobile dry run) */
@media (min-width: 1025px) {
    .elementor-widget-woocommerce-cart .e-cart__container {
        grid-template-columns: 69% auto !important;
    }
}

.elementor-widget-woocommerce-cart .woocommerce table.shop_table .product-remove a {
    display: flex;
    width: 20px;
}

.woocommerce-js table.shop_table .woocommerce-Price-amount,
.woocommerce-page table.shop_table .woocommerce-Price-amount {
    font-weight: 700;
}

.woocommerce-js table.shop_table .product-total .woocommerce-Price-amount {
    color: #181F25;
}

.woocommerce-js .woocommerce-additional-fields {
    padding: 0 !important;
}

.elementor-widget-woocommerce-checkout-page .e-coupon-anchor {
    display: block !important;
}

/* Two columns on desktop only; on tablet/phone Elementor stacks them (fixed 19.11.2026, mobile dry run) */
@media (min-width: 1025px) {
    .elementor-widget-woocommerce-checkout-page .e-checkout__container {
        grid-template-columns: 60% auto;
    }
}

.woocommerce-page.woocommerce-checkout .elementor-widget-woocommerce-checkout-page #customer_details.col2-set {
    margin-bottom: 0;
}

.woocommerce-billing-fields__field-wrapper span.woocommerce-input-wrapper,
#ehf_invoice_field .woocommerce-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.woocommerce-billing-fields__field-wrapper span.woocommerce-input-wrapper label,
#ehf_invoice_field .woocommerce-input-wrapper label {
    margin: 0 !important;
}

#firm_heading_field {
    margin: 0 !important;
}

/* ===== ORDER CONFIRMATION PAGE STYLING ===== */

/* MAIN CONTAINER */
.woocommerce-order {
    background: white !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 32px rgba(24, 31, 37, 0.12) !important;
    border: 1px solid #e0e6f0 !important;
}

/* ===== SUCCESS MESSAGE & HEADER ===== */
.woocommerce-notice--success {
    background: linear-gradient(135deg, #0084D6 0%, #0065A3 100%) !important;
    color: white !important;
    padding: 24px 40px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-align: center !important;
    letter-spacing: 0.3px !important;
}

/* ===== ORDER OVERVIEW SECTION ===== */
.woocommerce-order-overview {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 24px !important;
    padding: 40px !important;
    list-style: none !important;
    margin: 0 !important;
    background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%) !important;
    border-bottom: 2px solid #e0e6f0 !important;
    margin-bottom: 56px !important;
}

.woocommerce-order-overview li {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 24px !important;
    border: 1px solid #D3D3D3 !important;
    border-radius: 8px;
    margin: 0 !important;
    width: 100% !important;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s ease, box-shadow .35s ease !important;
}

.woocommerce-order-overview li:hover {
    transform: translateY(-6px) !important;
    border-color: #0084D6 !important;
    box-shadow: 0 18px 40px -12px rgba(0, 132, 214, .18), 0 4px 12px -4px rgba(16, 24, 40, .08) !important;
}

.woocommerce-order-overview li > span:first-child {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #0065A3 !important;
}

.woocommerce-order-overview__order strong,
.woocommerce-order-overview__date strong,
.woocommerce-order-overview__total strong,
.woocommerce-order-overview__payment-method strong {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #181F25 !important;
    display: block !important;
}

.woocommerce-order-overview__total strong {
    color: #FF7700 !important;
    font-size: 24px !important;
}

/* ===== INFO MESSAGES ===== */
.woocommerce-order > p {
    padding: 0 40px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #181F25 !important;
    margin: 20px 0 !important;
}

.woocommerce-order > p:first-of-type {
    margin-top: 30px !important;
}

.woocommerce-order > p a {
    color: #0084D6 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

.woocommerce-order > p a:hover {
    color: #0065A3 !important;
}

.woocommerce-order > p b {
    color: #181F25 !important;
    font-weight: 700 !important;
}

/* ===== ORDER DETAILS SECTION TITLE ===== */
.woocommerce-order-details__title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #181F25 !important;
    padding: 30px 40px 20px 40px !important;
    margin: 0 !important;
    border-top: 1px solid #e0e6f0 !important;
    text-align: center !important;
    background: transparent !important;
}

/* ===== ORDER DETAILS TABLE ===== */
.woocommerce-table--order-details {
    width: 100% !important;
    margin: 0 !important;
    max-width: 90% !important;
    margin: 0 auto !important;
    border-radius: 8px !important;
    padding: 0 !important;
    border-collapse: collapse !important;
}

.woocommerce-table--order-details thead {
    background: #f0f4f8 !important;
    border-top: 1px solid #e0e6f0 !important;
    border-bottom: 2px solid #0084D6 !important;
}

.woocommerce-table--order-details th {
    padding: 16px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #0065A3 !important;
}

.woocommerce-table--order-details tbody tr {
    border-bottom: 1px solid #e0e6f0 !important;
    transition: background 0.2s ease !important;
}

.woocommerce-table--order-details tbody tr:hover {
    background: #fafbfc !important;
}

.woocommerce-table--order-details td {
    padding: 18px !important;
    font-size: 14px !important;
    color: #181F25 !important;
    border: none !important;
    vertical-align: middle !important;
}

.product-name {
    font-weight: 600 !important;
}

.product-name a {
    color: #0084D6 !important;
    text-decoration: underline !important;
    transition: color 0.2s ease !important;
}

.product-name a:hover {
    color: #0065A3 !important;
    text-decoration: underline !important;
}

.product-quantity {
    color: #0065A3 !important;
    font-weight: 700 !important;
}

.product-total {
    text-align: right !important;
    font-weight: 700 !important;
    font-size: 15px !important;
}

/* ===== TFOOT (SUBTOTAL, TOTAL, ETC) ===== */
.woocommerce-table--order-details tfoot {
    background: #f8f9fb !important;
    border-top: 2px solid #0084D6 !important;
}

.woocommerce-table--order-details tfoot tr {
    border: none !important;
}

.woocommerce-table--order-details tfoot th {
    padding: 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #181F25 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    border: unset !important;
}

.woocommerce-table--order-details tfoot td {
    padding: 16px !important;
    text-align: right !important;
    font-size: 13px !important;
    color: #181F25 !important;
}

.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
    padding: 18px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-top: 2px solid #0084D6 !important;
}

.woocommerce-Price-amount {
    font-weight: 700 !important;
    color: #181F25 !important;
}

.woocommerce-Price-currencySymbol {
    margin-right: 3px !important;
}

/* ===== CUSTOM FIELDS TABLE ===== */
.woocommerce-table--custom-fields {
    margin: 40px 0 0 0 !important;
    max-width: 90% !important;
    margin: 0 auto !important;
    margin-top: 40px !important;
    border: 1px solid #D3D3D3 !important;
    padding: 0 !important;
    border-radius: 8px !important;
    border-collapse: collapse !important;
}

.woocommerce-table--custom-fields tbody {
    display: table-row-group !important;
}

.woocommerce-table--custom-fields tbody tr {
    border-bottom: 1px solid #e0e6f0 !important;
}

.woocommerce-table--custom-fields th {
    padding: 14px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0065A3 !important;
    text-align: left !important;
    border: none !important;
    background: transparent !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.woocommerce-table--custom-fields td {
    padding: 14px !important;
    font-size: 14px !important;
    color: #181F25 !important;
    text-align: right !important;
    border: none !important;
}

.woocommerce-table--custom-fields tr:first-child th,
.woocommerce-table--custom-fields tr:first-child td {
    padding-top: 20px !important;
}

/* ===== CLOSE/END OF SECTION ===== */
.woocommerce-order-details {
    padding-bottom: 40px !important;

}

/* ===== HIDE UNNECESSARY ELEMENTS ===== */
.woocommerce-table__product-image {
    display: none !important;
}

/*Videos Page CSS*/

/* ===== AYG Theme Override – Markedsmateriell ===== */
:root {
    --mm-primary: #0084D6;
    --mm-primary-dark: #0072bb;
    --mm-text: #181F25;
    --mm-border: #D3D3D3;
    --mm-bg: #ffffff;
    --mm-muted: #f5f7fa;
}

.ayg-theme-classic {
    font-family: inherit;
    color: var(--mm-text);
}

/* ---------- Main player ---------- */
.ayg-theme-classic .ayg-player {
    background: var(--mm-bg);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 24px -12px rgba(24, 31, 37, .18);
}

.ayg-theme-classic .ayg-player-caption {
    padding: 20px 22px 22px;
}

.ayg-theme-classic .ayg-player-title {
    color: var(--mm-text);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px;
}

.ayg-theme-classic .ayg-player-description,
.ayg-theme-classic .ayg-player-description * {
    color: #3a4651;
    font-size: .95rem;
    line-height: 1.6;
}

.ayg-theme-classic .ayg-player-description a {
    color: var(--mm-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease;
}

.ayg-theme-classic .ayg-player-description a:hover {
    border-bottom-color: var(--mm-primary);
}

.ayg-theme-classic .ayg-player-description-toggle-btn {
    display: inline-block;
    margin-left: 6px;
    color: var(--mm-primary) !important;
    font-weight: 600;
    text-decoration: none !important;
}

.ayg-theme-classic .ayg-player-description-toggle-btn:hover {
    color: var(--mm-primary-dark) !important;
}

/* ---------- Video gallery grid ---------- */
.ayg-theme-classic .ayg-videos {
    margin-top: 28px;
    gap: 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.ayg-theme-classic .ayg-videos .ayg-video {
    flex: unset;
    max-width: none;
    width: auto;
    padding: 0;
    margin: 0;
}

/* ---------- Thumbnail card ---------- */
.ayg-theme-classic .ayg-thumbnail {
    background: var(--mm-bg);
    border: 1px solid var(--mm-border);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.ayg-theme-classic .ayg-thumbnail:hover {
    transform: translateY(-3px);
    border-color: var(--mm-primary);
    box-shadow: 0 12px 28px -16px rgba(0, 132, 214, .45);
}

.ayg-theme-classic .ayg-thumbnail-media {
    position: relative;
    overflow: hidden;
    background: #000;
}

.ayg-theme-classic .ayg-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease, opacity .25s ease;
}

.ayg-theme-classic .ayg-thumbnail:hover .ayg-thumbnail-image {
    transform: scale(1.05);
    opacity: .85;
}

/* Play icon */
.ayg-theme-classic .ayg-thumbnail-icon-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%) scale(.9);
    fill: #fff;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .5));
    opacity: .9;
    transition: transform .25s ease, opacity .25s ease, fill .25s ease;
}

.ayg-theme-classic .ayg-thumbnail:hover .ayg-thumbnail-icon-play {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 1;
    fill: var(--mm-primary);
}

/* Now playing badge */
.ayg-theme-classic .ayg-thumbnail-now-playing {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--mm-primary);
    color: #fff !important;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 6px;
    width: fit-content;
    height: fit-content;
}

.ayg-theme-classic .ayg-video.ayg-active .ayg-thumbnail {
    border-color: var(--mm-primary);
    box-shadow: 0 0 0 2px rgba(0, 132, 214, .18);
}

/* Thumbnail caption */
.ayg-theme-classic .ayg-thumbnail-caption {
    padding: 12px 14px 14px;
}

.ayg-theme-classic .ayg-thumbnail-title {
    color: var(--mm-text);
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Pagination ---------- */
.ayg-theme-classic .ayg-pagination {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.ayg-theme-classic .ayg-pagination-info {
    color: var(--mm-text);
    font-size: .9rem;
    font-weight: 500;
}

.ayg-theme-classic .ayg-pagination-current-page-number {
    color: var(--mm-primary);
    font-weight: 700;
}

.ayg-theme-classic .ayg-btn,
.ayg-theme-classic .ayg-pagination-prev-btn,
.ayg-theme-classic .ayg-pagination-next-btn {
    background: var(--mm-primary);
    color: #fff !important;
    border: 1px solid var(--mm-primary);
    border-radius: 8px;
    padding: 9px 20px;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .15s ease;
}

.ayg-theme-classic .ayg-btn:hover,
.ayg-theme-classic .ayg-pagination-prev-btn:hover,
.ayg-theme-classic .ayg-pagination-next-btn:hover {
    background: var(--mm-primary-dark);
    border-color: var(--mm-primary-dark);
    transform: translateY(-1px);
}

.ayg-theme-classic .ayg-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width:1024px) {
    .ayg-theme-classic .ayg-videos {
        grid-template-columns: repeat(3, 1fr);
        margin: 0px !important;
    }

    .ayg-theme-classic .ayg-thumbnail {
        margin: 0 !important;
    }

    .tjeneste-section .pf-cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pf-cards-grid .tjeneste-card {
        max-width: 100%;
    }

    .pf-cards-grid .tjeneste-card-media img {
        width: 100% !important;
    }
}



@media (max-width:720px) {
    .ayg-theme-classic .ayg-videos {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .ayg-theme-classic .ayg-player-title {
        font-size: 1.15rem;
    }

    .ayg-theme-classic .ayg-player-caption {
        padding: 16px;
    }
}

@media (max-width:420px) {
    .ayg-theme-classic .ayg-videos {
        grid-template-columns: 1fr;
    }
}

.mm-price-loading {
    opacity: 0.4;
    filter: grayscale(100%);
    color: #9aa3ab !important;
    transition: opacity 0.15s ease, filter 0.15s ease;
    pointer-events: none;
    user-select: none;
}

.mm-price-loading * {
    color: #9aa3ab !important;
}

.elementor-widget-woocommerce-product-images,
.woocommerce-product-gallery__wrapper {
    width: 100%;
}

.woocommerce-js div.product div.images img {
    max-width: unset;
}

/* Show the simple-product price widget only on simple products.
   Hide it on variable products (the variation price handles those). */
.product-type-variable .mm-simple-price {
    display: none !important;
}

/* ===== Measurement Price Calculator (per-m² products only) =====
   Scoped to .wc-measurement-price-calculator-price-table so it ONLY
   affects products that have the calculator — cannot break others. */
.wc-measurement-price-calculator-price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 16px;
    border: 1px solid #D3D3D3;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.wc-measurement-price-calculator-price-table td {
    padding: 12px 16px !important;
    vertical-align: middle !important;
    border: none;
}

/* Top row: size-input label + field */
.wc-measurement-price-calculator-price-table tr.area-input {
    background: #F5F9FC;
}

.wc-measurement-price-calculator-price-table tr.area-input td:first-child label {
    font-weight: 600;
    color: #181F25;
    font-size: 14px;
    margin: 0;
}

.wc-measurement-price-calculator-price-table input.amount_needed {
    width: 110px !important;
    padding: 10px 12px;
    border: 1px solid #D3D3D3;
    border-radius: 6px;
    font-size: 15px;
    color: #181F25;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wc-measurement-price-calculator-price-table input.amount_needed:focus {
    outline: none;
    border-color: #0084D6;
    box-shadow: 0 0 0 3px rgba(0, 132, 214, 0.15);
}

/* Help icon spacing */
.wc-measurement-price-calculator-price-table .wc-measurement-price-calculator-input-help {
    color: #0084D6;
    cursor: help;
}

/* Bottom row: calculated product price */
.wc-measurement-price-calculator-price-table tr.calculated-price td:first-child {
    font-weight: 600;
    color: #181F25;
    font-size: 15px;
}

.wc-measurement-price-calculator-price-table tr.calculated-price td:last-child {
    text-align: right;
}

.wc-measurement-price-calculator-price-table .product_price .amount {
    font-size: 22px;
    font-weight: 700;
    color: #0084D6;
}

/* developer */



.woocommerce-js div.product div.images.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    height: 450px !important;
    max-height: 450px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 5px !important;
    margin: 0 !important;
}

.woocommerce-js div.product div.images.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li {
    width: 100% !important;
    min-width: 100% !important;
    flex: 0 0 auto !important;
    margin-bottom: 0px !important;
    float: none !important;
    display: block !important;
}

.woocommerce-js div.product div.images.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li img {
    width: 75px !important;
    height: 75px !important;
    object-fit: cover !important;
    display: block !important;
}

.woocommerce-js div.product div.images.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs::-webkit-scrollbar {
    width: 2px;
}

.woocommerce-js div.product div.images.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 20px;
}

.woocommerce-js div.product div.images.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs::-webkit-scrollbar-track {
    background: #eee;
}

.archive-cat .hfe-creative-menu {
    border-bottom: 1px solid #D3D3D3;
}

.archive-cat .menu-item .sub-menu {
    padding-left: 15px;
}

.archive-cat .menu-item .sub-menu li a {
    padding-left: 0 !important;
}

/* --- Accessories popup: make it scrollable + keep action/warning visible --- */

/* 1) Let the popup scroll when its content is taller than the screen */
.dialog-lightbox-message {
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* 2) Pin the "tilføj tilbehør" button + warning to the bottom, always visible */
.mm-acc-master-action {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 12px 0 6px;
    z-index: 2;
}

/* 3) Make the warning stand out */
.mm-acc-msg:not(:empty) {
    margin-top: 8px;
    text-align: center;
    font-weight: 600;
    color: #d9534f;
}

/* ============================================================
   Hide empty product UI on single product pages.
   No Elementor Display Conditions (those crash on the array-valued
   addons field). Targets the real Elementor markup directly.
   ============================================================ */

/* Quote-only products: hide the empty simple-price box.
   Scoped to (a) body.mm-no-price — set in functions.php ONLY when the product
   has no price/0 — and (b) .mm-simple-price, which is the simple/parent price
   widget. This does NOT touch .woocommerce-variation-price (variation prices),
   priced products (body.mm-has-price), or the woocommerce_show_variation_price
   logic. It only narrows the already-existing .mm-simple-price display rules. */
body.mm-no-price .mm-simple-price {
    display: none !important;
}

/* Products with no accessories (body.mm-no-addons set in functions.php):
   hide the "Tilbehør" heading + the "tilføj tilbehør" button. */
body.mm-no-addons .elementor-element-2ec50a4,
/* "Tilbehør" heading */
body.mm-no-addons .elementor-element-761ea64 {
    /* "tilføj tilbehør" button */
    display: none !important;
}

.primary_loop_new .elementor-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.primary_loop_new .elementor-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #D3D3D3;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    color: #181F25;
    background: #fff;
    transition: all .15s ease;
}

.primary_loop_new .elementor-pagination .page-numbers:hover {
    border-color: #0084D6;
    color: #0084D6;
}

.primary_loop_new .elementor-pagination .page-numbers.current {
    background: #0084D6;
    border-color: #0084D6;
    color: #fff !important;
}

.menu_main_categories .products .product-category.product {
    aspect-ratio: 1 / 1;
}

.menu_main_categories .products .product-category.product img {
    margin: 0px !important;
}

.menu_main_categories .products .product-category.product .woocommerce-loop-category__title {
    left: 5px !important;
    right: 5px !important;
    bottom: 5px !important;
}

.product_category_text p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.product_category_filter .wpf_items_wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto auto;
    gap: 16px;
}

.product_category_filter .wpf_item.wpf_item_onsale,
.product_category_filter .wpf_layout_horizontal .wpf_item_name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.product_category_filter .wpf_layout_horizontal .wpf_item_name:after {
    font-size: 0.8em;
}

.product_category_filter .wpf_item.wpf_item_onsale {
    padding: .6em .8em;
}

.product_category_filter .wpf_item.wpf_item_onsale::after {
    display: none;
}

.product_category_filter .wpf_item.wpf_item_onsale .wpf_item_name {
    padding: 0px !important;
}

.product_category_filter .wpf_item.wpf_item_onsale .wpf_onsale_wrapp {
    display: flex;
}

.product_category_filter .wpf_item.wpf_item_onsale .wpf_items_group,
.product_category_filter .wpf_item.wpf_item_onsale .wpf_onsale_wrapp input {
    margin: 0px !important;
}

.product_category_filter .wpf_items_wrapper > div {
    margin: 0px !important;
}

.primary_loop_new .elementor-grid {
    grid-auto-rows: auto !important;
}

.product_category_image_main img {
    aspect-ratio: 19 / 12.7;
    width: 100%;
    transition: transform 0.3s ease;
}

.product_category_image_main img:hover {
    transform: scale(1.05);
}

.custom_gallery_section img {
    aspect-ratio: 1/1;
    object-fit: cover;
}

.woocommerce .woocommerce-message a.button {
    background-color: #0084D6 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 11px 24px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    text-transform: none !important;
    box-shadow: none !important;
    transition: background-color .2s ease !important;
}
.woocommerce .woocommerce-message a.button:hover,
.woocommerce .woocommerce-message a.button:focus {
    background-color: #006CAE !important;
    color: #ffffff !important;
}
.woocommerce .woocommerce-message {
    display: flex;
    align-items: center;   /* vertical centering */
    flex-wrap: wrap;
    margin: 5px 0px;
    padding-right: 15px;
}
.e-wc-message-notice .woocommerce-message:before{
    top: 1.5em;
}
.woocommerce .woocommerce-message a.button {
    margin-left: auto;
}
.thankyou-section { 
    display: none !important; 
}
.woocommerce-order-received .checkout-section { 
    display: none !important; 
}
.woocommerce-order-received .thankyou-section { 
    display: block !important; 
}
.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-checkout-review-order-table .cart_item td.product-name,.elementor-widget-woocommerce-checkout-page .woocommerce-shipping-totals td{
  max-width: unset !important;   
}
.post-password-form {
    margin: 96px auto !important;
    width: 35%;
}
input[type="password"]{
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    margin: 10px 0;
    border-color: #475569;
}

@media (max-width: 1024px) {
    .woocommerce-js div.product div.images.woocommerce-product-gallery {
        gap: 10px !important;
    }

    .woocommerce-js div.product div.images .flex-control-thumbs {
        max-width: 70px;
        gap: 10px;
    }

    .woocommerce-js div.product div.images.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li img {
        width: 100% !important;
        height: auto !important;
    }

    .woocommerce-js div.product div.images.woocommerce-product-gallery .flex-viewport {
        max-width: calc(100% - 80px);
        width: calc(100% - 80px);
        margin: 0px;
    }

    .woocommerce-product-gallery__image {
        aspect-ratio: 1 / 1;
    }

    .woocommerce-js div.product div.images img {
        max-height: 100% !important;
    }

    #elementor-popup-modal-1251 {
        position: fixed;
    }

    .tjeneste-hero {
        min-height: 650px !important;
        justify-content: flex-end !important;
        padding: 40px 16px !important;
    }

    .product_category_filter .wpf_items_wrapper {
        grid-template-columns: 1fr 1fr 1fr auto;
    }

    .product_category_filter .wpf_items_wrapper .wpf_item.wpf_item_submit {
        grid-column: 4 span / 4 span;
    }

    .product_category_filter .wpf_items_wrapper .wpf_item.wpf_item_submit button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .woocommerce-js div.product div.images.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs {
        height: 300px !important;
        max-height: 300px !important;
    }

    #elementor-popup-modal-1251 .dialog-message {
        width: 100%;
    }

    .mm-acc-img-wrap {
        width: 80px;
    }

    .mm-acc-bottom-row {
        gap: 6px;
    }

    .mm-acc-bottom-row input.mm-acc-qty {
        width: 36px !important;
    }

    .e-con-inner .elementor-shortcode .mm-acc-list .mm-acc-content-wrap .mm-acc-bottom-row .mm-acc-single-add {
        padding: 0 12px;
        font-size: 12px;
    }

    .mm-tpl-acc__trigger {
        padding: 13px 13px 13px 13px !important;
    }

    .tjeneste-hero {
        min-height: 600px !important;
    }

    .tjeneste-container {
        padding: 0 16px !important;
    }

    .tjeneste-h2 {
        font-size: 35px !important;
        line-height: 40px !important;
        letter-spacing: -0.88px;
    }

    .pf-cards-grid .tjeneste-card-media img {
        width: 100% !important;
        height: 150px !important;
    }

    .tjeneste-card-body {
        padding: 16px !important;
    }

    .tjeneste-card-title {
        font-size: 16px !important;
        line-height: 20px !important;
        letter-spacing: -0.88px !important;
    }

    .tjeneste-card-arrow {
        line-height: 1 !important;
    }

    .tjeneste-cta-box {
        padding: 16px !important;
    }

    .tjeneste-cta-image {
        margin: 0;
    }

    .product_category_filter .wpf_items_wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .product_category_filter .wpf_items_wrapper .wpf_item.wpf_item_submit {
        grid-column: 2 span / 2 span;
    }
}

@media (max-width: 480px) {
    .product_category_filter .wpf_items_wrapper {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .product_category_filter .wpf_items_wrapper .wpf_item.wpf_item_submit {
        grid-column: 1 span / 1 span;
    }
}

/* ================================================================
   HEADER SEARCH — icon-only trigger, dropdown on click
   There are two separate icon+search pairs: desktop
   (.elementor-element-ec27550 icon + .elementor-element-bbe10df
   search widget, inside .elementor-element-54caf8f) and mobile
   (.elementor-element-07dd8e0 icon + .elementor-element-bbe1mob
   search widget, inside .elementor-element-cd48e9e) — the two
   headers are entirely separate Elementor containers, each hidden
   by CSS on the other breakpoint. custom.js toggles each search
   widget independently instead of it always sitting expanded in
   the header. Each pair's shared parent container is made the
   positioning context for its own dropdown.
   ================================================================ */
.elementor-element-54caf8f,
.elementor-element-cd48e9e {
    position: relative;
}

.elementor-element-ec27550 .elementor-icon-wrapper,
.elementor-element-07dd8e0 .elementor-icon-wrapper {
    cursor: pointer;
}

.elementor-element-bbe10df,
.elementor-element-bbe1mob {
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    min-width: 250px !important;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    pointer-events: none;
}

.elementor-element-bbe10df.mm-search-open,
.elementor-element-bbe1mob.mm-search-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* ================================================================
   DESKTOP NAV — stop it wrapping to a second line
   width:fit-content (already set in Elementor on .elementor-element-
   74fd0a8 and the nav widget .elementor-element-540328b) only sets
   the PREFERRED size — it doesn't stop the browser from shrinking a
   flex item below that when the row runs out of room, which is what
   was happening here. Once squeezed, HFE's own plugin CSS
   (.hfe-nav-menu__layout-horizontal .hfe-nav-menu { flex-wrap:wrap })
   takes over and wraps the menu items ("BLOGG" onto its own line).
   flex-shrink:0 keeps both containers at their full natural width;
   flex-wrap:nowrap on this specific widget's own menu list overrides
   HFE's default wrap behavior (scoped by ID so the mobile flyout menu,
   a different widget, keeps wrapping/stacking normally).
   ================================================================ */
.elementor-element-74fd0a8,
.elementor-element-540328b {
    flex-shrink: 0;
}

.elementor-element-540328b .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
    flex-wrap: nowrap;
}

/* ================================================================
   ELEMENTOR SLIDER ARROWS — sitewide brand styling
   Targets Elementor's own swiper prev/next button markup
   (.elementor-swiper-button) so every slider/carousel on the site
   (portfolio, testimonials, product galleries, etc.) gets the same
   branded arrow instead of the default plain dark circle, without
   having to restyle each widget instance individually.
   ================================================================ */
.elementor-swiper-button {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    background-color: #fff !important;
    color: var(--e-global-color-primary, #EC008C) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.elementor-swiper-button svg,
.elementor-swiper-button i {
    font-size: 17px !important;
    width: 17px;
    height: 17px;
    fill: currentColor !important;
    color: inherit !important;
    transition: fill 0.2s ease, color 0.2s ease;
}

.elementor-swiper-button svg *,
.elementor-swiper-button i * {
    fill: currentColor !important;
}

.elementor-swiper-button:hover,
.elementor-swiper-button:focus {
    background-color: var(--e-global-color-primary, #EC008C) !important;
    color: #fff !important;
    transform: scale(1.05);
}

.elementor-swiper-button:hover svg,
.elementor-swiper-button:focus svg,
.elementor-swiper-button:hover svg *,
.elementor-swiper-button:focus svg *,
.elementor-swiper-button:hover i,
.elementor-swiper-button:focus i {
    fill: #fff !important;
    color: #fff !important;
}

.elementor-swiper-button.elementor-swiper-button-prev {
    left: 15px;
}

.elementor-swiper-button.elementor-swiper-button-next {
    right: 15px;
}

@media (max-width: 767px) {
    .elementor-swiper-button {
        width: 34px !important;
        height: 34px !important;
    }

    .elementor-swiper-button svg,
    .elementor-swiper-button i {
        font-size: 14px !important;
        width: 14px;
        height: 14px;
    }

    .elementor-swiper-button.elementor-swiper-button-prev {
        left: 8px;
    }

    .elementor-swiper-button.elementor-swiper-button-next {
        right: 8px;
    }
}

/* ================================================================
   SIDE-CART (Elementor menu-cart popup) — styled empty-cart state
   Icon is inserted before .woocommerce-mini-cart__empty-message by
   custom.js (mmDecorateEmptyCart), since the widget's own template has
   no hook to add markup through.
   ================================================================ */
.elementor-menu-cart__main:has(.woocommerce-mini-cart__empty-message),
.widget_shopping_cart_content:has(.woocommerce-mini-cart__empty-message) {
    min-height: 320px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mm-empty-cart-icon,
.woocommerce-mini-cart__empty-message.mm-empty-cart-message {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.mm-empty-cart-icon {
    width: 76px;
    height: 76px;
    padding: 18px;
    box-sizing: border-box;
    border-radius: 50%;
    background: #e2f0fa;
    color: #0084D6;
    margin-bottom: 20px;
}

.woocommerce-mini-cart__empty-message.mm-empty-cart-message {
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    color: #181F25;
    max-width: 220px;
    line-height: 1.5;
}

/* Elementor Pro's own rule (.elementor-menu-cart__main .widget_shopping_cart_content
   .woocommerce-mini-cart__empty-message, text-align: var(--empty-message-alignment, start))
   has higher specificity than the rule above, so repeat the centering with the same selector chain. */
.elementor-menu-cart__main .widget_shopping_cart_content .woocommerce-mini-cart__empty-message.mm-empty-cart-message {
    text-align: center;
}

/* Parent (.elementor-menu-cart__main) is already display:flex;
   flex-direction:column by default in Elementor Pro's own widget CSS, so
   margin-top:auto here correctly pushes the subtotal down against the
   footer buttons without any extra parent rule needed. */
.elementor-menu-cart__subtotal {
    margin-top: auto !important;
    border: none !important;
    display: flex !important;
    justify-content: space-between !important;
    padding: 0 !important;
    padding-top: 14px !important;
    border-top: 1px solid #0084d6 !important;
}

.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    height: 80px;
    object-fit: cover;
}

.elementor-menu-cart__main {
    width: 450px;
}

/* ================================================================
   RECENTLY VIEWED PRODUCTS — [mm_recently_viewed] shortcode
   Matches the "Relaterte produkter" section on single-product pages
   (same background/padding/max-width) and the .mm-cat-* card language
   used by [mm_product_categories] on the homepage, for a consistent
   visual system across the site.
   ================================================================ */
.mm-rv-section {
    background: #F5F7F9;
    border-top: 1px solid #E4E7EC;
    padding: 96px 0;
    margin-top: 40px;
    /* Full-bleed background regardless of the parent Elementor
       container's own (boxed) width — content itself stays centered
       and gutter-padded via .mm-rv-container below. */
    /* --mm-sbw = vertical scrollbar width (set in custom.js); without it
       100vw includes the scrollbar and the page scrolls sideways a few px. */
    width: calc(100vw - var(--mm-sbw, 0px));
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: calc(-50vw + var(--mm-sbw, 0px) / 2);
    margin-right: calc(-50vw + var(--mm-sbw, 0px) / 2);
    box-sizing: border-box;
    overflow: hidden;
}

.mm-rv-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.mm-rv-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.mm-rv-head-text {
    max-width: 680px;
}

.mm-rv-eyebrow {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'Figtree', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0084D6;
    margin-bottom: 10px;
}

.mm-rv-eyebrow-icon {
    width: 15px;
    height: 15px;
    flex: none;
}

.mm-rv-title {
    font-family: 'Figtree', sans-serif;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.1;
    color: #101828;
    margin: 0 0 18px;
}

.mm-rv-title {
    font-family: 'Figtree', sans-serif;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    color: #101828;
    margin: 0 0 8px;
}

.mm-rv-subtitle {
    font-family: 'Figtree', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #667085;
    margin: 0;
}

.mm-rv-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: none;
}

/* !important throughout: this is a plain <button>, and Astra's global
   button rule (button, .ast-button, .button {...}) targets every <button>
   element on the site, not just class="button" — without overriding it
   this flips to a solid pink box with a border on hover/focus instead of
   staying the plain text link it's meant to be. */
.mm-rv-clear {
    display: inline-flex !important;
    align-items: center !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: 'Figtree', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: normal !important;
    color: #667085 !important;
    text-transform: none !important;
    cursor: pointer;
    white-space: nowrap;
    transition: color .2s ease;
}

.mm-rv-clear:hover,
.mm-rv-clear:focus {
    background: none !important;
    color: #181F25 !important;
    text-decoration: underline;
    box-shadow: none !important;
}

.mm-rv-see-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Figtree', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0084D6;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease;
}

.mm-rv-see-all:hover {
    color: #006CAE;
}

.mm-rv-see-all-arrow {
    display: inline-flex;
    width: 16px;
    height: 16px;
    transition: transform .2s ease;
}

.mm-rv-see-all-arrow svg {
    width: 100%;
    height: 100%;
}

.mm-rv-see-all:hover .mm-rv-see-all-arrow {
    transform: translateX(3px);
}

.mm-rv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

/* ---- Card: the whole thing is now the bordered surface, not just
   the image, matching a "real" product-card look ---- */
.mm-rv-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #E4E7EC;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}

.mm-rv-card:hover {
    transform: translateY(-4px);
    border-color: #0084D6;
    box-shadow: 0 14px 34px rgba(24, 31, 37, .12);
}

.mm-rv-card:hover .mm-rv-name {
    color: #0084D6;
}

.mm-rv-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.mm-rv-image-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #F5F7F9;
    aspect-ratio: 1/1;
    border-bottom: 1px solid #E4E7EC;
}

.mm-rv-image {
    object-fit: contain;
    width: 100%;
    height: 100% !important;
    display: block;
    transition: transform .3s ease;
    padding: 16px;
    box-sizing: border-box;
}

.mm-rv-card:hover .mm-rv-image {
    transform: scale(1.04);
}

.mm-rv-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    background: #0084D6;
    color: #fff;
    font-family: 'Figtree', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 5px;
}

.mm-rv-info {
    padding: 16px 16px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.mm-rv-category {
    font-family: 'Figtree', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #98A2B3;
    /* Long category names ("SMITTEVERNSPRODUKTER") broke mid-word in narrow
       cards; hyphenate at a proper point instead where the browser can. */
    word-break: normal;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.mm-rv-name {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 21px;
    color: #181F25;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s ease;
}

/* ---- Footer row: price left, add-to-cart button right ---- */
.mm-rv-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 16px 16px;
    margin-top: auto;
}

/* ---- Price: reads as an actual price tag, not a link ----
   WooCommerce renders a price range as sibling spans (amount, "–",
   amount) rather than one block — flex-direction:column here would
   stack each one on its own line, so this stays row + wrap so a
   range flows together and only drops to a second line as a whole
   if it truly doesn't fit. */
.mm-rv-price {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 4px;
    flex: 1 1 auto;
    font-family: 'Figtree', sans-serif;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.3;
    color: #181F25;
    min-width: 0;
}

.mm-rv-price .woocommerce-Price-amount {
    color: inherit;
}

.mm-rv-price ins {
    text-decoration: none;
    color: #EC008C;
}

.mm-rv-price del {
    text-decoration: line-through;
    color: #98A2B3;
    font-weight: 500;
    font-size: 12px;
}

.mm-rv-price--enquire {
    font-size: 13px;
    font-weight: 600;
    color: #5a6470;
}

/* ---- Add-to-cart button: square, brand pink, inline in the footer row ---- */
.mm-rv-add-to-cart {
    display: flex;
    gap: 8px;
    flex: none;
}

/* !important throughout: Astra's global .button rule (background,
   border-radius, padding, width/height driven by its own font-size)
   otherwise wins over this scoped selector and turns the icon square
   back into a full pink text button with the wrong shape/size. */
.mm-rv-add-to-cart a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 10px !important;
    background: #EC008C !important;
    border: none !important;
    color: #fff !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-decoration: none !important;
    text-indent: 0 !important;
    text-transform: none !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.mm-rv-add-to-cart a::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.5 3h2l2.4 12.2a2 2 0 0 0 2 1.6h8.6a2 2 0 0 0 2-1.6L21 8H6.2'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.5 3h2l2.4 12.2a2 2 0 0 0 2 1.6h8.6a2 2 0 0 0 2-1.6L21 8H6.2'/%3E%3C/svg%3E") center/contain no-repeat;
}

.mm-rv-add-to-cart a.added::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
}

.mm-rv-add-to-cart a:hover {
    background: #C4006F !important;
    transform: scale(1.06);
    box-shadow: 0 8px 20px rgba(236, 0, 140, .32) !important;
}

.mm-rv-add-to-cart a.added {
    background: #0084D6 !important;
    transform: scale(1.06);
    box-shadow: 0 8px 20px rgba(0, 132, 214, .32) !important;
}

.mm-rv-add-to-cart a.loading {
    opacity: .55;
    pointer-events: none;
}

/* WooCommerce appends a "View cart" link next to the button once the
   AJAX add succeeds — keep it in the same button language rather than
   letting its default text/underline break the compact footer row. */
.mm-rv-add-to-cart .added_to_cart {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 10px !important;
    background: #EC008C !important;
    border: none !important;
    color: #fff !important;
    font-size: 0 !important;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: none !important;
}

.mm-rv-add-to-cart .added_to_cart::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.5 3h2l2.4 12.2a2 2 0 0 0 2 1.6h8.6a2 2 0 0 0 2-1.6L21 8H6.2'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.5 3h2l2.4 12.2a2 2 0 0 0 2 1.6h8.6a2 2 0 0 0 2-1.6L21 8H6.2'/%3E%3C/svg%3E") center/contain no-repeat;
    background-color: #0084D6;
}

@media (max-width: 1024px) {
    .mm-rv-section {
        padding: 40px 0;
    }
    .mm-rv-container {
        padding: 0 24px;
    }
    .mm-rv-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .mm-rv-title {
        font-size: 28px;
    }
    .mm-rv-subtitle {
        font-size: 15px;
    }
    .mm-rv-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .mm-rv-section {
        padding: 40px 0;
        margin-top: 24px;
    }
    .mm-rv-head {
        margin-bottom: 28px;
    }
    .mm-rv-container {
        padding: 0 16px;
    }
    .mm-rv-title {
        font-size: 24px;
    }
    .mm-rv-subtitle {
        font-size: 14px;
    }
    .mm-rv-actions {
        gap: 16px;
    }
    .mm-rv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .mm-rv-info {
        padding: 12px 12px 0;
    }
    .mm-rv-footer {
        padding: 10px 12px 12px;
    }
    .mm-rv-name {
        font-size: 13px;
        line-height: 18px;
    }
    .mm-rv-price {
        font-size: 14px;
    }
    .mm-rv-add-to-cart a,
    .mm-rv-add-to-cart .added_to_cart {
        width: 34px;
        height: 34px;
    }
    .mm-rv-add-to-cart a::before,
    .mm-rv-add-to-cart .added_to_cart::before {
        width: 15px;
        height: 15px;
    }
}


/* Tag archive pages: the H1 prints the raw tag name (e.g. "skillevegg").
   Capitalise only its first letter. Tag names themselves stay lowercase
   because the footer "Populære søkeord" chips use the same names. */
body.tax-product_tag .elementor-widget-heading h1.elementor-heading-title::first-letter {
	text-transform: uppercase;
}

/* Decorative icon-box labels that are plain text instead of headings.
   A span is inline by default; the old h3 was a block. Keep the block layout. */
span.elementor-icon-box-title {
	display: block;
}

/* Career page icon-box titles use a global typography preset with no
   line-height of their own. Their tag was changed from h5 to h3 for the
   heading outline, so pin the line-height they had before. */
.elementor-element-993a1e2 .elementor-icon-box-title,
.elementor-element-dcf6252 .elementor-icon-box-title,
.elementor-element-a61ec87 .elementor-icon-box-title {
	line-height: 21.6px;
}
@media (max-width: 767px) {
	.elementor-element-993a1e2 .elementor-icon-box-title,
	.elementor-element-dcf6252 .elementor-icon-box-title,
	.elementor-element-a61ec87 .elementor-icon-box-title {
		line-height: 16.8px;
	}
}

/* Accessory item titles in the "Legg til tilbehør" popup. Their size, line
   height and font used to come from the h4 tag's defaults; pin them so the
   tag can be h3 (heading outline) without changing how they look. */
.mm-acc-title-price .mm-acc-title {
	font-family: Figtree, sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 18px;
	letter-spacing: normal;
	text-transform: none;
	margin: 0;
	padding: 0;
}

/* Career page "Team Markedsmateriell" icon-box title (h6 -> h3 for the heading
   outline). It uses a global typography preset, so pin its previous size. */
.elementor-element-ab6c32a .elementor-icon-box-title {
	font-size: 15px;
	line-height: 18.75px;
}
@media (max-width: 767px) {
	.elementor-element-ab6c32a .elementor-icon-box-title {
		font-size: 13.68px;
		line-height: 17.1px;
	}
}

/* Footer bottom line (template 941, icon list 445269e): the long terms
   sentence always wraps to its own line, so the divider after the item
   before it ("Forhandlerportal |") dangled at the end of the line. */
.elementor-941 .elementor-element.elementor-element-445269e .elementor-icon-list-items.elementor-inline-items > .elementor-icon-list-item:last-child {
    flex-basis: 100%;
    justify-content: center;
}
.elementor-941 .elementor-element.elementor-element-445269e .elementor-icon-list-items.elementor-inline-items > .elementor-icon-list-item:nth-last-child(2)::after {
    display: none;
}

/* Busy state while the add-to-cart form posts (set in custom.js). */
form.cart .single_add_to_cart_button.mm-is-loading {
    opacity: .7;
    cursor: wait;
    pointer-events: none;
}

/* Embedded HubSpot forms (Kontakt, blog sidebar): no list bullets before
   checkboxes/radios/error messages, and the site font in the fields. */
.hs-form ul.inputs-list,
.hs-form ul.hs-error-msgs {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}
.hs-form ul.inputs-list > li,
.hs-form ul.hs-error-msgs > li {
    list-style: none;
}
.hs-form input,
.hs-form textarea,
.hs-form select,
.hs-form button {
    font-family: inherit;
}

/* Checkout selects (Land / Region): the form padding (12px top/bottom) plus
   line-height didn't fit the 40px field height and cut the text ("Norge"). */
body .elementor-widget-woocommerce-checkout-page .woocommerce #customer_details .form-row select {
    padding-top: 0;
    padding-bottom: 0;
    line-height: normal;
}

/* Cookie consent is handled by Complianz; HubSpot only loads after
   consent, so its own cookie bar would ask a second time. Hide it
   (HubSpot's injected CSS overrides Complianz's own hide rule). */
html body div#hs-eu-cookie-confirmation {
    display: none !important;
}
/* Cookie and privacy policy are the same page here
   ("Personvern og informasjonskapsler"), so show the link once. */
.cmplz-cookiebanner .cmplz-links .cmplz-link.privacy-statement {
    display: none !important;
}

/* Footer "Kontakt oss": e-mail line moved here from "Følg oss" (client audit MM-102) – white icon like the others */
.elementor-941 .elementor-element-3f20aab .e-fas-envelope { fill: #fff; }

/* Client audit MM-100: inline headings moved to the correct level (no skipped levels) but keep
   the look of the tag they had before. Values copied from the Elementor kit / Astra heading rules. */
.elementor-kit-6 .mmh-look-h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.3333333333333rem; font-weight: 600; line-height: 1.3em; margin-bottom: 20px; }
.elementor-kit-6 .mmh-look-h4 { font-family: "Figtree", sans-serif; font-size: 20px; font-weight: 700; line-height: 18px; }
.elementor-kit-6 .mmh-look-h5 { font-family: "Figtree", sans-serif; font-size: 1rem; font-weight: 600; line-height: 1.2em; }

/* Client audit MM-051: headings/buttons that were typed in CAPITALS now hold normal text and are
   shown in capitals with CSS, so they look the same but read correctly (screen readers, search). */
.mmh-caps .elementor-heading-title,
.mmh-caps .elementor-button-text,
.mmh-caps .elementor-image-box-title,
.mmh-caps .elementor-icon-box-title { text-transform: uppercase !important; }

/* Client audit MM-047: stronger overlay behind the homepage hero text (was a flat 30% black).
   Dark navy gradient strongest on the left where the text sits; even layer on small screens. */
.elementor-9 .elementor-element.elementor-element-2c9feab::before {
	background-color: transparent !important;
	background-image: linear-gradient(90deg, rgba(4, 18, 36, .82) 0%, rgba(4, 18, 36, .62) 45%, rgba(4, 18, 36, .18) 80%, rgba(4, 18, 36, .1) 100%) !important;
	opacity: 1 !important;
}
@media (max-width: 767px) {
	.elementor-9 .elementor-element.elementor-element-2c9feab::before {
		background-image: none !important;
		background-color: rgba(4, 18, 36, .6) !important;
	}
}
/* The background slideshow (z-index 0) was painted over the overlay, so no overlay was ever visible. */
.elementor-9 .elementor-element.elementor-element-2c9feab::before { z-index: 1 !important; }
.elementor-9 .elementor-element.elementor-element-2c9feab > .elementor-element-7037895 { z-index: 2; }

/* Client audit MM-098: mobile topbar shows the click-to-call phone number (left) and "Kontakt oss" (right);
   e-mail and "Motta tilbud & nyheter" stay on tablet/desktop only. */
@media (max-width: 767px) {
	.elementor-938 .elementor-element-2646bc1 .elementor-icon-list-item:nth-child(2),
	.elementor-938 .elementor-element-817040a .elementor-icon-list-item:nth-child(1) { display: none !important; }
	.elementor-938 .elementor-element-2646bc1 .elementor-icon-list-item:first-child::after { display: none !important; }
}
/* Client audit MM-098: "Ring oss" and "Be om tilbud" menu items only in the mobile (flyout) menu. */
.elementor-938 .elementor-element-540328b .mmh-mobile-only,
.elementor-938 .elementor-element-540328b .elementor-nav-menu--dropdown .mmh-mobile-only { display: none !important; }

/* Client audit MM-046: bigger touch area (min. 24 px) on small links/icons on mobile.
   Padding + the same negative margin = larger hit area without moving anything. */
@media (max-width: 767px) {
	.elementor-938 .elementor-element-2646bc1 .elementor-icon-list-item > a { padding-top: 4px; padding-bottom: 4px; margin-top: -4px; margin-bottom: -4px; }
	.elementor-938 .elementor-element-817040a .elementor-icon-list-item > a { padding-top: 6px; padding-bottom: 6px; margin-top: -6px; margin-bottom: -6px; }
	.elementor-938 .elementor-element-07dd8e0 .elementor-icon-wrapper { padding: 2px; margin: -2px; }
	.mm-rv-clear { padding-top: 4px !important; padding-bottom: 4px !important; margin-top: -4px !important; margin-bottom: -4px !important; }
	.elementor-element-b24cf51 a, .elementor-element-55055fa a, .elementor-element-041deb2 a { padding-top: 4px; padding-bottom: 4px; margin-top: -4px; margin-bottom: -4px; }
	.elementor-941 .elementor-element-149ffe9 .elementor-social-icon,
	.elementor-941 .elementor-element-cc535ed .elementor-social-icon { padding: 2px; margin: -2px; box-sizing: content-box; }
	.elementor-941 .elementor-element-445269e .elementor-icon-list-item > a { padding-top: 3px; padding-bottom: 3px; margin-top: -3px; margin-bottom: -3px; }
}

/* ==========================================================================
   Mobile: stop pages from scrolling sideways (19.11.2026, mobile dry run).
   Phones only — desktop and tablet are not affected.
   ========================================================================== */
@media (max-width: 767px) {
	/* 1. Wide tables in articles and product descriptions: swipe inside their own box */
	.mmpost table:not(.shop_table):not(.variations),
	.mm-prose table:not(.shop_table):not(.variations),
	.elementor-widget-text-editor table:not(.shop_table):not(.variations),
	.elementor-widget-theme-post-content table:not(.shop_table):not(.variations),
	.woocommerce-Tabs-panel table:not(.shop_table):not(.variations),
	table.artikkel-tabell {
		display: block;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	/* 2. Product breadcrumb: wrap onto more lines instead of pushing the page wider */
	.woocommerce-breadcrumb {
		white-space: normal !important;
		flex-wrap: wrap;
		overflow-wrap: break-word;
	}

	/* 3. YouTube gallery video titles and 4. long headlines: wrap long words */
	.ayg-player-title,
	.mm-hero__title {
		white-space: normal !important;
		min-width: 0;
		max-width: 100%;
		overflow-wrap: break-word;
		hyphens: auto;
		-webkit-hyphens: auto;
	}

	/* 5. Image boxes (e.g. /zipperwall, /skillevegg): picture never wider than its box */
	.elementor-image-box-img {
		max-width: 100%;
	}
	.elementor-image-box-img img {
		max-width: 100%;
		height: auto;
	}

	/* 6. /kampanjer-nyheter (page 2191): campaign card columns stack instead of wrapping sideways */
	.elementor-2191 .elementor-element-f76607b,
	.elementor-2191 .elementor-element-f817c00,
	.elementor-2191 .elementor-element-66d9af3,
	.elementor-2191 .elementor-element-69bbb73,
	.elementor-2191 .elementor-element-010ac46,
	.elementor-2191 .elementor-element-91fdedf {
		--flex-wrap: nowrap;
		flex-wrap: nowrap;
	}

	/* 7. Fixed 3- or 4-column box grids inside articles: 2 per row on phones
	      (auto-fit grids already go to 1 column by themselves and are left alone) */
	.mmpost div[style*="grid-template-columns:repeat(4,1fr)"],
	.mmpost div[style*="grid-template-columns:repeat(3,1fr)"] {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
