/* Quote form v2 (Figma: Car Shipping / Step 01..03) */

.qv2-page {
    --qv2-black: #010101;
    --qv2-white: #ffffff;
    --qv2-bg: #f7f7f7;
    --qv2-gray: #717171;
    --qv2-outline: #e7e7e7;
    --qv2-violet: #6227a7;
    --qv2-violet-500: #9b5bf1;
    --qv2-violet-200: #f1e8ff;
    --qv2-success: #3fa420;
    --qv2-error: #f90000;

    background-color: var(--qv2-bg);
    color: var(--qv2-black);
    padding: 40px 0 120px;
}

/* :where() keeps the specificity low, so component classes override it */
:where(.qv2-page) button {
    font-family: var(--font-primary);
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
}

.qv2-container {
    max-width: 1375px;
    margin: 0 auto;
    padding: 0 16px;
}

.qv2-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 120px;
    align-items: start;
}


/* Sidebar: back + progress */

.qv2-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--qv2-black);
    text-decoration: none;
}

.qv2-steps {
    list-style: none;
    margin: 64px 0 0;
    padding: 0;
}

.qv2-steps__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 18px;
    line-height: 28px;
    color: var(--qv2-gray);
}

.qv2-steps__item:not(:last-child) {
    margin-bottom: 32px;
}

/* Vertical dashed line between steps (Figma: dash 4px, gap 4px) */
.qv2-steps__item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    width: 1px;
    height: 32px;
    background: repeating-linear-gradient(to bottom, var(--qv2-violet-500) 0 4px, transparent 4px 8px);
}

.qv2-steps__num {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--qv2-outline);
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
}

.qv2-steps__item.is-active {
    font-weight: 600;
    line-height: 24px;
    color: var(--qv2-violet);
}

.qv2-steps__item.is-active .qv2-steps__num {
    border-color: var(--qv2-violet);
    background-color: var(--qv2-violet-200);
    color: var(--qv2-violet);
}

.qv2-steps__item.is-done {
    color: var(--qv2-black);
}

.qv2-steps__item.is-done .qv2-steps__num {
    border: none;
    font-size: 0;
    background: url(../images/quote-v2/step-done.svg) center / 40px 40px no-repeat;
}


/* Panel */

.qv2-panel {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 40px 40px 48px;
    background-color: var(--qv2-white);
    border: 1px solid var(--qv2-outline);
    border-radius: 4px;
}

.qv2-panel__head {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qv2-panel__step {
    font-size: 16px;
    line-height: 24px;
    color: var(--qv2-gray);
}

.qv2-panel__title {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    color: var(--qv2-black);
}

.qv2-errors {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--qv2-error);
}

.qv2-errors__help {
    color: var(--qv2-gray);
}


/* Vehicles */

.qv2-vehicles {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.qv2-vehicle {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.qv2-vehicles.is-multiple .qv2-vehicle {
    padding-bottom: 40px;
    border-bottom: 1px solid var(--qv2-outline);
}

.qv2-vehicle__remove {
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: flex-end;
    margin-bottom: -16px;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

/* The first vehicle can not be removed */
.qv2-vehicle:first-child .qv2-vehicle__remove {
    display: none;
}

.qv2-row--3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}


/* Field */

.qv2-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.qv2-label {
    font-size: 12px;
    font-weight: 700;
    line-height: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--qv2-black);
}

.qv2-req {
    color: var(--qv2-violet);
}

.qv2-hint,
.qv2-confirmed,
.qv2-error {
    font-size: 12px;
    line-height: 18px;
}

.qv2-hint {
    color: var(--qv2-gray);
}

.qv2-confirmed {
    display: none;
    color: var(--qv2-success);
}

.qv2-error {
    display: none;
    color: var(--qv2-error);
}

.qv2-field.is-success .qv2-confirmed,
.qv2-field.is-error .qv2-error {
    display: block;
}

.qv2-field.is-success .qv2-hint,
.qv2-field.is-error .qv2-hint {
    display: none;
}

.qv2-input {
    width: 100%;
    height: 56px;
    padding: 8px 16px;
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 24px;
    color: var(--qv2-black);
    background-color: var(--qv2-white);
    border: 1px solid var(--qv2-outline);
    border-radius: 4px;
    outline: none;
}

.qv2-input::placeholder {
    color: var(--qv2-gray);
}

.qv2-input:focus {
    border-color: var(--qv2-violet);
}

.qv2-field.is-success .qv2-input,
.qv2-field.is-success .qv2-select__trigger {
    border-color: var(--qv2-success);
}

.qv2-field.is-error .qv2-input,
.qv2-field.is-error .qv2-select__trigger {
    border-color: var(--qv2-error);
}


/* Custom select (year, make, model) */

.qv2-select {
    position: relative;
}

.qv2-native {
    display: none;
}

.qv2-select__trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 56px;
    padding: 8px 40px 8px 16px;
    text-align: left;
    background-color: var(--qv2-white);
    border: 1px solid var(--qv2-outline);
    border-radius: 4px;
}

