/**
 * سری و موازی — استایل اختصاصی
 */
.ic-tool-series-parallel .ic-sp-tabs {
  max-width: 300px;
}

.ic-tool-series-parallel .ic-tool-body {
  padding-top: 16px;
}

.ic-sp-split {
  direction: ltr;
}

.ic-sp-split .ic-tool-select-btn {
  flex: 1;
  width: auto;
  max-width: none;
  min-height: 65px;
}

.ic-sp-split .ic-tool-field-wrap {
  flex: 1;
}

.ic-sp-helper {
  margin: 48px 0 24px;
  font-size: 10.5px;
  color: #b3b3b3;
  text-align: center;
  line-height: 1.6;
}

.ic-sp-helper[hidden] {
  display: none !important;
}

.ic-sp-components {
  margin-bottom: 8px;
}

.ic-sp-comp-row {
  margin-bottom: 0;
}

.ic-sp-results {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.ic-sp-results[hidden] {
  display: none !important;
}

.ic-sp-results--row {
  flex-direction: row;
}

.ic-sp-results--row .ic-sp-result-item {
  flex: 1;
}

.ic-sp-result-item {
  padding: 14px;
  border-radius: 14px;
  background: #f8f8f8;
  border: 0.7px solid #dbdbdb;
  text-align: center;
}

.ic-sp-result-item--stack .ic-sp-result-value {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  font-weight: 700;
  color: #2d3a4a;
  line-height: 1.45;
}

.ic-sp-result-item--stack .ic-sp-result-value:first-child {
  margin-top: 0;
}

.ic-sp-result-title {
  margin: 8px 0 0;
  font-size: 9px;
  color: #8090a8;
}

.ic-sp-result-value {
  font-size: 16px;
  font-weight: 700;
  color: #2d3a4a;
  line-height: 1.35;
  word-break: break-word;
}

.ic-sp-result-label {
  margin: 8px 0 0;
  font-size: 9px;
  color: #8090a8;
}

.ic-sp-footer .ic-tool-btn {
  margin-top: 0;
}

.ic-sp-qty {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 12px;
}

.ic-sp-qty[hidden] {
  display: none !important;
}

.ic-sp-qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 18px;
  background: #eeeeee;
  color: #919aaf;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  line-height: 1;
}

.ic-sp-qty-btn:disabled {
  background: #f1757e;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.85;
}

.ic-sp-qty-btn.is-max:disabled {
  background: #bfccd4;
  color: #919aaf;
}

.ic-sp-qty-num {
  min-width: 30px;
  font-size: 16px;
  color: #2d3a4a;
  text-align: center;
}

.ic-sp-comp-row .ic-tool-select-btn.is-selected .ic-tool-select-label {
  color: #fb926c;
}

.ic-sp-comp-row .ic-tool-select-btn.is-selected {
  border-color: #fb926c;
}
