
/* SAMAT MEGA MENU — STEP 1 */

@media (min-width: 1200px) {

.samat-mega {
    position: relative;
}

.samat-mega .catalog-menu {
    width: min(1160px, calc(100vw - 72px));
    height: min(560px, calc(100vh - 300px));
    min-height: 440px;
    padding: 10px 0;
    border: 1px solid #e4ebf4;
    border-radius: 0 0 14px 14px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(15,45,90,.12);
    z-index: 1000;
}

.samat-mega .catalog-menu > .catalog-menu-item {
    position: static;
    width: 280px;
    background: transparent !important;
}

.samat-mega .catalog-menu-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 52px;
    padding: 7px 14px;
    gap: 12px;
    text-decoration: none;
}

.samat-mega__root-image {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    object-fit: contain;
}

.samat-mega .catalog-menu-item__text {
    flex: 1;
    font-family: Manrope, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: #20324c;
}

.samat-mega__arrow {
    color: #7691b2;
    font-size: 23px;
}

.samat-mega .catalog-menu-item:hover > .catalog-menu-link {
    background: #edf4ff;
}

.samat-mega .catalog-menu-item:hover
.catalog-menu-item__text {
    color: var(--mega-accent) !important;
}

.samat-mega .catalog-submenu {
    display: none;
    top: 0;
    left: 280px;
    width: calc(100% - 280px);
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    padding: 18px 22px;
    border: none;
    border-left: 1px solid #e5ebf4;
    background: #fff;
}

.samat-mega .catalog-menu-item:hover > .catalog-submenu {
    display: block;
}

.samat-mega .catalog-menu:not(:has(> .catalog-menu-item:hover))
> .catalog-menu-item:first-child > .catalog-submenu {
    display: block;
}

.samat-mega__hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 118px;
    padding: 16px 22px;
    margin-bottom: 23px;
    border-radius: 11px;
    background: linear-gradient(110deg,#f0f5fc,#f8fafc);
}

.samat-mega__hero h3 {
    margin: 0 0 10px;
    color: #17263a;
    font: 700 21px Manrope,Arial,sans-serif;
}

.samat-mega__hero a {
    color: var(--mega-accent);
    font-size: 13px;
}

.samat-mega__hero img {
    width: 115px;
    height: 100px;
    object-fit: contain;
}

.samat-mega__groups {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px;
    align-items: start;
}

.samat-mega__group {
    min-width: 0;
}

.samat-mega__group--large {
    grid-column: span 2;
}

.samat-mega__group-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: var(--mega-accent);
    font: 700 14px Manrope,Arial,sans-serif;
}

.samat-mega__group-title img {
    width: 37px;
    height: 37px;
    object-fit: contain;
}

.samat-mega__links {
    display: grid;
    gap: 8px;
}

.samat-mega__links--many {
    display: block;
    columns: 2;
    column-gap: 20px;
}

.samat-mega__links a {
    display: block;
    margin-bottom: 7px;
    break-inside: avoid;
    color: #63718a;
    font: 400 12px/1.5 Manrope,Arial,sans-serif;
}

.samat-mega__links a:hover,
.samat-mega__group-title:hover {
    color: var(--mega-accent);
    text-decoration: none;
}

}
