.sps-header-basket-wrap{position:relative;direction:rtl;z-index:200000!important}
.sps-header-basket{position:relative;display:inline-flex;align-items:center;gap:8px;min-width:120px;height:46px;padding:0 11px;border:1px solid #e1e7ef;border-radius:13px;background:#fff;color:var(--sps-text,#172033);font:inherit;text-align:right;text-decoration:none;cursor:pointer;box-shadow:0 5px 16px rgba(16,24,40,.04);transition:border-color .2s,box-shadow .2s,transform .2s}
.sps-header-basket:hover,.sps-header-basket[aria-expanded=true]{border-color:var(--sps-primary,#2563eb);box-shadow:0 8px 20px rgba(37,99,235,.12);transform:translateY(-1px)}
.sps-header-basket__icon{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:8px;background:#eef4ff;color:var(--sps-primary,#2563eb)}
.sps-header-basket__icon svg{width:17px;height:17px}
.sps-header-basket__body{display:grid;gap:2px;min-width:0;line-height:1.2}
.sps-header-basket__body small{color:var(--sps-muted,#667085);font-size:9px}
.sps-header-basket__body strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.sps-header-basket-count{position:absolute;top:-7px;right:-7px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border:2px solid #fff;border-radius:999px;background:#ef6c4d;color:#fff;font-size:9px;font-weight:800;line-height:1}
.sps-cart-drawer{position:fixed!important;top:var(--sps-admin-bar-height,0px);right:0;bottom:0;left:0;z-index:2147483000!important;direction:rtl}
.sps-cart-drawer[hidden]{display:none}
.sps-cart-drawer__overlay{position:absolute;inset:0;z-index:0;width:100%;height:100%;padding:0;border:0;background:rgba(15,23,42,.48)!important;cursor:pointer}
.sps-cart-drawer__panel{position:absolute;top:0;right:auto;bottom:0;left:0;z-index:1;display:flex;flex-direction:column;width:min(410px,calc(100% - 28px));height:100%;min-height:0;background:#fff;box-shadow:18px 0 45px rgba(15,23,42,.28);animation:sps-cart-drawer-in .25s ease both}
@keyframes sps-cart-drawer-in{from{transform:translateX(-30px);opacity:.6}to{transform:translateX(0);opacity:1}}
.sps-cart-drawer__header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px 22px 18px;border-bottom:1px solid var(--sps-border,#e7eaf0);background:linear-gradient(135deg,#f7faff,#fff)}
.sps-cart-drawer__header h2{margin:4px 0 0;color:var(--sps-text,#172033);font-size:20px}
.sps-cart-drawer__close{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--sps-border,#e7eaf0);border-radius:50%;background:#fff;color:var(--sps-muted,#667085);font-size:24px;line-height:1;cursor:pointer;transition:background .2s,color .2s,transform .2s}
.sps-cart-drawer__close:hover{background:#fff1f1;color:#c2410c;transform:rotate(90deg)}
.sps-cart-drawer__items{display:flex;flex:1 1 auto;flex-direction:column;align-items:stretch;align-content:flex-start;gap:10px;min-height:0;overflow-y:auto;padding:18px 18px 24px;box-sizing:border-box}
.sps-cart-drawer__empty{display:grid;place-items:center;flex:0 0 auto;gap:9px;min-height:220px;padding:20px;border:1px dashed var(--sps-border,#e7eaf0);border-radius:15px;background:#fbfcfe;color:var(--sps-muted,#667085);text-align:center}
.sps-cart-drawer__empty strong{color:var(--sps-text,#172033);font-size:15px}
.sps-cart-drawer__item{display:grid;grid-template-columns:56px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:10px;border:1px solid var(--sps-border,#e7eaf0);border-radius:14px;background:#fff}
.sps-cart-drawer__item-image{width:56px;height:56px;border-radius:10px;background:#f6f8fb;object-fit:cover}
.sps-cart-drawer__item-title{display:block;overflow:hidden;color:var(--sps-text,#172033);font-size:12px;font-weight:800;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}
.sps-cart-drawer__item-meta{margin-top:5px;color:var(--sps-muted,#667085);font-size:10px}
.sps-cart-drawer__item-total{color:var(--sps-text,#172033);font-size:11px;white-space:nowrap}
.sps-cart-drawer__item-remove{display:grid;place-items:center;width:26px;height:26px;padding:0;border:1px solid #f1d6d6;border-radius:50%;background:#fff7f7;color:#c2410c;font-size:18px;line-height:1;cursor:pointer;transition:background .2s,color .2s,transform .2s}
.sps-cart-drawer__item-remove:hover{background:#c2410c;color:#fff;transform:scale(1.06)}
.sps-cart-drawer__footer{padding:18px 20px 20px;border-top:1px solid var(--sps-border,#e7eaf0);background:#fbfcfe}
.sps-cart-drawer__footer>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;color:var(--sps-muted,#667085);font-size:12px}
.sps-cart-drawer__footer>div:first-child strong{color:var(--sps-text,#172033);font-size:15px}
.sps-cart-drawer__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sps-cart-drawer__actions .sps-button,.sps-cart-drawer__checkout{min-height:42px;box-sizing:border-box;text-align:center}
.sps-cart-drawer__checkout{display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border-radius:10px;background:var(--sps-primary,#2563eb);color:#fff!important;font-size:12px;font-weight:800;text-decoration:none}
.sps-cart-drawer__continue{display:block;margin-top:13px;color:var(--sps-muted,#667085);font-size:11px;text-align:center;text-decoration:none}
.sps-cart-drawer__continue:hover{text-decoration:underline}
.sps-header-basket-wrap--mobile .sps-header-basket{min-width:46px;width:46px;padding:0;justify-content:center}
.sps-header-basket-wrap--mobile .sps-header-basket__body{display:none}
/*
 * Lock the document root instead of turning body into a new scroll
 * container. The home template contains a sticky storefront header and
 * body overflow locking makes that header recalculate its height/offset.
 */
html.sps-cart-drawer-open{overflow:hidden!important}
body.sps-cart-drawer-open{overflow:visible!important}
body.admin-bar{--sps-admin-bar-height:32px}
@media(max-width:782px){body.admin-bar{--sps-admin-bar-height:46px}}
@media(max-width:520px){.sps-header-basket-wrap--desktop .sps-header-basket{min-width:46px;width:46px;padding:0;justify-content:center}.sps-header-basket-wrap--desktop .sps-header-basket__body{display:none}}

/*
 * The home page has a sticky storefront header and its large hero layout
 * can recalculate the header's intrinsic height while body scrolling is
 * locked. Keep the header's normal storefront footprint while the cart
 * drawer is open; this is intentionally scoped to the home page.
 */
body.home.sps-cart-drawer-open .nk-storefront-header,
html.sps-cart-drawer-open body.home .nk-storefront-header{
    height:78px!important;
    min-height:78px!important;
    max-height:78px!important;
    box-sizing:border-box!important;
}
body.home.sps-cart-drawer-open .nk-storefront-header > .nk-desktop-header__inner,
html.sps-cart-drawer-open body.home .nk-storefront-header > .nk-desktop-header__inner{
    height:78px!important;
    min-height:78px!important;
    max-height:78px!important;
    box-sizing:border-box!important;
}
@media(max-width:782px){
    body.home.sps-cart-drawer-open .nk-storefront-header,
    html.sps-cart-drawer-open body.home .nk-storefront-header{
        height:64px!important;
        min-height:64px!important;
        max-height:64px!important;
    }
    body.home.sps-cart-drawer-open .nk-storefront-header > .nk-store-mobile-bar,
    html.sps-cart-drawer-open body.home .nk-storefront-header > .nk-store-mobile-bar{
        min-height:64px!important;
        height:64px!important;
        max-height:64px!important;
        box-sizing:border-box!important;
    }
}
