/* Osty's closed, transparent menu must not intercept the adjacent cart link. */
#ms-header .ms-menu-wrapper:not(.open),
#ms-header .ms-menu-wrapper:not(.open) * { pointer-events:none!important; }
#ms-header .ms-ma-bg { pointer-events:none!important; }
/* The theme measures this decoration once; keep a closed menu inside its button after rotation. */
#ms-header .ms-menu-wrapper:not(.open) ~ .ms-ma-bg { max-width:100%; }
#ms-header .main-header__cart { display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin-inline:-8px;touch-action:manipulation; }
#ms-header .main-header__cart:focus-visible { outline:2px solid #9b6900;outline-offset:3px;border-radius:6px; }

/* Native WooCommerce success message: clear next step, including dark theme. */
body.single-product .woocommerce-message { background:#f4f1ea!important;color:#071522!important;border:1px solid rgba(7,21,34,.16)!important;border-left:3px solid #9b6900!important;border-radius:12px!important;padding:15px!important;line-height:1.55!important; }
body.single-product .woocommerce-message .button { display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;background:#e5a313!important;color:#071522!important;border:1px solid #9b6900!important;border-radius:9px!important;padding:10px 17px!important;line-height:1.3!important;text-decoration:none!important; }
body.woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text { color:#071522!important; }

.ecq-cart-journey { position:fixed;z-index:9990;right:24px;bottom:max(20px,env(safe-area-inset-bottom));box-sizing:border-box;width:min(420px,calc(100% - 32px));padding:13px 16px;border:1px solid rgba(7,21,34,.18);border-radius:17px;background:#fcfaf5;color:#071522;box-shadow:0 8px 30px rgba(7,21,34,.17);font-family:inherit; }
.ecq-cart-journey[hidden] { display:none!important; }
.ecq-cart-journey__summary { display:block;margin:0 0 6px;font-size:12px;font-weight:650;line-height:1.35; }
.ecq-cart-journey__actions { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.ecq-cart-journey a { display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;line-height:1.25;font-size:13px;font-weight:750;letter-spacing:0; }
.ecq-cart-journey__cart { padding:8px 4px;color:#071522!important;text-decoration:underline!important;text-underline-offset:3px; }
.ecq-cart-journey__checkout { gap:12px;padding:11px 17px;border:1px solid #071522;border-radius:10px;background:#071522;color:#fff!important;text-decoration:none!important; }
.ecq-cart-journey__checkout:hover { background:#263443; }
.ecq-cart-journey a:focus-visible { outline:3px solid #9b6900;outline-offset:3px; }
body.ecq-has-cart-journey { padding-bottom:110px; }
html.ecq-consent-open .ecq-cart-journey,
body:has(.ecq-consent__banner:not([hidden])) .ecq-cart-journey,
body:has(#ms-header .ms-menu-wrapper.open) .ecq-cart-journey { visibility:hidden;pointer-events:none; }
@media(max-width:600px) {
 /* Release the theme's max-content logo width so cart/menu stay inside narrow phones. */
 #ms-header .main-header__logo { flex:1 1 auto!important;min-width:0!important;width:auto!important;position:relative; }
 #ms-header .main-header__logo .logo-dark,#ms-header .main-header__logo .logo-light,#ms-header .main-header__logo a { width:100%!important;max-width:190px!important; }
 #ms-header .main-header__logo img { width:190px!important;max-width:100%!important;height:auto!important; }
 #ms-header .main-header--widgets { flex:0 0 auto; }
 .ecq-cart-journey { left:12px;right:12px;width:auto;bottom:max(12px,env(safe-area-inset-bottom));padding:11px 14px;border-radius:15px; }
 body.ecq-has-cart-journey .ecq-consent__revisit { bottom:calc(118px + env(safe-area-inset-bottom)); }
}
@media(prefers-reduced-motion:reduce) { .ecq-cart-journey,.ecq-cart-journey a { transition:none!important; } }
