
/*
 * Primitive Tech Repairs
 * Phase 11: Optional Protection
 *
 * Desktop and mobile.
 * Isolated to the Optional Protection booking stage.
 */

html body.homepage-premium-page
#primitive-wizard-container
> #pr-main
> #pr-steps-area.animated-area:has(> .protection-upsell-panel) {

    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;

    margin-top: 0 !important;
    padding: clamp(24px, 3vw, 44px) !important;

    border: 1px solid #e0e6ef !important;
    border-radius: 18px !important;

    background: #f9fbfe !important;
    background-image: none !important;

    box-shadow: none !important;
}

/* REMOVE LEGACY DARK PANEL */

html body.homepage-premium-page
#primitive-wizard-container
#pr-steps-area.animated-area
> .protection-upsell-panel {

    box-sizing: border-box !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;
}

/* SECTION HEADING */

html body.homepage-premium-page
#primitive-wizard-container
#pr-steps-area.animated-area
> .protection-upsell-panel
> .protection-upsell-header {

    display: block !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 0 24px !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    box-shadow: none !important;

    text-align: left !important;
    justify-items: start !important;
}

/* EYEBROW */

html body.homepage-premium-page
#primitive-wizard-container
#pr-steps-area.animated-area
> .protection-upsell-panel
> .protection-upsell-header
> span {

    display: block !important;

    width: fit-content !important;
    min-height: 0 !important;

    margin: 0 0 12px !important;
    padding: 0 !important;

    border: 0 !important;

    background: transparent !important;

    color: #0c9fa5 !important;

    font: 800 .75rem/1.4 "Manrope", sans-serif !important;

    letter-spacing: .09em !important;

    text-align: left !important;
}

/* MAIN HEADING */

html body.homepage-premium-page
#primitive-wizard-container
#pr-steps-area.animated-area
> .protection-upsell-panel
> .protection-upsell-header
> h3 {

    display: block !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    color: #1b2430 !important;

    font-family: "Space Grotesk", sans-serif !important;

    font-size: clamp(2rem, 3.2vw, 3rem) !important;
    font-weight: 700 !important;

    line-height: 1.12 !important;
    letter-spacing: -.045em !important;

    text-align: left !important;
    text-transform: none !important;

    text-shadow: none !important;
}

/* DESCRIPTION */

html body.homepage-premium-page
#primitive-wizard-container
#pr-steps-area.animated-area
> .protection-upsell-panel
> .protection-upsell-header
> p {

    width: 100% !important;
    max-width: none !important;

    margin: 10px 0 0 !important;

    color: #596578 !important;

    font: 400 1rem/1.5 "Manrope", sans-serif !important;

    text-align: left !important;
}

/* PRODUCT CARD */

html body.homepage-premium-page
#primitive-wizard-container
.protection-upsell-panel
.protection-upsell-card {

    display: grid !important;

    grid-template-columns: 90px minmax(0, 1fr) !important;

    gap: 24px !important;

    align-items: center !important;

    padding: clamp(22px, 3vw, 34px) !important;

    border: 1px solid #dce3ed !important;
    border-radius: 14px !important;

    background: #fff !important;
    background-image: none !important;

    color: #1b2430 !important;

    box-shadow: none !important;
}

html body.homepage-premium-page
#primitive-wizard-container
.protection-upsell-panel
.protection-upsell-card::after {

    content: none !important;
    display: none !important;
}

/* SHIELD ICON */

html body.homepage-premium-page
#primitive-wizard-container
.protection-upsell-panel
.protection-upsell-icon {

    width: 76px !important;
    height: 76px !important;

    border: 1px solid #b9e9e6 !important;
    border-radius: 14px !important;

    background: #f0fdfc !important;

    color: #0c9fa5 !important;

    box-shadow: none !important;
}

/* PRODUCT NAME */

html body.homepage-premium-page
#primitive-wizard-container
.protection-upsell-panel
.protection-upsell-copy h4 {

    color: #1b2430 !important;

    font-family: "Space Grotesk", sans-serif !important;

    font-size: clamp(1.35rem, 2.5vw, 2rem) !important;

    font-weight: 700 !important;
    line-height: 1.14 !important;

    letter-spacing: -.035em !important;

    text-transform: none !important;
}