.qv2-select__trigger::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    background: url(../images/quote-v2/chevron.svg) center / 18px 9px no-repeat;
}

.qv2-select__icon {
    flex-shrink: 0;
}

.qv2-select__value {
    overflow: hidden;
    font-size: 16px;
    line-height: 24px;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--qv2-black);
}

.qv2-select__value.is-placeholder {
    color: var(--qv2-gray);
}

.qv2-select.is-disabled .qv2-select__trigger {
    cursor: not-allowed;
    background-color: var(--qv2-bg);
}

/* Models are loading: spinner instead of the chevron */
.qv2-select.is-loading .qv2-select__trigger {
    cursor: progress;
}

.qv2-select.is-loading .qv2-select__trigger::after {
    top: 18px;
    right: 18px;
    width: 20px;
    height: 20px;
    background: none;
    border: 2px solid var(--qv2-violet-200);
    border-top-color: var(--qv2-violet);
    border-radius: 50%;
    animation: qv2-spin 0.7s linear infinite;
}

@keyframes qv2-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Dropdown panel: opens on top of the trigger */
.qv2-select__panel {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    overflow: hidden;
    background-color: var(--qv2-white);
    border: 1px solid var(--qv2-outline);
    border-radius: 4px;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.08);
}

.qv2-select.is-open .qv2-select__panel {
    display: block;
}

.qv2-select__search {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 54px;
    padding: 0 16px;
    border-bottom: 1px solid var(--qv2-outline);
}

.qv2-select__search-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0;
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 24px;
    color: var(--qv2-black);
    caret-color: var(--qv2-violet);
    border: none;
    outline: none;
}

.qv2-select__search-input::placeholder {
    color: var(--qv2-gray);
}

.qv2-select__list {
    max-height: 257px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--qv2-gray) var(--qv2-bg);
}

.qv2-select__list::-webkit-scrollbar {
    width: 5px;
}

.qv2-select__list::-webkit-scrollbar-track {
    background-color: var(--qv2-bg);
    border-radius: 3px;
}

.qv2-select__list::-webkit-scrollbar-thumb {
    background-color: var(--qv2-gray);
    border-radius: 3px;
}

.qv2-select__section {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    line-height: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--qv2-violet);
}

.qv2-select__section.is-gray {
    color: var(--qv2-gray);
}

.qv2-select__option {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 40px;
    padding: 8px 16px;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
}

.qv2-select__option:hover,
.qv2-select__option.is-selected {
    background-color: var(--qv2-violet-200);
}

.qv2-select__option.is-selected {
    color: var(--qv2-violet);
}

.qv2-select__empty {
    padding: 8px 16px;
    font-size: 14px;
    line-height: 20px;
    color: var(--qv2-gray);
}

.qv2-select__footer {
    border-top: 1px solid var(--qv2-outline);
}

