/* Header Styles for SoCap Theme */

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 2rem;
    background-color: #ffffff;
    border-bottom: 1px solid #eef0f2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* ## Top Bar */
.header-top-bar {
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f2;
    padding-top: 0.3rem;
    font-size: 0.85rem;
    min-height: 30px;
}

.header-top-bar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-top-left {
    display: none;
    /* Hidden or empty */
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-top-link {
    text-decoration: none;
    color: var(--link-color);
}

.header-top-link:hover {
    color: var(--link-hover-color);
}

.social-links-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.75rem;
}

.social-links-menu li {
    margin: 0;
    padding: 0;
    line-height: 1;
}

.social-links-menu a.social-icon-link {
    display: block;
    color: var(--link-color);
    padding: 5px;
    line-height: 0;
}

.social-links-menu a.social-icon-link:hover {
    color: var(--link-hover-color);
}

.social-links-menu svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: block;
}

/* ## Main Header (Logo, Search, Toggle) */
.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    min-height: 64px;
}

.site-branding {
    text-align: left;
    margin-bottom: 0;
    flex-shrink: 0;
    margin-right: 1.5rem;
    max-width: 250px;
}

.custom-logo-link img,
.site-branding img.custom-logo {
    width: 100%;
    max-width: 135px;
    height: auto;
    display: block;
    vertical-align: middle;
    margin: 0;
}

.custom-logo-link {
    display: flex;
    align-items: center;
    line-height: 0;
}

.site-title a {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
    letter-spacing: -0.02em;
}

/* Hide site title and description if logo is present */
.custom-logo+.site-title,
.custom-logo~.site-description,
.site-description {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.header-main-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Minimal header login link for signed-out visitors */
.header-login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.72rem;
    border-radius: 10px;
    color: #3f3f46;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.header-login-link:hover {
    color: #09090b;
    background-color: #f4f4f5;
}

.header-login-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.22);
}

/* Add Profile CTA Button */
.header-cta-add-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    background: linear-gradient(135deg, #251f3b, #141221);
    color: #ffffff;
    padding: 0.54rem 0.92rem;
    border-radius: 10px;
    font-size: 0.87rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12), 0 6px 16px -6px rgba(20, 18, 33, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.header-cta-add-profile:hover {
    background: linear-gradient(135deg, #30284c, #1c182e);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.14), 0 10px 22px -6px rgba(20, 18, 33, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.header-cta-add-profile:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.28), 0 5px 16px rgba(39, 33, 62, 0.2);
}

.header-cta-arrow {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: #ffad78;
    transition: transform 0.18s ease;
}

.header-cta-add-profile:hover .header-cta-arrow {
    transform: translateX(2px);
}

/* Signed-in dashboard shortcuts */
.header-account-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.header-account-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #3f3f46;
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease;
}

.header-account-icon:hover,
.header-account-icon:focus-visible {
    background: transparent;
    color: #09090b;
}

.header-account-icon:focus-visible,
.header-wallet-link:focus-visible {
    outline: 2px solid rgba(124, 58, 237, 0.35);
    outline-offset: 2px;
}

.header-account-icon svg {
    width: 19px;
    height: 19px;
    stroke-width: 1.75;
}

.header-inbox-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: #dc2626;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}

.header-wallet-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 11px;
    margin: 0 2px;
    border: 1px solid #e4e4e7;
    border-radius: 10px;
    background: #fafafa;
    color: #18181b;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.header-wallet-link:hover {
    border-color: #d4d4d8;
    background: #f4f4f5;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    color: #09090b;
}

.header-wallet-link > svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    color: #6d28d9;
    stroke-width: 1.75;
}

.header-wallet-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.15;
}

.header-wallet-amount {
    color: #18181b;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    white-space: nowrap;
}

/* Icon Search */
.icon-search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.icon-search-toggle {
    background-color: transparent;
    border: none;
    color: #3f3f46;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: color 0.18s ease;
    flex-shrink: 0;
    z-index: 3;
}

.icon-search-toggle:hover,
.icon-search-toggle:focus,
.icon-search-container.active .icon-search-toggle {
    background-color: transparent;
    color: #09090b;
    outline: none;
}

.icon-search-toggle:focus-visible {
    background-color: transparent;
    color: #09090b;
    outline: 2px solid rgba(124, 58, 237, 0.35);
    outline-offset: 2px;
}

