/* Scoped drawer styles. No checkout, catalogue or stock rules. */
#sx-cart-drawer:not([open]) { display: none; }
#sx-cart-drawer { position: fixed; inset: 0 0 0 auto; box-sizing: border-box; width: min(460px, 100%); max-width: 100%; height: 100vh; height: 100dvh; max-height: 100%; margin: 0 0 0 auto; padding: 0; border: 0; border-radius: 0; background: #fff; color: #282329; box-shadow: -12px 0 40px #0002; text-align: left; font-family: inherit; }
#sx-cart-drawer[open] { display: block; animation: sx-cart-enter .22s ease-out; }
#sx-cart-drawer::backdrop { background: rgb(25 15 23 / 45%); }
html.sx-cart-drawer-open { overflow: hidden; }
body.sx-cart-drawer-ready #masthead .header-cart .widget_shopping_cart { display: none !important; }
#sx-cart-drawer *, #sx-cart-drawer *::before, #sx-cart-drawer *::after { box-sizing: border-box; }
#sx-cart-drawer [hidden] { display: none !important; }
#sx-cart-drawer .sx-cart-drawer-shell { height: 100%; display: flex; flex-direction: column; }
#sx-cart-drawer .sx-cart-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid #e9e3e6; flex-shrink: 0; }
#sx-cart-drawer h2 { margin: 0; padding: 0; font-size: 22px; line-height: 1.3; font-weight: 600; text-transform: none; color: inherit; }
#sx-cart-drawer .sx-cart-drawer-close { display: grid; place-items: center; width: 44px; min-width: 44px; height: 44px; padding: 0; border: 1px solid #e9e3e6; border-radius: 50%; background: #fff; color: #282329; font-size: 29px; font-weight: 400; line-height: 1; cursor: pointer; }
#sx-cart-drawer .sx-cart-drawer-status { margin: 0; padding: 14px 22px; font-size: 14px; line-height: 1.5; }
#sx-cart-drawer .sx-cart-drawer-status:empty { display: none; }
#sx-cart-drawer .sx-cart-drawer-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 22px; }
#sx-cart-drawer .sx-cart-drawer-content { min-height: 100%; display: flex; flex-direction: column; }
#sx-cart-drawer ul.cart_list { display: block; flex: 1; margin: 0; padding: 0; list-style: none; }
#sx-cart-drawer ul.cart_list li { position: relative; display: flow-root; float: none; width: 100%; min-height: 136px; margin: 0; padding: 22px 40px 22px 100px; border-bottom: 1px solid #e9e3e6; font-size: 14px; line-height: 1.55; list-style: none; }
#sx-cart-drawer ul.cart_list li a:not(.remove) { display: block; margin: 0 0 8px; color: #282329; font-size: 14px; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
#sx-cart-drawer ul.cart_list li img { position: absolute; left: 0; top: 22px; float: none; width: 82px; height: 100px; margin: 0; padding: 6px; border: 1px solid #f0ecee; border-radius: 4px; background: #faf8f9; object-fit: contain; }
#sx-cart-drawer ul.cart_list li a.remove { position: absolute; inset: 18px 0 auto auto; display: grid; place-items: center; float: none; width: 36px; height: 36px; margin: 0; padding: 0; border: 1px solid #e9e3e6; border-radius: 50%; background: #fff; color: #595159 !important; font-size: 24px; font-weight: 400; line-height: 1; text-decoration: none; }
#sx-cart-drawer ul.cart_list li a.remove:hover { background: #faf0f5; border-color: #a20c56; }
#sx-cart-drawer ul.cart_list li .quantity { display: block; float: none; width: auto; margin: 8px 0 0; color: #595159; font-size: 14px; }
#sx-cart-drawer ul.cart_list li dl { margin: 6px 0; padding: 0; border: 0; font-size: 13px; }
#sx-cart-drawer ul.cart_list li dt, #sx-cart-drawer ul.cart_list li dd { margin: 0 5px 0 0; padding: 0; }
#sx-cart-drawer ul.cart_list li dd p { margin: 0; }
#sx-cart-drawer .woocommerce-mini-cart__total { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 22px 0 16px; border: 0; color: #282329; font-size: 18px; line-height: 1.5; }
#sx-cart-drawer .woocommerce-mini-cart__buttons { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; }
#sx-cart-drawer .woocommerce-mini-cart__buttons a { display: block; float: none; width: 100%; min-height: 48px; margin: 0; padding: 12px; border: 1px solid #a20c56; border-radius: 4px; background: #fff; color: #861247; font-size: 15px; font-weight: 600; line-height: 1.5; text-align: center; text-transform: none; white-space: normal; text-decoration: none; }
#sx-cart-drawer .woocommerce-mini-cart__buttons a.checkout { order: -1; background: #a20c56; color: #fff; }
#sx-cart-drawer .woocommerce-mini-cart__empty-message { margin: 0; padding: 32px 0; font-size: 16px; line-height: 1.6; }
#sx-cart-drawer .sx-cart-drawer-note { margin: 14px 0 20px; color: #6a6269; font-size: 12px; line-height: 1.5; }
#sx-cart-drawer .sx-cart-drawer-foot { flex-shrink: 0; margin-top: auto; padding: 12px 22px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid #e9e3e6; text-align: center; }
#sx-cart-drawer .sx-cart-drawer-fallback { display: block; padding: 12px 0; font-size: 15px; color: #861247; text-decoration: underline; }
#sx-cart-drawer .sx-cart-drawer-continue { min-height: 44px; margin: 0; padding: 8px 12px; border: 0; border-radius: 0; background: transparent; color: #595159; font-size: 14px; text-decoration: underline; text-transform: none; cursor: pointer; }
#sx-cart-drawer a:focus-visible, #sx-cart-drawer button:focus-visible { outline: 2px solid #861247; outline-offset: 3px; }
@keyframes sx-cart-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { #sx-cart-drawer[open] { animation: none; } }
@media (max-width: 380px) {
    #sx-cart-drawer .sx-cart-drawer-head { padding: 12px 16px; }
    #sx-cart-drawer .sx-cart-drawer-body { padding: 0 16px; }
    #sx-cart-drawer ul.cart_list li { padding-left: 78px; padding-right: 38px; }
    #sx-cart-drawer ul.cart_list li img { width: 66px; height: 84px; }
}
