.cvgf-wizard {
--cvgf-primary: #1c6dd0;
--cvgf-bg: #f7f8fa;
--cvgf-border: #e2e5ea;
--cvgf-text: #1c1f26;
--cvgf-text-muted: #6b7280;
max-width: 920px;
margin: 2.5em auto;
padding: 2em;
background: var(--cvgf-bg);
border-radius: 18px;
box-sizing: border-box;
font-family: inherit;
color: var(--cvgf-text);
}
.cvgf-wizard * {
box-sizing: border-box;
}
.cvgf-wizard__intro {
text-align: center;
margin-bottom: 1.5em;
}
.cvgf-wizard__headline {
margin: 0 0 0.3em;
font-size: 1.6em;
font-weight: 700;
}
.cvgf-wizard__intro-text {
margin: 0;
color: var(--cvgf-text-muted);
}
.cvgf-wizard__progress {
height: 6px;
background: var(--cvgf-border);
border-radius: 999px;
overflow: hidden;
margin-bottom: 0.5em;
}
.cvgf-wizard__progress-bar {
height: 100%;
width: 0%;
background: var(--cvgf-primary);
transition: width 0.35s ease;
}
.cvgf-wizard__step-indicator {
text-align: center;
font-size: 0.85em;
color: var(--cvgf-text-muted);
margin-bottom: 1.5em;
}
.cvgf-step__question {
text-align: center;
font-size: 1.25em;
font-weight: 600;
margin: 0 0 1.4em;
}
.cvgf-step__answers {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 1em;
}
.cvgf-answer {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.6em;
padding: 1.4em 1em;
background: #fff;
border: 2px solid var(--cvgf-border);
border-radius: 14px;
cursor: pointer;
font-size: 0.95em;
font-weight: 500;
color: var(--cvgf-text);
transition: border-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
text-align: center;
}
.cvgf-answer:hover {
border-color: var(--cvgf-primary);
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}
.cvgf-answer.is-selected {
border-color: var(--cvgf-primary);
background: color-mix(in srgb, var(--cvgf-primary) 8%, #fff);
box-shadow: 0 0 0 1px var(--cvgf-primary);
}
.cvgf-answer__icon {
width: 44px;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
color: var(--cvgf-primary);
}
.cvgf-answer__icon svg {
width: 100%;
height: 100%;
}
.cvgf-answer__icon img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
.cvgf-answer__label {
line-height: 1.3;
} .cvgf-wizard [hidden] {
display: none !important;
}
.cvgf-wizard__steps > .cvgf-step {
display: block;
}
.cvgf-wizard__nav {
display: flex;
justify-content: space-between;
margin-top: 2em;
}
.cvgf-btn {
appearance: none;
border: none;
border-radius: 999px;
padding: 0.75em 1.6em;
font-size: 0.95em;
font-weight: 600;
cursor: pointer;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 0.4em;
transition: opacity 0.15s ease, transform 0.1s ease;
}
.cvgf-btn:hover {
opacity: 0.9;
}
.cvgf-btn:active {
transform: scale(0.98);
}
.cvgf-btn--primary {
background: var(--cvgf-primary);
color: #fff;
}
.cvgf-btn--ghost {
background: #fff;
color: var(--cvgf-text);
border: 1.5px solid var(--cvgf-border);
}
.cvgf-btn--link {
background: transparent;
color: var(--cvgf-primary);
padding: 0.75em 0.4em;
}
.cvgf-wizard__results {
margin-top: 1em;
}
.cvgf-results__heading {
text-align: center;
font-size: 1.3em;
margin: 0 0 1em;
}
.cvgf-results__loading {
text-align: center;
color: var(--cvgf-text-muted);
padding: 2em 0;
}
.cvgf-spinner {
display: inline-block;
width: 16px;
height: 16px;
border: 2px solid var(--cvgf-border);
border-top-color: var(--cvgf-primary);
border-radius: 50%;
animation: cvgf-spin 0.7s linear infinite;
vertical-align: middle;
margin-right: 0.4em;
}
@keyframes cvgf-spin {
to {
transform: rotate(360deg);
}
}
.cvgf-results-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 1.2em;
}
.cvgf-card {
display: flex;
flex-direction: column;
background: #fff;
border-radius: 14px;
overflow: hidden;
text-decoration: none;
color: var(--cvgf-text);
border: 1px solid var(--cvgf-border);
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cvgf-card:hover {
transform: translateY(-3px);
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.cvgf-card__img {
width: 100%;
aspect-ratio: 4 / 3;
object-fit: cover;
background: var(--cvgf-bg);
}
.cvgf-card__img--placeholder {
display: flex;
align-items: center;
justify-content: center;
color: var(--cvgf-text-muted);
}
.cvgf-card__img--placeholder svg {
width: 40%;
height: 40%;
}
.cvgf-card__body {
padding: 1em;
}
.cvgf-card__title {
font-weight: 600;
margin-bottom: 0.3em;
}
.cvgf-card__price {
color: var(--cvgf-primary);
font-weight: 700;
}
.cvgf-results__empty {
text-align: center;
color: var(--cvgf-text-muted);
padding: 2em 1em;
}
.cvgf-results__actions {
text-align: center;
margin-top: 1.5em;
}
.cvgf-results__footer {
display: flex;
justify-content: center;
align-items: center;
gap: 1em;
margin-top: 1.5em;
flex-wrap: wrap;
}
@media (max-width: 600px) {
.cvgf-wizard {
padding: 1.4em 1em;
border-radius: 12px;
}
.cvgf-step__answers {
grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}
}