/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/
#pp-accord-86bnsfxj4hvg-1 span {
    font-weight: bold;
}
#pp-accordion-e6k4rm2x3zh7-tab-0 span {
        font-weight: bold;
}

.video-z-front {
    z-index: 9999!important;
    position: relative;
}

.price-text {
    padding-left: 10px;
    font-size: 14px;
    color: black;
}
@media screen and (min-width: 1024px) {
    .shop_table .order_details {
        margin-top: 2rem !important;
    }
    .woocommerce-order-details {
        display: flex;
        flex-direction: column;
    }

    .woocommerce-order-received .inspire_checkout_fields_additional_information {
        width: 20% !important;
    }

    .thankyou-column-bottom {
        display: flex;
        margin-top: 5rem;
        justify-content: space-between;
        gap: 5rem;
    }

    .woocommerce-order-details {
        max-width: 30%;
    }
}
.thankyou-column-bottom .woocommerce-order-details {
    order: 2;
}

@media screen and (max-width: 550px) {
    .woocommerce-customer-details .col-2 {
        margin-top: 2rem !important;
    }

    .order_details li {
        width: 100%;
    }
    .thankyou-column-bottom{
        margin-top: 2rem;
    }
}


#calendar-toggle {
    background-color: black;
}

.order_details {
    order: 2;
    margin-top: 2rem;

}

.inspire_checkout_fields_additional_information h3 {
    margin-top: 0;
}

.woocommerce-order-details__title {
    margin-top: 0;
}


.woocommerce-notice {
    font-size: 30px;
    font-weight: 700;
}




.woocommerce a.button,
.woocommerce-page a.button,
.woocommerce button.button,
.woocommerce-page button.button,
.woocommerce input.button,
.woocommerce-page input.button,
.woocommerce #respond input#submit,
.woocommerce-page #respond input#submit,
.woocommerce #content input.button,
.woocommerce-page #content input.button,
.pp-content-grid-buy-link .button {
    border: 0;
    text-decoration: none;
    background-color: #000;
    color: #fff;
    padding: 6px 16px;
    border-radius: 0;
}

.woocommerce a.button:hover,
.woocommerce-page a.button:hover,
.woocommerce button.button:hover,
.woocommerce-page button.button:hover,
.woocommerce input.button:hover,
.woocommerce-page input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-page #respond input#submit:hover,
.woocommerce #content input.button:hover,
.woocommerce-page #content input.button:hover,
.pp-content-grid-buy-link .button:hover {
    border: 0;
    text-decoration: none;
    background-color: #b0313d;
    color: #fff;
    border-radius: 0;
}

.alert-primary {
    display: block;
    background-color: #cfe2ff;
    color: #052c65;
    border: 1px solid #9ec5fe;
    padding: 1rem;
    margin-bottom: 1rem;
    position: relative;

    border-radius: 4px;
}

.buffet-tillvalg-desktop .pp-add-to-cart.pp-post-link,
.buffet-tillvalg-desktop .pp-post-title,
.buffet-tillvalg-desktop .pp-product-price {
    margin-left: 0 !important;
    left: 45% !important;
    right: unset;
    text-align: left;
}

.buffet-tillvalg-desktop .pp-post-title {
    margin-left: 20px !important;
}

#billing_kontaktperson_ved_levering_field label {
    margin-top: 20px !important;
    font-size: 22px;
}

#billing_kontaktperson_ved_levering_field input {
    display: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

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

.pp-add-to-cart.pp-post-link .cart {
    margin: 0 !important;
}

.payment_method_bambora {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.kc23-price {
    padding-top: 10px;
    padding-bottom: 10px;
}

.kc23-price>.price {
    font-size: 24px;
    font-weight: bold;
    color: #4caf50 !important;
}

.payment_method_bambora p {
    display: none;
}

.custom-hero-box .fl-col-content>div:first-of-type {
    border: 2px solid #000;
    border-bottom: 0;
}

.custom-hero-box .fl-col-content>div:nth-of-type(2) {
    border-left: 2px solid #000;
    border-right: 2px solid #000;
}

.custom-hero-box .fl-col-content>div:last-of-type {
    border: 2px solid #000;
    border-top: 0;
}





input[type="number"].xoo-wsc-qty {
    border-radius: 0;
}

.orddd_field_note,
.hide-in-checkout {
    display: none;
}

#order_hva_er_anledningen_field {
    margin-bottom: 30px;
}

.single-ingredienser .pp-er {
    text-align: left;
    display: inline-block !important;
    width: 100%;
    position: relative !important;
}

.single-ingredienser .pp-er .pp-er-title-wrap {
    text-align: left;
    display: inline-blocke;
    width: 100%;
    max-width: 1170px;
    border-bottom: 1px solid #ccc;
}

.single-ingredienser .pp-er .pp-er-arrow {
    display: inline-block;
    font-size: 12px;
    vertical-align: middle;
    margin-left: 10px;
    margin-top: 3px;
    font-size: 20px;
}


.single-ingredienser ul {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    width: 100%;
    display: block;
    position: relative;
}

.single-ingredienser .fl-module-html {
    border-bottom: 1px solid #ccc;
}


#e_deliverydate_field small {
    display: none;
}

.boks-med-ekstra-knapp .read-more-button {
    color: #fff;
    background: #000;
    padding: 7px 15px;
    margin: 20px !important;
    display: inline-block;
    transition: 0.25s ease-out !important;
}

.boks-med-ekstra-knapp .read-more-button:hover {
    color: #fff;
    text-decoration: none;
    background: #ca293e !important;

}

p[id*="antall"],
#order_notat_field {
    clear: both;
}

#order_gluten_field,
#order_egg_field,
#order_gluten_og_melk_field,
#order_fisk_field,
#order_notter_field,
#order_peanotter_field,
#order_selleri_field,
#order_sennep_field,
#order_sesamfro_field,
#order_skalldyr_field,
#order_svoveldioksid_sulfitter_field,
#order_soya_field,
#order_blotdyr_field,
#order_vegan_field,
#order_vegetarian_field,
#order_spiser_ikke_svinekjott_field,
#order_lupin_field {
    width: auto;
    min-width: 50%;
    float: left;
}

.highlight-green {
    color: green;
    font-weight: 600;
    font-style: italic;
}


