/* ==========================================================================
   AURA WHOLESALE - PREMIUM B2B HEADER & SEARCH
   ========================================================================== */

.aura-b2b-header {
    background-color: #0f172a;
    padding: 16px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    z-index: 9999;
}

.aura-header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* 1. Logo */
.aura-header-logo a {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.aura-header-logo span {
    color: #38bdf8;
}

/* 2. Premium Search Bar Container (Pill Shape Integration) */
.aura-header-search {
    flex: 1;
    max-width: 680px;
    position: relative;
}

.aura-search-input-group {
    display: flex;
    background: #ffffff;
    border-radius: 25px; /* Matches the concierge button curve */
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 46px; /* Locks height to align perfectly with right-side buttons */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.aura-search-input-group:focus-within {
    border-color: #38bdf8;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
}

.aura-search-input-group input {
    flex: 1;
    border: none;
    padding: 0 20px;
    font-size: 14px;
    color: #0f172a;
    outline: none;
    background: transparent;
    height: 100%;
}

.aura-search-input-group input::placeholder {
    color: #94a3b8;
}

.aura-search-btn {
    background: #0056b3;
    color: #ffffff;
    border: none;
    padding: 0 28px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aura-search-btn:hover {
    background: #004085;
}

/* 3. Rich Search Dropdown Layout (Floating Card) */
.aura-search-dropdown {
    position: absolute;
    top: calc(100% + 12px); /* Detaches from the input for a floating effect */
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.3);
    display: none;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.aura-search-dropdown.active {
    display: block;
}

/* Results Header */
.aura-search-results-header {
    background: #f8fafc;
    padding: 12px 18px;
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e2e8f0;
}

/* Individual Search Item Row */
.aura-search-item {
    display: grid;
    grid-template-columns: 45px 1fr auto;
    gap: 15px;
    align-items: center;
    padding: 12px 18px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    transition: background 0.2s ease;
}

.aura-search-item:hover {
    background: #f0f7ff;
}

.aura-search-img img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 2px;
}

.aura-search-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.aura-search-title {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 4px;
}

.aura-search-sku {
    font-size: 11px;
    color: #64748b;
}

.aura-search-price {
    text-align: right;
}

.price-label {
    display: block;
    font-size: 9px;
    color: #ef4444;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.price-amount {
    font-size: 14px;
    font-weight: 800;
    color: #0056b3;
}

/* View All Link */
.aura-search-view-all {
    display: block;
    text-align: center;
    padding: 14px;
    background: #f8fafc;
    color: #0056b3;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.aura-search-view-all:hover {
    background: #e0f2fe;
}

/* Loaders & Empty States */
.aura-search-loading {
    padding: 30px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.aura-search-no-results {
    padding: 30px;
    text-align: center;
    color: #ef4444;
    font-size: 13px;
    font-weight: 600;
}

/* 4. Action Buttons (Right Side) */
.aura-header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.aura-header-actions > a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.aura-header-actions > a:hover {
    color: #38bdf8;
}

/* Cart Badge */
.aura-cart-count {
    background: #ef4444;
    color: #ffffff;
    padding: 2px 7px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
}

/* 5. Animated Concierge Button */
.aura-concierge-btn {
    background: linear-gradient(90deg, #f59e0b, #d97706);
    padding: 10px 20px;
    border-radius: 25px; /* Matches search bar curve */
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
    animation: aura-pulse 2s infinite;
    border: 1px solid #fbbf24;
}

.aura-concierge-btn:hover {
    background: linear-gradient(90deg, #d97706, #b45309);
    color: #ffffff !important;
    animation: none;
}

@keyframes aura-pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

@media (max-width: 992px) {
    .aura-header-inner { flex-direction: column; gap: 18px; padding: 10px 20px; }
    .aura-header-search { max-width: 100%; width: 100%; }
    .aura-header-actions { flex-wrap: wrap; justify-content: center; gap: 15px; }
}