/* =========================================================
   USPS FRONTEND PROJECT
   SHARED CSS
   billing.html + track.html
========================================================= */

:root {
    --usps-blue: #333366;
    --usps-blue-dark: #292d6b;
    --usps-gray: #d5d5d5;
    --usps-light: #f5f5f5;
    --usps-footer: #f7f7f7;
    --usps-red: #ed1c24;
    --usps-green: #208b4a;
    --text: #111;
}

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-width: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    width: 100%;
    min-width: 0;

    background: #fff;
    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
}

sup {
    font-size: 0.55em;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    width: 100%;
    background: #fff;
}

.utility-bar {
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    padding: 0 31px;
}

.utility-links {
    display: flex;
    align-items: center;

    gap: 32px;

    white-space: nowrap;

    font-size: 13px;
    font-weight: 700;
}

.utility-links a {
    text-decoration: none;
}


/* MAIN HEADER */

.brand-nav {
    width: 100%;
    height: 52px;

    display: flex;
    align-items: stretch;
}

.brand-wrap {
    flex: 0 0 345px;

    display: flex;
    align-items: center;

    padding-left: 42px;

    text-decoration: none;
}

.brand-logo {
    width: 278px;
    height: auto;
}

.main-nav {
    min-width: 0;
    flex: 1;

    display: flex;
    align-items: stretch;

    background: var(--usps-gray);

    overflow: hidden;
}

.nav-item {
    min-width: 0;
    flex: 1 1 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 14px;

    background: var(--usps-gray);
    color: #151747;

    font-size: 17px;
    font-weight: 700;

    text-decoration: none;
    white-space: nowrap;

    clip-path:
        polygon(
            4% 0,
            100% 0,
            96% 100%,
            0 100%
        );
}

.nav-item.active {
    flex: 1.25 1 0;
    background: var(--usps-blue);
    color: #fff;
}

.search-button {
    width: 62px;
    flex: 0 0 62px;

    border: 0;

    background: var(--usps-gray);

    position: relative;
}

.search-button span {
    position: absolute;

    width: 22px;
    height: 22px;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -55%);

    border:
        3px
        solid
        var(--usps-blue);

    border-radius: 50%;
}

.search-button span::after {
    content: "";

    position: absolute;

    width: 10px;
    height: 3px;

    background: var(--usps-blue);

    right: -8px;
    bottom: -4px;

    transform: rotate(48deg);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    width: 100%;

    margin-top: 80px;

    background: var(--usps-footer);

    border-top: 1px solid #ddd;
}

.footer-inner {
    width: min(1400px, calc(100% - 80px));

    margin: 0 auto;

    padding: 38px 0 30px;
}

.footer-logo {
    width: 275px;
    height: auto;

    margin-bottom: 42px;
}

.footer-columns {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 55px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-col h4 {
    margin: 0 0 9px;

    color: var(--usps-blue);

    font-size: 14px;
    line-height: 1.2;
}

.footer-col a {
    margin-bottom: 8px;

    color: #111;

    font-size: 14px;

    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}

.jobs-heading {
    margin-top: 24px !important;
}

.copyright {
    margin-top: 67px;

    padding-bottom: 40px;

    font-size: 13px;
}

.social-row {
    display: flex;
    align-items: center;

    gap: 28px;

    padding-top: 25px;

    border-top: 1px solid #d8d8d8;
}

.social {
    font-size: 22px;

    text-decoration: none;
}


/* =========================================================
   TOP BUTTON
========================================================= */

.top-button {
    position: fixed;

    right: 0;
    bottom: 25px;

    width: 86px;
    height: 84px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 1px;

    border:
        2px
        solid
        #fff;

    background: var(--usps-blue);
    color: #fff;

    box-shadow:
        0 0 0 1px #aaa;

    z-index: 1000;
}

.top-button span {
    font-size: 29px;
    line-height: 22px;
}

.top-button strong {
    font-size: 17px;
}


/* =========================================================
   =========================================================
   BILLING PAGE
   =========================================================
========================================================= */

.checkout-page {
    width: min(1360px, calc(100% - 48px));

    margin: 0 auto;

    padding-top: 69px;
}

.checkout-page > h1 {
    margin: 0 0 62px;

    color: var(--usps-blue-dark);

    font-size: 35px;
    line-height: 1;

    font-weight: 700;
}


/* STEPS */

.steps {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 7px;

    margin-bottom: 56px;
}

.step {
    min-width: 0;

    height: 50px;

    display: flex;
    flex-direction: column;
    align-items: center;

    color: #111;

    font-size: 16px;
    font-weight: 700;
}

.step span {
    width: 100%;

    height: 25px;

    display: block;

    text-align: center;
}

.step i {
    width: 100%;
    height: 28px;

    display: block;

    background: #d5d5d5;

    clip-path:
        polygon(
            3% 0,
            100% 0,
            97% 100%,
            0 100%
        );
}

.step.current i {
    background: var(--usps-blue);
}


/* CHECKOUT GRID */

.checkout-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        440px;

    gap: 58px;

    align-items: start;
}