.qv2-select__other {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.qv2-select__other:hover {
    background-color: var(--qv2-violet-200);
}

.qv2-select__note {
    padding: 8px 16px 12px;
    font-size: 14px;
    line-height: 20px;
    color: var(--qv2-gray);
}


/* "Other": make / model entered manually */

.qv2-other {
    display: none;
}

.qv2-field.is-other .qv2-select,
.qv2-field.is-other .qv2-hint {
    display: none;
}

.qv2-field.is-other .qv2-other {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.qv2-other__back {
    align-self: flex-start;
    padding: 0;
    font-size: 12px;
    line-height: 18px;
    color: var(--qv2-success);
}

.qv2-chip,
.qv2-notice {
    display: none;
}

.qv2-vehicle.has-other .qv2-chip,
.qv2-vehicle.has-other .qv2-notice {
    display: flex;
}

.qv2-chip {
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 20px;
    color: #1f660f;
    background-color: #e8f5e2;
    border-radius: 4px;
}

.qv2-chip__icon {
    font-weight: 700;
    color: var(--qv2-success);
}

.qv2-notice {
    gap: 8px;
    padding: 12px 16px;
    background-color: var(--qv2-violet-200);
    border: 1px solid var(--qv2-violet-500);
    border-radius: 4px;
}

.qv2-notice__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 12px;
    font-weight: 700;
    color: var(--qv2-white);
    background-color: var(--qv2-violet);
    border-radius: 50%;
}

.qv2-notice__title {
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.qv2-notice__text {
    font-size: 12px;
    line-height: 18px;
    max-width: 800px;
}


/* Radio questions */

.qv2-questions {
    display: flex;
    gap: 48px;
}

.qv2-question {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.qv2-question__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
}

.qv2-radios {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qv2-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
}

.qv2-radio input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.qv2-radio span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qv2-radio span::before {
    content: '';
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 1px solid var(--qv2-outline);
    border-radius: 50%;
    box-sizing: border-box;
}

.qv2-radio input:checked+span::before {
    border-color: var(--qv2-violet);
    background: radial-gradient(circle, var(--qv2-violet) 4px, transparent 4.5px);
}

.qv2-field.is-error .qv2-radio span::before {
    border-color: var(--qv2-error);
}

.qv2-radio input:focus-visible+span::before {
    outline: 2px solid var(--qv2-violet-500);
    outline-offset: 2px;
}


/* Buttons */

.qv2-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.qv2-add-vehicle {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--qv2-violet);
}

.qv2-btn {
    display: inline-block;
    padding: 15px 36px 13px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--qv2-white);
    background-color: var(--qv2-violet);
    border-radius: 4px;
    transition: var(--trans);
}

.qv2-btn:hover {
    background-color: var(--qv2-violet-500);
}

.qv2-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* Step 2: origin / destination + pickup date */

.qv2-row--2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.qv2-question__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qv2-question__desc {
    font-size: 16px;
    line-height: 24px;
    color: var(--qv2-gray);
}

.qv2-date[hidden],
.qv2-date__calendar-wrap[hidden] {
    display: none;
}

.qv2-date__control {
    position: relative;
}

.qv2-date__input {
    padding-right: 56px;
}

.qv2-date.is-open .qv2-date__input {
    border-color: var(--qv2-outline);
    border-radius: 4px 4px 0 0;
}

.qv2-date__icon {
    position: absolute;
    top: 50%;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    transform: translateY(-50%);
}

/* Violet icon while the calendar is open */
.qv2-date.is-open .qv2-date__icon img {
    filter: brightness(0) saturate(100%) invert(19%) sepia(63%) saturate(3165%) hue-rotate(262deg) brightness(87%) contrast(95%);
}

/* Calendar (jQuery UI datepicker) */

.qv2-date__calendar-wrap {
    margin-top: -4px;
    overflow: hidden;
    background-color: var(--qv2-white);
    border: 1px solid var(--qv2-outline);
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.08);
}

.qv2-date__calendar .ui-datepicker {
    width: 100%;
    font-family: var(--font-primary);
}

.qv2-date__calendar .ui-datepicker-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 12px 16px;
}

.qv2-date__calendar .ui-datepicker-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
}

.qv2-date__calendar .ui-datepicker-prev,
.qv2-date__calendar .ui-datepicker-next {
    position: absolute;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 14px;
    font-weight: 500;
    color: var(--qv2-black);
    border-radius: 4px;
    transform: translateY(-50%);
    cursor: pointer;
}

.qv2-date__calendar .ui-datepicker-prev {
    left: 8px;
}

.qv2-date__calendar .ui-datepicker-next {
    right: 8px;
}

.qv2-date__calendar .ui-datepicker-prev::before,
.qv2-date__calendar .ui-datepicker-next::before {
    content: '';
    width: 11px;
    height: 10px;
    background: url(../images/quote-v2/arrow.svg) center / contain no-repeat;
}

.qv2-date__calendar .ui-datepicker-prev::before {
    transform: rotate(180deg);
}

.qv2-date__calendar .ui-datepicker-prev:hover,
.qv2-date__calendar .ui-datepicker-next:hover {
    background-color: var(--qv2-violet-200);
}

.qv2-date__calendar .ui-datepicker-prev.ui-state-disabled {
    opacity: 0.3;
    cursor: default;
}

.qv2-date__calendar .ui-datepicker-prev span,
.qv2-date__calendar .ui-datepicker-next span {
    display: none;
}

