.service-header,
.service-header * {
    box-sizing: border-box;
}

.service-header {
    position: relative;
    z-index: 2;
    color: #fff;
    background: #021a4a;
    box-shadow: 0 3px 12px rgb(2 26 74 / 18%);
    font-family: Arial, Helvetica, sans-serif;
}

.service-header-inner {
    display: flex;
    width: calc(100% - 64px);
    min-height: 224px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 auto;
}

.service-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}

.service-brand img {
    display: block;
    width: auto;
    height: 170px;
    object-fit: contain;
}

.service-brand-wordmark {
    display: grid;
    gap: 3px;
    color: #e8b744;
    text-align: center;
    white-space: nowrap;
}

.service-brand-wordmark strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    letter-spacing: .035em;
    line-height: 1;
}

.service-brand-wordmark small {
    padding-top: 3px;
    border-top: 1px solid #e8b744;
    color: #fff;
    font-size: clamp(.55rem, .9vw, .7rem);
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.6;
}

.service-nav {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(8px, 1.05vw, 16px);
}

.service-nav a {
    display: block;
    padding: 10px 0;
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none;
    white-space: nowrap;
}

.service-nav a:hover,
.service-nav a.is-current,
.service-nav a[aria-current="page"] {
    color: #c9a84c;
}

.service-header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.service-btn-login,
.service-btn-start {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border: 1px solid #c9a84c;
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.service-header .service-btn-start {
    color: #021a4a;
    background: #c9a84c;
}

.service-cart-shortcut {
    position: relative;
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(201 168 76 / 55%);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
}

.service-cart-shortcut:hover,
.service-cart-shortcut:focus-visible {
    border-color: #c9a84c;
    color: #c9a84c;
}

.service-cart-shortcut svg {
    width: 20px;
    height: 20px;
}

.service-cart-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    display: inline-flex;
    min-width: 19px;
    height: 19px;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 99px;
    background: #c9a84c;
    color: #021a4a;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

.service-menu-toggle {
    display: none;
    width: 44px;
    min-height: 44px;
    align-content: center;
    gap: 6px;
    margin-left: auto;
    padding: 7px 0;
    border: 0;
    color: #fff;
    background: transparent;
    cursor: pointer;
}

.service-menu-toggle span {
    display: block;
    width: 40px;
    height: 3px;
    background: currentColor;
}

.service-menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(9px) rotate(45deg);
}

.service-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.service-menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-9px) rotate(-45deg);
}

@media (min-width: 700px) and (max-height: 850px) {
    .service-header-inner {
        min-height: 166px;
    }

    .service-brand img {
        height: 132px;
    }
}

@media (max-width: 1100px) {
    .service-menu-toggle {
        display: grid;
    }

    .service-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 12px 24px 26px;
        background: #021a4a;
    }

    .service-nav.is-open {
        display: flex;
    }

    .service-nav a {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgb(255 255 255 / 12%);
        font-size: .95rem;
        font-weight: 400;
        white-space: normal;
    }

    .service-header-actions {
        display: none;
    }
}

@media (max-width: 560px) {
    .service-header-inner {
        width: calc(100% - 36px);
        min-height: 146px;
    }

    .service-brand img {
        width: auto;
        height: 96px;
    }

    .service-brand-wordmark strong {
        font-size: clamp(.9rem, 3.8vw, 1.2rem);
    }

    .service-brand-wordmark small {
        font-size: clamp(.45rem, 2vw, .58rem);
    }
}
