.order-shared-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid #dfe5e1;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 24px rgba(28, 49, 39, .04);
    backdrop-filter: blur(16px);
}

.order-shared-header__inner {
    width: min(100% - 32px, 1240px);
    min-height: 72px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.order-shared-header__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.order-shared-header__brand img {
    display: block;
    width: auto;
    height: 42px;
    max-width: min(195px, 42vw);
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(19%) sepia(23%) saturate(1510%) hue-rotate(174deg) brightness(91%) contrast(91%);
}

.order-shared-header__navigation {
    position: static;
    inset: auto;
    display: flex;
    width: auto;
    height: auto;
    min-height: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    transform: none;
}

.order-shared-header__navigation form {
    display: flex;
    margin: 0;
}

.order-shared-header__link {
    text-decoration: none;
}

.order-shared-header__action {
    appearance: none;
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 9px 14px;
    color: #15583f;
    background: transparent;
    box-sizing: border-box;
    font: inherit;
    font-size: .88rem;
    font-weight: 750;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition:
        color .16s ease,
        background-color .16s ease,
        border-color .16s ease,
        box-shadow .16s ease,
        transform .16s ease;
}

.order-shared-header__action--primary {
    border-color: #207857;
    color: #fff;
    background: #207857;
    box-shadow: 0 6px 14px rgba(32, 120, 87, .18);
}

.order-shared-header__action--secondary {
    border-color: #b8d3c7;
    color: #15583f;
    background: #f3f8f5;
}

.order-shared-header__action--quiet {
    border-color: #d7dfdb;
    color: #4f5f57;
    background: #fff;
}

.order-shared-header__action:hover {
    transform: translateY(-1px);
}

.order-shared-header__action--primary:hover {
    border-color: #15583f;
    background: #15583f;
    box-shadow: 0 8px 18px rgba(21, 88, 63, .22);
}

.order-shared-header__action--secondary:hover {
    border-color: #83ad9a;
    background: #e7f2ec;
}

.order-shared-header__action--quiet:hover {
    border-color: #b6c3bc;
    color: #263d33;
    background: #f6f8f7;
}

.order-shared-header__action:focus-visible {
    outline: 3px solid rgba(32, 120, 87, .22);
    outline-offset: 2px;
}

.order-shared-header__action:active {
    box-shadow: none;
    transform: translateY(0);
}

.order-shared-footer {
    border-top: 1px solid #dfe5e1;
    color: #65716b;
    background: #fff;
}

.order-shared-footer__inner {
    width: min(100% - 32px, 980px);
    min-height: 80px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.order-shared-footer nav {
    display: flex;
    gap: 20px;
}

.order-shared-footer a {
    color: inherit;
}

@media (max-width: 600px) {
    .order-shared-header__inner {
        min-height: 64px;
        gap: 14px;
    }

    .order-shared-header__brand img {
        width: auto;
        height: 34px;
        max-width: min(152px, 42vw);
    }

    .order-shared-header__navigation {
        min-width: 0;
        gap: 6px;
    }

    .order-shared-header__action {
        min-height: 36px;
        padding: 8px 10px;
        font-size: .78rem;
    }

    .order-shared-header__inner:has(.order-shared-header__navigation--custom) {
        flex-wrap: wrap;
        padding-block: 10px;
    }

    .order-shared-header__navigation--custom {
        display: grid;
        width: 100%;
        grid-template-columns: minmax(0, 1fr) auto;
        order: 2;
    }

    .order-shared-header__navigation--custom form,
    .order-shared-header__navigation--custom .order-shared-header__action {
        min-width: 0;
    }

    .order-shared-header__navigation--custom form .order-shared-header__action {
        width: 100%;
    }

    .order-shared-footer__inner {
        min-height: 96px;
        flex-direction: column;
        justify-content: center;
        gap: 12px;
    }
}

@media (max-width: 360px) {
    .order-shared-footer nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
    }

    .order-shared-header__inner {
        gap: 8px;
    }

    .order-shared-header__brand img {
        max-width: min(140px, 39vw);
    }
}
