/* E1-01: header dropdowns use the catalogue flyout's existing visual language. */
#header_ishiheaderlinks {
    --e1-menu-accent: #830e02;
    --e1-menu-rule: #ddd;
    --e1-menu-width: 340px;
    --e1-menu-gap: 12px;
}
#header_ishiheaderlinks .bullet > li.e1-parent > a.viewmore::before { display: none; }
#header_ishiheaderlinks .e1-menu-toggle {
    position: absolute; top: -7px; right: 0; width: 24px; height: 30px;
    padding: 0; border: 0; border-radius: 3px; background: transparent;
    color: var(--e1-menu-accent); cursor: pointer; line-height: 1;
}
#header_ishiheaderlinks .e1-menu-toggle::before {
    content: ''; display: inline-block; width: 7px; height: 7px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}
#header_ishiheaderlinks .e1-menu-toggle[aria-expanded="true"]::before {
    transform: translateY(2px) rotate(225deg);
}
#header_ishiheaderlinks .e1-menu-toggle:hover { background: #f7f7f7; }
#header_ishiheaderlinks .e1-menu-toggle:focus-visible,
#header_ishiheaderlinks .e1-parent > a:focus-visible { outline: 2px solid var(--e1-menu-accent); outline-offset: 2px; }
#header_ishiheaderlinks .bullet > li.e1-parent > .headerlink-dropdown {
    position: absolute; left: var(--e1-menu-left, -2px); right: auto;
    top: calc(100% + var(--e1-menu-gap)); width: var(--e1-menu-width);
    max-width: calc(100vw - 24px); max-height: var(--e1-menu-height, calc(100vh - 180px));
    overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
    padding: 15px 0; border: 0; border-left: 2px solid var(--e1-menu-accent);
    border-radius: 0; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.1);
    text-align: left; z-index: 1000; transform: translateY(6px);
    visibility: hidden; opacity: 0; pointer-events: none;
    transition: opacity .16s ease, transform .16s ease, visibility 0s .16s;
}
#header_ishiheaderlinks.e1-menu-ready .bullet > li.e1-parent.e1-open > .headerlink-dropdown,
#header_ishiheaderlinks:not(.e1-menu-ready) .bullet > li.e1-parent:hover > .headerlink-dropdown {
    top: calc(100% + var(--e1-menu-gap)); visibility: visible; opacity: 1;
    transform: translateY(0); pointer-events: auto; transition-delay: 0s;
}
#header_ishiheaderlinks .bullet > li.e1-parent > .headerlink-dropdown > ul.small {
    display: block; margin: 0 !important; padding: 0 !important;
}
#header_ishiheaderlinks .bullet > li.e1-parent > .headerlink-dropdown > ul.small > li {
    display: block; width: auto; margin: 0 20px; padding: 0; line-height: normal;
}
#header_ishiheaderlinks .bullet > li.e1-parent > .headerlink-dropdown > ul.small > li > a {
    position: relative; display: block; margin: 0 0 17px; padding: 0 0 4px !important;
    border: 0 !important; color: var(--e1-menu-accent); font-family: inherit;
    font-size: 15px; font-weight: 400; line-height: 1.42857143;
    text-transform: none; text-decoration: none; white-space: normal; overflow-wrap: anywhere;
    transition: color .12s ease;
}
#header_ishiheaderlinks .bullet > li.e1-parent > .headerlink-dropdown > ul.small > li > a::before {
    content: ''; position: absolute; left: 0; bottom: -7px; width: 100%;
    border-top: 1px solid var(--e1-menu-rule);
}
#header_ishiheaderlinks .bullet > li.e1-parent > .headerlink-dropdown > ul.small > li > a:hover,
#header_ishiheaderlinks .bullet > li.e1-parent > .headerlink-dropdown > ul.small > li > a:focus-visible,
#header_ishiheaderlinks .bullet > li.e1-parent > .headerlink-dropdown > ul.small > li > a.active { color: #000; }
#header_ishiheaderlinks .bullet > li.e1-parent > .headerlink-dropdown > ul.small > li > a:focus-visible {
    outline: 2px solid var(--e1-menu-accent); outline-offset: 6px;
}
@media (min-width: 992px) {
    /* The bridge includes both the visual gap and the opening displacement. */
    #header_ishiheaderlinks .e1-parent.e1-open::after {
        content: ''; position: absolute; top: 100%; height: calc(var(--e1-menu-gap) + 8px);
        left: var(--e1-menu-left, -2px); width: var(--e1-menu-panel-width, var(--e1-menu-width));
    }
}
/* Mobile navigation is a modal with one independently scrolling level at a time. */
.e1-mobile-menu { display: none; }
.e1-mobile-level-head { display: none; }
@media (max-width: 991px) {
    #header { min-height: 0; }
    #header .header-top { min-height: 0; }
    #header .nav-full-width { min-height: 50px; }
    #header .nav-full-width > .container > .row { margin-left: 0; margin-right: 0; }
    #header .header-top > .container > .row:first-child {
        display: grid; grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px 16px; align-items: center; padding: 14px 15px;
    }
    #header .header-top > .container > .row:first-child::before,
    #header .header-top > .container > .row:first-child::after { display: none; }
    #header .header-top .desktop-logo {
        width: 110px; max-width: 100%; min-width: 0; padding: 0; float: none;
    }
    #header .header-top .desktop-logo img { width: 110px; height: auto; }
    #header .header-top #_desktop_seach_widget { display: none; }
    #header .header-top #region_check { grid-column: 2; font-size: 13px; }
    #header .header-top .desktop-custominfo {
        grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px; min-width: 0; width: 100%; padding: 0; float: none;
    }
    #header .header-top .desktop-custominfo #_desktop_contactinfo,
    #header .header-top .desktop-custominfo #_desktop_contactinfo_2 {
        display: block; min-width: 0; margin: 0; padding: 0; text-align: left;
        font-size: 12px; line-height: 1.5; letter-spacing: 0; white-space: normal;
    }
    #header .header-top .desktop-custominfo .call-img { display: none; }
    #header .header-top .desktop-custominfo .call { display: block; min-width: 0; }
    #header .header-top .desktop-custominfo .call-us,
    #header .header-top .desktop-custominfo .call-num {
        font-size: 12px; line-height: 1.5; letter-spacing: 0; white-space: normal; overflow-wrap: anywhere;
    }
    #menu-icon {
        display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
        margin: 0; padding: 0; border: 0; background: transparent; color: #000; cursor: pointer;
    }
    #menu-icon:focus-visible { outline: 2px solid #830e02; outline-offset: -2px; }
    #header_ishiheaderlinks { display: none !important; }
    dialog.e1-mobile-menu {
        position: fixed; inset: 0; width: 100%; max-width: none;
        height: 100vh; height: 100dvh; max-height: none;
        margin: 0; padding: 0; border: 0; background: #fff; color: #000;
        overflow: hidden; opacity: 0; transform: translateY(18px);
        transition: opacity .22s ease, transform .22s ease;
        box-sizing: border-box; text-align: left;
    }
    dialog.e1-mobile-menu[open] { display: flex; flex-direction: column; }
    dialog.e1-mobile-menu.e1-visible { opacity: 1; transform: translateY(0); }
    dialog.e1-mobile-menu::backdrop { background: rgba(0,0,0,.25); }
    .e1-mobile-toolbar {
        display: flex; align-items: center; justify-content: space-between; flex: none;
        padding: max(12px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 12px max(18px, env(safe-area-inset-left));
        border-bottom: 2px solid #830e02; background: #fff;
    }
    .e1-mobile-toolbar strong { font-family: inherit; line-height: 1.3; font-size: 20px; font-weight: 500; }
    .e1-mobile-close, .e1-mobile-back {
        display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
        margin: 0; padding: 0; border: 0; background: transparent; color: #830e02; cursor: pointer;
    }
    .e1-mobile-close svg { width: 22px; height: 22px; }
    .e1-mobile-close:focus-visible, .e1-mobile-back:focus-visible,
    .e1-mobile-level-head a:focus-visible { outline: 2px solid #830e02; outline-offset: 2px; }
    .e1-mobile-levels { position: relative; flex: 1; min-height: 0; overflow: hidden; }
    .e1-mobile-menu #header_ishiheaderlinks {
        display: block !important; position: absolute; inset: 0; width: 100%; height: 100%;
        margin: 0; padding: 10px max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
        float: none !important; overflow: auto; overscroll-behavior: contain;
        box-sizing: border-box; transform: translateX(0); opacity: 1;
        transition: transform .24s ease, opacity .24s ease;
    }
    .e1-mobile-menu.e1-show-child #header_ishiheaderlinks { transform: translateX(-25%); opacity: 0; }
    .e1-mobile-menu #header_ishiheaderlinks > ul.bullet {
        display: block !important; margin: 0 !important; padding: 0 !important; width: 100%;
    }
    .e1-mobile-menu #header_ishiheaderlinks > ul.bullet > li {
        display: block; position: relative; float: none; width: 100% !important;
        min-height: 60px; margin: 0 !important; padding: 0 !important; border-bottom: 1px solid #e7e7e7;
    }
    .e1-mobile-menu #header_ishiheaderlinks > ul.bullet > li > a {
        display: flex; align-items: center; min-height: 60px; width: 100%;
        margin: 0; padding: 14px 10px !important; border: 0 !important;
        color: #830e02; font-size: 16px; font-weight: 500; line-height: 1.45;
        text-transform: none; white-space: normal; overflow-wrap: anywhere;
    }
    .e1-mobile-menu #header_ishiheaderlinks > ul.bullet > li.e1-parent > a { padding-right: 58px !important; }
    .e1-mobile-menu #header_ishiheaderlinks > ul.bullet > li > a.active { background: #f7f7f7; color: #000; }
    .e1-mobile-menu #header_ishiheaderlinks .e1-menu-toggle {
        top: 8px; right: 0; width: 44px; height: 44px; border-radius: 0;
    }
    .e1-mobile-menu #header_ishiheaderlinks .e1-menu-toggle::before,
    .e1-mobile-menu #header_ishiheaderlinks .e1-menu-toggle[aria-expanded="true"]::before {
        transform: rotate(-45deg); width: 8px; height: 8px;
    }
    .e1-mobile-menu .e1-mobile-level {
        position: absolute; inset: 0; display: flex; flex-direction: column;
        width: 100%; height: 100%; margin: 0; padding: 0; background: #fff;
        transform: translateX(100%); visibility: hidden;
        transition: transform .24s ease, visibility 0s .24s;
    }
    .e1-mobile-menu .e1-mobile-level.e1-current {
        transform: translateX(0); visibility: visible; transition-delay: 0s;
    }
    .e1-mobile-level-head {
        display: block; flex: none; padding: 10px max(18px, env(safe-area-inset-right)) 14px max(18px, env(safe-area-inset-left));
        background: #f7f7f7; border-bottom: 1px solid #e7e7e7;
    }
    .e1-mobile-back { gap: 8px; font-size: 14px; font-weight: 400; }
    .e1-mobile-back svg { width: 16px; height: 16px; }
    .e1-mobile-level-head a {
        display: flex; align-items: center; min-height: 44px; padding: 6px 0;
        color: #830e02; font-size: 20px; font-weight: 500; line-height: 1.35; text-transform: none;
    }
    .e1-mobile-menu .e1-mobile-level > ul.small {
        display: block !important; flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain;
        margin: 0 !important; padding: 0 max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)) !important;
        list-style: none; border-left: 2px solid #830e02;
    }
    .e1-mobile-menu .e1-mobile-level > ul.small > li { display: block; margin: 0; padding: 0; }
    .e1-mobile-menu .e1-mobile-level > ul.small > li > a {
        display: flex; align-items: center; min-height: 60px;
        margin: 0; padding: 16px 10px; border-bottom: 1px solid #ddd;
        color: #830e02; font-size: 16px; font-weight: 400; line-height: 1.45;
        text-transform: none; white-space: normal; overflow-wrap: anywhere;
    }
    .e1-mobile-menu .e1-mobile-level > ul.small > li > a.active { color: #000; background: #f7f7f7; }
    .e1-mobile-menu .e1-mobile-level > ul.small > li > a:focus-visible { outline: 2px solid #830e02; outline-offset: -2px; }
    body.e1-mobile-menu-open { position: fixed; top: var(--e1-scroll-top); width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    #header_ishiheaderlinks .headerlink-dropdown,
    #header_ishiheaderlinks .headerlink-dropdown a,
    dialog.e1-mobile-menu, .e1-mobile-menu #header_ishiheaderlinks, .e1-mobile-menu .e1-mobile-level {
        transition: none !important;
    }
}
.e1-overview-list { padding-left: 22px; }
.e1-overview-list li { margin-bottom: 10px; }
.e1-overview-list a { display: inline-block; padding: 4px 0; }
