.voucher-shop,
.voucher-sales,
.voucher-barber {
  --voucher-accent: #ff6a00;
  --voucher-line: color-mix(in srgb, currentColor 22%, transparent);
  --voucher-surface: color-mix(in srgb, currentColor 4%, transparent);
  --voucher-space: clamp(14px, 2.5vw, 24px);
  min-width: 0;
}

.voucher-shop [data-voucher-root] { margin-top: 30px; }
.voucher-shop :where(h2, h3, p),
.voucher-sales :where(h2, h3, p),
.voucher-barber :where(h2, h3, p) { margin: 0; overflow-wrap: anywhere; }
.voucher-shop :where(h2, h3), .voucher-sales h2, .voucher-barber h2 { font-size: clamp(1.2rem, 2.5vw, 1.55rem); }
.voucher-sales h3, .voucher-barber h3 { font-size: 1.05rem; }
.voucher-layout, .voucher-fields { display: grid; gap: var(--voucher-space); }
.voucher-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.voucher-fields { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.voucher-options, .voucher-form, .voucher-pane { display: grid; gap: 14px; align-content: start; min-width: 0; }
.voucher-pane { background: var(--voucher-surface); border: 1px solid var(--voucher-line); padding: var(--voucher-space); }
.voucher-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 16px;
  align-items: center;
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--voucher-line);
  color: inherit;
  background: var(--voucher-surface);
  font: inherit;
  text-align: start;
}
.voucher-option span:first-child { grid-column: 1 / -1; font-size: .82rem; opacity: .8; }
.voucher-option strong { overflow-wrap: anywhere; }
.voucher-option[aria-pressed="true"] { border-color: var(--voucher-accent); box-shadow: inset 3px 0 var(--voucher-accent); }
.voucher-action, .storefront .voucher-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  justify-self: start;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--voucher-accent);
  color: #111;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.voucher-action.secondary, .storefront .voucher-action.secondary {
  border-color: var(--voucher-line);
  background: transparent;
  color: inherit;
}
.voucher-action[aria-pressed="true"] { border-color: var(--voucher-accent); box-shadow: inset 0 -2px var(--voucher-accent); }
.voucher-action:not(:disabled), .voucher-option:not(:disabled), .voucher-barber summary { cursor: pointer; }
.voucher-action:disabled { opacity: .55; }
.voucher-action:focus-visible, .voucher-option:focus-visible, .voucher-field :focus-visible { outline: 2px solid var(--voucher-accent); outline-offset: 3px; }
.voucher-field { display: grid; min-width: 0; gap: 5px; font-weight: 600; }
.voucher-field :where(input, select, textarea) {
  width: 100%;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--voucher-line);
  border-radius: 0;
  background: var(--voucher-surface);
  color: inherit;
  font: inherit;
  font-weight: 400;
}
.voucher-field option { background-color: Canvas; color: CanvasText; }
.voucher-consent { display: flex; align-items: start; gap: 8px; }
.voucher-consent input { flex: none; width: 18px; height: 18px; accent-color: var(--voucher-accent); }
.storefront .voucher-consent a { text-decoration: underline; text-underline-offset: 3px; }
.voucher-line, .voucher-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; min-width: 0; }
.voucher-line > div { min-width: 0; }
.voucher-line > .voucher-field { flex: 1 1 180px; }
.voucher-line > .voucher-field ~ .voucher-action { align-self: end; }
.voucher-tabs { margin-bottom: 16px; }
.voucher-item { border-top: 1px solid var(--voucher-line); padding-top: 13px; }
.voucher-item .voucher-action { margin-inline-start: auto; }
.voucher-item code { overflow-wrap: anywhere; }
.voucher-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.voucher-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.voucher-stats strong { font-size: 1.55rem; font-variant-numeric: tabular-nums; }
.voucher-error { border-inline-start: 3px solid var(--voucher-accent); padding: 6px 10px; }
.voucher-back { margin-top: 16px; }
.voucher-video { width: min(100%, 520px); max-height: 390px; background: #101010; }
.voucher-video[hidden] { display: none; }
.voucher-barber { margin-block: var(--voucher-space); }
.voucher-barber summary { margin-bottom: 12px; padding-block: 10px; font-weight: 700; }

@media (max-width: 700px) {
  .voucher-layout { grid-template-columns: 1fr; }
  .voucher-item .voucher-action { margin-inline-start: 0; }
}
