/* Palladium mobile + tablet navigation (≤991px) — standalone */

.pdm-mobile-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    min-height: 56px;
}

.pdm-mobile-bar .brand-logo img {
    max-height: 56px;
    width: auto;
    display: block;
}

.pdm-menu-btn {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: #f58232;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1041;
}

.pdm-menu-btn span {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 2px;
    margin: 0 !important;
    background: #fff;
    border-radius: 1px;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.pdm-menu-btn span:nth-child(1) {
    transform: translate(-50%, calc(-50% - 7px));
}

.pdm-menu-btn span:nth-child(2) {
    transform: translate(-50%, -50%);
}

.pdm-menu-btn span:nth-child(3) {
    transform: translate(-50%, calc(-50% + 7px));
}

.pdm-menu-btn.is-active span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.pdm-menu-btn.is-active span:nth-child(2) {
    opacity: 0;
}

.pdm-menu-btn.is-active span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Drawer */
.pdm-mobile-nav {
    display: none;
}

.pdm-mobile-nav.is-open {
    display: block;
}

.pdm-mobile-nav__backdrop {
    position: fixed;
    inset: 0;
    top: var(--pdm-header-height-mobile, 64px);
    background: rgba(7, 41, 55, 0.45);
    z-index: 1034;
}

.pdm-mobile-nav__panel {
    position: fixed;
    top: var(--pdm-header-height-mobile, 64px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1035;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pdm-mobile-nav__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    background: #fafbfc;
}

.pdm-mobile-nav__quick a {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #334155;
    text-decoration: none;
}

.pdm-mobile-nav__quick a:hover {
    color: #f37021;
}

.pdm-mobile-nav__search {
    display: flex;
    width: 100%;
    margin-top: 4px;
}

.pdm-mobile-nav__search input {
    flex: 1;
    border: 1px solid #d1d5db;
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 10px 12px;
    font-size: 16px;
    outline: none;
}

.pdm-mobile-nav__search input:focus {
    border-color: #f37021;
}

.pdm-mobile-nav__search button {
    border: none;
    background: #f37021;
    color: #fff;
    padding: 0 16px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
}

.pdm-mobile-nav__body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 8px 0 24px;
}

/* Accordion */
.pdm-acc {
    border-bottom: 1px solid #f0f0f0;
}

.pdm-acc__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    min-height: 52px;
    border: none;
    background: #fff;
    font-family: 'Fira Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1a1f4a;
    text-align: left;
    cursor: pointer;
}

.pdm-acc__toggle img {
    height: 22px;
    width: auto;
    flex-shrink: 0;
}

.pdm-acc__toggle-label {
    flex: 1;
}

.pdm-acc__chev {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 400;
    color: #f37021;
    transition: transform 0.2s;
}

.pdm-acc.is-open > .pdm-acc__toggle .pdm-acc__chev {
    transform: rotate(180deg);
}

.pdm-acc__panel {
    display: none;
    background: #f8fafc;
}

.pdm-acc.is-open > .pdm-acc__panel {
    display: block;
}

.pdm-acc__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pdm-acc__link {
    display: block;
    padding: 12px 16px 12px 24px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    line-height: 1.35;
}

.pdm-acc__link:hover,
.pdm-acc__link:focus {
    color: #f37021;
    background: rgba(243, 112, 33, 0.06);
}

.pdm-acc--nested {
    border-bottom: none;
}

.pdm-acc--nested > .pdm-acc__toggle {
    padding-left: 24px;
    min-height: 46px;
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    background: #f8fafc;
}

.pdm-acc--nested > .pdm-acc__panel {
    background: #f1f5f9;
    border-left: 3px solid rgba(243, 112, 33, 0.4);
    margin-left: 16px;
}

.pdm-acc--nested .pdm-acc--nested > .pdm-acc__panel {
    background: #eef2f6;
    border-left-color: rgba(243, 112, 33, 0.25);
}

.pdm-acc--nested .pdm-acc__link {
    padding-left: 32px;
    font-size: 12px;
    font-weight: 500;
}

body.pdm-nav-open {
    overflow: hidden;
}

@media (max-width: 991.98px) {
    /* Hide desktop collapse menu; mobile drawer uses #pdmNavSource */
    .pdm-header-classic #navbarApp {
        display: none !important;
    }

    .pdm-mobile-nav__backdrop {
        top: var(--pdm-header-height-mobile, 64px);
    }

    .pdm-mobile-nav__panel {
        top: var(--pdm-header-height-mobile, 64px);
    }
}

@media (min-width: 992px) {
    .pdm-mobile-nav {
        display: none !important;
    }
}
