﻿@charset "utf-8";
/* CSS Document */

/* Nunito web font — used across the self-service (YourPolicy) pages */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

fieldset legend {
    color: #0f004e;
}

.accordion-content {
    padding: 1em !important;
}

input[type="radio"]:checked + label span {
    background: #f05133;
    color: #0f004e;
    border: .25em solid #f05133;
}

input[type = radio] + label span {
    border: 1px solid #d8dbe2;
    color: #0f004e;
    background: #fff;
}

.accordion-title:focus {
    background-color: #0f004e !important;
    color: #fff !important;
}

#container-nav-policy {
    width: max-content;
    border-radius: 0.25em;
    background: #0f004e;
    margin-bottom: 1em;
}

#declaration1Button.validation-error {
    border: 2px solid #FF3F00;
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem #00000013 !important;
}

.app-iyp .outline-btn {
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    color: #0f004e;
    font-size: 16px;
    font-weight: 700;
    min-height: 50px;
}

.btn {
    width: 25%;
    --bs-btn-padding-x: .75rem;
    --bs-btn-padding-y: .375rem;
    --bs-btn-font-family: inherit;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: #212529;
    --bs-btn-bg: transparent;
    --bs-btn-border-width: 1px;
    --bs-btn-border-color: transparent;
    --bs-btn-border-radius: .375rem;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
    --bs-btn-disabled-opacity: .65;
    --bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    display: inline-block;
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    font-family: var(--bs-btn-font-family);
    font-size: var(--bs-btn-font-size);
    font-weight: var(--bs-btn-font-weight);
    line-height: var(--bs-btn-line-height);
    color: var(--bs-btn-color);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
    border-radius: var(--bs-btn-border-radius);
    background-color: var(--bs-btn-bg);
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

fieldset legend {
    font-weight: bold;
    padding: 0 0.1875rem;
    margin: 0;
    font-size: 1.5rem;
    font-family: 'Nunito', sans-serif;
}

#container-table {
    background: #fcfcfd;
    padding-top: 3rem;
    padding-bottom: 3rem;
}


/* Self-service pages: main content flush below header */
main#maincontent {
    margin-top: 0;
    padding-top: 0;
}

#container-table.your-policy-login,
.your-policy-login#container-table {
    border-top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: static !important;
    top: auto !important;
}

/* Your Policy login (Index.cshtml) */
.your-policy-login {
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden;
    padding: 2.5rem 1rem 3rem;
}

.your-policy-login__surface {
    background: transparent;
    box-sizing: border-box;
    margin: 0;
    max-width: 100%;
    padding: 5rem 1rem 2rem;
    width: 100%;
}

.your-policy-login__card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(16, 24, 40, 0.08);
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 484px;
    padding: 2rem 1.75rem 1.75rem;
    width: 100%;
}

.your-policy-login__title {
    color: #0F004E;
    font-family: 'Nunito', sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 1rem;
    text-align: center;
}

.your-policy-login__intro {
    color: #454545;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 24px;
    margin: 0 0 1.25rem;
    text-align: center;
}

.your-policy-login__notice {
    align-items: flex-start;
    background: #eef6fc;
    border: 1px solid #b8d9f0;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    margin-bottom: 1.5rem;
    padding: 0.875rem 1rem;
}

.your-policy-login__notice-icon {
    flex: 0 0 auto;
    line-height: 0;
    margin-top: 0.125rem;
}

.your-policy-login__notice-text {
    color: #0f004e;
    flex: 1 1 auto;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
    min-width: 0;
    width: auto;
}

body p,
.main-content p {
    font-family: 'Nunito', sans-serif;
}

.your-policy-login__message {
    font-size: 14px;
    line-height: 20px;
    margin: 0 0 1rem;
}

.your-policy-login__message--error {
    color: #c62828;
}

.your-policy-login__message--success {
    color: #2e7d32;
}

.your-policy-login__field {
    margin-bottom: 1.25rem;
}

.your-policy-login__label {
    color: #4f4f4f;
    display: block;
    font-size: 14px;
    font-weight: 500;
    height: auto;
    line-height: 20px;
    margin: 0 0 0.375rem;
    text-align: left;
}

