body.spacer-theme .site-cart-drawer{
    position:fixed;
    inset:0;
    z-index:var(--z-overlay-high);
    isolation:isolate;
}

body.spacer-theme .site-cart-drawer[hidden]{
    display:none;
}

body.spacer-theme .site-cart-drawer__backdrop{
    position:absolute;
    inset:0;
    border:0;
    padding:0;
    background:transparent !important;
    color:transparent !important;
    box-shadow:none !important;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    cursor:pointer;
}

body.spacer-theme .site-cart-drawer__backdrop:hover,
body.spacer-theme .site-cart-drawer__backdrop:focus,
body.spacer-theme .site-cart-drawer__backdrop:focus-visible,
body.spacer-theme .site-cart-drawer__backdrop:active{
    background:transparent !important;
    color:transparent !important;
    box-shadow:none !important;
    border-color:transparent !important;
    transform:none !important;
}

body.spacer-theme .site-cart-drawer__panel{
    position:absolute;
    row-gap:var(--space-8) !important;
    min-height:0 !important;
    top:0;
    right:0;
    display:grid;
    grid-template-rows:auto minmax(0, 1fr);
    width:min(100%, 520px);
    height:100%;
    padding:var(--space-30) var(--space-26) var(--space-22);
    border-left:var(--border-soft);
    background:var(--bg-card) !important;
    padding-top:var(--space-8) !important;
    padding-bottom:var(--space-8) !important;
    box-shadow:var(--shadow-popover) !important;
    transform:translateX(100%);
    transition:transform var(--motion-slow) var(--ease-standard);
    overflow:hidden;
}

body.spacer-theme .site-cart-drawer__close,
body.spacer-theme .site-cart-drawer__close:hover,
body.spacer-theme .site-cart-drawer__close:focus,
body.spacer-theme .site-cart-drawer__close:focus-visible,
body.spacer-theme .site-cart-drawer__close:active{
    background:transparent !important;
    color:var(--brand-primary) !important;
    box-shadow:none !important;
    transform:none !important;
}

body.cart-drawer-open.spacer-theme{
    overflow:hidden;
}

body.cart-drawer-open.spacer-theme .site-cart-drawer__panel{
    transform:translateX(0);
}

body.spacer-theme .site-cart-drawer__header{
    column-gap:var(--space-28) !important;
    align-items:flex-start;
    justify-content:space-between;
    gap:var(--space-16);
    padding-left:var(--space-8) !important;
    padding-bottom:var(--space-22);
    border-bottom:1px solid var(--border-light);
}

body.spacer-theme .site-cart-drawer__title{
    margin:var(--space-6) 0 0;
    color:var(--text-primary);
    font-size:var(--fs-32);
    font-weight:800;
    letter-spacing:var(--type-title-tracking-tight);
    margin-top:0;
}

body.spacer-theme .site-cart-drawer__close{
    display:grid;
    place-items:center;
    width:56px;
    height:56px;
    padding:0;
    border:1px solid var(--border-light);
    border-radius:var(--radius-md);
    background:var(--bg-card) !important;
    color:var(--brand-primary) !important;
    font-size:var(--fs-24);
    line-height:1;
    box-shadow:var(--shadow-sm) !important;
}

body.spacer-theme .site-cart-drawer__close:hover,
body.spacer-theme .site-cart-drawer__close:focus,
body.spacer-theme .site-cart-drawer__close:focus-visible,
body.spacer-theme .site-cart-drawer__close:active{
    background:var(--bg-card) !important;
    color:var(--brand-primary) !important;
    border-color:var(--border-light) !important;
    box-shadow:var(--shadow-sm) !important;
    transform:none !important;
}

body.spacer-theme .site-cart-drawer__status{
    display:grid;
    grid-template-columns:minmax(0, 1fr) auto;
    align-items:start;
    gap:var(--space-12);
    position:absolute;
    top:104px;
    left:26px;
    right:26px;
    z-index:3;
    margin-top:0;
    padding:var(--space-12) var(--space-14);
    border:1px solid var(--border-light);
    border-radius:var(--radius-md);
    background:var(--bg-card);
    align-self:start;
    box-shadow:var(--shadow-sm);
}

