/* Full-page voucher configurator. All rules are scoped under .voucher-cfg. */

.voucher-cfg {
  --vc-line: rgba(239, 231, 210, 0.16);
  --vc-line-strong: rgba(239, 231, 210, 0.34);
  --vc-glass: rgba(18, 19, 17, 0.78);
  --vc-glass-soft: rgba(239, 231, 210, 0.055);
  --vc-glass-hover: rgba(239, 231, 210, 0.085);
  --vc-focus: rgba(0, 113, 227, 0.34);
  --vc-ease: cubic-bezier(0.4, 0, 0.2, 1);

  min-height: 100svh;
  padding: clamp(104px, 12vw, 148px) var(--container-px) clamp(58px, 8vw, 104px);
  color: var(--color-cream);
  font-family: var(--font-semi-condensed);
  background:
    linear-gradient(180deg, rgba(8, 9, 8, 0.78), rgba(8, 9, 8, 0.98)),
    var(--color-bg);
}

.voucher-cfg__intro {
  /* Match the configurator (.layout) width so the H1's left edge lines up with the
     form/preview rectangle instead of floating ~90px further left. */
  max-width: 1100px;
  margin: 0 auto clamp(20px, 3vw, 32px);
}

.voucher-cfg__intro h1 {
  margin: 0;
  color: var(--color-cream);
  font-family: var(--font-condensed);
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  font-weight: var(--fw-bold);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.voucher-cfg .layout {
  /* Capped so wide monitors don't blow out the gap: the preview column hugs the
     ~390px voucher (no growing 0.95fr that left whitespace + a big gap on desktop).
     Form/preview now stay as close on desktop as on the tablet breakpoint. */
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: start;
}

.voucher-cfg .card {
  position: relative;
  border: 1px solid var(--vc-line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    var(--vc-glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow-soft);
  -webkit-backdrop-filter: blur(16px) saturate(1.18);
  backdrop-filter: blur(16px) saturate(1.18);
}

.voucher-cfg .form-card {
  padding: clamp(18px, 3vw, 26px);
}

.voucher-cfg .preview-card {
  position: sticky;
  top: clamp(96px, 9vw, 122px);
  align-self: start;
}

.voucher-cfg fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 clamp(20px, 3vw, 28px);
}

.voucher-cfg fieldset:last-child {
  margin-bottom: 0;
}

.voucher-cfg .section-title {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--vc-line);
  color: var(--color-cream-dim);
  font-family: var(--font-semi-condensed);
  font-size: 13px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.voucher-cfg .hidden {
  display: none !important;
}

.voucher-cfg .native-control {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.voucher-cfg label {
  display: block;
  margin: 0 0 8px;
  color: var(--color-cream-dim);
  font-family: var(--font-semi-condensed);
  font-size: 13px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.voucher-cfg .required::after {
  content: " *";
  color: var(--color-bib-red);
}

.voucher-cfg input,
.voucher-cfg textarea {
  width: 100%;
  border: 1px solid var(--vc-line);
  border-radius: var(--radius-md);
  background: rgba(239, 231, 210, 0.045);
  color: var(--color-cream);
  color-scheme: dark;
  font-family: var(--font-sans);
  font-size: 16px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.voucher-cfg input {
  height: 54px;
  padding: 0 15px;
}

.voucher-cfg textarea {
  min-height: 48px;
  resize: none;
  padding: 13px 15px;
  line-height: 1.35;
  /* No internal scrollbar — the field auto-grows to fit; the 280-char maxlength
     keeps it short, so it never needs to scroll. */
  overflow: hidden;
}

.voucher-cfg input::placeholder,
.voucher-cfg textarea::placeholder {
  color: var(--color-cream-faint);
}

.voucher-cfg input:focus,
.voucher-cfg textarea:focus {
  border-color: rgba(0, 113, 227, 0.74);
  background: rgba(239, 231, 210, 0.07);
  box-shadow: 0 0 0 3px var(--vc-focus);
}

.voucher-cfg button {
  font: inherit;
  touch-action: manipulation;
}

.voucher-cfg button:focus-visible,
.voucher-cfg input:focus-visible,
.voucher-cfg textarea:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 3px;
}

.voucher-cfg .grid,
.voucher-cfg .config-pair {
  display: grid;
  gap: 14px;
}

.voucher-cfg .grid {
  grid-template-columns: repeat(12, 1fr);
}

.voucher-cfg .config-pair {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  align-items: stretch;
}

.voucher-cfg .config-pair.wine-pair {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.voucher-cfg .config-pair + .config-pair {
  margin-top: 16px;
}

.voucher-cfg .col-12 { grid-column: span 12; }
.voucher-cfg .col-8 { grid-column: span 8; }
.voucher-cfg .col-7 { grid-column: span 7; }
.voucher-cfg .col-6 { grid-column: span 6; }
.voucher-cfg .col-5 { grid-column: span 5; }
.voucher-cfg .col-4 { grid-column: span 4; }

.voucher-cfg .type-cards,
.voucher-cfg .delivery-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.voucher-cfg .type-card,
.voucher-cfg .delivery-card,
.voucher-cfg .course-card,
.voucher-cfg .pill-group button,
.voucher-cfg .wine-choice-grid button {
  appearance: none;
  border: 1.5px solid var(--vc-line);
  background: var(--vc-glass-soft);
  color: var(--color-cream);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s var(--vc-ease), background 0.2s var(--vc-ease), box-shadow 0.2s var(--vc-ease), transform 0.2s var(--vc-ease), opacity 0.2s ease;
}

.voucher-cfg .hotel-card {
  border: 1.5px solid var(--vc-line);
  background: var(--vc-glass-soft);
  color: var(--color-cream);
  transition: border-color 0.2s var(--vc-ease), background 0.2s var(--vc-ease), box-shadow 0.2s var(--vc-ease), transform 0.2s var(--vc-ease), opacity 0.2s ease;
}

.voucher-cfg .type-cards .type-card:not(.active) {
  opacity: 0.5;
}

.voucher-cfg .type-cards .type-card:not(.active):hover {
  opacity: 0.72;
}

.voucher-cfg .type-card.active {
  opacity: 1;
}

.voucher-cfg .type-card,
.voucher-cfg .delivery-card {
  min-height: 96px;
  border-radius: var(--radius-lg);
  padding: 17px 18px;
}

.voucher-cfg .type-card:hover,
.voucher-cfg .delivery-card:hover,
.voucher-cfg .hotel-card:hover,
.voucher-cfg .course-card:hover,
.voucher-cfg .pill-group button:hover:not(:disabled),
.voucher-cfg .wine-choice-grid button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: var(--vc-line-strong);
  background: var(--vc-glass-hover);
}

.voucher-cfg .type-card.active,
.voucher-cfg .delivery-card.active,
.voucher-cfg .hotel-card.active,
.voucher-cfg .course-card.is-selected,
.voucher-cfg .pill-group button.is-selected,
.voucher-cfg .wine-choice-grid button.is-selected {
  border-color: var(--color-blue);
  background: rgba(0, 113, 227, 0.12);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
  transform: none;
}

.voucher-cfg .type-card-text strong,
.voucher-cfg .delivery-card-text strong {
  display: block;
  color: var(--color-cream);
  font-family: var(--font-semi-condensed);
  font-size: 18px;
  font-weight: var(--fw-bold);
  line-height: 1.1;
}

.voucher-cfg .type-card-text span,
.voucher-cfg .delivery-card-text span {
  display: block;
  margin-top: 5px;
  color: var(--color-cream-dim);
  font-size: 14px;
  line-height: 1.35;
}

.voucher-cfg .course-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.voucher-cfg .course-card {
  min-height: 92px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
}

.voucher-cfg .course-card strong {
  color: var(--color-cream);
  font-family: var(--font-condensed);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: var(--fw-bold);
  line-height: 0.8;
}

.voucher-cfg .course-card span {
  color: var(--color-gold);
  font-size: 15px;
  font-weight: var(--fw-semibold);
  line-height: 1.05;
}

.voucher-cfg .stepper-row {
  display: grid;
  align-content: start;
}

.voucher-cfg .wine-pair .stepper-row,
.voucher-cfg .wine-config {
  align-content: end;
}

.voucher-cfg .stepper-card,
.voucher-cfg .amount-stepper {
  min-height: 54px;
  display: grid;
  grid-template-columns: 48px minmax(96px, 1fr) 48px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--vc-line);
  border-radius: var(--radius-md);
  background: rgba(239, 231, 210, 0.045);
  padding: 3px;
}

.voucher-cfg .stepper-card button,
.voucher-cfg .amount-stepper button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(239, 231, 210, 0.18);
  border-radius: calc(var(--radius-md) - 3px);
  background: rgba(239, 231, 210, 0.06);
  color: var(--color-cream);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: var(--fw-semibold);
  line-height: 1;
  padding: 0 0 3px;
  touch-action: manipulation;
}

.voucher-cfg .stepper-card button:hover:not(:disabled),
.voucher-cfg .amount-stepper button:hover:not(:disabled) {
  border-color: rgba(239, 231, 210, 0.42);
  background: rgba(239, 231, 210, 0.1);
}

.voucher-cfg .stepper-card button:disabled,
.voucher-cfg .amount-stepper button:disabled,
.voucher-cfg .stepper-card button.is-disabled,
.voucher-cfg .amount-stepper button.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.voucher-cfg .stepper-card strong,
.voucher-cfg .amount-stepper strong {
  color: var(--color-cream);
  font-family: var(--font-semi-condensed);
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  font-weight: var(--fw-bold);
  text-align: center;
  white-space: nowrap;
}

.voucher-cfg .pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.voucher-cfg .pill-group button {
  min-height: 42px;
  border-radius: var(--radius-pill);
  padding: 0 18px;
  text-align: center;
  font-size: 16px;
  font-weight: var(--fw-semibold);
}

.voucher-cfg .pill-group button.is-disabled,
.voucher-cfg .pill-group button:disabled,
.voucher-cfg .wine-choice-grid button.is-disabled,
.voucher-cfg .wine-choice-grid button:disabled {
  opacity: 0.34;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.voucher-cfg .wine-choice-grid {
  display: grid;
  grid-template-columns: 0.72fr 1fr 1fr 1fr;
  gap: 8px;
  width: 100%;
}

.voucher-cfg .wine-choice-grid button {
  min-width: 0;
  min-height: 54px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--color-cream);
  font-family: var(--font-semi-condensed);
  font-variant-numeric: tabular-nums;
  font-size: 18px;
  font-weight: var(--fw-bold);
  line-height: 1;
  padding: 8px;
  text-align: center;
  touch-action: manipulation;
}

.voucher-cfg .hotel-section-title {
  margin-top: 18px;
}

.voucher-cfg .hotel-card {
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 0;
  display: grid;
  gap: 0;
  overflow: hidden;
  position: relative;
}

.voucher-cfg .hotel-card-toggle {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--color-cream);
  cursor: pointer;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  min-height: 0;
  padding: 0;
  position: relative;
}

