/* PCR RESPONSIVE SHELL V1 */

.pcr-mobile-menu-toggle {
    min-width: 92px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 13px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.pcr-mobile-menu-toggle:hover,
.pcr-mobile-menu-toggle:focus-visible {
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.34);
    outline: none;
}

.pcr-mobile-menu-toggle:active {
    transform: translateY(1px);
}

.pcr-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(3,25,39,.58);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.pcr-mobile-menu[hidden] {
    display: none !important;
}

.pcr-mobile-menu-inner {
    position: absolute;
    top: 0;
    right: 0;
    width: min(390px, 92vw);
    height: 100%;
    overflow-y: auto;
    padding: 20px;
    background: #031927;
    box-shadow: -24px 0 60px rgba(0,0,0,.28);
}

.pcr-mobile-menu-head {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.10);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.pcr-mobile-menu-close {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px;
    background: rgba(255,255,255,.06);
    color: #fff;
    cursor: pointer;
}

.pcr-mobile-menu-links {
    padding: 16px 0;
}

.pcr-mobile-menu-links a {
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.pcr-mobile-menu-links a::after {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-left: 14px;
    border-right: 2px solid #ef3b2d;
    border-bottom: 2px solid #ef3b2d;
    transform: rotate(-45deg);
}

.pcr-mobile-menu-links a:hover,
.pcr-mobile-menu-links a:focus-visible {
    color: #ef3b2d;
    outline: none;
}

.pcr-mobile-menu-actions {
    display: grid;
    gap: 10px;
    padding-top: 6px;
}

.pcr-mobile-menu-actions a {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    padding: 12px 15px;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.pcr-mobile-menu-primary {
    background: #ba1200;
    color: #fff;
}

.pcr-mobile-menu-secondary {
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    color: #fff;
}

.pcr-mobile-menu-contact {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    background: rgba(255,255,255,.04);
}

.pcr-mobile-menu-contact a {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
}

.pcr-mobile-menu-contact span {
    display: block;
    margin-top: 5px;
    color: #8fa9bc;
    font-size: 12px;
    font-weight: 700;
}

body.pcr-menu-open {
    overflow: hidden;
}

.pcr-footer-grid {
    display: grid;
    gap: 34px;
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
}

.pcr-footer-heading {
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.pcr-footer-links {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.pcr-footer-links a {
    color: #8fa9bc;
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
    transition: color .2s ease;
}

.pcr-footer-links a:hover,
.pcr-footer-links a:focus-visible {
    color: #fff;
    outline: none;
}

.pcr-footer-pill {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    padding: 8px 12px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
}

.pcr-footer-pill-primary {
    border-color: #ba1200;
    background: #ba1200;
}

.pcr-footer-contact {
    margin-top: 16px;
    display: grid;
    gap: 18px;
}

.pcr-footer-contact > div {
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.pcr-footer-contact > div:last-child {
    border-bottom: 0;
}

.pcr-footer-contact span {
    display: block;
    margin-bottom: 5px;
    color: #718ca1;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .13em;
}

.pcr-footer-contact strong,
.pcr-footer-contact a,
.pcr-footer-contact p {
    color: #d7e0e7;
    font-size: 13px;
    line-height: 1.6;
}

.pcr-footer-contact a {
    display: block;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.pcr-footer-contact a:hover {
    color: #fff;
}

.pcr-footer-bottom {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.10);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 22px;
    color: #718ca1;
    font-size: 11px;
}

.pcr-footer-bottom strong {
    color: #a8bbc9;
    font-weight: 800;
}

.pcr-footer-bottom span {
    margin-left: 5px;
}

.pcr-footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
}

.pcr-footer-legal a,
.pcr-footer-legal button {
    border: 0;
    background: transparent;
    padding: 0;
    color: #7f9bb0;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.pcr-footer-legal a:hover,
.pcr-footer-legal button:hover {
    color: #fff;
}

.pcr-footer-company {
    text-align: right;
}

@media (max-width: 1279px) {
    header > div:nth-child(2) > div {
        height: 74px;
    }

    header .pcr-logo-link img {
        height: 54px !important;
        max-width: 240px !important;
    }

    .pcr-footer-grid {
        grid-template-columns: 1.3fr 1fr;
    }

    .pcr-footer-brand {
        grid-row: span 2;
    }

    .pcr-footer-bottom {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .pcr-footer-legal {
        justify-content: flex-start;
    }

    .pcr-footer-company {
        text-align: left;
    }
}

@media (max-width: 639px) {
    header > div:first-child > div {
        gap: 12px;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    header > div:first-child p {
        max-width: 54%;
        font-size: 10px !important;
        line-height: 1.25;
    }

    header > div:first-child a {
        text-align: right;
        font-size: 11px !important;
        line-height: 1.2;
    }

    header > div:nth-child(2) > div {
        height: 68px;
        gap: 12px;
    }

    header .pcr-logo-link img {
        height: 44px !important;
        max-width: 190px !important;
    }

    .pcr-mobile-menu-toggle {
        min-width: 48px;
        width: 48px;
        height: 44px;
        padding: 0;
    }

    .pcr-mobile-menu-toggle span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .pcr-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pcr-footer-brand {
        grid-row: auto;
    }

    .pcr-footer-bottom {
        margin-top: 32px;
    }

    .pcr-footer-bottom span {
        display: block;
        margin: 3px 0 0;
    }

    .pcr-footer-legal {
        gap: 10px 16px;
    }
}

/* PCR FLOATING COOKIE SETTINGS MOBILE FIX V1 */
@media (max-width: 767px) {
    .pcr-floating-cookie-settings {
        bottom: 94px !important;
        left: 16px !important;
        right: auto !important;
        z-index: 9999 !important;
        max-width: calc(100vw - 32px);
    }
}

@media (min-width: 768px) {
    .pcr-floating-cookie-settings {
        bottom: 18px !important;
        left: 18px !important;
    }
}

/* PCR TABLET FOOTER + COOKIE FINAL OVERRIDES V1 */

/*
 * On phones/tablets the fixed Cookie settings pill duplicates the
 * fully-accessible Cookie settings control in the footer and can cover
 * content / mobile quick actions. Hide only the floating fixed control.
 */
@media (max-width: 1279px) {
    .pcr-floating-cookie-settings {
        display: none !important;
    }

    /*
     * Tablet footer:
     * Row 1 = brand full width
     * Row 2 = Repairs | Accident Support
     * Row 3 = Contact full width
     */
    .pcr-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 34px 42px !important;
        align-items: start;
    }

    .pcr-footer-brand {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        max-width: 760px;
    }

    .pcr-footer-grid > div:nth-child(2) {
        grid-column: 1 !important;
    }

    .pcr-footer-grid > div:nth-child(3) {
        grid-column: 2 !important;
    }

    .pcr-footer-grid > div:nth-child(4) {
        grid-column: 1 / -1 !important;
        margin-top: 4px;
        padding-top: 28px;
        border-top: 1px solid rgba(255,255,255,.10);
    }

    .pcr-footer-grid > div:nth-child(4) .pcr-footer-contact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    .pcr-footer-grid > div:nth-child(4) .pcr-footer-contact > div {
        min-width: 0;
        padding: 0 20px 0 0;
        border-bottom: 0;
        border-right: 1px solid rgba(255,255,255,.08);
    }

    .pcr-footer-grid > div:nth-child(4) .pcr-footer-contact > div:last-child {
        border-right: 0;
        padding-right: 0;
    }

    .pcr-footer-bottom {
        margin-top: 34px !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        text-align: left !important;
    }

    .pcr-footer-legal {
        justify-content: flex-start !important;
    }

    .pcr-footer-company {
        text-align: left !important;
    }
}

@media (max-width: 639px) {
    .pcr-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .pcr-footer-brand,
    .pcr-footer-grid > div:nth-child(2),
    .pcr-footer-grid > div:nth-child(3),
    .pcr-footer-grid > div:nth-child(4) {
        grid-column: 1 !important;
    }

    .pcr-footer-grid > div:nth-child(4) {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

    .pcr-footer-grid > div:nth-child(4) .pcr-footer-contact {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pcr-footer-grid > div:nth-child(4) .pcr-footer-contact > div {
        padding: 0 0 15px;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .pcr-footer-grid > div:nth-child(4) .pcr-footer-contact > div:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }
}

/* PCR FLOATING COOKIE SETTINGS FINAL OVERRIDE V2 */
@media (max-width: 1279px) {
    .pcr-floating-cookie-settings {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* PCR DESKTOP NAV RESTORE V1
 * Do not rely on Tailwind having regenerated xl:flex/xl:hidden.
 */
.pcr-desktop-nav,
.pcr-desktop-actions {
    display: none !important;
}

.pcr-mobile-nav-wrap {
    display: block !important;
}

@media (min-width: 1280px) {
    .pcr-desktop-nav,
    .pcr-desktop-actions {
        display: flex !important;
    }

    .pcr-mobile-nav-wrap {
        display: none !important;
    }
}

/* PCR MOBILE HORIZONTAL SCROLL FIX V1 */

/*
 * Prevent any responsive component, animation or fixed control from
 * widening the iOS viewport and allowing the page to pan left/right.
 */
html {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    position: relative;
}

*, *::before, *::after {
    box-sizing: border-box;
}

img,
picture,
video,
canvas,
svg,
iframe {
    max-width: 100%;
}

main,
header,
footer,
section,
.pcr-site-footer {
    min-width: 0;
    max-width: 100%;
}

.pcr-footer-grid > *,
.pcr-footer-bottom > *,
.pcr-mobile-menu-inner,
.pcr-mobile-menu-links,
.pcr-mobile-menu-actions {
    min-width: 0;
}

.pcr-mobile-menu {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.pcr-mobile-menu-inner {
    max-width: 92vw;
    overflow-x: hidden;
}

@media (max-width: 1279px) {
    html,
    body {
        overflow-x: hidden !important;
    }

    body > * {
        max-width: 100%;
    }

    /*
     * Common mobile fixed / sticky elements must remain inside the
     * viewport even if an older rule gave them an oversized width.
     */
    [style*="position: fixed"],
    [style*="position:fixed"],
    [style*="position: sticky"],
    [style*="position:sticky"] {
        max-width: 100vw;
    }

    .pcr-site-footer,
    .pcr-footer-grid,
    .pcr-footer-bottom {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
}

@media (max-width: 639px) {
    .pcr-mobile-menu-inner {
        width: min(360px, 92vw);
        max-width: 92vw;
    }

    .pcr-footer-contact a,
    .pcr-footer-contact p,
    .pcr-footer-links a {
        overflow-wrap: anywhere;
        word-break: normal;
    }
}

/* PCR FOOTER SOCIALS V1 */
.pcr-footer-socials {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
.pcr-footer-socials a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    color: #d7e0e7;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
}
.pcr-footer-socials a:hover,
.pcr-footer-socials a:focus-visible {
    background: rgba(255,255,255,.09);
    border-color: rgba(255,255,255,.22);
    color: #fff;
    outline: none;
}
.pcr-footer-socials svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
}