body.spacer-theme .site-cart-drawer__status[hidden]{
    display:none;
}

body.spacer-theme .site-cart-drawer__status.is-success{
    border:var(--status-success-border);
    background:var(--status-success-surface);
}

body.spacer-theme .site-cart-drawer__status.is-info{
    border:var(--status-info-border);
    background:var(--status-info-surface);
}

body.spacer-theme .site-cart-drawer__status.is-error{
    border:var(--status-error-border);
    background:var(--status-error-surface);
}

body.spacer-theme .site-cart-drawer__status-text{
    margin:0;
    color:var(--text-primary);
    font-size:var(--fs-13);
    font-weight:700;
    line-height:1.45;
}

body.spacer-theme .site-cart-drawer__status-action{
    flex-shrink:0;
    padding:var(--space-8) var(--space-12);
    border:0;
    border-radius:999px;
    background:var(--brand-primary);
    color:var(--bg-card);
    font-size:var(--fs-12);
    font-weight:800;
    letter-spacing:var(--type-copy-tracking-wide);
    text-transform:uppercase;
}

body.spacer-theme .site-cart-drawer__content{
    min-height:0;
    overflow:hidden;
    padding-top:var(--space-18);
}

body.spacer-theme .site-cart-drawer__content-inner{
    display:grid;
    grid-template-rows:minmax(0, 1fr) auto;
    gap:var(--cluster-gap-panel);
    height:100%;
    min-height:0;
}

body.spacer-theme .site-cart-drawer__items-wrap{
    min-height:0;
    overflow:auto;
    padding-right:var(--space-4);
}

body.spacer-theme .site-cart-drawer__items{
    display:grid;
    gap:var(--cluster-gap-md);
    padding:0;
    margin:0;
    list-style:none;
}

body.spacer-theme .site-cart-drawer__item{
    display:grid;
    grid-template-columns:var(--size-72) minmax(0, 1fr) auto;
    gap:var(--cluster-gap-md);
    align-items:stretch;
    min-height:var(--size-104);
    padding:var(--space-14) var(--space-12);
    border:1px solid var(--border-light);
    border-radius:var(--radius-lg);
    background:var(--surface-warm-soft);
    box-shadow:var(--shadow-sm);
}

body.spacer-theme .site-cart-drawer__media{
    display:grid;
    place-items:center;
    width:var(--size-72);
    height:var(--size-48);
    align-self:center;
    padding:var(--space-4) var(--space-6);
    border-radius:var(--radius-8);
    background:var(--bg-page);
    overflow:hidden;
}

body.spacer-theme .site-cart-drawer__image{
    width:100%;
    height:100%;
    max-width:100%;
    object-fit:contain;
    object-position:center center;
}

body.spacer-theme .site-cart-drawer__details{
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:var(--space-4);
    min-width:0;
    align-self:center;
    min-height:var(--size-48);
    padding:0 0 0 var(--space-4);
    transform:none;
}

body.spacer-theme .site-cart-drawer__name{
    color:var(--text-primary);
    font-size:var(--fs-13);
    font-weight:800;
    line-height:1.3;
    text-decoration:none;
    margin-top:0;
}

body.spacer-theme .site-cart-drawer__meta{
    margin:0;
    color:var(--text-primary);
    font-size:var(--fs-11);
    font-weight:700;
    line-height:1.3;
}

body.spacer-theme .site-cart-drawer__item-row{
    display:flex;
    align-items:center;
    gap:var(--cluster-gap-xs);
    margin-top:var(--space-2);
}

body.spacer-theme .site-cart-drawer__qty{
    color:var(--text-secondary);
    font-size:var(--fs-13);
    font-weight:700;
    line-height:1.4;
}

body.spacer-theme .site-cart-drawer__quantity{
    display:inline-grid;
    grid-template-columns:var(--size-28) var(--size-36) var(--size-28);
    align-items:center;
    padding:var(--space-2);
    border:var(--border-accent-soft);
    border-radius:var(--control-radius);
    background:var(--bg-card);
    overflow:hidden;
    align-self:center;
}

