:root {
    --sp-header-bg: var(--nav-bg);
    --sp-header-surface: var(--header-surface-bg, var(--bg-dark));
    --sp-header-surface-hover: var(--header-surface-hover, var(--dark-card-bg));
    --sp-header-primary: var(--primary-color);
    --sp-header-primary-light: var(--primary-hover);
    --sp-header-primary-glow: var(--primary-color)4d;
    --sp-header-secondary: var(--header-warning-color, var(--warning-color));
    --sp-header-secondary-light: var(--header-warning-color, var(--warning-color));
    --sp-header-secondary-glow: var(--header-warning-color, var(--warning-color))4d;
    --sp-header-text: var(--header-text-color);
    --sp-header-text-muted: var(--header-text-muted);
    --sp-header-text-dim: var(--header-text-dim);
    --sp-header-border: var(--header-border-color, var(--border-color));
    --sp-header-border-light: var(--header-border-color, var(--border-color));
    --sp-header-glass: var(--header-glass-bg, var(--header-surface-bg, var(--nav-bg)));
    --sp-header-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --sp-header-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --sp-header-transition: all var(--transition-speed, 0.3s) cubic-bezier(0.4, 0, 0.2, 1);
    --sp-header-transition-fast: all 0.15s ease;
    --sp-header-radius-sm: var(--border-radius);
    --sp-header-radius: calc(var(--border-radius) + 6px);
    --sp-header-radius-lg: calc(var(--border-radius) + 12px);
}

/* ═══ HEADER - GLASSMORPHISM ═══ */
.sp-header {
    background: var(--sp-header-glass);
    backdrop-filter: blur(var(--header-glass-blur, 20px)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--header-glass-blur, 20px)) saturate(180%);
    border-bottom: 1px solid var(--sp-header-border);
    position: var(--sp-header-sticky, sticky);
    top: 0;
    z-index: 1000;
    box-shadow: var(--sp-header-shadow);
    direction: rtl;
}
.sp-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        rgba(var(--header-hover-rgb, 99, 102, 241), 0.03) 0%, 
        rgba(245, 158, 11, 0.03) 50%, 
        rgba(var(--header-hover-rgb, 99, 102, 241), 0.03) 100%);
    pointer-events: none;
}
/* ═══ NAV MAIN ═══ */
.sp-header-inner {
    display: flex;
    flex-direction: column;
    padding: 1px var(--header-nav-padding-x, 28px);
    gap: 12px;
    max-width: var(--header-nav-max-width, 1400px);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.sp-header-inner-top {
    display: none;
}
.sp-header-main {
    display: flex;
    align-items: center;
    gap: var(--header-gap, 20px);
    justify-content: space-between;
    min-height: var(--header-height, 60px);
}
/* ═══ LOGO & LOCATION ═══ */
.sp-logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.sp-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: var(--sp-header-radius);
    border: 1px solid var(--sp-header-border);
    transition: var(--sp-header-transition);
    position: relative;
    overflow: hidden;
}
.sp-logo-link::before {
    display: none;
}
.sp-logo-link:hover::before {
    display: none;
}
.sp-logo-link:hover {
    border-color: var(--sp-header-primary-light);
    transform: translateY(-2px);
}
.sp-logo-img {
    width: var(--header-logo-img-size, 42px);
    height: var(--header-logo-img-size, 42px);
    object-fit: contain;
    border-radius: var(--border-radius-lg, 12px);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    transition: var(--sp-header-transition);
}
.sp-logo-link:hover .sp-logo-img {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 6px 12px rgba(var(--header-hover-rgb, 99, 102, 241), 0.4));
}
.sp-logo-fallback {
    font-size: var(--header-logo-img-size, 42px);
    color: var(--sp-header-logo-text-color, var(--header-text-color));
    position: relative;
    z-index: 1;
    transition: var(--sp-header-transition);
}
.sp-logo-link:hover .sp-logo-fallback {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 6px 12px rgba(var(--header-hover-rgb, 99, 102, 241), 0.4));
}
.sp-logo-text { font-size: var(--header-logo-size);
    font-family: var(--header-logo-font, cursive, 'Lalezar', 'Vazir', sans-serif);
    font-weight: 800;
    color: var(--sp-header-logo-text-color, var(--header-text-color));
    letter-spacing: 1px;
}
/* Location Badge */
.sp-location {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: var(--sp-header-radius-sm);
    background: var(--sp-header-surface);
    border: 1px solid var(--sp-header-border);
    cursor: pointer;
    transition: var(--sp-header-transition);
    backdrop-filter: blur(10px);
}
.sp-location:hover {
    background: var(--sp-header-surface-hover);
    border-color: var(--sp-header-secondary);
    box-shadow: 0 0 20px var(--sp-header-secondary-glow);
    transform: translateY(-2px);
}
.sp-location i {
    color: var(--sp-header-secondary);
    transition: var(--sp-header-transition);
}
.sp-location:hover i {
    transform: scale(1.2) rotate(-15deg);
}
.sp-location .sp-location-city { font-size: var(--header-text-size);
    font-weight: 600;
    color: var(--sp-header-text);
}
/* ═══ SEARCH - GLASS INPUT ═══ */
.sp-search-area {
    flex: 1;
    max-width: var(--header-search-max-width, 650px);
    position: relative;
    margin: 0 20px;
}
.sp-search-box {
    display: flex;
    height: var(--header-element-height, 50px);
    border-radius: var(--sp-header-radius);
    overflow: hidden;
    background: var(--sp-header-surface);
    border: 1px solid var(--sp-header-border);
    transition: var(--sp-header-transition);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}