.voucher-cfg .hotel-thumb {
  width: 100%;
  height: 174px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: rgba(239, 231, 210, 0.05);
  display: block;
}

.voucher-cfg .hotel-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.voucher-cfg .hotel-card-content {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 8px;
  color: var(--color-cream-dim);
  font-size: 14px;
  line-height: 1.38;
  padding: 18px;
}

.voucher-cfg .hotel-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
}

.voucher-cfg .hotel-card-head strong {
  color: var(--color-cream);
  font-family: var(--font-semi-condensed);
  font-size: 22px;
  font-weight: var(--fw-bold);
  line-height: 1;
}

.voucher-cfg .hotel-card-head em {
  color: var(--color-gold);
  font-style: normal;
  font-weight: var(--fw-semibold);
}

.voucher-cfg .hotel-card-content small {
  color: var(--color-cream);
  font-size: 14px;
}

.voucher-cfg .hotel-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(20, 20, 20, 0.72);
  color: var(--color-cream);
  font-size: 0;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.voucher-cfg .hotel-toggle::before,
.voucher-cfg .hotel-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.voucher-cfg .hotel-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.voucher-cfg .hotel-card.active .hotel-toggle {
  background: var(--color-blue);
}

.voucher-cfg .hotel-card.active .hotel-toggle::after {
  opacity: 0;
}

