/* ============================================
   MOBILE RESPONSIVE CSS
   تحسين شامل لوضع الموبايل
============================================ */

/* ============================================
   BASE MOBILE FIXES
============================================ */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    body {
        overflow-x: hidden;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* ============================================
   HEADER MOBILE IMPROVEMENTS
============================================ */
@media (max-width: 992px) {
    /* Main navbar */
    .main-header {
        padding: 0;
        box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    }
    
    .navbar {
        padding: 0.6rem 0;
    }
    
    .navbar > .container {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        padding: 0 12px;
        gap: 0.5rem;
    }
    
    /* Toggle button - left */
    .navbar-toggler {
        order: 1;
        flex: 0 0 auto;
        padding: 0.5rem 0.65rem;
        border: 2px solid #2ecc71;
        border-radius: 10px;
        background: rgba(46, 204, 113, 0.05);
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
    }
    
    /* Logo - center */
    .navbar-brand {
        order: 2;
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 0;
    }
    
    .navbar-brand img {
        max-height: 38px;
    }
    
    /* Actions - right */
    .header-actions {
        order: 3;
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    /* Cart button */
    .cart-btn {
        padding: 0.5rem 0.6rem;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    .cart-count {
        min-width: 16px;
        height: 16px;
        font-size: 0.6rem;
        top: -4px;
        right: -4px;
    }
    
    /* User menu button */
    .user-menu-button {
        padding: 0.4rem;
        border-radius: 50%;
    }
    
    .user-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    
    /* Navbar collapse - dropdown menu */
    .navbar-collapse {
        position: absolute;
        top: calc(100% + 5px);
        left: 12px;
        right: 12px;
        background: white;
        border-radius: 16px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.15);
        padding: 0.75rem;
        z-index: 1000;
        border: 1px solid rgba(0,0,0,0.05);
    }
    
    .navbar-collapse:not(.show) {
        display: none;
    }
    
    .navbar-nav {
        margin: 0;
    }
    
    .nav-item {
        margin: 0.25rem 0;
    }
    
    .nav-link {
        display: flex;
        align-items: center;
        padding: 0.75rem 1rem !important;
        border-radius: 12px;
        font-size: 0.95rem;
        font-weight: 600;
        color: #1a252f;
        transition: all 0.2s;
    }
    
    .nav-link i {
        display: inline-block !important;
        opacity: 0.7;
        margin-left: 0.6rem;
        font-size: 1.1rem;
    }
    
    .nav-link::after {
        display: none !important;
    }
    
    .nav-link:hover {
        background: rgba(46, 204, 113, 0.1);
        color: #1e8449;
    }
    
    .nav-link.active {
        background: linear-gradient(135deg, #2ecc71, #1e8449);
        color: white !important;
    }
    
    .nav-link.active i {
        color: white !important;
        opacity: 1;
    }
    
    /* Mobile search bar */
    .mobile-search-bar {
        padding: 0 0 0.75rem;
        background: white;
    }
    
    .mobile-search-bar .search-form .input-group {
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid #e2e8f0;
    }
    
    .mobile-search-bar .search-form .form-control {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
        border: none;
    }
    
    .mobile-search-bar .search-form .btn-search {
        padding: 0.7rem 1rem;
        border-radius: 0;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        max-height: 35px;
    }
    
    .navbar-toggler {
        padding: 0.35rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .cart-btn {
        padding: 0.45rem 0.55rem;
        font-size: 0.95rem;
    }
    
    .btn-register {
        padding: 0.45rem 0.55rem;
        font-size: 0.85rem;
    }
    
    .btn-register i {
        font-size: 0.85rem;
    }
}

/* ============================================
   HERO SECTION MOBILE
============================================ */
@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
        padding: 60px 0 80px;
        background-attachment: scroll;
    }
    
    .min-vh-60 {
        min-height: auto;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-badge span {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem !important;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 280px;
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .stat-item {
        flex: 0 0 auto;
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-wave svg {
        height: 60px;
    }
    
    /* Hide floating shapes on mobile */
    .hero-shapes .shape {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* ============================================
   SECTIONS MOBILE
============================================ */
@media (max-width: 992px) {
    .section-header {
        margin-bottom: 2rem !important;
    }
    
    .section-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    section.py-5 {
        padding: 2.5rem 0 !important;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.3rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }
    
    section.py-5 {
        padding: 2rem 0 !important;
    }
}

/* ============================================
   CATEGORY CARDS MOBILE
============================================ */
@media (max-width: 992px) {
    .categories-section .row {
        margin: 0 -0.5rem;
    }
    
    .categories-section .col-6 {
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }
    
    .category-card {
        border-radius: 12px;
    }
    
    .category-img-container {
        height: 100px;
    }
    
    .category-img-container img {
        border-radius: 12px 12px 0 0;
    }
    
    .category-content {
        padding: 0.75rem;
    }
    
    .category-title {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
    
    .category-count {
        font-size: 0.7rem;
    }
}

/* ============================================
   FEATURE CARDS MOBILE
============================================ */
@media (max-width: 992px) {
    .features-section .row {
        margin: 0 -0.5rem;
    }
    
    .features-section .col-md-4 {
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-card {
        padding: 1.25rem;
        border-radius: 14px;
        text-align: center;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .feature-title {
        font-size: 1rem;
        margin: 0.75rem 0 0.5rem;
    }
    
    .feature-description {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-link a {
        font-size: 0.85rem;
    }
}

/* ============================================
   PRODUCT CARDS MOBILE
============================================ */
@media (max-width: 992px) {
    .products-section .row,
    .products-grid {
        margin: 0 -0.5rem;
    }
    
    .products-section .col-md-6,
    .products-section .col-lg-4 {
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }
    
    .product-card {
        border-radius: 14px;
    }
    
    .product-img-wrapper {
        height: 180px;
    }
    
    .product-img-wrapper img {
        border-radius: 14px 14px 0 0;
    }
    
    .product-badges {
        top: 8px;
        right: 8px;
        gap: 0.25rem;
    }
    
    .product-badges .badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
    
    .product-actions {
        bottom: 8px;
        gap: 0.4rem;
    }
    
    .product-actions .action-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    .product-content {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .product-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
        margin-bottom: 0.75rem;
    }
    
    .product-footer {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .product-price .price {
        font-size: 1.1rem;
    }
    
    .product-price .currency {
        font-size: 0.75rem;
    }
    
    .btn-view {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .product-img-wrapper {
        height: 150px;
    }
    
    .product-content {
        padding: 0.85rem;
    }
    
    .product-title {
        font-size: 0.85rem;
    }
    
    .product-price .price {
        font-size: 1rem;
    }
}

/* ============================================
   CTA SECTION MOBILE
============================================ */
@media (max-width: 992px) {
    .cta-section {
        padding: 2rem 0 !important;
    }
    
    .cta-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        border-radius: 16px;
        gap: 1.25rem;
    }
    
    .cta-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .cta-text h3 {
        font-size: 1.1rem;
    }
    
    .cta-text p {
        font-size: 0.85rem;
    }
    
    .btn-cta {
        width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ============================================
   FOOTER MOBILE
============================================ */
@media (max-width: 992px) {
    footer {
        padding: 2rem 0 1rem !important;
    }
    
    footer .row {
        text-align: center;
    }
    
    footer .col-lg-3,
    footer .col-lg-2 {
        margin-bottom: 1.5rem;
    }
    
    footer h5 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    footer ul li {
        margin-bottom: 0.4rem;
    }
    
    footer ul li a {
        font-size: 0.85rem;
    }
    
    .footer-logo img {
        max-height: 40px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .footer-bottom {
        padding-top: 1rem;
        margin-top: 1rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* ============================================
   PRODUCTS PAGE MOBILE
============================================ */
@media (max-width: 992px) {
    .page-hero {
        padding: 2rem 0;
    }
    
    .page-hero h1 {
        font-size: 1.5rem;
    }
    
    .breadcrumb-custom {
        font-size: 0.8rem;
    }
    
    /* Sidebar */
    .sidebar {
        margin-bottom: 1.5rem;
    }
    
    .filter-card {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .filter-card h5 {
        font-size: 0.95rem;
    }
    
    .category-list li a {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
    }
    
    /* Products header */
    .products-header {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .results-info {
        font-size: 0.85rem;
    }
    
    .sort-dropdown select {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Products grid */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    /* Pagination */
    .pagination-wrapper {
        margin-top: 1.5rem;
    }
    
    .pagination-modern {
        padding: 0.5rem 0.75rem;
        gap: 0.35rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination-modern a,
    .pagination-modern span {
        min-width: 34px;
        height: 34px;
        font-size: 0.8rem;
        padding: 0 0.5rem;
    }
    
    .pagination-modern .page-info {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
        padding: 0;
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .page-hero h1 {
        font-size: 1.3rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

/* ============================================
   PRODUCT DETAIL PAGE MOBILE
============================================ */
@media (max-width: 992px) {
    .product-gallery {
        margin-bottom: 1.5rem;
    }
    
    .main-image {
        height: 280px;
        border-radius: 14px;
    }
    
    .thumb-gallery {
        gap: 0.5rem;
    }
    
    .thumb {
        width: 60px;
        height: 60px;
        border-radius: 8px;
    }
    
    .product-info h1 {
        font-size: 1.4rem;
    }
    
    .product-price-box .price {
        font-size: 1.75rem;
    }
    
    .quantity-box {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .qty-control {
        flex: 1;
        min-width: 120px;
    }
    
    .btn-add-cart {
        flex: 2;
        min-width: 150px;
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
    }
    
    .btn-wishlist {
        width: 48px;
        height: 48px;
    }
    
    .product-meta-item {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Related products */
    .related-section {
        padding: 2rem 0;
    }
    
    .related-section h3 {
        font-size: 1.25rem;
    }
    
    .related-card {
        border-radius: 12px;
    }
    
    .related-card img {
        height: 120px;
    }
    
    .related-card .title {
        font-size: 0.8rem;
    }
    
    .related-card .price {
        font-size: 0.9rem;
    }
}

/* ============================================
   ABOUT & CONTACT PAGES MOBILE
============================================ */
@media (max-width: 992px) {
    .about-hero,
    .contact-hero {
        padding: 3rem 0;
    }
    
    .about-hero h1,
    .contact-hero h1 {
        font-size: 1.75rem;
    }
    
    .about-hero p,
    .contact-hero p {
        font-size: 0.95rem;
    }
    
    .value-card,
    .contact-info-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .value-icon,
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .contact-form {
        padding: 1.25rem;
    }
    
    .contact-form .form-control,
    .contact-form .form-select {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .contact-form .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .map-container {
        height: 250px;
        border-radius: 14px;
    }
}

/* ============================================
   CART & CHECKOUT MOBILE
============================================ */
@media (max-width: 992px) {
    .cart-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .cart-item-img {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    
    .cart-item-details {
        flex: none;
        width: 100%;
    }
    
    .cart-item-title {
        font-size: 0.95rem;
    }
    
    .cart-item-price {
        font-size: 1.1rem;
    }
    
    .cart-item-qty {
        justify-content: center;
    }
    
    .cart-summary {
        margin-top: 1.5rem;
        padding: 1.25rem;
    }
    
    .cart-summary h4 {
        font-size: 1.1rem;
    }
    
    .cart-total {
        font-size: 1.25rem;
    }
    
    .btn-checkout {
        width: 100%;
        padding: 0.85rem;
        font-size: 1rem;
    }
}

/* ============================================
   SEARCH PAGE MOBILE
============================================ */
@media (max-width: 992px) {
    .search-hero {
        padding: 2rem 0;
    }
    
    .search-hero h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .search-box-large {
        border-radius: 12px;
    }
    
    .search-box-large input {
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
    }
    
    .search-box-large button {
        padding: 0.85rem 1.25rem;
    }
    
    .search-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* ============================================
   AUTH PAGES MOBILE (Login/Register)
============================================ */
@media (max-width: 992px) {
    .auth-container {
        padding: 1.5rem;
        margin: 1rem;
        border-radius: 16px;
    }
    
    .auth-container h2 {
        font-size: 1.5rem;
    }
    
    .auth-container .form-control {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .auth-container .btn {
        padding: 0.85rem;
        font-size: 1rem;
    }
    
    .social-login-btn {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   WISHLIST PAGE MOBILE
============================================ */
@media (max-width: 992px) {
    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .wishlist-card {
        border-radius: 12px;
    }
    
    .wishlist-img {
        height: 140px;
    }
    
    .wishlist-content {
        padding: 0.85rem;
    }
    
    .wishlist-title {
        font-size: 0.85rem;
    }
    
    .wishlist-price {
        font-size: 1rem;
    }
    
    .wishlist-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .wishlist-actions .btn {
        width: 100%;
        padding: 0.6rem;
        font-size: 0.8rem;
    }
}

/* ============================================
   PWA BANNER MOBILE
============================================ */
@media (max-width: 992px) {
    .pwa-banner {
        padding: 0.75rem;
    }
    
    .pwa-banner-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .pwa-banner-main {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pwa-banner-icon {
        height: 30px;
    }
    
    .pwa-banner-text strong {
        font-size: 0.9rem;
    }
    
    .pwa-banner-subtext {
        font-size: 0.75rem;
    }
    
    .pwa-banner-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .btn-install {
        flex: 1;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   UTILITY CLASSES MOBILE
============================================ */
@media (max-width: 992px) {
    .d-mobile-none {
        display: none !important;
    }
    
    .d-mobile-block {
        display: block !important;
    }
    
    .text-mobile-center {
        text-align: center !important;
    }
    
    .mb-mobile-3 {
        margin-bottom: 1rem !important;
    }
    
    .p-mobile-2 {
        padding: 0.5rem !important;
    }
}

/* ============================================
   TOUCH IMPROVEMENTS
============================================ */
@media (max-width: 992px) {
    /* Larger touch targets */
    a, button, .btn, input, select, textarea {
        min-height: 44px;
    }
    
    /* Remove hover effects on touch */
    @media (hover: none) {
        .product-card:hover,
        .category-card:hover,
        .feature-card:hover {
            transform: none;
        }
        
        .product-actions {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Smooth scrolling */
    * {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Prevent zoom on input focus */
    input, select, textarea {
        font-size: 16px !important;
    }
}

/* ============================================
   LANDSCAPE MOBILE
============================================ */
@media (max-width: 992px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 40px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        margin-top: 1.5rem !important;
    }
}

/* ============================================
   SMALL PHONES (< 380px)
============================================ */
@media (max-width: 380px) {
    html {
        font-size: 14px;
    }
    
    .navbar-brand img {
        max-height: 30px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .products-grid,
    .wishlist-grid,
    .search-results-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card .category-title {
        font-size: 0.8rem;
    }
}

/* ============================================
   FOOTER MOBILE ENHANCEMENTS
============================================ */
@media (max-width: 992px) {
    .modern-footer {
        padding: 1.5rem 0 0;
        margin-top: 2rem;
    }
    
    .footer-section {
        margin-bottom: 1.25rem;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 0.5rem;
    }
    
    .footer-logo img {
        max-height: 35px;
    }
    
    .footer-title {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-title::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer-description {
        font-size: 0.75rem;
    }
    
    .contact-item {
        justify-content: center;
        font-size: 0.75rem;
    }
    
    .footer-links {
        justify-content: center;
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links a {
        font-size: 0.75rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .footer-bottom {
        margin-top: 1rem;
        padding: 0.75rem 0;
    }
    
    .footer-bottom p {
        font-size: 0.7rem;
    }
    
    .back-to-top {
        width: 38px;
        height: 38px;
        bottom: 15px;
        left: 15px;
        font-size: 0.9rem;
    }
}

/* ============================================
   CATEGORIES PAGE MOBILE
============================================ */
@media (max-width: 992px) {
    .categories-page .page-hero {
        padding: 2rem 0;
    }
    
    .categories-page .page-hero h1 {
        font-size: 1.5rem;
    }
    
    .main-category-card {
        border-radius: 14px;
        margin-bottom: 1rem;
    }
    
    .main-category-card .category-header {
        padding: 1rem;
    }
    
    .main-category-card .category-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .main-category-card .category-title {
        font-size: 1rem;
    }
    
    .subcategory-list {
        padding: 0.75rem;
    }
    
    .subcategory-item {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   EMPTY STATES MOBILE
============================================ */
@media (max-width: 992px) {
    .empty-state,
    .empty-products,
    .empty-wishlist,
    .empty-cart {
        padding: 2.5rem 1.5rem;
    }
    
    .empty-state i,
    .empty-products i,
    .empty-wishlist i,
    .empty-cart i {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }
    
    .empty-state h3,
    .empty-products h3,
    .empty-wishlist h3,
    .empty-cart h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .empty-state p,
    .empty-products p,
    .empty-wishlist p,
    .empty-cart p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .empty-state .btn,
    .empty-products .btn,
    .empty-wishlist .btn,
    .empty-cart .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   MODAL & OVERLAY MOBILE
============================================ */
@media (max-width: 992px) {
    .image-modal {
        padding: 1rem;
    }
    
    .image-modal img {
        max-height: 70vh;
        border-radius: 12px;
    }
    
    .image-modal .close {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 2rem;
    }
    
    .user-menu-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 70vh;
        border-radius: 20px 20px 0 0;
        animation: slideUp 0.3s ease-out;
    }
    
    @keyframes slideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
}

/* ============================================
   FORMS MOBILE
============================================ */
@media (max-width: 992px) {
    .form-control,
    .form-select {
        padding: 0.75rem 1rem;
        font-size: 16px !important;
        border-radius: 10px;
    }
    
    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .btn-lg {
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
    }
    
    .input-group {
        flex-wrap: nowrap;
    }
    
    .input-group .form-control {
        min-width: 0;
    }
}

/* ============================================
   ALERTS & NOTIFICATIONS MOBILE
============================================ */
@media (max-width: 992px) {
    .alert {
        padding: 0.85rem 1rem;
        font-size: 0.85rem;
        border-radius: 10px;
    }
    
    .toastify {
        max-width: calc(100vw - 2rem);
        margin: 0 1rem;
    }
}

/* ============================================
   BREADCRUMB MOBILE
============================================ */
@media (max-width: 992px) {
    .breadcrumb-custom {
        font-size: 0.75rem;
        flex-wrap: wrap;
        gap: 0.35rem;
    }
    
    .breadcrumb-custom .separator {
        margin: 0 0.25rem;
    }
}
