/* =========================================================
   SELL / TRADE PAGE
   ========================================================= */

.sell-trade-page {
    background: #fff;
    color: var(--carpal-navy);
}


/* =========================================================
   HERO / MAIN CONTENT
   ========================================================= */

.sell-trade-hero {
    padding: 60px 0 48px;
}

.sell-trade-copy {
    max-width: 670px;
}

.sell-trade-copy h1 {
    margin: 0 0 22px;

    font-family: var(--carpal-heading-font);
    font-size: 34px;
    font-weight: 400;
    line-height: 1.15;

    color: var(--carpal-navy);
}

.sell-trade-copy h1 strong {
    font-weight: 700;
}

.sell-trade-copy p {
    margin-bottom: 20px;

    font-size: 18px;
    line-height: 1.45;
}

.sell-trade-copy .sell-trade-lead {
    max-width: 590px;
}

.sell-trade-copy h3 {
    margin: 28px 0 8px;

    font-size: 18px;
    font-weight: 700;

    color: var(--carpal-navy);
}

.sell-trade-how-it-works {
    margin: 0;
    padding-left: 28px;

    max-width: 625px;
}

.sell-trade-how-it-works li {
    margin-bottom: 7px;

    font-size: 17px;
    line-height: 1.35;
}

.sell-trade-how-it-works li span {
    font-weight: 400;
}


/* =========================================================
   RIGHT-HAND MAKE A DEAL CARD
   ========================================================= */

.sell-trade-card {
    width: 100%;
    min-height: 610px;

    margin-left: auto;

    padding: 62px 36px 50px;

    border: 2px solid var(--carpal-navy);
    border-radius: 34px;

    background: #fff;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.sell-trade-card-icon {
    width: 8vw;
    height: 8vw;

    object-fit: contain;

    margin-bottom: 26px;
}

.sell-trade-card h2 {
    margin: 0 0 18px;

    font-family: var(--carpal-heading-font);
    font-size: 31px;
    font-weight: 400;
    line-height: 1.15;

    color: var(--carpal-navy);
}

.sell-trade-card p {
    max-width: 290px;
    margin: 0 0 38px;

    font-size: 18px;
    line-height: 1.35;

    color: var(--carpal-navy);
}

.sell-trade-start-btn {
    min-width: 215px;
    min-height: 54px;

    padding: 10px 28px;

    border: 0;
    border-radius: 16px;

    background: #df74c4!important;
    color: #fff;

    border: none!important;

    font-size: 26px;
    font-weight: 800;
    line-height: 1;

    transition: opacity .15s ease, transform .15s ease;
}

.sell-trade-start-btn:hover {
    opacity: .92;
    transform: translateY(-1px);
}


/* =========================================================
   LIFESTYLE IMAGE SECTION
   ========================================================= */

.sell-trade-lifestyle {
    width: 100%;
}

.sell-trade-lifestyle-image {
    position: relative;

    width: 100%;
    height: 800px;

    overflow: hidden;
}

.sell-trade-lifestyle-video {
    display: block;

    width: 100%;

    object-fit: cover;
    object-position: center;
}

.sell-trade-lifestyle-caption {
    position: absolute;

    left: 50%;
    top: 52%;

    transform: translate(-50%, -50%);

    text-align: center;
}

.sell-trade-lifestyle-caption .caption-top {
    display: inline-block;

    padding: 8px 28px;

    background: var(--carpal-navy);
    color: #fff;

    font-family: var(--carpal-heading-font);
    font-size: 34px;
    line-height: 1.1;

    white-space: nowrap;
}