.form-column {
    width: 100%;
    min-width: 0;
}

.form-section {
    width: 100%;
}

.form-section h2 {
    margin: 0 0 28px;

    color: var(--usps-blue-dark);

    font-size: 28px;
    line-height: 1.1;
}

.form-section .lead {
    margin: 0 0 29px;

    font-size: 17px;
    line-height: 1.35;
}

.required-note {
    margin: 0 0 49px;

    font-size: 15px;
}


/* PAYMENT */

.payment-fields {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    column-gap: 38px;

    row-gap: 27px;
}

.field {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 7px;
}

.field > span {
    font-size: 14px;
    line-height: 1.2;
}

.field input,
.field select {
    width: 100%;
    height: 54px;

    padding: 0 13px;

    border:
        1px
        solid
        var(--usps-blue);

    border-radius: 3px;

    background: #fff;

    outline: none;

    font-size: 16px;
}

.field input:focus,
.field select:focus {
    box-shadow:
        0
        0
        0
        2px
        rgba(51, 51, 102, 0.12);
}

.field input.missing,
.field select.missing {
    border-color: #d71920;
}

.payment-small-row {
    grid-column: 1 / -1;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 38px;
}


/* SHIPPING */

.shipping-section {
    margin-top: 62px;
}

.same-line {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 38px;

    font-size: 16px;

    cursor: pointer;
}

.same-line input {
    width: 22px;
    height: 22px;

    margin: 0;

    flex: 0 0 auto;

    accent-color: var(--usps-blue);
}

.shipping-basic-fields {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 27px 38px;
}

.shipping-address-fields {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 27px 38px;

    margin-top: 27px;
}

.shipping-city-fields {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(160px, .7fr)
        minmax(150px, .7fr);

    gap: 27px;

    margin-top: 27px;
}

.select-field {
    position: relative;
}

.select-field select {
    appearance: none;

    padding-right: 42px;

    color: var(--usps-blue);

    cursor: pointer;
}

.select-field::after {
    content: "";

    position: absolute;

    right: 17px;
    bottom: 19px;

    width: 13px;
    height: 13px;

    border-right: 2px solid var(--usps-blue);
    border-bottom: 2px solid var(--usps-blue);

    transform: rotate(45deg);

    pointer-events: none;
}


/* PRIVACY */

.privacy-section {
    margin-top: 40px;
    padding-bottom: 10px;
}

.privacy-section h3 {
    margin: 0 0 4px;

    color: var(--usps-blue-dark);

    font-size: 18px;
}

.privacy-section p {
    margin: 0;

    font-size: 14px;
    line-height: 1.45;
}

.privacy-section a {
    color: #1673b1;
    text-decoration: underline;
}


/* ORDER SUMMARY */

.order-summary {
    width: 100%;

    padding:
        39px
        36px
        91px;

    background: #f6f6f6;
}

.order-summary h2 {
    margin: 0 0 33px;

    font-size: 29px;
    line-height: 1.1;
}

.summary-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    font-size: 17px;
}

.summary-row strong {
    white-space: nowrap;
}

.shipping-note {
    margin: 45px 0 37px;

    font-size: 17px;
    line-height: 1.25;
}

.coupon-area {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        110px;

    column-gap: 16px;
    row-gap: 10px;

    align-items: center;

    margin-bottom: 48px;
}