.your-policy-login__input,
.your-policy-login .your-policy-login__input[type="email"],
.your-policy-login .your-policy-login__input[type="password"] {
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    box-sizing: border-box;
    color: #3d3d3d;
    font-size: 16px;
    height: 48px;
    line-height: 24px;
    margin: 0;
    max-width: none;
    padding: 0.625rem 0.875rem;
    text-align: left;
    width: 100%;
}

    .your-policy-login__input::placeholder {
        color: #9e9e9e;
    }

.your-policy-login__actions {
    margin-top: 0.5rem;
}

.your-policy-login__submit.button {
    background: #f05133;
    border: 0;
    border-radius: 8px;
    color: #0f004e;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 700;
    height: auto;
    margin: 0 0 1rem;
    max-width: none;
    min-height: 48px;
    width: 100%;
}

    .your-policy-login__submit.button:hover,
    .your-policy-login__submit.button:focus {
        background: #e0452a;
        color: #0f004e;
    }

.your-policy-login__forgot {
    color: #f05133;
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
    text-decoration: underline;
}

    .your-policy-login__forgot:hover,
    .your-policy-login__forgot:focus {
        color: #e0452a;
    }

.your-policy-login__extra {
    margin: 2.5rem auto 0;
    max-width: 1064px;
    width: 100%;
}

.your-policy-login__extra-title {
    color: #0F004E;
    font-family: 'Nunito', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    margin: 0 0 1rem;
    text-align: left;
    letter-spacing: -2px
}

.your-policy-login__extra p {
    color: #4a4a4a;
    font-size: 18px !important;
    font-weight: 400;
    line-height: 28px;
    margin: 0 0 1rem;
    text-align: left;
    letter-spacing: 0px;
    padding-bottom: 18px !important;
}

    .your-policy-login__extra p:last-child {
        margin-bottom: 0;
    }

.your-policy-login__extra a {
    color: #f05133;
    font-weight: 600;
    text-decoration: underline;
}

    .your-policy-login__extra a:hover,
    .your-policy-login__extra a:focus {
        color: #e0452a;
    }

.your-policy-login__extra strong {
    color: #4a4a4a;
    font-weight: 700;
}

