﻿/* ============================================================
   Dashboard Styles
   ============================================================ */

.welcome-card {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 20px;
    padding: 24px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
    flex-wrap: wrap;
}

.welcome-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.welcome-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.welcome-text h2 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.welcome-text .phone {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

.customer-level {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

    .customer-level i {
        color: #fbbf24;
    }

/* ====== Mini Stat Cards ====== */
.stat-card-mini {
    background: white;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
}

    .stat-card-mini:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

    .stat-icon.primary {
        background: #dbeafe;
        color: #1d4ed8;
    }

    .stat-icon.success {
        background: #d1fae5;
        color: #059669;
    }

    .stat-icon.info {
        background: #cffafe;
        color: #0891b2;
    }

    .stat-icon.warning {
        background: #fef3c7;
        color: #d97706;
    }

    .stat-icon.danger {
        background: #fee2e2;
        color: #dc2626;
    }

    .stat-icon.purple {
        background: #e9d5ff;
        color: #7c3aed;
    }

.stat-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-label {
    font-size: 0.75rem;
    color: #6b7280;
}

/* ====== Section Title ====== */
.section-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .section-title::before {
        content: '';
        width: 4px;
        height: 20px;
        background: #10b981;
        border-radius: 2px;
    }

/* ====== Action Cards ====== */
.action-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    display: block;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

    .action-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
        border-color: #10b981;
        color: inherit;
    }

.action-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

    .action-icon.primary {
        background: #dbeafe;
        color: #1d4ed8;
    }

    .action-icon.success {
        background: #d1fae5;
        color: #059669;
    }

    .action-icon.info {
        background: #cffafe;
        color: #0891b2;
    }

    .action-icon.warning {
        background: #fef3c7;
        color: #d97706;
    }

    .action-icon.danger {
        background: #fee2e2;
        color: #dc2626;
    }

    .action-icon.purple {
        background: #e9d5ff;
        color: #7c3aed;
    }

.action-card h6 {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1f2937;
    margin-bottom: 4px;
}

.action-card p {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* ====== Logout Button ====== */
.btn-logout {
    background: white;
    border: 2px solid #fee2e2;
    color: #dc2626;
    border-radius: 14px;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: inherit;
}

    .btn-logout:hover {
        background: #fef2f2;
        border-color: #dc2626;
    }

/* ====== Responsive ====== */
@media (max-width: 576px) {
    .welcome-card {
        padding: 20px;
    }

    .welcome-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .welcome-text h2 {
        font-size: 1rem;
    }

    .customer-level {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .stat-card-mini {
        padding: 12px;
        gap: 10px;
    }

    .stat-icon {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .stat-value {
        font-size: 1rem;
    }

    .action-card {
        padding: 16px;
    }
}
/* ============================================================
   Skip to Content (دسترسی‌پذیری)
   ============================================================ */
.skip-to-content {
    position: absolute;
    top: -40px;
    right: 0;
    background: #10b981;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 8px 8px;
    transition: top 0.3s;
}

    .skip-to-content:focus {
        top: 0;
        color: white;
    }

/* ============================================================
   Header — Nav و Dropdown
   ============================================================ */

.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .header-nav .nav-item {
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        padding: 8px 14px;
        border-radius: 10px;
        font-size: 0.9rem;
        font-weight: 600;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .header-nav .nav-item:hover {
            background: rgba(255, 255, 255, 0.15);
            color: white;
            transform: translateY(-1px);
        }

        .header-nav .nav-item.active {
            background: rgba(255, 255, 255, 0.2);
            color: white;
        }

/* ============================================================
   User Dropdown
   ============================================================ */

.header-user-dropdown {
    position: relative;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

    .user-dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
}

.user-avatar-small {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
    min-width: 0;
}

    .user-info .user-name {
        font-weight: 700;
        color: #1f2937;
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .user-info .user-phone {
        font-size: 0.75rem;
        color: #6b7280;
    }

.dropdown-divider {
    margin: 6px 0;
    border-color: #f3f4f6;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    text-align: right;
}

    .dropdown-item:hover {
        background: #f0fdf4;
        color: #059669;
    }

    .dropdown-item i {
        width: 18px;
        text-align: center;
    }

    .dropdown-item.text-danger:hover {
        background: #fef2f2;
        color: #dc2626 !important;
    }

/* ============================================================
   Clear Search Button
   ============================================================ */

.search-form .clear-search {
    color: #9ca3af;
    padding: 4px 8px;
    text-decoration: none;
    transition: color 0.2s;
}

    .search-form .clear-search:hover {
        color: #dc2626;
    }

.search-submit {
    background: #10b981;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

    .search-submit:hover {
        background: #059669;
    }

/* ============================================================
   Footer
   ============================================================ */

.shop-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    margin-bottom: 30px;
}

.footer-section {
    height: 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

    .footer-logo i {
        color: #10b981;
        font-size: 1.6rem;
    }

.footer-description {
    font-size: 0.85rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

    .footer-social a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 1rem;
    }

        .footer-social a:hover {
            background: #10b981;
            transform: translateY(-3px);
        }

.footer-title {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

    .footer-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 30px;
        height: 3px;
        background: #10b981;
        border-radius: 2px;
    }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.65);
        text-decoration: none;
        font-size: 0.85rem;
        transition: all 0.2s;
        display: inline-block;
    }

        .footer-links a:hover {
            color: #10b981;
            padding-right: 5px;
        }

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-contact li {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 12px;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.65);
    }

        .footer-contact li i {
            color: #10b981;
            width: 18px;
            text-align: center;
        }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

    .footer-payment i {
        color: #10b981;
        font-size: 1.2rem;
    }

/* ============================================================
   Bottom Navigation
   ============================================================ */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-around;
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
    z-index: 999;
    border-top: 1px solid #f3f4f6;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 6px 8px;
    border-radius: 10px;
    transition: all 0.2s ease;
    position: relative;
    flex: 1;
    max-width: 80px;
    font-family: inherit;
}

    .bottom-nav-item i {
        font-size: 1.25rem;
        transition: transform 0.2s ease;
    }

    .bottom-nav-item.active {
        color: #10b981;
    }

        .bottom-nav-item.active i {
            transform: scale(1.1);
        }

    .bottom-nav-item:active {
        transform: scale(0.95);
    }

.bottom-nav-badge {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    background: #ef4444;
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid white;
}

    .bottom-nav-badge.show {
        display: flex;
    }

/* ============================================================
   Scroll to Top
   ============================================================ */

.scroll-to-top {
    position: fixed;
    bottom: 90px;
    left: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #10b981;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 998;
}

    .scroll-to-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .scroll-to-top:hover {
        background: #059669;
        transform: translateY(-3px);
    }

@media (min-width: 769px) {
    .scroll-to-top {
        bottom: 20px;
    }
}

/* ============================================================
   Error Page
   ============================================================ */

.error-page {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.error-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #dc2626;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-8px);
    }

    75% {
        transform: translateX(8px);
    }
}

.error-page h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 16px;
}

.error-message {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   Responsive - Mobile Footer
   ============================================================ */

@media (max-width: 768px) {
    .shop-footer {
        padding: 30px 0 15px;
        margin-top: 30px;
    }

    .footer-section {
        margin-bottom: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        font-size: 1.1rem;
    }

        .footer-logo i {
            font-size: 1.3rem;
        }

    .footer-title {
        font-size: 0.9rem;
    }

    .footer-links a,
    .footer-contact li {
        font-size: 0.8rem;
    }
}

/* ============================================================
   Cart Badge Animation
   ============================================================ */

.cart-badge.bump {
    animation: bump 0.3s ease;
}

@keyframes bump {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

/* ============================================================
   Layout Spacing
   ============================================================ */

.shop-main {
    min-height: calc(100vh - 200px);
    padding-bottom: 90px; /* برای Bottom Nav */
}

@media (min-width: 769px) {
    .shop-main {
        padding-bottom: 0;
    }
}
/* ============================================================
   Header Auto-Hide (Mobile)
   ============================================================ */

@media (max-width: 768px) {
    .shop-header {
        transition: transform 0.3s ease;
    }

        .shop-header.hidden {
            transform: translateY(-100%);
        }

    .mobile-search {
        transition: transform 0.3s ease;
    }

    .shop-header.hidden ~ .mobile-search {
        transform: translateY(-100%);
    }
}
/* ============================================================
   Shop Header - Complete Styles
   ============================================================ */

.shop-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
    transition: transform 0.3s ease;
}

    .shop-header.hidden {
        transform: translateY(-100%);
    }

    .shop-header .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 16px;
    }

/* ====== Header Top Row ====== */
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* ====== Logo ====== */
.shop-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.15rem;
    transition: transform 0.2s;
}

    .shop-logo:hover {
        color: white;
        transform: scale(1.02);
    }

    .shop-logo i {
        font-size: 1.5rem;
        color: #fbbf24;
    }

    .shop-logo span {
        display: none;
    }