.coupon-area > span {
    font-size: 17px;
}

.coupon-area input {
    width: 110px;
    height: 53px;

    padding: 0 10px;

    border:
        1px
        solid
        var(--usps-blue);

    border-radius: 3px;

    outline: none;

    background: #fff;
}

.coupon-area button {
    grid-column: 2;

    padding: 0;

    border: 0;

    background: transparent;

    color: #1976b9;

    font-size: 17px;

    text-align: right;
    text-decoration: underline;
}

.summary-row.total {
    margin-bottom: 35px;

    font-weight: 700;
}

.checkout-button {
    width: 230px;
    height: 80px;

    display: block;

    margin: 0 auto;

    border: 0;
    border-radius: 3px;

    background: var(--usps-green);
    color: #fff;

    font-size: 20px;
    font-weight: 700;
}

.checkout-button:hover {
    background: #197b40;
}


/* =========================================================
   =========================================================
   TRACKING PAGE
   =========================================================
========================================================= */

.tracking-alert {
    width: 100%;

    min-height: 61px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    padding: 9px 25px;

    background: var(--usps-red);
    color: #fff;

    text-align: center;

    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
}

.tracking-alert a {
    color: #fff;

    text-decoration: underline;
    white-space: nowrap;
}


.tracking-main {
    width: min(1180px, calc(100% - 48px));

    margin: 0 auto;

    padding-top: 83px;
}


/* TITLE */

.tracking-title-row {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 62px;
}

.tracking-title-row h1 {
    margin: 0;

    color: var(--usps-blue-dark);

    font-size: 36px;
    line-height: 1.05;
}

.tracking-title-row h1 sup {
    font-size: 13px;

    position: relative;
    top: -15px;
}

.tracking-tabs {
    display: flex;
    align-items: center;

    gap: 25px;

    flex-shrink: 0;

    font-size: 17px;
    font-weight: 700;
}

.tracking-tabs a {
    padding-bottom: 11px;

    text-decoration: none;
}

.tracking-tabs a.active {
    border-bottom:
        4px
        solid
        var(--usps-red);
}

.tracking-tabs > span {
    color: #d4d4d4;

    font-size: 30px;
}

.tracking-tabs b {
    margin-left: 6px;

    color: var(--usps-red);

    font-size: 26px;
}


/* INFORMED DELIVERY */

.informed-banner {
    width: 73%;

    min-height: 68px;

    margin-left: auto;
    margin-bottom: 91px;

    display: flex;

    background: #eee;

    overflow: hidden;
}

.informed-left {
    width: 42%;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 10px 18px;

    background: var(--usps-blue);
    color: #fff;

    clip-path:
        polygon(
            0 0,
            100% 0,
            94% 100%,
            0 100%
        );
}

.runner {
    font-size: 28px;
}

.informed-left strong {
    font-size: 17px;
    line-height: 1.2;
}

.informed-copy {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 10px 20px;

    color: #555;

    font-size: 16px;
    line-height: 1.3;
}

.informed-copy > span {
    min-width: 0;
}

.learn-more {
    flex: 0 0 auto;

    min-width: 140px;
    height: 43px;

    border: 0;
    border-radius: 2px;

    background: var(--usps-blue);
    color: #fff;

    font-size: 16px;
    font-weight: 700;
}


/* SEARCH */

.tracking-search-section {
    width: 100%;

    margin-bottom: 43px;
}

.tracking-search-row {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        201px;

    gap: 35px;

    align-items: stretch;
}


/* IMPORTANT:
   This prevents the label from becoming a third grid item.
*/