/* PRODUCT DESCRIPTION */

html body.homepage-premium-page
#primitive-wizard-container
.protection-upsell-panel
.protection-upsell-copy > p {

    color: #596578 !important;

    font-size: .9rem !important;
    line-height: 1.6 !important;
}

/* PRODUCT PRICE */

html body.homepage-premium-page
#primitive-wizard-container
.protection-upsell-panel
.protection-upsell-price {

    color: #1b2430 !important;

    border-left-color: #e3e9f1 !important;

    font-weight: 700 !important;
}

html body.homepage-premium-page
#primitive-wizard-container
.protection-upsell-panel
.protection-upsell-price small {

    color: #0c9fa5 !important;
}

/* BENEFITS */

html body.homepage-premium-page
#primitive-wizard-container
.protection-upsell-panel
.protection-upsell-benefits {

    border-color: #e3e9f1 !important;
}

html body.homepage-premium-page
#primitive-wizard-container
.protection-upsell-panel
.protection-upsell-benefits li {

    color: #536578 !important;

    border-color: #e3e9f1 !important;

    background: #f9fbff !important;
}

/* PRIMARY BUTTON */

html body.homepage-premium-page
#primitive-wizard-container
.protection-upsell-panel
.protection-upsell-add {

    min-height: 52px !important;

    border: 1px solid #19252d !important;
    border-radius: 10px !important;

    background: #19252d !important;
    background-image: none !important;

    color: #fff !important;

    box-shadow: none !important;
}

/* SECONDARY BUTTON */

html body.homepage-premium-page
#primitive-wizard-container
.protection-upsell-panel
.protection-upsell-skip {

    min-height: 52px !important;

    border: 1px solid #dce3ed !important;
    border-radius: 10px !important;

    background: #fff !important;
    background-image: none !important;

    color: #1b2430 !important;

    box-shadow: none !important;
}

/* DISCLOSURE */

html body.homepage-premium-page
#primitive-wizard-container
.protection-upsell-panel
.protection-upsell-note {

    color: #657386 !important;

    font-size: .76rem !important;

    line-height: 1.5 !important;
}

/* MOBILE */

@media (max-width: 960px) {

    html body.homepage-premium-page
    #primitive-wizard-container
    > #pr-main
    > #pr-steps-area.animated-area:has(> .protection-upsell-panel) {

        padding: 22px 16px !important;

        border-radius: 17px !important;
    }

    html body.homepage-premium-page
    #primitive-wizard-container
    #pr-steps-area.animated-area
    > .protection-upsell-panel
    > .protection-upsell-header
    > h3 {

        font-size: clamp(1.75rem, 7vw, 2.1rem) !important;
    }

    html body.homepage-premium-page
    #primitive-wizard-container
    .protection-upsell-panel
    .protection-upsell-card {

        grid-template-columns: minmax(0, 1fr) !important;

        gap: 18px !important;

        padding: 20px !important;
    }

    html body.homepage-premium-page
    #primitive-wizard-container
    .protection-upsell-panel
    .protection-upsell-title-row {

        display: grid !important;

        grid-template-columns: minmax(0, 1fr) !important;

        gap: 16px !important;
    }

    html body.homepage-premium-page
    #primitive-wizard-container
    .protection-upsell-panel
    .protection-upsell-price {

        width: fit-content !important;

        padding-left: 0 !important;

        border-left: 0 !important;
    }

    html body.homepage-premium-page
    #primitive-wizard-container
    .protection-upsell-panel
    .protection-upsell-benefits {

        grid-template-columns: minmax(0, 1fr) !important;
    }

    html body.homepage-premium-page
    #primitive-wizard-container
    .protection-upsell-panel
    .protection-upsell-actions {

        grid-template-columns: minmax(0, 1fr) !important;

        gap: 10px !important;
    }

    html body.homepage-premium-page
    #primitive-wizard-container
    .protection-upsell-panel
    :is(.protection-upsell-add, .protection-upsell-skip) {

        width: 100% !important;
    }

}
