/* ============================================ */
/*  iOS-SAFE BASE                                */
/* ============================================ */
html {
    width: 100%;
}
body {
    /* overflow-x: hidden !important; */
    width: 100%;
}
/* overflow-x hidden ONLY on real touch devices (tablets/phones)  */
/* Laptops never get .is-touch-device so desktop is never affected */
html.is-touch-device,
html.is-touch-device body {
    overflow-x: hidden !important;
}
#wrapper, #main {
    max-width: 100% !important;
    overflow: visible !important;
}
#wrapper {
    transform: none !important;
    -webkit-transform: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    perspective: none !important;
    -webkit-perspective: none !important;
}
.fusion-header-wrapper,
.fusion-page-title-bar,
#main,
.fusion-wrapper {
    transform: none !important;
    -webkit-transform: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    will-change: auto !important;
}

/* ============================================ */
/*  SHOW / HIDE                                 */
/* ============================================ */

/* Default: hide on desktop */
.lx-mobile-header,
.lx-bottom-nav {
    display: none !important;
}

/* Touch devices on larger screens (e.g. touch laptop at 1366px) */
@media screen and (max-width: 1366px) {
    .is-touch-device .lx-mobile-header { display: flex !important; }
    .is-touch-device .lx-bottom-nav { display: flex !important; }
    .is-touch-device .fusion-header-wrapper { display: none !important; }
    .is-touch-device .lx-mega-menu-wrapper  { display: none !important; }
}

/* Tablet: 768px – 1200px */
@media (min-width: 768px) and (max-width: 1200px) {
    .lx-mobile-header { display: flex !important; }
    .lx-bottom-nav { display: flex !important; }
    .fusion-header-wrapper { display: none !important; }
    .lx-mega-menu-wrapper { display: none !important; }
}

/* Mobile: 360px – 767px */
@media (min-width: 360px) and (max-width: 767px) {
    .lx-mobile-header       { display: flex !important; }
    .lx-bottom-nav          { display: flex !important; }
    .fusion-header-wrapper  { display: none !important; }
    .lx-mega-menu-wrapper   { display: none !important; }
}

/* ============================================ */
/*  MOBILE HEADER (top, fixed)                  */
/* ============================================ */
.lx-mobile-header {
    -webkit-align-items: center !important;
    align-items: center !important;
    -webkit-justify-content: space-between !important;
    justify-content: space-between !important;
    padding: 10px 15px !important;
    padding-top: calc(10px + env(safe-area-inset-top)) !important;
    background: #fff !important;
    border-bottom: 1px solid #ddd !important;
    z-index: 10000000 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-height: 60px !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
}
.lx-mobile-header .lx-logo { margin-right: auto; z-index: 10000001; }
.lx-mobile-header .lx-logo img { height: 40px; display: block; }

.lx-mobile-menu-container {
    display: -webkit-flex; display: flex;
    -webkit-align-items: center; align-items: center;
    -webkit-justify-content: center; justify-content: center;
    z-index: 10000002;
}
.lx-mobile-menu-wrapper {
    display: -webkit-flex; display: flex;
    -webkit-align-items: center; align-items: center;
    -webkit-justify-content: center; justify-content: center;
    position: relative;
}

/* ============================================ */
/*  HAMBURGER                                   */
/* ============================================ */
.lx-mobile-toggle {
    position: relative;
    width: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000002;
    display: -webkit-flex; display: flex;
    -webkit-flex-direction: column; flex-direction: column;
    -webkit-justify-content: space-between; justify-content: space-between;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 5px;
}

