.tas-quote-cart-form {
  --tas-quote-primary: #121554;
  --tas-quote-accent: #faa91a;
  --tas-quote-text: #262626;
  margin-top: 2px;
}

.tas-quote-details {
  margin: 0 0 20px;
  padding: 0;
}

.tas-quote-details__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 7px;
}

.tas-quote-details__heading label {
  margin: 0;
  color: var(--tas-quote-primary);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.tas-quote-details__heading span {
  flex: 0 0 auto;
  padding: 0;
  color: rgba(38, 38, 38, 0.45);
  background: transparent;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.55px;
  line-height: 1.4;
  text-transform: uppercase;
}

.tas-quote-details p {
  margin: 0 0 13px;
  color: rgba(38, 38, 38, 0.64);
  font-size: 12px;
  line-height: 1.6;
}

.tas-quote-details textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 112px;
  resize: vertical;
  margin: 0;
  padding: 13px 14px;
  border: 1.5px solid rgba(18, 21, 84, 0.14);
  border-radius: 12px;
  outline: 0;
  color: var(--tas-quote-text);
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.55;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.tas-quote-details textarea::placeholder {
  color: rgba(38, 38, 38, 0.4);
}

.tas-quote-details textarea:hover {
  border-color: rgba(18, 21, 84, 0.28);
}

.tas-quote-details textarea:focus {
  border-color: var(--tas-quote-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(18, 21, 84, 0.08);
}

.tas-quote-details small {
  display: block;
  margin-top: 9px;
  color: rgba(38, 38, 38, 0.5);
  font-size: 10px;
  line-height: 1.45;
}

.tas-quote-purchase {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 24px;
}

.tas-quote-quantity {
  flex: 0 0 92px;
}

.tas-quote-quantity label {
  display: block;
  margin: 0 0 7px;
  color: var(--tas-quote-primary);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.55px;
  line-height: 1.3;
  text-transform: uppercase;
}

.tas-quote-quantity input {
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 10px;
  border: 1.5px solid rgba(18, 21, 84, 0.16);
  border-radius: 12px;
  outline: 0;
  color: var(--tas-quote-primary);
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.tas-quote-quantity input:focus {
  border-color: var(--tas-quote-primary);
  box-shadow: 0 0 0 3px rgba(18, 21, 84, 0.08);
}

.tas-quote-submit {
  min-height: 46px;
  justify-content: center;
  padding-inline: 26px;
}

@media (max-width: 540px) {
  .tas-quote-details__heading { align-items: flex-start; }
  .tas-quote-purchase { align-items: stretch; }
  .tas-quote-submit { flex: 1 1 auto; width: auto; }
}
