.sas-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  min-width: 2rem;
  padding: 0 .55rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: .45rem;
  background: #1a2028;
  color: #f4f4f5;
  cursor: pointer;
}
.sas-cart-btn:hover { background: #252c36; }
.sas-cart-btn .badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: #f5c518;
  color: #111;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}
.sas-price-box {
  position: absolute;
  right: 12px;
  bottom: 56px;
  z-index: 26;
  width: min(17.5rem, calc(100% - 1.5rem));
  padding: .85rem .9rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .7rem;
  background: rgba(20,24,30,.96);
  box-shadow: 0 14px 32px rgba(0,0,0,.35);
  color: #e8eaed;
  font-family: system-ui, Segoe UI, sans-serif;
}
.sas-price-box .k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8b929b;
}
.sas-price-box .n { margin-top: .25rem; font-size: .88rem; font-weight: 650; }
.sas-price-box .sku { margin-top: .15rem; font-family: ui-monospace, monospace; font-size: 11px; color: #f5c518; }
.sas-price-box .p { margin-top: .45rem; font-size: 1.15rem; font-weight: 800; color: #fff; }
.sas-price-box .row { display: flex; gap: .4rem; margin-top: .7rem; }
.sas-price-box button {
  flex: 1;
  height: 2rem;
  border: 0;
  border-radius: .4rem;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.sas-price-box .order { background: #f5c518; color: #111318; }
.sas-price-box .explode { background: #222830; color: #e8eaed; border: 1px solid rgba(255,255,255,.12); }
.sas-price-box .explode.on { background: rgba(245,197,24,.18); color: #f5c518; border-color: rgba(245,197,24,.35); }
.sas-subparts { margin-top: .55rem; max-height: 8.5rem; overflow: auto; }
.sas-subparts button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 0 0 .25rem;
  padding: .35rem .45rem;
  background: #1a2028;
  color: #d5d8de;
  font-weight: 600;
  text-align: left;
}
.sas-subparts button.active { outline: 1px solid #f5c518; }
.sas-cart-drawer {
  position: fixed;
  z-index: 85;
  top: 0;
  right: 0;
  width: min(24rem, 100vw);
  height: 100%;
  display: none;
  flex-direction: column;
  background: #14181e;
  border-left: 1px solid rgba(255,255,255,.1);
  box-shadow: -18px 0 40px rgba(0,0,0,.4);
  color: #e8eaed;
  font-family: system-ui, Segoe UI, sans-serif;
}
.sas-cart-drawer.open { display: flex; }
.sas-cart-drawer h2 {
  margin: 0;
  padding: .9rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .95rem;
}
.sas-cart-list { flex: 1; overflow: auto; padding: .6rem; }
.sas-cart-empty { padding: 2rem .8rem; text-align: center; color: #9aa1aa; font-size: .85rem; }
.sas-cart-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .35rem;
  padding: .65rem .5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sas-cart-row strong { font-size: .85rem; }
.sas-cart-row .meta { font-size: 11px; color: #8b929b; }
.sas-cart-row .line { font-weight: 700; }
.sas-cart-row .qty {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-top: .35rem;
}
.sas-cart-row .qty button, .sas-cart-row .rm {
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: .3rem;
  background: #222830;
  color: #e8eaed;
  cursor: pointer;
}
.sas-cart-row .rm { width: auto; padding: 0 .45rem; font-size: 11px; }
.sas-cart-foot {
  padding: .85rem 1rem 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.sas-cart-foot .sum {
  display: flex;
  justify-content: space-between;
  margin-bottom: .7rem;
  font-weight: 800;
}
.sas-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.4rem;
  border-radius: .5rem;
  background: #f5c518;
  color: #111318;
  font-weight: 800;
  text-decoration: none;
}
.sas-cart-close {
  float: right;
  border: 0;
  background: transparent;
  color: #9aa1aa;
  font-size: 1.2rem;
  cursor: pointer;
}
.sas-slider-price {
  margin: 0 0 .85rem;
  padding: .7rem .75rem;
  border: 1px solid rgba(245,197,24,.35);
  border-radius: .55rem;
  background: #10151b;
}
.sas-slider-price .k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9aa1aa;
}
.sas-slider-price .n {
  margin-top: .2rem;
  font-size: .82rem;
  font-weight: 650;
  color: #e8eaed;
}
.sas-slider-price .p {
  margin-top: .25rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #f5c518;
  letter-spacing: -.02em;
}
