/* Luxury Off-Canvas Header 1.2.0 — every frontend selector is scoped with .loh-* */
.loh-shell {
    --loh-drawer-width: 480px;
    --loh-root-font: 22px;
    --loh-root-font-mobile: 20px;
    --loh-sub-font: 14px;
    --loh-sub-font-mobile: 13px;
    --loh-root-pad: 11px;
    --loh-sub-pad: 8px;
    --loh-indent: 16px;
    --loh-text: #f4f0e8;
    --loh-muted: #b8b0a5;
    --loh-accent: #c7a35b;
    --loh-icon-color: #111111;
    position: relative;
    z-index: 9990;
    display: inline-block;
    width: auto;
    line-height: 1;
    isolation: isolate;
}

.loh-shell *,
.loh-shell *::before,
.loh-shell *::after {
    box-sizing: border-box;
}

/* Hamburger only: no logo, label, container background or circular blue button. */
.loh-menu-toggle {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: relative;
    z-index: 100003;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-grid !important;
    place-items: center;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    color: var(--loh-icon-color) !important;
    box-shadow: none !important;
    cursor: pointer;
    transform: none;
}

.loh-menu-toggle:hover,
.loh-menu-toggle:focus,
.loh-menu-toggle:active {
    border: 0 !important;
    background: transparent !important;
    background-image: none !important;
    color: var(--loh-icon-color) !important;
    box-shadow: none !important;
    transform: none;
}

.loh-menu-toggle:focus-visible,
.loh-drawer-close:focus-visible,
.loh-navigation a:focus-visible,
.loh-submenu-toggle:focus-visible,
.loh-backdrop:focus-visible {
    outline: 2px solid var(--loh-accent) !important;
    outline-offset: 3px;
}

.loh-toggle-box {
    position: relative;
    display: block;
    width: 24px;
    height: 18px;
}

.loh-toggle-line {
    position: absolute;
    left: 0;
    display: block;
    width: 24px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transform-origin: center;
    transition: top 320ms cubic-bezier(.77, 0, .18, 1), transform 320ms cubic-bezier(.77, 0, .18, 1), opacity 180ms ease;
}

.loh-toggle-line-1 { top: 0; }
.loh-toggle-line-2 { top: 8px; width: 17px; }
.loh-toggle-line-3 { top: 16px; }

.loh-menu-toggle.is-active .loh-toggle-line-1 {
    top: 8px;
    transform: rotate(45deg);
}

.loh-menu-toggle.is-active .loh-toggle-line-2 {
    opacity: 0;
    transform: scaleX(0);
}

.loh-menu-toggle.is-active .loh-toggle-line-3 {
    top: 8px;
    transform: rotate(-45deg);
}

.loh-backdrop {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(0, 0, 0, 0.68) !important;
    opacity: 0;
    visibility: hidden;
    cursor: default;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: opacity 320ms ease, visibility 0s linear 320ms;
}

.loh-open .loh-backdrop {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.loh-drawer[off-canvas] {
    position: fixed;
    z-index: 100002;
    top: 0;
    bottom: 0;
    display: none;
    width: min(var(--loh-drawer-width), 100vw);
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #000000 !important;
    background-image: none !important;
    color: var(--loh-text);
    box-shadow: -26px 0 70px rgba(0, 0, 0, 0.32);
    transform: translate3d(0, 0, 0);
    transition: transform 500ms cubic-bezier(.77, 0, .18, 1);
    -webkit-overflow-scrolling: touch;
    will-change: transform;
}

.loh-side-right .loh-drawer { right: 0; }
.loh-side-left .loh-drawer {
    left: 0;
    box-shadow: 26px 0 70px rgba(0, 0, 0, 0.32);
}

.loh-drawer-inner {
    min-height: 100%;
    padding: 0 clamp(22px, 4vw, 38px) max(28px, env(safe-area-inset-bottom));
    background: #000000 !important;
    background-image: none !important;
}

/* The close button is fixed visually to the top-right inside the black panel. */
.loh-drawer-top {
    position: sticky;
    top: 0;
    z-index: 10;
    height: 66px;
    padding-top: max(12px, env(safe-area-inset-top));
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    background: #000000;
}

.loh-drawer-close {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: relative;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-grid !important;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.34) !important;
    border-radius: 50% !important;
    background: #000000 !important;
    background-image: none !important;
    color: #ffffff !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: border-color 200ms ease, transform 220ms ease;
}

.loh-drawer-close:hover,
.loh-drawer-close:focus,
.loh-drawer-close:active {
    border-color: var(--loh-accent) !important;
    background: #000000 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: none !important;
}

.loh-drawer-close > span {
    position: relative !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px;
    pointer-events: none;
}

.loh-drawer-close > span::before,
.loh-drawer-close > span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 1.75px;
    margin-left: -9px;
    margin-top: -0.875px;
    border-radius: 2px;
    background: currentColor;
    transform-origin: center center;
}