.related.products .price,
.single-product .price {
    font-size: 24px !important;
    color: #4caf50 !important;
    font-weight: 600 !important;
}



.woocommerce-page table.shop_table tbody td.actions .coupon input {
    border: 0 !important;
    border-bottom: 1px solid #000 !important;
    border-radius: 0 !important;
    padding-left: 0 !important;
    margin-top: 7px !important;
    margin-right: 20px !important;
}

.payment_box:before,
.woocommerce-cart .cart-subtotal,
.woocommerce-cart .woocommerce-shipping-totals {
    display: none !important;
}

.woocommerce-cart .cart_totals table {
    border: 0px !important;
}

.woocommerce-cart .cart_totals h2 {
    display: none;
}

.woocommerce-cart .order-total {
    background: #fff;
}

.woocommerce-cart .order-total th,
.woocommerce-cart .order-total td {
    background: #fff;
    border: 0px !important;
    border-bottom: 3px double #272727 !Important;
}

.woocommerce-cart .order-total th {
    padding-left: 0px !important;
    text-transform: lowercase;
}

.woocommerce-cart .order-total th:before {
    content: 'Sub';
    text-transform: capitalize;
}

.woocommerce-cart .order-total td {
    text-align: right;
}

.woocommerce-order-received .woocommerce-customer-details,
.woocommerce-order-received .inspire_checkout_fields_additional_information {
    float: left;
    width: 50%;

}

.woocommerce-order-received .woocommerce-customer-details .col2-set {
    width: 100%;
}

.woocommerce-order-received .woocommerce-customer-details .col2-set .col-1,
.woocommerce-order-received .woocommerce-customer-details .col2-set .col-2 {
    float: left;
    width: 48%;
    border: 0 !important;
}

.woocommerce-order-received .woocommerce-customer-details .col2-set address {
    padding: 0;
    border: 0 !important;
}


.woocommerce-checkout .checkout .col-2 h3#ship-to-different-address {
    float: left;
    clear: none;
    margin-left: 20px;
}

.woocommerce-additional-fields .shop_table .woocommerce-shipping-totals {
    background: #fff;

}

.woocommerce-additional-fields .shop_table {
    border: 0 !important;
}

.woocommerce table.shop_table td,
.woocommerce-page table.shop_table td {
    width: 50%;
}

.woocommerce-checkout-review-order .woocommerce-shipping-totals th:after {
    content: '';
    display: block;
    font-weight: 400;
    font-size: 80%;
}

.woocommerce-additional-fields .websites-depot-checkout-review-shipping-table th,
.woocommerce-additional-fields .websites-depot-checkout-review-shipping-table td {
    width: 100% !important;
    display: block;
    padding: 0px 0px !important;
}

.woocommerce-additional-fields .websites-depot-checkout-review-shipping-table th {
    padding: 0px 0px !important;
    margin: 20px 0px;
    font-size: 21px;
    font-weight: 400 !important;
    border-bottom: 1px solid #aaa !important;
}

.pp-content-post .pp-product-price,
.pp-content-post .pp-product-price span.price {
    font-size: 24px;
    font-weight: bold;
    color: #4caf50 !important;
}

.pp-content-post-data {
    /*padding-bottom: 120px!important;*/
    /*min-height:120px !important;*/
}

.pp-content-post-grid .pp-content-post-data .pp-post-title a {
    color: #1d1d1d;
}



@media (max-width:768px) {
    .pp-content-post-data {
        display: block;
    }

    .pp-add-to-cart {
        position: relative;
        bottom: 0;
    }

    #mobil-tilvalg-ekstrameny2 .pp-content-grid-inner {
        display: none;
    }

    /* Tilvalg grid: PowerPack's equal-height + the image-on-left layout
     * pin each card to the image's row height. Long titles push the qty +
     * Kjøp row below that ceiling and the parent's overflow:hidden clips
     * it. On mobile the grid is single-column, so equal-height is moot —
     * let each card grow naturally and let the cart row always be visible. */
    .pp-content-post-grid .pp-content-post,
    .pp-content-grid-post,
    .pp-content-post-data,
    .pp-content-grid-inner,
    .pp-content-body {
        overflow: visible !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .pp-content-grid-post .pp-add-to-cart,
    .pp-content-grid-post .pp-add-to-cart.pp-post-link {
        position: static !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        margin-top: 8px;
    }
}

.center-grid .pp-content-post-grid {
    display: flex;
    justify-content: center;
    position: inherit !important;
}

.center-grid .pp-content-post-grid .pp-content-post {
    position: inherit !important;

}

.center-grid .pp-content-post-grid .pp-content-post-data .pp-post-title {
    color: #1d1d1d !important;
    min-height: 100px !important;
}


.center-grid .pp-content-grid-post .pp-product-price,
.center-grid .pp-content-grid-post .pp-add-to-cart {
    position: inherit !important;

}

.archive .pp-content-grid-post .pp-add-to-cart .cart {
    margin: 0;

}


/* SIDE CART PREMIUM */
a.xoo-wsc-ft-btn-checkout {
    background: #ca293e !important;
    border: 1px solid #ca293e !important;
    color: #fff !important;
    line-height: 3em !important;
    border-radius: 0px !important;
    text-transform: uppercase !important;
    transition: 0.25s ease-out !important;
}

a.xoo-wsc-ft-btn-checkout:hover {
    background: #000 !important;
    border: 1px solid #000 !important;
    text-decoration: none;
}

.xoo-wsc-basket {
    border-radius: 0px;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
    z-index: 999999;
    cursor: pointer;
}

.xoo-wsc-items-count {
    font-weight: 700;
    background: #63c661;
}

.xoo-wsc-pname a:hover {
    color: #ca293e;
}

/* PowerPack content grid (Tilvalg) image fill —
 * Images are square-cropped to a fixed natural size (1024×1024) by BB's
 * photo module. Equal-height grids stretch the row to match the tallest
 * card (long titles), but the image kept its square aspect, leaving an
 * empty band below it. Make the image cover the column width × full
 * row height without distortion. */
.fl-module-pp-content-grid .pp-content-grid-image,
.fl-module-pp-content-grid .pp-content-grid-image .pp-post-featured-img,
.fl-module-pp-content-grid .pp-content-grid-image .fl-photo,
.fl-module-pp-content-grid .pp-content-grid-image .fl-photo-content {
    height: 100% !important;
    width: 100%;
}

