
.shop-cart{width:min(610px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:26px;border:1px solid #d9e4ec;border-radius:14px;color:#193b50;box-shadow:0 24px 90px #102e4050}.shop-cart::backdrop{background:#0b273c70}.cart-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.cart-eyebrow{font-size:9px;letter-spacing:.14em;color:#6d8a9d}.cart-heading h2{font-size:25px;margin:6px 0 0}.cart-close{border:0;background:#edf4f8;width:34px;height:34px;border-radius:50%;font-size:23px;color:#284c61;cursor:pointer}.cart-status{font-size:12px;color:#13769e;margin:16px 0}.cart-status:empty{display:none}.cart-item{display:grid;grid-template-columns:70px minmax(0,1fr) auto;gap:16px;border-bottom:1px solid #e0e9ef;padding:20px 0}.cart-image{width:70px;height:70px;object-fit:contain;background:#f3f7fa;border-radius:6px;padding:6px}.cart-product-name{display:block;font-size:14px;font-weight:700}.cart-unit-price{display:block;font-size:11px;color:#708594;margin:6px 0 12px}.cart-line-controls{display:flex;align-items:center;gap:13px}.cart-quantity{display:flex;border:1px solid #d4e1e9;border-radius:5px;overflow:hidden;height:32px}.cart-quantity button{width:28px;border:0;background:#f3f7fa;color:#31566b;font-size:17px;cursor:pointer}.cart-quantity button:disabled{color:#a8b9c3;cursor:default}.cart-quantity input{width:42px;min-width:0;border:0;font:inherit;font-size:12px;text-align:center;appearance:textfield;-moz-appearance:textfield}.cart-quantity input::-webkit-inner-spin-button{-webkit-appearance:none}.cart-remove{border:0;border-bottom:1px solid #ccdce6;padding:0;background:none;font:inherit;font-size:10px;color:#6b8393;cursor:pointer}.cart-line-total{font-size:14px}.cart-total{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:22px 0;font-size:13px}.cart-total strong{font-size:22px}.cart-total:empty{display:none}.cart-actions{display:flex;gap:12px}.cart-actions button{flex:1;padding:12px;border:1px solid #bdd2df;border-radius:6px;font:inherit;font-size:12px;font-weight:650;cursor:pointer}.cart-continue{background:white;color:#216481}.cart-checkout{background:#dce5ea;color:#7b8f9b}.cart-checkout:disabled{cursor:not-allowed}.cart-preview{font-size:10px;line-height:1.7;color:#7b8f9b;margin:16px 0 0}.cart-empty{font-size:14px;line-height:1.8;padding:20px 0}
@media(max-width:500px){.shop-cart{padding:20px}.cart-item{grid-template-columns:48px minmax(0,1fr);gap:12px}.cart-image{width:48px;height:55px}.cart-line-total{grid-column:2}.cart-product-name{font-size:13px}.cart-actions{flex-direction:column}.cart-line-controls{gap:9px}}

.shop-cart{position:fixed;inset:0 0 0 auto;margin:0;width:min(480px,100vw);height:100dvh;max-height:100dvh;max-width:100vw;border:0;border-left:1px solid #d9e4ec;border-radius:0;padding:28px;box-sizing:border-box;overscroll-behavior:contain;box-shadow:-18px 0 60px #102e4026}
.shop-cart[open]{display:flex;flex-direction:column}.shop-cart .cart-items{flex:1;min-height:0;overflow:auto}.shop-cart .cart-heading,.shop-cart .cart-total,.shop-cart .cart-actions,.shop-cart .cart-preview,.shop-cart .cart-status{flex-shrink:0}.shop-cart .cart-actions{flex-direction:column}.shop-cart::backdrop{background:#09233766;backdrop-filter:blur(2px);animation:cart-dim .3s ease}
@keyframes cart-dim{from{background:transparent}to{background:#09233766}}
@media(prefers-reduced-motion:reduce){.shop-cart::backdrop{animation:none}}
@media(max-width:500px){.shop-cart{padding:22px}}

.shop-cart .cart-close{display:grid;place-items:center;padding:0;line-height:1;flex-shrink:0}.shop-cart .cart-close svg{display:block;width:18px;height:18px}
