.mg-site-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    font-family: Arial, sans-serif
}

.mg-header-main__inner,
.mg-category-nav__inner,
.mg-services-nav__inner,
.mg-portal-nav__inner {
    width: min(100%, 1440px);
    margin: 0 auto;
    padding-inline: 24px
}

.mg-header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none
}

.mg-header-logo img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain
}

.mg-header-main__inner {
    display: grid;
    grid-template-columns: auto 72px minmax(280px, 1fr) auto;
    align-items: center;
    gap: 28px;
    min-height: 82px
}

.mg-universe-switcher {
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 999px
}

.mg-universe-switcher a {
    padding: 10px 16px;
    border-radius: 999px;
    color: #15171a;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap
}

.mg-universe-switcher a.is-active {
    color: #fff;
    background: var(--main-blue, #071c3b);
    box-shadow: 0 3px 10px rgba(7, 28, 59, .18)
}

.mg-header-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border: 1px solid #cfd3d8;
    background: #f7f7f8
}

.mg-header-search:focus-within {
    border-color: #041039;
    background: #fff;
    box-shadow: 0 0 0 1px #041039
}

.mg-header-search input {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #15171a;
    font-size: 15px
}

.mg-header-actions {
    display: flex;
    align-items: center;
    gap: 5px
}

.mg-header-action {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 62px;
    min-height: 58px;
    padding: 6px;
    color: #07182e;
    border: 0;
    background: transparent;
    text-decoration: none;
    font-size: 11px;
    white-space: nowrap
}

.mg-header-action>i,
.mg-action-icon>i {
    font-size: 21px
}

.mg-action-icon {
    position: relative;
    display: flex
}

.mg-action-icon b {
    position: absolute;
    top: -9px;
    right: -12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    color: #fff;
    background: #df241c;
    font-size: 10px
}

.mg-action-icon b.is-empty {
    display: none
}

.mg-header-services-title {
    color: #6f747a;
    font-size: 14px;
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase
}

.mg-category-nav,
.mg-services-nav {
    position: relative;
    border-top: 1px solid #ededed;
    background: #fff
}

.mg-category-nav__inner,
.mg-services-nav__inner {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.2vw, 22px);
    min-height: 50px;
    max-width: 100%;
}

.mg-category-item {
    display: flex;
    align-items: center;
    /* height: 50px */
    height: 25px

}

.mg-category-item {
    flex: 0 0 auto;
    min-width: 0;
}

.mg-category-nav {
    width: 100%;
    max-width: 100%;
}

.mg-category-link,
.mg-services-nav a {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    color: #15171a;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap
}

.mg-category-link:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--main-blue, #071c3b);
    transform: scaleX(0);
    transition: transform .16s ease
}

.mg-category-item.is-open>.mg-category-link:after,
.mg-category-link:hover:after {
    transform: scaleX(1)
}

.mg-category-mega {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1060;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: #fff;
    border-top: 1px solid #e8e8e8;
    box-shadow: 0 24px 52px rgba(15, 23, 42, .14);
    transform: translateY(-7px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s
}

.mg-category-item.is-open .mg-category-mega {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none
}

.mg-category-mega__inner {
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 28px 24px 38px
}

.mg-category-mega__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #ececec
}

.mg-category-mega__heading span {
    display: block;
    margin-bottom: 5px;
    color: #767b82;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase
}

.mg-category-mega__heading strong {
    display: block;
    color: #081b5c;
    font-size: 25px
}

.mg-category-mega__heading a {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #071c3b;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none
}

.mg-category-mega__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 36px;
    padding-top: 18px
}

.mg-category-mega__grid>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    color: #22272e;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    font-size: 14px
}

.mg-category-mega__grid>a:hover {
    color: var(--main-blue, #071c3b);
    font-weight: 700
}

.mg-category-mega__grid i {
    font-size: 10px
}

.mg-collection-menu {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding-top: 24px;
}

.mg-collection-menu > a {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-width: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    padding: 22px 20px;
    border: 1px solid rgba(16, 24, 32, 0.08);
    border-radius: 18px;
    background: #edf1f4;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(16, 24, 32, 0.08);
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.mg-collection-menu > a::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        linear-gradient(
            180deg,
            rgba(6, 15, 25, 0.02) 25%,
            rgba(6, 15, 25, 0.2) 55%,
            rgba(6, 15, 25, 0.88) 100%
        );
    pointer-events: none;
}

.mg-collection-menu img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    transition: transform 500ms cubic-bezier(.2, .7, .2, 1);
}