body.spacer-theme .site-cart-drawer__qty-button{
    display:grid;
    place-items:center;
    width:var(--size-28);
    height:var(--size-28);
    min-height:var(--size-28);
    padding:0;
    border:0;
    border-radius:0;
    background:var(--bg-card) !important;
    color:var(--brand-primary) !important;
    font-size:var(--fs-16);
    font-weight:700;
    line-height:1;
    box-shadow:none !important;
}

body.spacer-theme .site-cart-drawer__qty-button:hover,
body.spacer-theme .site-cart-drawer__qty-button:focus,
body.spacer-theme .site-cart-drawer__qty-button:focus-visible,
body.spacer-theme .site-cart-drawer__qty-button:active{
    background:var(--bg-card) !important;
    color:var(--brand-primary) !important;
    transform:none !important;
    box-shadow:none !important;
}

body.spacer-theme .site-cart-drawer__qty-button:first-child{
    border-right:1px solid var(--border-light);
}

body.spacer-theme .site-cart-drawer__qty-button:last-child{
    border-left:1px solid var(--border-light);
}

body.spacer-theme .site-cart-drawer__qty-input{
    width:var(--size-36);
    height:var(--size-28);
    min-height:var(--size-28) !important;
    display:block;
    padding:0 !important;
    border:0;
    background:transparent;
    color:var(--text-primary);
    font-size:var(--fs-13);
    font-weight:800;
    line-height:1;
    font-variant-numeric:tabular-nums;
    text-align:center;
    text-indent:0;
    box-sizing:border-box;
    appearance:textfield;
    -moz-appearance:textfield;
}

body.spacer-theme .site-cart-drawer__qty-input::-webkit-outer-spin-button,
body.spacer-theme .site-cart-drawer__qty-input::-webkit-inner-spin-button{
    margin:0;
    -webkit-appearance:none;
}

body.spacer-theme .site-cart-drawer__item-total,
body.spacer-theme .site-cart-drawer__item-total .amount{
    color:var(--text-primary);
    font-size:var(--fs-14);
    font-weight:800;
    white-space:nowrap;
}

body.spacer-theme .site-cart-drawer__item-side{
    display:grid;
    justify-items:end;
    justify-self:end;
    align-self:stretch;
    align-content:center;
    gap:var(--cluster-gap-xs);
    min-width:calc(var(--size-72) + var(--space-4));
    padding:0;
}

body.spacer-theme .site-cart-drawer__price-block{
    display:grid;
    justify-items:end;
    gap:var(--space-1);
}

body.spacer-theme .site-cart-drawer__item-tax{
    color:var(--text-muted);
    font-size:var(--fs-9);
    font-weight:600;
    white-space:nowrap;
}

body.spacer-theme .site-cart-drawer__remove{
    display:grid;
    place-items:center;
    width:var(--space-30);
    height:var(--space-30);
    min-width:var(--space-30);
    min-height:var(--space-30);
    padding:0;
    border:1px solid var(--border-light);
    border-radius:var(--radius-8);
    background:var(--bg-card);
    color:var(--brand-primary);
    text-decoration:none;
    font-size:var(--fs-16) !important;
    line-height:1 !important;
    text-indent:0 !important;
    overflow:hidden;
}

body.spacer-theme .site-cart-drawer__remove:hover{
    color:var(--brand-primary-hover);
    border-color:rgba(222,0,8,0.18);
    background:var(--brand-soft);
    text-decoration:none;
}

body.spacer-theme .site-cart-drawer__summary{
    display:grid;
    gap:var(--cluster-gap-panel);
    position:sticky;
    bottom:0;
    padding:var(--panel-padding-sm);
    border:1px solid var(--border-light);
    border-radius:var(--radius-xl);
    background:var(--bg-card) !important;
    box-shadow:var(--shadow-sm) !important;
}

body.spacer-theme .site-cart-drawer__eyebrow{
    display:block;
    color:var(--brand-primary);
    font-size:var(--fs-12);
    font-weight:800;
    letter-spacing:var(--type-copy-tracking);
    text-transform:uppercase;
}

body.spacer-theme .site-cart-drawer__icon,
body.spacer-theme .site-cart-drawer__button-icon,
body.spacer-theme .site-cart-drawer__benefit-icon,
body.spacer-theme .site-cart-drawer__progress-icon{
    display:inline-grid;
    place-items:center;
    line-height:0;
}