.voucher-cfg .hotel-nights-panel {
  padding: 0 18px 18px;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.voucher-cfg .hotel-nights-panel label {
  margin: 0;
  font-size: 14px;
}

.voucher-cfg .nights-stepper {
  display: inline-grid;
  grid-template-columns: 44px minmax(28px, auto) 44px;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.voucher-cfg .nights-stepper button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(239, 231, 210, 0.2);
  border-radius: 50%;
  background: rgba(239, 231, 210, 0.08);
  color: var(--color-cream);
  cursor: pointer;
  display: grid;
  place-items: center;
  position: relative;
  font-size: 0;
  line-height: 1;
  padding: 0;
  touch-action: manipulation;
}

.voucher-cfg .nights-stepper button::before,
.voucher-cfg .nights-stepper button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.voucher-cfg .nights-stepper button::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.voucher-cfg .nights-stepper #nightsMinus::after {
  opacity: 0;
}

.voucher-cfg .nights-stepper button:hover:not(:disabled) {
  border-color: rgba(239, 231, 210, 0.42);
  background: rgba(239, 231, 210, 0.12);
}

.voucher-cfg .nights-stepper button:disabled,
.voucher-cfg .nights-stepper button.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.voucher-cfg .nights-stepper strong {
  color: var(--color-cream);
  font-family: var(--font-semi-condensed);
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  font-weight: var(--fw-bold);
  line-height: 1;
  text-align: center;
}

