/* Main Header Container */
.wc-nsmh-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #fff;
    z-index: 9999;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.wc-nsmh-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

/* Logo */
.wc-nsmh-logo img {
    height: 24px;
    /* Nike style is usually small/iconic */
    display: block;
    width: auto;
}

.wc-nsmh-logo-text {
    font-weight: bold;
    font-size: 20px;
    color: #111;
    text-decoration: none;
    text-transform: uppercase;
}

/* Right Icons */
.wc-nsmh-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wc-nsmh-icon {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
}

.wc-nsmh-icon svg {
    stroke-width: 1.5px;
}

.wc-nsmh-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #111;
    color: #fff;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Search Overlay */
.wc-nsmh-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 10000;
    padding: 20px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.wc-nsmh-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.wc-nsmh-search-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wc-nsmh-cancel-btn {
    background: none;
    border: none;
    color: #111;
    font-size: 16px;
    padding: 0 5px;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 500;
}

.wc-nsmh-search-form input[type="search"] {
    width: 100%;
    border: none;
    background: #f5f5f5;
    padding: 12px 20px;
    /* Slightly reduced vertical padding */
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    /* margin-top: 40px; Removed since we are wrapping it */
}

/* Search History */
.wc-nsmh-search-history {
    margin-top: 20px;
    padding: 0 10px;
}

.wc-nsmh-history-title {
    font-size: 14px;
    color: #757575;
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
}

.wc-nsmh-history-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wc-nsmh-history-tag {
    background: #f5f5f5;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #111;
    cursor: pointer;
    transition: background 0.2s;
}

.wc-nsmh-history-tag:hover {
    background: #e5e5e5;
}


/* ... existing code ... */

/* Spacing fix for body */
@media (max-width: 768px) {
    body.wc-nsmh-active {
        padding-top: 60px;
        /* Removed !important to allow theme handling if needed */
        /* Prevent content overlap */
    }
}

/* Desktop Hide (Optional, assuming mobile only plugin) */
@media (min-width: 769px) {

    .wc-nsmh-header,
    .wc-nsmh-search-overlay,
    .wc-nsmh-menu-drawer {
        display: none !important;
    }

    body.wc-nsmh-active {
        padding-top: 0;
    }
}