.cart-package-shortcut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(99, 102, 241, .14);
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(246, 244, 255, .96), rgba(240, 253, 248, .92));
}

.cart-package-copy {
  min-width: 0;
}

.cart-package-copy strong,
.cart-package-copy small {
  display: block;
}

.cart-package-copy strong {
  color: #5045b8;
  font-size: 10px;
  font-weight: 750;
}

.cart-package-copy small {
  margin-top: 3px;
  color: #778094;
  font-size: 9px;
  line-height: 1.35;
}

.cart-package-action {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, .18);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(73, 62, 153, .07);
}

.cart-package-action input {
  width: 48px;
  min-height: 31px;
  padding: 5px 4px 5px 8px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
}

.cart-package-action span {
  padding: 0 7px 0 3px;
  color: #73798b;
  font-size: 9px;
  font-weight: 650;
}

.cart-package-action button {
  align-self: stretch;
  padding: 0 10px;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #7c5ce7);
  font-size: 9px;
  font-weight: 750;
  cursor: pointer;
}

.cart-package-action button:hover {
  filter: brightness(1.05);
}

.cart-unit-composer {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(99, 102, 241, .15);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(246, 244, 255, .97), rgba(239, 253, 248, .94));
}

.cart-unit-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.cart-unit-heading span { min-width: 0; }
.cart-unit-heading strong,.cart-unit-heading small { display: block; }
.cart-unit-heading strong { color: #4f45b5; font-size: 10px; }
.cart-unit-heading small { margin-top: 2px; color: #7a8294; font-size: 8px; line-height: 1.4; }
.cart-unit-heading em { flex: none; padding: 4px 7px; border-radius: 7px; color: #087c65; background: rgba(16, 185, 129, .1); font-size: 8px; font-style: normal; font-weight: 750; }

.cart-unit-parts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 6px;
  margin-top: 9px;
}

.cart-unit-parts label { min-width: 0; }
.cart-unit-parts label>span { display: block; margin-bottom: 4px; color: #4f5568; font-size: 8px; font-weight: 750; }
.cart-unit-parts input { width: 100%; min-height: 31px; padding: 5px 6px; border-radius: 8px; text-align: center; font-size: 10px; font-weight: 700; }
.cart-unit-parts label>small { display: block; margin-top: 3px; overflow: hidden; color: #83899a; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.cart-unit-parts button { min-height: 31px; padding: 0 10px; border: 0; border-radius: 8px; color: #fff; background: linear-gradient(135deg, #5967ef, #7659df); font-size: 8px; font-weight: 800; cursor: pointer; }
.cart-unit-parts button:hover { filter: brightness(1.05); }
.cart-unit-equation { margin-top: 7px; color: #777f92; font-size: 8px; line-height: 1.4; }

@media (max-width: 760px) {
  .cart-package-shortcut { align-items: stretch; flex-direction: column; }
  .cart-package-action { align-self: flex-start; }
  .cart-unit-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-unit-parts button { min-height: 36px; }
}