.voucher-cfg .amount-stepper {
  margin-top: 10px;
}

.voucher-cfg #amountError {
  margin-top: 8px;
  color: var(--color-bib-red);
  font-size: 13px;
}

.voucher-cfg .delivery-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.voucher-cfg .delivery-card .t-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--color-blue);
}

.voucher-cfg .delivery-card .t-icon svg {
  width: 26px;
  height: 26px;
}

.voucher-cfg #addressSection {
  margin-top: 18px;
}

.voucher-cfg .address-title {
  margin-top: 0;
  margin-bottom: 14px;
}

.voucher-cfg .voucher {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(239, 231, 210, 0.14);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 3vw, 30px);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.016)),
    rgba(12, 13, 12, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 24px 60px rgba(0, 0, 0, 0.42);
}

.voucher-cfg .voucher .brand {
  margin-bottom: 10px;
  color: var(--color-cream-dim);
  font-family: var(--font-semi-condensed);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.voucher-cfg .voucher h2 {
  margin: 0 0 12px;
  color: var(--color-gold);
  font-family: var(--font-condensed);
  font-size: clamp(1.55rem, 3.4vw, 2.1rem);
  font-weight: var(--fw-bold);
  letter-spacing: 0;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

.voucher-cfg .voucher-lead {
  margin-bottom: 20px;
  color: var(--color-cream-dim);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.voucher-cfg .voucher-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.voucher-cfg .voucher-box {
  border: 1px solid rgba(239, 231, 210, 0.1);
  border-radius: var(--radius-md);
  background: rgba(239, 231, 210, 0.05);
  padding: 13px 14px;
}

.voucher-cfg .voucher-box.full-width {
  grid-column: 1 / -1;
}

.voucher-cfg .voucher-box small {
  display: block;
  margin-bottom: 6px;
  color: var(--color-cream-dim);
  font-family: var(--font-semi-condensed);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.voucher-cfg .voucher-box strong {
  color: var(--color-cream);
  font-family: var(--font-semi-condensed);
  font-size: 17px;
  font-weight: var(--fw-bold);
  line-height: 1.3;
}

.voucher-cfg #previewItemization {
  display: none;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(239, 231, 210, 0.22);
}

.voucher-cfg .preview-receipt-heading {
  margin-bottom: 10px;
  color: var(--color-blue);
  font-family: var(--font-semi-condensed);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.voucher-cfg .receipt-line-item,
.voucher-cfg .preview-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}

.voucher-cfg .receipt-line-item {
  margin-bottom: 7px;
  color: var(--color-cream);
  font-size: 15px;
}

.voucher-cfg .receipt-line-item .preview-receipt-amount {
  color: var(--color-cream-dim);
  white-space: nowrap;
}

.voucher-cfg .preview-voucher-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(239, 231, 210, 0.22);
}

.voucher-cfg .preview-footer-row + .preview-footer-row {
  margin-top: 12px;
}

.voucher-cfg .preview-footer-label {
  flex-shrink: 0;
  color: var(--color-cream-dim);
  font-family: var(--font-semi-condensed);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.voucher-cfg .preview-footer-value {
  color: var(--color-cream);
  font-size: 14px;
  text-align: right;
}

.voucher-cfg #previewPrice {
  color: var(--color-gold);
  font-family: var(--font-condensed);
  font-size: 24px;
  font-weight: var(--fw-bold);
  letter-spacing: 0;
  white-space: nowrap;
}

.voucher-cfg .preview-hotel-disclaimer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(239, 231, 210, 0.16);
  color: var(--color-cream-dim);
  font-size: 12.5px;
  line-height: 1.45;
}

.voucher-cfg .actions {
  margin-top: 22px;
}

.voucher-cfg button.primary {
  width: 100%;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-blue);
  color: #fff;
  cursor: pointer;
  font-family: var(--font-semi-condensed);
  font-size: 17px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  padding: 16px 20px;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.voucher-cfg button.primary:hover {
  background: var(--color-blue-hover);
  transform: translateY(-1px);
}

.voucher-cfg button.primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.voucher-cfg .voucher-success {
  border: 1px solid rgba(239, 231, 210, 0.14);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.016)),
    rgba(12, 13, 12, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 24px 60px rgba(0, 0, 0, 0.42);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  padding: clamp(28px, 6vw, 56px) 18px;
  text-align: center;
}