/* Reset password (ResetPassword.cshtml) */
.your-policy-login--reset {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: min(560px, calc(100vh - 220px));
    padding: 3rem 1rem;
}

    .your-policy-login--reset .your-policy-login__title {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .your-policy-login--reset .your-policy-login__card {
        padding: 2rem 1.75rem 1.75rem;
    }

    .your-policy-login--reset .your-policy-login__field:last-of-type {
        margin-bottom: 1.5rem;
    }

    .your-policy-login--reset .your-policy-login__actions {
        margin-top: 0;
    }

    .your-policy-login--reset .your-policy-login__submit.button {
        margin-bottom: 0;
    }


/* Forgot password (ForgotPassword.cshtml) */
.your-policy-login__panel {
    margin: 0 auto;
    max-width: 520px;
    width: 100%;
}

a:link {
    color: #f05133;
    font-weight: 600;
}

.your-policy-login__back {
    color: #f05133;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 1rem;
    text-decoration: none;
}

    .your-policy-login__back:hover,
    .your-policy-login__back:focus {
        color: #e0452a;
        text-decoration: underline;
    }

.your-policy-login--forgot {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: min(560px, calc(100vh - 220px));
    padding: 3rem 1rem;
}

    .your-policy-login--forgot .your-policy-login__title {
        margin-bottom: 1rem;
        text-align: center;
    }

    .your-policy-login--forgot .your-policy-login__intro {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .your-policy-login--forgot .your-policy-login__field {
        margin-bottom: 1.5rem;
    }

    .your-policy-login--forgot .your-policy-login__actions {
        margin-top: 0;
    }

    .your-policy-login--forgot .your-policy-login__submit.button {
        margin-bottom: 0;
    }

@media screen and (max-width: 39.9375em) {
    #container-table.your-policy-login {
        background: #F4F5F9 !important;
        border: 0 !important;
        border-bottom: 0 !important;
        border-top: 0 !important;
        min-height: 0;
        padding-bottom: 2rem;
        padding-top: 0;
    }

    .your-policy-login {
        padding: 1.25rem 1rem 2rem;
    }

    .your-policy-login__surface {
        padding: 1.5rem 0 1rem;
    }

    .your-policy-login__card {
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        max-width: 100%;
        padding: 0;
        width: 100%;
    }

    .your-policy-login__notice {
        gap: 0.75rem;
    }

    .your-policy-login__title {
        color: #454545;
        font-size: 26px;
        font-weight: 700;
        line-height: 1.3;
        margin: 0 0 1rem;
        text-align: center;
    }

    .your-policy-login__intro {
        font-size: 15px;
        line-height: 22px;
        margin: 0 0 1.5rem;
        text-align: center;
    }

    .your-policy-login__notice {
        margin-bottom: 1.75rem;
    }

    .your-policy-login__field {
        margin-bottom: 1.5rem;
    }

    .your-policy-login__input,
    .your-policy-login .your-policy-login__input[type="email"],
    .your-policy-login .your-policy-login__input[type="password"] {
        background: #ffffff;
        text-align: left !important;
    }

    .your-policy-login__actions {
        margin-top: 0.75rem;
    }

    .your-policy-login__submit.button {
        color: #0f004e;
        font-size: 17px;
        font-weight: 700;
        margin-bottom: 1.25rem;
        min-height: 52px;
    }

        .your-policy-login__submit.button:hover,
        .your-policy-login__submit.button:focus {
            background: #e0452a;
            color: #0f004e;
        }

    .your-policy-login__forgot {
        font-size: 15px;
    }

    .your-policy-login__extra {
        margin-top: 2.5rem;
        max-width: none;
        padding: 0;
    }

    .your-policy-login__extra-title {
        font-size: 22px;
        margin-bottom: 1rem;
    }

    .your-policy-login__extra p {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 1rem;
    }

    .your-policy-login--reset {
        justify-content: flex-start;
        min-height: 0;
        padding: 1.5rem 1rem 2rem;
    }

    #container-table.your-policy-login--reset {
        background: #F4F5F9 !important;
    }

    .your-policy-login--reset .your-policy-login__card {
        background: transparent;
        border-radius: 12px;
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .your-policy-login--reset .your-policy-login__title {
        color: #0f004e;
        font-size: 24px;
        text-align: center;
    }

    .your-policy-login--reset .your-policy-login__submit.button,
    .your-policy-login--reset .your-policy-login__submit.button:hover,
    .your-policy-login--reset .your-policy-login__submit.button:focus {
        color: #0f004e;
    }

    .your-policy-login--forgot {
        align-items: stretch;
        justify-content: flex-start;
        min-height: 0;
        padding: 1.5rem 1rem 2rem;
    }

    #container-table.your-policy-login--forgot {
        background: #F4F5F9 !important;
    }

    .your-policy-login--forgot .your-policy-login__panel {
        max-width: none;
    }

    .your-policy-login--forgot .your-policy-login__card {
        background: transparent;
        border-radius: 12px;
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .your-policy-login--forgot .your-policy-login__title {
        color: #0f004e;
        font-size: 24px;
        text-align: center;
    }

    .your-policy-login--forgot .your-policy-login__intro {
        text-align: center;
    }

    .your-policy-login--forgot .your-policy-login__submit.button,
    .your-policy-login--forgot .your-policy-login__submit.button:hover,
    .your-policy-login--forgot .your-policy-login__submit.button:focus {
        color: #0f004e;
    }
}


.mca-wrapper {
    box-shadow: none;
    max-width: 450px;
    padding: 1.5rem 1rem;
}

.page_title {
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #0f004e;
    margin-bottom: 0.9rem;
    padding: 0.25rem 0.25rem 0 0;
    text-align: center;
    margin: 0;
    letter-spacing: -1px;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', sans-serif;
}

h5 {
    color: #0f004e;
    font-weight: bold;
}

body, button, form {
    font-family: 'Nunito', sans-serif;
    color: #3d3d3d;
}

label {
    font-family: 'Nunito', sans-serif;
    color: #4f4f4f;
    text-align: center;
    height: 40px;
    font-weight: bold;
    font-size: 1em;
    margin-bottom: -10px;
}

input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="week"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], textarea {
    text-align: center;
    height: 50px;
    font-size: 1em;
}

