/* ===== RESELLER FIELD (revenda only) ===== */
.rev-field {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(60, 60, 59, 0.1);
}

.rev-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #000;
}

.rev-field input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1.05rem;
  color: #000;
  background: #fff;
  transition: border-color 200ms;
  outline: none;
}

.rev-field input:focus {
  border-color: #C4122F;
}

.rev-field input.readonly {
  background: #f5f5f5;
  color: #888;
  cursor: not-allowed;
}

.rev-field .field-error-msg {
  font-size: 0.84rem;
  color: #C4122F;
  margin-top: 4px;
  display: none;
}

.rev-field .field-error-msg.visible {
  display: block;
}

/* ===== FLOATER — Page layout (discount column + payment) ===== */
.floater-inner {
  grid-template-columns: 110px 1fr;
}

.floater-inner>div:first-child {
  grid-column: 1;
}

.floater-payment {
  grid-column: 2;
}

.discount-input-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: #faf6ee;
  border: 1px solid rgba(60, 60, 59, 0.15);
  border-radius: 7px;
  height: 42px;
  transition: border-color 0.2s;
}

.discount-input-row:focus-within {
  border-color: #C7A352;
}

.discount-input-row input {
  flex: 1;
  width: 100%;
  border: none;
  background: transparent;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 18px;
  text-align: center;
  color: #000;
  outline: none;
  padding: 0 4px 0 22px;
}

.discount-input-row span {
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #3C3C3B;
  padding-right: 12px;
  pointer-events: none;
}

@media (min-width: 768px) {
  .floater-inner {
    grid-template-columns: 130px 1fr auto;
  }

  .floater-inner>div:first-child {
    grid-row: 1;
  }

  .floater-payment {
    grid-column: 2;
    grid-row: 1;
  }

  .floater-totals {
    grid-column: 3;
  }
}

@media (min-width: 1024px) {
  .floater-inner {
    grid-template-columns: 150px 1fr auto;
  }
}