.voucher-cfg .voucher-success__kicker {
  margin-bottom: 14px;
  color: var(--color-gold);
  font-family: var(--font-condensed);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: var(--fw-bold);
  letter-spacing: 0;
  text-transform: uppercase;
}

.voucher-cfg .voucher-success__copy {
  max-width: 42ch;
  margin: 0 auto;
  color: var(--color-cream-dim);
  font-size: var(--fs-lg);
  line-height: var(--leading-body);
}

/* On a successful submit, voucher-page.js adds body.voucher-submitted. Hide the
   form and let the success card stand alone, centred (the preview column is the
   only content now — otherwise the empty form column left a lopsided layout). */
body.voucher-submitted .voucher-cfg .form-card { display: none; }
body.voucher-submitted .voucher-cfg .layout {
  grid-template-columns: minmax(0, 1fr);
  max-width: 620px;
}
body.voucher-submitted .voucher-cfg .preview-card { position: static; }

.voucher-cfg .iti {
  width: 100%;
  display: block;
}

.voucher-cfg .iti__dropdown-content {
  z-index: 1200 !important;
  border: 1px solid rgba(239, 231, 210, 0.12) !important;
  border-radius: var(--radius-md) !important;
  background: var(--color-surface-2) !important;
  color: var(--color-cream);
  box-shadow: var(--shadow-deep) !important;
}

