.vl-fields { border: 0; padding: 0; margin: 0; display: grid; gap: 28px; min-width: 0; }
.vl-fields fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.vl-step { display: grid; gap: 12px; }
.vl-step-title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; margin: 0 0 4px; padding: 0; }
.vl-step-title > span[aria-hidden] { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--coral, #FF5D73); color: var(--ink, #24213A); font-size: 15px; }
.vl-picked { font-weight: 600; color: var(--link, #0A6A93); }
.vl-picked::before { content: "· "; color: var(--ink, #24213A); }

/* segmented same/each switch */
.vl-seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--sand, #E3F5FC); }
.vl-seg label { position: relative; margin: 0; }
.vl-seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.vl-seg span { display: grid; place-items: center; min-height: 44px; padding: 8px 12px; border-radius: 999px; font-weight: 700; text-align: center; transition: background .15s, color .15s; }
.vl-seg input:checked + span { background: var(--cobalt, #4CC3F0); color: var(--ink, #24213A); }
.vl-seg input:focus-visible + span { outline: 3px solid var(--gold, #FFC93C); outline-offset: 2px; }

/* chips */
.vl-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.vl-chip { position: relative; margin: 0; }
.vl-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.vl-chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--ink, #24213A); background: #fff; font-weight: 600; transition: background .15s, color .15s, transform .15s; }
.vl-chip input:checked + span { background: var(--cobalt, #4CC3F0); border-color: var(--cobalt, #4CC3F0); color: var(--ink, #24213A); }
.vl-chip input:active + span { transform: scale(.97); }
.vl-chip input:focus-visible + span { outline: 3px solid var(--gold, #FFC93C); outline-offset: 3px; }
/* Design picker as photo tiles: 4 across, the art visible right where the choice is made. */
.vl-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.vl-tiles .vl-chip span { display: flex; flex-direction: column; align-items: stretch; gap: 6px; height: 100%; padding: 4px 4px 8px; border-radius: 16px; font-size: 13px; line-height: 1.2; text-align: center; }
.vl-tiles .vl-chip img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.vl-tiles .vl-chip input:checked + span { box-shadow: 0 0 0 2px var(--cobalt, #4CC3F0); }
.vl-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px currentColor; flex: none; }
.vl-dot-black { background: #1D1D1D; }
.vl-dot-red { background: #C8312A; }
.vl-dot-gold { background: linear-gradient(135deg, #C9973A, #F2D27E 35%, #FFF0BE 50%, #E7C068 65%, #B98A35); }
.vl-dot-black-gold { background: linear-gradient(90deg, #1D1D1D 50%, #F2D27E 50%); }

/* inputs */
.vl-same, .vl-each { display: grid; gap: 6px; }
.vl-same label { font-weight: 600; }
.vl-each:not([hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.vl-each[hidden], .vl-same[hidden] { display: none; }
.vl-each label { display: grid; gap: 4px; font-weight: 600; font-size: 15px; margin: 0; }
.vl-each small { grid-column: 1 / -1; }
.vl-fields input[type="text"] { font-family: inherit; font-weight: 600; font-size: 18px; line-height: 1.2; padding: 12px 16px; border-radius: 14px; border: 2px solid var(--ink, #24213A); background: #fff; color: var(--ink, #24213A); width: 100%; min-height: 48px; }
.vl-same input[type="text"] { font-size: 20px; padding: 14px 18px; }
.vl-fields small, .vl-hint { font-size: 15px; }
.vl-hint[hidden] { display: none; }

/* 10-candle preview */
.vl-preview { margin: 0; display: grid; gap: 10px; padding: 20px 16px 16px; border-radius: 24px; background: var(--ink, #24213A); color: var(--ivory, #FFF9F0); }
.vl-preview svg { width: 100%; height: auto; display: block; }
.vl-preview figcaption { font-size: 15px; text-align: center; }
@media (max-width: 480px) { .vl-each:not([hidden]) { grid-template-columns: 1fr; } }

/* extra candles (Personalized only) */
.vl-step-title em { font-style: normal; font-weight: 400; }
.vl-extra-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; padding: 14px 16px; border-radius: 18px; background: var(--sand, #E3F5FC); }
.vl-extra-row p { margin: 0; flex: 1 1 220px; font-size: 16px; }
.vl-stepper { display: inline-flex; align-items: center; border: 2px solid var(--ink, #24213A); border-radius: 999px; background: #fff; overflow: hidden; }
.vl-stepper button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; background: none; color: var(--ink, #24213A); font-family: inherit; font-weight: 800; font-size: 26px; line-height: 1; cursor: pointer; touch-action: manipulation; }
.vl-stepper button[hidden] { display: none; }
.vl-stepper button:disabled { color: #8C889C; cursor: not-allowed; }
.vl-stepper button:focus-visible, .vl-stepper input:focus-visible { outline: 3px solid var(--link, #0A6A93); outline-offset: -3px; border-radius: 999px; }
.vl-fields .vl-stepper input { width: 64px; min-height: 48px; padding: 0 8px; border: 0; background: none; text-align: center; font-family: inherit; font-weight: 800; font-size: 20px; color: var(--ink, #24213A); font-variant-numeric: tabular-nums; }
.vl-fields .vl-stepper.is-js input { width: 36px; padding: 0; -moz-appearance: textfield; appearance: textfield; pointer-events: none; }
.vl-stepper.is-js input::-webkit-inner-spin-button, .vl-stepper.is-js input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.vl-extra-names { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.vl-extra-names label { display: grid; gap: 4px; font-weight: 600; font-size: 15px; margin: 0; }
.vl-extra-names label[hidden] { display: none; }
.vl-extra-names small { grid-column: 1 / -1; }
.vl-extra-names[hidden], .vl-extra-sum:empty { display: none; }
.vl-extra-sum { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .vl-extra-names { grid-template-columns: 1fr; } }

/* gift note */
.vl-gift { display: grid; gap: 6px; margin-top: 0; }
.vl-gift label { font-weight: 800; }
.vl-gift-on { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.vl-gift .vl-gift-on > span { font-weight: 800; }
.vl-gift-on em { font-style: normal; font-weight: 400; }
.vl-gift-on input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--ink, #24213A); cursor: pointer; }
.vl-gift-box { display: grid; gap: 6px; }
.vl-gift:not(:has(.vl-gift-on input:checked)) .vl-gift-box { display: none; }
.vl-gift label span { font-weight: 400; }
.vl-gift textarea { font-family: inherit; font-weight: 600; font-size: 17px; line-height: 1.4; padding: 12px 16px; border-radius: 14px; border: 2px solid var(--ink, #24213A); background: #fff; color: var(--ink, #24213A); resize: vertical; min-height: 84px; }
.vl-gift small { font-size: 15px; }

/* "When will it arrive?" */
.vl-zip { margin-top: 24px; padding: 20px; border-radius: 20px; background: var(--sand, #E3F5FC); display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.vl-zip[hidden] { display: none; }
.vl-zip label { font-weight: 800; }
.vl-zip-row { display: flex; gap: 10px; }
.vl-zip-row input { flex: 1; min-width: 0; max-width: 200px; font-family: inherit; font-weight: 600; font-size: 18px; padding: 10px 16px; min-height: 48px; border-radius: 999px; border: 2px solid var(--ink, #24213A); background: #fff; }
.vl-zip-out { margin: 0; font-size: 16px; }
.vl-zip-out:empty { display: none; }
.vl-zip-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vl-zip-list:empty { display: none; }
.vl-zip-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 16px; border-radius: 14px; background: #fff; }
.vl-zip-svc { font-weight: 800; }
.vl-zip-price { font-weight: 800; text-align: right; }
.vl-zip-date { grid-column: 1 / -1; font-size: 15px; }

/* Phones: a compact one-line switch like a system segmented control (still a 44px touch target). */
@media (max-width: 480px) {
  .vl-seg { padding: 3px; }
  .vl-seg span { height: 100%; padding: 4px 8px; font-size: 15px; line-height: 1.15; }
}

/* Words printed on the picked design's candles */
.vl-words { box-sizing: border-box; width: 100%; max-width: 452px; margin: 14px 0 6px; padding: 14px 16px; border-radius: 16px; background: var(--sand, #E3F5FC); }
.vl-words > p { margin: 0 0 8px; font-weight: 800; }
.vl-words [hidden] { display: none; }
.vl-words svg { display: block; width: 100%; max-width: 420px; height: auto; }