.loh-drawer-close > span::before { transform: rotate(45deg); }
.loh-drawer-close > span::after { transform: rotate(-45deg); }

.loh-navigation {
    margin: 0;
    padding: 0 0 28px;
}

.loh-menu,
.loh-submenu {
    list-style: none !important;
    margin: 0 !important;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
}

.loh-menu { padding-left: 0 !important; }

.loh-menu-item {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
}

.loh-menu > .loh-menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.loh-menu-row {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.loh-menu-link {
    min-width: 0;
    flex: 1 1 auto;
    margin: 0 !important;
    color: var(--loh-text) !important;
    text-decoration: none !important;
    white-space: normal;
    overflow-wrap: anywhere;
    transition: color 180ms ease, transform 220ms ease;
}

.loh-menu > .loh-menu-item > .loh-menu-row > .loh-menu-link {
    padding: var(--loh-root-pad) 0 !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: var(--loh-root-font) !important;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.015em;
}

.loh-menu-link:hover,
.loh-menu-link:focus,
.loh-menu .current-menu-item > .loh-menu-row > .loh-menu-link,
.loh-menu .current-menu-ancestor > .loh-menu-row > .loh-menu-link {
    color: var(--loh-accent) !important;
    text-decoration: none !important;
}

.loh-menu-link:hover,
.loh-menu-link:focus {
    transform: translateX(4px);
}

.loh-submenu-toggle {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: relative;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-grid !important;
    place-items: center;
    flex: 0 0 30px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    color: var(--loh-text) !important;
    box-shadow: none !important;
    cursor: pointer;
}

.loh-submenu-toggle:hover,
.loh-submenu-toggle:focus,
.loh-submenu-toggle:active {
    border: 0 !important;
    background: transparent !important;
    color: var(--loh-accent) !important;
    box-shadow: none !important;
}

.loh-submenu-toggle span::before,
.loh-submenu-toggle span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: opacity 180ms ease, transform 220ms ease;
}

.loh-submenu-toggle span::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.loh-submenu-toggle[aria-expanded="true"] span::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.loh-submenu[hidden] { display: none !important; }

.loh-submenu {
    margin: 0 !important;
    padding-left: var(--loh-indent) !important;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 300ms cubic-bezier(.4, 0, .2, 1), opacity 200ms ease;
}

.loh-submenu.is-open {
    opacity: 1;
}

.loh-submenu .loh-menu-row {
    gap: 10px;
}

.loh-submenu .loh-menu-link {
    padding: var(--loh-sub-pad) 0 !important;
    color: var(--loh-muted) !important;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: var(--loh-sub-font) !important;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.loh-submenu .current-menu-item > .loh-menu-row > .loh-menu-link,
.loh-submenu .current-menu-ancestor > .loh-menu-row > .loh-menu-link,
.loh-submenu .loh-menu-link:hover,
.loh-submenu .loh-menu-link:focus {
    color: var(--loh-accent) !important;
}

.loh-submenu .loh-submenu-toggle {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    flex-basis: 26px;
}

.loh-empty-menu {
    margin: 0;
    padding: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    color: var(--loh-muted);
    font-size: 14px;
    line-height: 1.5;
}

body.loh-menu-open {
    overflow: hidden !important;
    touch-action: none;
}

.admin-bar .loh-drawer[off-canvas] {
    top: 32px;
    height: calc(100dvh - 32px);
}

@media (max-width: 782px) {
    .admin-bar .loh-drawer[off-canvas] {
        top: 46px;
        height: calc(100dvh - 46px);
    }
}

@media (max-width: 767px) {
    .loh-drawer[off-canvas] {
        width: min(var(--loh-drawer-width), 100vw);
    }

    .loh-drawer-inner {
        padding-right: 20px;
        padding-left: 20px;
    }

    .loh-menu > .loh-menu-item > .loh-menu-row > .loh-menu-link {
        font-size: var(--loh-root-font-mobile) !important;
    }

    .loh-submenu .loh-menu-link {
        font-size: var(--loh-sub-font-mobile) !important;
        letter-spacing: 0.055em;
    }

    .loh-submenu {
        padding-left: min(var(--loh-indent), 14px) !important;
    }
}

@media (max-width: 480px) {
    .loh-drawer[off-canvas] {
        width: 100vw;
        max-width: 100vw;
    }

    .loh-drawer-inner {
        padding-right: 17px;
        padding-left: 17px;
    }

    .loh-drawer-top {
        height: 60px;
    }

    .loh-drawer-close {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }

    .loh-menu-row {
        gap: 8px;
    }

    .loh-submenu {
        padding-left: min(var(--loh-indent), 12px) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .loh-shell *,
    .loh-shell *::before,
    .loh-shell *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .loh-drawer,
    .loh-backdrop,
    .loh-menu-toggle {
        display: none !important;
    }
}