.fl-module-pp-content-grid .pp-content-grid-image .fl-photo-content a,
.fl-module-pp-content-grid .pp-content-grid-image img.pp-post-img,
.fl-module-pp-content-grid .pp-content-grid-image .fl-photo-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
}

/* XOO Side Cart qty stepper — match the elevated-card stepper design used
 * everywhere else (archive, Tilvalg, PDP). Beige rounded track with
 * transparent +/- buttons and a transparent qty input. The plugin ships
 * with its own square-bordered qty-box; we repaint without touching its
 * markup. */
.xoo-wsc-qty-box.xoo-wsc-qtb-square {
    background: #ebe8e1 !important;
    border: 0 !important;
    border-radius: 8px !important;
    height: 38px !important;
    overflow: hidden;
    display: inline-flex !important;
    align-items: stretch !important;
    padding: 0 !important;
}

.xoo-wsc-qty-box.xoo-wsc-qtb-square .xoo-wsc-minus,
.xoo-wsc-qty-box.xoo-wsc-qtb-square .xoo-wsc-plus {
    width: 30px !important;
    height: 38px !important;
    background: transparent !important;
    color: #1a1a1a !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    border: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    transition: background-color .2s ease;
}

.xoo-wsc-qty-box.xoo-wsc-qtb-square .xoo-wsc-minus:hover,
.xoo-wsc-qty-box.xoo-wsc-qtb-square .xoo-wsc-plus:hover {
    background: rgba(0,0,0,0.06) !important;
    color: #1a1a1a !important;
}

input[type="number"].xoo-wsc-qty,
.xoo-wsc-qty-box.xoo-wsc-qtb-square input.xoo-wsc-qty {
    width: 36px !important;
    height: 38px !important;
    background: transparent !important;
    border: 0 !important;
    color: #1a1a1a !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
    border-radius: 0 !important;
    padding: 0 !important;
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type="number"].xoo-wsc-qty::-webkit-inner-spin-button,
input[type="number"].xoo-wsc-qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"].xoo-wsc-qty:focus {
    outline: 0 !important;
}




.woocommerce form .form-row .select2-container {
    width: 100% !important;
}

#order_hente_porselen_field label {
    font-weight: 400;
    width: 100%;
    padding: 0;
    margin-bottom: 0px;
    font-size: 18px;
    line-height: inherit;
    color: #333;
    border: 0;
}


#order__order_porselensfat_field label {
    font-weight: 400;
    width: 100%;
    padding: 0;
    margin-bottom: 0px;
    font-size: 18px;
    line-height: inherit;
    color: #333;
    border: 0;
}

#order_skal_maten_varmes_heading_field {
    font-weight: 400;
    width: 100%;
    padding: 0;
    margin-bottom: 0px;
    font-size: 18px;
    line-height: inherit;
    color: #333;
    border: 0;
}

#order_varming_av_mat_field label {
    font-weight: 400;
    width: 100%;
    padding: 0;
    margin-bottom: 0px;
    font-size: 18px;
    line-height: inherit;
    color: #333;
    border: 0;
}

#order_tilvalg_field {
    font-size: 22px;
}

#order_tilvalg_field,
#billing_kontaktperson_ved_levering_field {
    padding: 25px 0px;
}

#order_varmmat_tekst_field,
#order_fat_info_2_field {
    margin-left: 25px;
}

#order_fat_info_2_field {
    font-size: 16px !important;
    font-weight: 400 !important;
}


/*#order_hente_porselen_field label:after{*/
/*    content:'Retur av porselen'; */
/*    display: block;*/
/*    font-weight: 400;*/
/*    font-size:16px;*/

/*}*/

.woocommerce form .form-row textarea,
.woocommerce-page form .form-row textarea {
    height: 60px;
}

.product-price del {
    display: none !important;
}

/*-----------------------------------------------------------------------------------------------------------------
GENERAL ///////////////////////////////////////////////////////////////////////////////////////////////////////////
-----------------------------------------------------------------------------------------------------------------*/
.fl-page-content a {
    color: #ca293e
}

.fl-page-content a:hover {
    color: #ca293e
}

.z-top-1 {
    position: relative;
    z-index: 1;
}

.z-top-2 {
    position: relative;
    z-index: 2;
}

.custom-testimonials .fl-col-content {
    margin-bottom: 40px;
}

.custom-testimonials .fl-col-content {
    background: #fff;
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.1);
}

.referanse-grid,
.custom-quote {
    position: relative;
}

.referanse-grid .pp-content-post {
    box-shadow: 0 7px 22px -7px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
}

.referanse-grid .pp-content-post {
    display: table !important;
    flex: column;
}

.referanse-grid .pp-content-post .pp-content-grid-post-text {
    display: table-cell !important;

}


.referanse-grid .pp-content-post .pp-content-grid-post-text:before,
.referanse-grid .pp-content-post:before,
.custom-quote:before {
    content: '\275E';
    font-size: 200px;
    position: absolute;
    z-index: 1;
    top: -55px;
    right: 20px;
    color: #f4f4f4;
}

.referanse-grid .pp-content-post .pp-content-grid-post-text p {
    position: relative;
    z-index: 1;
}

.link-box a {
    display: block;
    text-align: center;
    padding: 70px 30px;
    transition: 0.5s ease-out;
}

.link-box a:hover {
    background: rgba(12, 12, 12, 0.5);
    text-decoration: none;
}


.link-box h2 {
    color: #fff;
    font-size: 34px;
    text-transform: uppercase;
}

.link-box .link-box-text-overlay {
    color: #111;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
}


/*-----------------------------------------------------------------------------------------------------------------
HEADER
-----------------------------------------------------------------------------------------------------------------*/
#menu-hovedmeny li a {
    transition: 0.25s ease-out;
}


#menu-hovedmeny>li>a,
#menu-hovedmeny>li>.pp-has-submenu-container>a {
    text-transform: uppercase !important;
}

#menu-hovedmeny>li>a:hover,
#menu-hovedmeny>li .pp-has-submenu-container>a:hover,
#menu-hovedmeny>li.current-menu-item>a,
#menu-hovedmeny>li.current-menu-parent a,
#menu-hovedmeny>li.current-menu-item .pp-has-submenu-container>a {
    color: #ad3a3a;
}