.sell-trade-lifestyle-caption .caption-bottom {
    width: fit-content;

    margin: 0 auto;
    padding: 6px 24px 8px;

    background: #fff;

    color: var(--carpal-green);

    font-family: var(--carpal-heading-font);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .sell-trade-hero {
        padding: 42px 0 38px;
    }

    .sell-trade-copy {
        max-width: 100%;
    }

    .sell-trade-card {
        max-width: 520px;

        margin: 20px auto 0;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .sell-trade-hero {
        padding: 28px 0 28px;
    }

    .sell-trade-copy h1 {
        font-size: 29px;
    }

    .sell-trade-copy p,
    .sell-trade-how-it-works li {
        font-size: 16px;
    }

    .sell-trade-card {
        min-height: 430px;

        padding: 42px 24px;

        border-radius: 28px;
    }

    .sell-trade-card h2 {
        font-size: 27px;
    }

    .sell-trade-card p {
        font-size: 16px;
    }

    .sell-trade-start-btn {
        min-width: 190px;
        min-height: 50px;

        font-size: 22px;
    }

    .sell-trade-lifestyle-image {
        min-height: 360px;
    }

    .sell-trade-lifestyle-video {
        height: 360px;
    }

    .sell-trade-lifestyle-caption {
        width: 90%;
    }

    .sell-trade-lifestyle-caption .caption-top {
        white-space: normal;

        font-size: 25px;

        padding: 7px 18px;
    }

    .sell-trade-lifestyle-caption .caption-bottom {
        font-size: 25px;

        padding: 6px 18px;
    }

}


.sell-trade-step {
    display: none;

    width: 100%;
}

.sell-trade-step.active {
    display: flex;

    flex-direction: column;
    align-items: center;
}

.sell-trade-step p {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.sell-trade-step h2 {
    margin: 0 0 24px;

    font-family: var(--carpal-heading-font);
    font-size: 32px;
    font-weight: 400;

    color: var(--carpal-dark-green);
}


.sell-trade-step-icon {
    width: 90px;
    height: 90px;

    object-fit: contain;

    margin-bottom: 22px;
}


.sell-trade-question {
    width: 100%;

    margin: 0 0 18px;

    font-family: var(--carpal-body-font);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;

    text-align: left;

    color: var(--carpal-dark);
}


.sell-trade-help {
    width: 100%;

    margin: -8px 0 20px;

    font-family: var(--carpal-body-font);
    font-size: 16px;
    font-style: italic;
    line-height: 1.25;

    text-align: left;

    color: var(--carpal-dark);
}


/* INPUTS */

.sell-trade-input,
.sell-trade-textarea {
    width: 100%;

    margin-bottom: 16px;

    padding: 10px 20px;

    border: 2px solid var(--carpal-dark-green);
    border-radius: 52px;

    background: #fff;

    font-family: var(--carpal-body-font);
    font-size: 16px;
    font-style: italic;

    color: var(--carpal-dark);
}


.sell-trade-input {
    height: 48px;
}


.sell-trade-textarea {
    min-height: 95px;

    resize: none;

    border-radius: 32px;
}


/* RADIO ROWS */

.sell-trade-radio-row {
    display: flex;

    width: 100%;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 14px;

    cursor: pointer;

    text-align: left;
}


.sell-trade-radio-row input {
    width: 18px;
    height: 18px;

    margin-top: 2px;

    flex: 0 0 auto;
}


.sell-trade-radio-row span {
    font-family: var(--carpal-body-font);
    font-size: 16px;
    font-style: italic;
    line-height: 1.25;

    color: var(--carpal-dark);
}


.sell-trade-radio-row strong {
    font-weight: 700;
}


/* BUTTON */

.sell-trade-btn {
    min-width: 130px;

    margin-top: 22px;

    padding: 9px 24px;

    border: 0;
    border-radius: 22px;

    background: var(--carpal-dark-green);
    color: #fff;

    font-family: var(--carpal-body-font);
    font-size: 18px;
    font-weight: 700;

    text-transform: uppercase;
}


.sell-trade-btn:hover {
    opacity: .9;
}


/* SMALL SPACING ADJUSTMENTS */

.sell-trade-trim-label,
.sell-trade-keys-label {
    margin-top: 18px;
}

.sell-trade-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

.sell-trade-nav .sell-trade-back-btn,
.sell-trade-nav .sell-trade-btn {
    width: 130px;
    height: 50px;
    margin: 0;

    border-radius: 22px;

    font-family: var(--carpal-body-font);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;

    text-transform: uppercase;
}

.sell-trade-back-btn {
    border: 2px solid var(--carpal-dark-green);
    background: #fff;
    color: var(--carpal-dark-green);
}

.sell-trade-btn {
    border: 2px solid var(--carpal-dark-green);
    background: var(--carpal-dark-green);
    color: #fff;
}

.dev-refresh-btn {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 9999;

    padding: 8px 14px;

    border: 0;
    border-radius: 8px;

    background: #dc3545;
    color: #fff;

    font-size: 13px;
    font-weight: 700;
}

.sell-trade-card .invalid-feedback {
    padding-left: 15px;
    font-size: 13px;
    margin-bottom: 15px;
}

.aftermarket-options {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    justify-content: center;
    gap: 22px 30px;
    margin: 24px 0 10px;
}

.aftermarket-option {
    width: 130px;
    height: 130px;

    border: 2px solid var(--carpal-dark-green);
    border-radius: 34px;

    background: #fff;
    color: var(--carpal-dark);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 6px;
    padding: 12px;

    cursor: pointer;
}

.aftermarket-option img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.aftermarket-option span {
    font-family: var(--carpal-body-font);
    font-size: 15px;
    line-height: 1.05;
    text-align: center;
}

.aftermarket-option.selected {
    border: 5px solid var(--carpal-green);
}

.sell-trade-mileage-wrap {
    position: relative;

    width: 100%;
}

.sell-trade-mileage-wrap .sell-trade-input {
    padding-right: 62px;
    margin-bottom: 6px;
}

.sell-trade-mileage-unit {
    position: absolute;

    right: 20px;
    top: 50%;

    transform: translateY(-50%);

    font-family: var(--carpal-body-font);
    font-size: 18px;
    font-weight: 700;

    color: var(--carpal-dark);
}


.sell-trade-mileage-help {
    width: 100%;

    margin: 0 0 16px;

    font-family: var(--carpal-body-font);
    font-size: 16px;
    line-height: 1.3;

    color: var(--carpal-dark);
}


.sell-trade-transmission-options {
    display: grid;
    grid-template-columns: repeat(2, 130px);

    justify-content: center;

    gap: 28px;

    margin: 10px 0 6px;
}


.sell-trade-transmission-option {
    width: 130px;
    height: 130px;

    border: 2px solid var(--carpal-dark-green);
    border-radius: 34px;

    background: #fff;
    color: var(--carpal-dark);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    padding: 10px;

    cursor: pointer;
}


.sell-trade-transmission-option img {
    width: 68px;
    height: 68px;

    object-fit: contain;
}


.sell-trade-transmission-option span {
    font-family: var(--carpal-body-font);
    font-size: 18px;
    line-height: 1;

    text-align: center;
}


.sell-trade-transmission-option.selected {
    border: 5px solid var(--carpal-green);
}


.sell-trade-input.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding-right: 55px;

    background-color: #fff;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='14' viewBox='0 0 20 14'%3E%3Cpath d='M2 2l8 8 8-8' fill='none' stroke='%23063831' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 22px center;
    background-size: 20px 14px;
}

.sell-trade-tire-options,
.sell-trade-wheel-options {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    justify-content: center;

    gap: 35px;

    margin: 14px 0 24px;
}


.sell-trade-feature-option {
    width: 130px;
    height: 130px;

    padding: 10px;

    border: 2px solid var(--carpal-dark-green);
    border-radius: 34px;

    background: #fff;
    color: var(--carpal-dark);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}


.sell-trade-feature-option img {
    width: 70px;
    height: 70px;

    object-fit: contain;
}


.sell-trade-feature-option span {
    font-family: var(--carpal-body-font);
    font-size: 18px;
    line-height: 1.05;
}


.sell-trade-feature-option.selected {
    border: 5px solid var(--carpal-green);
}


.sell-trade-feature-question {
    margin-top: 18px;
}


/* =========================================================
   TREAD LIFE
   ========================================================= */

.sell-trade-tread-slider {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 8px;

    margin: 10px 0 25px;
}


.sell-trade-range-min,
.sell-trade-range-max {
    font-family: var(--carpal-body-font);
    font-size: 18px;

    white-space: nowrap;
}


.sell-trade-range-control {
    position: relative;

    flex: 1;
    height: 55px;

    display: flex;
    align-items: center;
}


.sell-trade-range-wedge {
    position: absolute;

    left: 0;
    right: 0;
    top: 50%;

    height: 42px;

    transform: translateY(-50%);

    background: var(--carpal-dark-green);

    clip-path: polygon(
        0 50%,
        100% 0,
        100% 100%
    );
}


#sellTradeTreadLife {
    position: absolute;

    left: 0;
    width: 100%;

    z-index: 2;

    opacity: 0;

    cursor: pointer;
}


