/* ==========================================================================
   Quote flow on phones (get-a-quote through to the Statement of Fact).

   Loaded by template_new/quote_header.php with media="(max-width: 767px)",
   and every rule sits under html.wi-qf, a class the header only adds on the
   quote steps. Nothing here can reach a wider screen or any other page.
   Layout and looks only: no question, price, field name or link is changed.
   ========================================================================== */

@media (max-width: 767px) {

    /* ---------- Header: logo and buttons no longer collide ---------- */

    html.wi-qf .header-with-stepper {
        position: relative !important;
        padding: 10px 12px 12px !important;
        min-height: 0 !important;
    }

    html.wi-qf .header-with-stepper .header__wrapper {
        height: 54px;
        padding: 0 7px 0 18px;
        gap: 10px !important;
    }

    html.wi-qf .header-with-stepper .logo {
        flex: 0 1 auto;
        width: auto;
        height: auto;
        min-width: 0;
        display: flex;
        align-items: center;
    }

    html.wi-qf .header-with-stepper .logo img {
        height: clamp(22px, 6.6vw, 27px) !important;
        width: auto !important;
        max-width: 100%;
    }

    html.wi-qf .nav_mobile_actions {
        gap: 8px;
    }

    html.wi-qf .header-with-stepper .openbtn {
        height: auto;
    }

    html.wi-qf .header-with-stepper .openbtn .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 0 14px !important;
        font-size: 14px !important;
        line-height: 1.2;
        white-space: nowrap;
    }

    /* Narrow phones: "My Account" becomes a round person button so the logo
       keeps its room. The words stay in the page for screen readers. */
    @media (max-width: 374px) {
        html.wi-qf .header-with-stepper .openbtn .btn[href$="/my-account"] {
            width: 40px;
            padding: 0 !important;
            font-size: 0 !important;
            background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
        }
    }

    /* ---------- Progress marker: where am I, how far to go ---------- */

    html.wi-qf-steps .header-with-stepper {
        padding-bottom: 46px !important;
    }

    html.wi-qf-steps .nav-stepper {
        /* The site styles every <nav> on phones as its white drop-down
           menu, so each of those settings is switched back off here. */
        display: block !important;
        position: absolute;
        top: auto;
        left: 16px;
        right: 16px;
        bottom: 8px;
        width: auto;
        margin: 0;
        padding: 0;
        background: none;
        border-radius: 0;
        box-shadow: none;
    }

    html.wi-qf-steps .nav-stepper__list {
        display: flex;
        flex-direction: row;
        gap: 6px;
        margin: 0;
        padding: 0;
        list-style: none;
        width: 100%;
        align-items: flex-start;
        background: none;
        border-radius: 0;
        box-shadow: none;
    }

    html.wi-qf-steps .nav-stepper__item {
        flex: 1 1 0;
        min-width: 0;
        display: block;
        padding: 9px 0 0;
        border-radius: 0;
        background: none;
        position: relative;
        text-align: center;
        cursor: default;
        transition: none;
    }

    html.wi-qf-steps .nav-stepper__item:not(.active):not(.completed):hover {
        background: none;
    }

    /* The bar above each step name */
    html.wi-qf-steps .nav-stepper__item::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 4px;
        border-radius: 4px;
        background: rgba(85, 2, 102, 0.14);
    }

    html.wi-qf-steps .nav-stepper__item.completed::before {
        background: #550266;
    }

    html.wi-qf-steps .nav-stepper__item.active::before {
        background: #E8804A;
    }

    html.wi-qf-steps .nav-stepper__number,
    html.wi-qf-steps .nav-stepper__check {
        display: none !important;
    }

    html.wi-qf-steps .nav-stepper__label {
        display: block;
        font-size: 11px;
        line-height: 1.3;
        font-weight: 500;
        color: rgba(85, 2, 102, 0.6);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        transition: none;
    }

    html.wi-qf-steps .nav-stepper__item.completed .nav-stepper__label {
        color: #550266;
    }

    html.wi-qf-steps .nav-stepper__item.active .nav-stepper__label {
        color: #550266;
        font-weight: 700;
    }

    @media (max-width: 359px) {
        html.wi-qf-steps .nav-stepper {
            left: 12px;
            right: 12px;
        }

        html.wi-qf-steps .nav-stepper__list {
            gap: 4px;
        }

        html.wi-qf-steps .nav-stepper__label {
            font-size: 10px;
            letter-spacing: -0.1px;
        }
    }

    /* ---------- Footer: the essentials only while buying ---------- */

    html.wi-qf .footer .footer__devider,
    html.wi-qf .footer .back_to_top,
    html.wi-qf .footer .socail_itmes,
    html.wi-qf .footer .footer__apply {
        display: none !important;
    }

    /* Room underneath so the chat button never sits on the FCA line */
    html.wi-qf .footer {
        padding-top: 36px;
        padding-bottom: 72px;
    }

    /* Legal links: two tidy rows instead of four squeezed columns */
    html.wi-qf .footer .footer__cp ul {
        display: grid;
        grid-template-columns: auto auto;
        justify-content: center;
        justify-items: center;
        gap: 0 28px;
    }

    html.wi-qf .footer .footer__cp ul li {
        width: auto;
        padding: 0;
        margin: 0;
    }

    html.wi-qf .footer .footer__cp ul li a {
        display: inline-block;
        padding: 9px 0;
        font-size: 13px;
        white-space: nowrap;
    }

    /* ==================================================================
       YOUR PRICE (/quotation)
       ================================================================== */

    /* ---------- Top of the page: get to the price sooner ---------- */

    html.wi-qf .quote__hero {
        padding: 0 4px;
        margin-bottom: 0;
        border-bottom: 0;   /* no rule under the three chips */
    }

    html.wi-qf .quote__hero .quoteHero_box {
        padding-bottom: 12px !important;
    }

    html.wi-qf .quote__hero-badges {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
        margin: 0 -12px;
    }

    html.wi-qf .quote__hero-badge {
        padding: 5px 8px;
        font-size: 11px;
        gap: 4px;
    }

    /* The quote number is shown again just under the price */
    html.wi-qf .quote__hero-subtitle {
        display: none;
    }

    html.wi-qf .payment__cards_box_wrapper {
        padding-top: 18px;
    }

    html.wi-qf .payment__cards_box_title {
        font-size: 22px;
        line-height: 1.25;
    }

    html.wi-qf .payment__cards_box_subtitle {
        font-size: 15px;
        margin-top: 8px;
    }

    html.wi-qf .payment__cards_box {
        gap: 20px;
        padding: 14px 0 20px;
    }

    /* ---------- Monthly / Annual switch (added by quote-mobile.js) ---------- */

    html.wi-qf .wi-pay-switch {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        margin: 18px 0 0;
        padding: 5px;
        background: #fff;
        border: 1px solid rgba(85, 2, 102, 0.18);
        border-radius: 18px;
    }

    html.wi-qf .wi-pay-switch__opt {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1px;
        min-height: 60px;
        margin: 0;
        padding: 8px 6px 9px;
        border: 0;
        border-radius: 13px;
        background: none;
        color: #550266;
        font-family: inherit;
        line-height: 1.25;
        -webkit-appearance: none;
        appearance: none;
        -webkit-tap-highlight-color: transparent;
    }

    html.wi-qf .wi-pay-switch__name {
        font-size: 16px;
        font-weight: 700;
    }

    html.wi-qf .wi-pay-switch__total {
        font-size: 13px;
        opacity: 0.8;
    }

    html.wi-qf .wi-pay-switch__save {
        position: absolute;
        top: -11px;
        right: 8px;
        padding: 2px 9px;
        border-radius: 999px;
        background: #e7f6ec;
        border: 1px solid #16a34a;
        color: #0f7a37;
        font-size: 11px;
        font-weight: 700;
        white-space: nowrap;
    }

    html.wi-qf .wi-pay-switch__opt.is-on {
        background: #550266;
        color: #fff;
    }

    html.wi-qf .wi-pay-switch__opt:focus-visible {
        outline: 3px solid #E8804A;
        outline-offset: 2px;
    }

    /* Before the script has run: hold the switch's place and show the
       annual card only (the one the switch starts on), so nothing moves
       when the switch arrives. */
    html.wi-qf.wi-prejs .payment__cards_box_wrapper:not(.wi-pay-ready) .payment__cards_box {
        margin-top: 90px;
    }

    html.wi-qf.wi-prejs .payment__cards_box_wrapper:not(.wi-pay-ready) .payment_card.payment-breakdown:not(.annual-breakdown) {
        display: none;
    }

    /* Only the chosen card shows. Without the script both stay, as today. */
    html.wi-qf .wi-pay-ready[data-wi-pay="monthly"] .payment_card.annual-breakdown,
    html.wi-qf .wi-pay-ready[data-wi-pay="annual"] .payment_card.payment-breakdown:not(.annual-breakdown) {
        display: none;
    }

    /* The switch already carries the "Save" tag, so the ribbon inside the
       card would say it twice. */
    html.wi-qf .wi-pay-ready .payment_card .payment_card__spacer,
    html.wi-qf.wi-prejs .payment__cards_box_wrapper .payment_card .payment_card__spacer {
        display: none;
    }

    html.wi-qf .wi-pay-ready .payment_card .ctaBtn .btn {
        width: 100%;
        min-height: 52px;
        justify-content: center;
    }

    /* ---------- Quote details: same facts, less scrolling ---------- */

    html.wi-qf .quote__hero-badge--quotation {
        margin-bottom: 10px;
    }

    html.wi-qf .quote_form_details form > div > h4._title {
        font-size: 19px !important;
        line-height: 1.3;
    }

    html.wi-qf .quote_form_details form > div > h4._title + h4._title + p {
        line-height: 1.5 !important;
        margin-top: 8px;
    }

    html.wi-qf .quotation_box {
        margin-top: 28px;
    }

    html.wi-qf .quotation_box .payment_card ._card_body {
        padding: 18px 20px;
    }

    html.wi-qf .v2Quote_table {
        margin-top: 28px;
        margin-bottom: 28px;
    }

    html.wi-qf .v2Quote_table_head {
        padding: 12px 20px;
    }

    html.wi-qf .v2Quote_table_body tr {
        grid-template-rows: auto auto;
        padding: 12px 20px;
    }

    /* Edit button sits beside the answer, not above it */
    html.wi-qf .v2Quote_table_body tr:has(.btn_eidt) td:nth-child(2) {
        grid-column: 1;
    }

    html.wi-qf .v2Quote_table_body tr:has(.btn_eidt) td:nth-child(3) {
        grid-row: 1 / span 2;
        align-self: center;
    }

    html.wi-qf .v2Quote_table_body .btn_eidt {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
    }

    html.wi-qf .v2QuoteLevel_table_mobile > h2 {
        margin: 8px 0 20px;
        font-size: 24px;
    }

    html.wi-qf .payment_quote_btns {
        padding: 4px 0 12px;
        gap: 12px;
    }

    /* ---------- Important note: every word kept, easier to read ---------- */

    html.wi-qf .quote__important_note {
        padding: 16px 0 32px;
    }

    html.wi-qf .quote__important_note ._title {
        margin-bottom: 12px;
        padding-bottom: 0;
    }

    html.wi-qf .quote__important_note ._list_note {
        padding: 22px 20px;
        border-radius: 18px;
    }

    html.wi-qf .quote__important_note ._list_note h4 {
        margin-bottom: 4px;
        padding-bottom: 4px;
    }

    html.wi-qf .quote__important_note ._list_note p {
        font-size: 15px;
        line-height: 1.55;
    }

    /* ---------- Buy bar that follows you down the page ---------- */

    html.wi-qf .wi-buybar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 76px;
        /* 84px kept free on the right for the chat button */
        padding: 10px 84px calc(10px + env(safe-area-inset-bottom, 0px)) 16px;
        background: #550266;
        color: #fff;
        box-shadow: 0 -6px 20px rgba(40, 0, 50, 0.2);
        transform: translateY(calc(100% + 30px));
        visibility: hidden;
        transition: transform 0.22s ease, visibility 0s linear 0.22s;
    }

    html.wi-qf .wi-buybar.is-on {
        transform: none;
        visibility: visible;
        transition: transform 0.22s ease, visibility 0s;
    }

    html.wi-qf .wi-buybar__info {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        flex-direction: column;
        line-height: 1.2;
    }

    html.wi-qf .wi-buybar__label {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        opacity: 0.75;
    }

    html.wi-qf .wi-buybar__price {
        font-size: 18px;
        font-weight: 700;
        white-space: nowrap;
    }

    html.wi-qf .wi-buybar__note {
        font-size: 12px;
        opacity: 0.85;
        white-space: nowrap;
    }

    html.wi-qf .wi-buybar__btn {
        flex: 0 0 auto;
        min-height: 48px;
        margin: 0;
        padding: 0 22px;
        border: 0;
        border-radius: 999px;
        background: linear-gradient(135deg, #FF8C5A 0%, #FF784F 100%);
        color: #fff;
        font-family: inherit;
        font-size: 16px;
        font-weight: 700;
        white-space: nowrap;
        -webkit-appearance: none;
        appearance: none;
    }

    html.wi-qf .wi-buybar__btn:focus-visible {
        outline: 3px solid #fff;
        outline-offset: 2px;
    }

    @media (max-width: 359px) {
        html.wi-qf .wi-buybar {
            gap: 8px;
            padding-left: 12px;
            padding-right: 78px;
        }

        html.wi-qf .wi-buybar__price {
            font-size: 16px;
        }

        html.wi-qf .wi-buybar__btn {
            padding: 0 16px;
        }
    }

    html.wi-qf.wi-has-buybar .footer {
        padding-bottom: 96px;
    }

    /* Chat button: while the Buy bar shows, it moves up to sit above the
       bar instead of on it. Needs the Falcon chat widget that understands
       --wi-launcher-lift (it marks itself data-wi-lift); with an older
       widget nothing moves and the bar keeps room for the button. */
    html.wi-qf:has(.wi-buybar.is-on) div[data-wi-chat-widget] {
        --wi-launcher-lift: 76px;
    }

    html.wi-qf:has(div[data-wi-chat-widget][data-wi-lift]) .wi-buybar {
        padding-right: 16px;
    }

    @media (prefers-reduced-motion: reduce) {
        html.wi-qf .wi-buybar,
        html.wi-qf .wi-buybar.is-on {
            transition: none;
        }
    }

    /* ==================================================================
       YOUR COVER (/quote_step2)
       ================================================================== */

    /* Add-on rows: the name gets the room, so it stops breaking over
       three lines beside a fixed 90px icon column. */
    html.wi-qf .quote_faq ._head ._thumb_text,
    html.wi-qf .quote_faq ._head ._text_wrap {
        flex: 1 1 auto;
        min-width: 0;
    }

    html.wi-qf .quote_faq ._head ._thumb_icon {
        width: auto;
        flex: 0 0 auto;
        gap: 8px;
    }

    html.wi-qf .quote_faq ._head ._status-badge {
        font-size: 12px;
    }

    html.wi-qf .quote_faq ._head ._smallTitle {
        font-size: 15px;
        margin-top: 2px;
    }

    /* Add to Policy / Remove: full width and 48px high (was 164 x 38px). */
    html.wi-qf .add_policy > div:has(> .add_policy_btns),
    html.wi-qf .add_policy_btns {
        width: 100%;
    }

    html.wi-qf .add_policy_btns {
        justify-content: stretch;
    }

    html.wi-qf .add_policy_btns .radio-container {
        flex: 1 1 auto;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding-top: 0;
        padding-bottom: 0;
    }

    /* Follow-up questions after "Add to Policy": the question gets the
       full width with YES / NO under it. Side by side, the question was
       squeezed into a 130px column (the manual handling one ran to 16
       lines) and the employer ref row pushed the cards past the screen
       edge. Same questions, same answers, only the layout changes. */
    html.wi-qf .quote_faq ._body .add_policy .portable_business_equp:has(> p) {
        display: block;
        padding-top: 20px;
    }

    html.wi-qf .quote_faq ._body .add_policy .portable_business_equp:has(> p) > p {
        margin: 0 0 8px;
    }

    html.wi-qf .quote_faq ._body .add_policy .portable_business_equp:has(> p) > .add_policy_btns {
        width: auto;
        justify-content: flex-start;
        column-gap: 28px;
    }

    html.wi-qf .quote_faq ._body .add_policy .portable_business_equp:has(> p) .radio-button {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    /* The real (invisible) radio behind each YES / NO keeps its own small
       size. One pair was stretched to the full row width by a general
       ".form_control input" rule and poked 80px past the card edge. */
    html.wi-qf .quote_faq ._body .add_policy .portable_business_equp:has(> p) .radio-button__input {
        width: auto;
    }

    /* "What cover level do you require?": label above a full-width box
       (Portable Business Equipment had it at 123px, cutting off the
       amount), and less empty space around it. */
    html.wi-qf .quote_faq ._body ._required_level ._list {
        display: block !important;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    html.wi-qf .quote_faq ._body ._required_level ._list > ._pragraph {
        margin-bottom: 10px;
    }

    /* "I confirm" + "Yes, Add to policy" (Personal Accident, Cyber): the
       button goes under the words at full width, instead of squeezing
       both into one row. */
    html.wi-qf .quote_faq ._body .ctCoverFaq .person_btns {
        flex-direction: column;
        align-items: stretch;
        row-gap: 10px;
        padding-right: 10px;
    }

    html.wi-qf .quote_faq ._body .ctCoverFaq .person_btns .add_policy_btns {
        width: 100%;
    }

    /* Name and address pairs: two equal boxes. */
    html.wi-qf .quote_faq ._body ._required_level .name_devider {
        grid-template-columns: 1fr 1fr;
        grid-gap: 12px;
    }

    /* 16px text in the add-on boxes so iPhones don't zoom in on tap
       (the page forces 15px with !important). */
    html.wi-qf .quote_faq input[type="text"],
    html.wi-qf .quote_faq input[type="number"],
    html.wi-qf .quote_faq input[type="email"],
    html.wi-qf .quote_faq select,
    html.wi-qf .quote_faq ._body ._required_level .form_control select,
    html.wi-qf .quote_faq textarea,
    html.wi-qf .quote_faq .pa-dob-input {
        font-size: 16px !important;
    }

    /* ==================================================================
       STATEMENT OF FACT (/sof-agreement)
       ================================================================== */

    /* Answering "I don't confirm": the reason box now opens BELOW the two
       answers, so the answer you just tapped stays where it is (it used to
       drop 250 to 400px). Same box, same field, only its place changes. */
    html.wi-qf .quote_soa_checks {
        gap: 14px;
    }

    html.wi-qf .quote_soa_checks .checks_text {
        display: contents;
    }

    html.wi-qf .quote_soa_checks .checks_text > ._pragraph {
        order: 1;
        padding-bottom: 0;
    }

    html.wi-qf .quote_soa_checks .checks_list {
        order: 2;
    }

    html.wi-qf .quote_soa_checks .checks_text > [id^="statementfact"] {
        order: 3;
    }

    html.wi-qf .quote_soa_checks [id^="statementfact"] > p {
        margin: 0 0 8px !important;
        padding: 0;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.45;
    }

    html.wi-qf .quote_soa_checks [id^="statementfact"] textarea {
        display: block;
        min-height: 112px;
        padding: 12px 14px;
        border: 1.5px solid rgba(85, 2, 102, 0.4);
        border-radius: 12px;
        color: #2b0033;
        font-size: 16px;
        line-height: 1.4;
    }

    html.wi-qf .quote_soa_checks [id^="statementfact"] textarea::placeholder {
        color: #6f5a78;
        opacity: 1;
    }

    html.wi-qf .quote_soa_checks [id^="statementfact"] textarea:focus {
        border-color: #550266;
        box-shadow: 0 0 0 3px rgba(232, 128, 74, 0.35);
    }

    /* Answers: full 44px tap height */
    html.wi-qf .quote_soa_checks .checks_list .devider {
        gap: 6px;
    }

    html.wi-qf .quote_soa_checks .checks_list label.radio-button {
        display: flex;
        align-items: center;
        min-height: 44px;
    }

    /* Empty message lines take no room until they have something to say */
    html.wi-qf .quote_soa_checks .sof-inputs:empty {
        display: none;
    }

    /* ==================================================================
       YOUR SERVICES (/quote_step1_what_you_do)
       ================================================================== */

    html.wi-qf .business-activity-selection-card {
        padding: 18px 16px;
    }

    html.wi-qf .business-activity-selection-card ._pragraph {
        line-height: 1.55;
        padding-bottom: 14px;
    }

    /* Service rows: the name gets more of the row and each row is shorter,
       so more services fit on screen. Still a 46px+ tap height. */
    html.wi-qf #livesearch > li {
        margin-bottom: 2px;
    }

    html.wi-qf #livesearch label.flex-container {
        gap: 10px;
        min-height: 46px;
        padding: 8px 10px;
    }

    html.wi-qf #livesearch label.flex-container > span:first-of-type {
        font-size: 14px;
        line-height: 1.3;
    }

    html.wi-qf #livesearch .business_activity_title {
        padding: 5px 7px 5px 9px;
        font-size: 12px;
    }

    html.wi-qf #livesearch .business_activity_desc {
        margin: 2px 0;
    }

    /* ==================================================================
       BUSINESS INFO: even gaps between the address boxes (were 20, 32,
       32, 40 and 30px apart).
       ================================================================== */

    html.wi-qf .address-manual-fields .form_control {
        margin: 0;
    }

    html.wi-qf .address-manual-fields > .form_control,
    html.wi-qf .address-manual-fields > .devider {
        margin: 0 0 20px;
    }

    html.wi-qf .address-manual-fields > .devider {
        row-gap: 20px !important;   /* the page sets 12px inline */
    }

    html.wi-qf .address-manual-fields > :last-child {
        margin-bottom: 0;
    }

    html.wi-qf .address-manual-fields .error-message:empty {
        margin: 0;
    }

    html.wi-qf .address-manual-fields .ct_select select {
        min-height: 54px;
    }

    /* ==================================================================
       GREYED-OUT NEXT (business-info, step 1): a see-through button over
       it shows what is still to answer (quote-mobile.js).
       ================================================================== */

    html.wi-qf .wi-next-help {
        position: absolute;
        display: none;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        z-index: 2;
        -webkit-tap-highlight-color: transparent;
    }

    html.wi-qf .wi-next-note {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 92px;
        z-index: 1001;
        padding: 12px 16px;
        border: 2px solid #E8804A;
        border-radius: 12px;
        background: #fff;
        color: #550266;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.4;
        text-align: center;
        box-shadow: 0 8px 24px rgba(85, 2, 102, 0.25);
        opacity: 0;
        transform: translateY(8px);
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    html.wi-qf .wi-next-note.is-on {
        opacity: 1;
        transform: none;
    }

    html.wi-qf .wi-next-flash {
        border-radius: 12px;
        box-shadow: 0 0 0 3px #E8804A;
        transition: box-shadow 0.3s ease;
    }

    /* ==================================================================
       ALL STEPS: no long empty stretch between the last button and the
       footer.
       ================================================================== */

    html.wi-qf .quote__area {
        padding-bottom: 28px;
    }

    html.wi-qf .quote_form_details,
    html.wi-qf .quote_form_details > form {
        padding-bottom: 0;
    }
}

/* The fade between quote steps now lives in quote_header.php, so it runs on
   every screen size, not only phones. */
