/* Cloud Market cart drawer. Keep its payment summary visible while items scroll. */
.sm-body .sm-cart-drawer { width:min(100%,560px); height:100dvh; color:#f1e8f8; border-left:1px solid #ba94d326; background:radial-gradient(ellipse at 20% 0,#65427920,transparent 65%),#1b1424; font-family:Inter,sans-serif; }
.sm-body .sm-cart-drawer-header { flex-shrink:0; padding:20px 26px; border-color:#ba94d31a; }
.cm-cart-heading { display:flex; align-items:center; gap:14px; }
.cm-cart-heading > i { display:grid; place-items:center; width:46px; height:46px; border-radius:50%; color:#ddbcf5; background:#a36aca22; }
.sm-body .cm-cart-heading h2 { font-size:20px; font-weight:600; letter-spacing:-.03em; }
.cm-cart-heading p { display:flex; gap:6px; margin:5px 0 0; color:#ae94bf; font-size:11px; text-transform:uppercase; letter-spacing:.13em; }
.sm-body .cm-cart-heading p span { margin:0; font:inherit; color:inherit; }.cm-cart-heading b { font-weight:400; }
.sm-body .sm-cart-close { background:transparent; border:0; box-shadow:none; color:#dec9ec; }
.cm-cart-scroll { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#88619d55 transparent; }
.sm-body .sm-cart-items { display:grid; flex:none; overflow:visible; padding:18px 26px 8px; gap:12px; }
.sm-body .sm-cart-item { position:relative; grid-template-columns:76px minmax(0,1fr) auto; grid-template-areas:'image details remove' 'image controls price'; gap:8px 14px; padding:15px; border:1px solid #ba94d32b; border-radius:24px; background:#110b1929; }
.sm-body .sm-cart-item-image { width:76px; height:80px; object-fit:contain; border-radius:16px; background:#120d18; }
.sm-body .sm-cart-item-details { grid-area:details; }
.sm-body .sm-cart-item-details strong { white-space:normal; font-size:14px; font-weight:600; line-height:1.4; }
.sm-body .sm-cart-item-details small { white-space:normal; color:#ac96bb; font-size:12px; line-height:1.4; }
.cm-cart-line-price { grid-area:price; align-self:center; white-space:nowrap; font-size:15px; font-weight:600; color:#efe2f8; }
.sm-body .sm-cart-item-controls { grid-area:controls; grid-column:2; justify-content:flex-start; justify-self:start; gap:3px; padding:2px 5px; border:1px solid #ba94d32b; border-radius:24px; }
.sm-body .sm-cart-item-controls .sm-cart-quantity-button { width:30px; height:32px; border:0; border-radius:50%; background:transparent; color:#d6bee6; }
.sm-body .sm-cart-item-controls span { min-width:22px; font-weight:500; }
.sm-body .sm-cart-item > [data-cart-action=remove] { grid-area:remove; justify-self:end; width:28px; height:28px; background:transparent; border:0; color:#a58aaf; }
.sm-cart-quantity-button:disabled { opacity:.35; }
.cm-cart-recommendations { padding:22px 26px 20px; }
.cm-cart-recommendations h3 { font-size:17px; font-weight:400; color:#baa0c9; margin:0 0 14px; }
.cm-cart-recommendation-track { display:flex; gap:10px; overflow-x:auto; padding-bottom:12px; scrollbar-width:thin; scrollbar-color:#a16bc650 transparent; }
.cm-cart-recommendation { flex:0 0 calc((100% - 20px)/3); min-width:125px; padding:10px; border:1px solid #ba94d31c; border-radius:22px; text-decoration:none; color:#ede0f6; }
.cm-cart-recommendation img { display:block; width:100%; aspect-ratio:1; object-fit:contain; border-radius:16px; background:#110c18; }
.cm-cart-recommendation strong { display:block; margin:10px 0 6px; font-size:12px; font-weight:500; line-height:1.45; }
.cm-cart-recommendation span { color:#d7b1f0; font-size:13px; font-weight:600; }
.sm-body .sm-cart-drawer-footer { flex-shrink:0; padding:20px 26px max(16px,env(safe-area-inset-bottom)); background:#1b1424ed; border-top:1px solid #ba94d320; }
.cm-cart-coupon { display:flex; gap:10px; margin-bottom:16px; }
.cm-cart-coupon label { display:flex; align-items:center; gap:10px; flex:1; min-width:0; padding:0 16px; border:1px solid #ba94d32b; border-radius:30px; color:#aa8dbb; }
.cm-cart-coupon input { width:100%; min-width:0; height:46px; background:transparent!important; border:0!important; box-shadow:none!important; color:#ebd9f7; outline:none; font:inherit; font-size:13px; }
.cm-cart-coupon label:focus-within { outline:1px solid #c499e4; }
.cm-cart-coupon button { padding:0 20px; border:1px solid #ba94d32b; border-radius:30px; background:transparent; color:#e8d7f3; font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.cm-cart-coupon-message { font-size:12px; line-height:1.4; color:#cfb0e4; margin:-5px 0 12px; }
.cm-cart-summary-row { display:flex; justify-content:space-between; gap:14px; margin:8px 0; color:#af96bf; font-size:13px; }.cm-cart-summary-row > :last-child { color:#d9bfe9; }
.sm-body .sm-cart-total { border-top:1px solid #ba94d320; padding-top:14px; margin-top:14px; font-size:16px; font-weight:500; }.sm-body .sm-cart-total strong { font-size:24px; font-weight:600; }
.sm-body .sm-cart-checkout { width:100%; justify-content:center; min-height:52px; border-radius:30px; background:linear-gradient(110deg,#c49be5,#9763c0); color:#1c1126; font-weight:600; font-size:14px; border:0; box-shadow:none; }
.cm-cart-continue { display:block; margin:10px auto 0; min-height:28px; background:transparent; border:0; color:#aa8fbc; font-size:12px; }
.sm-cart-drawer [hidden] { display:none!important; }.sm-cart-drawer :is(a,button):focus-visible { outline:2px solid #c99ae9; outline-offset:3px; }
@media(max-width:480px) { .sm-body .sm-cart-drawer-header { padding:16px; }.sm-body .sm-cart-items { padding:14px 16px 4px; }.cm-cart-recommendations { padding:20px 16px 14px; }.sm-body .sm-cart-drawer-footer { padding:16px; }.sm-body .sm-cart-item { grid-template-columns:58px minmax(0,1fr) auto; padding:12px; gap:7px 10px; }.sm-body .sm-cart-item-image { width:58px; height:70px; }.cm-cart-line-price { font-size:13px; } }
@media(max-height:650px) { .sm-body .sm-cart-drawer-header { padding-block:10px; }.sm-body .sm-cart-drawer-footer { padding-block:10px; }.cm-cart-coupon { margin-bottom:8px; }.cm-cart-coupon input { height:38px; }.sm-body .sm-cart-checkout { min-height:44px; } }