button, .button {
    display: flex;
    padding: 16px 28px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    border-radius: 8px;
    background: var(--Primary-600, #f05133);
    color: #0f004e;
    /* Shadow/xs */
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    text-transform: none;
    width: 100%;
    max-width: 400px;
}

    .button.small {
        max-width: 400px;
    }

#container-nav {
    background: #ffffff;
    border-top: 0;
    box-shadow: none;
    height: 80px;
}

#yourpolicymenu .top-bar {
    height: auto;
}

.top-bar-section ul {
    background: #ffffff;
}

    .top-bar-section ul li > a {
        color: #454545;
        font-family: 'Nunito', sans-serif;
    }

.top-bar-section .has-dropdown > a:after {
    border-color: #FF9800 transparent transparent transparent;
    border-top-style: solid;
    margin-top: -2.5px;
    top: 2.0rem;
}

.top-bar-section li:not(.has-form) a:not(.button) {
    padding-top: 1em;
}

#yourpolicymenu .top-bar-section li:not(.has-form) a:not(.button) {
    padding-top: 0;
    background: #f5f5f5;
    color: #454545;
}

#yourpolicymenu .top-bar-section li.active:not(.has-form) a:not(.button) {
    padding: 0 28px;
}

#yourpolicymenu .top-bar-section .has-dropdown > a:after {
    border-color: #FF9800 transparent transparent transparent;
    margin-top: -2.5px;
    top: 1.25em;
}

.top-bar.expanded .title-area {
    background: white;
}

.top-bar-section ul li > a {
    background: #ffffff;
}

.top-bar-section .dropdown li:not(.has-form):not(.active) > a:not(.button) {
    background: white;
    color: #3d3d3d;
}

.top-bar-section li:not(.has-form) a:not(.button):hover {
    background: white;
    color: #3d3d3d;
}

.title-bar .menu-icon {
    background: url(/Content/images/icon_menu_pet.svg);
    width: 33px;
    height: 34px;
    top: 2px;
}

li h5.footer-link-title {
    color: #454545;
    font-family: 'Nunito', sans-serif;
    text-decoration: none;
}

ul.footer-links li a {
    color: #c85706;
    font-family: 'Nunito', sans-serif;
    font-size: 1.25em;
}

.footer-text {
    color: #454545;
    font-family: 'Nunito', sans-serif;
}

#container-footer {
    background: #ffffff;
    border-top: 0;
}

    /* Self-service footer (_FooterSelfService.cshtml) — YourPolicy pages */
    #container-footer.selfservice-footer {
        background: #ffffff;
        border-top: 0;
        box-sizing: border-box;
        height: auto;
        position: static;
        top: auto;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        max-width: 100vw;
        padding: 48px 0;
        width: 100vw;
    }

.selfservice-footer .grid-container {
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: 1280px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 100%;
}

.selfservice-footer__inner {
    display: block;
    width: 100%;
}

.selfservice-footer__nav {
    align-items: flex-start;
    display: grid;
    gap: 1.5rem 2rem;
    grid-template-columns: 220px 1fr 1fr 1fr;
    justify-items: start;
    width: 100%;
}

.selfservice-footer__logo {
    margin-bottom: 0;
    padding-right: 0;
}

    .selfservice-footer__logo img {
        display: block;
        height: auto;
    }

.selfservice-footer .footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

    .selfservice-footer .footer-links > li {
        margin-bottom: 0;
    }

        .selfservice-footer .footer-links > li:first-child {
            margin-bottom: 1rem;
        }

.selfservice-footer .footer-link-title {
    border-bottom: none;
    color: #4F4F4F;
    font-family: 'Nunito', Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0;
}

/* Footer links — Text md/Semibold, Pet Orange/400 (#F05133) */
.selfservice-footer ul.footer-links li a {
    color: #F05133;
    display: inline-block;
    font-family: 'Nunito', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 24px;
    padding: 5px 0;
    text-decoration: none;
}

    .selfservice-footer ul.footer-links li a:hover,
    .selfservice-footer ul.footer-links li a:focus {
        color: #d63813;
        text-decoration: underline;
    }

