/* Родные CS — корзина на сайте (rcs-site-cart) */
.rcsc2-fab{position:fixed;right:22px;bottom:22px;z-index:1500;width:58px;height:58px;border-radius:50%;border:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#8fa6ff,#4f6df5);color:#fff;cursor:pointer;box-shadow:0 0 0 4px rgba(96,128,255,.18),0 10px 26px rgba(40,60,180,.55);transition:transform .15s}
.rcsc2-fab:hover{transform:translateY(-2px)}
.rcsc2-fab svg{width:26px;height:26px}
.rcsc2-fab b{position:absolute;top:-4px;right:-4px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#ff3d6e;color:#fff;font:800 12px/22px Arial,sans-serif;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 3px #0b0f1c}
.rcsc2-fab.bump{animation:rcsc2bump .45s}
@keyframes rcsc2bump{0%{transform:scale(1)}40%{transform:scale(1.18)}100%{transform:scale(1)}}
.rcsc2-add{display:inline-flex !important;align-items:center;gap:7px;margin-left:8px}
.rcsc2-add svg{width:18px;height:18px}
#button .rcsc2-add{margin-left:8px}
.rcsc2-toast{position:fixed;left:50%;bottom:92px;transform:translateX(-50%);z-index:10060;max-width:90vw;padding:11px 18px;border-radius:14px;background:#111a2e;border:1px solid #2c3a66;color:#fff;font:600 14px Arial,sans-serif;box-shadow:0 10px 30px rgba(0,0,0,.5)}
.rcsc2-toast.bad{border-color:#7f1d1d;color:#fecaca}
.rcsc2-modal{position:fixed;inset:0;z-index:10050;background:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center;padding:14px}
.rcsc2-box{width:100%;max-width:640px;max-height:100%;overflow-y:auto;border-radius:22px;border:1px solid rgba(96,128,255,.35);background:radial-gradient(90% 60% at 0% 0%,rgba(96,128,255,.18),rgba(96,128,255,0) 60%),#0e1322;padding:18px;color:#e2e8f0;font-family:Arial,sans-serif;box-shadow:0 24px 60px rgba(0,0,0,.6)}
.rcsc2-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.rcsc2-head b{display:flex;align-items:center;gap:10px;font-size:20px;color:#fff}
.rcsc2-head b svg{width:24px;height:24px;color:#8fa6ff}
.rcsc2-x{width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.08);color:#fff;font-size:15px;cursor:pointer}
.rcsc2-empty{padding:26px 10px 10px;text-align:center;color:#94a3b8;line-height:1.6}
.rcsc2-links{display:flex;justify-content:center;gap:8px;margin:12px 0 4px;flex-wrap:wrap}
.rcsc2-links a{padding:7px 14px;border-radius:999px;border:1px solid #2c3a66;color:#c7d2fe;text-decoration:none;font-size:13px}
.rcsc2-list{display:flex !important;flex-direction:column;align-items:stretch !important;gap:8px}
.rcsc2-item{width:100%;box-sizing:border-box;display:grid;grid-template-columns:52px minmax(0,1fr) auto auto 34px;gap:10px;align-items:center;padding:10px;border-radius:14px;background:#0b1020;border:1px solid #1c2540}
.rcsc2-item img,.rcsc2-ph{width:52px;height:52px;border-radius:12px;object-fit:cover;background:#151c2e}
.rcsc2-ph{display:flex;align-items:center;justify-content:center;color:#64708f}.rcsc2-ph svg{width:24px;height:24px}
.rcsc2-info{min-width:0}.rcsc2-info b{display:block;color:#fff;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rcsc2-info small{display:block;color:#8b94ad;font-size:12px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rcsc2-st{display:block;font-size:12px;margin-top:3px;color:#a5b4fc}.rcsc2-st:empty{display:none}.rcsc2-st.ok{color:#86efac}.rcsc2-st.bad{color:#fca5a5;white-space:normal}
.rcsc2-qty{display:flex;align-items:center;border-radius:10px;border:1px solid #2c3a66;overflow:hidden}
.rcsc2-qty button{width:30px;height:32px;border:0;background:rgba(96,128,255,.12);color:#fff;font-size:17px;cursor:pointer}
.rcsc2-qty button:hover{background:rgba(96,128,255,.3)}
.rcsc2-qty input{width:38px;height:32px;border:0;background:transparent;color:#fff;text-align:center;font:700 14px Arial;-moz-appearance:textfield}
.rcsc2-qty input::-webkit-outer-spin-button,.rcsc2-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.rcsc2-qty.one{padding:0 10px;height:32px;font-size:12px;color:#8b94ad;border-style:dashed}
.rcsc2-price{text-align:right;font-weight:800;color:#7fe3a0;white-space:nowrap}.rcsc2-price small{display:block;font-weight:500;font-size:11px;color:#8b94ad}
.rcsc2-del{width:34px;height:34px;border-radius:10px;border:0;background:rgba(255,61,110,.1);color:#fda4af;cursor:pointer;display:flex;align-items:center;justify-content:center}
.rcsc2-del svg{width:17px;height:17px}.rcsc2-del:hover{background:rgba(255,61,110,.25)}
.rcsc2-sum{margin:14px 0 10px;padding:12px 14px;border-radius:14px;background:rgba(96,128,255,.08);border:1px solid #1f2a46}
.rcsc2-sum div{display:flex;justify-content:space-between;padding:3px 0;color:#aab3d0}.rcsc2-sum b{color:#fff}
.rcsc2-sum div:first-child b{font-size:20px;color:#7fe3a0}.rcsc2-sum .lack b{color:#fca5a5}
.rcsc2-rules{display:flex;gap:9px;align-items:flex-start;margin:6px 0 12px;font-size:13px;color:#cbd5e1;cursor:pointer}.rcsc2-rules a{color:#8fa6ff}
.rcsc2-btn{display:block;width:100%;padding:13px;border:0;border-radius:14px;background:linear-gradient(135deg,#8fa6ff,#4f6df5);color:#fff !important;font:800 15px Arial,sans-serif;text-align:center;text-decoration:none;cursor:pointer;box-shadow:0 8px 22px -8px rgba(79,109,245,.8)}
.rcsc2-btn:disabled{opacity:.7;cursor:default}
.rcsc2-hint{margin-top:8px;text-align:center;font-size:12px;color:#8b94ad}
.rcsc2-warn{padding:12px;border-radius:12px;background:rgba(255,61,110,.1);color:#fecaca;text-align:center}
.rcsc2-clear{display:block;margin:12px auto 0;border:0;background:none;color:#8b94ad;font-size:12.5px;cursor:pointer;text-decoration:underline}
.rcsc2-done{padding:12px;border-radius:14px;background:rgba(34,197,94,.08);border:1px solid rgba(34,197,94,.3);text-align:center;color:#e2e8f0;line-height:1.6}
@media (max-width:560px){
  .rcsc2-fab{right:14px;bottom:14px;width:54px;height:54px}
  .rcsc2-item{grid-template-columns:44px auto minmax(0,1fr) 34px;grid-template-areas:"img info info del" "img qty price price";row-gap:8px}
  .rcsc2-item img,.rcsc2-ph{grid-area:img;width:44px;height:44px;align-self:start}.rcsc2-info{grid-area:info}.rcsc2-qty{grid-area:qty;justify-self:start}.rcsc2-price{grid-area:price}.rcsc2-del{grid-area:del}
  .rcsc2-add{margin:8px 0 0 !important;width:100%;justify-content:center}
}
.rcsc2-main{margin-left:0 !important}
.rcsc2-lbtn{display:inline-flex !important;align-items:center;justify-content:center;margin-left:0 !important;white-space:nowrap}
.rcsc2-lbtn::before,.rcsc2-lbtn::after,.rcsc2-main::before,.rcsc2-main::after{content:none !important;display:none !important}
.rcsc2-pick{max-width:480px}
.rcsc2-lbl{margin:12px 0 6px;font-size:12.5px;color:#94a3b8;font-weight:700}
.rcsc2-chips{display:flex;flex-wrap:wrap;gap:8px}
.rcsc2-chip{flex:1 1 130px;display:flex;flex-direction:column;gap:3px;padding:10px 12px;border-radius:12px;border:1px solid #2c3a66;background:#0b1020;color:#e2e8f0;cursor:pointer;text-align:left}
.rcsc2-chip b{color:#7fe3a0}.rcsc2-chip.on{border-color:#6080ff;box-shadow:0 0 0 1px #6080ff,0 0 14px -6px #6080ff;background:rgba(96,128,255,.12)}
.rcsc2-inp{width:100%;padding:11px 12px;border-radius:12px;border:1px solid #2c3a66;background:#0b1020;color:#fff;font-size:14px;box-sizing:border-box}
.rcsc2-inp:focus{outline:0;border-color:#6080ff}
.rcsc2-card{display:inline-flex !important;align-items:center;gap:6px;margin-left:0 !important;white-space:nowrap}
.rcsc2-card svg{width:16px;height:16px}