#menu-hovedmeny li .sub-menu li a {
    color: #555;
}

#menu-hovedmeny li .sub-menu li a:hover {
    color: #000;
}

#menu-hovedmeny li .sub-menu li.current-menu-item a {
    color: #ad3a3a;
}


#menu-hovedmeny>li>.pp-has-submenu-container>a:before,
#menu-hovedmeny>li>a:before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 5%;
    width: 90%;
    height: 1px;
    border-bottom: 1px solid;
    zoom: 1;
    filter: alpha(opacity=0);
    -webkit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: all .3s;
    transition: all .3s;
}

#menu-hovedmeny>li:hover>.pp-has-submenu-container>a:before,
#menu-hovedmeny>li:hover>a:before {
    zoom: 1;
    filter: alpha(opacity=100);
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
}

/* CART COUNT IN MENU */
.cart-count {
    color: #fff;
    background: #63c661;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    font-size: 12px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    overflow: hidden;
    right: 3px;
}




/*-----------------------------------------------------------------------------------------------------------------
WOOCOMMERCE ///////////////////////////////////////////////////////////////////////////////////////////////////////
-----------------------------------------------------------------------------------------------------------------*/

/* -------------------------------------------------------------------------------------------------------------------------
	SHOP PAGE
------------------------------------------------------------------------------------------------------------------------- */

.pp-category .category-inner .pp-category__img:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3) !important;
    transition: 0.25s ease-out;
}

.pp-category .category-inner:hover .pp-category__img:before {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

/* -------------------------------------------------------------------------------------------------------------------------
	SINGLE PRODUCT PAGE
------------------------------------------------------------------------------------------------------------------------- */


.single-product a.button {
    margin-top: 9px !important;
}

.pp-add-to-cart a,
.single-product a.button,
.cart button.button[type="submit"] {
    background: #000 !important;
    border: 1px solid #000 !important;
    border-radius: 8px !important;
    transition: 0.25s ease-out !important;
    padding: 5px 15px !important;

}

.pp-add-to-cart a:hover,
.single-product a.button:hover,
.cart button.button[type="submit"]:hover {
    background: #ca293e !important;
    border: 1px solid #ca293e !important;
    border-radius: 8px;
    transition: 0.25s ease-out !important;
    text-decoration: none;
}

.added_to_cart {
    display: none !important
}

.pp-content-post-data {
    padding-bottom: 120px !important;
}


/* -------------------------------------------------------------------------------------------------------------------------
	CART & CHECKOUT TWEAKS
------------------------------------------------------------------------------------------------------------------------- */


.woocommerce table.shop_table {
    border: 1px solid #e6e6e6;
    border-radius: 0px;
}


.woocommerce-cart-form__cart-item.cart_item {
    background: #fff !important;
    position: relative !important;
}

#add_payment_method table.cart img,
.woocommerce-cart table.cart img,
.woocommerce-checkout table.cart img {
    width: 100%;
}

.product-subtotal {
    text-align: right;
    padding-right: 50px !important;
}

.woocommerce a.remove {
    line-height: .9em;
    color: #000 !important;
    font-weight: 300;
    border: 1px solid #000;
    position: absolute;
    right: 20px;
    margin-top: -12px;

}

.woocommerce a.remove:hover {
    line-height: .9em;
    color: #ca293e !important;
    font-weight: 300;
    background: transparent;
    border: 1px solid #ca293e;
}

#place_order,
.wc-proceed-to-checkout a {
    background: #ca293e !important;
    border: 1px solid #ca293e !important;
    color: #fff !important;
    border-radius: 0px !important;
    text-transform: uppercase !important;
    transition: 0.25s ease-out !important;
}

#place_order:hover,
.wc-proceed-to-checkout a:hover {
    background: #000 !important;
    border: 1px solid #000 !important;
    color: #fff !important;
    border-radius: 0px;
    text-transform: uppercase !important;
}

#place_order:focus,
.wc-proceed-to-checkout a:focus {
    top: 1px;
}

#place_order {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
}

.woocommerce-terms-and-conditions-wrapper label.woocommerce-form__label input,
#privacy_policy_field label input {
    display: inline-block !important;
    vertical-align: top;
    position: relative !important;
    top: 4px;
    text-align: left;

}

.woocommerce-terms-and-conditions-wrapper label.woocommerce-form__label input {
    top: -8px !important;

}

.woocommerce-terms-and-conditions-wrapper label span.woocommerce-terms-and-conditions-checkbox-text,
#privacy_policy_field label span {
    display: inline-block !important;
    width: 90% !important;
    vertical-align: top;
    font-weight: 400;
    line-height: 1.3;
    font-size: 14px;
}

.woocommerce-terms-and-conditions-wrapper label span a,
#privacy_policy_field label span a {
    display: block !important;
}

/* -------------------------------------------------------------------------------------------------------------------------
	MY ACCOUNT PAGE
------------------------------------------------------------------------------------------------------------------------- */
/* 
.woocommerce-Addresses.col2-set{
    float: none !important;
    width: 100% !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none !important;
    width: 30% !important;
}
.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    width: 70% !important;
}
*/
.woocommerce-Addresses.col2-set,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none !important;
    width: 100% !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none !important;
    width: 100% !important;
    display: block;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    width: 100% !important;
    text-align: center;
    max-width: 100% !important;
    border-bottom: 1px solid #e6e6e6;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    display: inline-block;
    border: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:focus {
    border-bottom: 1px solid #fff !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: inline-block;
    border: 1px solid #e6e6e6;
    padding: 20px 40px;
    margin: 0 3px -1px 3px;
}


.woocommerce-account .woocommerce .col2-set .col-1,
.woocommerce-account .woocommerce-page .col2-set .col-1 {
    float: left !important;
    width: 48% !important;
}

.woocommerce-account .woocommerce .col2-set .col-2,
.woocommerce-account .woocommerce-page .col2-set .col-2 {
    float: right !important;
    width: 48% !important;
}




/* NATIVE LAYOUT TWEAKS */
.woocommerce-billing-fields h3,
#order_review_heading {
    text-transform: uppercase;
    font-size: 24px !important;
}

