/* Header Container */
.ch-header-container-8009c83b {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    width: 100%;
    background: #fff;
    position: relative;
}

/* Top Bar */
.ch-top-bar {
    background-color: #f8f9fa;
    padding: 8px 20px;
    border-bottom: 1px solid #eee;
}
.ch-top-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}
.ch-top-left a, .ch-top-right a {
    color: #334e68;
    text-decoration: none;
    margin-right: 15px;
}
.ch-top-left a:hover, .ch-top-right a:hover {
    color: #005b3e;
}
.ch-top-right {
    display: flex;
    align-items: center;
}
.ch-top-right .sep {
    color: #ccc;
    margin: 0 10px;
}
.ch-top-right a {
    margin-right: 0;
    color: #666;
}

/* Main Header */
.ch-main-header {
    padding: 20px;
}
.ch-main-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* Mobile Toggle */
.ch-mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #333;
}

/* Logo */
.ch-logo {
    flex: 0 0 auto;
}
.ch-logo img {
    height: auto;
    display: block;
}
.ch-logo h2 {
    margin: 0;
    color: #005b3e;
}

/* Search Area */
.ch-search-area {
    flex: 1;
    max-width: 800px;
}
.ch-search-container {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
}
.ch-search-select-wrapper {
    position: relative;
    border-right: 1px solid #ddd;
    background: #f8f9fa;
}
.ch-search-select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    padding: 12px 30px 12px 15px;
    font-size: 14px;
    color: #333;
    outline: none;
    cursor: pointer;
    height: 100%;
}
.ch-search-select-wrapper::after {
    content: '\f107';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
}

.ch-search-form {
    display: flex;
    flex: 1;
    position: relative;
}
.ch-search-form input[type="search"] {
    flex: 1;
    border: none;
    padding: 12px 20px;
    outline: none;
    font-size: 14px;
    background: transparent;
}
.ch-search-form button {
    background: transparent;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    outline: none;
}

/* Icons Area */
.ch-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
}
.ch-icons a {
    color: #555;
    font-size: 24px;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
    cursor: pointer;
}
.ch-icons a:hover {
    color: #005b3e;
}

/* Cart Count Badge */
.ch-cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    line-height: 1;
}

/* Navigation */
.ch-main-nav-wrapper {
    background-color: #005b3e; /* Theme Green */
}
.ch-main-nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.ch-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.ch-nav-list li {
    position: relative;
}
.ch-nav-list a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 15px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background-color 0.3s;
}
.ch-nav-list a:hover {
    background-color: rgba(0,0,0,0.1);
}
.ch-nav-list .has-dropdown > a i {
    margin-left: 5px;
    font-size: 12px;
}

/* Sidebar Popups */
.ch-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}
.ch-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ch-sidebar-popup {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}
.ch-sidebar-popup.active {
    right: 0;
}

.ch-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}
.ch-sidebar-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}
.ch-sidebar-close {
    cursor: pointer;
    font-size: 20px;
    color: #666;
}
.ch-sidebar-close:hover {
    color: #d32f2f;
}

.ch-sidebar-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .ch-top-bar-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .ch-top-right {
        flex-wrap: wrap;
        justify-content: center;
    }
    .ch-top-right .sep {
        display: none;
    }
    .ch-top-right a {
        margin: 0 5px;
    }
}

@media (max-width: 768px) {
    .ch-main-header-inner {
        flex-wrap: wrap;
    }
    .ch-mobile-toggle {
        display: block;
        order: 1;
    }
    .ch-logo {
        order: 2;
        margin: 0 auto;
    }
    .ch-icons {
        order: 3;
    }
    .ch-search-area {
        order: 4;
        flex: 100%;
        margin-top: 15px;
    }
    
    .ch-main-nav-wrapper {
        display: none; 
    }
    .ch-main-nav-wrapper.active {
        display: block;
    }
    .ch-nav-list {
        flex-direction: column;
    }
    .ch-nav-list a {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .ch-sidebar-popup {
        width: 100%;
        right: -100%;
    }
}