.sp-search-box:focus-within {
    border-color: var(--sp-header-primary-light);
    box-shadow: 
        0 0 0 3px var(--sp-header-primary-glow),
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.1);
    background: var(--sp-header-surface-hover);
}
.sp-search-category { font-size: var(--header-text-size);
    background: transparent;
    border: none;
    padding: 0 18px;
    color: var(--sp-header-text-muted);
    cursor: pointer;
    border-left: 1px solid var(--sp-header-border);
    min-width: var(--header-category-min-width, 140px);
    font-weight: 500;
    font-family: var(--header-font-family, var(--font-family));
    transition: var(--sp-header-transition-fast);
}
.sp-search-category:hover {
    color: var(--sp-header-text);
    background: rgba(var(--header-hover-rgb, 99, 102, 241), 0.05);
}
.sp-search-input { font-size: var(--header-search-size);
    flex: 1;
    border: none;
    padding: 0 20px;
    outline: none;
    background: transparent;
    color: var(--sp-header-text);
    font-family: var(--header-font-family, var(--font-family));
}
.sp-search-input::placeholder { font-size: var(--header-search-size);
    color: var(--sp-header-text-dim);
}
.sp-search-btn {
    background: linear-gradient(135deg, var(--sp-header-primary) 0%, var(--info-color) 100%);
    border: none;
    padding: 0 22px;
    cursor: pointer;
    transition: var(--sp-header-transition);
    min-width: var(--header-search-btn-width, 56px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.sp-search-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}
.sp-search-btn:hover {
    background: linear-gradient(135deg, var(--info-color) 0%, var(--sp-header-primary) 100%);
    box-shadow: -4px 0 20px var(--sp-header-primary-glow);
}
.sp-search-btn:hover::before {
    opacity: 1;
}
.sp-search-btn i { font-size: var(--header-icon-size);
    color: var(--bg-white);
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}
.sp-search-btn:hover i {
    transform: scale(1.15);
}
/* ═══ ACCOUNT & CART ═══ */
.sp-actions {
    display: flex;
    align-items: center;
    gap: calc(var(--header-gap, 20px) - 6px);
    flex-shrink: 0;
}
/* Account Dropdown */
.sp-user-menu {
    position: relative;
    height: var(--header-element-height, 50px);
    display: flex;
    align-items: center;
}
.sp-dropdown {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}
.sp-dropdown-trigger {
    background: var(--sp-header-surface);
    border: 1px solid rgba(var(--header-hover-rgb, 99, 102, 241), 0.3);
    color: var(--sp-header-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 10px 18px;
    width: 100%;
    height: 100%;
    text-align: right;
    transition: var(--sp-header-transition);
    border-radius: var(--sp-header-radius-sm);
    font-family: var(--header-font-family, var(--font-family));
    backdrop-filter: blur(10px);
}
.sp-dropdown-trigger:hover {
    background: var(--sp-header-surface-hover);
    border-color: var(--header-hover-color, var(--sp-header-primary-light));
    box-shadow: 0 0 25px var(--sp-header-primary-glow);
}
.sp-user-icon { font-size: var(--header-icon-size);
    font-size: var(--header-icon-size);
    flex-shrink: 0;
    color: var(--sp-header-primary-light);
}
.sp-user-name { font-size: var(--header-text-size);
    color: var(--sp-header-text-muted);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: var(--header-greeting-max-width, 120px);
}
.sp-user-name-name { font-size: var(--header-text-size);
    color: var(--sp-header-secondary-light);
    font-weight: 700;
}
.sp-arrow { font-size: var(--small-size);
    font-size: var(--small-size);
    color: var(--sp-header-text-dim);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.sp-dropdown:hover .sp-arrow { font-size: var(--small-size);
    transform: rotate(180deg);
    color: var(--sp-header-primary-light);
}
/* Dropdown Menu - Glassmorphism */
.sp-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--sp-header-glass);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: var(--sp-header-radius);
    box-shadow: 
        var(--sp-header-shadow),
        0 0 0 1px var(--sp-header-border);
    min-width: var(--header-dropdown-min-width, 240px);
    z-index: 1001;
    display: none;
    padding: 10px 0;
    border: 1px solid var(--sp-header-border-light);
    overflow: hidden;
}
.sp-dropdown:hover .sp-dropdown-menu {
    display: block;
    animation: dropdownReveal 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes dropdownReveal {
    from { 
        opacity: 0; 
        transform: translateY(-15px) scale(0.95);
        filter: blur(10px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}
/* User Info in Dropdown */
.sp-dropdown-user {
    padding: 16px 18px;
    border-bottom: 1px solid var(--sp-header-border);
    background: linear-gradient(135deg, 
        rgba(var(--header-hover-rgb, 99, 102, 241), 0.08) 0%, 
        rgba(245, 158, 11, 0.04) 100%);
    position: relative;
    overflow: hidden;
}
.sp-dropdown-user::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--sp-header-primary), var(--sp-header-secondary));
}
.sp-dropdown-user-name { font-size: var(--header-text-size);
    font-weight: 700;
    color: var(--sp-header-text);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sp-dropdown-user-mobile { font-size: var(--small-size);
    color: var(--sp-header-text-dim);
    font-family: 'SF Mono', monospace;
    direction: ltr;
    text-align: right;
}
.user-info-supplier { font-size: var(--small-size);
    font-size: var(--small-size);
    color: var(--sp-header-secondary);
    font-weight: 600;
}
/* Dropdown Items */
.sp-dropdown-item { font-size: var(--header-text-size);
    display: flex;
    align-items: center;
    padding: 12px 18px;
    color: var(--sp-header-text-muted);
    text-decoration: none;
    transition: var(--sp-header-transition-fast);
    gap: 12px;
    white-space: nowrap;
    margin: 3px 10px;
    border-radius: var(--sp-header-radius-sm);
    position: relative;
    overflow: hidden;
}
.sp-dropdown-item::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--sp-header-primary), var(--sp-header-secondary));
    border-radius: 2px;
    transition: height 0.3s;
}
.sp-dropdown-item:hover::before {
    height: 70%;
}
.sp-dropdown-item i {
    width: 22px;
    text-align: center;
    color: var(--sp-header-text-dim);
    transition: var(--sp-header-transition-fast);
}
.sp-dropdown-item:hover {
    background: rgba(var(--header-hover-rgb, 99, 102, 241), 0.08);
    color: var(--sp-header-text);
    border-color: var(--header-hover-color, transparent);
    transform: translateX(-5px);
}
.sp-dropdown-item {
    border-right: 3px solid transparent;
}
.sp-dropdown-item:hover i {
    color: var(--sp-header-primary-light);
    transform: scale(1.2);
}
.sp-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sp-header-border), transparent);
    margin: 8px 14px;
    border: none;
}
/* Supplier Menu Items */
.supplier-menu-item {
    background: linear-gradient(90deg, 
        rgba(245, 158, 11, 0.05) 0%, 
        transparent 100%);
    border-right: 3px solid var(--sp-header-secondary);
}
.supplier-menu-item:hover {
    background: linear-gradient(90deg, 
        rgba(245, 158, 11, 0.1) 0%, 
        rgba(var(--header-hover-rgb, 99, 102, 241), 0.05) 100%);
}
.supplier-menu-item:hover i {
    color: var(--sp-header-secondary);
}
/* Login Link */
.sp-login-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sp-header-text);
    text-decoration: none;
    padding: 12px;
    height: var(--header-icon-btn-size, 48px);
    width: var(--header-icon-btn-size, 48px);
    border-radius: var(--sp-header-radius-sm);
    background: var(--sp-header-surface);
    border: 1px solid rgba(var(--header-hover-rgb, 99, 102, 241), 0.3);
    transition: var(--sp-header-transition);
    backdrop-filter: blur(10px);
}
.sp-login-link:hover {
    background: var(--sp-header-surface-hover);
    border-color: var(--header-hover-color, var(--sp-header-primary-light));
    color: var(--header-hover-color, var(--sp-header-primary-light));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--header-hover-rgb, 99, 102, 241), 0.4);
}
.sp-login-text { font-size: var(--header-text-size);
    color: var(--bg-light);
    margin-right: 6px;
}
/* ═══ CART ═══ */
.sp-cart {
    position: relative;
    height: var(--header-element-height, 50px);
    display: flex;
    align-items: center;
}
.sp-cart-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sp-header-text);
    text-decoration: none;
    padding: 12px;
    border-radius: var(--sp-header-radius-sm);
    background: var(--sp-header-surface);
    border: 1px solid rgba(var(--header-hover-rgb, 99, 102, 241), 0.3);
    transition: var(--sp-header-transition);
    position: relative;
    height: var(--header-icon-btn-size, 48px);
    width: var(--header-icon-btn-size, 48px);
    backdrop-filter: blur(10px);
}
.sp-cart-link:hover {
    background: var(--sp-header-surface-hover);
    border-color: var(--header-hover-color, var(--sp-header-secondary));
    color: var(--header-hover-color, var(--sp-header-secondary));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--header-hover-rgb, 245, 158, 11), 0.5);
}
.sp-cart-icon { font-size: var(--header-icon-size);
    font-size: var(--header-icon-size);
    transition: transform 0.3s;
}
.sp-cart-link:hover .sp-cart-icon { font-size: var(--header-icon-size);
    transform: scale(1.15) rotate(-10deg);
}
/* Cart Count Badge */
.sp-cart-badge { font-size: var(--small-size);
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, var(--sp-header-secondary) 0%, var(--warning-color) 100%);
    color: var(--bg-white);
    font-size: var(--small-size);
    font-weight: 800;
    min-width: var(--header-badge-size, 22px);
    height: var(--header-badge-size, 22px);
    border-radius: calc(var(--header-badge-size, 22px) / 2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.5);
    border: 2px solid var(--sp-header-bg);
    z-index: 2;
    animation: badgeFloat 3s ease-in-out infinite;
}
@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
/* Cart Animation */
@keyframes cartBounce {
    0%, 100% { transform: scale(1) rotate(0); }
    25% { transform: scale(1.25) rotate(-8deg); }
    50% { transform: scale(1.15) rotate(5deg); }
    75% { transform: scale(1.1) rotate(-3deg); }
}
.sp-cart-animate {
    animation: cartBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
/* ═══ SEARCH SUGGESTIONS ═══ */
.sp-search-suggestions {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: var(--sp-header-glass);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--sp-header-border-light);
    border-radius: var(--sp-header-radius);
    box-shadow: var(--sp-header-shadow);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}