.selfservice-footer__legal {
    border-top: none;
    margin-top: 3rem;
    max-width: 100%;
    padding-top: 3rem;
}

.selfservice-footer .footer-text {
    color: #3D3D3D;
    font-family: 'Nunito', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 24px;
    margin: 0 0 16px;
    text-align: left;
}

    .selfservice-footer .footer-text--copyright,
    .selfservice-footer .footer-text:last-child {
        margin-bottom: 0;
        margin-top: 0;
    }

/* Mobile footer: logo full width, Pet Insurance | Company, Legal left, legal text full width */
@media screen and (max-width: 39.9375em) {

    .page_title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    #container-table {
        padding-top: 0rem;
        padding-bottom: 0rem;
    }

    #container-footer.selfservice-footer {
        padding: 2.5rem 0 2rem;
    }

    .selfservice-footer__nav {
        column-gap: 0.1rem;
        grid-template-columns: 1fr 1fr;
        row-gap: 1.75rem;
    }

    .selfservice-footer__logo {
        grid-column: 1 / -1;
        margin-bottom: 0.5rem;
        padding-right: 0;
    }

        .selfservice-footer__logo img {
            margin-bottom: 0.5rem;
            max-width: 120px;
            width: 120px;
        }

    .selfservice-footer__col-product {
        grid-column: 1;
    }

    .selfservice-footer__col-company {
        grid-column: 2;
    }

    .selfservice-footer__col-legal {
        grid-column: 1;
    }

    .selfservice-footer__legal {
        margin-top: 2rem;
        padding-top: 2rem;
    }
}

@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .selfservice-footer__nav {
        gap: 1.5rem 1.75rem;
        grid-template-columns: 160px 1fr 1fr 1fr;
    }

    .selfservice-footer__legal {
        margin-top: 2.5rem;
        padding-top: 2.5rem;
    }
}

@media screen and (min-width: 64em) {
    .selfservice-footer .grid-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        width: 100%;
        max-width: 1280px;
    }

    .selfservice-footer__nav {
        column-gap: 2rem;
        grid-template-columns: 240px 1fr 1fr 1fr;
    }

    .selfservice-footer__legal {
        margin-top: 3rem;
        padding-top: 3rem;
    }
}

.grid-container:not(.full) > .grid-padding-x {
    margin-right: 0rem;
    margin-left: 0rem;
}

.header-logo {
    width: 145px;
    height: 45px;
    margin-right: 2em;
}

.header-logo-mobile {
    width: 145px;
    height: 45px;
    margin-right: 2em;
}
/* Self-service header visibility — avoid Foundation show/hide-for-medium conflicts */
.selfservice-header--desktop {
    display: none !important;
}

.selfservice-header--mobile {
    display: block;
}

.tabs {
    border-bottom: 0;
}

.tabs-title > a:focus, .tabs-title > a[aria-selected='true'] {
    background: #ff4f35;
    font-family: inherit;
    color: #0f004e;
}

.tabs-title > a {
    color: #030337;
    background: #d8d8d8;
    background: #f1f1f1;
}

    .tabs-title > a:hover {
        background: #d8d8d8;
    }

.tabs-panel.is-active {
    border: 1px #f05133 solid !important;
}

#yourpolicy .tabs dd.active a, .tabs .tab-title.active a {
    font-family: 'Nunito', sans-serif;
}

#yourpolicy .accordion .accordion-navigation > a, .accordion dd > a {
    font-size: 1.3rem;
    font-family: 'Nunito', sans-serif;
}

#yourpolicy .summary-box-brown {
    font-family: 'Nunito', sans-serif;
}

.summary-box-brown {
    font-family: 'Nunito', sans-serif;
    margin-top: 2em;
}

#yourpolicy .accordion .accordion-navigation.active > a span.pol, .accordion dd.active > a span.pol {
    color: #f89829;
}

#yourpolicy .accordion .accordion-navigation.active > a, .accordion dd.active > a {
    background: #ffffff;
    color: #050538;
    font-weight: bold;
}