@media (min-width: 400px) {
    .shop-logo span {
        display: inline;
    }
}

/* ====== Header Navigation (Desktop) ====== */
.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

    .header-nav .nav-item {
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        padding: 10px 16px;
        border-radius: 10px;
        font-size: 0.9rem;
        font-weight: 600;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
        font-family: inherit;
    }

        .header-nav .nav-item i {
            font-size: 0.85rem;
            opacity: 0.9;
        }

        .header-nav .nav-item:hover {
            background: rgba(255, 255, 255, 0.15);
            color: white;
            transform: translateY(-1px);
        }

        .header-nav .nav-item.active {
            background: rgba(255, 255, 255, 0.2);
            color: white;
        }

/* ====== Header Actions ====== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

    .header-icon-btn:hover {
        background: rgba(255, 255, 255, 0.25);
        color: white;
        transform: scale(1.05);
    }

/* ====== Cart Badge ====== */
.cart-badge {
    position: absolute;
    top: -2px;
    left: -2px;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid #10b981;
    line-height: 1;
}

    .cart-badge.bump {
        animation: bump 0.3s ease;
    }

@keyframes bump {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

/* ====== User Dropdown ====== */
.header-user-dropdown {
    position: relative;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    min-width: 260px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

    .user-dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 12px;
    margin-bottom: 4px;
}

.user-avatar-small {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
    min-width: 0;
}

    .user-info .user-name {
        font-weight: 800;
        color: #1f2937;
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .user-info .user-phone {
        font-size: 0.75rem;
        color: #6b7280;
        direction: ltr;
        text-align: right;
    }

.dropdown-divider {
    margin: 6px 0;
    border: none;
    border-top: 1px solid #f3f4f6;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #374151;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    text-align: right;
}

    .dropdown-item i {
        width: 18px;
        text-align: center;
        color: #10b981;
        font-size: 0.9rem;
    }

    .dropdown-item:hover {
        background: #f0fdf4;
        color: #059669;
    }

    .dropdown-item.text-danger {
        color: #dc2626 !important;
    }

        .dropdown-item.text-danger i {
            color: #dc2626 !important;
        }

        .dropdown-item.text-danger:hover {
            background: #fef2f2;
        }

/* ====== Header Search (Desktop) ====== */
.header-search {
    margin-top: 12px;
}

.search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    padding: 6px 16px;
    gap: 10px;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

    .search-form:focus-within {
        background: white;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

    .search-form > i {
        color: #9ca3af;
        font-size: 0.95rem;
    }

    .search-form input {
        flex: 1;
        border: none;
        outline: none;
        background: transparent;
        padding: 8px 0;
        font-family: inherit;
        font-size: 0.9rem;
        color: #1f2937;
        direction: rtl;
    }

        .search-form input::placeholder {
            color: #9ca3af;
        }

.search-submit {
    background: #10b981;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

    .search-submit:hover {
        background: #059669;
    }

/* ====== Mobile Search ====== */
.mobile-search {
    background: white;
    padding: 10px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 66px;
    z-index: 999;
}

    .mobile-search .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 16px;
    }

    .mobile-search .search-form {
        background: #f9fafb;
        border: 2px solid #e5e7eb;
        padding: 6px 14px;
    }

        .mobile-search .search-form:focus-within {
            border-color: #10b981;
            background: white;
            box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
        }

        .mobile-search .search-form input {
            font-size: 0.9rem;
        }

            .mobile-search .search-form input::placeholder {
                font-size: 0.85rem;
            }

/* ====== Responsive Header ====== */
@media (max-width: 991px) {
    .header-nav {
        display: none !important;
    }

    .shop-header {
        padding: 10px 0;
    }
}

@media (max-width: 575px) {
    .shop-header {
        padding: 8px 0;
    }

    .header-icon-btn {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .shop-logo {
        font-size: 1rem;
    }

        .shop-logo i {
            font-size: 1.3rem;
        }

    .user-dropdown-menu {
        min-width: 240px;
        left: -10px;
    }

    .mobile-search {
        top: 58px;
    }
}