.voucher-page { color: var(--lw-ink); }
.voucher-page :is(h1, h2, h3) { overflow-wrap: anywhere; }
.voucher-page .voucher-back { margin-bottom: 1rem; }
.voucher-catalog-hero .lw-hero-lead p:last-child { margin-bottom: 0; }

.lingwish-ui #nabidka-poukazu { scroll-margin-top: 1rem; }
.lingwish-ui .voucher-page .voucher-campaign-name {
  margin: 0 0 1.25rem;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
}
.voucher-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.voucher-grid:not(:last-child) { margin-bottom: 3rem; }
.lingwish-ui .voucher-page .voucher-offer h3 { font-size: 1.2rem; margin: 0 0 1rem; }
.voucher-offer h3 a { color: inherit; text-decoration-color: var(--lw-line); text-underline-offset: .23em; }
.voucher-offer .voucher-price { margin-top: auto; padding-top: 1rem; }
.voucher-offer .btn { margin-top: .25rem; }
.voucher-offer-image { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 12px; margin-bottom: 1.25rem; }
.voucher-product-image {
  width: 100%;
  max-height: 430px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 6px solid #fff;
  border-radius: 72px 24px 24px;
  box-shadow: 0 18px 45px #694c1814;
}
.voucher-price { display: flex; flex-wrap: wrap; gap: .45rem .85rem; align-items: baseline; margin: 1.25rem 0; }
.voucher-price strong { font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.2; letter-spacing: -.04em; }
.voucher-price del, .voucher-note, .voucher-facts dt { color: var(--lw-muted); }
.voucher-note { font-size: .875rem; }
.voucher-facts { margin: 0 0 1rem; }
.voucher-facts div + div { margin-top: .65rem; }
.voucher-facts dt { font-size: .82rem; font-weight: 600; }
.voucher-facts dd { margin: 0; overflow-wrap: anywhere; }

.voucher-page .voucher-page-header, .voucher-section { padding-block: clamp(2rem, 5vw, 4.25rem); }
.lingwish-ui .voucher-page .voucher-page-header h1 {
  margin: 0;
  font-size: clamp(2rem, 5.5vw, 3.65rem);
  letter-spacing: -.045em;
}
.voucher-page-header p { margin: .75rem 0 0; color: var(--lw-muted); }
.lingwish-ui .container.voucher-narrow { max-width: 720px; }
.voucher-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1rem, 4vw, 2.75rem);
}
.voucher-panel {
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid var(--lw-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 48px #694c1808;
}
.lingwish-ui .voucher-page .voucher-panel h2 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); margin: 0 0 1rem; }
.voucher-panel > :last-child { margin-bottom: 0; }
.voucher-terms { max-width: 72ch; }
.voucher-terms p { max-width: 65ch; }
.voucher-field { margin-bottom: 1rem; }
.voucher-field label { font-weight: 600; }
.voucher-panel fieldset { margin: 0 0 1.5rem; padding: 0 0 1rem; border: 0; border-bottom: 1px solid var(--lw-line); }
.voucher-panel legend { margin-bottom: .75rem; font-size: 1.15rem; font-weight: 700; }
.voucher-summary { grid-column: 2; grid-row: 1; border-top: 4px solid var(--lw-yellow); }
.voucher-summary + form { grid-column: 1; grid-row: 1; }
.voucher-summary p { margin-bottom: .55rem; }
.voucher-summary details { margin-top: 1.2rem; }
.voucher-list { margin: 0; padding: 0; list-style: none; }
.voucher-list li { border-top: 1px solid var(--lw-line); padding-block: 1rem; }
.voucher-list li p { margin: .4rem 0; }
.voucher-actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.voucher-error, .voucher-page .errorlist { color: #9c2121; }
.voucher-payment-qr { display: block; margin: 1rem 0; max-width: 100%; height: auto; }
@media (max-width: 1000px) {
  .voucher-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .voucher-split { grid-template-columns: 1fr; }
  .voucher-summary, .voucher-summary + form { grid-column: auto; grid-row: auto; }
}
@media (max-width: 575px) {
  .voucher-grid { grid-template-columns: 1fr; }
  .voucher-page .lw-portrait img { height: clamp(165px, 51vw, 240px); }
}
.lingwish-ui .voucher-page .voucher-back { color: var(--lw-muted); }
.lingwish-ui .voucher-page .voucher-offer h3 a { color: var(--lw-ink); }
@media print {
  .voucher-page a[href]::after { content: none; }
}