.voucher-cfg .iti__search-input {
  border: 0 !important;
  border-bottom: 1px solid rgba(239, 231, 210, 0.12) !important;
  background: rgba(239, 231, 210, 0.06) !important;
  color: var(--color-cream) !important;
  padding: 10px 14px !important;
}

.voucher-cfg .iti__country {
  padding: 8px 14px !important;
}

.voucher-cfg .iti__country.iti__highlight {
  background: rgba(0, 113, 227, 0.16) !important;
}

@media (max-width: 980px) {
  .voucher-cfg .layout {
    grid-template-columns: 1fr;
  }

  .voucher-cfg .preview-card {
    position: static;
  }
}

@media (min-width: 600px) {
  .voucher-cfg .hotel-card {
    --hotel-image-col: clamp(180px, 30vw, 230px);
    display: block;
    min-height: 224px;
    padding-left: var(--hotel-image-col);
  }

  .voucher-cfg .hotel-card-toggle {
    display: block;
    position: static;
    min-height: 0;
  }

  .voucher-cfg .hotel-thumb {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--hotel-image-col);
    height: auto;
    min-height: 0;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  }

  .voucher-cfg .hotel-card-content {
    min-height: 154px;
    padding: 22px 72px 22px 22px;
  }

  .voucher-cfg .hotel-toggle {
    top: 16px;
    right: 16px;
    transform: none;
  }

  .voucher-cfg .hotel-nights-panel {
    padding: 0 22px 22px;
  }
}

@media (min-width: 810px) {
  .voucher-cfg .config-pair.wine-pair {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
    align-items: end;
  }

  .voucher-cfg .stepper-row .stepper-card {
    grid-template-columns: 48px minmax(90px, 110px) 48px;
    width: fit-content;
    justify-self: start;
  }
}

@media (min-width: 980px) {
  .voucher-cfg .voucher,
  .voucher-cfg .actions {
    max-width: 390px;
    margin-inline: auto;
  }

  .voucher-cfg .preview-receipt-heading {
    font-size: 12.5px;
  }

  .voucher-cfg .receipt-line-item {
    font-size: 16.5px;
  }

  .voucher-cfg .preview-footer-label {
    font-size: 13px;
  }

  .voucher-cfg .preview-footer-value {
    font-size: 15.5px;
  }

  .voucher-cfg #previewPrice {
    font-size: 26px;
  }
}

@media (max-width: 809px) {
  .voucher-cfg {
    padding-left: 16px;
    padding-right: 16px;
    font-size: 16px;
  }

  .voucher-cfg .form-card {
    background: none;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 0;
  }

  .voucher-cfg .delivery-cards,
  .voucher-cfg .config-pair,
  .voucher-cfg .grid {
    grid-template-columns: 1fr;
  }

  .voucher-cfg .type-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .voucher-cfg .config-pair.wine-pair {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .voucher-cfg .wine-pair .wine-config,
  .voucher-cfg .wine-pair #winePeopleSection {
    width: 100%;
  }

  .voucher-cfg .col-12,
  .voucher-cfg .col-8,
  .voucher-cfg .col-7,
  .voucher-cfg .col-6,
  .voucher-cfg .col-5,
  .voucher-cfg .col-4 {
    grid-column: span 1;
  }

  .voucher-cfg .course-card-grid {
    grid-template-columns: 1fr;
  }

  .voucher-cfg .hotel-nights-panel {
    align-items: center;
  }

  .voucher-cfg .voucher-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 599px) {
  .voucher-cfg .hotel-thumb {
    height: 158px;
  }
}

@media (max-width: 480px) {
  .voucher-cfg .hotel-thumb {
    height: 150px;
  }

  .voucher-cfg .hotel-card-content {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .voucher-cfg *,
  .voucher-cfg *::before,
  .voucher-cfg *::after {
    transition: none !important;
    animation: none !important;
  }
}
