/* SH Vale Oferta — purchase page. Everything scoped under .shvo. */
.shvo {
  --shvo-bg: #0e0e0e;
  --shvo-panel: #161616;
  --shvo-line: #2a2a2a;
  --shvo-text: #f2f2f2;
  --shvo-muted: #a3a1a1;
  --shvo-accent: #ffa35a;
  --shvo-accent-2: #ffa35a;
  --shvo-glow: rgba(255, 163, 90, .14);
  position: relative;
  background: var(--shvo-bg);
  color: var(--shvo-text);
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  line-height: 1.5;
}
.shvo *, .shvo *::before, .shvo *::after { box-sizing: border-box; }
/* Theme layout overrides — this stylesheet only loads on the voucher page. */
.main-title-section-wrapper { display: none !important; }
.header-top-absolute { margin-bottom: 0 !important; }
.shvo { width: 100vw; margin-left: calc(50% - 50vw); }
body { overflow-x: clip; }
.shvo.xmas { --shvo-accent-2: #e2c27d; }
.shvo .card-xmas { --shvo-accent-2: #e2c27d; --shvo-glow: rgba(226, 194, 125, .16); }

.shvo-sky { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.shvo > section, .shvo > div:not(.shvo-sky) { position: relative; z-index: 1; }

.shvo-xbanner {
  text-align: center; padding: 11px 16px; font-size: 14px; letter-spacing: .05em;
  background: linear-gradient(90deg, #7d0f22, #a8182e 50%, #7d0f22); color: #f3dfae; border-bottom: 3px solid #11301f;
}
.shvo.xmas { background: radial-gradient(70% 50% at 50% 0%, rgba(17, 48, 31, .55), transparent 70%), var(--shvo-bg); }
.shvo.xmas .shvo-hero h1 { color: #fff6e3; }
.shvo.xmas .shvo-hero h1 em { font-family: 'Cormorant Garamond', serif; font-weight: 500; color: #ecd08f; }
.shvo-xbanner b { color: #fff; font-weight: 600; }

.shvo-hero { text-align: center; padding: 64px 16px 36px; }
.shvo-eyebrow { font-size: 14px; letter-spacing: .32em; text-transform: uppercase; color: var(--shvo-accent-2); }
.shvo .shvo-hero h1 { color: var(--shvo-text); font-family: inherit; font-size: clamp(30px, 5vw, 56px); font-weight: 600; line-height: 1.12; margin: 14px auto 16px; max-width: 760px; text-transform: none; letter-spacing: 0; background: none; padding: 0; border: 0; box-shadow: none; }
.shvo .shvo-hero h1::before, .shvo .shvo-hero h1::after { display: none; }
.shvo-hero p { color: var(--shvo-muted); max-width: 560px; margin: 0 auto; font-size: 18px; }

.shvo-buy { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; max-width: 1120px; margin: 0 auto; padding: 24px 16px 80px; }
.shvo-card-wrap { position: sticky; top: 110px; }
@media (max-width: 880px) {
  .shvo-buy { grid-template-columns: 1fr; gap: 32px; }
  .shvo-card-wrap { position: static; }
}
.shvo-caption { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #777; margin: 0 0 12px; }

/* Voucher preview */
.shvo-voucher {
  position: relative; aspect-ratio: 1.6 / 1; min-height: min-content; border-radius: 18px; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 0%, var(--shvo-glow), transparent 60%), radial-gradient(80% 70% at 0% 100%, rgba(255, 163, 90, .07), transparent 60%), #121212;
  border: 1px solid #2c2c2c; box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  padding: clamp(18px, 3.2vw, 32px); display: flex; flex-direction: column; color: var(--shvo-text);
}
.shvo-voucher::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--shvo-accent-2); opacity: .45; border-radius: 12px; pointer-events: none; }
.shvo-v-top, .shvo-v-mid, .shvo-v-bottom { position: relative; z-index: 1; }
.shvo-v-top { display: flex; justify-content: space-between; align-items: flex-start; }
.shvo-v-top img { width: clamp(38px, 5vw, 54px); height: auto; transition: margin .3s; }
.shvo-v-kind { text-align: right; }
.shvo-v-kind small { display: block; font-size: clamp(9px, 1.1vw, 11px); letter-spacing: .38em; color: var(--shvo-accent-2); text-transform: uppercase; }
.shvo-v-kind strong { display: block; font-size: clamp(18px, 2.6vw, 28px); font-weight: 600; margin-top: 4px; }
.shvo-v-mid { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.shvo-v-names { font-size: clamp(12px, 1.5vw, 15px); color: var(--shvo-muted); }
.shvo-v-names span { color: var(--shvo-text); font-weight: 400; }
.shvo-v-msg { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(15px, 2vw, 21px); color: #e9e0d6; line-height: 1.3; min-height: 1.3em; }
.shvo-v-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.shvo-v-code { border: 1px dashed var(--shvo-accent-2); border-radius: 8px; padding: 7px 12px; font-weight: 600; letter-spacing: .16em; font-size: clamp(12px, 1.6vw, 16px); color: var(--shvo-accent-2); }
.shvo-v-code small { display: block; font-size: 9px; letter-spacing: .3em; color: var(--shvo-muted); font-weight: 300; margin-bottom: 2px; }
.shvo-v-meta { text-align: right; font-size: clamp(9px, 1.1vw, 12px); color: var(--shvo-muted); }
.shvo-v-price { font-size: clamp(22px, 3vw, 34px); font-weight: 600; color: var(--shvo-text); line-height: 1; }
/* Christmas card — matches the approved email/PDF: forest green, red band, holly, bow. */
.shvo-band, .shvo-holly, .shvo-bow { display: none; }
.shvo-voucher.card-xmas {
  --shvo-accent-2: #d9b86a; --shvo-muted: #cfd8cf;
  background: radial-gradient(120% 90% at 85% 0%, rgba(217, 184, 106, .14), transparent 60%), radial-gradient(90% 80% at 0% 100%, rgba(168, 24, 46, .18), transparent 60%), #11301f;
  border: 6px solid #0b2416; padding-top: clamp(44px, 6vw, 58px);
}
.card-xmas::before { top: 40px; border-color: #d9b86a; opacity: .7; }
.card-xmas .shvo-band {
  display: block; position: absolute; top: 0; left: 0; right: 0; z-index: 2; background: #a8182e; color: #f3dfae;
  font-size: clamp(9px, 1.1vw, 11px); font-weight: 600; letter-spacing: .32em; text-transform: uppercase; padding: 8px 12px;
}
.card-xmas .shvo-band { display: flex; justify-content: center; gap: calc(var(--bow) * .8); }
/* The theme greys out images site-wide; keep the voucher's own art in colour. */
.shvo .shvo-voucher img { filter: none !important; -webkit-filter: none !important; }
.shvo .shvo-bow { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)) !important; -webkit-filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)) !important; }
.card-xmas .shvo-logo { display: none; }
.card-xmas .shvo-holly { display: block; width: clamp(56px, 7vw, 80px); }
.card-xmas .shvo-v-msg { color: #fff6e3; }
.card-xmas .shvo-v-code { color: #ecd08f; }
.shvo-card-wrap { --bow: clamp(80px, 9vw, 110px); }
.shvo .shvo-bow { display: block; width: var(--bow); height: auto; margin: 0 auto calc(var(--bow) * -.42); position: relative; z-index: 3; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
.shvo .shvo-bow.shvo-hidden { display: none !important; }

/* Form */
.shvo-form { background: var(--shvo-panel); border: 1px solid var(--shvo-line); border-radius: 18px; padding: clamp(20px, 3vw, 32px); }
.shvo .shvo-form h2 { color: var(--shvo-text); font-family: inherit; margin: 0 0 4px; font-size: 24px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.shvo-sub { color: var(--shvo-muted); margin: 0 0 22px; font-size: 15px; }
.shvo-product { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--shvo-accent); border-radius: 12px; padding: 14px 16px; margin-bottom: 22px; background: rgba(255, 163, 90, .06); }
.shvo-product b { font-weight: 600; display: block; }
.shvo-product small { color: var(--shvo-muted); }
.shvo-p { font-size: 24px; font-weight: 600; color: var(--shvo-accent); white-space: nowrap; }
.shvo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .shvo-row { grid-template-columns: 1fr; } }
.shvo .shvo-field label, .shvo-label { display: block; font-size: 13px; letter-spacing: .06em; color: #cfcfcf; margin: 0 0 6px; font-weight: 400; text-transform: none; }
.shvo-field { margin-bottom: 16px; }
.shvo .shvo-form input[type="text"], .shvo .shvo-form input:not([type]), .shvo .shvo-form input[type="email"], .shvo .shvo-form input[type="date"], .shvo .shvo-form textarea {
  width: 100%; max-width: none; background: #0c0c0c; border: 1px solid #333; border-radius: 10px; color: var(--shvo-text);
  font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; outline: none; box-shadow: none; height: auto; margin: 0;
  color-scheme: dark;
}
.shvo .shvo-form input:focus, .shvo .shvo-form textarea:focus { border-color: var(--shvo-accent); }
.shvo .shvo-form textarea { resize: vertical; min-height: 84px; }
.shvo-count { text-align: right; font-size: 12px; color: #777; margin-top: 4px; }
.shvo-note { font-size: 12px; color: #888; margin: -6px 0 18px; }
.shvo-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.shvo-pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
@media (max-width: 520px) {
  .shvo-pay { gap: 8px; }
  .shvo .shvo-pay label { padding: 10px 6px; font-size: 13px; }
  .shvo-pay small { font-size: 10px; }
}
.shvo .shvo-seg label, .shvo .shvo-pay label {
  margin: 0; display: flex; align-items: center; gap: 10px; border: 1px solid #333; border-radius: 10px; padding: 11px 13px;
  cursor: pointer; font-size: 14px; color: var(--shvo-text); font-weight: 400; text-transform: none; letter-spacing: 0;
}
.shvo .shvo-seg input, .shvo .shvo-pay input { width: auto; margin: 0; accent-color: var(--shvo-accent); }
.shvo .shvo-seg label:has(input:checked), .shvo .shvo-pay label:has(input:checked) { border-color: var(--shvo-accent); background: rgba(255, 163, 90, .06); }
.shvo .shvo-pay label { justify-content: center; flex-direction: column; gap: 4px; text-align: center; }
.shvo-pay small { color: var(--shvo-muted); font-size: 11px; }
.shvo-hidden { display: none !important; }
.shvo .shvo-cta {
  width: 100%; border: 0; border-radius: 999px; padding: 16px; cursor: pointer; margin: 0;
  background: var(--shvo-accent); color: #141414; font: inherit; font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase;
  transition: filter .2s, transform .2s;
}
.shvo .shvo-cta:hover { filter: brightness(1.06); transform: translateY(-1px); }
.shvo.xmas .shvo-cta { background: #a8182e; color: #f3dfae; box-shadow: 0 10px 30px rgba(168, 24, 46, .35); }
.shvo-fine { text-align: center; color: #888; font-size: 12px; margin: 12px 0 0; }

/* Woo notices inside the form */
.shvo .woocommerce-error, .shvo .woocommerce-message, .shvo .woocommerce-info {
  list-style: none; margin: 0 0 18px; padding: 12px 16px; border-radius: 10px; border: 1px solid #7d2a2a; background: #2a1212; color: #ffd6d6; font-size: 14px;
}
.shvo .woocommerce-error::before { display: none; }
.shvo .woocommerce-error li { margin: 0; padding: 2px 0; }

/* Info */
.shvo-steps { max-width: 1120px; margin: 0 auto; padding: 0 16px 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .shvo-steps { grid-template-columns: 1fr; } }
.shvo-step { border-top: 1px solid var(--shvo-line); padding-top: 18px; }
.shvo-n { color: var(--shvo-accent-2); font-size: 13px; letter-spacing: .3em; }
.shvo .shvo-step h3 { color: var(--shvo-text); font-family: inherit; margin: 6px 0; font-weight: 600; font-size: 19px; text-transform: none; letter-spacing: 0; }
.shvo-step p { margin: 0; color: var(--shvo-muted); font-size: 15px; }
.shvo-facts { max-width: 1120px; margin: 0 auto; padding: 0 16px 90px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.shvo-facts span { border: 1px solid var(--shvo-line); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: #d8d8d8; }

@media (prefers-reduced-motion: reduce) { .shvo-sky { display: none; } }
