.clickterm-header-wrapper {
    width: 100%;
    position: relative;
    z-index: 999;
}

/* Desktop Structure */
.clickterm-header-desktop {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    padding: 1rem 0;
    /* Adjust as needed */
}

.clickterm-header-desktop-buttons {
    margin-left: auto;
}

.clickterm-header-logo img {
    height: 40px;
    /* Default height, can be overridden */
    width: auto;
    display: block;
}

.clickterm-header-burger {
    display: none;
    /* Hidden on desktop by default in CSS logic, but we need media queries */
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 0.5rem;
    margin-left: auto;
}

.clickterm-header-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    /* Assuming dark header normally? Or configurable? */
    transition: all 0.3s;
}

/* Mobile Overlay - Hidden by default */
.clickterm-header-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
    padding: 1rem 1.5rem;
    overflow-y: auto;
}

.clickterm-header-mobile-overlay.is-open {
    transform: translateY(0);
}

.clickterm-header-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.clickterm-header-logo-dark img {
    height: 40px;
    width: auto;
}

.clickterm-header-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #111;
    padding: 0.5rem;
    display: flex;
    transition: none;
}

.clickterm-header-close:hover,
.clickterm-header-close:focus {
    background: none !important;
    color: #111 !important;
}

.clickterm-header-burger:hover,
.clickterm-header-burger:focus {
    background: none !important;
}

.clickterm-header-mobile-content {
    flex: 1;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111;
    text-decoration: none;
}

.clickterm-header-mobile-footer {
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 1px solid #f0f0f0;
}

.mobile-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
}

.mobile-btn-1 {
    background-color: transparent;
    color: #111;
    border: 1px solid #e5e7eb;
}

.mobile-btn-2 {
    background-color: #7F56D9;
    color: #fff;
    border: 1px solid #7F56D9;
}

/* Mobile Styles (< 1024px or similar breakpoint) */
@media (max-width: 1024px) {

    .clickterm-header-desktop-menu,
    .clickterm-header-desktop-buttons {
        display: none;
    }

    .clickterm-header-burger {
        display: flex;
    }

    /* Ensure burger color matches header background context */
    .clickterm-header-burger span {
        background-color: currentColor;
        /* Inherit color from widget text color setting? */
    }
}

/* Desktop Styles (> 1024px) */
@media (min-width: 1025px) {
    .clickterm-header-mobile-overlay {
        display: none;
        /* Never show overlay on huge screens? Or keep accessible? */
    }

    .desktop-nav ul {
        display: flex;
        list-style: none;
        gap: 2rem;
        padding: 0;
        margin: 0;
    }

    .desktop-nav a {
        text-decoration: none;
        color: inherit;
        /* Should be set by Elementor styles */
        font-weight: 500;
        transition: color 0.3s;
    }

    .clickterm-header-desktop-buttons {
        display: flex;
        gap: 1rem;
    }

    .desktop-btn {
        padding: 10px 18px;
        border-radius: 8px;
        font-weight: 600;
        text-decoration: none;
        font-size: 0.95rem;
        transition: all 0.3s;
    }

    .desktop-btn-1 {
        color: inherit;
        /* Or specific color */
    }

    .desktop-btn-2 {
        background-color: #7F56D9;
        color: #fff;
        padding: 10px 20px;
    }

    .desktop-btn-2:hover {
        background-color: #6941C6;
    }
}

/* Utilities */
body.clickterm-menu-open {
    overflow: hidden;
}