﻿/* QRIS payment panel */
.qris-panel {
  margin-top: var(--pw-space-lg);
  padding: var(--pw-space-xl);
  border-radius: var(--pw-radius-fluid);
  background: rgba(224, 242, 254, 0.65);
  border: 1px solid rgba(0, 136, 204, 0.2);
}

.qris-panel--policy {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--pw-space-md);
  margin-block: var(--pw-space-lg);
}

.qris-panel__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pw-deep-ocean);
  margin-bottom: var(--pw-space-md);
}

.qris-panel__preview {
  display: flex;
  justify-content: center;
  padding: var(--pw-space-md);
  background: white;
  border-radius: var(--pw-radius-soft);
  box-shadow: var(--pw-shadow-soft);
  margin-bottom: var(--pw-space-md);
}

.qris-panel__preview img {
  width: 220px;
  height: 220px;
  object-fit: contain;
}

.qris-panel--policy .qris-panel__preview img {
  width: 200px;
  height: 200px;
}

.qris-panel__actions {
  margin-top: var(--pw-space-md);
}

.qris-panel__note {
  margin-top: var(--pw-space-md);
}

/* Order flow guide */
.order-flow-guide {
  margin-top: var(--pw-space-xl);
  padding-top: var(--pw-space-xl);
  border-top: 1px solid rgba(0, 136, 204, 0.12);
}

.order-flow-guide h4 {
  font-size: 0.9375rem;
  margin-bottom: var(--pw-space-md);
  color: var(--pw-deep-ocean);
}

.order-flow-block {
  margin-bottom: var(--pw-space-md);
}

.order-flow-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pw-crystal-blue);
  margin-bottom: var(--pw-space-sm);
}

.order-flow-steps ol {
  list-style: decimal;
  padding-left: 1.25rem;
  margin: 0;
}

.order-flow-steps li {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--pw-river-stone);
  padding: 0.2rem 0;
}

.order-form-panel h2,
.order-form-panel__title {
  margin-bottom: 1.5rem;
}

.submit-hint {
  text-align: center;
  margin-top: 1rem;
}

/* Order calculator & multi-product lines */
.order-divider {
  border: none;
  border-top: 1px solid rgba(0, 136, 204, 0.12);
  margin: var(--pw-space-xl) 0;
}

.btn-add-line {
  width: 100%;
}

.additional-lines {
  display: flex;
  flex-direction: column;
  gap: var(--pw-space-md);
  margin-bottom: var(--pw-space-md);
}

.order-line-extra {
  padding: var(--pw-space-lg);
  background: rgba(255, 255, 255, 0.55);
}

.order-line-extra__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--pw-space-md);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--pw-deep-ocean);
}

.order-line-remove {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pw-ice-frost);
  color: var(--pw-crystal-blue);
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-line-remove:hover {
  background: rgba(239, 68, 68, 0.12);
  color: var(--pw-coral-red);
}

.order-calc-lines {
  margin-bottom: var(--pw-space-md);
}

.order-calc-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--pw-space-xs) var(--pw-space-md);
  padding: var(--pw-space-sm) 0;
  border-bottom: 1px solid rgba(0, 136, 204, 0.08);
  font-size: 0.875rem;
}

.order-calc-line:last-child {
  border-bottom: none;
}

.order-calc-line__name {
  grid-column: 1 / -1;
  font-weight: 600;
  color: var(--pw-deep-ocean);
}

.order-calc-line__name small {
  font-weight: 500;
  color: var(--pw-river-stone);
}

.order-calc-line__detail {
  color: var(--pw-river-stone);
}

.order-calc-line__total {
  font-weight: 600;
  color: var(--pw-deep-ocean);
  text-align: right;
}

.order-calc-footer {
  border-top: 2px solid var(--pw-ice-frost);
  padding-top: var(--pw-space-md);
}

.order-calc-subtotal {
  font-weight: 600;
}

.order-calc-suffix {
  color: var(--pw-river-stone);
  font-size: 0.875rem;
}

.order-calc-total-qris .summary-row {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--pw-crystal-blue);
}

.order-calc-hint {
  margin-top: var(--pw-space-md) !important;
  font-size: 0.8125rem !important;
}

.qris-total-highlight {
  text-align: center;
  padding: var(--pw-space-lg);
  margin-bottom: var(--pw-space-md);
  border-radius: var(--pw-radius-soft);
  background: linear-gradient(135deg, rgba(0, 194, 203, 0.15), rgba(224, 242, 254, 0.9));
  border: 1px solid rgba(0, 136, 204, 0.2);
}

.qris-total-highlight__label {
  display: block;
  font-size: 0.8125rem;
  color: var(--pw-river-stone);
  margin-bottom: var(--pw-space-xs);
}

.qris-total-highlight strong {
  display: block;
  font-size: 1.5rem;
  color: var(--pw-crystal-blue);
  letter-spacing: -0.02em;
}

.qris-total-highlight__code {
  display: block;
  font-size: 0.75rem;
  color: var(--pw-river-stone);
  margin-top: var(--pw-space-xs);
}