@-webkit-keyframes pulseColor {
    0%, 100% { background-color: #333; }
    50%      { background-color: #199caa; }
}
@keyframes pulseColor {
    0%, 100% { background-color: #333; }
    50%      { background-color: #199caa; }
}
@-webkit-keyframes xPulseColor {
    0%, 100% { background-color: red; }
    50%      { background-color: #199caa; }
}
@keyframes xPulseColor {
    0%, 100% { background-color: red; }
    50%      { background-color: #199caa; }
}

.lx-mobile-toggle i,
.lx-mobile-toggle i::before,
.lx-mobile-toggle i::after {
    content: '';
    display: block;
    height: 4px;
    width: 100%;
    background: #333;
    border-radius: 2px;
    position: relative;
    -webkit-transition: all 0.3s ease, background 0.3s ease;
    transition: all 0.3s ease, background 0.3s ease;
    -webkit-animation: pulseColor 1s infinite;
    animation: pulseColor 1s infinite;
}
.lx-mobile-toggle i::before { top: -8px; position: absolute; }
.lx-mobile-toggle i::after  { bottom: -8px; position: absolute; }

.lx-mobile-toggle.open i { background: transparent; -webkit-animation: none; animation: none; }
.lx-mobile-toggle.open i::before {
    -webkit-transform: rotate(45deg); transform: rotate(45deg);
    top: 0;
    -webkit-animation: xPulseColor 1s infinite; animation: xPulseColor 1s infinite;
}
.lx-mobile-toggle.open i::after {
    -webkit-transform: rotate(-45deg); transform: rotate(-45deg);
    bottom: 0;
    -webkit-animation: xPulseColor 1s infinite; animation: xPulseColor 1s infinite;
}

/* ============================================ */
/*  MEGA MENU                                   */
/* ============================================ */
.lx-mobile-menu {
    position: fixed;
    top: 0;
    padding-top: calc(60px + env(safe-area-inset-top));
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 999999;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1),
                -webkit-transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
    box-sizing: border-box;
}
.lx-mobile-menu.active {
    -webkit-transform: translateX(0) !important;
    transform: translateX(0) !important;
}

.lx-mobile-menu::-webkit-scrollbar { width: 4px; }
.lx-mobile-menu::-webkit-scrollbar-track { background: transparent; }
.lx-mobile-menu::-webkit-scrollbar-thumb { background: rgba(15,23,42,0.18); border-radius: 2px; }

/* ============================================ */
/*  MENU CONTENT                                */
/* ============================================ */
.lx-mobile-menu-logo { text-align: center; margin-bottom: 20px; }
.lx-mobile-menu-logo img { height: 50px; }

.lx-mobile-main-menu { list-style: none; margin: 0; padding: 0; }
.lx-mobile-main-menu > li { margin: 0; border-bottom: 1px solid rgba(15,23,42,0.06); }

@-webkit-keyframes lxItemSlide {
    from { opacity: 0; -webkit-transform: translateX(24px); transform: translateX(24px); }
    to   { opacity: 1; -webkit-transform: translateX(0); transform: translateX(0); }
}
@keyframes lxItemSlide {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}

.lx-mobile-menu.active .lx-mobile-main-menu > li {
    -webkit-animation: lxItemSlide 0.55s cubic-bezier(0.32,0.72,0,1) backwards;
    animation: lxItemSlide 0.55s cubic-bezier(0.32,0.72,0,1) backwards;
}
.lx-mobile-menu.active .lx-mobile-main-menu > li:nth-child(1)  { -webkit-animation-delay:.10s; animation-delay:.10s; }
.lx-mobile-menu.active .lx-mobile-main-menu > li:nth-child(2)  { -webkit-animation-delay:.16s; animation-delay:.16s; }
.lx-mobile-menu.active .lx-mobile-main-menu > li:nth-child(3)  { -webkit-animation-delay:.22s; animation-delay:.22s; }
.lx-mobile-menu.active .lx-mobile-main-menu > li:nth-child(4)  { -webkit-animation-delay:.28s; animation-delay:.28s; }
.lx-mobile-menu.active .lx-mobile-main-menu > li:nth-child(5)  { -webkit-animation-delay:.34s; animation-delay:.34s; }
.lx-mobile-menu.active .lx-mobile-main-menu > li:nth-child(6)  { -webkit-animation-delay:.40s; animation-delay:.40s; }
.lx-mobile-menu.active .lx-mobile-main-menu > li:nth-child(n+7){ -webkit-animation-delay:.46s; animation-delay:.46s; }

.lx-mobile-main-menu a {
    display: -webkit-flex; display: flex;
    -webkit-align-items: center; align-items: center;
    -webkit-justify-content: space-between; justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #1f2937;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    position: relative;
    -webkit-transition: color 0.25s ease, padding-left 0.25s ease, background 0.25s ease;
    transition: color 0.25s ease, padding-left 0.25s ease, background 0.25s ease;
    -webkit-tap-highlight-color: rgba(25,156,170,0.1);
    /* Make tap target bigger on tablet */
    min-height: 48px;
}

.lx-mobile-main-menu > li > a::before {
    content: "";
    position: absolute;
    left: 0; top: 18%; bottom: 18%;
    width: 3px;
    background: #199caa;
    border-radius: 0 3px 3px 0;
    -webkit-transform: scaleY(0); transform: scaleY(0);
    -webkit-transform-origin: center; transform-origin: center;
    -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.32,0.72,0,1);
    transition: transform 0.3s cubic-bezier(0.32,0.72,0,1);
}
.lx-mobile-main-menu > li.open > a,
.lx-mobile-main-menu > li > a:hover {
    color: #199caa;
    background: rgba(25,156,170,0.05);
    padding-left: 1.4rem;
}
.lx-mobile-main-menu > li.open > a::before,
.lx-mobile-main-menu > li > a:hover::before {
    -webkit-transform: scaleY(1); transform: scaleY(1);
}

.lx-mobile-submenu {
    list-style: none; margin: 0; padding: 0.5rem 0;
    display: none;
    background: -webkit-linear-gradient(top, #f8fafc 0%, #fbfcfd 100%);
    background: linear-gradient(180deg, #f8fafc 0%, #fbfcfd 100%);
}

@-webkit-keyframes lxRevealDown {
    from { opacity: 0; -webkit-transform: translateY(-6px); transform: translateY(-6px); }
    to   { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
@keyframes lxRevealDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.has-submenu.open > .lx-mobile-submenu {
    -webkit-animation: lxRevealDown 0.4s cubic-bezier(0.32,0.72,0,1) both;
    animation: lxRevealDown 0.4s cubic-bezier(0.32,0.72,0,1) both;
}

.lx-mobile-section { padding: 0 0 0.75rem; }
.lx-mobile-section + .lx-mobile-section { border-top: 1px solid rgba(15,23,42,.05); }
.lx-mobile-section-heading {
    display: block;
    padding: 0.85rem 1.5rem 0.4rem;
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: #94a3b8;
}
.lx-mobile-section-list { list-style: none; margin: 0; padding: 0; }
.lx-mobile-section-list > li { border: none; }
.lx-mobile-section-list a {
    display: block;
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem; font-weight: 500;
    color: #1f2937; text-decoration: none;
    -webkit-transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
    transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
    min-height: 44px;
    display: -webkit-flex; display: flex;
    -webkit-align-items: center; align-items: center;
}
.lx-mobile-section-list a:hover {
    color: #199caa;
    background: rgba(25,156,170,.06);
    padding-left: 1.75rem;
}

.submenu-arrow {
    margin-left: auto;
    display: -webkit-inline-flex; display: inline-flex;
    -webkit-align-items: center; align-items: center;
    -webkit-justify-content: center; justify-content: center;
    width: 1.5rem; height: 1.5rem;
    color: #94a3b8; font-size: 1.1rem; line-height: 1;
    -webkit-transition: -webkit-transform 0.35s cubic-bezier(0.32,0.72,0,1), color 0.25s ease;
    transition: transform 0.35s cubic-bezier(0.32,0.72,0,1), color 0.25s ease;
}
.has-submenu.open > a .submenu-arrow {
    -webkit-transform: rotate(90deg); transform: rotate(90deg);
    color: #199caa;
}

/* ============================================ */
/*  BOTTOM NAV                                  */
/* ============================================ */
.lx-bottom-nav {
    position: fixed !important;
    bottom: 0 !important; left: 0 !important; right: 0 !important; top: auto !important;
    width: 100% !important; margin: 0 !important;
    background: #ffffff !important;
    display: -webkit-flex; display: flex;
    -webkit-flex-direction: row !important; flex-direction: row !important;
    -webkit-align-items: stretch !important; align-items: stretch !important;
    border-top: 1px solid #d9d9d9 !important;
    z-index: 9999 !important;
    box-sizing: border-box !important;
    min-height: 64px !important;
    padding: 0 !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
    box-shadow: 0 -1px 6px rgba(0,0,0,.08) !important;
    -webkit-transform: none !important; transform: none !important;
    -webkit-filter: none !important; filter: none !important;
    -webkit-backface-visibility: hidden !important; backface-visibility: hidden !important;
}
.lx-bottom-nav .nav-item {
    -webkit-flex: 1 !important; flex: 1 !important;
    position: relative !important; text-align: center !important;
    text-decoration: none !important; color: #4a4a4a !important;
    display: -webkit-flex !important; display: flex !important;
    -webkit-flex-direction: column !important; flex-direction: column !important;
    -webkit-align-items: center !important; align-items: center !important;
    -webkit-justify-content: flex-start !important; justify-content: flex-start !important;
    padding: 14px 2px 6px !important;
    box-sizing: border-box !important;
    background: transparent !important; border: none !important;
    -webkit-tap-highlight-color: rgba(25,156,170,.1);
    touch-action: manipulation;
}
.lx-bottom-nav .nav-icon {
    height: 22px !important;
    display: -webkit-flex !important; display: flex !important;
    -webkit-align-items: center !important; align-items: center !important;
    -webkit-justify-content: center !important; justify-content: center !important;
    margin-bottom: 4px !important;
}
.lx-bottom-nav .nav-icon i { font-size: 1.2rem !important; color: #8b8b8b !important; line-height: 1 !important; }
.lx-bottom-nav .nav-label {
    height: 30px !important;
    display: -webkit-flex !important; display: flex !important;
    -webkit-align-items: flex-start !important; align-items: flex-start !important;
    -webkit-justify-content: center !important; justify-content: center !important;
    text-align: center !important; font-size: 10px !important; line-height: 1.05 !important;
    color: #3d3d3d !important; white-space: normal !important;
    font-family: 'Open Sans', sans-serif !important;
    margin-top: 5px !important; text-transform: none !important; letter-spacing: 0 !important;
}
.lx-bottom-nav .nav-item.active .nav-icon i,
.lx-bottom-nav .nav-item.active .nav-label {
    color: #199caa !important;
}
.lx-bottom-nav .nav-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 7.5%;
    width: 85%;
    height: 3px;
    background: transparent;
    transition: background 0.2s ease;
}
.lx-bottom-nav .nav-item.active::before {
    background: #199caa;
}

/* ============================================ */
/*  MISC                                        */
/* ============================================ */
.lx-mob-ext { font-size: 16px; color: #aaa; margin-left: 6px; -webkit-flex-shrink: 0; flex-shrink: 0; }

/* ============================================ */
/*  SCROLL LOCK                                 */
/* ============================================ */
body.lx-menu-open {
    overflow: hidden !important;
    width: 100% !important;
    touch-action: none;
    -webkit-overflow-scrolling: auto !important;
    /* NO position:fixed — breaks Safari fixed children */
}

/* ============================================ */
/*  LANGUAGE SWITCHER                           */
/* ============================================ */
.lx-mob-lang-li { list-style: none; border-top: 1px solid rgba(0,0,0,.08); margin-top: 6px; }
.lx-mob-lang-trigger {
    width: 100%; display: -webkit-flex; display: flex;
    -webkit-align-items: center; align-items: center;
    -webkit-justify-content: space-between; justify-content: space-between;
    padding: 1rem 1.5rem; background: transparent; border: none;
    border-bottom: 0.5px solid rgba(0,0,0,.06);
    cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.lx-mob-lang-trigger:active { background: rgba(0,0,0,.03); }
.lx-mob-lang-trigger-l { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; gap: 10px; min-width: 0; }
.lx-mob-lang-trigger-l .bi-globe { font-size: 18px; color: #199caa; -webkit-flex-shrink: 0; flex-shrink: 0; }
.lx-mob-cur-flag { border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px rgba(0,0,0,.1); -webkit-flex-shrink: 0; flex-shrink: 0; }
.lx-mob-lang-trigger-l span { font-size: 13.5px; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-mob-lang-chev { font-size: 12px; color: #bbb; -webkit-flex-shrink: 0; flex-shrink: 0; -webkit-transition: -webkit-transform .2s ease; transition: transform .2s ease; }
.lx-mob-lang-chev.open { -webkit-transform: rotate(180deg); transform: rotate(180deg); }
.lx-mob-lang-panel { background: #f8f8f8; border-bottom: 0.5px solid rgba(0,0,0,.06); padding: 12px; box-sizing: border-box; width: 100%; }
.lx-mob-lang-panel[hidden] { display: none; }
.lx-mob-lang-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; box-sizing: border-box; }
.lx-mob-lang-opt {
    display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center;
    gap: 8px; padding: 10px 11px; border-radius: 10px;
    border: 1px solid rgba(0,0,0,.09); background: #fff;
    text-decoration: none; min-width: 0; box-sizing: border-box; overflow: hidden;
    -webkit-transition: border-color .15s, background .15s; transition: border-color .15s, background .15s;
    -webkit-tap-highlight-color: transparent;
}
.lx-mob-lang-opt:active { border-color: #199caa; background: #f0fbfb; }
.lx-mob-lang-opt img { border-radius: 50%; object-fit: cover; -webkit-flex-shrink: 0; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.lx-mob-lang-opt span { font-size: 12px; color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -webkit-flex: 1; flex: 1; min-width: 0; }
.lx-mob-lang-opt .bi-check2 { font-size: 13px; color: #199caa; -webkit-flex-shrink: 0; flex-shrink: 0; }
.lx-mob-lang-opt.lx-mob-lang-active { border-color: #199caa; background: #edf9f8; }
.lx-mob-lang-opt.lx-mob-lang-active span { color: #0a6b5b; font-weight: 500; }
.lx-mobile-menu .lx-language-switcher .lx-lang-dropdown-wrapper { display: none !important; }