body.spacer-theme .site-cart-drawer__icon svg,
body.spacer-theme .site-cart-drawer__button-icon svg,
body.spacer-theme .site-cart-drawer__benefit-icon svg,
body.spacer-theme .site-cart-drawer__progress-icon svg{
    width:var(--space-22);
    height:var(--space-22);
}

body.spacer-theme .site-cart-drawer__remove .site-cart-drawer__icon svg{
    width:24px;
    height:24px;
}

body.spacer-theme .site-cart-drawer__progress-copy p{
    margin:var(--space-4) 0 0;
    color:var(--success);
    font-size:var(--fs-14);
    font-weight:var(--fw-700);
}

body.spacer-theme .site-cart-drawer__progress{
    padding:var(--space-20);
    border-radius:var(--radius-lg);
    background:var(--status-success-surface);
    border:var(--status-success-border);
}

body.spacer-theme .site-cart-drawer__progress-copy-wrap{
    display:grid;
    grid-template-columns:auto minmax(0, 1fr);
    gap:var(--space-14);
    align-items:center;
}

body.spacer-theme .site-cart-drawer__progress-icon{
    width:54px;
    height:54px;
    border-radius:var(--radius-16);
    color:var(--success);
}

body.spacer-theme .site-cart-drawer__progress-copy .site-cart-drawer__eyebrow{
    color:var(--success);
}

body.spacer-theme .site-cart-drawer__progress-bar{
    height:var(--space-11);
    margin-top:var(--space-16);
    border-radius:999px;
    background:var(--success-bg);
    overflow:hidden;
}

body.spacer-theme .site-cart-drawer__progress-bar span{
    display:block;
    height:100%;
    border-radius:inherit;
    background:var(--decor-gradient-cart-progress);
}

body.spacer-theme .site-cart-drawer__totals{
    display:grid;
    gap:0;
    margin:0;
    padding:var(--space-12) var(--space-16);
    border:1px solid var(--border-light);
    border-radius:var(--radius-lg);
    background:var(--bg-card);
    box-shadow:var(--shadow-sm);
}

body.spacer-theme .site-cart-drawer__totals div{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:var(--space-12);
    padding:var(--space-12) 0;
}

body.spacer-theme .site-cart-drawer__totals div + div{
    border-top:1px solid var(--border-light);
}

body.spacer-theme .site-cart-drawer__totals dt{
    color:var(--text-secondary);
    font-size:var(--fs-14);
    font-weight:var(--fw-700);
}

body.spacer-theme .site-cart-drawer__totals dd{
    margin:0;
    color:var(--text-primary);
    font-size:var(--fs-16);
    font-weight:800;
    text-align:right;
}

body.spacer-theme .site-cart-drawer__actions{
    display:grid;
    gap:var(--cluster-gap-md);
    padding:var(--cluster-gap-xs) 0 0;
    border-top:1px solid var(--border-light);
}

body.spacer-theme .site-cart-drawer__actions .button{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:var(--space-10);
    width:100%;
    min-height:var(--control-height-md);
    border-radius:var(--control-radius);
    font-size:var(--fs-15);
    font-weight:var(--fw-800);
    text-align:center;
}

body.spacer-theme .site-cart-drawer__actions .button::after{
    content:none;
}

body.spacer-theme .site-cart-drawer__actions .button .site-cart-drawer__button-icon{
    flex:0 0 auto;
    width:var(--space-22);
    height:var(--space-22);
}

body.spacer-theme .site-cart-drawer__actions .button > span:last-child{
    min-width:0;
    text-align:center;
}

body.spacer-theme .site-cart-drawer__actions .button:hover,
body.spacer-theme .site-cart-drawer__actions .button:focus,
body.spacer-theme .site-cart-drawer__actions .button:focus-visible,
body.spacer-theme .site-cart-drawer__actions .button:active{
    transform:none !important;
}

body.spacer-theme .site-cart-drawer__actions .checkout.button,
body.spacer-theme .site-cart-drawer__actions .checkout.button:hover,
body.spacer-theme .site-cart-drawer__actions .checkout.button:focus{
    background:var(--brand-primary) !important;
    border-color:var(--brand-primary) !important;
    color:var(--bg-card) !important;
}