.qv2-date__calendar table {
    width: calc(100% - 32px);
    margin: 0 16px 12px;
    border-collapse: collapse;
    table-layout: fixed;
}

.qv2-date__calendar th {
    padding: 8px 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    color: var(--qv2-gray);
}

.qv2-date__calendar td {
    padding: 4px 0;
    text-align: center;
}

.qv2-date__calendar td a,
.qv2-date__calendar td span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 20px;
    color: var(--qv2-black);
    text-decoration: none;
    border-radius: 50%;
}

.qv2-date__calendar td.ui-datepicker-unselectable span {
    color: var(--qv2-outline);
}

.qv2-date__calendar td a:hover {
    background-color: var(--qv2-violet-200);
}

/* jQuery UI marks today as active by default, so the selected day is shown only for a valid date */
.qv2-date.is-success .qv2-date__calendar td a.ui-state-active {
    font-weight: 700;
    color: var(--qv2-white);
    background-color: var(--qv2-violet);
}

.qv2-date__calendar-hint {
    padding: 12px 16px;
    font-size: 12px;
    line-height: 18px;
    color: var(--qv2-gray);
    background-color: var(--qv2-bg);
    border-top: 1px solid var(--qv2-outline);
}

/* While the calendar is open, the texts under the field are hidden */
.qv2-date.is-open .qv2-hint,
.qv2-date.is-open .qv2-confirmed,
.qv2-date.is-open .qv2-error {
    display: none;
}


/* Step 3: contact info + summary */

/* Form + summary need more width than steps 1-2 */
.qv2-container--wide {
    max-width: 1632px;
}

.qv2-step3 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 407px;
    gap: 40px;
    align-items: start;
}

.qv2-panel__desc {
    font-size: 16px;
    line-height: 24px;
    color: var(--qv2-gray);
}

.qv2-fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Info icon inside the input with a tooltip on the left (Full name) */
.qv2-input-wrap {
    position: relative;
}

.qv2-input-wrap .qv2-input {
    padding-right: 48px;
}

.qv2-info {
    position: absolute;
    top: 50%;
    right: 16px;
    line-height: 0;
    transform: translateY(-50%);
    cursor: pointer;
    outline: none;
}

.qv2-info__tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 50%;
    right: 28px;
    z-index: 5;
    width: 200px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 18px;
    color: var(--qv2-black);
    background-color: var(--qv2-white);
    border: 1px solid var(--qv2-outline);
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-50%);
    transition: opacity 0.2s;
}

/* Arrow to the icon */
.qv2-info__tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    width: 8px;
    height: 8px;
    background-color: var(--qv2-white);
    border-top: 1px solid var(--qv2-outline);
    border-right: 1px solid var(--qv2-outline);
    transform: translateY(-50%) rotate(45deg);
}

/* Email is being checked (ZeroBounce): spinner in the input, no "Confirmed" yet */
.qv2-field.is-loading .qv2-input-wrap::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 18px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    border: 2px solid var(--qv2-violet-200);
    border-top-color: var(--qv2-violet);
    border-radius: 50%;
    animation: qv2-spin 0.7s linear infinite;
}

.qv2-field.is-loading .qv2-confirmed {
    display: none;
}

/* The email is read-only while it is checked */
.qv2-field.is-loading .qv2-input {
    color: var(--qv2-gray);
    background-color: var(--qv2-bg);
    cursor: progress;
}

.qv2-info:hover .qv2-info__tooltip,
.qv2-info:focus .qv2-info__tooltip,
.qv2-info.is-active .qv2-info__tooltip {
    visibility: visible;
    opacity: 1;
}

.qv2-btn--full {
    width: 100%;
}

/* Consent checkbox */

.qv2-consent {
    gap: 8px;
}

.qv2-consent__title {
    font-size: 14px;
    line-height: 20px;
}

.qv2-checkbox {
    display: flex;
    gap: 12px;
    font-size: 12px;
    line-height: 18px;
    color: var(--qv2-gray);
    cursor: pointer;
}

.qv2-checkbox input {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    border: 1px solid var(--qv2-outline);
    border-radius: 2px;
    appearance: none;
    cursor: pointer;
}

.qv2-checkbox input:checked {
    border-color: var(--qv2-violet);
    background: url(../images/quote-v2/checkbox.svg) center / 16px 16px no-repeat;
}

.qv2-field.is-error .qv2-checkbox input {
    border-color: var(--qv2-error);
}