.sp-suggestion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sp-suggestion-img img {
    width: var(--suggestion-img-size, 48px);
    height: var(--suggestion-img-size, 48px);
    object-fit: cover;
    border-radius: 6px;
}
.sp-suggestion-item { font-size: var(--header-text-size);
    padding: 14px 16px;
    cursor: pointer;
    color: var(--sp-header-text-muted);
    transition: var(--sp-header-transition-fast);
    border-radius: var(--sp-header-radius-sm);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.sp-suggestion-item:hover {
    background: rgba(var(--header-hover-rgb, 99, 102, 241), 0.1);
    color: var(--sp-header-text);
    border: 1px solid var(--header-hover-color, transparent);
    transform: translateX(-5px);
}
.sp-suggestion-item:last-child {
    margin-bottom: 0;
}
.sp-search-suggestions::-webkit-scrollbar {
    width: 6px;
}
.sp-search-suggestions::-webkit-scrollbar-track {
    background: transparent;
}
.sp-search-suggestions::-webkit-scrollbar-thumb {
    background: var(--sp-header-border);
    border-radius: 3px;
}
/* ═══ MOBILE BOTTOM NAV — moved to css/mobile-bottom-nav.css ═══ */
/* ═══ MOBILE SEARCH MODAL — styles in css/mobile-bottom-nav.css ═══ */
/* ═══ MOBILE ACCOUNT DROPDOWN — moved to css/mobile-bottom-nav.css ═══ */
/* ═══ LEGACY LOCATION ═══ */
.sp-nav-location {
    padding: 12px 16px;
    border: 1px solid var(--sp-header-border);
    border-radius: var(--sp-header-radius-sm);
    transition: var(--sp-header-transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 140px;
    flex-shrink: 0;
    background: var(--sp-header-surface);
    backdrop-filter: blur(10px);
}
.sp-nav-location:hover {
    border-color: var(--sp-header-primary-light);
    background: var(--sp-header-surface-hover);
    box-shadow: 0 0 20px var(--sp-header-primary-glow);
}
.sp-location-icon { font-size: var(--header-icon-size);
    color: var(--sp-header-primary-light);
}
.sp-location-text { font-size: var(--header-text-size);
    font-size: var(--small-size);
    color: var(--sp-header-text-dim);
    line-height: 1.3;
    margin-bottom: 2px;
}
.sp-location-city { font-size: var(--header-text-size);
    font-weight: 700;
    color: var(--sp-header-text);
    line-height: 1.3;
}
/* ═══ WHATSAPP FLOAT ═══ */
.whatsapp-float {
    position: fixed;
    bottom: var(--whatsapp-bottom, 30px);
    right: var(--whatsapp-right, 30px);
    width: var(--whatsapp-size, 58px);
    height: var(--whatsapp-size, 58px);
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--bg-white);
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--sp-header-transition);
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: whatsappPulse 3s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}
@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
/* ═══ SUPPLIER BADGES ═══ */
.supplier-status-badge { font-size: var(--small-size);
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: var(--small-size);
    font-weight: 700;
    margin-right: 6px;
    vertical-align: middle;
    gap: 6px;
    border: 1px solid;
}
.supplier-status-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}
.supplier-status-approved {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success-color);
    border-color: rgba(34, 197, 94, 0.2);
}
.supplier-status-approved::before {
    background: var(--success-color);
    box-shadow: 0 0 8px var(--success-color);
}
.supplier-status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border-color: rgba(245, 158, 11, 0.2);
}
.supplier-status-pending::before {
    background: var(--warning-color);
    box-shadow: 0 0 8px var(--warning-color);
    animation: statusBlink 2s infinite;
}
.supplier-status-rejected {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border-color: rgba(239, 68, 68, 0.2);
}
.supplier-status-rejected::before {
    background: var(--danger-color);
}
@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
/* ═══ DESKTOP LAYOUT ═══ */
@media (min-width: 769px) {
    .sp-header-main {
        align-items: center;
        justify-content: space-between;
        padding: 8px 0;
    }
    .sp-logo-area {
        flex: 0 0 auto;
        margin-right: 10px;
    }
    .sp-search-area {
        flex: 1;
        margin: 0 24px;
        min-width: calc(var(--header-search-max-width, 650px) - 270px);
    }
    .sp-actions {
        flex: 0 0 auto;
        margin-left: 10px;
    }
}
/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    .sp-header-inner {
        padding: 12px calc(var(--header-nav-padding-x, 28px) - 8px);
        gap: 10px;
    }
    .sp-header-main {
        gap: calc(var(--header-gap, 20px) - 6px);
    }
    .sp-search-area {
        margin: 0 14px;
    }
    .sp-logo-area {
        gap: 12px;
    }
    .sp-logo-text { font-size: var(--header-logo-size);
        font-size: var(--header-icon-size);
    }
    .sp-logo-img {
        width: calc(var(--header-logo-img-size, 42px) - 4px);
        height: calc(var(--header-logo-img-size, 42px) - 4px);
    }
}
@media (max-width: 768px) {
    .sp-header-inner {
        gap: 10px;
        padding: 16px calc(var(--header-nav-padding-x, 28px) - 12px);
    }
    .sp-header-main {
        flex-wrap: wrap;
        gap: calc(var(--header-gap, 20px) - 8px);
        min-height: var(--sp-header-height-mobile, var(--header-height, 56px));
    }
    .sp-search-area {
        display: none;
    }
    .sp-nav-location {
        display: none;
    }
    .sp-logo-area {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-right: 0;
    }
    .sp-logo-link {
        gap: 12px;
        padding: 8px 14px;
        border: none;
    }
    .sp-logo-img {
        width: 120px;
        height: 120px;
    }
    .sp-logo-text { font-size: calc(var(--header-logo-size) + 12px);
    }
    .sp-location {
        display: none !important;
    }
    .sp-actions {
        display: none;
    }

    .whatsapp-float {
        width: calc(var(--whatsapp-size, 58px) - 8px);
        height: calc(var(--whatsapp-size, 58px) - 8px);
        font-size: var(--header-icon-size);
        bottom: 95px;
        right: 18px;
    }
}
@media (max-width: 480px) {
    .sp-header-inner {
        padding: 10px calc(var(--header-nav-padding-x, 28px) - 16px);
    }
    .sp-search-category { font-size: var(--header-text-size);
        display: none;
    }

    .sp-logo-link {
        padding: 4px 10px;
        border: none;
    }
    .sp-logo-img {
        width: 120px;
        height: 120px;
    }
    .sp-logo-text {
        font-size: calc(var(--header-logo-size) + 12px);
    }
    .sp-logo-area {
        gap: 6px;
    }
    .sp-location {
        display: none !important;
    }
}
/* ═══ ACCESSIBILITY ═══ */
.sp-header,
.sp-header * {
    -webkit-tap-highlight-color: transparent;
}
.sp-header a,
.sp-header a:link,
.sp-header a:visited,
.sp-header a:hover,
.sp-header a:active {
    outline: none;
    box-shadow: none;
    border: none;
    background: transparent;
}
.sp-header a:focus-visible,
.sp-header button:focus-visible {
    outline: 2px solid var(--sp-header-primary-light);
    outline-offset: 4px;
    border-radius: var(--sp-header-radius-sm);
}
.sp-location,
.sp-location *,
.sp-nav-location {
    outline: none;
    box-shadow: none;
    border-color: transparent;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
}
.sp-header .btn:focus,
.sp-header .btn:active,
.sp-header [role="button"]:focus,
.sp-header [role="button"]:active {
    box-shadow: none;
}