body.spacer-theme .site-cart-drawer__secondary.button,
body.spacer-theme .site-cart-drawer__secondary.button.alt{
    background:var(--bg-card) !important;
    color:var(--brand-primary) !important;
    border:var(--border-accent-soft) !important;
}

body.spacer-theme .site-cart-drawer__secondary.button:hover,
body.spacer-theme .site-cart-drawer__secondary.button:focus,
body.spacer-theme .site-cart-drawer__secondary.button:focus-visible,
body.spacer-theme .site-cart-drawer__secondary.button:active,
body.spacer-theme .site-cart-drawer__secondary.button.alt:hover,
body.spacer-theme .site-cart-drawer__secondary.button.alt:focus,
body.spacer-theme .site-cart-drawer__secondary.button.alt:focus-visible,
body.spacer-theme .site-cart-drawer__secondary.button.alt:active{
    background:var(--bg-card) !important;
    color:var(--brand-primary) !important;
    border-color:rgba(222,0,8,0.18) !important;
}

body.spacer-theme .site-cart-drawer__ghost.button,
body.spacer-theme .site-cart-drawer__ghost.button.alt{
    background:var(--bg-card) !important;
    color:var(--text-secondary) !important;
    border:1px solid var(--border-medium) !important;
    box-shadow:none !important;
}

body.spacer-theme .site-cart-drawer__ghost.button:hover,
body.spacer-theme .site-cart-drawer__ghost.button:focus,
body.spacer-theme .site-cart-drawer__ghost.button:focus-visible,
body.spacer-theme .site-cart-drawer__ghost.button:active,
body.spacer-theme .site-cart-drawer__ghost.button.alt:hover,
body.spacer-theme .site-cart-drawer__ghost.button.alt:focus,
body.spacer-theme .site-cart-drawer__ghost.button.alt:focus-visible,
body.spacer-theme .site-cart-drawer__ghost.button.alt:active{
    background:var(--bg-card) !important;
    color:var(--text-secondary) !important;
    border-color:var(--border-medium) !important;
    box-shadow:none !important;
}

body.spacer-theme .site-cart-drawer__benefits{
    display:grid;
    gap:var(--space-20);
    margin:0;
    padding:var(--space-26);
    list-style:none;
    border:var(--border-accent-soft);
    border-radius:var(--radius-lg);
    background:var(--state-selected-surface-soft);
    list-style:none !important;
}

body.spacer-theme .site-cart-drawer__benefits li{
    display:grid;
    grid-template-columns:auto minmax(0, 1fr);
    gap:var(--space-16);
    align-items:start;
    margin:0 !important;
    padding:0 !important;
    list-style:none !important;
}

body.spacer-theme .site-cart-drawer__benefits li::before,
body.spacer-theme .site-cart-drawer__benefits li::after{
    content:none !important;
    display:none !important;
}

body.spacer-theme .site-cart-drawer__benefits .screen-reader-text,
body.spacer-theme .site-cart-drawer__remove .screen-reader-text{
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    padding:0 !important;
    margin:-var(--space-1) !important;
    overflow:hidden !important;
    clip:rect(0, 0, 0, 0) !important;
    white-space:nowrap !important;
    border:0 !important;
}

body.spacer-theme .site-cart-drawer__benefit-icon{
    width:52px;
    height:52px;
    border:var(--border-accent-soft);
    border-radius:50%;
    color:var(--brand-primary);
    background:var(--bg-card);
}

body.spacer-theme .site-cart-drawer__benefit-copy{
    display:grid;
    gap:var(--space-4);
}

body.spacer-theme .site-cart-drawer__benefit-copy strong{
    color:var(--text-primary);
    font-size:var(--fs-15);
    font-weight:800;
    line-height:1.35;
}

body.spacer-theme .site-cart-drawer__item{
    column-gap:var(--space-18) !important;
}

body.spacer-theme .site-cart-drawer__details{
    padding-left:var(--space-4) !important;
}

@media (max-width: 768px){
    body.spacer-theme .site-cart-drawer__item{
        column-gap:var(--space-14) !important;
    }
}

body.spacer-theme .site-cart-drawer__benefit-copy span{
    color:var(--text-secondary);
    font-size:var(--fs-14);
    line-height:1.5;
}

