/* Cart drawer parity with the original Tray storefront. Scoped away from cart/checkout pages. */
html:has(.steezy-sidecart.active [data-sidecart-version="3"]){scrollbar-gutter:auto}
.steezy-sidecart:has([data-sidecart-version="3"]){background:#f5f5f5;width:min(520px,100vw);max-width:100vw;height:100dvh}
.steezy-sidecart:has([data-sidecart-version="3"])>header{height:58px;min-height:58px;display:grid;grid-template-columns:58px 1fr auto;gap:14px;padding:0 12px 0 0;background:#0b0b0b}
.steezy-sidecart:has([data-sidecart-version="3"])>header button{background:#000;width:58px;height:58px;font-size:34px;line-height:1;border:0;padding:0}
.steezy-sidecart:has([data-sidecart-version="3"])>header>div{display:contents}
.steezy-sidecart:has([data-sidecart-version="3"])>header strong{font-size:16px;font-weight:800;line-height:1.2;text-transform:uppercase;text-align:center}
.steezy-sidecart:has([data-sidecart-version="3"])>header small{background:#fff;border-radius:18px;color:#111;font-size:10px;font-weight:700;line-height:15px;padding:6px 9px;white-space:nowrap;text-transform:uppercase}
.steezy-sidecart .steezy-sidecart__body[data-sidecart-version="3"]{height:calc(100% - 58px);display:flex;flex-direction:column;overflow:hidden;min-height:0;padding:0;scrollbar-gutter:auto}
.steezy-sidecart .steezy-sidecart__feedback{flex-shrink:0;background:#fff;padding:8px 14px;margin:0;text-align:center;font-size:12px;line-height:1.4}
.steezy-sidecart .steezy-sidecart__feedback.is-error{background:#fff1f1;color:#8b1d1d}
.steezy-sidecart .steezy-sidecart__feedback[hidden]{display:none}
.steezy-sidecart .steezy-sidecart__items{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;list-style:none;margin:0;padding:14px 44px 24px;scrollbar-width:thin}
.steezy-sidecart .steezy-sidecart__items>.steezy-sidecart__item{position:relative;display:grid;grid-template-columns:108px minmax(0,1fr);grid-template-rows:auto;align-items:start;gap:0 14px;background:#fff;border:1px solid #e3e3e3;margin:0 0 14px;padding:14px;min-height:152px}
.steezy-sidecart .steezy-sidecart__thumb{display:block;grid-row:1 / 4;grid-column:1;background:#f7f7f7;border:1px solid #ececec;padding:8px;width:108px;height:122px;box-sizing:border-box}
.steezy-sidecart .steezy-sidecart__thumb img{display:block;width:100%;height:100%;object-fit:contain}
.steezy-sidecart .steezy-sidecart__details{grid-column:2;min-width:0;padding-bottom:0}
.steezy-sidecart .steezy-sidecart__name{display:block;font-size:14px;font-weight:700;line-height:1.35;color:#111;text-decoration:none;padding-right:48px;min-height:28px}
.steezy-sidecart .steezy-sidecart__attributes{margin:8px 0 18px;font-size:14px;font-weight:400;line-height:1.4;color:#292929}
.steezy-sidecart .steezy-sidecart__quantity{display:inline-grid;grid-template-columns:40px 40px 40px;height:42px;margin:0;border:1px solid #d6d6d6;vertical-align:bottom;box-sizing:border-box}
.steezy-sidecart .steezy-sidecart__quantity button,.steezy-sidecart .steezy-sidecart__quantity input{width:100%;height:40px;min-height:0;padding:0;margin:0;background:#fff;border:0;color:#222;box-shadow:none;border-radius:0;text-align:center;font-family:inherit;font-size:14px;font-weight:400;line-height:40px;box-sizing:border-box}
.steezy-sidecart .steezy-sidecart__quantity input{border-right:1px solid #e1e1e1;border-left:1px solid #e1e1e1;appearance:textfield;-moz-appearance:textfield}
.steezy-sidecart .steezy-sidecart__quantity input::-webkit-inner-spin-button,.steezy-sidecart .steezy-sidecart__quantity input::-webkit-outer-spin-button{appearance:none;margin:0}
.steezy-sidecart .steezy-sidecart__quantity button{cursor:pointer}
.steezy-sidecart .steezy-sidecart__quantity button:disabled{color:#b5b5b5;cursor:default}
.steezy-sidecart .steezy-sidecart__quantity :focus-visible,.steezy-sidecart .steezy-sidecart__remove:focus-visible,.steezy-sidecart .steezy-sidecart__continue:focus-visible{outline:2px solid #111;outline-offset:2px}
.steezy-sidecart .steezy-sidecart__remove{position:absolute;right:14px;top:18px;display:flex;align-items:center;gap:4px;color:#777;font-size:10px;line-height:16px;text-decoration:none}
.steezy-sidecart .steezy-sidecart__remove span{text-decoration:underline}
.steezy-sidecart .steezy-sidecart__remove svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.steezy-sidecart .steezy-sidecart__line-total{grid-column:2;text-align:right;align-self:end;margin-top:-27px;pointer-events:none;color:#111;font-size:17px;font-weight:800;line-height:24px;white-space:nowrap}
.steezy-sidecart .steezy-sidecart__footer{flex:0 0 auto;box-sizing:border-box;margin:0 26px;padding:24px 18px 14px;border:0;background:#fff;box-shadow:0 -12px 28px #0000000d}
.steezy-sidecart .steezy-sidecart__shipping{padding-bottom:14px;margin-bottom:12px;border-bottom:1px solid #ededed}
.steezy-sidecart .steezy-sidecart__shipping p{display:block;margin:0 0 7px;padding:9px 10px;background:#f5f5f5;color:#333;font-size:12px;font-weight:700;line-height:1.35}
.steezy-sidecart .steezy-sidecart__progress{height:5px;background:#e8e8e8;overflow:hidden}
.steezy-sidecart .steezy-sidecart__progress span{display:block;height:100%;background:#111;transition:width .2s}
.steezy-sidecart .steezy-sidecart__summary{margin-bottom:12px}
.steezy-sidecart .steezy-sidecart__total{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:15px;font-weight:700;margin:0 0 4px}
.steezy-sidecart .steezy-sidecart__total strong{font-size:23px;font-weight:800;line-height:1.3}
.steezy-sidecart .steezy-sidecart__card-total{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:12px;color:#666;margin:0}
.steezy-sidecart .steezy-sidecart__card-total strong{font-size:15px;color:#111;font-weight:700}
.steezy-sidecart .steezy-sidecart__footer>a.steezy-sidecart__checkout{display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:14px 20px;box-sizing:border-box;margin:0;background:#0b0b0b;color:#fff;font-size:16px;font-weight:800;text-transform:uppercase;text-decoration:none}
.steezy-sidecart .steezy-sidecart__continue{display:block;width:100%;padding:0;margin:14px 0 0;border:0;background:transparent;color:#666;font-family:inherit;font-size:10px;line-height:15px;text-transform:uppercase;text-align:center;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.steezy-sidecart .steezy-sidecart__assurance{margin:10px 0 0;color:#777;font-size:9px;line-height:14px;text-align:center}
.steezy-sidecart .steezy-sidecart__empty{margin:14px 44px;flex:1;min-height:0}
.steezy-sidecart[aria-busy="true"] .steezy-sidecart__items{opacity:.65}
@media(max-width:480px){
 .steezy-sidecart .steezy-sidecart__items{padding:14px 14px 20px}
 .steezy-sidecart .steezy-sidecart__items>.steezy-sidecart__item{grid-template-columns:86px minmax(0,1fr);gap:0 10px;padding:12px;min-height:148px}
 .steezy-sidecart .steezy-sidecart__thumb{width:86px;height:110px;padding:5px}
 .steezy-sidecart .steezy-sidecart__name{font-size:13px;padding-right:0;margin-right:36px}
 .steezy-sidecart .steezy-sidecart__remove{right:9px;top:12px;font-size:9px;gap:2px}
 .steezy-sidecart .steezy-sidecart__remove svg{width:11px;height:12px}
 .steezy-sidecart .steezy-sidecart__attributes{font-size:13px;margin:7px 0 14px}
 .steezy-sidecart .steezy-sidecart__quantity{grid-template-columns:32px 32px 32px;height:38px}
 .steezy-sidecart .steezy-sidecart__quantity input,.steezy-sidecart .steezy-sidecart__quantity button{height:36px;line-height:36px}
 .steezy-sidecart .steezy-sidecart__line-total{font-size:15px;margin-top:-25px}
 .steezy-sidecart .steezy-sidecart__footer{margin:0 14px;padding:20px 14px max(14px,env(safe-area-inset-bottom))}
 .steezy-sidecart .steezy-sidecart__empty{margin:14px}
}
@media(max-width:359px){
 .steezy-sidecart .steezy-sidecart__line-total{margin-top:6px;text-align:left}
 .steezy-sidecart .steezy-sidecart__items>.steezy-sidecart__item{min-height:168px}
}
@media(max-height:540px){
 .steezy-sidecart .steezy-sidecart__body[data-sidecart-version="3"]{display:block;overflow-y:auto}
 .steezy-sidecart .steezy-sidecart__items{overflow:visible;min-height:120px}
 .steezy-sidecart .steezy-sidecart__footer{padding-top:14px}
}
@media(prefers-reduced-motion:reduce){.steezy-sidecart .steezy-sidecart__progress span{transition:none}}