.mg-collection-menu span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 14px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.mg-collection-menu span::after {
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #041039;
    content: "\2192";
    font-size: 17px;
    line-height: 1;
    text-shadow: none;
    transition: transform 220ms ease;
}

.mg-collection-menu > a:hover {
    border-color: rgba(16, 24, 32, 0.16);
    box-shadow: 0 14px 34px rgba(16, 24, 32, 0.15);
    color: #fff;
    transform: translateY(-3px);
}

.mg-collection-menu > a:hover img {
    transform: scale(1.045);
}

.mg-collection-menu > a:hover span::after {
    transform: translateX(3px);
}

@media (max-width: 1199.98px) {
    .mg-collection-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .mg-collection-menu {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        margin-right: -16px;
        padding: 18px 16px 12px 0;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

    .mg-collection-menu::-webkit-scrollbar {
        display: none;
    }

    .mg-collection-menu > a {
        flex: 0 0 min(78vw, 300px);
        aspect-ratio: 4 / 3;
        padding: 18px;
        border-radius: 16px;
        scroll-snap-align: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mg-collection-menu > a,
    .mg-collection-menu img,
    .mg-collection-menu span::after {
        transition: none;
    }
}

.mg-services-nav__inner {
    justify-content: center
}

.mg-services-nav a:hover {
    color: var(--main-blue, #071c3b)
}

.mg-portal-nav__inner {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 90px;
    align-items: center;
    gap: 30px;
    min-height: 96px
}

.mg-portal-destinations {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px
}

.mg-portal-destination {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 205px;
    padding: 13px 17px;
    color: #081b5c;
    border: 1px solid #e2e5e9;
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease
}

.mg-portal-destination:hover {
    color: #081b5c;
    border-color: #aeb6c0;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .08);
    transform: translateY(-1px)
}

.mg-portal-destination>i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    background: var(--main-blue, #071c3b);
    font-size: 16px
}

.mg-portal-destination strong,
.mg-portal-destination small {
    display: block
}

.mg-portal-destination strong {
    font-size: 14px
}

.mg-portal-destination small {
    margin-top: 3px;
    color: #73777d;
    font-size: 11px
}

.mg-search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    z-index: 1100;
    display: none;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e5e9;
    box-shadow: 0 22px 55px rgba(15, 23, 42, .15)
}

.mg-search-dropdown.is-open {
    display: block
}

.mg-search-state {
    padding: 14px 16px;
    color: #73777d;
    border-bottom: 1px solid #eee;
    font-size: 13px
}

.mg-search-result {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    color: #081b5c;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none
}

.mg-search-result:hover {
    background: #f7f8fa;
    color: #081b5c
}

.mg-search-result img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    background: #fff
}

.mg-search-result span,
.mg-search-result strong {
    display: block
}

.mg-search-result span {
    color: #777;
    font-size: 11px
}

.mg-search-result strong {
    margin-top: 3px;
    font-size: 13px
}

.mg-search-result b {
    font-size: 13px
}

.mg-search-all {
    display: none;
    padding: 14px 16px;
    color: #fff;
    background: #071c3b;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700
}

.mg-search-all.is-active {
    display: block
}

.mg-mobile-open {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: transparent
}

.mg-mobile-open span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: #07182e
}

.mg-mobile-menu {
    width: min(90vw, 390px) !important
}

.mg-mobile-menu .offcanvas-header {
    min-height: 74px;
    border-bottom: 1px solid #ececec
}

.mg-mobile-menu .offcanvas-header img {
    width: 56px;
    height: 56px;
    object-fit: contain
}

.mg-mobile-search-button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: calc(100% - 32px);
    height: 46px;
    margin: 16px;
    padding: 0 15px;
    color: #6d7278;
    border: 1px solid #d8dce1;
    background: #f6f7f8;
    text-align: left
}

.mg-mobile-panel {
    display: none
}

.mg-mobile-panel.is-active {
    display: block
}

.mg-mobile-label {
    padding: 22px 20px 8px;
    color: #8a8f96;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase
}

