/*
 * ShubhPatrika – site UI (forms, wizard, dashboard, checkout, gallery, status pages).
 * Brand tokens are also defined by the theme; these are the fallbacks.
 */
:root {
	--s-bg: #fbf7f1;
	--s-surface: #ffffff;
	--s-ink: #2b211c;
	--s-muted: #6b5d55;
	--s-line: #eadfd3;
	--s-brand: #7a1428;
	--s-brand-ink: #ffffff;
	--s-gold: #b8892c;
	--s-gold-soft: #f5e6c4;
	--s-ok: #1d6b3a;
	--s-ok-bg: #e7f4ec;
	--s-err: #a3161e;
	--s-err-bg: #fdecec;
	--s-warn-bg: #fff6dd;
	--s-radius: 14px;
	--s-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Nirmala UI", sans-serif;
}

/* Component display rules must never beat the hidden attribute. */
:where(.spc-site, .spc-status) [hidden] { display: none !important; }

.spc-site, .spc-status { margin: 0; background: var(--s-bg); color: var(--s-ink); font: 400 16px/1.6 var(--s-ui); }

/* Buttons */
.spc-button, .spc-button:visited {
	display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .6rem 1.3rem;
	background: var(--s-brand); color: var(--s-brand-ink); border: 1px solid var(--s-brand); border-radius: 999px;
	font: 600 15px/1.2 var(--s-ui); text-decoration: none; cursor: pointer; transition: filter .15s, transform .15s;
}
.spc-button:hover { filter: brightness(1.1); color: var(--s-brand-ink); }
.spc-button:active { transform: translateY(1px); }
.spc-button:disabled, .spc-button[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.spc-button--small { min-height: 36px; padding: .35rem .9rem; font-size: 13px; }
.spc-button--big { min-height: 56px; padding: .8rem 2rem; font-size: 17px; }
.spc-button--ghost, .spc-button--ghost:visited { background: transparent; color: var(--s-brand); }
.spc-button--ghost:hover { background: var(--s-brand); color: var(--s-brand-ink); }
.spc-button--gold, .spc-button--gold:visited { background: linear-gradient(135deg, #e9c46a, #b8892c); border-color: #a77a20; color: #2b1a05; }
.spc-button--gold:hover { color: #2b1a05; }
.spc-link-button { background: none; border: 0; padding: .3rem; color: var(--s-brand); font: 600 14px/1.4 var(--s-ui); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.spc-danger { color: var(--s-err); }
.spc-danger-bg { background: var(--s-err); border-color: var(--s-err); }
:where(.spc-site) :focus-visible { outline: 3px solid var(--s-gold); outline-offset: 2px; }

/* Text */
.spc-lead { font-size: 18px; color: var(--s-ink); }
.spc-small { font-size: 13px; color: var(--s-muted); }
.spc-hint { color: var(--s-muted); margin: 0 0 1.25rem; }
.spc-button--disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.4); }
.spc-dash-new { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; }
.spc-subhead { font-size: 1.1rem; margin: 2rem 0 .35rem; }
.spc-center { text-align: center; }
.spc-price { font: 700 40px/1.1 Georgia, serif; color: var(--s-brand); margin: .25rem 0; }
.spc-price small { display: block; font: 400 14px/1.4 var(--s-ui); color: var(--s-muted); }
[lang="hi"] { font-family: "Nirmala UI", "Noto Sans Devanagari", var(--s-ui); }

/* Alerts */
.spc-alert { padding: .85rem 1rem; border-radius: 12px; margin: 0 0 1rem; }
.spc-alert ul { margin: 0; padding-left: 1.1rem; }
.spc-alert--ok { background: var(--s-ok-bg); color: var(--s-ok); }
.spc-alert--error { background: var(--s-err-bg); color: var(--s-err); white-space: pre-line; }
.spc-alert--warn { background: var(--s-warn-bg); color: #6b4a00; }

/* Forms */
.spc-form { display: grid; gap: 1rem; }
.spc-form--narrow { max-width: 440px; }
.spc-form label, .spc-field > label { display: grid; gap: .35rem; font-weight: 600; font-size: 14px; }
.spc-form input:not([type="checkbox"]):not([type="radio"]), .spc-form select, .spc-form textarea,
.spc-field input:not([type="checkbox"]):not([type="radio"]), .spc-field select, .spc-field textarea,
.spc-inline-form input, .spc-yourlink input, .spc-pin input {
	width: 100%; min-height: 46px; padding: .6rem .8rem; border: 1px solid var(--s-line); border-radius: 10px;
	background: var(--s-surface); color: var(--s-ink); font: 400 16px/1.4 var(--s-ui);
}
.spc-form textarea, .spc-field textarea { min-height: 96px; resize: vertical; }
.spc-check { display: flex !important; align-items: flex-start; gap: .6rem; font-weight: 400 !important; }
.spc-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--s-brand); }
.spc-strength { width: 100%; height: 8px; }
.spc-inline-form { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin: .5rem 0; }
.spc-inline-form input { flex: 1 1 160px; width: auto; }
.spc-inline-form label { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; font-size: 14px; }
.spc-help { display: block; font-weight: 400; color: var(--s-muted); font-size: 13px; margin-top: .2rem; }
.spc-field { margin-bottom: 1rem; }
.spc-field__error { display: block; color: var(--s-err); font-size: 13px; }
.spc-field__error:empty { display: none; }
.spc-field.has-error input, .spc-field.has-error textarea { border-color: var(--s-err); }
.spc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.spc-lock { display: inline-block; font-size: 12px; font-weight: 600; color: #7a5a00; background: var(--s-gold-soft); padding: .05rem .5rem; border-radius: 999px; }
.spc-verify { background: var(--s-warn-bg); border: 1px solid #f0d98a; border-left: 4px solid var(--s-gold); border-radius: var(--s-radius); padding: 1.1rem 1.25rem; margin-bottom: 1.25rem; }
.spc-verify p { margin: 0 0 .5rem; }
.spc-verify [lang="hi"] { color: var(--s-muted); }
.spc-verify__title { font-size: 18px; font-weight: 700; }
.spc-verify__title [lang="hi"] { font-size: 15px; font-weight: 600; }
.spc-verify__why { font-size: 14px; }
.spc-verify__steps { margin: .5rem 0 .75rem; padding-left: 1.3rem; display: grid; gap: .55rem; }
.spc-verify__steps strong { overflow-wrap: anywhere; }
.spc-verify__steps .spc-inline-form { margin-top: .5rem; }
.spc-verify__steps input { max-width: 10rem; letter-spacing: .15em; font-variant-numeric: tabular-nums; }
.spc-verify__resend { font-size: 14px; align-items: center; flex-wrap: wrap; }
.spc-verify__dev { margin-top: .75rem !important; padding-top: .6rem; border-top: 1px dashed #e3cf8f; font-size: 13px; color: var(--s-muted); }

/* Badges, pills, dots */
.spc-badge { display: inline-block; font: 600 11px/1.6 var(--s-ui); letter-spacing: .06em; text-transform: uppercase; padding: .05rem .55rem; border-radius: 999px; background: #edf3ee; color: var(--s-ok); }
.spc-badge--premium { background: var(--s-gold-soft); color: #6b4a00; }
.spc-pill { font: 600 12px/1.6 var(--s-ui); padding: .05rem .6rem; border-radius: 999px; background: #eee; }
.spc-pill--live { background: var(--s-ok-bg); color: var(--s-ok); }
.spc-pill--draft { background: #eef0f5; color: #3d4560; }
.spc-pill--expired, .spc-pill--deleted { background: #f1eeee; color: #6b5d55; }
.spc-pill--suspended { background: var(--s-err-bg); color: var(--s-err); }
.spc-dot { display: inline-block; width: 16px; height: 16px; border-radius: 50%; margin-right: 3px; border: 1px solid var(--s-line); vertical-align: middle; }

/* Template gallery */
.spc-filter { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.spc-filter button { border: 1px solid var(--s-line); background: var(--s-surface); border-radius: 999px; padding: .4rem .9rem; font: 500 13px/1.3 var(--s-ui); cursor: pointer; color: var(--s-ink); }
.spc-filter button.is-active { background: var(--s-brand); color: var(--s-brand-ink); border-color: var(--s-brand); }
.spc-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.spc-tile { background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius); overflow: hidden; display: flex; flex-direction: column; }
.spc-tile[hidden] { display: none; }
.spc-tile--experience { border-color: var(--s-gold); box-shadow: 0 0 0 1px var(--s-gold), 0 18px 40px -24px rgb(122 20 40 / .45); }
.spc-tile__tagline { font-size: 12px; font-weight: 600; color: var(--s-muted); }
.spc-tile__thumb { position: relative; aspect-ratio: 9 / 14; overflow: hidden; background: var(--s-bg); }
.spc-tile__thumb iframe { position: absolute; top: 0; left: 0; width: 400px; height: 622px; border: 0; transform-origin: 0 0; transform: scale(var(--spc-thumb-scale, .55)); pointer-events: none; }
.spc-tile__body { padding: .8rem .9rem 1rem; display: grid; gap: .4rem; }
.spc-tile__body h3 { margin: 0; font: 600 16px/1.3 Georgia, serif; }
.spc-tile__body h3 span { display: block; font-size: 13px; font-weight: 400; color: var(--s-muted); }
.spc-tile__meta { margin: 0; display: flex; align-items: center; gap: .5rem; }
.spc-pick { display: flex !important; align-items: center; gap: .5rem; font-weight: 600; cursor: pointer; }
.spc-pick input { width: 20px; height: 20px; accent-color: var(--s-brand); }
.spc-tile:has(input:checked) { outline: 3px solid var(--s-brand); }

/* Pricing, tables, FAQ, legal */
.spc-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.spc-plan { background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 1.4rem; }
.spc-plan h2 { margin: 0; }
.spc-plan--premium { border-color: var(--s-gold); box-shadow: 0 10px 30px -18px rgb(184 137 44 / .7); }
.spc-table-wrap { overflow-x: auto; }
.spc-table { width: 100%; border-collapse: collapse; background: var(--s-surface); border-radius: var(--s-radius); overflow: hidden; font-size: 15px; }
.spc-table th, .spc-table td { padding: .7rem .8rem; border-bottom: 1px solid var(--s-line); text-align: left; vertical-align: top; }
.spc-table thead th { background: #f6efe6; }
.spc-yes { color: var(--s-ok); font-weight: 700; }
.spc-no { color: var(--s-muted); }
.spc-faq details { background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 12px; padding: .9rem 1.1rem; margin-bottom: .6rem; }
.spc-faq summary { font-weight: 600; cursor: pointer; }
.spc-faq p { margin: .6rem 0 0; color: var(--s-muted); }
.spc-legal h2 { font-size: 20px; margin-top: 1.75rem; }

/* Wizard */
.spc-wizard { --wz-gap: 1.5rem; }
.spc-step h2:focus { outline: none; }
.spc-steps { list-style: none; margin: 0 0 1.5rem; padding: .5rem; display: flex; gap: .25rem; overflow-x: auto; position: sticky; top: var(--spc-sticky-top, 64px); z-index: 5; background: var(--s-bg); border-bottom: 1px solid var(--s-line); scrollbar-width: none; }
.spc-steps button { display: flex; align-items: center; gap: .4rem; border: 0; background: none; padding: .45rem .7rem; border-radius: 999px; font: 500 13px/1.2 var(--s-ui); color: var(--s-muted); cursor: pointer; white-space: nowrap; }
.spc-steps button:disabled { opacity: .45; cursor: not-allowed; }
.spc-steps__n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--s-line); font-weight: 700; font-size: 12px; }
.spc-steps button[aria-current="step"] { background: var(--s-surface); color: var(--s-ink); box-shadow: 0 1px 0 var(--s-line); }
.spc-steps button[aria-current="step"] .spc-steps__n, .spc-steps button.is-done .spc-steps__n { background: var(--s-brand); color: #fff; }
.spc-wizard__body { display: grid; gap: var(--wz-gap); align-items: start; }
@media (min-width: 1100px) {
	.spc-wizard__body { grid-template-columns: minmax(0, 1fr) 420px; }
	.spc-wizard__preview { position: sticky; top: 70px; }
	.spc-fab, .spc-preview-close { display: none !important; }
}
.spc-step h2 { margin: 0 0 .4rem; font: 600 24px/1.3 Georgia, serif; }
.spc-step h2 span { color: var(--s-muted); font-size: 18px; font-weight: 400; margin-left: .3rem; }
.spc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .75rem; }
.spc-tile-radio { position: relative; cursor: pointer; }
.spc-tile-radio input { position: absolute; opacity: 0; }
.spc-tile-radio span { display: grid; gap: .2rem; padding: 1rem; min-height: 88px; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: var(--s-surface); transition: border-color .15s, box-shadow .15s; }
.spc-tile-radio small { color: var(--s-muted); }
.spc-tile-radio input:checked + span { border-color: var(--s-brand); box-shadow: 0 0 0 2px var(--s-brand); }
.spc-tile-radio input:focus-visible + span { outline: 3px solid var(--s-gold); }
.spc-palettes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.spc-swatch { position: relative; display: grid; gap: .5rem; padding: .9rem; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: var(--s-surface); cursor: pointer; }
.spc-swatch input { position: absolute; opacity: 0; }
.spc-swatch:has(input:checked) { border-color: var(--s-brand); box-shadow: 0 0 0 2px var(--s-brand); }
.spc-swatch:has(input:focus-visible) { outline: 3px solid var(--s-gold); }
.spc-swatch__chips { display: flex; height: 48px; border-radius: 10px; overflow: hidden; border: 1px solid var(--s-line); }
.spc-swatch__chips i { flex: 1; }
.spc-swatch__name { font-weight: 600; font-size: 14px; }
.spc-slot { border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 1rem 1.1rem; margin: 0 0 1rem; background: var(--s-surface); }
.spc-slot legend, .spc-slot summary { font-weight: 700; padding: 0 .3rem; }
.spc-slot summary { cursor: pointer; padding: .2rem 0; }
.spc-event[open] summary { margin-bottom: .75rem; }
.spc-upload { display: grid; gap: .5rem; justify-items: start; margin-bottom: 1.25rem; }
.spc-upload__label { margin: 0; font-weight: 600; }
.spc-upload__img { width: 140px; height: 140px; object-fit: cover; border-radius: 12px; border: 1px solid var(--s-line); }
.spc-upload-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .75rem; }
.spc-upload--tile { justify-items: stretch; padding: .5rem; border: 1px dashed var(--s-line); border-radius: 12px; margin: 0; }
.spc-upload--tile .spc-upload__img { width: 100%; height: 110px; }
.spc-upload.is-busy { opacity: .6; pointer-events: none; }
.spc-wizard__nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--s-line); }
.spc-save { font-size: 13px; color: var(--s-muted); }
.spc-save.is-saved { color: var(--s-ok); }
.spc-save.is-error { color: var(--s-err); }
.spc-wizard__preview { background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: .75rem; }
.spc-preview-bar { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; font-size: 14px; }
.spc-device { display: inline-flex; border: 1px solid var(--s-line); border-radius: 999px; overflow: hidden; }
.spc-device button { border: 0; background: none; padding: .3rem .7rem; font: 500 12px var(--s-ui); cursor: pointer; }
.spc-device button.is-active { background: var(--s-brand); color: #fff; }
.spc-preview-frame { border-radius: 12px; overflow: hidden; border: 1px solid var(--s-line); background: #f3eee8; }
.spc-preview-frame iframe { display: block; width: 100%; height: 72vh; border: 0; }
.spc-preview-frame[data-device-frame="desktop"] { overflow: hidden; height: 72vh; }
.spc-preview-frame[data-device-frame="desktop"] iframe { width: 1280px; height: calc(72vh / .3); transform: scale(.3); transform-origin: 0 0; }
@media (max-width: 1099px) {
	.spc-wizard__preview { display: none; position: fixed; inset: 0; z-index: 100; border-radius: 0; padding: .75rem; }
	.spc-wizard__preview.is-open { display: block; }
	.spc-preview-frame iframe { height: calc(100vh - 70px); }
	.spc-fab { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 20; box-shadow: 0 10px 30px -10px rgb(0 0 0 / .4); }
}
.spc-fab { min-height: 48px; padding: .6rem 1.3rem; border-radius: 999px; border: 0; background: var(--s-ink); color: #fff; font: 600 15px var(--s-ui); }
.spc-richness meter { width: 100%; height: 12px; }
.spc-suggestions { padding-left: 1.1rem; color: var(--s-muted); }
.spc-publish-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1rem 0; }

/* Your link */
.spc-yourlink { background: var(--s-surface); border: 1px solid var(--s-gold); border-radius: var(--s-radius); padding: 1.1rem; margin: 1rem 0; }
.spc-yourlink__label { margin: 0 0 .5rem; font-weight: 700; }
.spc-yourlink__row { display: flex; gap: .5rem; }
.spc-yourlink__row input { font: 600 17px/1.2 ui-monospace, Consolas, monospace; }
.spc-yourlink__grid { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-top: 1rem; }
.spc-yourlink__actions { display: flex; gap: .5rem; flex-wrap: wrap; flex: 1 1 220px; }
.spc-qr { width: 132px; height: 132px; background: #fff; padding: 6px; border-radius: 8px; border: 1px solid var(--s-line); }
.spc-qr svg, .spc-qr img { width: 100%; height: 100%; display: block; }
.spc-qr--big { width: 220px; height: 220px; }

/* Dashboard */
.spc-dash-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.spc-cards { display: grid; gap: 1rem; }
.spc-card-row { display: grid; grid-template-columns: 88px 1fr; gap: 1rem; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 1rem; }
.spc-card-row--deleted { opacity: .75; }
.spc-card-row__thumb { width: 88px; height: 118px; border-radius: 10px; background: var(--c-bg, var(--s-brand)); display: grid; place-items: center; padding: 8px; }
.spc-card-row__thumb span { width: 100%; height: 100%; display: grid; place-items: center; background: var(--c-surface, #fff); color: var(--c-primary, var(--s-brand)); border-radius: 6px; font: 400 22px/1 Georgia, serif; text-align: center; }
.spc-card-row__main h3 { margin: 0 0 .3rem; font: 600 19px/1.3 Georgia, serif; overflow-wrap: anywhere; }
.spc-card-row__meta { display: flex; flex-wrap: wrap; gap: .35rem .8rem; align-items: center; margin: 0 0 .6rem; font-size: 13px; color: var(--s-muted); }
.spc-card-row__actions { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: 0; }
.spc-rsvp-panel { margin-top: 1rem; }
.spc-stats { display: flex; gap: .5rem 1.2rem; flex-wrap: wrap; }
.spc-wish-row { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--s-line); padding: .5rem 0; }
.spc-wish-row p { flex: 1 1 260px; margin: 0; }
.spc-account { margin-top: 2rem; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 1rem 1.1rem; }
.spc-account summary { font-weight: 700; cursor: pointer; }
.spc-empty { background: var(--s-surface); border: 1px dashed var(--s-line); border-radius: var(--s-radius); padding: 1.5rem; text-align: center; }

/* Checkout */
.spc-checkout { display: grid; gap: 1.5rem; }
@media (min-width: 820px) { .spc-checkout { grid-template-columns: 1fr 1fr; } }
.spc-checkout > div { background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 1.4rem; }
.spc-checkout__pay { text-align: center; display: grid; justify-items: center; align-content: start; gap: .5rem; }
.spc-checkout__msg { font-weight: 600; }
.spc-ticks { list-style: none; padding: 0; display: grid; gap: .4rem; }
.spc-ticks li::before { content: "✓"; color: var(--s-ok); font-weight: 700; margin-right: .5rem; }

/* Standalone status pages (404, expired, PIN) */
.spc-status { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; text-align: center; background: radial-gradient(circle at 50% 0, #fff 0, var(--s-bg) 60%); }
.spc-status__box { max-width: 460px; display: grid; gap: .9rem; }
.spc-status__brand { font: 600 18px Georgia, serif; color: var(--s-brand); text-decoration: none; letter-spacing: .04em; }
.spc-status h1 { margin: 0; font: 600 32px/1.2 Georgia, serif; }
.spc-pin { display: grid; gap: .6rem; text-align: left; }
.spc-pin input { text-align: center; letter-spacing: .4em; font-size: 22px; }
.spc-error { color: var(--s-err); margin: 0; }

/* ------------------------------------------------------------------ occasion chooser + one-page small-card form */
.spc-occasions { text-align: center; }
.spc-occasions__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 1rem; }
.spc-occasion { display: grid; gap: .25rem; justify-items: center; padding: 1.6rem 1rem; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: var(--s-surface); color: var(--s-ink); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.spc-occasion:hover, .spc-occasion:focus-visible { transform: translateY(-3px); border-color: var(--s-brand); box-shadow: 0 14px 30px -18px rgb(0 0 0 / .35); }
.spc-occasion__emoji { font-size: 2.6rem; line-height: 1.2; }
.spc-occasion strong { font-size: 1.15rem; }
.spc-occasion span[lang] { color: var(--s-muted); }
.spc-occasion small { color: var(--s-muted); font-size: 13px; }
.spc-occasion--wedding { border-color: var(--s-gold); }
.spc-gallery-sub { margin: 2.5rem 0 1rem; font-size: 1.3rem; }
.spc-gallery-sub span { color: var(--s-muted); font-weight: 400; }

.spc-quick__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.spc-quick__bar p { margin: 0; }
.spc-quick__grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 960px) { .spc-quick__grid { grid-template-columns: minmax(0, 1fr) 380px; } .spc-quick__preview { position: sticky; top: 1rem; } }
.spc-q-step { background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 1.2rem 1.2rem .6rem; margin-bottom: 1rem; }
.spc-q-step h2 { font-size: 1.1rem; margin: 0 0 1rem; display: flex; align-items: center; gap: .5rem; }
.spc-q-step h2 span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--s-brand); color: var(--s-brand-ink); font-size: 14px; }
.spc-q-field { display: grid; gap: .3rem; margin-bottom: .9rem; font-weight: 600; font-size: 14px; }
.spc-q-field em { color: var(--s-err); font-style: normal; }
.spc-q-field small { font-weight: 400; color: var(--s-muted); }
.spc-q-field input, .spc-q-field textarea, .spc-q-field select { width: 100%; padding: .7rem .8rem; border: 1px solid var(--s-line); border-radius: 10px; font: 400 16px/1.4 var(--s-ui); background: var(--s-bg); color: var(--s-ink); }
.spc-q-row { display: grid; gap: 0 .8rem; grid-template-columns: 1fr 1fr; }
.spc-q-photo { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.spc-q-photo img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.spc-q-photo.is-busy { opacity: .6; pointer-events: none; }
.spc-q-more { margin: .2rem 0 1rem; }
.spc-q-more summary { cursor: pointer; font-weight: 600; color: var(--s-brand); padding: .4rem 0; }
.spc-q-more[open] summary { margin-bottom: .8rem; }
.spc-q-designs { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-bottom: 1rem; }
.spc-q-design { position: relative; display: grid; gap: .2rem; padding: .7rem; border: 2px solid var(--s-line); border-radius: 14px; cursor: pointer; background: var(--s-bg); }
.spc-q-design input { position: absolute; opacity: 0; }
.spc-q-design:has(input:checked) { border-color: var(--s-brand); box-shadow: 0 0 0 3px rgb(122 20 40 / .12); }
.spc-q-design:has(input:focus-visible) { outline: 2px solid var(--s-brand); outline-offset: 2px; }
.spc-q-design.is-premium { border-style: dashed; }
.spc-q-design__swatch { height: 46px; border-radius: 8px; }
.spc-q-design small { color: var(--s-muted); font-size: 12px; }
.spc-q-palettes { display: flex; gap: .6rem; margin-bottom: 1rem; }
.spc-q-pal { position: relative; cursor: pointer; }
.spc-q-pal input { position: absolute; opacity: 0; }
.spc-q-pal span { display: block; width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); }
.spc-q-pal:has(input:checked) span { box-shadow: 0 0 0 3px var(--s-surface), 0 0 0 5px var(--s-brand); }
.spc-q-pal:has(input:focus-visible) span { outline: 2px solid var(--s-brand); outline-offset: 4px; }
.spc-q-phone { position: relative; height: min(70vh, 680px); border-radius: 28px; overflow: hidden; border: 8px solid var(--s-ink); background: var(--s-bg); box-shadow: 0 24px 50px -28px rgb(0 0 0 / .5); margin-bottom: 1rem; }
.spc-q-phone iframe { width: 100%; height: 100%; border: 0; display: block; }
.spc-q-phone__empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 2rem; text-align: center; color: var(--s-muted); margin: 0; }
@media (max-width: 959px) { .spc-q-phone { height: 560px; max-width: 400px; margin-inline: auto; } }
