.voucher-catalog { padding-bottom:80px; }
.voucher-gift-hero { position:relative; isolation:isolate; overflow:hidden; background:#05293a; color:white; }
.voucher-gift-hero > img { position:absolute; inset:0 0 0 auto; width:78%; height:100%; object-fit:cover; object-position:right center; z-index:-2; }
.voucher-gift-hero::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#05293a 23%,#05293ae8 38%,transparent 68%); z-index:-1; }
.voucher-gift-copy { width:50%; max-width:620px; padding-block:clamp(30px,4vw,68px); }
.voucher-gift-copy h1 { max-width:10ch; font-size:clamp(48px,5.7vw,86px); color:white; }
.voucher-gift-copy p { margin-top:18px; font-size:clamp(16px,1.35vw,20px); line-height:1.5; }
.voucher-gift-copy .voucher-delivery { font-size:16px; color:#e1eff3; }
.voucher-gift-copy .voucher-gift-label { margin:0 0 12px; font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#ffdea7; }
@media(max-width:700px) {
  .voucher-gift-hero > img { position:static; width:100%; height:auto; display:block; }
  .voucher-gift-hero::before { display:none; }
  .voucher-gift-copy { width:100%; padding-block:22px; }
  .voucher-gift-copy h1 { max-width:none; font-size:clamp(40px,8vw,54px); }
}
.voucher-gift-copy .button { margin-top:18px; }
.voucher-breadcrumbs { display:flex; flex-wrap:wrap; align-items:center; gap:12px; padding-top:22px; color:var(--divers-muted,#52666e); font-size:14px; }
.voucher-breadcrumbs a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.voucher-breadcrumbs a:hover { color:var(--red); }
.voucher-catalog [hidden] { display:none!important; }
.voucher-categories { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:28px 0; }
.voucher-categories a { display:flex; gap:14px; align-items:center; padding:12px; border:1px solid var(--line); border-radius:12px; background:var(--divers-surface,white); }
.voucher-categories a:hover,.voucher-categories a[aria-current] { border-color:var(--red); }
.voucher-categories a[aria-current] { box-shadow:inset 0 0 0 1px var(--red); }
.voucher-categories img { width:76px; height:76px; object-fit:cover; background:var(--paper); border-radius:8px; }
.voucher-categories small { display:block; margin-top:6px; color:var(--divers-muted,#52666e); }
.voucher-browser { display:grid; grid-template-columns:minmax(178px,210px) minmax(0,1fr); gap:clamp(16px,2.5vw,40px); align-items:start; }
.voucher-browser:has(>.voucher-filters[hidden]) { grid-template-columns:1fr; }
.voucher-group { min-width:0; }
.voucher-results { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:10px; margin-bottom:20px; }
.voucher-results h2 { font-size:clamp(32px,3.6vw,52px); }
.voucher-results a,.voucher-filter-body>button { color:inherit; background:none; border:0; font:inherit; font-size:14px; text-decoration:underline; text-underline-offset:3px; }
.voucher-filters { padding-right:20px; border-right:1px solid var(--line); }
.voucher-filters>summary { font-size:20px; font-weight:700; }
.voucher-filter-body>button { margin:8px 0; padding:4px 0; }
.voucher-filter-body details { padding-block:16px; border-top:1px solid var(--line); }
.voucher-filter-body summary { font-weight:700; }
.voucher-filter-body [data-price-caption] { margin:12px 0; font-weight:700; }
.voucher-limits { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.voucher-limits label { font-size:13px; }
.voucher-limits span { display:flex; align-items:center; gap:2px; border:1px solid var(--line); border-radius:7px; padding:6px; }
.voucher-limits input { width:100%; min-width:0; appearance:textfield; background:transparent; color:inherit; border:0; font:inherit; }
.voucher-limits input::-webkit-inner-spin-button { appearance:none; }
.voucher-range { position:relative; height:32px; margin-bottom:8px; }
.voucher-range::before { content:""; position:absolute; inset:14px 7px auto; height:4px; background:var(--red); border-radius:4px; }
.voucher-range input { position:absolute; inset:0; margin:0; width:100%; appearance:none; background:transparent; pointer-events:none; }
.voucher-range input::-webkit-slider-thumb { appearance:none; width:19px; height:19px; border:2px solid var(--red); background:var(--paper); border-radius:50%; pointer-events:auto; cursor:pointer; }
.voucher-range input::-moz-range-thumb { width:16px; height:16px; border:2px solid var(--red); background:var(--paper); border-radius:50%; pointer-events:auto; cursor:pointer; }
.voucher-facet { display:flex; align-items:baseline; gap:8px; margin-top:8px; font-size:14px; cursor:pointer; }
.voucher-facet input { accent-color:var(--red); }
.voucher-options input:disabled+span { opacity:.5; }
@media(max-width:760px) {
  .voucher-categories { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .voucher-categories a { padding:8px; gap:8px; font-size:14px; line-height:1.3; }
  .voucher-categories img { width:clamp(38px,9vw,64px); height:auto; aspect-ratio:1; }
  .voucher-browser { grid-template-columns:1fr; }
  .voucher-filters { border:1px solid var(--line); border-radius:9px; padding:10px 14px; }
}
.voucher-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr)); gap: 18px; }
.voucher-card { display:flex; flex-direction:column; min-width:0; border:1px solid var(--line); border-radius:14px; }
.voucher-card-media { display:block; position:relative; background:var(--paper); border-radius:13px 13px 0 0; }
.voucher-art { width:100%; position:relative; container-type:inline-size; }
.voucher-art img { display:block; width:100%; height:auto; border-radius:13px 13px 0 0; }
/* Remove only the bottom margin of the landscape Canva exports. */
.voucher-art-trimmed { aspect-ratio:720 / 496; overflow:hidden; }
.voucher-art span { position:absolute; left:6%; right:6%; bottom:44%; font:600 4.1cqw/1.1 Arial,sans-serif; color:white; }
.voucher-flip { transform-style:preserve-3d; transform:perspective(900px) rotateY(0deg); transition:transform 650ms cubic-bezier(.22,.68,.3,1); }
.voucher-flip > div { backface-visibility:hidden; -webkit-backface-visibility:hidden; }
.voucher-reverse { position:absolute; inset:0; transform:rotateY(180deg); display:grid; place-items:center; background:var(--paper); border-radius:13px 13px 0 0; overflow:hidden; }
.voucher-reverse img { display:block; width:100%; height:100%; min-height:0; object-fit:contain; }
@media(hover:hover) and (pointer:fine) {
  .voucher-card:hover .voucher-flip { transform:perspective(900px) rotateY(180deg); }
}
.voucher-card-media:focus-visible .voucher-flip { transform:perspective(900px) rotateY(180deg); }
@media(prefers-reduced-motion:reduce) { .voucher-flip { transition:none; } }
html[data-motion-paused] .voucher-flip { transition:none; }
.voucher-card-copy { display:flex; flex-direction:column; flex:1; padding:16px; border-radius:0 0 13px 13px; background:linear-gradient(150deg,var(--paper),var(--voucher-panel,#f3f7f8)); }
html[data-theme=dark] .voucher-card { --voucher-panel:#143140; --voucher-price:#ff8792; --voucher-muted:#adc1ca; }
.voucher-card-copy .brand { margin:12px 0 4px; font:700 11px/1.4 Arial,sans-serif; letter-spacing:.1em; text-transform:uppercase; color:var(--voucher-muted,#52666e); }
.voucher-card-copy h3 { font:700 17px/1.25 Arial,sans-serif; }
.voucher-card-copy h3 a:hover { text-decoration:underline; }
.voucher-card-copy .card-description { margin:12px 0 18px; color:var(--voucher-muted,#52666e); font-size:14px; line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.voucher-card-copy .card-bottom { margin-top:auto; }
.voucher-card .price-line { font:700 21px/1.35 Arial,sans-serif; color:var(--voucher-price,#b61931); }
.voucher-card .price-line :is(s,small) { font-size:12px; margin-right:5px; }
.voucher-card .price-line small { display:block; }
.voucher-options { margin:12px 0 0; padding:0; border:0; display:flex; flex-wrap:wrap; gap:5px; min-width:0; }
.voucher-options[hidden], .voucher-card [hidden] { display:none; }
.voucher-options label { position:relative; cursor:pointer; max-width:100%; }
.voucher-options span { display:block; border:1px solid var(--line); border-radius:4px; padding:5px 8px; font:600 12px/1.4 Arial,sans-serif; overflow-wrap:anywhere; }
.voucher-options input:checked + span { color:var(--paper); background:var(--ink); border-color:var(--ink); }
.voucher-options input:focus-visible + span { outline:2px solid #1589a8; outline-offset:2px; }
.voucher-card .card-actions { margin-top:16px; display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.voucher-card .card-actions a { display:flex; align-items:center; justify-content:center; min-height:44px; padding:8px 4px; text-align:center; border-radius:9px; font:700 13px/1.2 Arial,sans-serif; }
.voucher-card .close { background:var(--divers-surface,white); border:1px solid var(--line); }
.voucher-card .primary { background:#c7203b; color:white; }
