
/* OBLAKATRAVEL — единое меню направлений */

.hdr {
    position: relative;
}

.hdr #mega-dest[hidden] {
    display: none !important;
}

.hdr #mega-dest {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1100;
    display: block;
    background: #fff;
    border-bottom: 1px solid #e2e9f0;
    box-shadow: 0 18px 35px rgba(25, 50, 75, .12);
    color: #182b40;
}

.hdr #mega-dest > .wrap {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 280px;
    gap: 28px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 20px 28px;
    box-sizing: border-box;
    align-items: start;
}

.hdr #mega-dest .mega-regions {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hdr #mega-dest .mega-regions button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #182b40;
    font: 500 15px/1.4 "Onest", sans-serif;
    text-align: left;
    cursor: pointer;
}

.hdr #mega-dest .mega-regions button.on,
.hdr #mega-dest .mega-regions button:hover {
    background: #edf6fc;
}

.hdr #mega-dest .mega-regions button small {
    color: #77879a;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.hdr #mega-dest .mega-regions > a {
    display: inline-block;
    margin: 12px 0 0 12px;
    color: #087d91;
    font-size: 14px;
    text-decoration: none;
}

.hdr #mega-dest .mega-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.hdr #mega-dest .chip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 8px 12px;
    border: 1px solid #dce5ed;
    border-radius: 8px;
    background: #fff;
    color: #30465b;
    font: 500 13px/1.3 "Onest", sans-serif;
    cursor: pointer;
}

.hdr #mega-dest .chip.on {
    background: #182b40;
    border-color: #182b40;
    color: #fff;
}

.hdr #mega-dest .mega-countries {
    columns: 3 170px;
    column-gap: 20px;
}

.hdr #mega-dest .mega-countries > a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 0;
    break-inside: avoid;
    color: #182b40;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
}

.hdr #mega-dest .mega-countries > a:hover {
    color: #087d91;
}

.hdr #mega-dest .mega-countries > a small {
    flex-shrink: 0;
    color: #77879a;
    font-size: 12px;
    white-space: nowrap;
}

.hdr #mega-dest .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 50%;
    vertical-align: middle;
}

.hdr #mega-dest .dot.ok {
    background: #239b70;
}

.hdr #mega-dest .dot.warn {
    background: #c88916;
}

.hdr #mega-dest .dot.bad {
    background: #c34848;
}

.hdr #mega-dest .mega-countries .mega-region-link {
    display: block;
    margin-top: 10px;
    color: #087d91;
    font-weight: 600;
}

.hdr #mega-dest .mega-promo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    border-radius: 14px;
    background: #edf6fc;
}

.hdr #mega-dest .mega-promo .eyebrow {
    color: #087d91;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hdr #mega-dest .mega-promo b {
    font-size: 17px;
    line-height: 1.4;
}

.hdr #mega-dest .mega-promo p {
    margin: 0;
    color: #60768a;
    font-size: 14px;
    line-height: 1.6;
}

.hdr #mega-dest .mega-promo > a {
    color: #087d91;
    font-size: 14px;
    text-decoration: none;
}

.hdr #mega-dest button:focus-visible,
.hdr #mega-dest a:focus-visible {
    outline: 2px solid #087d91;
    outline-offset: 3px;
}

@media (max-width: 1250px) {
    .hdr #mega-dest > .wrap {
        grid-template-columns: 185px minmax(0, 1fr) 230px;
        gap: 18px;
    }

    .hdr #mega-dest .mega-countries {
        columns: 2 150px;
    }
}

@media (max-width: 1080px) {
    .hdr #mega-dest {
        display: none !important;
    }
}


/* OBLAKATRAVEL COUNTRY FLAGS V1 */
.hdr #mega-dest .mega-countries > a > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.hdr #mega-dest .mega-countries .mega-country-flag {
    display: block;
    width: 22px;
    height: 16px;
    flex: 0 0 22px;
    object-fit: cover;
    border-radius: 2px;
    vertical-align: middle;
}


/* OBLAKATRAVEL ALL COUNTRIES MENU V1 */
.hdr #mega-dest > .wrap {
    grid-template-columns: minmax(0, 1fr) 280px;
}

.hdr #mega-dest .mega-countries {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 0;
    max-height: 440px;
    overflow-y: auto;
    overflow-x: hidden;
    align-content: start;
    padding-right: 10px;
    scrollbar-width: thin;
}

.hdr #mega-dest .mega-countries > a {
    min-width: 0;
}

.drawer-country-flag {
    display: inline-block;
    width: 22px;
    height: 16px;
    object-fit: cover;
    vertical-align: middle;
    margin-right: 8px;
    border-radius: 2px;
}

@media (max-width: 1250px) {
    .hdr #mega-dest > .wrap {
        grid-template-columns: minmax(0, 1fr) 230px;
    }

    .hdr #mega-dest .mega-countries {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* OBLAKATRAVEL ALL DIRECTIONS BUTTON V2 */

.hdr #mega-dest .mega-countries > a.mega-region-link {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    box-sizing: border-box;

    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding: 9px 15px;

    background: #087d91;
    color: #ffffff;
    border: 1px solid #087d91;
    border-radius: 6px;

    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;

    transition: background .2s ease;
}

.hdr #mega-dest .mega-countries > a.mega-region-link:hover {
    background: #066477;
    border-color: #066477;
    color: #ffffff;
}

/* END OBLAKATRAVEL ALL DIRECTIONS BUTTON V2 */
