/* JTL header panels: native forms/routes, viewport-sized shells and no inner min-width. */
body.sx-root #shop-nav.sx-shop-nav .dropdown-menu{position:fixed!important;inset:auto!important;margin:0!important;left:var(--sx-panel-left,12px)!important;top:var(--sx-panel-top,96px)!important;right:auto!important;bottom:auto!important;transform:none!important;width:min(360px,calc(100vw - 24px));min-width:0!important;max-width:var(--sx-panel-max-width,calc(100vw - 24px));max-height:var(--sx-panel-height,calc(100dvh - 108px));overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;white-space:normal;font-size:14px;line-height:1.5;text-align:left}
body.sx-root #shop-nav.sx-shop-nav .dropdown-menu :is(.dropdown-body,.dropdown-footer,form,fieldset,.form-group,.input-group,[class*="min-w"]){min-width:0!important;max-width:100%;box-sizing:border-box}
body.sx-root #shop-nav.sx-shop-nav .dropdown-menu :is(.dropdown-body,.dropdown-footer){width:100%;padding:16px}
body.sx-root #shop-nav.sx-shop-nav .dropdown-menu :is(legend,label,.dropdown-item,.dropdown-footer,a:not(.btn)){font-size:14px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
body.sx-root #shop-nav.sx-shop-nav #quick-login legend{float:none;width:100%;margin:0 0 16px;padding:0 0 8px;font-weight:600}
body.sx-root #shop-nav.sx-shop-nav #quick-login{width:100%;margin:0;padding:0}
body.sx-root #shop-nav.sx-shop-nav #quick-login :is(input:not([type=hidden]),.form-control){display:block;width:100%;min-width:0!important;max-width:100%;height:46px;min-height:46px;font-size:16px;line-height:1.4;box-sizing:border-box}
body.sx-root #shop-nav.sx-shop-nav #quick-login .form-group{display:flex;flex-direction:column;margin-bottom:16px;padding:0}
body.sx-root #shop-nav.sx-shop-nav #quick-login .form-group>.flex-column-reverse{flex-direction:column!important}
body.sx-root #shop-nav.sx-shop-nav #quick-login .form-group label{order:-1;position:static;inset:auto!important;transform:none!important;display:block;width:auto;height:auto;margin:0 0 6px;padding:0;font-size:13px!important;line-height:1.4;color:#20272c;background:transparent;opacity:1;pointer-events:auto}
body.sx-root #shop-nav.sx-shop-nav #quick-login .form-group input:not([type=hidden]){padding:10px 12px}
body.sx-root #shop-nav.sx-shop-nav .dropdown-menu .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%;min-width:0;min-height:44px;font-size:14px;line-height:1.4;padding:11px 14px;white-space:normal;overflow-wrap:anywhere;text-align:center}
body.sx-root #shop-nav.sx-shop-nav .dropdown-menu .btn-block{width:100%}
body.sx-root #shop-nav.sx-shop-nav .dropdown-menu :is(a.btn-primary,a.btn-primary:hover,a.btn-primary:focus-visible,button.btn-primary,.btn-success,.btn-danger){color:#fff}
body.sx-root #shop-nav.sx-shop-nav .dropdown-menu :is(a.btn-primary,button.btn-primary)>*{color:inherit}
body.sx-root #shop-nav.sx-shop-nav .dropdown-footer{display:flex;flex-wrap:wrap;align-items:center;gap:4px;border-top:1px solid #dfe3e6}
body.sx-root #shop-nav.sx-shop-nav #account-dropdown-menu>a{display:inline-block;margin-top:8px;padding-block:4px}
body.sx-root #shop-nav.sx-shop-nav .dropdown-menu .cart-dropdown-empty{display:block;padding:16px;margin:0;white-space:normal;overflow-wrap:anywhere;font-size:14px;line-height:1.6}
body.sx-root #shop-nav.sx-shop-nav .dropdown-menu :is(.wishlist-dropdown-items,.table-responsive){max-width:100%;min-width:0;overflow-x:auto}
body.sx-root #shop-nav.sx-shop-nav .dropdown-menu :is(.dropdown-cart-items,.wishlist-dropdown-items table){width:100%;table-layout:fixed}
body.sx-root #shop-nav.sx-shop-nav .dropdown-menu :is(td,th){min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.5}
body.sx-root #shop-nav.sx-shop-nav .dropdown-cart-items td:last-child{width:100px}
body.sx-root #shop-nav.sx-shop-nav .dropdown-cart-items :is(.col,.form-row){min-width:0;max-width:100%}
body.sx-root #shop-nav.sx-shop-nav .simple-captcha-wrapper{max-width:100%;overflow-x:auto}
@media(max-width:420px){body.sx-root #shop-nav.sx-shop-nav .dropdown-menu{width:calc(100vw - 24px)}}

/* Long native/CMS headings must wrap inside their own column on narrow screens. */
body.sx-root:not(.sx-home) #content :is(h1,.h1){font-size:clamp(26px,3.4vw,42px);line-height:1.22;max-width:100%;overflow-wrap:anywhere;hyphens:auto}
body.sx-root #content :is(h2,h3,h4,.h2,.h3){max-width:100%;overflow-wrap:anywhere;hyphens:auto}
body.sx-root #content :is(p,li,dd,td,a){overflow-wrap:anywhere}
/* A wrapping column flexbox creates off-screen columns when many categories open. */
@media(max-width:991px){body.sx-root #sx-navigation .sx-nav{flex-wrap:nowrap;overflow-x:hidden;max-height:var(--sx-category-height,calc(100dvh - 160px))}}

/* Native basket data with a compact list instead of the narrow two-column table. */
body.sx-root #shop-nav.sx-shop-nav #cart-dropdown-container.sx-mini-cart{width:min(440px,calc(100vw - 24px));padding:0!important;border:1px solid #e0e4e8;border-radius:12px;box-shadow:0 16px 48px #09090924}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid #e8ebed}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart-heading strong{font-size:17px;line-height:1.4;color:#20272c}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart-heading>span{padding:4px 9px;border-radius:20px;background:#f3f4f6;color:#4e5962;font-size:12px;white-space:nowrap}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart-items-wrap{max-height:min(360px,42dvh);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart-items{list-style:none;margin:0;padding:0}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart-item{display:flex;align-items:flex-start;gap:14px;margin:0;padding:16px 20px;border-bottom:1px solid #edf0f2}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart-thumb{flex:0 0 64px;display:grid;place-items:center;width:64px;height:64px;overflow:hidden;border:1px solid #edf0f2;border-radius:8px;background:#f8f9fa}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart-thumb :is(picture,img){display:block;width:64px!important;height:64px!important;max-width:64px;max-height:64px;object-fit:contain;opacity:1;mix-blend-mode:normal;margin:0}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart-copy{flex:1;min-width:0}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart-copy>a{display:block;font-size:14px!important;font-weight:500;line-height:1.45!important;color:#20272c;text-decoration:none;hyphens:auto;overflow-wrap:anywhere}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart-copy>a:hover{color:#b60022;text-decoration:underline}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart-meta{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px 14px;margin-top:9px}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart-quantity{font-size:12px;color:#59646d;line-height:1.5}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart-price{margin-left:auto;font-size:15px;line-height:1.5;font-weight:700;color:#20272c;white-space:nowrap;font-variant-numeric:tabular-nums}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart-price small{display:block;font-size:11px;line-height:1.3;font-weight:400;color:#59646d;text-align:right}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart .dropdown-body{padding:16px 20px 20px;background:#fafbfc}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart-totals{margin:0 0 16px;font-size:12px;line-height:1.6;color:#59646d}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart-totals>li{margin-bottom:6px;overflow-wrap:anywhere;color:#59646d}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart-totals .cart-dropdown-total-item-price{float:right;margin-left:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart-totals>.font-weight-bold-util{padding-top:10px;margin-top:10px;border-top:1px solid #e0e4e8;font-size:16px;line-height:1.5;color:#20272c}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart .cart-dropdown-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart .cart-dropdown-buttons>div{width:100%;max-width:100%;min-width:0;padding:0;margin:0;flex:none}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart .cart-dropdown-buttons .btn{width:100%;height:48px;min-height:48px;margin:0;padding:10px;font-size:13px;font-weight:600;line-height:1.3;border-radius:7px}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart .cart-dropdown-buttons .btn-primary{color:#fff;background:#e4002b;border-color:#e4002b}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart .cart-dropdown-buttons .btn-primary:hover{background:#b60022;border-color:#b60022}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart .cart-dropdown-buttons .btn-outline-primary{color:#20272c;background:#fff;border-color:#bcc4cb}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart .cart-dropdown-buttons .btn-outline-primary:hover{color:#b60022;border-color:#b60022;background:#fff}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart .item-overflow-notice{padding:12px 20px;font-size:12px}
body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart .cart-dropdown-empty{padding:24px 20px;line-height:1.6}
@media(max-width:420px){body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart-item{padding:14px 16px;gap:12px}body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart-thumb{flex-basis:52px;width:52px;height:52px}body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart-thumb :is(picture,img){width:52px!important;height:52px!important;max-width:52px;max-height:52px}body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart .dropdown-body{padding:16px}body.sx-root #shop-nav.sx-shop-nav .sx-mini-cart .cart-dropdown-buttons{grid-template-columns:minmax(0,1fr)}}
