
body #top .as-header-row{display:grid!important;grid-template-columns:minmax(255px,1fr) minmax(300px,760px) minmax(260px,1fr);align-items:center;gap:28px;padding:12px 0!important;margin:0!important}
body #top #header-left,body #top #header-right{float:none!important;width:auto!important;padding:0!important;margin:0!important;min-width:0!important}
body #top #header-left{display:flex!important;align-items:center!important;gap:20px}
body #top #header-left .logo{max-width:190px!important;width:190px!important;flex:0 1 190px;margin:0!important;padding:0!important}
body #top #header-left .logo img{width:100%!important;height:auto!important;max-height:48px!important}
body #top #header-left>.col-md-12{padding:0!important;margin:0!important;width:auto!important;flex:0 0 auto}
body #top #header-left #language_form .dropdown{margin:0!important}
body #top #header-left #language_form .dropdown-toggle{font-size:12px!important;font-weight:500!important;color:#ddd!important}
body #top #header-right{display:contents!important}
body #top .as-header-search{width:100%!important;padding:0!important;margin:0!important;min-width:0!important}
body #top .as-header-search .search_form{position:relative!important;width:100%!important;max-width:760px!important;height:44px!important;margin:0 auto!important;float:none!important}
body #top .as-header-search #search_query{box-sizing:border-box!important;width:100%!important;height:44px!important;min-height:44px!important;line-height:normal!important;padding:0 52px 0 18px!important;border:1px solid #d9d9d9!important;border-radius:9px!important;background:#f8f8f8!important;color:#252525!important;font-family:inherit!important;font-size:14px!important;box-shadow:none!important}
body #top .as-header-search #search_query::placeholder{color:#777!important;opacity:1}
body #top .as-header-search #search_query:focus{outline:2px solid #24a394!important;outline-offset:2px!important;background:#fff!important}
body #top .as-header-search .button-search{position:absolute!important;right:0!important;top:0!important;left:auto!important;width:46px!important;height:44px!important;margin:0!important;border:0!important;background:none!important;color:#333!important;display:flex!important;align-items:center;justify-content:center;cursor:pointer;z-index:2}
body #top .as-header-search .button-search:before{font-size:18px!important;margin:0!important}
body #top .as-header-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;width:auto!important;padding:0!important;margin:0!important;white-space:nowrap}
body #top .as-header-actions>.my-account{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 40px;width:40px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#f1f1f1!important;box-shadow:none!important}
body #top .as-header-actions>.my-account:hover{background:#ffffff12!important;color:#fff!important}
body #top .as-header-actions a:focus-visible,body #top .as-header-actions .cart-heading:focus-visible{outline:2px solid #4fd1bc!important;outline-offset:2px!important}
body #top #cart_block{display:block!important;float:none!important;width:auto!important;margin:0!important;padding:0!important}
body #top #cart_block .cart-heading{display:flex!important;align-items:center!important;gap:8px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0 4px!important;position:relative!important;cursor:pointer}
body #top #cart_block .cart-icon{display:flex!important;align-items:center!important;justify-content:center!important;float:none!important;width:40px!important;height:44px!important;margin:0!important;background:none!important;color:#f1f1f1!important;border-radius:7px!important}
body #top #cart_block .cart-icon img{display:none!important}
body #top #cart_block .cart-count{position:absolute!important;left:27px!important;right:auto!important;top:0!important;width:17px!important;height:17px!important;line-height:17px!important;font-size:10px!important;margin:0!important;border-radius:50%!important;background:#be264b!important;color:#fff!important}
body #top #total_price_ajax{display:block!important;margin:0!important;padding:0!important;color:#eee!important;font-size:13px!important;font-weight:500!important}
body #top #total_price_ajax p{margin:0!important}body #top #total_price_ajax:after{display:none!important}
body #top .as-header-search #autocomplete-results{position:absolute;top:calc(100% + 8px);left:0;width:100%;z-index:1005}
body #top .as-header-search .ui-autocomplete{max-height:min(60vh,480px);overflow-y:auto;border-radius:10px;box-shadow:0 12px 30px #0002}
@media(min-width:768px) and (max-width:1150px){body #top .as-header-row{grid-template-columns:220px minmax(240px,1fr) auto;gap:18px}body #top #header-left{gap:12px}body #top #header-left .logo{width:155px!important;flex-basis:155px}body #top .as-header-actions{gap:5px!important}body #top #total_price_ajax{display:none!important}}
@media(max-width:767px){body #top .as-header-row{grid-template-columns:minmax(0,1fr) auto;gap:12px 8px;padding:12px 0 14px!important}body #top #header-left{grid-column:1;grid-row:1;gap:8px}body #top #header-left .logo{width:clamp(92px,27vw,150px)!important;max-width:150px!important;flex:0 1 auto}body #top #header-left>.col-md-12{max-width:66px!important}body #top #header-left #language_form .dropdown-toggle{font-size:11px!important}body #top .as-header-search{grid-column:1/-1;grid-row:2}body #top .as-header-actions{grid-column:2;grid-row:1;gap:3px!important}body #top .as-header-actions>.my-account{flex-basis:36px;width:36px!important;height:42px!important;min-height:42px!important}body #top .as-header-actions svg{width:21px;height:21px}body #top #cart_block .cart-heading{padding:0!important;gap:0!important;height:42px!important;min-height:42px!important}body #top #cart_block .cart-icon{width:36px!important;height:42px!important}body #top #cart_block .cart-count{left:24px!important;top:0!important}body #top #total_price_ajax{display:none!important}body #top .as-header-search #search_query{font-size:16px!important}}
@media(max-width:360px){body #top .as-header-actions{gap:1px!important}body #top .as-header-actions>.my-account{flex-basis:32px;width:32px!important}body #top #cart_block .cart-icon{width:32px!important}body #top #header-left #language_form .dropdown-toggle{font-size:10px!important}}

body #top .as-header-row:before,body #top .as-header-row:after{display:none!important;content:none!important}
body #top #cart_block .cart-icon{border:0!important;box-shadow:none!important}
body #top #cart_block #total_price,body #top #cart_block #total_price_ajax,body #top #cart_block #total_price_ajax *{color:#eee!important}
body #top #cart_block .cart-heading:after{display:none!important}

@media(min-width:1151px){body #top .as-header-actions{justify-content:flex-start!important;padding-left:28px!important}}
body #top .as-header-actions > a.my-account[href*="account/wishlist"],body #top .as-header-actions > a.my-account[href*="account/wishlist"]:hover{color:#ef3340!important}
body #top .as-header-actions > a.my-account[href*="account/wishlist"] svg{fill:#ef3340}

body #top .as-header-actions>.my-account,body #top .as-header-actions>.my-account:hover,body #top #cart_block .cart-icon{color:#ef3340!important}
body #top .as-header-actions svg{width:22px;height:22px;stroke-width:1.7;vertical-align:middle}
body #top .as-header-actions>.my-account:hover,body #top #cart_block .cart-heading:hover .cart-icon{background:#ef334014!important;border-radius:7px!important}
.product-info .as-compare-add{display:flex!important;align-items:center;justify-content:center;gap:9px;width:100%;min-height:44px;margin:10px 0 0;padding:10px 14px;border:1px solid #ddd;border-radius:7px;background:#fff;color:#333;font-size:14px;line-height:1.4;cursor:pointer}
.product-info .as-compare-add svg{color:#ef3340;width:20px;height:20px}
.product-info .as-compare-add:hover{border-color:#ef3340;background:#fff8f8}
.product-info .as-compare-add:focus-visible{outline:2px solid #ef3340;outline-offset:2px}

body #top .as-header-actions>.my-account{position:relative!important}
body #top .as-header-actions .as-saved-count{position:absolute;top:0;right:0;min-width:17px;height:17px;padding:0 3px;background:#ef3340;color:#fff;border-radius:10px;font:600 10px/17px Arial,sans-serif;text-align:center}
body #top .as-header-actions .as-saved-count[hidden]{display:none!important}
.product-info .links .as-wish-saved{color:#d9253a!important}
.product-info .as-compare-saved{border-color:#ef3340;background:#fff3f4}

/* ===== Product page actions (2026-10-17): quantity stepper + favorites/compare buttons ===== */
body .product-info .cart .add-to-cart .quantity{display:inline-flex!important;align-items:center;width:auto!important;height:48px!important;padding:0!important;border:1px solid #ddd!important;border-radius:24px!important;background:#fff!important;overflow:hidden;box-sizing:border-box;margin:4px 8px 0 0!important}
body .product-info .cart .add-to-cart .quantity input#quantity_wanted{order:2;width:36px!important;min-width:0!important;height:46px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;text-align:center!important;font-size:16px!important;font-weight:600;color:#111!important}
body .product-info .cart .add-to-cart .quantity #q_up,body .product-info .cart .add-to-cart .quantity #q_down{display:inline-flex!important;position:static!important;align-items:center;justify-content:center;width:30px!important;height:46px!important;margin:0!important;padding:0!important;border:0!important;background:none!important;color:#555!important;font-size:13px!important;line-height:1!important;text-decoration:none!important;cursor:pointer;transform:none!important}
body .product-info .cart .add-to-cart .quantity #q_down{order:1}
body .product-info .cart .add-to-cart .quantity #q_up{order:3}
body .product-info .cart .add-to-cart .quantity #q_up i,body .product-info .cart .add-to-cart .quantity #q_down i{font-size:13px!important;margin:0!important}
body .product-info .cart .add-to-cart .quantity #q_up:hover,body .product-info .cart .add-to-cart .quantity #q_down:hover{color:#ce3854!important}
body .product-info .cart .add-to-cart #button-cart,body .product-info .cart .add-to-cart #button-cart1{max-width:calc(100% - 116px)!important}
body .product-info .cart .links.as-actions{display:flex!important;flex-wrap:nowrap;margin:16px 0 0!important;padding:0!important;border:1px solid #e5e5e5!important;border-radius:0!important;background:#fff!important;overflow:hidden}
body .product-info .cart .links.as-actions:before,body .product-info .cart .links.as-actions:after{display:none!important}
body .product-info .cart .links.as-actions>a,body .product-info .cart .links.as-actions>.as-compare-add{flex:1 1 50%!important;width:auto!important;min-width:0;display:flex!important;align-items:center;justify-content:center;gap:10px;height:56px!important;margin:0!important;padding:0 10px!important;float:none!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;color:#111!important;font-family:inherit;font-size:14px!important;font-weight:700!important;letter-spacing:.3px;line-height:1.2!important;text-align:center!important;text-transform:none!important;text-decoration:none!important;white-space:nowrap;cursor:pointer;transition:color .15s,background-color .15s}
body .product-info .cart .links.as-actions>a{order:-1;border-right:1px solid #e5e5e5!important}
body .product-info .cart .links.as-actions>a i{font-size:21px!important;width:auto!important;margin:0!important;color:inherit!important;line-height:1!important}
body .product-info .cart .links.as-actions>.as-compare-add svg{color:inherit!important;stroke:currentColor!important;width:22px!important;height:22px!important;flex:0 0 22px;margin:0!important}
body .product-info .cart .links.as-actions>a span,body .product-info .cart .links.as-actions>.as-compare-add span{display:inline!important;font-size:inherit!important;font-weight:inherit!important;color:inherit!important;margin:0!important}
body .product-info .cart .links.as-actions>a:hover,body .product-info .cart .links.as-actions>.as-compare-add:hover,body .product-info .cart .links.as-actions>a:focus-visible,body .product-info .cart .links.as-actions>.as-compare-add:focus-visible{color:#ce3854!important;background:#fdf3f5!important;outline:none}
body .product-info .cart .links.as-actions>a.as-wish-saved,body .product-info .cart .links.as-actions>.as-compare-add.as-compare-saved{color:#ce3854!important}
@media (max-width:480px){
body .product-info .cart .links.as-actions>a,body .product-info .cart .links.as-actions>.as-compare-add{height:52px!important;gap:8px;font-size:13px!important;padding:0 6px!important;letter-spacing:0}
body .product-info .cart .links.as-actions>a i{font-size:20px!important}
body .product-info .cart .links.as-actions>.as-compare-add svg{width:20px!important;height:20px!important;flex-basis:20px}
}

/* ===== Mobile fixes (2026-10-17 b) ===== */
/* Quantity box on phones/tablets: compact and centred under the cart button */
@media (max-width:1024px){
body .product-info #product.as-compact-purchase .add-to-cart .quantity{width:108px!important;max-width:100%!important;margin:0!important;justify-self:center;justify-content:space-between}
body .product-info #product.as-compact-purchase .add-to-cart .quantity input#quantity_wanted{flex:1 1 auto;width:auto!important}
body .product-info #product.as-compact-purchase .add-to-cart .quantity #q_up,body .product-info #product.as-compact-purchase .add-to-cart .quantity #q_down{width:34px!important;flex:0 0 34px}
}
/* Newsletter popup: higher on phones and above floating badges */
.mfp-bg.popup-module,.mfp-wrap.popup-module{z-index:2147483600!important}
@media (max-width:767px){
.mfp-wrap.popup-module .mfp-container{padding-top:6vh!important;padding-bottom:24px!important}
.mfp-wrap.popup-module .mfp-container:before{display:none!important}
.mfp-wrap.popup-module .mfp-content{vertical-align:top!important}
}
/* Cookie banner: hide the BestPrice badge while the banner is open so it can't cover the buttons */
html.as-consent-open .bestprice__placeholder{display:none!important}
body:has(#as-consent:not([hidden])) .bestprice__placeholder{display:none!important}
/* Instant, clean taps on touch screens */
#as-consent button,#as-consent-reopen,.product-info .cart .links.as-actions>a,.product-info .cart .links.as-actions>.as-compare-add,.product-info .quantity a,#button-cart,#button-cart1,.mfp-wrap.popup-module button,.mfp-wrap.popup-module .mfp-close{touch-action:manipulation;-webkit-tap-highlight-color:rgba(206,56,84,.15)}

/* ===== Header icons alignment (2026-10-17 c) ===== */
body #top #cart_block .cart-heading{padding-left:0!important;padding-right:0!important}
body #top #cart_block .cart-icon{padding:0!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;line-height:1!important}
body #top #cart_block .cart-icon svg{display:block!important;margin:0!important;position:static!important}
body #top #cart_block .cart-count{left:23px!important;right:auto!important;top:0!important;background:#ef3340!important;min-width:17px;height:17px!important;line-height:17px!important;font-size:10px!important;border-radius:10px}
@media(max-width:767px){body #top #cart_block .cart-count{left:19px!important}}
@media(max-width:360px){body #top #cart_block .cart-count{left:15px!important}}
