/*
 * Shared public mobile header
 *
 * Keeps the reference header, offer bar and four-benefit strip identical on
 * every public page that renders includes/front/header.blade.php.
 */
@media (max-width: 767px) {
    .global-header-shell {
        padding-top: var(--ln-header-h, 72px);
        background: #fff;
    }

    .global-header-shell .ln-public-header,
    .global-header-shell header.header {
        min-height: 72px;
    }

    .global-header-shell .ln-public-header__inner,
    .global-header-shell .head-inner {
        grid-template-columns: minmax(104px, 1fr) auto auto;
        width: calc(100% - 24px);
        min-height: 72px;
        gap: 0;
        padding: 4px 0 !important;
    }

    .global-header-shell .ln-public-brand,
    .global-header-shell .head-inner > a.logo {
        width: min(126px, 100%) !important;
        max-width: 126px !important;
        min-height: 50px;
    }

    .global-header-shell .ln-public-brand img,
    .global-header-shell .head-inner > a.logo img {
        height: 50px !important;
    }

    .global-header-shell .ln-public-utility,
    .global-header-shell .head-inner .top-contact {
        gap: 8px;
    }

    .global-header-shell .ln-public-phone,
    .global-header-shell .head-inner .top-contact a.call {
        display: inline-flex !important;
        gap: 6px;
        min-height: 36px;
        padding: 0 !important;
        border-right: 0;
        font-size: 11px !important;
        font-weight: 600 !important;
    }

    .global-header-shell .ln-public-header-actions a.call > .icon {
        font-size: 14px;
    }

    .global-header-shell .ln-public-account,
    .global-header-shell .head-inner .top-contact .account-link,
    .global-header-shell .head-inner .top-contact a.btn.login {
        width: 36px !important;
        min-width: 36px !important;
        height: 36px !important;
        min-height: 36px;
    }

    .global-header-shell .togglebtn,
    .global-header-shell .head-inner .togglebtn {
        width: 36px !important;
        height: 36px !important;
        margin-left: 7px !important;
        border: 0 !important;
        border-radius: 0 !important;
    }

    .global-header-shell .home-offer-strip {
        display: flex !important;
        min-height: 58px;
        gap: 13px;
        padding: 8px 16px;
        background: linear-gradient(90deg, #bb0044 0%, #d30053 52%, #c10049 100%);
        color: #fff;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.35;
        text-align: left;
    }

    .global-header-shell .home-offer-strip > span:last-child {
        max-width: 285px;
    }

    .global-header-shell .home-offer-icon {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        border-color: #fff;
        font-size: 19px;
    }

    .global-header-shell .home-trust-strip {
        display: block !important;
        background: #061538;
    }

    .global-header-shell .home-trust-strip-inner {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
        max-width: none;
        min-height: 83px;
        padding: 0 !important;
    }

    .global-header-shell .home-trust-item,
    .global-header-shell .home-trust-item:nth-child(2),
    .global-header-shell .home-trust-item:nth-child(3),
    .global-header-shell .home-trust-item:nth-child(4) {
        min-height: 52px;
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 6px;
        padding: 0 5px;
        border-right: 1px solid rgba(255, 255, 255, .32);
        border-bottom: 0;
        color: #fff;
        font-size: 8px;
        font-weight: 600;
        line-height: 1.35;
        text-align: center;
        text-transform: uppercase;
    }

    .global-header-shell .home-trust-item:nth-child(4) {
        border-right: 0;
    }

    .global-header-shell .home-trust-item:nth-child(5) {
        display: none !important;
    }

    .global-header-shell .home-trust-item i {
        margin: 0;
        font-size: 22px;
    }

    .global-header-shell .home-trust-item:nth-child(1) i,
    .global-header-shell .home-trust-item:nth-child(3) i {
        color: #079eff;
    }

    .global-header-shell .home-trust-item:nth-child(2) i {
        color: #ed0061;
    }

    .global-header-shell .home-trust-item:nth-child(4) i {
        color: #ffb20b;
    }
}

@media (max-width: 374px) {
    .global-header-shell .ln-public-brand,
    .global-header-shell .head-inner > a.logo {
        width: min(112px, 100%) !important;
        max-width: 112px !important;
    }

    .global-header-shell .ln-public-phone,
    .global-header-shell .head-inner .top-contact a.call {
        font-size: 10px !important;
    }

    .global-header-shell .ln-public-header-actions a.call > .icon {
        display: none;
    }

    .global-header-shell .home-trust-item,
    .global-header-shell .home-trust-item:nth-child(2),
    .global-header-shell .home-trust-item:nth-child(3),
    .global-header-shell .home-trust-item:nth-child(4) {
        padding-inline: 3px;
        font-size: 7px;
    }
}