.woocommerce-checkout-review-order,
.woocommerce-checkout-payment,
.checkout input,
.checkout textarea {
    border-radius: 0 !important;
}

.checkout input {
    border: 0 !important;
    border-bottom: 1px solid #aaa !important;
    background: transparent !important;
    padding-left: 0 !important;
}

.checkout select {
    border-radius: 0 !important;
    border: 1px solid #aaa !important;
    background: transparent !important;
    padding-left: 4px !important;
}

#billing_country_field {
    display: none
}

#billing_wooccm11_field label {
    font-size: 14px !important;
    margin: 20px 0 !important;
}



.woocommerce .col2-set,
.woocommerce-page .col2-set {
    float: left;
    width: 48%;
}

.woocommerce-page .col2-set .col-2,
.woocommerce .col2-set .col-1,
.woocommerce-page .col2-pset .col-1 {
    float: unset;
    width: 100%;
}

#order_review {
    float: right;
    width: 48%;
}

#order_review_heading {
    float: right;
    width: 48%;
    margin-top: 20px !important;
}


/* CUSTOM COUPON FIELD */
#show-coupon-form {
    text-align: center;
    width: 100%;
    display: block;
    padding: 20px;
}

#show-coupon-form span {
    color: #fff;
    background: #000;
    padding: 20px 40px;
    display: inline-block;
    transition: 0.25s ease-out;
}

#show-coupon-form:hover span {
    background: #ca293e;
}

#coupon-anchor .ui-dialog {
    border-radius: 0;
    margin: 0 auto !important;
    float: none;
    position: fixed;
    left: 0 !important;
    right: 0 !important;
    top: 30vh !important;
    border: 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2)
}

#coupon-anchor .ui-dialog-titlebar {
    border-radius: 0;
    background: transparent;
    border: 0;
    padding: 0;
}

#coupon-anchor .ui-dialog-title {}

#coupon-anchor .ui-button {
    position: absolute !important;
    top: 0px;
    padding: 0 !important;
    height: 30px !important;
    width: 30px !important;
    right: 10px !important;
    background: transparent;
    border: 0px;
    text-indent: -9999px !important;
}

#coupon-anchor .ui-button span {
    text-indent: -9999px !important;
    background: transparent !important;
}

#coupon-anchor .ui-button {
    background: transparent;
    border-radius: 100%;
    top: 15px;
    margin-right: -5px;
}

#coupon-anchor .ui-button-icon-space,
#coupon-anchor .ui-button-icon-only .ui-button-text {
    display: none !important;
}

#coupon-anchor .ui-button-icon-primary {
    padding: 0 !important;
    background-image: none;
    z-index: 10 !important;
    position: relative;
}

#coupon-anchor .ui-dialog-title:after {
    font-family: 'Font Awesome 5 Pro';
    content: '\f057';
    display: block;
    font-weight: 400;
    font-size: 30px;
    position: absolute;
    height: 35px !important;
    width: 35px !important;
    color: #000 !important;
    top: -4px;
    right: 0px;
}

#coupon-anchor .woocommerce-form-coupon {
    margin: 0;
    padding-top: 0;
    border: 0;
}

#coupon-anchor .form-row-first,
#coupon-anchor .form-row-last {
    width: 100%;
    margin: 10px 0 !important;

}

#coupon-anchor .form-row input {
    border-radius: 0;
}

#coupon-anchor .form-row button {
    border-radius: 0;
    border: 0;
    width: 100%;
    line-height: 2em;
    background: #000;
    transition: 0.25s ease-out;
}

#coupon-anchor .form-row button:hover {
    background: #ca293e;
}

#coupon-anchor .form-row button:focus {
    top: 1px;
}



#coupon-anchor .woocommerce-error {
    margin: 20px;
    padding: 10px !Important;
    font-size: 14px !important;
}

#coupon-anchor .woocommerce-error li {
    font-size: 16px !important;
}

#coupon-anchor .woocommerce-message {
    background: rgba(148, 224, 65, 0.4);
    border: 1px solid rgba(148, 224, 65, 1);
    text-align: center;
    margin: 20px;
    padding: 10px !Important;
    font-size: 14px !important;
}



body.has-blocks .fl-post-content ul,
body.has-blocks .fl-post-content ol {

    max-width: 100%;
}

/* -------------------------------------------------------------------------------------------------------------------------
	PLUGIN: Qty Increment Buttons for WooCommerce

	Global +/- buttons + qty input sized to a 56px row so they line up flush
	with the Kjøp button and the archive Glutenfritt toggle. Parent rows use
	flex `align-items: stretch`, so when the surrounding button is taller (e.g.
	Glutenfritt's two-line label), the qib row stretches to match.
------------------------------------------------------------------------------------------------------------------------- */
.qib-container {
    display: flex;
    align-items: stretch;
}

/* qib plugin ships .qib-button:not(#qib_id):not(#qib_id) (specificity 2,1,0)
 * with hard-coded 35x35 and padding:0, so we override with !important rather
 * than try to out-specificity it. */
.qib-container .qib-button {
    width: 44px !important;
    height: 60px !important;
    min-width: 44px !important;
    min-height: 60px !important;
    max-height: none !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #000 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: stretch;
    box-sizing: border-box !important;
    transition: 0.25s ease-out !important;
}

.qib-container .qib-button:hover {
    background: #b0313d !important;
    border: 0 !important;
    color: #fff !important;
}

.qib-container .qib-button:focus {
    outline: 0 !important;
}

.qib-container .quantity,
form.cart .quantity {
    display: flex;
    align-items: stretch;
    align-self: stretch;
    margin: 0 !important;
}

/* qib also high-specificities the qty input — same !important treatment.
 * Inputs in flex contexts ignore `min-height` in some browsers, so the height
 * is explicit. */
.qib-container .quantity input.qty,
form.cart .quantity input.qty {
    height: 60px !important;
    min-height: 60px !important;
    max-height: none !important;
    width: 56px !important;
    min-width: 56px !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 6px !important;
    text-align: center !important;
    border: 2px solid #e5e5e5 !important;
    background: #fff !important;
    color: #1a1a1a !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    align-self: stretch;
    -moz-appearance: textfield;
}