.icon-search-toggle .search-svg-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
}

.icon-search-form-wrapper {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 36px;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    box-shadow: none;
    width: 36px;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.18s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        visibility 0s linear 0.28s;
    z-index: 2;
}

.icon-search-container.active .icon-search-form-wrapper,
.icon-search-container.active .icon-search-form-wrapper.search-results-active {
    width: 280px;
    opacity: 1;
    visibility: visible;
    overflow: visible;
    background-color: #ffffff;
    border: none;
    border-bottom: 1px solid #d4d4d8;
    border-radius: 0;
    box-shadow: none;
    transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        visibility 0s linear 0s;
}

.icon-search-container.active .icon-search-form-wrapper:focus-within {
    border-bottom-color: #18181b;
}

.icon-search-form-wrapper .search-form,
.icon-search-container.active .icon-search-form-wrapper .search-form {
    display: flex;
    align-items: center;
    height: 36px;
    padding-left: 4px;
    padding-right: 40px;
    flex-grow: 1;
    background-color: transparent;
}

.icon-search-form-wrapper .search-field {
    flex-grow: 1;
    width: 100%;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    height: 100%;
    font-size: 0.92rem;
    color: #111827;
    background-color: transparent;
}

.icon-search-form-wrapper .search-field::placeholder {
    color: #9ca3af;
}

.icon-search-form-wrapper .ajax-search-results {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: 320px;
    max-width: calc(100vw - 24px);
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.ajax-results-list {
    list-style: none;
    margin: 0;
    padding: 6px;
}

.ajax-result-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 10px;
    color: #111827;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: background-color 0.15s ease;
}

.ajax-result-item a:hover {
    background-color: #f3f4f6;
}

