/* HCT Client01 V14: Main 2, Main 3 and Footer — Bé Ơi visual language. */
.hctclient01-home-menu-section {
    position: relative;
    padding: clamp(30px, 5vw, 58px) 0;
}
.hctclient01-home-menu-section::before {
    content: "";
    position: absolute;
    inset: 8px 0;
    z-index: -1;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 247, 245, .86), rgba(255, 255, 255, .94));
}
.hctclient01-home-menu-section__head {
    margin-bottom: 20px;
    text-align: center;
}
.hctclient01-home-menu-section__title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 7px;
    color: var(--hctclient01-color-primary);
    font-size: var(--hctclient01-text-panel-title);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.02em;
    text-transform: uppercase;
}
.hctclient01-home-menu-section__title::before,
.hctclient01-home-menu-section__title::after {
    content: "";
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: #ff871a;
    transform: rotate(-18deg);
}
.hctclient01-home-menu-section__desc {
    max-width: 680px;
    margin: 0 auto;
    color: #705d58;
    font-size: var(--hctclient01-text-body);
}

.hct-menu--pc-main-2,
.hct-menu--pc-main-3 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 14px;
    list-style: none;
    border: 1px solid #f6deda;
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 38px rgba(178, 45, 35, .08);
}
.hct-menu--pc-main-2 .hct-menu-item,
.hct-menu--pc-main-3 .hct-menu-item { position: relative; min-width: 0; }
.hct-menu--pc-main-2 .hct-menu-item__head,
.hct-menu--pc-main-3 .hct-menu-item__head {
    display: flex;
    align-items: stretch;
    min-width: 0;
    height: 42px;
    min-height: 42px;
    border-radius: 999px;
    background: #fff7f4;
    color: #4b3531;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.hct-menu--pc-main-2 > .hct-menu-item > .hct-menu-item__head:hover,
.hct-menu--pc-main-3 > .hct-menu-item > .hct-menu-item__head:hover {
    transform: translateY(-1px);
    border-color: #f3c6bf;
    background: #fff;
    color: #cf201c;
    box-shadow: 0 8px 18px rgba(205, 39, 31, .09);
}
.hct-menu--pc-main-2 .hct-menu-link,
.hct-menu--pc-main-3 .hct-menu-link {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 42px;
    padding: 0 14px;
    color: inherit;
    font-size: var(--hctclient01-text-meta);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hct-menu--pc-main-2 .hct-menu-item__head > .hct-menu-link,
.hct-menu--pc-main-3 .hct-menu-item__head > .hct-menu-link {
    align-self: stretch;
    height: 42px;
}
.hct-menu--pc-main-2 .hct-menu-toggle,
.hct-menu--pc-main-3 .hct-menu-toggle {
    flex: 0 0 42px;
    align-self: stretch;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    max-width: 42px;
    max-height: 42px;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    margin-right: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(216, 35, 31, .07);
    color: inherit;
    cursor: pointer;
}
.hct-menu--pc-main-2 .hct-menu-toggle:hover,
.hct-menu--pc-main-3 .hct-menu-toggle:hover { background: rgba(216, 35, 31, .14); }
.hct-menu--pc-main-2 .hct-menu-arrow,
.hct-menu--pc-main-3 .hct-menu-arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-1px, -1px);
    transition: transform .18s ease;
}
.hct-menu--pc-main-2 .is-open > .hct-menu-item__head .hct-menu-arrow,
.hct-menu--pc-main-3 .is-open > .hct-menu-item__head .hct-menu-arrow { transform: rotate(225deg) translate(-1px, -1px); }
.hct-menu--pc-main-2 .is-current > .hct-menu-item__head,
.hct-menu--pc-main-2 .is-active > .hct-menu-item__head,
.hct-menu--pc-main-3 .is-current > .hct-menu-item__head,
.hct-menu--pc-main-3 .is-active > .hct-menu-item__head {
    border-color: var(--hctclient01-color-primary);
    background: linear-gradient(135deg, var(--hctclient01-color-primary), var(--hctclient01-color-primary-hover));
    color: #fff;
    box-shadow: 0 8px 18px rgba(201, 22, 18, .2);
}