.qib-container .quantity input.qty::-webkit-outer-spin-button,
.qib-container .quantity input.qty::-webkit-inner-spin-button,
form.cart .quantity input.qty::-webkit-outer-spin-button,
form.cart .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.related.products .qib-container {
    display: none !important;
}

.related.products form .qib-container {
    display: inline-flex !important;
}

.related.products form .qib-button {
    position: relative;
    top: -2px
}

.related.products form .qib-button:focus {
    top: -1px
}


/* -------------------------------------------------------------------------------------------------------------------------
	Product cards
------------------------------------------------------------------------------------------------------------------------- */
.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    padding: 10px;
    width: 100%;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    height: 100%;
    /* This will make sure the card can stretch vertically as needed */
}

.product-card-image,
.product-title,
.product-price {
    width: 100%;
    /* Full width of the card */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    /* Space between rows */
}

.product-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* This will make the content grow and fill the space */
    width: 100%;
}

.product-card-image {
    width: 100%;
    /* Full width of the card */
    display: block;
    /* Switch to block to use padding-top for aspect ratio */
    position: relative;
    /* Set position relative for absolute child positioning */
    padding-top: 100%;
    /* 16:9 aspect ratio, adjust this value for a different aspect ratio */
    margin-bottom: 10px;
    /* Space between image and the title */
}

.product-card-image img {
    position: absolute;
    /* Absolute position within the relative container */
    top: 0;
    left: 0;
    width: 100%;
    /* Image will fill the container width */
    height: 100%;
    /* Image will fill the container height */
    object-fit: cover;
    /* This will cover the area of the container without stretching the image */
}


.product-title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    /* Space between title and price */
    /* Ensure the title has some space if it's on multiple lines */
    min-height: 3em;
    /* Adjust this value based on your font-size and line-height */
}

.product-title a {
    color: #000;
    text-align: center;
    /* Center align the title */
}

.product-title a:hover {
    color: #ca293e;
}

.product-price {
    font-weight: bold;
    font-size: 24px;
    color: #4caf50;
    margin-bottom: auto;
    /* Pushes everything below it to the bottom */
}

.product-buy-link {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    gap: 8px;
}

/* Generic .quantity (cart page, etc.). The form.cart override above bumps
 * the size on archive/PDP cards; here we keep the lighter cart-row look. */
.quantity {
    display: flex;
    align-items: center;
}

.quantity input {
    width: 50px;
    margin-right: 5px;
}

/* Archive add-to-cart button (simple cards) and the variation-picker Kjøp.
 * Sized to a 56px floor so it lines up with the qib row and the Glutenfritt
 * toggle. Stretches to taller siblings via the row's align-items:stretch. */
.product-buy-link button,
.product-buy-link a {
    background-color: #000;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 0 32px;
    min-height: 60px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition: 0.25s ease-out !important;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
}

.product-buy-link button:hover,
.product-buy-link a:hover {
    background-color: #b0313d;
    color: #fff;
    border: 0;
}

