:root {
        --bg: #07090e;
        --surface: #0e131d;
        --surface-hover: #151c2a;
        --surface-card: rgba(18, 24, 38, 0.75);
        --border: rgba(255, 255, 255, 0.08);
        --border-hover: rgba(255, 138, 31, 0.45);
        --text: #f0f3f8;
        --text-dim: #94a3b8;
        --text-mute: #64748b;
        --accent: #ff8a1f;
        --accent-gradient: linear-gradient(135deg, #ff8a1f 0%, #ff5e00 100%);
        --accent-glow: 0 0 24px rgba(255, 138, 31, 0.35);
        --card-glow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
    }
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
    }
    .yadak-header {
        position: sticky;
        top: 0;
        background: rgba(8, 12, 18, 0.82);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
        z-index: 1000;
        padding: 14px 0;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .header-container {
        max-width: 1320px;
        margin: 0 auto;
        padding: 0 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 32px;
    }
    .logo-area {
        display: flex;
        align-items: center;
        text-decoration: none;
        gap: 14px;
        flex-shrink: 0;
        position: relative;
    }
    .logo-badge {
        position: relative;
        width: 46px;
        height: 46px;
        background: var(--surface-hover);
        border: 1px solid rgba(255, 138, 31, 0.35);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--accent);
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.15);
        overflow: hidden;
        transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .logo-badge::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--accent-gradient);
        opacity: 0.12;
        transition: opacity 0.3s ease;
    }
    .logo-area:hover .logo-badge {
        transform: translateY(-2px) scale(1.04);
        border-color: var(--accent);
        box-shadow: var(--accent-glow);
    }
    .logo-area:hover .logo-badge::before {
        opacity: 0.25;
    }
    .logo-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .logo-text h1 {
        font-size: 1.25rem;
        font-weight: 900;
        letter-spacing: -0.3px;
        background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        line-height: 1.2;
    }
    .logo-text .sub-desc {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 0.72rem;
        font-weight: 500;
        color: var(--text-dim);
    }
    .status-dot {
        width: 6px;
        height: 6px;
        background: #10b981;
        border-radius: 50%;
        box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
    }
    .search-area {
        flex: 1;
        max-width: 580px;
    }
    .search-wrapper {
        position: relative;
        width: 100%;
    }
    .search-form {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
    }
    .search-input {
        width: 100%;
        height: 48px;
        background: rgba(14, 19, 29, 0.85);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 0 46px 0 95px;
        font-size: 0.88rem;
        color: var(--text);
        outline: none;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .search-input:focus {
        background: rgba(18, 25, 38, 0.95);
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(255, 138, 31, 0.18), inset 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    .search-input::placeholder {
        color: var(--text-mute);
        font-size: 0.82rem;
        font-weight: 400;
    }
    .search-icon        align-items: center;
    }
    .search-input:focus ~ .search-icon-left {
        color: var(--accent);
    }
    .search-actions-right {
        position: absolute;
        left: 8px;
        display: flex;
        align-items: center;
        gap: 6px;
    }        color: var(--accent);
    }
    .search-actions-right {
        position: absolute;
        left: 8px;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .kbd-shortcut {
        font-size: 0.68rem;
        background: rgba(255, 255, 255, 0.05);
        color: var(--text-mute);
        padding: 3px 6px;
        border-radius: 6px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        pointer-events: none;
    }
    .search-submit-btn {
        background: transparent;
        border: none;
        outline: none;
        cursor: pointer;
        width: 32px;
        height: 32px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-dim);
        transition: all 0.2s ease;
    }
    .search-submit-btn:hover {
        background: rgba(255, 138, 31, 0.15);
        color: var(--accent);
    }
    .actions-area {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }
    .icon-action-btn {
        position: relative;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: var(--surface-card);
        border: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-dim);
        text-decoration: none;
        backdrop-filter: blur(10px);
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .icon-action-btn:hover {
        background: var(--surface-hover);
        color: #fff;
        border-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }
    .icon-action-btn.cart-btn:hover {
        border-color: var(--accent);
        color: var(--accent);
        box-shadow: 0 4px 15px rgba(255, 138, 31, 0.15);
    }
    .counter-pill {
        position: absolute;
        top: -4px;
        left: -4px;
        min-width: 19px;
        height: 19px;
        padding: 0 5px;
        background: var(--accent-gradient);
        color: #07090e;
        font-size: 0.68rem;
        font-weight: 800;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(255, 102, 0, 0.4);
        border: 2px solid var(--bg);
    }
    .divider-v {
        width: 1px;
        height: 24px;
        background: var(--border);
        margin: 0 4px;
    }
    .btn-user-profile {
        position: relative;
        display: flex;
        align-items: center;
        gap: 9px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%), var(--surface);
        border: 1px solid var(--border);
        color: var(--text);
        padding: 0 16px;
        height: 44px;
        border-radius: 12px;
        text-decoration: none;
        font-size: 0.84rem;
        font-weight: 600;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .btn-user-profile::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border-radius: inherit;
        background: radial-gradient(circle at 50% 0%, rgba(255, 138, 31, 0.3), transparent 70%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .btn-user-profile:hover {
        border-color: var(--accent);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px -4px rgba(255, 138, 31, 0.25);
    }
    .btn-user-profile:hover::after {
        opacity: 1;
    }
    .btn-user-profile svg {
        color: var(--accent);
        transition: transform 0.2s ease;
    }
    .btn-user-profile:hover svg {
        transform: scale(1.1);
    }
    @media (max-width: 900px) {
        .header-container {
            flex-wrap: wrap;
            gap: 14px;
            padding: 0 16px;
        }
        .search-area {
            order: 3;
            max-width: 100%;
            width: 100%;
        }
        .kbd-shortcut {
            display: none;
        }
    }
    @media (max-width: 540px) {
        .logo-text .sub-desc,
        .btn-user-profile span {
            display: none;
        }
        .btn-user-profile {
            padding: 0;
            width: 44px;
            justify-content: center;
        }
        .divider-v {
            display: none;
        }
    }

