/* v13: retain original interactive header, remove shipping strip and align content. */
#lc-header > :is(.header-bg-redesign,.header-bg.desktop.mobile) {display:none!important;}
#lc-header > .sticky.desktop {top:0!important;transition:none!important;}
body.admin-bar #lc-header > .sticky.desktop {top:32px!important;}
#lc-header > .sticky > .container-fluid {max-width:1488px;margin-inline:auto;padding-inline:13px;}

#lc-header > .sticky.desktop > .container-fluid > .row {display:grid;grid-template-columns:48px 230px minmax(0,1fr) 56px;gap:36px;margin:0!important;min-height:88px;}
#lc-header > .sticky.desktop > .container-fluid > .row > div {width:auto;min-width:0;padding:0;margin:0!important;}
#lc-header .sticky .navbar-brand {margin:0;display:block;}
#lc-header .sticky .navbar-brand img {max-width:100%;height:auto!important;}
#lc-header > .sticky.desktop .navbar {padding:0;}
#lc-header > .sticky.desktop .aws-container {width:100%;}
#lc-header > .sticky.desktop .cc_cart_items_list {display:inline-block;}
#lc-header ~ #theme-main {margin-top:88px!important;}
@media(min-width:768px) and (max-width:991px) {
 #lc-header > .sticky.desktop > .container-fluid > .row {grid-template-columns:44px 180px minmax(0,1fr) 48px;gap:24px;}
}
@media(max-width:767px) {
 #lc-header > .sticky.mobile {position:relative!important;top:auto!important;padding-top:0!important;background:white!important;}
 #lc-header > .sticky.mobile > .container-fluid {width:100%;max-width:100%;padding:10px 16px!important;background:white!important;}

 #lc-header > .sticky.mobile > .container-fluid > .row {margin:0;}
 #lc-header > .sticky.mobile > .container-fluid:first-child > .row {display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:12px;}
 #lc-header > .sticky.mobile > .container-fluid > .row > div {width:auto;min-width:0;padding:0;}
 #lc-header > .sticky.mobile .navbar-brand img {max-width:220px;width:100%;}
 #lc-header > .sticky.mobile .navbar-brand {max-width:220px;margin:auto;}
 #lc-header > .sticky.mobile .navbar {padding:0;}
 #lc-header > .sticky.mobile > .container-fluid:last-child {padding-top:0!important;}
 #lc-header ~ #theme-main {margin-top:0!important;}
}
@media(min-width:768px) and (max-width:782px) {body.admin-bar #lc-header > .sticky.desktop {top:46px!important;}}
@media(max-width:767px) {
 #lc-header > .sticky.mobile > .container-fluid:last-child > .row > div {width:100%;}
 #lc-header > .sticky.mobile .aws-container {width:100%;}
}

/* Keep the original black search surround on mobile only. */
@media(max-width:767px) {
 #lc-header > .sticky.mobile > .container-fluid:last-child,
 body:has(#woocommerce-wrapper) #lc-header > .sticky.mobile > .container-fluid:last-child {
  width:100%;max-width:none;background:#000!important;padding:10px 16px!important;
 }
}

/* Keep desktop/tablet header controls clear of both screen edges. */
@media(min-width:768px) {
 #lc-header > .sticky.desktop > .container-fluid {padding-inline:32px;}

}

/* Mobile cart: preserve layout and move the complete control 10px inward. */
@media(max-width:767px) {
 #lc-header > .sticky.mobile > .container-fluid:first-child > .row > div:last-child {position:relative;right:10px;}
}

/* Checkout: match the decorative Svea marker to the buy buttons. */
body .ve-checkout-page .ve-checkout-provider::before {background:#3d7138!important;}

/* Keep the viewport width stable when the category dialog locks scrolling. */
html:has(#lc-header) {scrollbar-gutter:stable;}
@supports not (scrollbar-gutter:stable) {html:has(#lc-header) {overflow-y:scroll;}}

/* Identical centred header shell on every page type. */
body #lc-header > .sticky > .container-fluid {width:calc(100% - 64px)!important;max-width:1440px!important;margin-inline:auto!important;padding-inline:0!important;}
@media(max-width:767px) {
 body #lc-header > .sticky.mobile > .container-fluid:first-child {width:calc(100% - 32px)!important;padding-inline:0!important;}
 body #lc-header > .sticky.mobile > .container-fluid:last-child {width:100%!important;max-width:none!important;padding-inline:16px!important;}
}

/* Caddy cart amounts: stable styling before and after AJAX fragment replacement.
   Keep the existing 1rem amount size; override sale styling on nested bdi too. */
body .cc-window #cc-cart :is(.cc_item_total_price, .cc-total-amount, .woocommerce-Price-amount),
body .cc-window #cc-cart :is(.cc_item_total_price, .cc-total-amount, .woocommerce-Price-amount) :is(.price, .amount, bdi, ins, del, .woocommerce-Price-currencySymbol) {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    font-size: 1rem !important;
}

/* Consistent cart price emphasis, including refreshed and sale price markup. */
body .cc-window #cc-cart .cc_item_total_price,
body .cc-window #cc-cart .cc_item_total_price :is(.price, .amount, bdi, ins, del, strong, b, .woocommerce-Price-currencySymbol) {
    font-weight: 600 !important;
}
body .cc-window #cc-cart .cc-total-amount,
body .cc-window #cc-cart .cc-total-amount :is(.price, .amount, bdi, ins, del, strong, b, .woocommerce-Price-currencySymbol) {
    font-weight: 700 !important;
}