#yourpolicy .content {
    padding: 1em;
}

.cardUsed {
    background: none;
}

.summary-box {
    font-family: 'Nunito', sans-serif;
}

@media screen and (min-width: 50em) {
    .selfservice-header--mobile {
        display: none !important;
    }

    .selfservice-header--desktop {
        display: flex !important;
    }

    .container.body-content {
        position: relative;
    }

        /*
     * Single-row desktop header: logo left, nav + CTA right.
     * custom-ux-mobile.css hides #container-header / #container-nav unless shown here.
     */
        /* Full-width white bar; content aligned to 1180px max inner width */
        .container.body-content > .site-header-desktop-bar {
            align-items: center;
            background: #ffffff;
            border: 0;
            box-shadow: 0 1px 8px rgba(16, 24, 40, 0.08);
            box-sizing: border-box;
            display: flex !important;
            gap: 2rem;
            justify-content: space-between;
            margin-left: calc(50% - 50vw);
            margin-right: calc(50% - 50vw);
            max-width: 100vw;
            min-height: 72px;
            padding: 1rem max(1rem, calc((100vw - 1280px) / 2 + 1rem)) 1.125rem;
            position: relative;
            width: 100vw;
            z-index: 3;
        }

    .site-header-desktop-bar #container-header,
    .site-header-desktop-bar #container-nav {
        display: block !important;
    }

    .site-header-desktop-bar #container-header {
        background: transparent;
        border: 0;
        box-shadow: none;
        flex: 0 0 auto;
        min-height: 0;
        padding: 0;
        position: static;
        z-index: auto;
    }

        .site-header-desktop-bar #container-header .grid-container {
            max-width: none;
            padding: 0;
        }

        .site-header-desktop-bar #container-header .grid-x {
            align-items: center;
            margin-left: 0;
            margin-right: 0;
            min-height: 0;
        }

            .site-header-desktop-bar #container-header .grid-x > .cell:not(:first-child) {
                display: none !important;
            }

            .site-header-desktop-bar #container-header .grid-x > .cell:first-child {
                padding-left: 0;
                padding-right: 0;
                width: auto;
            }

        .site-header-desktop-bar #container-header .header-logo {
            height: auto;
            margin: 0;
            padding: 0;
            width: 104px;
        }

            .site-header-desktop-bar #container-header .header-logo img {
                display: block;
                height: auto;
            }

        .site-header-desktop-bar #container-header .header-tel-image,
        .site-header-desktop-bar #container-header .show-for-large {
            display: none !important;
        }

    .site-header-desktop-bar #container-nav {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        flex: 1 1 auto;
        height: auto;
        left: auto;
        max-width: none;
        min-width: 0;
        pointer-events: auto;
        position: static;
        top: auto;
        transform: none;
        width: auto;
        z-index: auto;
    }

        .site-header-desktop-bar #container-nav > .grid-x {
            height: auto;
            margin-left: 0;
            margin-right: 0;
        }

            .site-header-desktop-bar #container-nav > .grid-x > .cell {
                height: auto;
                padding-left: 0;
                padding-right: 0;
            }

        .site-header-desktop-bar #container-nav .grid-container {
            align-items: center;
            display: flex;
            height: auto;
            justify-content: flex-end;
            max-width: none;
            padding-left: 0;
            pointer-events: auto;
            width: 100%;
        }

        .site-header-desktop-bar #container-nav .dropdown.menu {
            align-items: center;
            background: transparent;
            display: flex;
            gap: clamp(18px, 2.6vw, 32px);
            justify-content: flex-end;
            margin: 0;
            width: 100%;
        }

            .site-header-desktop-bar #container-nav .dropdown.menu > li:first-child,
            .site-header-desktop-bar #container-nav .dropdown.menu > li:nth-child(4),
            .site-header-desktop-bar #container-nav .dropdown.menu > li:last-child {
                display: none !important;
            }

            .site-header-desktop-bar #container-nav .dropdown.menu > li.selfservice-get-quote {
                display: block !important;
                margin-left: auto;
            }

            .site-header-desktop-bar #container-nav .dropdown.menu > li > a {
                align-items: center;
                background: transparent;
                color: #3d3d3d !important;
                display: flex;
                font-family: 'Nunito', sans-serif;
                font-size: 16px;
                font-weight: 700;
                line-height: 1;
                padding: 0;
                text-transform: none;
                white-space: nowrap;
            }

    #container-nav .dropdown.menu > li > a:hover,
    #container-nav .dropdown.menu > li.is-active > a {
        background: transparent;
        color: #0f004e;
    }

    #container-nav .dropdown.menu > li.is-dropdown-submenu-parent > a {
        padding-right: 20px;
    }

        #container-nav .dropdown.menu > li.is-dropdown-submenu-parent > a::after {
            border: solid #ff6247;
            border-width: 0 2px 2px 0;
            content: "";
            display: block;
            height: 8px;
            margin-top: -5px;
            right: 2px;
            transform: rotate(45deg);
            width: 8px;
        }

        #container-nav .dropdown.menu > li.is-dropdown-submenu-parent > a[aria-expanded="true"]::after {
            margin-top: -1px;
            transform: rotate(225deg);
        }

    #container-nav .dropdown.menu > li > ul.menu,
    #container-nav .dropdown.menu > li > .is-dropdown-submenu {
        background: #ffffff;
        border: 1px solid #c8c8c8;
        border-radius: 10px;
        box-shadow: 0 3px 8px rgba(16, 24, 40, 0.14);
        left: 50% !important;
        margin-top: 14px;
        min-width: 320px;
        overflow: hidden;
        padding: 14px 0;
        top: 100% !important;
        transform: translateX(-50%);
    }

        #container-nav .dropdown.menu > li > ul.menu > li,
        #container-nav .dropdown.menu > li > .is-dropdown-submenu > li {
            display: block;
            width: 100%;
        }

            #container-nav .dropdown.menu > li > ul.menu > li > a,
            #container-nav .dropdown.menu > li > .is-dropdown-submenu > li > a {
                background: #ffffff;
                color: #454545;
                display: block;
                font-family: 'Nunito', sans-serif;
                font-size: 16px;
                font-weight: 800;
                line-height: 1.25;
                padding: 16px 30px;
                text-align: left;
                white-space: nowrap;
            }

                #container-nav .dropdown.menu > li > ul.menu > li > a:hover,
                #container-nav .dropdown.menu > li > ul.menu > li > a:focus,
                #container-nav .dropdown.menu > li > .is-dropdown-submenu > li > a:hover,
                #container-nav .dropdown.menu > li > .is-dropdown-submenu > li > a:focus {
                    background: #f7f5f2;
                    color: #454545;
                }

    #container-nav .dropdown.menu > li.selfservice-get-quote > a {
        background: #ff4f35;
        border-radius: 8px;
        color: #050538;
        font-family: 'Nunito', sans-serif;
        font-weight: 800;
        min-width: 94px;
        padding: 14px 20px;
        text-align: center;
    }

        #container-nav .dropdown.menu > li.selfservice-get-quote > a:hover {
            background: #f05133;
            color: #050538;
        }

    /* 800–1023px: tighter nav so items stay on one row */
    @media screen and (max-width: 63.9375em) {
        .site-header-desktop-bar #container-nav .dropdown.menu {
            flex-wrap: nowrap;
            gap: 12px;
        }

            .site-header-desktop-bar #container-nav .dropdown.menu > li > a {
                font-size: 12px;
            }

        #container-nav .dropdown.menu > li.selfservice-get-quote > a {
            min-width: 84px;
            padding: 12px 16px;
        }
    }
}