.ajax-result-thumbnail {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.ajax-result-initials {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(135deg, #f3eefe 0%, #fff4ed 100%);
    color: #5b21b6;
    font-size: 0.78rem;
    font-weight: 750;
    flex-shrink: 0;
}

.ajax-result-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.ajax-result-title {
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ajax-result-meta {
    font-size: 0.75rem;
    color: #71717a;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ajax-all-results-link {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    border-top: 1px solid #f0f0f2;
    background-color: #fafafa;
}

.ajax-all-results-link:hover {
    background-color: #f3f4f6;
}

/* Main Menu Toggle Button */
.menu-toggle.main-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #3f3f46;
    flex-shrink: 0;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    box-sizing: border-box;
    line-height: 1;
    transition: color 0.18s ease, transform 0.15s ease;
}

.menu-toggle.main-menu-toggle:hover {
    background-color: transparent;
    color: #09090b;
}

.menu-toggle.main-menu-toggle:focus-visible {
    background-color: transparent;
    color: #09090b;
    outline: 2px solid rgba(124, 58, 237, 0.35);
    outline-offset: 2px;
}

/* Hamburger Icon */
.menu-toggle .hamburger-icon {
    display: block;
    width: 18px;
    height: 2px;
    background-color: currentColor;
    position: relative;
    transition: background-color 0.1s 0.2s ease-in-out;
    border-radius: 1px;
}

.menu-toggle .hamburger-icon::before,
.menu-toggle .hamburger-icon::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease-in-out, top 0.3s ease-in-out, bottom 0.3s ease-in-out;
    border-radius: 1px;
}

.menu-toggle .hamburger-icon::before {
    top: -5px;
}

.menu-toggle .hamburger-icon::after {
    bottom: -5px;
}

/* Transform hamburger to X when panel is open */
body.primary-menu-panel-open .menu-toggle .hamburger-icon {
    background-color: transparent;
    /* Hide middle bar */
    transition: background-color 0.1s ease-in-out;
    /* Faster fade out for middle */
}

body.primary-menu-panel-open .menu-toggle .hamburger-icon::before {
    top: 0;
    transform: rotate(-45deg);
    transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

body.primary-menu-panel-open .menu-toggle .hamburger-icon::after {
    bottom: 0;
    transform: rotate(45deg);
    transition: transform 0.3s ease-in-out, bottom 0.3s ease-in-out;
}

/* ## Secondary Navigation Bar */
.header-secondary-bar {
    background-color: var(--primary-accent);
    border-top: none;
    max-width: 1200px;
    margin: 0 auto 1rem auto;
    padding: 0.3rem 0;
    /* Reduced vertical padding */
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: grab;
}

.header-secondary-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.header-secondary-bar-inner::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.secondary-navigation {
    width: auto;
    display: inline-block;
    white-space: nowrap;
    /* Prevent menu items from wrapping */
}

ul.secondary-menu {
    list-style: none;
    padding: 0 1rem;
    /* Padding inside the scrollable area */
    margin: 0;
    margin-right: 2rem;
    display: inline-flex;
    gap: 1.5rem;
    align-items: center;
    height: 100%;
}

ul.secondary-menu li {
    display: inline-block;
    margin: 0;
}

ul.secondary-menu a {
    text-decoration: none;
    color: #ffffff;
    /* White text */
    background-color: transparent;
    padding: 0.4rem 0 0.3rem 0;
    border-radius: 0;
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
    transition: color 0.2s ease-in-out;
    border: none;
    border-bottom: 2px solid transparent;
    /* Underline effect space */
    white-space: nowrap;
    /* Ensure link text doesn't wrap */
}

ul.secondary-menu a:hover,
ul.secondary-menu li.current-menu-item>a,
ul.secondary-menu li.current-menu-ancestor>a {
    color: #ffffff;
    background-color: transparent;
    border-bottom-color: var(--secondary-accent);
    /* Underline effect */
}

/* Drag-to-Scroll Helper Styles (Activated by JS) */
.header-secondary-bar.is-active,
.header-secondary-bar.is-dragging {
    cursor: grabbing;
}

.header-secondary-bar.is-dragging ul.secondary-menu a {
    pointer-events: none;
    /* Prevent link clicks during drag */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* ## Panel Menu (Off-Canvas) */
.primary-menu-panel-container {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: var(--panel-width);
    max-width: 85%;
    /* Limit on very small screens */
    height: 100vh;
    background-color: var(--primary-accent);
    color: var(--secondary-accent);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    /* Smooth transition */
    overflow-y: auto;
    visibility: hidden;
    /* Hide initially */
}

.primary-menu-panel-container.is-open {
    transform: translateX(0);
    visibility: visible;
}

.primary-menu-panel-inner {
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Panel Close Button */
.close-menu-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--panel-text-color);
    cursor: pointer;
    padding: 5px;
    line-height: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-menu-toggle:hover {
    color: var(--primary-accent);
}

.close-icon {
    display: block;
    width: 20px;
    height: 2px;
    background-color: currentColor;
    position: relative;
    transform: rotate(45deg);
}

.close-icon::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    position: absolute;
    left: 0;
    top: 0;
    transform: rotate(90deg);
}

/* Navigation within Panel */
.main-navigation-panel {
    margin-top: 2.5rem;
    /* Space below close button */
    flex-grow: 1;
    /* Occupy available space */
}

ul.primary-menu-panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.primary-menu-panel-list li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle separator */
}

ul.primary-menu-panel-list li:last-child {
    border-bottom: none;
}

ul.primary-menu-panel-list a {
    display: block;
    padding: 0.8rem 1rem;
    /* Adjusted padding for consistent spacing */
    text-decoration: none;
    color: var(--panel-text-color);
    font-size: 1.1rem;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
    /* Added transition */
    border-radius: 5px;
    /* Added base radius */
}

ul.primary-menu-panel-list a:hover,
ul.primary-menu-panel-list li.current-menu-item>a,
ul.primary-menu-panel-list li.current-menu-ancestor>a {
    background-color: var(--panel-link-hover-bg);
    /* Subtle background */
    color: #fff;
    /* Brighter white on hover/active */
    /* padding-left: 0.5rem; <- Removed indentation */
    /* Padding is now consistent with default state */
}

/* Submenus in panel */
ul.primary-menu-panel-list ul.sub-menu {
    list-style: none;
    padding: 0.5rem 0 0.5rem 1.5rem;
    /* Indent */
    margin: 0;
    background-color: rgba(0, 0, 0, 0.2);
    /* Slightly different background */
}

ul.primary-menu-panel-list ul.sub-menu li {
    border: none;
    /* Remove borders from subitems */
}

ul.primary-menu-panel-list ul.sub-menu a {
    font-size: 1rem;
    /* Slightly smaller */
    padding: 0.6rem 0;
}

ul.primary-menu-panel-list ul.sub-menu a:hover,
ul.primary-menu-panel-list ul.sub-menu li.current-menu-item>a,
ul.primary-menu-panel-list ul.sub-menu li.current-menu-ancestor>a {
    background-color: var(--panel-link-hover-bg);
    color: #fff;
    padding-left: 0.5rem;
    /* Slight indentation on hover */
}

body.primary-menu-panel-open .panel-overlay {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0s linear 0s;
}

/* Remove old/obsolete header styles */
.main-navigation {
    width: auto;
    /* Resetting just in case, likely not needed */
}

.header-secondary-nav {
    display: none !important;
    /* Hide old secondary nav container */
}

/*--------------------------------------------------------------
# Header Responsive Adjustments
--------------------------------------------------------------*/

@media (max-width: 767px) {
    .icon-search-container.active .icon-search-form-wrapper,
    .icon-search-container.active .icon-search-form-wrapper.search-results-active {
        height: 36px;
        width: min(240px, 56vw);
        border-radius: 0;
    }

    .icon-search-container.active .icon-search-form-wrapper .search-form {
        height: 36px;
        padding-left: 4px;
        padding-right: 38px;
    }
}

@media (max-width: 520px) {
    .header-inbox-badge {
        top: 1px;
        right: 1px;
        min-width: 15px;
        height: 15px;
    }

    .icon-search-container.active .icon-search-form-wrapper,
    .icon-search-container.active .icon-search-form-wrapper.search-results-active {
        height: 34px;
        width: min(210px, 52vw);
    }

    .icon-search-container.active .icon-search-form-wrapper .search-form {
        height: 34px;
        padding-right: 36px;
    }
}

@media (max-width: 360px) {
    .header-inbox-badge {
        top: 0;
        right: 0;
    }

    .icon-search-container.active .icon-search-form-wrapper,
    .icon-search-container.active .icon-search-form-wrapper.search-results-active {
        height: 30px;
        width: min(175px, 48vw);
    }

    .icon-search-container.active .icon-search-form-wrapper .search-form {
        height: 30px;
        padding-right: 32px;
    }
}

/* Tablet */
@media (min-width: 768px) {

    /* Logo Size */
    .custom-logo-link img,
    .site-branding img.custom-logo {
        width: 100%;
        max-width: 143px;
    }
}

/* Desktop */
@media (min-width: 992px) {}

/* Larger Desktop / Container Breakpoint */
@media (min-width: 1200px) {

    /* Logo Size */
    .custom-logo-link img,
    .site-branding img.custom-logo {
        width: 100%;
        max-width: 143px;
    }
}

/*--------------------------------------------------------------
# Additional Header Styles (Previously Inline)
--------------------------------------------------------------*/

/* Adjust secondary menu container width */
.header-secondary-bar .header-secondary-bar-inner {
    background-color: var(--primary-accent);
    max-width: 1200px;
    border-radius: 10px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 0;
}

/* Ensure the inner container takes the full width for background */
.header-secondary-bar {
    width: 95%;
}

.header-secondary-bar-inner {
    margin-left: 15px;
    margin-right: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Ensure primary menu panel is visible when open, regardless of context */
#primary-menu-panel.is-open {
    display: block !important;
    /* Force display */
    opacity: 1 !important;
    /* Force visibility */
    z-index: 99998 !important;
    /* High z-index */
    visibility: visible !important;
    /* Ensure visibility */
}

#primary-menu-panel .panel-overlay {
    display: block !important;
    /* Force display */
    opacity: 1 !important;
    /* Force visibility */
    z-index: 99997 !important;
    /* Just below the panel */
    visibility: visible !important;
    /* Ensure visibility */
}

/* Category menu item hover style */
.header-secondary-bar .category-menu li a {
    text-decoration: none;
    /* Remove default underline */
    border-bottom: none;
    /* Explicitly remove bottom border */
    padding: 5px 10px;
    /* Add padding */
    border-radius: 5px;
    /* Rounded corners */
    transition: background-color 0.3s, color 0.3s;
    /* Smooth transition */
    display: inline-block;
    /* Ensure padding and radius apply correctly */
    margin: 2px 0;
    /* Add small vertical margin */
}

.header-secondary-bar .category-menu li a:hover,
.header-secondary-bar .category-menu li.current-cat a

/* Style for current category */
    {
    background-color: var(--secondary-accent);
    /* Background color on hover/current */
    color: black;
    /* Text color on hover/current */
    text-decoration: none;
    /* Ensure no underline */
    border-bottom: none;
    /* Ensure no border */
}
