/* Gift voucher landing page - built on top of the shared ../styles.css tokens */

/* Certificate design */
.vc-cert {
  position: relative;
  background: linear-gradient(160deg, var(--white) 0%, var(--cream) 100%);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 8px;
  overflow: hidden;
}
.vc-cert-inner {
  position: relative;
  border: 1px dashed rgba(198,120,86,.5);
  border-radius: 12px;
  padding: 30px 22px;
  text-align: center;
  background-image: radial-gradient(rgba(198,120,86,.12) 1px, transparent 1px);
  background-size: 14px 14px;
}
.vc-cert-logo { display: block; margin-bottom: 14px; }
.vc-cert-logo .logo-word { font-size: 1.3rem; }
.vc-cert-kicker {
  font-family: "Suez One", serif;
  font-size: 1.4rem;
  color: var(--accent-dark);
  margin: 0 0 16px;
}
.vc-cert-msg {
  font-size: .88rem; color: var(--ink); font-style: italic;
  line-height: 1.5; margin: 0 0 16px;
  min-height: 2.6em;
}
.vc-cert-fine {
  font-size: .68rem; color: var(--ink-soft); opacity: .75;
  margin: 14px 0 0; padding-top: 12px;
  border-top: 1px dashed rgba(58,47,44,.16);
  font-variant-numeric: tabular-nums;
}

.vc-who { text-align: center; padding: 8px 0 12px; }
.vc-who-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px;
}
.vc-who-card {
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  padding: 24px 16px; transition: transform .2s ease, box-shadow .2s ease;
}
.vc-who-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vc-who-icon {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--blush); color: var(--accent-dark);
}
.vc-who-icon svg { width: 20px; height: 20px; }
.vc-who-card p { margin: 0; font-size: .88rem; font-weight: 600; color: var(--ink); line-height: 1.45; }
@media (max-width: 760px) {
  .vc-who-grid { grid-template-columns: repeat(2, 1fr); }
}

.vc-section { padding: 56px 0; }
.vc-section-head { text-align: center; max-width: 62ch; margin: 0 auto 8px; }

.vc-order-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 36px;
}
@media (max-width: 900px) {
  .vc-order-grid { grid-template-columns: 1fr; gap: 28px; }
  .vc-live-preview { order: -1; max-width: 320px; margin: 0 auto; }
}