/*
 * Mobile header: white bar, logo left, hamburger right.
 * Used up to 799px — desktop nav does not fit between 640px and 800px.
 */
@media screen and (max-width: 49.9375em) {
    .container-nav-mobile .title-bar {
        display: flex !important;
    }

    .container-nav-mobile .top-bar {
        display: none;
    }

    .container-nav-mobile {
        background: #ffffff !important;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: none !important;
        display: block !important;
        height: auto !important;
        margin: 0 auto !important;
        padding: 0 !important;
        position: relative !important;
    }


        .container-nav-mobile .container-nav-mobile__bar {
            align-items: center !important;
            box-sizing: border-box !important;
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            justify-content: space-between !important;
            padding: 1rem !important;
            width: 100% !important;
        }

            .container-nav-mobile .container-nav-mobile__bar > .pet-insurance-logo-rev {
                display: block !important;
                flex: 0 1 auto !important;
                float: none !important;
                left: auto !important;
                margin: 0 !important;
                max-width: min(200px, 52vw) !important;
                padding: 0 !important;
                padding-top: 0 !important;
                position: static !important;
                right: auto !important;
                top: auto !important;
                width: auto !important;
                z-index: 1;
            }

                .container-nav-mobile .container-nav-mobile__bar > .pet-insurance-logo-rev a {
                    display: inline-block !important;
                    line-height: 0 !important;
                    position: relative;
                    z-index: 1;
                }

                .container-nav-mobile .container-nav-mobile__bar > .pet-insurance-logo-rev img {
                    display: block !important;
                    height: 49px !important;
                    max-height: 42px !important;
                    width: auto !important;
                }

            .container-nav-mobile .container-nav-mobile__bar > .title-bar {
                align-items: center !important;
                background: transparent !important;
                display: flex !important;
                flex: 0 0 auto !important;
                float: none !important;
                justify-content: center !important;
                left: auto !important;
                margin: 0 0 0 auto !important;
                padding: 0 !important;
                position: static !important;
                right: auto !important;
                top: auto !important;
                width: auto !important;
            }

                .container-nav-mobile .container-nav-mobile__bar > .title-bar .menu-icon {
                    align-items: center !important;
                    background-color: transparent !important;
                    background-image: none !important;
                    border: 0 !important;
                    display: flex !important;
                    height: 44px !important;
                    justify-content: center !important;
                    margin: 0 !important;
                    min-height: 44px !important;
                    min-width: 44px !important;
                    padding: 0 !important;
                    position: relative !important;
                    width: 44px !important;
                }

                    /* SVG icon is used; hide legacy ::after lines (they sat at top:10px and looked bottom-heavy) */
                    .container-nav-mobile .container-nav-mobile__bar > .title-bar .menu-icon::after {
                        display: none !important;
                        content: none !important;
                    }

                    .container-nav-mobile .container-nav-mobile__bar > .title-bar .menu-icon svg {
                        display: block !important;
                        flex-shrink: 0 !important;
                    }

            .container-nav-mobile .container-nav-mobile__bar > .icon_phone_circle {
                display: none !important;
            }

        .container-nav-mobile .top-bar {
            background: #ffffff !important;
            border-top: 1px solid #e5e7eb;
            box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12) !important;
            height: auto !important;
            left: 0 !important;
            line-height: normal !important;
            margin-bottom: 0 !important;
            max-height: min(70vh, 520px) !important;
            overflow-y: auto !important;
            position: absolute !important;
            right: 0 !important;
            top: 100% !important;
            width: 100% !important;
            z-index: 100 !important;
        }

            .container-nav-mobile .top-bar,
            .container-nav-mobile .top-bar ul {
                background-color: #ffffff !important;
            }

        .container-nav-mobile .top-bar-left ul.menu li > a {
            color: #0f004e !important;
        }

        /* Beat custom-ux-mobile .menu .active > a (dark purple + low contrast) */
        .container-nav-mobile .top-bar-left ul.menu.accordion-menu > li.is-active > a,
        .container-nav-mobile .top-bar-left ul.menu.accordion-menu > li.active > a {
            background: #f7f5f2 !important;
            color: #0f004e !important;
        }

        .container-nav-mobile .accordion-menu .is-accordion-submenu-parent > a {
            color: #0f004e !important;
        }

        .container-nav-mobile .accordion-menu .is-accordion-submenu a {
            background: #ffffff !important;
            border-bottom: 1px solid #e5e7eb !important;
            color: #0f004e !important;
            padding: 0.75rem 1rem 0.75rem 1.5rem !important;
        }

            .container-nav-mobile .accordion-menu .is-accordion-submenu a:hover,
            .container-nav-mobile .accordion-menu .is-accordion-submenu a:focus {
                background: #f7f5f2 !important;
                color: #0f004e !important;
            }
}