.sell-trade-range-value {
    position: absolute;

    top: 50%;
    left: 60%;

    z-index: 3;

    transform: translate(-50%, -50%);

    width: 48px;
    height: 48px;

    border-radius: 50%;

    background: var(--carpal-light-blue);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;

    pointer-events: none;
}


.sell-trade-halfway {
    margin-top: 14px;

    font-family: var(--carpal-body-font);
    font-size: 18px;
    font-weight: 700;

    text-align: center;

    color: var(--carpal-dark);
}


.ownership-options {
    display: grid;
    grid-template-columns: repeat(2, 130px);

    justify-content: center;

    gap: 28px 38px;

    margin: 24px 0 18px;
}


.ownership-option {
    width: 130px;
    height: 130px;

    padding: 10px;

    border: 2px solid var(--carpal-dark-green);
    border-radius: 34px;

    background: #fff;
    color: var(--carpal-dark);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 6px;

    cursor: pointer;
}


.ownership-option img {
    width: 72px;
    height: 72px;

    object-fit: contain;
}


.ownership-option span {
    font-family: var(--carpal-body-font);
    font-size: 16px;
    line-height: 1.05;

    text-align: center;
}


.ownership-option.selected {
    border: 5px solid var(--carpal-green);
}

.sell-trade-loan-options,
.sell-trade-claims-options {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    justify-content: center;

    gap: 38px;

    margin: 14px 0 24px;
}