.vc-form {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 28px 26px;
}
.vc-label { font-weight: 800; font-size: .94rem; color: var(--ink); margin: 0 0 10px; }
.vc-amount-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.vc-chip {
  flex: 1 1 auto; min-width: 70px;
  border: 1.5px solid rgba(58,47,44,.14); background: var(--cream);
  color: var(--ink); font-weight: 700; font-size: .95rem;
  padding: 10px 14px; border-radius: 12px; cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.vc-chip:hover { border-color: var(--accent); }
.vc-chip-selected { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
@media (max-width: 500px) {
  .vc-amount-chips .vc-chip { flex: 1 1 calc(50% - 5px); font-size: 1rem; padding: 12px 10px; }
}
.vc-custom-amount { display: flex; flex-direction: column; gap: 6px; }
.vc-custom-amount label { font-size: .84rem; color: var(--ink-soft); }
.vc-custom-amount-input { display: flex; align-items: center; gap: 8px; }
.vc-custom-amount-input input {
  flex: 1; padding: 10px 14px; border-radius: 10px;
  border: 1.5px solid rgba(58,47,44,.14); font-size: .95rem; font-family: inherit;
}
.vc-custom-amount-input span { color: var(--ink-soft); font-weight: 700; }
.vc-amount-note { font-size: .76rem; color: var(--ink-soft); margin: 4px 0 0; }

.vc-delivery-choice { display: flex; flex-wrap: wrap; gap: 10px; }
.vc-delivery-choice .vc-chip { flex: 1 1 auto; min-width: 160px; }
.vc-form-submit { width: 100%; margin-top: 16px; }
.vc-form-note { font-size: .82rem; color: var(--ink-soft); margin: 0 0 14px; text-align: center; line-height: 1.5; }

.vc-live-preview { position: sticky; top: 90px; }
.vc-live-preview-label {
  text-align: center; font-size: .82rem; font-weight: 700;
  color: var(--ink-soft); margin: 0 0 12px;
}

/* ---- 2026-10 redesign: certificate with photo, tone cards, uses grid ---- */
.vc-cert {
  background: #fff; border: 0; border-radius: 26px; padding: 10px;
  box-shadow: 0 30px 60px -30px rgba(58,47,44,.55);
}
.vc-cert-inner {
  border: 0; border-radius: 20px; padding: 0 0 20px;
  background: linear-gradient(180deg, #fff 0%, #fbf3ed 100%);
  overflow: hidden;
}
.vc-cert-photo { position: relative; margin-bottom: 16px; }
.vc-cert-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: 18px 18px 0 0; }
.vc-cert-photo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(to top, #fff 0%, transparent 100%);
}
.vc-cert-ribbon {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  background: var(--accent); color: #fff; font-weight: 800; font-size: .78rem;
  padding: 5px 12px; border-radius: 999px; box-shadow: 0 8px 16px -8px rgba(0,0,0,.4);
}
.vc-cert-logo,
.vc-cert-kicker,
.vc-cert-msg,
.vc-cert-fine { padding: 0 20px; }
.vc-cert-logo { margin: -34px 0 6px; position: relative; z-index: 1; }
.vc-cert-kicker { font-family: inherit; font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; color: var(--accent); margin-bottom: 10px; }
.vc-cert-fine { margin: 14px 20px 0; padding: 12px 0 0; }
.sv-hero-product .vc-cert { max-width: 300px; max-height: none; }
.vc-hero-card .sv-hero-product { z-index: 1; }

.vc-who-card[class*="sv-c-"] { background: var(--sv-tone-bg); box-shadow: none; border-radius: 22px; }
.vc-who-card[class*="sv-c-"] .vc-who-icon { background: #fff; color: var(--sv-tone); }
.vc-who-card p { font-size: .95rem; font-weight: 700; }
@media (max-width: 820px) {
  .vc-hero-card .sv-hero-photo { display: none; }
  .vc-hero-card .sv-hero-product { position: relative; width: 100%; padding: 34px 26px 0; }
  .vc-hero-card .sv-hero-product .vc-cert { max-width: 230px; max-height: none; }
  .vc-hero-card .sv-hero-copy { margin-top: 0; padding-top: 24px; }
}
.vc-who { padding-top: 48px; }

/* ---- 2026-10 round 2: premium certificate typography + photo fading into white ---- */
.vc-cert-inner { background: #fff; padding-bottom: 18px; text-align: center; }
.vc-cert-photo { margin-bottom: 0; }
.vc-cert-photo img {
  aspect-ratio: 4 / 3; border-radius: 18px 18px 0 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
}
.vc-cert-photo::after { display: none; }
.vc-cert-logo { margin: -46px 0 4px; }
.vc-cert-logo .logo-word { font-size: 1.15rem; }
.vc-cert-kicker {
  font-family: "Suez One", serif; font-weight: 400;
  font-size: 1.75rem; line-height: 1.1; color: var(--ink); margin: 2px 0 6px;
}
.vc-cert-msg {
  position: relative; margin: 0 20px 4px; padding: 10px 14px;
  font-size: .9rem; font-style: normal; color: var(--ink); line-height: 1.55;
  border-top: 1px solid #f0e3da; border-bottom: 1px solid #f0e3da;
}
.vc-cert-fine { border-top: 0; margin-top: 8px; padding-top: 0; }

/* ---- stepped, inviting voucher form ---- */
.vc-form { background: transparent; box-shadow: none; padding: 0; gap: 16px; }
.vc-step {
  background: #fff; border: 1.5px solid rgba(58,47,44,.08); border-radius: 24px;
  padding: 22px 22px 20px; box-shadow: 0 16px 34px -28px rgba(58,47,44,.45);
}
.vc-step-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.vc-step-num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.vc-step-head h3 { font-size: 1.15rem; margin: 2px 0 2px; }
.vc-step-head p { font-size: .86rem; color: var(--ink-soft); margin: 0; }
.vc-step-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vc-step-fields .field-full { grid-column: 1 / -1; }
.vc-step .vc-delivery-choice { display: flex; gap: 10px; flex-wrap: wrap; }

.vc-mode { display: inline-flex; gap: 4px; padding: 4px; background: #f6ece5; border-radius: 999px; margin-bottom: 16px; }
.vc-mode-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font: inherit; font-weight: 700; font-size: .92rem; color: var(--ink-soft);
  background: none; border: 0; border-radius: 999px; padding: 9px 18px; cursor: pointer;
}
.vc-mode-btn.is-active { background: #fff; color: var(--accent-dark); box-shadow: 0 6px 14px -8px rgba(58,47,44,.4); }

.vc-group-label { font-size: .82rem; font-weight: 800; color: var(--ink-soft); margin: 14px 0 8px; letter-spacing: .02em; }
.vc-group-label:first-child { margin-top: 0; }
.vc-product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vc-product {
  display: flex; align-items: center; gap: 12px; text-align: start;
  font: inherit; cursor: pointer; width: 100%;
  background: #fff; border: 1.5px solid rgba(58,47,44,.1); border-radius: 18px; padding: 12px 14px;
  transition: border-color .2s, background .2s, transform .2s;
}
.vc-product:hover { border-color: var(--sv-tone); transform: translateY(-2px); }
.vc-product.is-selected { border-color: var(--sv-tone); background: var(--sv-tone-bg); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sv-tone) 18%, transparent); }
.vc-product-icon { flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; background: var(--sv-tone-bg); color: var(--sv-tone); display: flex; align-items: center; justify-content: center; }
.vc-product.is-selected .vc-product-icon { background: #fff; }
.vc-product-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.vc-product-text b { font-size: .95rem; color: var(--ink); }
.vc-product-text small { font-size: .78rem; color: var(--ink-soft); }
.vc-product strong { font-size: 1rem; font-weight: 800; color: var(--ink); white-space: nowrap; }
.vc-shake { animation: vcShake .5s; }
@keyframes vcShake { 0%,100% { transform: none; } 25% { transform: translateX(6px); } 75% { transform: translateX(-6px); } }

.vc-chip { border-radius: 999px; font-weight: 700; }
.vc-pay { text-align: center; padding: 6px 0 0; }
.vc-form-submit { width: 100%; padding: 16px 28px; font-size: 1.05rem; }
@media (max-width: 640px) {
  .vc-product-grid, .vc-step-fields { grid-template-columns: 1fr; }
  .vc-step { padding: 18px 16px; }
  .vc-mode { display: flex; }
  .vc-mode-btn { flex: 1; justify-content: center; padding: 9px 10px; }
}
.vc-product-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

/* ---- round 3: letter-style certificate, off-white, more room ---- */
.vc-cert { padding: 12px; background: #fff; }
.vc-cert-inner { background: #fbf4ee; padding: 0; border-radius: 20px; }
.vc-cert-photo img {
  aspect-ratio: 16 / 10;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
}
.vc-cert-body { padding: 0 24px 20px; margin-top: -36px; position: relative; text-align: start; }
.vc-cert-body > * { padding: 0; margin-left: 0; margin-right: 0; }
.vc-cert-kicker { font-family: inherit; font-weight: 800; font-size: .78rem; letter-spacing: .08em; color: var(--accent); margin: 0 0 4px; }
.vc-cert-hello { font-family: "Suez One", serif; font-size: 2rem; line-height: 1.15; color: var(--ink); margin: 0 0 10px; }
.vc-cert-hello strong { font-weight: 400; color: var(--accent-dark); }
.vc-cert-line { font-size: .95rem; line-height: 1.65; color: var(--ink); margin: 0 0 14px; }
.vc-cert-line b { color: var(--accent-dark); font-weight: 800; }
.vc-cert-msg {
  margin: 0 0 14px; padding: 12px 16px; border: 0; border-radius: 14px;
  background: #fff; font-size: .92rem; line-height: 1.6; color: var(--ink-soft); font-style: italic;
}
.vc-cert-sign { font-size: .95rem; color: var(--ink-soft); margin: 0 0 16px; }
.vc-cert-sign strong { font-family: "Suez One", serif; font-weight: 400; font-size: 1.25rem; color: var(--ink); }
.vc-cert-value { font-size: .82rem; color: var(--ink-soft); }
.vc-cert-value strong { display: inline; font-family: inherit; font-size: 1.05rem; font-weight: 800; color: var(--accent-dark); }
.vc-cert-fine { margin: 8px 0 0; padding: 0; text-align: start; }
.sv-hero-product .vc-cert { max-width: 330px; }
.vc-live-preview .vc-cert { max-width: 380px; margin: 0 auto; }
.vc-total { margin: 12px 0 0; font-size: .92rem; color: var(--ink-soft); }
.vc-total strong { color: var(--accent-dark); font-size: 1.05rem; }
.vc-product.is-selected .vc-product-text b::before { content: "✓ "; color: var(--sv-tone); }

/* "who is it for": clear hierarchy, compact chips */
.vc-who { padding: 44px 0 8px; }
.vc-who h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.vc-who-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.vc-who-card, .vc-who-card[class*="sv-c-"] {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 10px; border-radius: 999px; box-shadow: none;
}
.vc-who-card:hover { transform: none; box-shadow: none; }
.vc-who-icon { width: 32px; height: 32px; margin: 0; }
.vc-who-icon svg { width: 16px; height: 16px; }
.vc-who-card p { font-size: .92rem; }
@media (max-width: 760px) { .vc-who-grid { display: flex; } }

/* ---- round 4: refined certificate typography ---- */
.vc-who-card, .vc-who-card[class*="sv-c-"] { padding-inline-end: 26px; }
.vc-cert-body { text-align: center; padding: 0 26px 22px; }
.vc-cert-kicker {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: .72rem; letter-spacing: .18em; color: var(--accent); margin-bottom: 8px;
}
.vc-cert-kicker::before, .vc-cert-kicker::after { content: ""; width: 28px; height: 1px; background: rgba(198,120,86,.5); }
.vc-cert-hello { font-size: 2.25rem; margin-bottom: 12px; }
.vc-cert-hello strong { color: var(--accent); }
.vc-cert-line { font-size: .88rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 16px; }
.vc-cert-line b {
  display: inline-block; margin: 2px 0; padding: 1px 12px; border-radius: 999px;
  background: #f3ddd2; color: var(--accent-dark); font-weight: 800;
}
.vc-cert-msg {
  position: relative; background: none; padding: 16px 8px 4px; margin-bottom: 10px;
  font-style: normal; font-size: 1rem; color: var(--ink); line-height: 1.65;
}
.vc-cert-msg::before {
  content: "\201D"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  font: 400 2.6rem/1 "Suez One", serif; color: rgba(198,120,86,.35);
}
.vc-cert-sign { font-size: .85rem; margin-bottom: 18px; }
.vc-cert-sign strong { display: block; font-size: 1.35rem; color: var(--accent-dark); margin-top: 2px; }
.vc-cert-value { background: #fff; border-radius: 999px; padding: 5px 14px; font-size: .78rem; }
.vc-cert-value strong { font-size: 1rem; }
.vc-cert-fine { text-align: center; font-size: .66rem; opacity: .65; margin-top: 10px; }
.vc-cert-msg::before { display: none; }
.vc-cert-msg { padding-top: 6px; }
.vc-cert-kicker { letter-spacing: .04em; font-size: .8rem; }

/* ---- round 5: letter-style certificate, right-aligned, no white frame ---- */
.vc-cert { padding: 0; background: none; border-radius: 22px; }
.vc-cert-inner { border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(58,47,44,.5); }
.vc-cert-body { text-align: start; margin-top: 0; padding: 4px 26px 20px; }
.vc-cert-kicker { justify-content: flex-start; margin: 0 0 4px; }
.vc-cert-kicker::before { display: none; }
.vc-cert-hello, .vc-cert-hello span { color: var(--accent-dark); font-size: 2.1rem; text-align: start; }
.vc-cert-line, .vc-cert-msg, .vc-cert-sign, .vc-cert-value { font-size: .95rem; line-height: 1.7; color: var(--ink); }
.vc-cert-line { margin: 0 0 14px; }
.vc-cert-line b { display: inline; padding: 0; background: none; border-radius: 0; color: var(--accent-dark); font-weight: 800; }
.vc-cert-msg { padding: 0; margin: 0 0 14px; text-align: start; }
.vc-cert-sign { margin: 0 0 10px; color: var(--ink-soft); }
.vc-cert-sign strong {
  display: block; width: fit-content; margin-top: 2px;
  font-family: "Suez One", serif; font-weight: 400; font-size: 1.5rem; color: var(--accent);
  transform: rotate(-5deg); transform-origin: right center;
}
.vc-cert-value { font-size: .8rem; color: var(--ink-soft); margin: 4px 0 0; }
.vc-cert-value span { font-weight: 700; }
.vc-hide-value .vc-cert-value { display: none; }
.vc-cert-body > .vc-cert-logo { display: block; text-align: center; margin: 18px 0 2px; padding-top: 12px; border-top: 1px solid rgba(198,120,86,.18); }
.vc-cert-logo .lw1 { color: #d8b3a3; }
.vc-cert-fine { text-align: center; }

/* hero certificate: wider, fades into the background */
.sv-hero-product .vc-cert { max-width: 360px; width: 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
.sv-hero-product .vc-cert-inner { box-shadow: none; }

/* show-value switch */
.vc-switch { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; cursor: pointer; font-size: .92rem; color: var(--ink); }
.vc-switch input { position: absolute; opacity: 0; pointer-events: none; }
.vc-switch-ui { width: 40px; height: 22px; border-radius: 999px; background: #e7dbd3; position: relative; transition: background .2s; flex-shrink: 0; }
.vc-switch-ui::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.vc-switch input:checked + .vc-switch-ui { background: var(--accent); }
.vc-switch input:checked + .vc-switch-ui::after { transform: translateX(-18px); }
.vc-switch input:focus-visible + .vc-switch-ui { outline: 2px solid var(--accent); outline-offset: 2px; }

.vc-who-card, .vc-who-card[class*="sv-c-"] { padding-inline-end: 58px; }
@media (max-width: 820px) {
  .vc-hero-card .sv-hero-product .vc-cert { max-width: 88%; }
  .vc-who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .vc-who-card, .vc-who-card[class*="sv-c-"] { padding: 6px 12px 6px 8px; gap: 8px; }
  .vc-who-card p { font-size: .82rem; line-height: 1.3; }
  .vc-who-icon { width: 26px; height: 26px; }
}
.vc-hero-card .sv-hero-product { align-items: flex-start; padding-top: 44px; overflow: hidden; border-radius: 36px 0 0 36px; }
@media (max-width: 820px) { .vc-hero-card .sv-hero-product { border-radius: 36px 36px 0 0; max-height: 470px; } }

/* ---- round 6 ---- */
.vc-cert-kicker { display: none !important; }
.vc-cert-body { padding-top: 10px; }
.vc-cert-line b {
  display: inline-block; margin: 4px 0; padding: 2px 14px; border-radius: 999px;
  background: #f3ddd2; color: var(--accent-dark);
}
.vc-cert-sign { padding-bottom: 14px; margin-bottom: 12px; border-bottom: 1px solid rgba(198,120,86,.2); }
.vc-cert-sign strong { transform: none; display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; }
.vc-cert-sign strong::after { content: "♥"; display: inline-block; font-family: inherit; font-size: 1.1rem; color: var(--accent); transform: rotate(-16deg); }
.vc-cert-sign { display: flex; flex-direction: column; align-items: flex-start; }
.vc-cert-value { background: none; padding: 0; border-radius: 0; margin: 0 0 6px; }
.vc-cert-body > .vc-cert-logo { border-top: 0; padding-top: 4px; margin-top: 10px; }

/* hero: dark blurred backdrop behind the certificate, certificate higher */
.vc-hero-card .sv-hero-product { padding-top: 22px; }
.vc-hero-card .sv-hero-product::before {
  content: ""; position: absolute; left: 50%; top: 60px; width: 66%; height: 70%;
  transform: translateX(-50%); background: rgba(24,18,16,.5); filter: blur(46px); border-radius: 40px; z-index: -1;
}
.vc-hero-card .sv-hero-product { isolation: isolate; }
@media (max-width: 820px) {
  .vc-hero-card .sv-hero-product { max-height: 440px; padding-top: 26px;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  }
  .sv-hero-product .vc-cert { -webkit-mask-image: none; mask-image: none; }
  .vc-hero-card .sv-hero-product::before { top: 40px; width: 70%; }
}
.vc-hero-card .sv-hero-product::before { width: 82%; height: 78%; background: rgba(24,18,16,.6); }

/* ---- round 7 ---- */
.vc-hero-card .sv-hero-photo { display: block !important; }
@media (max-width: 820px) { .vc-hero-card .sv-hero-photo { height: 300px; } }
.vc-cert-line { line-height: 1.9; }
.vc-cert-line b { margin: 6px 0; }
/* checkbox instead of toggle */
.vc-switch-ui { display: none; }
.vc-switch input { position: static; opacity: 1; pointer-events: auto; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); cursor: pointer; }
/* live preview stays visible while scrolling the form */
#order .sv-service-card { overflow: visible; }
#order .sv-cover { border-radius: 32px 32px 0 0; }
.vc-order-grid { align-items: start; }
.vc-live-preview { position: sticky; top: 24px; align-self: start; }
@media (max-width: 820px) { .vc-live-preview { position: static; } }

/* ---- round 8 ---- */
.vc-who-title { font-size: clamp(1.5rem, 2.6vw, 2rem); text-align: center; margin: 0; }
.vc-who-card, .vc-who-card[class*="sv-c-"] { justify-content: center; padding-inline: 12px 30px; min-width: 210px; }
.vc-who-card p { text-align: center; flex: 1; }
@media (max-width: 820px) { .vc-who-card, .vc-who-card[class*="sv-c-"] { min-width: 0; padding-inline: 8px 14px; } }

/* certificate: everything centered */
.vc-cert-body { text-align: center; }
.vc-cert-hello, .vc-cert-hello span, .vc-cert-msg { text-align: center; }
.vc-cert-sign { align-items: center; }
.vc-cert-sign strong { transform-origin: center; }

/* mobile-only preview button + sheet */
.vc-preview-btn { display: none; width: 100%; }
.vc-preview-sheet {
  position: fixed; inset: 0; z-index: 400; background: rgba(58,47,44,.55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.vc-preview-sheet.open { opacity: 1; visibility: visible; }
.vc-preview-sheet-inner { position: relative; width: 100%; max-width: 380px; max-height: 90vh; overflow-y: auto; border-radius: 22px; }
.vc-preview-sheet .modal-close { top: 10px; inset-inline-start: 10px; inset-inline-end: auto; }
@media (max-width: 820px) { .vc-preview-btn { display: inline-flex; } }

/* ---- blessing editor: bold + emoji ---- */
.vc-editor { border: 1.5px solid rgba(58,47,44,.12); border-radius: 14px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.vc-editor:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(198,120,86,.15); }
.vc-editor textarea, .booking-form .vc-editor textarea { border: 0; border-radius: 0; box-shadow: none !important; width: 100%; display: block; }
.vc-editor-bar { display: flex; align-items: center; gap: 2px; padding: 6px 8px; background: #fbf5f1; border-bottom: 1px solid rgba(58,47,44,.08); overflow-x: auto; scrollbar-width: none; }
.vc-editor-bar::-webkit-scrollbar { display: none; }
.vc-editor-bar button { flex-shrink: 0; width: 34px; height: 34px; border: 0; background: none; border-radius: 10px; cursor: pointer; font-size: 1.15rem; line-height: 1; transition: background .15s, transform .15s; }
.vc-editor-bar button:hover { background: #f3ddd2; transform: translateY(-1px); }
.vc-bold-btn b { font-family: inherit; font-size: 1.05rem; font-weight: 900; color: var(--accent-dark); }
.vc-editor-sep { width: 1px; height: 20px; background: rgba(58,47,44,.15); margin: 0 6px; flex-shrink: 0; }
.vc-editor-hint { font-size: .78rem; color: var(--ink-soft); margin: 6px 0 0; }
.vc-cert-msg strong { font-weight: 800; color: var(--accent-dark); }

/* let grid/flex children shrink so the emoji bar scrolls inside itself instead of widening the form */
.vc-order-grid > *, .vc-form, .vc-form > *, .vc-step, .vc-step-fields > *, .vc-editor, .field { min-width: 0; }
.vc-step-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 820px) { .vc-order-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .vc-step-fields { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .vc-editor-bar { flex-wrap: wrap; overflow: visible; } .vc-editor-bar button { width: 32px; height: 32px; } }

/* custom checkbox for "show value" */
.vc-switch { gap: 12px; padding: 10px 14px; border-radius: 14px; background: #fbf5f1; border: 1.5px solid transparent; transition: border-color .2s; }
.vc-switch:hover { border-color: rgba(198,120,86,.35); }
.vc-switch input {
  -webkit-appearance: none; appearance: none; flex-shrink: 0;
  width: 22px !important; height: 22px !important; margin: 0; border-radius: 7px;
  background: #fff; border: 1.5px solid rgba(198,120,86,.55); cursor: pointer;
  display: grid; place-content: center; transition: background .15s, border-color .15s;
}
.vc-switch input::after {
  content: ""; width: 11px; height: 6px; border: 2.5px solid #fff; border-top: 0; border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px); opacity: 0; transition: opacity .15s;
}
.vc-switch input:checked { background: var(--accent); border-color: var(--accent); }
.vc-switch input:checked::after { opacity: 1; }
.vc-switch input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vc-switch span:last-child { font-weight: 600; }