.mg-mobile-row,
.mg-mobile-back {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 12px 20px;
    color: #081b5c;
    border: 0;
    border-bottom: 1px solid #efefef;
    background: #fff;
    text-align: left;
    text-decoration: none;
    font-size: 14px
}

.mg-mobile-row i {
    font-size: 11px
}

.mg-mobile-row--all {
    font-weight: 700
}

.mg-mobile-back {
    justify-content: flex-start;
    gap: 14px;
    min-height: 62px;
    background: #f6f7f8
}

.mg-mobile-back i {
    font-size: 13px
}

.mg-mobile-search-trigger {
    display: none
}

.mg-menu-open {
    overflow: hidden
}

@media(max-width:1199.98px) {
    .mg-site-header {
        position: sticky
    }

    .mg-category-nav,
    .mg-services-nav,
    .mg-universe-switcher,
    .mg-header-search,
    .mg-header-services-title,
    .mg-portal-destinations,
    .mg-header-account {
        display: none
    }

    .mg-header-main__inner,
    .mg-portal-nav__inner {
        grid-template-columns: 64px 1fr auto;
        min-height: 70px;
        padding-inline: 16px;
        gap: 10px
    }

    .mg-header-main__inner>.mg-header-logo {
        grid-column: 1
    }

    .mg-header-main__inner>.mg-header-actions {
        grid-column: 3
    }

    .mg-portal-nav__inner>.mg-header-logo {
        grid-column: 1
    }

    .mg-header-actions .mg-header-action:not(.mg-mobile-search-trigger) {
        min-width: 44px
    }

    .mg-header-action>span:last-child {
        display: none
    }

    .mg-header-action {
        min-width: 44px
    }

    .mg-header-logo img {
        width: 54px;
        height: 54px
    }

   .mg-mobile-open {
        display: block;
    }

    .mg-mobile-search-trigger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        appearance: none;
        border: 0;
        background: transparent;
        color: inherit;
        font: inherit;
        line-height: 1;
    }

    .mg-header-actions {
        gap: 0
    }

    .mg-action-icon b {
        top: -7px;
        right: -10px
    }

    .mg-portal-nav__inner .mg-mobile-open {
        grid-column: 3
    }

    .mg-category-mega__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:575.98px) {
    .mg-header-main__inner {
        padding-inline: 10px
    }

    .mg-header-actions .mg-header-action {
        min-width: 40px;
        padding-inline: 4px
    }

    .mg-header-actions .mg-header-action>i,
    .mg-action-icon>i {
        font-size: 20px
    }
}

.mg-mobile-search-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s
}

.mg-mobile-search-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto
}

.mg-mobile-search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 15, 32, .58);
    backdrop-filter: blur(4px)
}

.mg-mobile-search-panel {
    position: absolute;
    top: 20px;
    left: 50%;
    display: flex;
    flex-direction: column;
    width: min(calc(100% - 28px), 620px);
    max-height: calc(100dvh - 40px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(3, 15, 32, .28);
    transform: translate(-50%, -16px);
    transition: transform .22s ease
}

.mg-mobile-search-modal.is-open .mg-mobile-search-panel {
    transform: translate(-50%, 0)
}

.mg-mobile-search-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    padding: 18px 20px;
    border-bottom: 1px solid #eceff2
}

.mg-mobile-search-head span {
    display: block;
    margin-bottom: 3px;
    color: #7a8088;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase
}

.mg-mobile-search-head #mgMobileSearchTitle {
    margin: 0;
    color: #041039;
    font-size: 26px;
    line-height: 1.05
}

.mg-mobile-search-close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    color: #041039;
    border: 1px solid #dfe3e7;
    border-radius: 50%;
    background: #fff;
    font-size: 18px
}

.mg-mobile-search-form {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 10px;
    height: 54px;
    margin: 16px 18px 0;
    padding-left: 16px;
    border: 1px solid #cfd4da;
    border-radius: 14px;
    background: #f6f7f8
}

.mg-mobile-search-form:focus-within {
    border-color: #071c3b;
    box-shadow: 0 0 0 1px #071c3b
}

.mg-mobile-search-form i {
    color: #5e6670
}

.mg-mobile-search-form input {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #041039;
    font-size: 16px
}