/* PDP variation add-to-cart submit — matched height + horizontal padding. */
.woocommerce .single_add_to_cart_button,
.single_add_to_cart_button {
    padding: 0 40px !important;
    min-height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.product-buy-link form {
    display: flex;
    align-items: stretch;
    width: 100%;
    justify-content: center;
    gap: 8px;
    margin: 0;
}

/* ---- Elevated Surface override ----
 * The same elevated-card buy form across four contexts:
 *   .product-buy-link form          archive cards (BB PowerPack grid)
 *   .pp-add-to-cart form            Tilvalg grid (BB content grid on PDPs)
 *   form.kc-archive-picker--toggle  type-brød toggle anywhere (PDP + archive)
 *   body.single-product form.cart   PDP simple add-to-cart
 *     :not(.variations_form):not(.kc-archive-picker)
 *
 * Card: white surface, soft shadow, rounded 12px, lifts on hover.
 * Inner row height 46px (was 60px in the brutalist version).
 * Qty stepper repaints as a quiet grey track with transparent +/- buttons
 * — overrides the global black `.qib-button` rules above.
 *
 * Legacy pills picker (`.kc-archive-picker` div, not a form) and the PDP
 * variations_form (info-card layout) are explicitly excluded. */
.product-buy-link {
    display: block;
    gap: 0;
}

.product-buy-link form,
.pp-add-to-cart form,
form.kc-archive-picker--toggle,
body.single-product form.cart:not(.variations_form):not(.kc-archive-picker),
body.single-product .woocommerce-variation-add-to-cart {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    gap: 6px;
    padding: 6px 0px;
    margin: 0;
    background: #fff;
    border-radius: 12px;
}

/* Tilvalg grid (BB content grid on PDPs) absolutely-positions .pp-add-to-cart
 * at bottom: 50px to leave room for the price at bottom: 87px. The elevated
 * card adds 12px of padding on top of the 46px row, so the brutalist gap no
 * longer clears the price (the card's top edge ends up overlapping). Pin the
 * card to the very bottom of the post container so the price always sits
 * cleanly above it. */
@media screen and (min-width: 1000px) {
    body.single-product .pp-add-to-cart {
        bottom: 0 !important;
    }
}

/* Qty stepper as quiet grey track */
.product-buy-link form .qib-container,
.pp-add-to-cart form .qib-container,
form.kc-archive-picker--toggle .qib-container,
body.single-product form.cart:not(.variations_form):not(.kc-archive-picker) .qib-container,
body.single-product .woocommerce-variation-add-to-cart .qib-container {
    background: #ebe8e1;
    border-radius: 8px;
    height: 46px;
    align-items: stretch;
    flex: 0 0 auto;
    overflow: hidden;
}

.product-buy-link form .qib-container .qib-button,
.pp-add-to-cart form .qib-container .qib-button,
form.kc-archive-picker--toggle .qib-container .qib-button,
body.single-product form.cart:not(.variations_form):not(.kc-archive-picker) .qib-container .qib-button,
body.single-product .woocommerce-variation-add-to-cart .qib-container .qib-button {
    width: 34px !important;
    height: 46px !important;
    min-width: 34px !important;
    min-height: 46px !important;
    background: transparent !important;
    color: #1a1a1a !important;
    font-size: 17px !important;
}

.product-buy-link form .qib-container .qib-button:hover,
.pp-add-to-cart form .qib-container .qib-button:hover,
form.kc-archive-picker--toggle .qib-container .qib-button:hover,
body.single-product form.cart:not(.variations_form):not(.kc-archive-picker) .qib-container .qib-button:hover,
body.single-product .woocommerce-variation-add-to-cart .qib-container .qib-button:hover {
    background: rgba(0,0,0,0.06) !important;
    color: #1a1a1a !important;
}

.product-buy-link form .qib-container .qib-button:focus,
.pp-add-to-cart form .qib-container .qib-button:focus,
form.kc-archive-picker--toggle .qib-container .qib-button:focus,
body.single-product form.cart:not(.variations_form):not(.kc-archive-picker) .qib-container .qib-button:focus,
body.single-product .woocommerce-variation-add-to-cart .qib-container .qib-button:focus {
    outline: 2px solid #1a1a1a !important;
    outline-offset: -3px;
}

.product-buy-link form .qib-container .quantity,
.pp-add-to-cart form .qib-container .quantity,
form.kc-archive-picker--toggle .qib-container .quantity,
body.single-product form.cart:not(.variations_form):not(.kc-archive-picker) .qib-container .quantity,
body.single-product .woocommerce-variation-add-to-cart .qib-container .quantity {
    align-self: stretch;
}

.product-buy-link form .qib-container .quantity input.qty,
.product-buy-link form .quantity input.qty,
.pp-add-to-cart form .qib-container .quantity input.qty,
.pp-add-to-cart form .quantity input.qty,
form.kc-archive-picker--toggle .qib-container .quantity input.qty,
form.kc-archive-picker--toggle .quantity input.qty,
body.single-product form.cart:not(.variations_form):not(.kc-archive-picker) .qib-container .quantity input.qty,
body.single-product form.cart:not(.variations_form):not(.kc-archive-picker) .quantity input.qty,
body.single-product .woocommerce-variation-add-to-cart .qib-container .quantity input.qty,
body.single-product .woocommerce-variation-add-to-cart .quantity input.qty {
    width: 36px !important;
    min-width: 36px !important;
    height: 46px !important;
    min-height: 46px !important;
    background: transparent !important;
    border: 0 !important;
    color: #1a1a1a !important;
    font-size: 14px !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

/* Kjøp inside the elevated card — rounded, 46px, no red hover. Targets the
 * direct-child link/button so qib's inner +/- buttons aren't matched. The
 * doubled class names (`.product-buy-link.product-buy-link`, etc.) lift
 * specificity to 0,3,3 so this beats the global `.cart button.button[type="submit"]`
 * (0,3,1) and `.pp-add-to-cart a` (0,2,1) rules in the legacy block above. */
.product-buy-link.product-buy-link form > a,
.product-buy-link.product-buy-link form > button,
.pp-add-to-cart.pp-add-to-cart form > a,
.pp-add-to-cart.pp-add-to-cart form > button,
form.kc-archive-picker--toggle.kc-archive-picker--toggle > a,
form.kc-archive-picker--toggle.kc-archive-picker--toggle > button,
body.single-product form.cart:not(.variations_form):not(.kc-archive-picker) > a,
body.single-product form.cart:not(.variations_form):not(.kc-archive-picker) > button,
body.single-product .woocommerce-variation-add-to-cart > button.single_add_to_cart_button {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 46px !important;
    padding: 0 16px !important;
    background-color: #1a1a1a !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase;
    line-height: 1.2 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-buy-link.product-buy-link form > a:hover,
.product-buy-link.product-buy-link form > button:hover,
.pp-add-to-cart.pp-add-to-cart form > a:hover,
.pp-add-to-cart.pp-add-to-cart form > button:hover,
form.kc-archive-picker--toggle.kc-archive-picker--toggle > a:hover,
form.kc-archive-picker--toggle.kc-archive-picker--toggle > button:hover,
body.single-product form.cart:not(.variations_form):not(.kc-archive-picker) > a:hover,
body.single-product form.cart:not(.variations_form):not(.kc-archive-picker) > button:hover,
body.single-product .woocommerce-variation-add-to-cart > button.single_add_to_cart_button:hover {
    background-color: #2a2a2a !important;
    color: #fff !important;
}

.product-buy-link.product-buy-link form > a:focus-visible,
.product-buy-link.product-buy-link form > button:focus-visible,
.pp-add-to-cart.pp-add-to-cart form > a:focus-visible,
.pp-add-to-cart.pp-add-to-cart form > button:focus-visible,
form.kc-archive-picker--toggle.kc-archive-picker--toggle > a:focus-visible,
form.kc-archive-picker--toggle.kc-archive-picker--toggle > button:focus-visible,
body.single-product form.cart:not(.variations_form):not(.kc-archive-picker) > a:focus-visible,
body.single-product form.cart:not(.variations_form):not(.kc-archive-picker) > button:focus-visible,
body.single-product .woocommerce-variation-add-to-cart > button.single_add_to_cart_button:focus-visible {
    outline: 2px solid #1a1a1a !important;
    outline-offset: 3px;
}

/* Disabled state — no variation selected yet ("Velg alternativ" needed).
 * Mute the Kjøp button so it reads clearly as inert without breaking the
 * elevated-card look. */
body.single-product .woocommerce-variation-add-to-cart > button.single_add_to_cart_button:disabled,
body.single-product .woocommerce-variation-add-to-cart > button.single_add_to_cart_button.disabled,
body.single-product .woocommerce-variation-add-to-cart > button.single_add_to_cart_button.wc-variation-selection-needed {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    background-color: #1a1a1a !important;
    color: #fff !important;
}

/* Success flash — green for the wired-up AJAX picker only. */
.kc-archive-picker__buy.is-added {
    background-color: #2ea44f !important;
}

.woocommerce .price del {
    display: none !important;
}



/*-----------------------------------------------------------------------------------------------------------------
CSS QUERIES ///////////////////////////////////////////////////////////////////////////////////////////////////////
-----------------------------------------------------------------------------------------------------------------*/
/*


*/
@media screen and (min-width: 1000px) {
    .pp-product-price {
        position: absolute !important;
        bottom: 0 !important;
        left: 0;
        right: 0;
        bottom: 87px !important;
    }

    .pp-add-to-cart {
        position: absolute !important;
        left: 0;
        right: 0;
        bottom: 50px !important;
    }

    .kc23-rel-prods .related.products .woocommerce-loop-product__title {
        min-height: 5.5em;
        font-size: 18px !important;
    }
}


/* 
----------------------------------------------------------------------------
	max-width: 1200px 
----------------------------------------------------------------------------  
*/

@media screen and (max-width: 1000px) {

    .woocommerce .col2-set,
    .woocommerce .col2-set .col-1,
    .woocommerce-page .col2-set .col-1,
    .woocommerce .col2-set .col-2,
    .woocommerce-page .col2-set .col-2,
    #order_review_heading,
    #order_review {
        float: none !important;
        width: 100% !important;
    }

}


/* 
----------------------------------------------------------------------------
	max-width: 767px 
----------------------------------------------------------------------------  
*/

@media screen and (max-width: 767px) {

    /*.pp-content-post-grid .pp-content-post{*/
    /*    position: absolute !important;*/
    /*}*/
    .product-subtotal {
        text-align: right;
        padding-right: 10px !important;
    }

    .single-ingredienser ul {
        columns: 1;
        -webkit-columns: 1;
        -moz-columns: 1;

    }
}


/* 
----------------------------------------------------------------------------
	max-width: 460px (Rett under Ipad Portrett størrelse)
----------------------------------------------------------------------------  
*/

@media screen and (max-width: 460px) {}

/* Hide default checkboxes for specific fields only */
#order_varming_av_mat,
#order_hente_porselen,
#has_allergy {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 80px;
    height: 36px;
    background: #e0e0e0;
    border-radius: 18px;
    border: 2px solid #d0d0d0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 15px;
    vertical-align: middle;
}

/* Toggle switch when checked */
#order_varming_av_mat:checked,
#order_hente_porselen:checked,
#has_allergy:checked {
    background: #4CAF50;
    border-color: #45a049;
}

