/* Checkout — coupon & GST summary */
.checkout-summary {
  background: #f8fbff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 15px;
}

.checkout-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: #334155;
}

.checkout-summary__row--muted {
  color: #64748b;
  font-size: 0.9rem;
}

.checkout-summary__row--credit {
  color: #16a34a;
  font-size: 0.9rem;
}

.checkout-summary__row--credit span:last-child {
  font-weight: 600;
}

.checkout-upgrade-note {
  padding: 10px 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #92400e;
}

.checkout-summary__total {
  border-top: 1px solid #dbeafe;
  margin-top: 12px;
  padding-top: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.checkout-summary__total span:last-child {
  font-size: 1.35rem;
}

.checkout-coupon__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #334155;
}

.checkout-coupon__offers-btn {
  border: none;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.checkout-coupon__offers-btn:hover {
  background: #dbeafe;
}

.checkout-coupon__input-wrap {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.checkout-coupon__field {
  flex: 1;
  position: relative;
}

.checkout-coupon__input {
  width: 100%;
  border: 1.5px dashed #cbd5e1;
  border-radius: 8px;
  padding: 10px 36px 10px 14px;
  font-size: 0.95rem;
  background: #fff;
  text-transform: uppercase;
}

.checkout-coupon__input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.checkout-coupon__input.is-applied {
  border-style: solid;
  border-color: #86efac;
  color: #15803d;
  font-weight: 700;
}

.checkout-coupon__remove {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.checkout-coupon__remove:hover {
  color: #64748b;
}

.checkout-coupon__apply {
  border: none;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.checkout-coupon__apply:hover {
  background: #1d4ed8;
}

.checkout-coupon__apply:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.checkout-discount {
  color: #16a34a !important;
  font-weight: 700;
}

.checkout-gst__toggle {
  border: none;
  background: none;
  color: #2563eb;
  font-size: 0.82rem;
  text-decoration: underline;
  padding: 0;
  cursor: pointer;
}

.checkout-gst-details {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #64748b;
}

.checkout-offers-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
  margin-top: 10px;
}

.checkout-offers-panel__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.checkout-offers-panel__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.checkout-offers-panel__code {
  font-weight: 700;
  color: #0f172a;
}

.checkout-offers-panel__title {
  font-size: 0.82rem;
  color: #64748b;
}

.checkout-offers-panel__use {
  border: 1px solid #2563eb;
  background: #fff;
  color: #2563eb;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.checkout-offers-panel__use:hover {
  background: #eff6ff;
}

.checkout-coupon__msg {
  font-size: 0.82rem;
  margin-top: 6px;
}

.checkout-coupon__msg.is-error {
  color: #dc2626;
}

.checkout-coupon__msg.is-success {
  color: #16a34a;
}

.checkout-coupon--embedded {
    margin: 12px 0;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
}

.gsr-checkout__row--discount,
.tmr-checkout__row--discount,
.checkout-summary__row--discount {
    color: #16a34a;
}