.mg-mobile-search-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 52px;
    padding: 0;
    color: #fff;
    border: 0;
    border-radius: 0 13px 13px 0;
    background: #071c3b
}

.mg-mobile-search-state {
    padding: 14px 20px 8px;
    color: #747b84;
    font-size: 13px
}

.mg-mobile-search-results {
    display: grid;
    gap: 8px;
    min-height: 0;
    padding: 6px 18px 14px;
    overflow-y: auto;
    overscroll-behavior: contain
}

.mg-mobile-search-product {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    min-height: 88px;
    padding: 8px;
    color: #041039;
    border: 1px solid #eceff2;
    border-radius: 14px;
    background: #fff;
    text-decoration: none
}

.mg-mobile-search-product:hover {
    color: #041039;
    border-color: #cfd5dc;
    background: #fafafa;
    text-decoration: none
}

.mg-mobile-search-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 10px;
    background: #f5f6f7
}

.mg-mobile-search-product-image img {
    display: block;
    width: 72px !important;
    height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
    object-fit: contain
}

.mg-mobile-search-product-info {
    min-width: 0
}

.mg-mobile-search-product-info span {
    display: block;
    margin-bottom: 3px;
    overflow: hidden;
    color: #777f88;
    font-size: 10px;
    letter-spacing: .04em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap
}

.mg-mobile-search-product-info h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #041039;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2
}

.mg-mobile-search-product-info strong {
    display: block;
    margin-top: 6px;
    color: #071c3b;
    font-size: 13px
}

.mg-mobile-search-all {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    min-height: 48px;
    margin: 0 18px 16px;
    color: #fff;
    border-radius: 12px;
    background: #071c3b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700
}

.mg-mobile-search-all.is-active {
    display: flex
}

.mg-mobile-search-all:hover {
    color: #fff;
    background: #12345f;
    text-decoration: none
}

body.mg-mobile-search-open {
    overflow: hidden
}

@media(min-width:1200px) {
    .mg-mobile-search-modal {
        display: none !important
    }
}

@media(max-width:420px) {
    .mg-mobile-search-panel {
        top: 10px;
        width: calc(100% - 20px);
        max-height: calc(100dvh - 20px);
        border-radius: 18px
    }

    .mg-mobile-search-head {
        min-height: 72px;
        padding: 14px 16px
    }

    .mg-mobile-search-head #mgMobileSearchTitle {
        font-size: 23px
    }

    .mg-mobile-search-form {
        margin: 12px 12px 0
    }

    .mg-mobile-search-state {
        padding-inline: 15px
    }

    .mg-mobile-search-results {
        padding: 5px 12px 12px
    }

    .mg-mobile-search-all {
        margin: 0 12px 12px
    }

    .mg-mobile-search-product {
        grid-template-columns: 64px minmax(0, 1fr);
        min-height: 80px
    }

    .mg-mobile-search-product-image,
    .mg-mobile-search-product-image img {
        width: 64px !important;
        height: 64px !important;
        max-width: 64px !important;
        max-height: 64px !important
    }
}

.mg-category-nav__inner, .mg-services-nav__inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    /* gap: clamp(30px, 1vw, 64px); */
    width: 100%;
    max-width: 1440px;
    min-height: 52px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.mg-category-link {
    border: 0;
    background: transparent;
    font-size: 15px;
    font-weight: 500;
}

.mg-grouped-menu {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(180px, 1fr)
    );
    gap: 34px;
    padding-top: 24px;
}

.mg-grouped-menu__column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mg-grouped-menu__column a {
    color: #555c65;
    font-size: 14px;
    text-decoration: none;
}

.mg-grouped-menu__column a:hover {
    color: var(--main-blue);
    text-decoration: underline;
}

.mg-grouped-menu__title {
    padding-bottom: 10px;
    color: #081b5c !important;
    border-bottom: 2px solid #081b5c;
    font-weight: 700;
    text-decoration: none !important;
}

.mg-service-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 900px;
    padding-top: 24px;
}

.mg-service-menu__card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 104px;
    padding: 20px;
    color: #081b5c;
    border: 1px solid #e3e6ea;
    border-radius: 18px;
    background: #fff;
    text-decoration: none;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.mg-service-menu__card:hover {
    color: #081b5c;
    border-color: rgba(7, 28, 59, 0.28);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.09);
    text-decoration: none;
    transform: translateY(-2px);
}

