/* Variant B: display preference only; no checkout or pricing state changes. */
.m24-servicebar { background:#f2f5f9; border-bottom:1px solid #dce3eb; color:#52677b; }
.m24-servicebar-inner { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1px 24px; min-height:44px; }
.m24-servicebar .m24-servicebar-inner::before, .m24-servicebar .m24-servicebar-inner::after { display:none; }
.m24-service-benefits { display:flex; align-items:center; gap:28px; margin-left:var(--m24-service-left,0px); }
.m24-service-benefits > span { display:inline-flex; align-items:center; gap:6px; }
.m24-service-benefits > span, .m24-customer-switch label > span { font:500 14px/1.4 Raleway,Verdana,Helvetica,Arial,sans-serif; }
.m24-service-benefits svg { flex:none; width:16px; height:16px; color:#17649a; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.m24-customer-switch { display:inline-flex; flex:none; gap:2px; min-width:0; margin:5px var(--m24-service-right,0px) 5px auto; padding:3px; border:0; border-radius:24px; background:#e1e7f0; }
.m24-customer-switch label { position:relative; margin:0; cursor:pointer; }
.m24-customer-switch input { position:absolute; width:1px; height:1px; padding:0; margin:0; opacity:0; }
.m24-customer-switch label > span { display:block; padding:7px 16px; border-radius:20px; white-space:nowrap; }
.m24-customer-switch input:checked + span { background:#fff; color:#17649a; box-shadow:0 1px 3px #263b5026; }
.m24-customer-switch input:focus-visible + span { outline:2px solid #17649a; outline-offset:2px; }
@media (max-width:1199px) {
 .m24-service-benefits { flex-wrap:wrap; gap:4px 16px; padding:4px 0; }
 .m24-service-benefits > span { white-space:nowrap; }
}
@media (orientation:landscape) and (hover:none) and (pointer:coarse) and (max-device-height:599px),
       (orientation:portrait) and (max-width:1199px) {
 .m24-service-benefits { display:none; }
}
@media(max-width:767px) {
 .m24-servicebar-inner { flex-direction:column; justify-content:center; gap:1px; padding-top:5px; padding-bottom:5px; }
 .m24-service-benefits { align-self:flex-start; max-width:calc(100% - var(--m24-service-left,0px)); }
 .m24-customer-switch { align-self:flex-end; margin:2px var(--m24-service-right,0px) 0 0; max-width:100%; }
 .m24-customer-switch label > span { padding:7px 15px; }
}
@media(max-width:991px) {
 .m24-servicebar-inner.container { width:100%; max-width:none; }
 #header.m24-price-header .header-top { position:relative; }
}
@media print { .m24-servicebar { display:none!important; } }
/* The price control shares the existing account/cart area. */
#header.m24-price-header .headerIconsColumn .meta-navigation .user { display: flex; align-items: center; justify-content: flex-end; gap: 14px; float: none !important; margin: 0; padding: 0; }
#header.m24-price-header .headerIconsColumn .meta-navigation .user > li { flex: 0 0 auto; width: auto; margin: 0; padding: 0; }
#header.m24-price-header .headerIconsColumn .meta-navigation { margin: 0; padding: 0; }
#header.m24-price-header .headerIconsColumn .userLink a, #header.m24-price-header .headerIconsColumn .user > li:last-child a { display: flex; position: relative; align-items: center; justify-content: center; width: 34px; height: 44px; padding: 0; }
#header.m24-price-header .headerIconsColumn .userLink img, #header.m24-price-header .headerIconsColumn .user > li:last-child img { width: 30px; height: 30px; }
#header.m24-price-header #cartContentIndicator { position: absolute; top: 1px; right: -3px; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 10px; font-size: 10px; line-height: 16px; text-align: center; }
#header.m24-price-header .headerSearchColumn .input-group, #header.m24-price-header .headerSearchColumn .topSearchText, #header.m24-price-header .headerSearchColumn input[name="keywords"] { width: 100%; max-width: 100%; min-width: 0; }
#header.m24-price-header .headerSearchColumn .box-search-box { position: static; float: none; width: 100%; max-width: none; margin: 0; padding: 0; }
#header.m24-price-header .headerSearchColumn .topSearchText { height: auto; }
#header.m24-price-header .headerSearchColumn .topSearchText input[name="keywords"] { position: relative; top: auto; left: auto; right: auto; float: none; height: 40px; margin: 0; }
#header.m24-price-header .headerPhoneColumn { display: none !important; }
@media (min-width: 992px) {
    #header.m24-price-header .naviPane > .row { display: flex; align-items: center; }
    #header.m24-price-header .naviPane > .row::before, #header.m24-price-header .naviPane > .row::after, #header.m24-price-header .m24-header-tools > .row::before, #header.m24-price-header .m24-header-tools > .row::after { display: none; }
    #header.m24-price-header .m24-header-tools > .row { display: flex; align-items: center; gap: 18px; margin: 0; }
    #header.m24-price-header .headerIconsColumn { flex: 0 0 auto; width: auto; padding: 0; }
    #header.m24-price-header .headerIconsColumn .meta-navigation { height: auto; }
    #header.m24-price-header .headerIconsColumn .userLink a,
    #header.m24-price-header .headerIconsColumn .user > li:last-child a { margin-top: 0; }
    #header.m24-price-header .headerSearchColumn .topSearchText input[name="keywords"] { margin-top: 0 !important; }
    #header.m24-price-header .headerSearchColumn { flex: 1 1 160px; min-width: 135px; width: auto; padding: 0; }
    #header.m24-price-header .headerSearchColumn .search-box-form { margin: 0; width: 100%; }
    #header.m24-price-header .main-navigation { margin-bottom: 0; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    #header.m24-price-header .headerIconsColumn .meta-navigation .user { gap: 9px; }
    #header.m24-price-header .m24-header-tools > .row { gap: 12px; }
    #header.m24-price-header .headerSearchColumn { min-width: 0; }
}
@media (min-width: 992px) and (max-width: 1366px) {
    #header.m24-price-header .m24-header-tools { padding: 0 45px 0 0; }
}
@media (min-width: 1367px) {
    #header.m24-price-header .naviPane { padding-left: 15px; padding-right: 15px; }
    #header.m24-price-header .naviPane > .row { margin: 0; }
    #header.m24-price-header .m24-header-navigation { flex: 1 1 auto; width: auto; min-width: max-content; padding-right: 8px; }
    #header.m24-price-header .m24-header-tools { flex: 0 1 474px; width: 474px; min-width: 0; max-width: 52%; }
    #header.m24-price-header .main-navigation .navbar-collapse > .navbar-nav { width: max-content; }
}
@media (max-width: 991px) {
    #header.m24-price-header { position: relative; top: auto; left: auto; right: auto; width: 100%; height: auto; min-height: 0; padding: 0; margin: 0; z-index: 1000; }
    #header.m24-price-header .header-top { height: auto; min-height: 0; padding: 0; }
    #header.m24-price-header .header-top > .container { width: 100%; padding: 0 12px; }
    #header.m24-price-header .header-top > .container > .row { display: grid; grid-template-columns: 36px minmax(80px, 1fr) auto; grid-template-rows: 64px auto; align-items: center; column-gap: 8px; margin: 0; }
    #header.m24-price-header .naviPane, #header.m24-price-header .naviPane > .row, #header.m24-price-header .m24-header-navigation, #header.m24-price-header .m24-header-tools, #header.m24-price-header .m24-header-tools > .row { display: contents; }
    #header.m24-price-header .header-top > .container > .row::before, #header.m24-price-header .header-top > .container > .row::after, #header.m24-price-header .naviPane > .row::before, #header.m24-price-header .naviPane > .row::after, #header.m24-price-header .m24-header-tools > .row::before, #header.m24-price-header .m24-header-tools > .row::after { display: none; }
    #header.m24-price-header .col-logo { grid-column: 2; grid-row: 1; position: static; float: none; width: auto; height: auto; padding: 0; box-shadow: none; }
    #header.m24-price-header .col-logo .sidebarInnerContent { float: none !important; width: auto; padding: 0; }
    #header.m24-price-header .col-logo .logo { position: static; width: auto; height: auto; margin: 0; padding: 0; text-align: center; }
    #header.m24-price-header .col-logo .logo a { display: block; }
    #header.m24-price-header .col-logo .logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 50px; margin: 0 auto; padding: 0; object-fit: contain; }
    #header.m24-price-header .main-navigation { grid-column: 1; grid-row: 1; position: static; width: 36px; min-height: 0; margin: 0; padding: 0; border: 0; }
    #header.m24-price-header .navbar-header { position: static; float: none; margin: 0; padding: 0; }
    #header.m24-price-header .main-navigation .navbar-header button.navbar-toggle { position: relative; top: auto; left: auto; right: auto; float: none; display: flex; align-items: center; justify-content: center; width: 36px; height: 44px; min-height: 44px; margin: 0; padding: 9px 6px; }
    #header.m24-price-header .navbar-toggle .caret { display: none; }
    #header.m24-price-header .navbar-toggle .burger { float: none !important; }
    #header.m24-price-header .main-navigation .navbar-collapse { position: absolute; top: 64px; left: 0; right: 0; width: 100%; max-height: calc(100dvh - 64px); overflow-y: auto; margin: 0; border: 0; background: #fff; box-shadow: 0 8px 16px rgba(25, 47, 62, .12); z-index: 1002; }
    #header.m24-price-header .main-navigation .navbar-collapse > .navbar-nav { position: static; float: none; width: 100%; height: auto; margin: 0; padding: 8px 12px; }
    #header.m24-price-header .headerIconsColumn { grid-column: 3; grid-row: 1; position: static; float: none; width: auto; height: auto; margin: 0; padding: 0; }
    #header.m24-price-header .headerIconsColumn .meta-navigation .user { gap: 8px; }
    #header.m24-price-header .headerIconsColumn .userLink a, #header.m24-price-header .headerIconsColumn .user > li:last-child a { display: flex; align-items: center; justify-content: center; min-width: 28px; min-height: 44px; padding: 0; }
    #header.m24-price-header .headerIconsColumn .userLink img, #header.m24-price-header .headerIconsColumn .user > li:last-child img { width: 25px; height: 25px; max-width: 25px; object-fit: contain; }
    #header.m24-price-header .headerSearchColumn { grid-column: 1 / -1; grid-row: 2; position: static; float: none; width: 100%; height: auto; margin: 0; padding: 8px 0 12px; }
    #header.m24-price-header .headerSearchColumn .search-box-form { position: static; width: 100%; max-width: none; margin: 0; }
    #header.m24-price-header .headerSearchColumn .input-group, #header.m24-price-header .headerSearchColumn .topSearchText, #header.m24-price-header .headerSearchColumn input[name="keywords"] { width: 100%; max-width: none; }
}

.m24-box-price-line, .m24-suggest-price > span { display: block; }
.m24-suggest-price small { font-size: 11px; font-weight: 400; }
.m24-suggest-price > span:first-child { font-weight: 700; }
.m24-suggest-price > span + span { font-size: 12px; }
html[data-m24-price-view="net"] .product-listing [data-m24-price-pair="table"] [data-m24-price="gross"] td { font-weight: 400; }
html[data-m24-price-view="net"] .product-listing [data-m24-price-pair="table"] [data-m24-price="gross"] .price-tag { font-weight: 400; }
html[data-m24-price-view="net"] .product-listing [data-m24-price-pair="table"] [data-m24-price="net"] td { font-weight: 700; }
.m24-product-pair #priceBruttoArea { font-weight: 700; }
html[data-m24-price-view="gross"] .m24-product-pair [data-m24-price="net"] span { font-weight: 400 !important; }
html[data-m24-price-view="net"] .m24-product-pair #priceBruttoArea { font-size: 16px !important; line-height: 1.25; font-weight: 400 !important; color: #000 !important; }
html[data-m24-price-view="net"] .m24-product-pair #priceBruttoArea .price-tag { font-weight: 400 !important; font-size: inherit; color: inherit !important; }
html[data-m24-price-view="net"] .m24-product-pair #priceNettoArea,
html[data-m24-price-view="net"] .m24-product-pair #priceNettoArea + span { font-size: 30px; line-height: 1.1; font-weight: 700 !important; color: #17649a; }
html[data-m24-price-view="net"]:not(.m24-price-ready) #container .priceBlock,
html[data-m24-price-view="net"]:not(.m24-price-ready) #container .pricetble { visibility: hidden; }
/* Use the same numeral metrics and baseline for both category prices. */
.product-listing [data-m24-price-pair="table"] td { vertical-align: baseline; }
.product-listing [data-m24-price-pair="table"] td:last-child { white-space: nowrap; }
.product-listing [data-m24-price-pair="table"] [data-m24-price="net"] td:last-child { font-family: Jost; }

/* These pairs contain only native cart values supplied by Smarty. */
.m24-cart-price { display:flex; flex-direction:column; align-items:flex-end; gap:3px; line-height:1.4; font-family:Jost,sans-serif; }
.m24-cart-price > [data-m24-price] { display:block; color:#000; font-size:12px; font-weight:400; }
.m24-cart-price > [data-m24-price]:first-child { color:#17649a; font-size:16px; font-weight:700; }
.m24-cart-price .m24-price-amount, .m24-cart-price .m24-price-amount .price-tag { color:inherit!important; font-size:inherit!important; font-weight:inherit!important; font-style:normal!important; white-space:nowrap; }
.m24-cart-price .m24-tax-label { font-size:11px; font-weight:400; white-space:nowrap; }
.m24-cart-price .m24-discount { display:block; font-size:11px; font-weight:400; }
.m24-cart-price .price-old { font-size:11px; font-weight:400; }
#coe_ajax_cart_slide .m24-cart-price { align-items:flex-start; }
#coe_ajax_cart_slide .text-right .m24-cart-price { align-items:flex-end; }
@media (max-width:991px) {
 #coe_ajax_cart_slide .m24-canvas-price-row { display:grid; gap:6px; margin:0; }
 #coe_ajax_cart_slide .m24-canvas-summary-row { display:grid; grid-template-columns:minmax(0,1fr) max-content; align-items:baseline; gap:8px; margin:0; }
 #coe_ajax_cart_slide .m24-canvas-price-row::before, #coe_ajax_cart_slide .m24-canvas-price-row::after,
 #coe_ajax_cart_slide .m24-canvas-summary-row::before, #coe_ajax_cart_slide .m24-canvas-summary-row::after { display:none; }
 #coe_ajax_cart_slide .m24-canvas-price-row > div, #coe_ajax_cart_slide .m24-canvas-summary-row > div { float:none; width:auto; min-width:0; max-width:none; padding:0; }
 #coe_ajax_cart_slide .cart-subinner .m24-canvas-price-row .m24-cart-price { align-items:flex-start; text-align:left; }
 #coe_ajax_cart_slide .m24-canvas-price-row [data-m24-price], #coe_ajax_cart_slide .m24-canvas-summary-row > :last-child { white-space:nowrap; }
}
@media (max-width:360px) {
 #coe_ajax_cart_slide .m24-canvas-price-row .m24-cart-price > [data-m24-price]:first-child { font-size:14px; }
 #coe_ajax_cart_slide .m24-canvas-price-row .m24-tax-label { font-size:10px; }
 #coe_ajax_cart_slide .m24-canvas-summary-row { font-size:15px; }
}
#checkout-confirmation .m24-confirmation-mobile-prices .m24-cart-price { align-items:flex-start; }
html[data-m24-price-view="net"] #checkout-confirmation .m24-cart-price > [data-m24-price="gross"] { display:none; }
@media(min-width:992px) { #checkout-confirmation .m24-confirmation-mobile-prices { display:none!important; } }

/* Confirmation for the price display preference */
.m24-price-dialog {
    box-sizing: border-box;
    width: min(460px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: clamp(20px, 5vw, 32px);
    overflow: auto;
    overscroll-behavior: contain;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #263b50;
    box-shadow: 0 16px 48px #152a3e40;
    text-align: left;
}
.m24-price-dialog:not([open]) { display: none; }
.m24-price-dialog::backdrop { background: #14283c80; }
html:has(.m24-price-dialog[open]) { overflow: hidden; }
.m24-price-dialog form { margin: 0; }
.m24-price-dialog h2 {
    margin: 0 36px 16px 0;
    color: #263b50;
    font-size: clamp(21px, 4vw, 26px);
    font-weight: 700;
    line-height: 1.22;
}
.m24-price-dialog p { margin: 0; font-size: 16px; line-height: 1.5; }
.m24-price-dialog p + p { margin-top: 8px; color: #52677b; }
.m24-price-dialog-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #263b50;
}
.m24-price-dialog-close:hover { background: #f2f5f9; }
.m24-price-dialog-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.m24-price-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.m24-price-dialog-actions .btn { min-height: 44px; padding: 9px 18px; border-radius: 6px; font-size: 16px; font-weight: 600; }
.m24-price-dialog-actions .btn-default { border: 1px solid #b7c5d3; background: #fff; color: #263b50; }
.m24-price-dialog-actions .btn-default:hover { background: #f2f5f9; }
.m24-price-dialog-actions .btn-primary { border: 1px solid #17649a; background: #17649a; color: #fff; }
.m24-price-dialog-actions .btn-primary:hover { border-color: #10537f; background: #10537f; }
.m24-price-dialog button:focus-visible { outline: 2px solid #17649a; outline-offset: 2px; }
@media (max-width: 480px) {
    .m24-price-dialog-actions { flex-direction: column; }
}

@media (min-width: 768px) and (max-width: 991px) {
    #coe_ajax_cart_slide .cart-subinner .quantity.cac-input-group { width: auto; min-width: 0; flex-wrap: nowrap; }
    #coe_ajax_cart_slide .cart-subinner .quantity.cac-input-group .input-number { min-width: 0; }
    #coe_ajax_cart_slide .cart-subinner .product-delete { margin-left: 6px; }
}
