/* ── Header Bar ── */
.emkay-oc-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #fff;
    position: relative;
    z-index: 999;
}

.emkay-oc-header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.emkay-oc-header-logo img {
    width: 140px;
    height: auto;
    display: block;
}

.emkay-oc-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emkay-oc-hamburger img,
.emkay-oc-hamburger svg {
    width: 32px;
    height: 32px;
    display: block;
}

/* Fallback hamburger lines */
.emkay-oc-hamburger-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
}
.emkay-oc-hamburger-lines span {
    display: block;
    height: 2.5px;
    background: #1B3F3C;
    border-radius: 2px;
}

/* CTA */
.emkay-oc-cta {
    display: inline-block;
    background: #1B3F3C;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

/* ── Overlay ── */
.emkay-oc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
}
.emkay-oc-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ── Panel ── */
.emkay-oc-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    background: #1B3F3C;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    padding: 24px;
    box-sizing: border-box;
}
.emkay-oc-panel.active {
    transform: translateX(0);
}

/* Panel top */
.emkay-oc-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.emkay-oc-panel-logo img {
    width: 150px;
    height: auto;
    display: block;
}

.emkay-oc-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}
.emkay-oc-close img,
.emkay-oc-close svg {
    width: 24px;
    height: 24px;
    display: block;
}

/* ── Search ── */
.emkay-oc-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 30px;
    padding: 12px 16px;
    margin-bottom: 32px;
}

.emkay-oc-search-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.emkay-oc-search-icon img,
.emkay-oc-search-icon svg {
    width: 20px;
    height: 20px;
}

.emkay-oc-search input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    font-size: 15px;
    color: #333;
    width: 100%;
}
.emkay-oc-search input::placeholder {
    color: #999;
}

/* ── Nav ── */
.emkay-oc-nav {
    flex: 1;
}

.emkay-oc-menu-item {
    border-bottom: none;
    border-bottom-width: 0;
}
.emkay-oc-menu-item[style*="border-bottom-style: yes"] {
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.emkay-oc-menu-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.emkay-oc-menu-link {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    flex: 1;
}

/* Expand button */
.emkay-oc-expand {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}
.emkay-oc-expand.rotated {
    transform: rotate(45deg);
}

.emkay-oc-expand img,
.emkay-oc-expand svg {
    width: 20px;
    height: 20px;
    display: block;
}

.emkay-oc-expand-default {
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sub-menu */
.emkay-oc-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding-left: 16px;
}
.emkay-oc-submenu.open {
    max-height: 500px;
    padding-bottom: 8px;
}

.emkay-oc-submenu a {
    display: block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 15px;
    padding: 10px 0;
}

/* ── Body lock when panel is open ── */
body.emkay-oc-locked {
    overflow: hidden;
}