.sr-only {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


.tracking-search-row textarea {
    width: 100%;
    height: 54px;

    min-width: 0;

    resize: vertical;

    padding: 14px 17px;

    border:
        1px
        solid
        var(--usps-blue);

    border-radius: 3px;

    background: #fff;

    color: #222;

    font-size: 18px;
    line-height: 1.3;

    outline: none;
}

.tracking-search-row textarea::placeholder {
    color: #8d98a6;
}

.tracking-search-row textarea:focus {
    box-shadow:
        0
        0
        0
        2px
        rgba(51, 51, 102, .12);
}

.track-button {
    width: 100%;
    height: 54px;

    border: 0;
    border-radius: 3px;

    background: var(--usps-blue);
    color: #fff;

    font-size: 21px;
    font-weight: 700;
}

.track-button:hover {
    background: #292950;
}


/* FAQ */

.tracking-faqs {
    width: 560px;
    max-width: 100%;

    margin-bottom: 40px;
}

.faq-item {
    width: 100%;

    min-height: 54px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 0;

    border: 0;

    background: transparent;

    color: var(--usps-blue-dark);

    font-size: 25px;
    font-weight: 700;

    text-align: left;
}

.faq-chevron {
    width: 16px;
    height: 16px;

    flex: 0 0 auto;

    margin-left: 20px;

    border-right: 3px solid var(--usps-blue);
    border-bottom: 3px solid var(--usps-blue);

    transform: rotate(45deg);

    transition: transform .2s ease;
}

.faq-item[aria-expanded="true"] .faq-chevron {
    transform: rotate(225deg);
}

.faq-answer {
    max-height: 0;

    overflow: hidden;

    transition:
        max-height .25s ease;
}

.faq-answer.open {
    max-height: 200px;
}

.faq-answer p {
    margin: 0 0 20px;

    color: #444;

    font-size: 15px;
    line-height: 1.5;
}


/* =========================================================
   TRACKING RESULT
========================================================= */
.tracking-result {
    width: 100%;
    display: block;
    margin-top: 45px;
}

.tracking-result-pulse {
    animation: resultPulse .35s ease;
}

@keyframes resultPulse {
    0% {
        opacity: .55;
        transform: translateY(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.demo-note {
    margin-bottom: 13px;

    color: #666;

    font-size: 13px;
    line-height: 1.4;
}


/* PACKAGE CARD */

.package-card {
    width: 100%;

    padding: 27px 34px 36px;

    border:
        1px
        solid
        #dedede;

    background: #f6f6f6;
}


.package-header {
    display: flex;

    justify-content: space-between;

    gap: 30px;

    padding-bottom: 26px;

    border-bottom: 1px solid #ddd;
}

.demo-badge {
    display: inline-block;

    padding: 4px 9px;

    border-radius: 2px;

    background: var(--usps-blue);
    color: #fff;

    font-size: 11px;
    font-weight: 700;
}

.package-header h2 {
    margin: 9px 0 10px;

    color: var(--usps-blue-dark);

    font-size: 28px;
    line-height: 1.03;
}

.tracking-number {
    color: #111;

    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;

    letter-spacing: .3px;
}

.current-status {
    min-width: 160px;

    padding-top: 62px;

    text-align: right;
}

.current-status span {
    display: block;

    color: #777;

    font-size: 12px;
}

.current-status strong {
    display: block;

    margin-top: 6px;

    color: var(--usps-green);

    font-size: 18px;
}


/* PACKAGE CONTENT */

.package-content {
    display: grid;

    grid-template-columns:
        220px
        minmax(0, 1fr);

    gap: 35px;

    padding: 27px 0 34px;

    border-bottom: 1px solid #ddd;
}

.package-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.package-image-frame {
    width: 190px;
    height: 210px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    border:
        1px
        solid
        #e2e2e2;
}

.package-image {
    width: 175px;
    max-width: 90%;
    max-height: 190px;

    object-fit: contain;
}

.package-caption {
    margin: 10px 0 0;

    color: #555;

    font-size: 13px;
    line-height: 1.25;

    text-align: center;
}

.package-details {
    min-width: 0;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 28px 30px;

    align-content: start;
}

.detail {
    min-width: 0;
}

.detail span {
    display: block;

    margin-bottom: 5px;

    color: #777;

    font-size: 11px;
    line-height: 1.15;
    text-transform: uppercase;
}

.detail strong {
    display: block;

    color: #111;

    font-size: 15px;
    line-height: 1.25;

    overflow-wrap: anywhere;
}


/* =========================================================
   TIMELINE
========================================================= */

.tracking-progress {
    position: relative;

    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 10px;

    padding: 40px 0 36px;
}

.progress-line {
    position: absolute;

    left: 5%;
    right: 5%;

    top: 53px;

    height: 5px;

    background: #d2d2d2;
}

.progress-step {
    position: relative;

    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    z-index: 1;
}

.progress-dot {
    width: 18px;
    height: 18px;

    margin-bottom: 8px;

    border:
        2px
        solid
        #aaa;

    border-radius: 50%;

    background: #fff;

    box-shadow:
        0 0 0 3px #fff;
}

.progress-step.completed .progress-dot,
.progress-step.current .progress-dot {
    border-color: var(--usps-blue);

    background: #fff;
}

.progress-step.current .progress-dot {
    box-shadow:
        0 0 0 4px #fff;
}

.progress-step strong {
    max-width: 150px;

    color: #222;

    font-size: 15px;
    line-height: 1.2;
}

.progress-step span {
    max-width: 150px;

    margin-top: 5px;

    color: #777;

    font-size: 13px;
    line-height: 1.25;
}


/* HISTORY */

.tracking-history {
    width: 100%;

    max-width: 760px;

    padding-top: 28px;
}

.tracking-history h3 {
    margin: 0 0 12px;

    color: var(--usps-blue-dark);

    font-size: 19px;
}

.history-row {
    display: grid;

    grid-template-columns:
        190px
        minmax(0, 1fr);

    gap: 25px;

    padding: 18px 0;

    border-bottom: 1px solid #ddd;
}

.history-row time {
    color: #777;

    font-size: 13px;
}

.history-row div {
    min-width: 0;

    font-size: 14px;
    line-height: 1.35;
}

.history-row strong {
    font-weight: 700;
}

.history-row span {
    display: inline;
}


/* BILLING NAVIGATION */

.billing-navigation {
    margin-top: 28px;
}

.billing-navigation a {
    display: inline-flex;

    min-height: 52px;

    align-items: center;
    justify-content: center;

    padding: 0 30px;

    border-radius: 2px;

    background: var(--usps-blue);
    color: #fff;

    font-size: 16px;
    font-weight: 700;

    text-decoration: none;
}


/* =========================================================
   DESKTOP FIXES
========================================================= */

@media (min-width: 1200px) {

    .tracking-search-row {
        grid-template-columns:
            minmax(0, 1fr)
            201px;
    }

    .tracking-main {
        padding-left: 0;
        padding-right: 0;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .utility-links {
        gap: 18px;
        font-size: 12px;
    }

    .brand-wrap {
        flex-basis: 275px;
        padding-left: 25px;
    }

    .brand-logo {
        width: 245px;
    }

    .nav-item {
        font-size: 14px;
        padding: 0 8px;
    }

    .search-button {
        width: 52px;
        flex-basis: 52px;
    }


    /* BILLING */

    .checkout-page {
        width: calc(100% - 36px);
        padding-top: 55px;
    }

    .checkout-grid {
        grid-template-columns:
            minmax(0, 1fr)
            350px;

        gap: 32px;
    }

    .order-summary {
        padding:
            32px
            26px
            60px;
    }


    /* TRACKING */

    .tracking-main {
        width: calc(100% - 36px);

        padding-top: 55px;
    }

    .informed-banner {
        width: 82%;

        margin-bottom: 65px;
    }

    .package-content {
        grid-template-columns:
            180px
            minmax(0, 1fr);

        gap: 25px;
    }

    .package-image-frame {
        width: 160px;
        height: 190px;
    }

    .package-details {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .faq-item {
        font-size: 21px;
    }
}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 820px) {

    .utility-bar {
        height: 36px;
        padding: 0 18px;
    }

    .utility-links {
        gap: 12px;
        font-size: 10px;
    }

    .brand-nav {
        height: 58px;
    }

    .brand-wrap {
        flex-basis: 205px;
        padding-left: 18px;
    }

    .brand-logo {
        width: 180px;
    }

    .nav-item {
        font-size: 11px;
    }

    .search-button {
        width: 45px;
        flex-basis: 45px;
    }


    /* BILLING */

    .checkout-grid {
        grid-template-columns: 1fr;

        gap: 38px;
    }

    .order-summary {
        order: 2;
    }


    /* TRACKING */

    .tracking-title-row {
        align-items: flex-end;

        margin-bottom: 45px;
    }

    .tracking-title-row h1 {
        font-size: 32px;
    }

    .informed-banner {
        width: 100%;

        margin-left: 0;
    }

    .tracking-search-row {
        grid-template-columns:
            minmax(0, 1fr)
            150px;

        gap: 20px;
    }

    .package-details {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .package-content {
        grid-template-columns:
            170px
            minmax(0, 1fr);
    }

    .progress-step strong {
        font-size: 13px;
    }

    .progress-step span {
        font-size: 11px;
    }

    .footer-columns {
        gap: 30px;
    }
}


/* =========================================================
   PHONE
========================================================= */

@media (max-width: 700px) {

    /* HEADER */

    .utility-bar {
        display: none;
    }

    .brand-nav {
        height: 56px;
    }

    .brand-wrap {
        width: auto;
        flex: 0 0 165px;

        padding-left: 12px;
    }

    .brand-logo {
        width: 153px;
    }

    .main-nav {
        justify-content: flex-end;
    }

    .nav-item {
        display: none;
    }

    .nav-item.active {
        display: flex;

        flex: 1;

        font-size: 12px;
    }

    .main-nav .nav-item.active {
        max-width: 125px;
    }

    .search-button {
        width: 48px;
        flex-basis: 48px;
    }


    /* FOOTER */

    .site-footer {
        margin-top: 50px;
    }

    .footer-inner {
        width: calc(100% - 28px);

        padding: 28px 0 22px;
    }

    .footer-logo {
        width: 190px;

        margin-bottom: 30px;
    }

    .footer-columns {
        grid-template-columns: 1fr 1fr;

        gap: 28px 22px;
    }

    .footer-col h4 {
        font-size: 11px;
    }

    .footer-col a {
        font-size: 11px;

        margin-bottom: 7px;
    }

    .jobs-heading {
        margin-top: 18px !important;
    }

    .copyright {
        margin-top: 35px;

        padding-bottom: 22px;

        font-size: 10px;
    }

    .social-row {
        gap: 20px;

        padding-top: 18px;
    }

    .social {
        font-size: 18px;
    }

    .top-button {
        width: 48px;
        height: 49px;

        bottom: 8px;
    }

    .top-button span {
        font-size: 19px;
    }

    .top-button strong {
        font-size: 11px;
    }


    /* =====================================================
       BILLING MOBILE
    ===================================================== */

    .checkout-page {
        width: calc(100% - 24px);

        padding-top: 32px;
    }

    .checkout-page > h1 {
        margin-bottom: 32px;

        font-size: 29px;
    }

    .steps {
        gap: 3px;

        margin-bottom: 38px;
    }

    .step {
        height: 48px;

        font-size: 9px;
    }

    .step span {
        height: 21px;

        line-height: 21px;

        white-space: normal;
    }

    .step i {
        height: 25px;
    }

    .checkout-grid {
        display: flex;
        flex-direction: column;

        gap: 28px;
    }

    .form-column {
        order: 1;
    }

    .order-summary {
        order: 2;

        padding:
            24px
            20px
            30px;
    }

    .form-section h2 {
        margin-bottom: 20px;

        font-size: 23px;
    }

    .form-section .lead {
        margin-bottom: 22px;

        font-size: 15px;
    }

    .required-note {
        margin-bottom: 30px;

        font-size: 13px;
    }

    .payment-fields {
        display: flex;
        flex-direction: column;

        gap: 20px;
    }

    .payment-small-row {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 14px;
    }

    .field > span {
        font-size: 13px;
    }

    .field input,
    .field select {
        height: 48px;

        font-size: 15px;
    }

    .shipping-section {
        margin-top: 40px;
    }

    .same-line {
        align-items: flex-start;

        margin-bottom: 25px;

        font-size: 13px;
    }

    .same-line input {
        width: 19px;
        height: 19px;

        margin-top: 1px;
    }

    .shipping-basic-fields,
    .shipping-address-fields {
        display: flex;
        flex-direction: column;

        gap: 19px;
    }

    .shipping-address-fields {
        margin-top: 19px;
    }

    .shipping-city-fields {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 19px;

        margin-top: 19px;
    }

    .shipping-city-fields .field:first-child {
        grid-column: 1 / -1;
    }

    .privacy-section {
        margin-top: 30px;
    }

    .privacy-section h3 {
        font-size: 16px;
    }

    .privacy-section p {
        font-size: 12px;
        line-height: 1.45;
    }

    .order-summary h2 {
        margin-bottom: 25px;

        font-size: 24px;
    }

    .summary-row {
        font-size: 15px;
    }

    .shipping-note {
        margin: 28px 0 25px;

        font-size: 14px;
    }

    .coupon-area {
        grid-template-columns:
            minmax(0, 1fr)
            100px;

        margin-bottom: 30px;
    }

    .coupon-area > span {
        font-size: 14px;
    }

    .coupon-area input {
        width: 100px;
        height: 46px;
    }

    .coupon-area button {
        font-size: 14px;
    }

    .checkout-button {
        width: 100%;
        max-width: 260px;

        height: 58px;

        font-size: 17px;
    }


    /* =====================================================
       TRACKING MOBILE
    ===================================================== */

    .tracking-alert {
        min-height: 0;

        display: block;

        padding: 12px 12px;

        font-size: 13px;

        line-height: 1.25;
    }

    .tracking-alert span {
        display: block;
    }

    .tracking-alert a {
        display: inline-block;

        margin-top: 2px;
    }

    .tracking-main {
        width: calc(100% - 20px);

        padding-top: 55px;
    }

    .tracking-title-row {
        display: grid;

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

        gap: 15px;

        align-items: end;

        margin-bottom: 50px;
    }

    .tracking-title-row h1 {
        font-size: 29px;

        line-height: .98;
    }

    .tracking-title-row h1 sup {
        font-size: 9px;

        top: -11px;
    }

    .tracking-tabs {
        gap: 12px;

        font-size: 13px;
    }

    .tracking-tabs a {
        padding-bottom: 7px;
    }

    .tracking-tabs > span {
        font-size: 22px;
    }

    .tracking-tabs b {
        font-size: 20px;
    }


    /* BANNER */

    .informed-banner {
        width: 100%;

        min-height: 120px;

        margin: 0 0 48px;

        display: grid;

        grid-template-columns:
            40%
            60%;
    }

    .informed-left {
        width: 100%;

        min-height: 120px;

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 5px;

        padding: 10px;

        clip-path:
            polygon(
                0 0,
                100% 0,
                90% 100%,
                0 100%
            );

        text-align: center;
    }

    .runner {
        font-size: 24px;
    }

    .informed-left strong {
        font-size: 13px;
    }

    .informed-copy {
        width: 100%;

        display: flex;
        flex-direction: column;

        justify-content: center;

        gap: 10px;

        padding: 13px 10px;

        font-size: 13px;

        text-align: center;
    }

    .learn-more {
        width: 100%;
        min-width: 0;

        height: 38px;

        font-size: 13px;
    }


    /* SEARCH */

    .tracking-search-section {
        margin-bottom: 30px;
    }

    .tracking-search-row {
        width: 100%;

        display: flex;

        flex-direction: column;

        gap: 10px;
    }

    .tracking-search-row textarea {
        width: 100%;

        height: 55px;

        min-height: 55px;

        font-size: 15px;
    }

    .track-button {
        width: 100%;

        height: 52px;

        font-size: 18px;
    }


    /* FAQ */

    .tracking-faqs {
        width: 100%;

        margin-bottom: 30px;
    }

    .faq-item {
        min-height: 48px;

        font-size: 17px;
    }

    .faq-chevron {
        width: 12px;
        height: 12px;

        border-width: 2px;
    }


    /* RESULT */

    .tracking-result {
        margin-top: 30px;
    }

    .demo-note {
        font-size: 11px;
    }

    .package-card {
        padding:
            20px
            16px
            25px;
    }

    .package-header {
        gap: 15px;

        padding-bottom: 20px;
    }

    .package-header h2 {
        font-size: 23px;
    }

    .tracking-number {
        font-size: 14px;
    }

    .current-status {
        min-width: 105px;

        padding-top: 52px;
    }

    .current-status span {
        font-size: 9px;
    }

    .current-status strong {
        font-size: 15px;
    }


    /* PACKAGE */

    .package-content {
        display: flex;
        flex-direction: column;

        gap: 24px;

        padding: 24px 0;
    }

    .package-visual {
        width: 100%;

        display: flex;
        flex-direction: row;

        justify-content: center;

        gap: 15px;
    }

    .package-image-frame {
        width: 145px;
        height: 155px;
    }

    .package-image {
        width: 135px;
        max-height: 145px;
    }

    .package-caption {
        align-self: center;

        margin: 0;

        font-size: 12px;
    }

    .package-details {
        width: 100%;

        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px 18px;
    }

    .detail span {
        font-size: 9px;
    }

    .detail strong {
        font-size: 14px;
    }


    /* =====================================================
       MOBILE TIMELINE
    ===================================================== */

    .tracking-progress {
        width: 100%;

        display: flex;

        flex-direction: column;

        gap: 0;

        padding:
            15px
            0
            20px
            10px;
    }

    .progress-line {
        left: 18px;
        right: auto;

        top: 18px;
        bottom: 28px;

        width: 4px;
        height: auto;

        background: #d2d2d2;
    }

    .progress-step {
        width: 100%;

        min-height: 73px;

        display: grid;

        grid-template-columns:
            35px
            minmax(0, 1fr);

        grid-template-rows:
            auto
            auto;

        column-gap: 12px;

        align-items: start;

        text-align: left;
    }

    .progress-dot {
        grid-row: 1 / 3;

        width: 17px;
        height: 17px;

        margin: 0;

        justify-self: center;
    }

    .progress-step strong {
        max-width: none;

        font-size: 14px;
    }

    .progress-step span {
        max-width: none;

        margin-top: 2px;

        font-size: 12px;
    }


    /* HISTORY */

    .tracking-history {
        max-width: 100%;

        padding-top: 15px;
    }

    .tracking-history h3 {
        font-size: 18px;
    }

    .history-row {
        grid-template-columns:
            105px
            minmax(0, 1fr);

        gap: 12px;

        padding: 16px 0;
    }

    .history-row time {
        font-size: 11px;
    }

    .history-row div {
        font-size: 12px;
    }

    .billing-navigation a {
        width: 100%;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 390px) {

    .brand-wrap {
        flex-basis: 145px;
    }

    .brand-logo {
        width: 137px;
    }

    .main-nav .nav-item.active {
        max-width: 95px;
    }

    .search-button {
        width: 42px;
        flex-basis: 42px;
    }

    .checkout-page {
        width: calc(100% - 18px);
    }

    .checkout-page > h1 {
        font-size: 27px;
    }

    .step {
        font-size: 8px;
    }

    .payment-small-row {
        grid-template-columns: 1fr;
    }

    .shipping-city-fields {
        grid-template-columns: 1fr;
    }

    .shipping-city-fields .field:first-child {
        grid-column: auto;
    }

    .order-summary {
        padding:
            22px
            16px
            27px;
    }

    .coupon-area {
        grid-template-columns:
            minmax(0, 1fr)
            90px;
    }

    .coupon-area input {
        width: 90px;
    }

    .tracking-main {
        width: calc(100% - 16px);
    }

    .tracking-title-row {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .tracking-tabs {
        justify-content: flex-start;
    }

    .informed-banner {
        grid-template-columns:
            38%
            62%;
    }

    .informed-left strong {
        font-size: 11px;
    }

    .informed-copy {
        font-size: 11px;
    }

    .package-card {
        padding-left: 12px;
        padding-right: 12px;
    }

    .package-header h2 {
        font-size: 21px;
    }

    .current-status {
        min-width: 90px;
    }

    .current-status strong {
        font-size: 13px;
    }

    .package-visual {
        justify-content: flex-start;
    }

    .package-image-frame {
        width: 120px;
        height: 140px;
    }

    .package-image {
        width: 112px;
        max-height: 130px;
    }

    .package-details {
        gap: 18px 12px;
    }

    .detail strong {
        font-size: 13px;
    }

    .history-row {
        grid-template-columns:
            92px
            minmax(0, 1fr);
    }
}