/* ============================================================
   CLUB XCL$V Custom Header — 914868fa
   ============================================================ */

.cxh-header-914868fa {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #000;
    border-bottom: 1px solid #222;
    font-family: 'Roboto', sans-serif;
}

body.admin-bar .cxh-header-914868fa {
    top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
    body.admin-bar .cxh-header-914868fa {
        top: 46px;
    }
}

/* Inner wrapper */
.cxh-inner-914868fa {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    gap: 20px;
}

/* ---- Logo ---- */
.cxh-logo-914868fa {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.cxh-logo-914868fa img {
    height: 48px;
    width: auto;
    display: block;
}
.cxh-wordmark-914868fa {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ---- Desktop Nav ---- */
.cxh-nav-914868fa {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cxh-nav-914868fa ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}
.cxh-nav-914868fa ul li {
    margin: 0;
    padding: 0;
}
.cxh-nav-914868fa ul li a {
    display: block;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 6px 9px;
    border-radius: 3px;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}
.cxh-nav-914868fa ul li a:hover,
.cxh-nav-914868fa ul li a.cxh-active-914868fa {
    color: #fff;
    background: #1a1a1a;
}

/* ---- Right Actions ---- */
.cxh-actions-914868fa {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Search form */
.cxh-search-914868fa {
    display: flex;
    align-items: center;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 20px;
    overflow: hidden;
    height: 34px;
    transition: border-color 0.2s;
}
.cxh-search-914868fa:focus-within {
    border-color: #555;
}
.cxh-search-914868fa input {
    background: transparent;
    border: none;
    outline: none;
    color: #e0e0e0;
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
    padding: 0 12px;
    width: 130px;
    height: 100%;
}
.cxh-search-914868fa input::placeholder {
    color: #666;
}
.cxh-search-914868fa button {
    background: transparent;
    border: none;
    color: #aaa;
    cursor: pointer;
    padding: 0 10px 0 4px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.cxh-search-914868fa button:hover {
    color: #fff;
}

/* Icon buttons (account, cart) */
.cxh-icon-btn-914868fa {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
    text-decoration: none;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}
.cxh-icon-btn-914868fa:hover {
    color: #fff;
    background: #1a1a1a;
}

/* Cart count badge */
.cxh-cart-count-914868fa {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #fff;
    color: #000;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    min-width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
}

/* Hamburger button */
.cxh-hamburger-914868fa {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s;
}
.cxh-hamburger-914868fa:hover {
    background: #1a1a1a;
}
.cxh-hamburger-914868fa span {
    display: block;
    width: 22px;
    height: 2px;
    background: #e0e0e0;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
/* Open state — X shape */
.cxh-hamburger-914868fa.is-open-914868fa span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.cxh-hamburger-914868fa.is-open-914868fa span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.cxh-hamburger-914868fa.is-open-914868fa span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- Mobile Nav panel ---- */
.cxh-mobile-nav-914868fa {
    display: none;
    background: #000;
    border-top: 1px solid #222;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}
.cxh-mobile-nav-914868fa.is-open-914868fa {
    max-height: 600px;
}
.cxh-mobile-nav-914868fa ul {
    list-style: none;
    margin: 0;
    padding: 8px 0 16px;
}
.cxh-mobile-nav-914868fa ul li a {
    display: block;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 24px;
    transition: color 0.2s, background 0.2s;
}
.cxh-mobile-nav-914868fa ul li a:hover,
.cxh-mobile-nav-914868fa ul li a.cxh-active-914868fa {
    color: #fff;
    background: #111;
}

/* ============================================================
   Responsive breakpoints
   ============================================================ */

/* Tablet: shrink search width */
@media (max-width: 1100px) {
    .cxh-search-914868fa input {
        width: 90px;
    }
    .cxh-nav-914868fa ul li a {
        font-size: 11px;
        padding: 6px 6px;
    }
}

/* Mobile: hide desktop nav + show hamburger */
@media (max-width: 768px) {
    .cxh-nav-914868fa {
        display: none;
    }
    .cxh-hamburger-914868fa {
        display: flex;
    }
    .cxh-mobile-nav-914868fa {
        display: block;
    }
    .cxh-search-914868fa input {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .cxh-search-914868fa input {
        width: 70px;
        font-size: 11px;
    }
    .cxh-inner-914868fa {
        padding: 0 14px;
        gap: 10px;
    }
    .cxh-logo-914868fa img {
        height: 38px;
    }
}
