.floating-cart{width:min(420px,calc(100vw - 24px))}
.floating-cart-panel.open{display:flex;flex-direction:column;max-height:calc(100dvh - 160px);overflow:hidden;overscroll-behavior:contain}
.floating-cart-lines{flex:1 1 auto;min-height:0;max-height:390px;gap:0;overflow-y:auto}
.floating-cart-lines>.floating-cart-group{display:block;padding:0;border-bottom:1px solid #edf2f0}
.cart-group-head{display:grid;grid-template-columns:25px 36px minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px 0}
.cart-group-head>img{width:36px;height:36px;object-fit:cover;border-radius:7px}
.cart-group-toggle{display:grid;place-items:center;width:25px;height:25px;padding:0;border:1px solid #ded6ec;border-radius:7px;background:#fff;color:#342078;cursor:pointer}
.cart-group-toggle svg{width:15px;height:15px;transition:transform .15s}
.floating-cart-group.is-expanded .cart-group-toggle svg{transform:rotate(180deg)}
.cart-group-main{min-width:0}
.cart-group-main strong{display:block;color:#21143f;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cart-group-main small{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cart-qty-controls{display:flex;align-items:center;gap:3px;white-space:nowrap}
.cart-qty-controls button{display:grid;place-items:center;width:24px;height:24px;padding:0;border:1px solid #ded6ec;border-radius:7px;background:#fff;color:#342078;font-size:16px;line-height:1;cursor:pointer}
.cart-qty-controls b{min-width:20px;color:#21143f;text-align:center;font-size:12px}
.cart-group-details{margin:0 0 9px 36px;padding:3px 8px 5px 14px;border-left:2px solid #ded6ec;border-radius:0 8px 8px 0;background:#faf9fd}
.cart-group-details[hidden]{display:none}
.cart-care-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:start;gap:8px;padding:9px 0;border-top:1px solid #edf2f0}
.cart-care-row:first-child{border-top:0}
.cart-care-row img{width:30px;height:30px;object-fit:cover;border-radius:6px}
.cart-care-row-main{min-width:0}
.cart-care-row-main strong{display:block;color:#21143f;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cart-care-row-main small{display:block;font-size:9px}
.cart-care-row-price{color:#21143f;font-size:11px;white-space:nowrap}
.cart-care-select{display:block;width:100%;min-height:32px;margin-top:5px;padding:5px 7px;border:1px solid #dcd2eb;border-radius:8px;background:#fff;color:#21143f;font-size:10px;font-weight:650}
.cart-care-row-main em{display:block;margin-top:5px}
.cart-empty-note{margin:8px 0;color:#71817c;font-size:12px}
.floating-cart-panel .cart-express-choice{display:flex;align-items:center;gap:8px;margin-top:12px;padding:9px;border:1px solid #ded3ef;border-radius:9px;background:#f8f5ff}
.floating-cart-panel .cart-express-choice[hidden]{display:none}
.floating-cart-panel .cart-express-choice,.floating-cart-panel .floating-cart-total,.floating-cart-panel .cart-continue{flex:none}
.cart-express-choice input{flex:none}
.cart-express-choice>svg{flex:none;width:15px;height:15px}
.cart-express-choice span{flex:1;min-width:0}
.cart-express-choice strong,.cart-express-choice small{display:block}
.cart-express-choice strong{font-size:11px}.cart-express-choice small{font-size:9px}
.cart-express-choice>b{font-size:10px;white-space:nowrap}
.floating-cart-total small{display:block;color:#71817c;font-size:9px}
.floating-cart-panel .cart-continue:disabled{opacity:.6;cursor:wait}
[data-theme="dark"] .cart-care-select,[data-theme="dark"] .cart-group-toggle,[data-theme="dark"] .cart-qty-controls button{background:#211532;border-color:#493565;color:#fff}
[data-theme="dark"] .cart-group-main strong,[data-theme="dark"] .cart-care-row-main strong,[data-theme="dark"] .cart-care-row-price,[data-theme="dark"] .cart-qty-controls b{color:#fff}
[data-theme="dark"] .cart-group-details{background:#211532;border-left-color:#493565}
[data-theme="dark"] .floating-cart-panel .cart-express-choice{background:#271a3c;border-color:#493565;color:#fff}
@media(max-width:575px){.floating-cart{width:auto}.floating-cart-panel.open{max-height:calc(100dvh - 150px);overflow:hidden;padding-bottom:16px}.floating-cart-lines{max-height:none;flex:1 1 auto;min-height:0;overflow-y:auto}.floating-cart-panel.open .cart-continue{position:static;flex:none;width:100%!important}}