.qv2-checkbox a {
    color: var(--qv2-violet);
    text-decoration: underline;
}

/* Summary */

.qv2-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px 24px;
    background-color: var(--qv2-white);
    border: 1px solid var(--qv2-outline);
    border-radius: 4px;
}

.qv2-summary__head {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.qv2-summary__title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: var(--qv2-black);
}

.qv2-summary__text {
    font-size: 14px;
    line-height: 20px;
    color: var(--qv2-gray);
}

.qv2-summary__details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0 0 20px;
    list-style: none;
    border-bottom: 1px solid var(--qv2-outline);
}

.qv2-summary__details li {
    display: flex;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
}

.qv2-summary__details img {
    flex-shrink: 0;
    margin-top: 2px;
}

.qv2-summary__price {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qv2-summary__price-label {
    font-size: 12px;
    font-weight: 600;
    line-height: 15px;
    text-transform: uppercase;
    color: var(--qv2-gray);
}

.qv2-summary__price-value {
    font-size: 32px;
    font-weight: 500;
    line-height: 48px;
    color: var(--qv2-violet);
}

/* The price is hidden under a blur */
.qv2-summary__price-value span {
    filter: blur(8px);
    user-select: none;
}

.qv2-summary__price-text,
.qv2-summary__note {
    font-size: 12px;
    line-height: 18px;
    color: var(--qv2-gray);
}

.qv2-summary__props {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.qv2-summary__props li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    font-size: 12px;
    line-height: 18px;
    background-color: var(--qv2-bg);
    border-radius: 4px;
}

.qv2-summary__props li::before {
    content: '';
    width: 14px;
    height: 14px;
    background: url(../images/quote-v2/check-small.svg) center / contain no-repeat;
}

.qv2-summary__motivator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    background-color: var(--qv2-bg);
    border-radius: 12px;
}

.qv2-summary__motivator p {
    font-weight: 700;
}

.qv2-summary__motivator span {
    color: var(--qv2-violet);
}


/* Thank you page (Figma: Step 03 / Quote Ready) */

.qv2-thanks .qv2-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}

/* Black card */
.qv2-result {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    padding: 48px;
    color: var(--qv2-white);
    background-color: var(--qv2-black);
    border-radius: 16px;
}

/* Violet blurred circles in the background */
.qv2-result__glow {
    position: absolute;
    top: 10px;
    left: 524px;
    width: 756px;
    height: 756px;
    background-color: var(--qv2-violet);
    border-radius: 50%;
    opacity: 0.35;
    filter: blur(120px);
    pointer-events: none;
}

.qv2-result__glow--top {
    top: -60px;
    left: -60px;
    width: 300px;
    height: 300px;
    opacity: 0.2;
    filter: blur(100px);
}

.qv2-result__main,
.qv2-result__call {
    position: relative;
}

.qv2-result__main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.qv2-result__head {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qv2-result__title-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.qv2-result__badge {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: var(--qv2-violet-500);
    border-radius: 50%;
    box-shadow: 0 0 24px rgba(155, 91, 241, 0.5);
}

.qv2-result__title {
    margin: 0;
    font-size: 48px;
    font-weight: 600;
    line-height: 56px;
    color: var(--qv2-white);
}

.qv2-result__title span {
    color: var(--qv2-violet-500);
}

.qv2-result__text {
    font-size: 15px;
    line-height: 24px;
    opacity: 0.9;
}

/* Semi-transparent box: summary, price note */
.qv2-result__box {
    margin: 0;
    padding: 20px;
    list-style: none;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--qv2-violet);
    border-radius: 4px;
}

.qv2-result__summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qv2-result__summary li,
.qv2-result__price-note {
    display: flex;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
}

.qv2-result__summary li {
    font-weight: 700;
}

.qv2-result__summary img,
.qv2-result__price-note img {
    flex-shrink: 0;
    margin-top: 1px;
}

.qv2-result__price {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qv2-result__price-label {
    font-size: 12px;
    font-weight: 700;
    line-height: 12px;
    text-transform: uppercase;
    color: var(--qv2-gray);
}

.qv2-result__price-value {
    font-size: 48px;
    font-weight: 600;
    line-height: 56px;
    color: var(--qv2-violet-500);
}

/* Call block */
.qv2-result__call {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 420px;
    padding: 40px;
    text-align: center;
    background-color: rgba(17, 17, 17, 0.4);
    border: 1px solid var(--qv2-violet);
    border-radius: 8px;
    backdrop-filter: blur(19px);
}

.qv2-result__call-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1.5px solid var(--qv2-violet-500);
    border-radius: 50%;
}

