/* Header redesign styles, separate from the optional announcement bar. */
/* CheckoutWC retains its reactive item count and native close control. */
/* Keep the actual thumbnail and native React controls, arranging them with CSS only. */
#cfw-side-cart .cfw-cart-table tbody{display:block}
#cfw-side-cart .cfw-cart-table .cart-item-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:8px 14px;padding:20px 0;border-bottom:1px solid #d8e0e8!important}
#cfw-side-cart .cfw-cart-table .cart-item-row:last-child{border-bottom:0!important}
#cfw-side-cart .cfw-cart-table .cart-item-row>td,#cfw-side-cart .cfw-cart-table .cart-item-row>th{padding:0!important;border:0!important}
#cfw-side-cart .cfw-cart-table .cart-item-row .cfw-cart-item-description{display:contents}
#cfw-side-cart .cfw-cart-table .cart-item-row .cfw-cart-item-image{grid-column:1;grid-row:1/4}
#cfw-side-cart .cfw-cart-table .cart-item-row .cfw-cart-item-title{grid-column:2;grid-row:1}
#cfw-side-cart .cfw-cart-table .cart-item-row .cfw-cart-item-data{grid-column:2/4;grid-row:2}
#cfw-side-cart .cfw-cart-table .cart-item-row .cfw_side_cart_item_after_data{grid-column:2;grid-row:3;justify-self:end}
#cfw-side-cart .cfw-cart-table .cart-item-row .cfw-cart-item-subtotal{grid-column:3;grid-row:1;align-self:start}
#cfw-side-cart .cfw-cart-table .cart-item-row .cfw-cart-item-remove{grid-column:3;grid-row:3;align-self:end;padding-bottom:7px!important}
#cfw-side-cart .ilp-basket-empty{display:inline-block;margin:0;padding:0;border:0;background:transparent;color:#606670;font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
#cfw-side-cart .ilp-basket-empty[hidden]{display:none}
#cfw-side-cart .ilp-basket-empty:disabled{opacity:.5;cursor:wait}
#cfw-side-cart{--cfw-body-text-color:#606670;--cfw-body-link-color:#414e70;--cfw-buttons-primary-background-color:#414e70;--cfw-buttons-primary-hover-background-color:#303d5e;--cfw-buttons-primary-text-color:#fff;font-family:Neulis,Arial,sans-serif;font-size:14px;color:#606670;line-height:1.5;border-radius:0 0 20px 0}
#cfw-side-cart #cfw-side-cart-form{overflow-y:auto}
#cfw-side-cart .cfw-side-cart-contents{flex-grow:0;padding:24px}
#cfw-side-cart .cfw-cart-table{width:100%;margin:0}
#cfw-side-cart .cfw-cart-table .cart-item-row>td,#cfw-side-cart .cfw-cart-table .cart-item-row>th{padding-block:20px;vertical-align:top;border-bottom:1px solid #d8e0e8}
#cfw-side-cart .cfw-cart-table .cart-item-row .cfw-cart-item-image{width:64px;padding-right:14px}
#cfw-side-cart .cfw-cart-item-image img{width:52px;height:52px;object-fit:contain}
#cfw-side-cart .cfw-cart-table .cart-item-row .cfw-cart-item-description .cfw-cart-item-title{font-size:14px;font-weight:600;line-height:1.5;margin-bottom:6px}
#cfw-side-cart .cfw-cart-item-title :is(a,span){font-size:inherit;font-weight:inherit;color:#606670}
#cfw-side-cart .cfw-cart-table .cart-item-row .cfw-cart-item-description .cfw-cart-item-data{font-size:12px;line-height:1.5;color:#606670}
#cfw-side-cart .cfw-cart-item-subtotal{font-size:14px;font-weight:400;white-space:nowrap}
#cfw-side-cart .cfw-quantity-stepper{margin-top:12px;border:1px solid #cbd2df;border-radius:3px;opacity:1;font-size:12px}
#cfw-side-cart .cfw-quantity-stepper :is(.cfw-quantity-stepper-btn-minus,.cfw-quantity-stepper-btn-plus){min-width:26px;min-height:30px;border:0}
#cfw-side-cart .cfw-quantity-stepper .cfw-quantity-stepper-value-label{min-width:26px;font-weight:400}
#cfw-side-cart .cfw-cart-item-remove .cfw-remove-item-button{display:inline-block;color:#414e70;background:transparent;border:0;font-size:12px;line-height:1.5;text-decoration:underline;text-underline-offset:3px}
#cfw-side-cart .cfw-cart-item-remove .cfw-remove-item-button svg{display:none}
#cfw-side-cart .cfw-cart-item-remove .cfw-remove-item-button::after{content:'Remove'}
#cfw-side-cart .cfw-side-cart-contents-footer{margin:0;padding:24px;border-top:1px solid #d8e0e8}
#cfw-side-cart .cfw-side-cart-contents-footer-border-shim{display:none}
#cfw-side-cart .cart-subtotal th{font-size:16px;font-weight:400}
#cfw-side-cart .cart-subtotal td{font-size:24px;font-weight:500}
#cfw-side-cart .wc-proceed-to-checkout{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
#cfw-side-cart .wc-proceed-to-checkout>a{flex:1 1 40%;width:auto;margin:0;min-height:44px;border-radius:3px;font-size:14px;font-weight:400;line-height:1.5;padding:11px 16px;box-sizing:border-box;text-align:center;text-decoration:none}
#cfw-side-cart .wc-proceed-to-checkout .ilp-basket-view-cart{order:-1;border:1px solid #b8c5d9;background:#fff;color:#414e70}
#cfw-side-cart .wc-proceed-to-checkout .cfw-side-cart-close-trigger{flex-basis:100%;background:transparent;color:#414e70;text-decoration:underline}
#cfw-side-cart .cfw-coupon-wrap{font-size:13px}
#cfw-side-cart .wc-proceed-to-checkout .ilp-basket-continue{flex:1 0 100%;order:2;padding:0;min-height:30px;border:0;background:transparent;color:#414e70;font:inherit;font-size:13px;text-decoration:underline;text-underline-offset:3px;text-align:center;cursor:pointer}
#cfw-side-cart .cfw-cart-item-remove .cfw-remove-item-button{font-weight:400;opacity:1}
#cfw-side-cart :is(a,button):focus-visible{outline:2px solid #53688e;outline-offset:3px}
#cfw-side-cart #cfw-side-cart-form{padding-top:0}
#cfw-side-cart .cfw-side-cart-contents{padding-top:24px}
#cfw-side-cart .cfw-side-cart-contents-header{display:flex;align-items:center;gap:14px;position:relative;margin:0;padding:18px 24px;border-bottom:1px solid #d8e0e8;text-align:left;min-height:69px;box-sizing:border-box}
#cfw-side-cart .cfw-side-cart-contents-header .ilp-basket-drawer-title{order:0;margin:0;color:#414e70;font-family:inherit;font-size:24px;font-weight:500;line-height:1.3}
#cfw-side-cart .cfw-side-cart-contents-header .cfw-side-cart-quantity-wrap{order:1}
#cfw-side-cart .cfw-side-cart-contents-header .cfw-side-cart-quantity-wrap svg{display:none}
#cfw-side-cart .cfw-side-cart-contents-header .cfw-side-cart-quantity{display:inline-flex!important;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;box-sizing:border-box;border-radius:50%;background:#edf1f5;color:#414e70;font-size:11px;line-height:1;font-weight:400}
#cfw-side-cart .cfw-side-cart-contents-header .cfw-side-cart-close-btn{order:2;position:static;margin-left:auto;display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex-shrink:0}
#cfw-side-cart .cfw-side-cart-contents-header .cfw-side-cart-close-btn svg{width:18px;height:18px;color:#606975}
.site-header{background:#424647;backdrop-filter:none;-webkit-backdrop-filter:none}
.site-header .ilp-header-logo img{filter:brightness(0) invert(1);opacity:.85}
.site-header .ilp-header-layout{max-width:1648px;padding-inline:24px;box-sizing:border-box}
.site-header .ilp-header-cart-icon{width:22px;height:22px;fill:none}
.site-header .ilp-cart-count{top:-2px;right:-3px;min-width:12px;width:auto;height:12px;padding:0 2px;box-sizing:border-box;line-height:12px;font-size:8px;font-weight:400;background:#68757d;color:#fff;border-radius:50%;text-align:center}

/* Anchor dropdowns to the complete sticky header, not the old 60px nav height. */
@media(min-width:1024px){
 .site-header .ilp-mega-item{position:static}
 .site-header .ilp-mega-panel{position:absolute;top:100%;left:0;right:0}
}
body.admin-bar .site-header{top:32px}
@media(min-width:601px) and (max-width:782px){body.admin-bar .site-header{top:46px}}
@media(max-width:600px){body.admin-bar .site-header{top:0}}
@media(max-width:767px){.site-header .ilp-header-layout{padding-inline:10px}}
.site-header .ilp-header-actions{justify-self:end}
.ilp-account-icon:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.ilp-account-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px}
.ilp-account-icon svg{width:22px;height:22px}
@media(max-width:1023px){
 .site-header .ilp-header-layout{position:relative;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:4px}
 .site-header .ilp-header-logo{grid-column:2;grid-row:1;justify-self:center}
 .site-header .ilp-header-mobile-controls{grid-column:3;grid-row:1;gap:4px}
 .site-header .ilp-header-mobile-controls [data-drawer-toggle]{position:absolute;left:10px;top:50%;transform:translateY(-50%)}
 .site-header .ilp-header-mobile-controls [data-modal-toggle="#site-search-overlay"]{position:absolute;left:42px;top:50%;transform:translateY(-50%)}
 .site-header .ilp-mobile-header-action{width:28px;min-width:28px}
}
@media(max-width:374px){.site-header .ilp-header-logo img{width:88px}.site-header .ilp-header-mobile-controls{gap:0}}
