/* ===============================
   DESKTOP HEADER & NAV FIX
   بدون تغییر HTML
   =============================== */
@media (min-width: 1024px) {

    /* --- Header container --- */
    header {
        background: var(--secondary-bg);
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
        position: relative;
        z-index: 1000;
    }

    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 80px;
    }

    /* --- Logo --- */
    .logo {
        display: flex;
        align-items: center;
        gap: 12px;
        white-space: nowrap;
    }

    .logo img {
        height: 42px;
        width: auto;
    }

    .logo span {
        font-weight: 700;
        font-size: 1.05rem;
        color: var(--text-color);
    }

    /* --- Header actions (cart + hamburger hidden on desktop) --- */
    .header-actions {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .hamburger-menu {
        display: none;
    }

    /* ===============================
     NAVBAR
     =============================== */
    nav {
        background: var(--secondary-bg);
        border-bottom: 1px solid var(--border-color);
    }

    .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 64px;
    }

    /* --- Navigation links --- */
    .nav-links {
        display: flex;
        align-items: center;
        gap: 28px;
    }

    .nav-links>li>a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-weight: 600;
        font-size: 0.95rem;
        padding: 8px 4px;
        color: var(--text-color);
        position: relative;
    }

    .nav-links>li>a::after {
        content: "";
        position: absolute;
        bottom: -6px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--accent-color);
        transition: width 0.3s ease;
    }

    .nav-links>li>a:hover::after {
        width: 100%;
    }

    /* --- Dropdown --- */
    .dropdown-content {
        top: calc(100% + 10px);
        border-radius: 16px;
        padding: 10px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    }

    /* --- User actions (login / signup / profile) --- */
    .user-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        white-space: nowrap;
    }

    .auth-btn {
        height: 38px;
        padding: 0 16px;
        font-size: 0.85rem;
    }

    /* ===============================
     DESKTOP FOOTER FIX
     =============================== */
    footer {
        background: #1f1f1f;
    }

    .footer-container,
    .footer-top {
        max-width: 1400px;
        margin: 0 auto;
    }

    .footer-top {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 50px;
        padding: 60px 30px 40px;
        align-items: start;
    }

    .footer-top h4 {
        font-size: 1rem;
        margin-bottom: 18px;
        color: #fff;
    }

    .footer-top ul li {
        margin-bottom: 10px;
    }

    .footer-top ul li a {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
    }

    .footer-top ul li a:hover {
        color: #fff;
    }

    /* --- Footer bottom --- */
    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 20px 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.6);
    }

}




