.ayvf-section .container {
    max-width: 1180px;
}

.ayvf-widget {
    --ayvf-red: #bf3f2f;
    --ayvf-red-dark: #a73627;
    --ayvf-ink: #202124;
    --ayvf-ink-2: #5f6368;
    --ayvf-ink-3: #8a8f98;
    --ayvf-line: #ece8e3;
    --ayvf-bg: #faf7f2;
    --ayvf-soft: #fff7f5;
    --ayvf-card: #ffffff;
    --ayvf-green: #1f8a53;
    --ayvf-green-soft: #e9f6ee;
    background: var(--ayvf-card);
    border: 1px solid var(--ayvf-line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(26, 26, 26, 0.06);
}

.ayvf-head {
    padding: 24px 28px 18px;
    border-bottom: 1px solid var(--ayvf-line);
}

.ayvf-head-title {
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--ayvf-ink);
    margin-bottom: 4px;
}

.ayvf-head-sub {
    font-size: 14px;
    color: var(--ayvf-ink-3);
}

.ayvf-steps {
    display: flex;
    background: var(--ayvf-bg);
    border-bottom: 1px solid var(--ayvf-line);
}

.ayvf-step {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
}

.ayvf-step::after {
    content: "";
    position: absolute;
    top: 27px;
    left: calc(50% + 16px);
    width: calc(100% - 32px);
    height: 1px;
    background: var(--ayvf-line);
}

.ayvf-step:last-child::after {
    display: none;
}

.ayvf-step.is-done::after {
    background: var(--ayvf-red);
}

.ayvf-step-dot {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid #d7d0c9;
    background: #fff;
    color: #bbb3ac;
    font-size: 12px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.ayvf-step.is-active .ayvf-step-dot {
    border-color: var(--ayvf-red);
    color: var(--ayvf-red);
}

.ayvf-step.is-done .ayvf-step-dot {
    border-color: var(--ayvf-red);
    background: var(--ayvf-red);
    color: #fff;
}

.ayvf-step-label {
    font-size: 11px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #b7aea6;
    font-weight: 700;
}

.ayvf-step.is-active .ayvf-step-label {
    color: var(--ayvf-ink);
}

.ayvf-step.is-done .ayvf-step-label {
    color: var(--ayvf-ink-2);
}

.ayvf-body,
.ayvf-loading,
.ayvf-results {
    padding: 28px;
}

.ayvf-pane {
    display: none;
}

.ayvf-pane.ayvf-pane-active {
    display: block;
    animation: ayvfFadeUp 0.22s ease;
}

@keyframes ayvfFadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ayvf-q-label {
    color: var(--ayvf-red);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 800;
    margin-bottom: 7px;
}

.ayvf-q-title {
    font-size: 22px;
    line-height: 1.2;
    color: var(--ayvf-ink);
    font-weight: 800;
    margin-bottom: 6px;
}

.ayvf-q-hint {
    color: var(--ayvf-ink-3);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 26px;
    max-width: 720px;
}

.ayvf-budget-value {
    font-size: 28px;
    line-height: 1;
    color: var(--ayvf-ink);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.ayvf-budget-unit {
    color: var(--ayvf-ink-3);
    font-size: 13px;
    margin-bottom: 22px;
}

.ayvf-budget-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: var(--ayvf-line);
    outline: none;
    cursor: pointer;
}

.ayvf-budget-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--ayvf-red);
    box-shadow: 0 2px 8px rgba(191, 63, 47, 0.22);
}

.ayvf-budget-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--ayvf-red);
}

.ayvf-budget-ticks {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
}

.ayvf-budget-tick {
    border: 0;
    background: none;
    padding: 0;
    color: #b7aea6;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
}

.ayvf-budget-tick.is-active {
    color: var(--ayvf-red);
}

.ayvf-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ayvf-options-grid {
    display: grid;
    gap: 10px;
}

.ayvf-options-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ayvf-options-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ayvf-option {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--ayvf-line);
    background: #fff;
    color: inherit;
    text-align: left;
    transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.ayvf-option:hover {
    border-color: #d3c7bf;
    background: var(--ayvf-bg);
    transform: translateY(-1px);
}

.ayvf-option.is-selected {
    border-color: var(--ayvf-red);
    background: var(--ayvf-soft);
}

.ayvf-option-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f7f1ec;
    color: var(--ayvf-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.ayvf-option-content {
    flex: 1;
    min-width: 0;
}

.ayvf-option-title {
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
    color: var(--ayvf-ink);
    display: block;
}

.ayvf-option-desc {
    font-size: 12px;
    line-height: 1.5;
    color: var(--ayvf-ink-3);
    margin-top: 2px;
}

.ayvf-option-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #cdc5bf;
    position: relative;
    flex-shrink: 0;
}

.ayvf-option.is-selected .ayvf-option-radio {
    background: var(--ayvf-red);
    border-color: var(--ayvf-red);
}

.ayvf-option.is-selected .ayvf-option-radio::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: #fff;
}