.qv2-result__call-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qv2-result__call-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
}

.qv2-result__call-text {
    font-size: 14px;
    line-height: 20px;
}

.qv2-result__call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--qv2-white);
    text-decoration: none;
    background-color: var(--qv2-violet-500);
    border-radius: 4px;
    transition: var(--trans);
}

.qv2-result__call-btn:hover {
    background-color: var(--qv2-violet);
}

/* Tips */
.qv2-tips {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    padding: 24px 0;
}

.qv2-tips__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.qv2-tips__eyebrow {
    font-size: 12px;
    font-weight: 700;
    line-height: 12px;
    text-transform: uppercase;
    color: var(--qv2-violet);
}

.qv2-tips__title {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    color: var(--qv2-black);
}

.qv2-tips__text {
    font-size: 16px;
    line-height: 24px;
    color: var(--qv2-gray);
}

.qv2-tips__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    width: 100%;
}

.qv2-tip {
    display: flex;
    gap: 20px;
}

.qv2-tip__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background-color: var(--qv2-violet-200);
    border-radius: 50%;
}

.qv2-tip__title {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
}

.qv2-tip__text {
    font-size: 14px;
    line-height: 20px;
    color: var(--qv2-gray);
}


/* Header popup "Choose the service you need": select2 is not loaded on v2 pages, so the native select is used */

#shipping_service {
    width: 100%;
    height: 48px;
    padding: 0 40px 0 16px;
    font-family: var(--font-primary);
    font-size: 16px;
    color: #010101;
    background: #ffffff url(../images/quote-v2/chevron.svg) right 18px center / 18px 9px no-repeat;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    appearance: none;
    cursor: pointer;
}


/* Responsive */

@media screen and (max-width: 1279px) {
    .qv2-layout {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 48px;
    }
}

/* Step 3: the form is too narrow next to the summary - the summary goes above the form (as on mobile) */
@media screen and (max-width: 1279px) {
    .qv2-step3 {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .qv2-summary {
        order: -1;
    }
}

@media screen and (max-width: 1023px) {

    /* The header is fixed here: 64px header + 24px (Figma mobile) */
    .qv2-page {
        padding-top: 88px;
    }

    .qv2-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    /* Figma mobile: only "Back", without the progress */
    .qv2-steps {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .qv2-page {
        padding-bottom: 64px;
    }

    .qv2-container {
        padding: 0 20px;
    }

    .qv2-panel,
    .qv2-summary {
        padding: 32px 20px;
    }

    .qv2-panel__title {
        font-size: 24px;
        line-height: 32px;
    }

    .qv2-row--3,
    .qv2-row--2 {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .qv2-questions {
        flex-direction: column;
        gap: 24px;
    }

    .qv2-question {
        gap: 16px;
    }

    .qv2-actions {
        align-items: stretch;
    }

    .qv2-add-vehicle {
        align-self: flex-start;
    }
}


/* Thank you page: the call block goes under the result, tips in a column */
@media screen and (max-width: 1023px) {
    .qv2-result {
        flex-direction: column;
        align-items: stretch;
    }

    .qv2-result__call {
        width: 100%;
    }

    .qv2-tips__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
}

@media screen and (max-width: 767px) {
    .qv2-thanks .qv2-container {
        gap: 32px;
    }

    .qv2-result {
        gap: 32px;
        padding: 32px 20px;
        border-radius: 24px;
    }

    .qv2-result__main {
        gap: 24px;
    }

    .qv2-result__head {
        gap: 8px;
    }

    .qv2-result__title-row {
        gap: 8px;
    }

    .qv2-result__badge {
        width: 32px;
        height: 32px;
    }

    .qv2-result__badge img {
        width: 16px;
        height: 16px;
    }

    .qv2-result__title,
    .qv2-tips__title {
        font-size: 24px;
        line-height: 32px;
    }

    .qv2-result__box {
        padding: 16px;
        border-color: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
    }

    .qv2-result__call {
        gap: 24px;
        padding: 24px 16px;
        border-color: rgba(255, 255, 255, 0.1);
        border-radius: 16px;
    }

    .qv2-result__call-badge {
        width: 40px;
        height: 40px;
    }

    .qv2-result__call-title {
        font-size: 14px;
        line-height: 20px;
    }
}