.hct-menu--pc-main-2 .hct-menu-popup,
.hct-menu--pc-main-3 .hct-menu-popup {
    position: absolute;
    z-index: 40;
    top: calc(100% + 9px);
    left: 0;
    min-width: 250px;
    max-width: min(720px, calc(100vw - 32px));
    padding: 10px;
    border: 1px solid #f4d9d4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(112, 42, 31, .16);
}
.hct-menu--pc-main-2 .hct-menu-popup[hidden],
.hct-menu--pc-main-3 .hct-menu-popup[hidden] { display: none !important; }
.hct-menu--pc-main-2 .hct-sub-menu,
.hct-menu--pc-main-3 .hct-sub-menu,
.hct-menu--pc-main-2 .hct-mega-menu__items,
.hct-menu--pc-main-3 .hct-mega-menu__items {
    position: static !important;
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.hct-menu--pc-main-2 .hct-menu-popup .hct-menu-item__head,
.hct-menu--pc-main-3 .hct-menu-popup .hct-menu-item__head {
    width: 100%;
    border-radius: 11px;
    background: transparent;
    color: #4c3631;
}
.hct-menu--pc-main-2 .hct-menu-popup .hct-menu-link,
.hct-menu--pc-main-3 .hct-menu-popup .hct-menu-link {
    flex: 1 1 auto;
    width: auto;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 11px;
    font-weight: 600;
}
.hct-menu--pc-main-2 .hct-menu-popup .hct-menu-item__head:hover,
.hct-menu--pc-main-3 .hct-menu-popup .hct-menu-item__head:hover {
    background: #fff2ef;
    color: var(--hctclient01-color-primary);
}
.hct-menu--pc-main-2 .hct-menu-popup .hct-menu-popup,
.hct-menu--pc-main-3 .hct-menu-popup .hct-menu-popup { top: 0; left: calc(100% + 8px); }

.hct-menu--pc-main-2 .hct-menu-popup--mega.hct-mega-menu,
.hct-menu--pc-main-3 .hct-menu-popup--mega.hct-mega-menu {
    display: grid;
    position: absolute;
    margin: 0;
    min-width: min(620px, calc(100vw - 32px));
    padding: 12px;
    border: 1px solid #f4d9d4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(112, 42, 31, .16);
}
.hct-menu--pc-main-2 .hct-menu-popup--mega.hct-mega-menu[hidden],
.hct-menu--pc-main-3 .hct-menu-popup--mega.hct-mega-menu[hidden] { display: none !important; }
.hct-menu--pc-main-2 .hct-mega-menu,
.hct-menu--pc-main-3 .hct-mega-menu { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.hct-menu--pc-main-2 .hct-mega-menu__group,
.hct-menu--pc-main-3 .hct-mega-menu__group { min-width: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.hct-menu--pc-main-2 .hct-mega-menu__title,
.hct-menu--pc-main-3 .hct-mega-menu__title { margin: 0 0 7px; padding: 0 8px; color: var(--hctclient01-color-primary); font-size: var(--hctclient01-text-caption); font-weight: 800; text-transform: uppercase; }

.hct-menu--pc-footer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.hct-menu--pc-footer .hct-menu-item__head { display: flex; align-items: center; width: 100%; }
.hct-menu--pc-footer .hct-menu-link { flex: 1 1 auto; display: block; padding: 7px 0; color: inherit; text-decoration: none; }
.hct-menu--pc-footer .hct-menu-toggle { flex: 0 0 32px; width: 32px; height: 32px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.hct-menu--pc-footer .hct-menu-arrow { display: inline-block; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.hct-menu--pc-footer .is-open > .hct-menu-item__head .hct-menu-arrow { transform: rotate(225deg); }
.hct-menu--pc-footer .hct-menu-popup { position: static !important; padding-left: 14px; }
.hct-menu--pc-footer .hct-menu-popup[hidden] { display: none !important; }
.hct-menu--pc-footer .hct-sub-menu,
.hct-menu--pc-footer .hct-mega-menu__items { position: static !important; display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.beoi-footer__mobile-menu-button { display: none; }

@media (max-width: 991px) {
    .beoi-footer__mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 44px;
        margin-top: 16px;
        padding: 0 18px;
        border: 1px solid currentColor;
        border-radius: 999px;
        background: transparent;
        color: inherit;
        cursor: pointer;
    }
}
@media (max-width: 767px) {
    .hct-menu--pc-main-2,
    .hct-menu--pc-main-3 { align-items: stretch; flex-direction: column; padding: 10px; }
    .hct-menu--pc-main-2 > .hct-menu-item,
    .hct-menu--pc-main-3 > .hct-menu-item { width: 100%; }
    .hct-menu--pc-main-2 > .hct-menu-item > .hct-menu-item__head,
    .hct-menu--pc-main-3 > .hct-menu-item > .hct-menu-item__head { border-radius: 14px; }
    .hct-menu--pc-main-2 .hct-menu-popup,
    .hct-menu--pc-main-3 .hct-menu-popup,
    .hct-menu--pc-main-2 .hct-menu-popup .hct-menu-popup,
    .hct-menu--pc-main-3 .hct-menu-popup .hct-menu-popup { position: static; min-width: 0; max-width: none; margin-top: 6px; box-shadow: none; }
}

/* HCTCLIENT01 V18 — square toggle for every recursive level */
.hct-menu--pc-main-2 .hct-menu-item,
.hct-menu--pc-main-3 .hct-menu-item {
    --hct-menu-row-size: 42px;
}

.hct-menu--pc-main-2 .hct-menu-item > .hct-menu-item__head,
.hct-menu--pc-main-3 .hct-menu-item > .hct-menu-item__head {
    height: var(--hct-menu-row-size);
    min-height: var(--hct-menu-row-size);
    max-height: var(--hct-menu-row-size);
    align-items: stretch;
}

.hct-menu--pc-main-2 .hct-menu-item > .hct-menu-item__head > .hct-menu-link,
.hct-menu--pc-main-3 .hct-menu-item > .hct-menu-item__head > .hct-menu-link {
    height: var(--hct-menu-row-size);
    min-height: var(--hct-menu-row-size);
    max-height: var(--hct-menu-row-size);
    box-sizing: border-box;
}

.hct-menu--pc-main-2 .hct-menu-item > .hct-menu-item__head > .hct-menu-toggle,
.hct-menu--pc-main-3 .hct-menu-item > .hct-menu-item__head > .hct-menu-toggle {
    flex: 0 0 var(--hct-menu-row-size);
    width: var(--hct-menu-row-size);
    height: var(--hct-menu-row-size);
    min-width: var(--hct-menu-row-size);
    min-height: var(--hct-menu-row-size);
    max-width: var(--hct-menu-row-size);
    max-height: var(--hct-menu-row-size);
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
}