.ayvf-nav {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--ayvf-line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.ayvf-btn {
    border: 0;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    transition: opacity 0.16s ease, transform 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.ayvf-btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.ayvf-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.ayvf-btn-back {
    background: transparent;
    border: 1px solid var(--ayvf-line);
    color: var(--ayvf-ink-2);
}

.ayvf-btn-next {
    background: var(--ayvf-ink);
    color: #fff;
}

.ayvf-btn-go {
    background: var(--ayvf-red);
    color: #fff;
}

.ayvf-loading {
    text-align: center;
}

.ayvf-loading-dots {
    display: inline-flex;
    gap: 6px;
    margin-bottom: 14px;
}

.ayvf-loading-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd7d1;
    animation: ayvfBlink 1.2s infinite;
}

.ayvf-loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.ayvf-loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes ayvfBlink {
    0%, 80%, 100% {
        background: #ddd7d1;
    }
    40% {
        background: var(--ayvf-red);
    }
}

.ayvf-loading-text {
    color: var(--ayvf-ink-3);
    font-weight: 700;
    font-size: 14px;
}

.ayvf-results-head {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--ayvf-line);
}

.ayvf-results-title {
    font-size: 24px;
    line-height: 1.25;
    color: var(--ayvf-ink);
    font-weight: 800;
    margin-bottom: 4px;
}

.ayvf-results-sub {
    color: var(--ayvf-ink-3);
    font-size: 14px;
    margin-bottom: 14px;
}

.ayvf-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ayvf-chip {
    border: 1px solid var(--ayvf-line);
    background: var(--ayvf-bg);
    color: var(--ayvf-ink-2);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1;
}

.ayvf-chip strong {
    color: var(--ayvf-ink);
}

.ayvf-results-list {
    padding-top: 10px;
}

.ayvf-result-row {
    border-bottom: 1px solid var(--ayvf-line);
}

.ayvf-result-summary {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
    cursor: pointer;
}
/* 
.ayvf-result-row.is-best .ayvf-result-summary {
    background: linear-gradient(90deg, rgba(191, 63, 47, 0.05), rgba(191, 63, 47, 0));
} */

.ayvf-result-left {
    width: 260px;
    flex-shrink: 0;
}

.ayvf-result-rank {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.85px;
    color: var(--ayvf-red);
    font-weight: 800;
    margin-bottom: 3px;
}

.ayvf-result-name {
    font-size: 16px;
    line-height: 1.35;
    color: var(--ayvf-ink);
    font-weight: 800;
}

.ayvf-result-specs {
    font-size: 12px;
    color: var(--ayvf-ink-3);
    margin-top: 3px;
}

.ayvf-result-bar {
    flex: 1;
}

.ayvf-result-bar-track {
    height: 8px;
    border-radius: 999px;
    background: #ece8e3;
    overflow: hidden;
}

.ayvf-result-bar-fill {
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: var(--ayvf-green);
    transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.ayvf-result-right {
    width: 140px;
    text-align: right;
    flex-shrink: 0;
}

.ayvf-result-price {
    font-size: 17px;
    color: var(--ayvf-ink);
    font-weight: 800;
}

.ayvf-result-price-sub {
    font-size: 11px;
    color: var(--ayvf-ink-3);
    margin-top: 2px;
}

.ayvf-result-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    padding: 5px 9px;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
}

.ayvf-result-badge.is-best {
    color: var(--ayvf-red);
    background: #fee8e4;
}

.ayvf-result-badge.is-alt {
    color: var(--ayvf-ink-2);
    background: #f6f1eb;
}

.ayvf-result-detail {
    display: none;
    padding: 0 0 18px;
}

.ayvf-result-row.is-open .ayvf-result-detail {
    display: block;
}

.ayvf-result-why {
    color: var(--ayvf-ink-2);
    font-size: 14px;
    line-height: 1.7;
    padding: 14px 18px;
    background: var(--ayvf-soft);
    border: 1px solid #f4d7d2;
    border-radius: 12px;
}

.ayvf-result-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.ayvf-feature-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #cde6d7;
    background: var(--ayvf-green-soft);
    color: var(--ayvf-green);
    font-size: 12px;
    line-height: 1;
    padding: 6px 10px;
    font-weight: 700;
}

.ayvf-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.ayvf-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.ayvf-link-btn:hover {
    transform: translateY(-1px);
}

.ayvf-link-btn-primary {
    background: var(--ayvf-ink);
    color: #fff;
}

.ayvf-link-btn-outline {
    border: 1px solid var(--ayvf-line);
    color: var(--ayvf-ink-2);
    background: #fff;
}

.ayvf-results-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
}

.ayvf-restart {
    border: 0;
    background: none;
    color: var(--ayvf-ink-3);
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .ayvf-q-title,
    .ayvf-results-title,
    .ayvf-head-title {
        font-size: 18px;
    }

    .ayvf-budget-value {
        font-size: 24px;
    }

    .ayvf-result-summary {
        flex-wrap: wrap;
        gap: 12px;
    }

    .ayvf-result-left,
    .ayvf-result-right {
        width: 100%;
        text-align: left;
    }
}

@media (max-width: 767.98px) {
    .ayvf-head,
    .ayvf-body,
    .ayvf-loading,
    .ayvf-results {
        padding: 20px 18px;
    }

    .ayvf-step-label {
        display: none;
    }

    .ayvf-options-grid-2,
    .ayvf-options-grid-3 {
        grid-template-columns: 1fr;
    }

    .ayvf-budget-ticks {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}