/* The sliding circle using ::before pseudo-element */
#order_varming_av_mat::before,
#order_hente_porselen::before,
#has_allergy::before {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 2;
}

/* Move circle when checked */
#order_varming_av_mat:checked::before,
#order_hente_porselen:checked::before,
#has_allergy:checked::before {
    transform: translateX(44px);
}

/* "Nei" text (unchecked state) using ::after pseudo-element */
#order_varming_av_mat::after,
#order_hente_porselen::after,
#has_allergy::after {
    content: 'Nei';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

/* "Ja" text (checked state) - Fixed with better contrast */
#order_varming_av_mat:checked::after,
#order_hente_porselen:checked::after,
#has_allergy:checked::after {
    content: 'Ja';
    right: auto;
    left: 8px;
    color: #2e7d32;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

/* Hover effects */
#order_varming_av_mat:hover,
#order_hente_porselen:hover,
#has_allergy:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

/* Focus styles for accessibility */
#order_varming_av_mat:focus,
#order_hente_porselen:focus,
#has_allergy:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

/* Ensure labels are properly styled */
label[for="order_varming_av_mat"],
label[for="order_hente_porselen"],
label[for="has_allergy"] {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    line-height: 1.4;
}

/* Special handling for the allergy checkbox which has different structure */
.hasAllergy .woocommerce-input-wrapper label.checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #order_varming_av_mat,
    #order_hente_porselen,
    #has_allergy {
        width: 70px;
        height: 32px;
    }
    
    #order_varming_av_mat::before,
    #order_hente_porselen::before,
    #has_allergy::before {
        width: 24px;
        height: 24px;
    }
    
    #order_varming_av_mat:checked::before,
    #order_hente_porselen:checked::before,
    #has_allergy:checked::before {
        transform: translateX(38px);
    }
    
    #order_varming_av_mat::after,
    #order_hente_porselen::after,
    #has_allergy::after {
        font-size: 10px;
    }
}

/* =============================================
   Logged-in user toolbar
   ============================================= */

#kc-user-toolbar {
    position: sticky;
    top: 0;
    z-index: 9999;
    display: flex;
    justify-content: flex-end;
    gap: 2px;
    background: #333;
    padding: 0 20px;
}

@media (max-width: 768px) {
    #kc-user-toolbar {
        position: static;
    }
}

#kc-user-toolbar .kc-toolbar-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.2s;
    position: relative;
}

#kc-user-toolbar .kc-toolbar-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

#kc-user-toolbar .kc-toolbar-link svg {
    flex-shrink: 0;
}

.kc-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #c00;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    line-height: 1;
}

/* Hide WP admin bar by default, show on toggle */
/* Disabled in prod (kc-user-toolbar off — restore native WP admin bar) */
/* .admin-bar #wpadminbar {
    display: none !important;
} */

/* Show admin bar when toggled (class is on <html>, admin-bar is on <body>) */
html.kc-wp-toolbar-visible #wpadminbar {
    display: block !important;
}

#kc-toggle-wp-toolbar {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    padding: 12px 12px;
}

#kc-toggle-wp-toolbar:hover {
    opacity: 1;
}

html.kc-wp-toolbar-visible #kc-toggle-wp-toolbar {
    opacity: 1;
}

@media (max-width: 480px) {
    #kc-user-toolbar .kc-toolbar-link {
        padding: 8px 12px;
        font-size: 10px;
    }
}

/* Product allergens */

.product-allergens {
    margin-bottom: 10px;
}

.product-allergens__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.product-allergens__item {
    display: flex;
    align-items: center;
    gap: 4px;
}
.product-allergens__more {
    color: #ad3a3a;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
}
.product-allergens__modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.product-allergens__modal-content {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    position: relative;
}
.product-allergens__modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 24px;
    text-decoration: none;
    color: #333;
    line-height: 1;
}
.product-allergens__modal-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.product-allergens__icon {
    width: 24px;
    height: 24px;
}

/* Side Cart: hide trash icon & qty box on system-managed cart rows.
 * The `.kc-protected-product` class is added by the xoo_wsc_product_args
 * filter in functions.php (kc_sidecart_mark_protected_products) on every
 * render — including the auto-fly-out AJAX repaint after add-to-cart —
 * so newly added Kokketillegg/tilvalg rows never show the trash before
 * being hidden. */
.xoo-wsc-product.kc-protected-product .xoo-wsc-smr-del,
.xoo-wsc-product.kc-protected-product .xoo-wsc-qty-box {
    display: none !important;
}