.mg-service-menu__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    color: #fff;
    border-radius: 50%;
    background: var(--main-blue);
    font-size: 18px;
}

.mg-service-menu__content {
    min-width: 0;
}

.mg-service-menu__content strong,
.mg-service-menu__content small {
    display: block;
}

.mg-service-menu__content strong {
    margin-bottom: 5px;
    color: #081b5c;
    font-size: 15px;
}

.mg-service-menu__content small {
    color: #707780;
    font-size: 13px;
    line-height: 1.45;
}

.mg-service-menu__card > i {
    color: var(--main-blue);
    font-size: 13px;
}

.mg-mobile-menu .offcanvas-body {
    overflow-x: hidden;
    background: #fff;
}

.mg-mobile-panel {
    display: none;
    min-height: 100%;
    background: #fff;
}

.mg-mobile-panel.is-active {
    display: block;
    animation: mgMobilePanelEnter 180ms ease both;
}

@keyframes mgMobilePanelEnter {
    from {
        opacity: 0;
        transform: translateX(14px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mg-mobile-label {
    padding: 22px 20px 9px;
    color: #858b93;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.mg-mobile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    min-height: 54px;
    padding: 13px 20px;
    color: #081b5c;
    border: 0;
    border-bottom: 1px solid #edf0f2;
    background: #fff;
    text-align: left;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    transition:
        color 160ms ease,
        background 160ms ease;
}

.mg-mobile-row:hover,
.mg-mobile-row:focus-visible {
    color: var(--main-blue);
    background: #f7f8fa;
    text-decoration: none;
}

.mg-mobile-row.is-current {
    color: var(--main-blue);
    background: #f4f7fb;
    font-weight: 700;
}

.mg-mobile-row > span:first-child {
    min-width: 0;
}

.mg-mobile-row > i {
    flex: 0 0 auto;
    color: #858b93;
    font-size: 11px;
}

.mg-mobile-row:hover > i,
.mg-mobile-row:focus-visible > i {
    color: var(--main-blue);
}

.mg-mobile-back {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    min-height: 64px;
    padding: 14px 20px;
    color: #041039;
    border: 0;
    border-bottom: 1px solid #e5e8eb;
    background: rgba(247, 248, 250, 0.96);
    backdrop-filter: blur(12px);
    text-align: left;
}

.mg-mobile-back:hover,
.mg-mobile-back:focus-visible {
    background: #eef1f4;
}

.mg-mobile-back > i {
    flex: 0 0 auto;
    font-size: 13px;
}

.mg-mobile-back > strong {
    overflow: hidden;
    font-size: 15px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mg-mobile-service-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 12px;
    align-items: center;
    gap: 14px;
    min-height: 82px;
    margin: 14px 16px 0;
    padding: 15px;
    color: #081b5c;
    border: 1px solid #e2e6ea;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.055);
    text-decoration: none;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.mg-mobile-service-card:hover,
.mg-mobile-service-card:focus-visible {
    color: #081b5c;
    border-color: rgba(7, 28, 59, 0.3);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
    text-decoration: none;
    transform: translateY(-1px);
}

.mg-mobile-service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #fff;
    border-radius: 50%;
    background:
        linear-gradient(
            145deg,
            var(--main-blue),
            #174780
        );
    box-shadow: 0 8px 18px rgba(7, 28, 59, 0.2);
    font-size: 17px;
}

.mg-mobile-service-card > span:nth-child(2) {
    min-width: 0;
}

.mg-mobile-service-card strong,
.mg-mobile-service-card small {
    display: block;
}

.mg-mobile-service-card strong {
    overflow: hidden;
    color: #081b5c;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mg-mobile-service-card small {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 5px;
    color: #747b84;
    font-size: 11px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.mg-mobile-service-card > i {
    color: #858b93;
    font-size: 10px;
}

.mg-mobile-service-card:hover > i,
.mg-mobile-service-card:focus-visible > i {
    color: var(--main-blue);
}

.mg-mobile-panel > .mg-mobile-service-card:last-child {
    margin-bottom: 18px;
}

@media (max-width: 380px) {
    .mg-mobile-row {
        min-height: 52px;
        padding-inline: 16px;
        font-size: 13px;
    }

    .mg-mobile-back {
        min-height: 60px;
        padding-inline: 16px;
    }

    .mg-mobile-service-card {
        grid-template-columns: 42px minmax(0, 1fr) 10px;
        gap: 11px;
        margin: 12px 12px 0;
        padding: 13px;
        border-radius: 15px;
    }

    .mg-mobile-service-card__icon {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .mg-mobile-service-card strong {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mg-mobile-panel.is-active {
        animation: none;
    }

    .mg-mobile-row,
    .mg-mobile-service-card {
        transition: none;
    }
}

.mg-category-link.is-current,
.mg-category-item.is-current > .mg-category-link {
    color: var(--main-blue);
    font-weight: 700;
}

.mg-category-link.is-current::after,
.mg-category-item.is-current > .mg-category-link::after {
    transform: scaleX(1);
}

.mg-grouped-menu__title.is-current {
    color: var(--main-blue) !important;
    border-bottom-color: var(--main-blue);
}

.mg-grouped-menu__column > a.is-current,
.mg-category-mega__grid > a.is-current {
    color: var(--main-blue);
    background: rgba(7, 28, 59, 0.055);
    font-weight: 700;
}

.mg-grouped-menu__column > a.is-current {
    margin-inline: -10px;
    padding: 8px 10px;
    border-radius: 8px;
}

.mg-category-mega__grid > a.is-current {
    padding-inline: 12px;
    border-radius: 8px;
}



.mg-mobile-row__end {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mg-mobile-row.is-current {
    position: relative;
    color: var(--main-blue);
    background: rgba(7, 28, 59, 0.06);
    font-weight: 700;
}

.mg-mobile-row.is-current::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--main-blue);
}

.mg-mobile-row.is-current > i,
.mg-mobile-row.is-current .fa-circle-check,
.mg-mobile-row.is-current .fa-check {
    color: var(--main-blue);
}

.mg-header-service-actions {
    display: grid;
    /* grid-template-columns:
        minmax(180px, 0.9fr)
        minmax(200px, 1fr)
        minmax(210px, 1.05fr); */

           grid-template-columns:
        minmax(180px, 2fr)
        minmax(200px, 2fr);
    gap: 10px;
    width: 100%;
}

.mg-header-service-action {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 10px;
    align-items: center;
    gap: 11px;
    min-width: 0;
    min-height: 54px;
    padding: 7px 12px 7px 7px;
    color: #081b5c;
    border: 1px solid #e0e4e8;
    border-radius: 14px;
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f7f8fa
        );
    text-decoration: none;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.mg-header-service-action:hover {
    color: #081b5c;
    border-color: rgba(7, 28, 59, 0.26);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09);
    text-decoration: none;
    transform: translateY(-1px);
}

.mg-header-service-action__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
    border-radius: 11px;
    font-size: 14px;
}

.mg-header-service-action__icon.is-gold {
    background:
        linear-gradient(
            145deg,
            #b78229,
            #d7aa55
        );
    box-shadow: 0 7px 16px rgba(183, 130, 41, 0.22);
}

.mg-header-service-action__icon.is-electro {
    background:
        linear-gradient(
            145deg,
            #15548f,
            #287cc2
        );
    box-shadow: 0 7px 16px rgba(21, 84, 143, 0.2);
}

.mg-header-service-action__icon.is-store {
    background:
        linear-gradient(
            145deg,
            var(--main-blue),
            #174780
        );
    box-shadow: 0 7px 16px rgba(7, 28, 59, 0.2);
}

.mg-header-service-action__content {
    min-width: 0;
}

.mg-header-service-action__content small,
.mg-header-service-action__content strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mg-header-service-action__content small {
    margin-bottom: 2px;
    color: #777e87;
    font-size: 9px;
    line-height: 1.2;
}

.mg-header-service-action__content strong {
    color: #081b5c;
    font-size: 12px;
    line-height: 1.25;
}

.mg-header-service-action > i {
    color: #808791;
    font-size: 9px;
    transition: transform 160ms ease;
}

.mg-header-service-action:hover > i {
    color: var(--main-blue);
    transform: translateX(2px);
}

@media (min-width: 1200px) and (max-width: 1450px) {
    .mg-header-service-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .mg-header-service-action {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 8px;
        padding-right: 9px;
    }

    .mg-header-service-action__icon {
        width: 36px;
        height: 36px;
    }

    .mg-header-service-action > i {
        display: none;
    }

    .mg-header-service-action__content small {
        display: none;
    }

    .mg-header-service-action__content strong {
        font-size: 11px;
    }
}

@media (max-width: 1199.98px) {
    .mg-header-service-actions {
        display: none;
    }
}

.mg-desktop-search-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 2200;
    display: none;
    border: 1px solid rgba(16, 24, 32, .09);
    border-radius: 26px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 70px rgba(16, 24, 32, .14);
    overflow: hidden;
}

.mg-desktop-search-dropdown.is-open {
    display: block;
}

.mg-desktop-search-state {
    padding: 16px 18px;
    color: #74706a;
    font-size: 14px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(16, 24, 32, .07);
}

.mg-desktop-search-results {
    display: grid;
    gap: 0;
    max-height: 390px;
    overflow-y: auto;
}

.mg-desktop-search-product {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    color: var(--mg-black);
    text-decoration: none;
    border-bottom: 1px solid rgba(16, 24, 32, .06);
    transition: background .18s ease;
}

.mg-desktop-search-product:hover {
    background: #fbfaf7;
    text-decoration: none;
}

.mg-desktop-search-product-image {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(16, 24, 32, .05);
}

.mg-desktop-search-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.mg-desktop-search-product-info {
    min-width: 0;
}

.mg-desktop-search-product-info span {
    display: block;
    margin-bottom: 5px;
    color: #b58a42;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.mg-desktop-search-product-info h3 {
    margin: 0;
    color: var(--mg-black);
    font-size: 15px;
    line-height: 1.25;
    font-weight: 850;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mg-desktop-search-product-price {
    color: var(--mg-black);
    font-size: 15px;
    font-weight: 900;
    white-space: nowrap;
}

.mg-desktop-search-all {
    display: none;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    color: var(--mg-black);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    background: #fbfaf7;
}

.mg-desktop-search-all.is-active {
    display: flex;
}

.mg-desktop-search-all:hover {
    color: #b58a42;
    text-decoration: none;
}

@media (max-width: 1199px) {
    .mg-desktop-search-dropdown {
        display: none !important;
    }
}

.mg-category-mega {
    max-height: calc(100vh - 150px);
    overflow-x: hidden;
    overflow-y: auto;
}

.mg-category-mega__content {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 34px 38px;
    padding-top: 24px;
}

.mg-category-mega__section {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.mg-category-mega__section + .mg-category-mega__section {
    margin: 0;
    padding: 0;
    border: 0;
}

.mg-category-mega__section-heading {
    min-height: 36px;
    margin: 0;
    padding: 0 0 11px;
    border-bottom: 1px solid #e8ebee;
}

.mg-category-mega__section-heading a,
.mg-category-mega__section-heading strong {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #041039;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
}

.mg-category-mega__section-heading a i {
    color: #041039;
    font-size: 10px;
    transition: transform .18s ease;
}

.mg-category-mega__section-heading a:hover i {
    transform: translateX(4px);
}

.mg-category-mega__section .mg-category-mega__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 7px 0 0;
}

.mg-category-mega__section .mg-category-mega__grid > a {
    min-width: 0;
    min-height: 43px;
    padding: 0;
    border-bottom: 1px solid #f0f1f2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #343b43;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition:
        color .18s ease,
        padding-left .18s ease;
}

.mg-category-mega__section .mg-category-mega__grid > a span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mg-category-mega__section .mg-category-mega__grid > a i {
    flex: 0 0 auto;
    color: #929ba4;
    font-size: 9px;
    transition:
        color .18s ease,
        transform .18s ease;
}

.mg-category-mega__section .mg-category-mega__grid > a:hover,
.mg-category-mega__section .mg-category-mega__grid > a.is-current {
    padding-left: 12px;
    color: #1765c1;
    font-weight: 700;
}

.mg-category-mega__section .mg-category-mega__grid > a:hover i {
    color: #1765c1;
    transform: translateX(3px);
}

.mg-category-mega__section-heading a.is-current {
    color: #1765c1;
}

@media (max-width: 1399.98px) {
    .mg-category-mega__content {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px;
    }
}

@media (max-width: 1199.98px) {
    .mg-category-mega__content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}