.sell-trade-conditional {
    width: 100%;
    display: none;
}


.sell-trade-conditional.active {
    display: block;
}


.sell-trade-money-wrap {
    position: relative;

    width: 100%;
}


.sell-trade-money-wrap .sell-trade-input {
    padding-left: 42px;
}


.sell-trade-money-symbol {
    position: absolute;

    left: 20px;
    top: 50%;

    transform: translateY(-50%);

    z-index: 2;

    font-family: var(--carpal-body-font);
    font-size: 18px;
    font-weight: 700;

    color: var(--carpal-dark);
}


.sell-trade-section-question {
    margin-top: 24px;
}

.damage-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    justify-content: center;

    gap: 28px 38px;

    margin: 26px 0 18px;
}

.damage-card-option {
    width: 130px;
    height: 130px;

    padding: 10px;

    border: 2px solid var(--carpal-dark-green);
    border-radius: 34px;

    background: #fff;
    color: var(--carpal-dark);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    cursor: pointer;
}

.damage-card-option img {
    width: 70px;
    height: 70px;

    object-fit: contain;
}

.damage-card-option span {
    font-family: var(--carpal-body-font);
    font-size: 15px;
    line-height: 1.05;

    text-align: center;
}

.damage-card-option.selected {
    border: 5px solid var(--carpal-green);
}

.sell-trade-mechanical-options {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    justify-content: center;

    gap: 38px;

    margin: 14px 0 28px;
}

.sell-trade-textarea {
    min-height: 105px;
    padding: 16px 22px;

    border: 2px solid var(--carpal-dark-green);
    border-radius: 52px;

    resize: none;

    font-family: var(--carpal-body-font);
    font-size: 17px;
    font-style: italic;

    color: var(--carpal-dark);
}

.sell-trade-section-question {
    margin-top: 18px;
}

.sell-trade-mechanical-options {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    justify-content: center;

    gap: 38px;

    margin: 14px 0 28px;
}

.sell-trade-textarea {
    min-height: 105px;
    padding: 16px 22px;

    border: 2px solid var(--carpal-dark-green);
    border-radius: 52px;

    resize: none;

    font-family: var(--carpal-body-font);
    font-size: 17px;
    font-style: italic;

    color: var(--carpal-dark);
}

.sell-trade-section-question {
    margin-top: 18px;
}

.vehicle-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 95px);
    justify-content: center;

    gap: 18px 22px;

    margin: 24px auto 34px;
}


.vehicle-photo-slot {
    width: 95px;
    height: 95px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}


.vehicle-photo-preview {
    width: 95px;
    height: 95px;

    object-fit: cover;

    border-radius: 16px;
}


.vehicle-photo-slot.drag-over {
    outline: 3px dashed var(--carpal-green);
    outline-offset: 5px;

    border-radius: 16px;
}


.sell-trade-photo-certify {
    display: flex;
    align-items: flex-start;

    width: 100%;
    max-width: 330px;

    gap: 12px;

    margin: 0 auto 30px;

    text-align: left;

    cursor: pointer;
}


.sell-trade-photo-certify input {
    width: 22px;
    height: 22px;

    margin-top: 4px;

    flex: 0 0 auto;
}


.sell-trade-photo-certify span {
    font-family: var(--carpal-body-font);
    font-size: 17px;
    font-style: italic;
    line-height: 1.35;

    color: var(--carpal-dark);
}


.sell-trade-submit-btn {
    width: 180px;
    height: 50px;

    border: 0;
    border-radius: 22px;

    background: var(--carpal-green);
    color: #fff;

    font-family: var(--carpal-body-font);
    font-size: 20px;
    font-weight: 700;

    text-transform: uppercase;
}

.sell-trade-complete {
    /* min-height: 720px; 
    padding: 135px 44px 60px;*/
    text-align: center;
}

.sell-trade-card-complete {
    background-color: var(--carpal-light);
}

.sell-trade-complete-icon {
    width: 125px;
    margin: 0 auto 28px;
}

.sell-trade-complete-icon img {
    display: block;
    width: 100%;
    height: auto;
}

.sell-trade-complete h2 {
    width: 100%;
    max-width: none;
    margin: 0 auto 24px;

    font-family: var(--carpal-heading-font);
    font-size: 40px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--carpal-navy);
}

.sell-trade-complete-text {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    text-align: left;
}

.sell-trade-complete-text p {
    width: 100%;
    max-width: none;
    margin: 0 0 26px;

    font-family: var(--carpal-body-font);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--carpal-navy);
}