/* assets/css/responsive.css - Mobile Responsive */
/* Additional responsive styles for mobile devices */

/* Mobile Menu Styles */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--secondary-dark);
    z-index: 9998;
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu ul li a {
    display: block;
    padding: 15px 20px;
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.mobile-menu ul li a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--primary);
}

.mobile-menu i {
    margin-right: 10px;
    width: 25px;
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.mobile-toggle button {
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: var(--shadow-hover);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-toggle button:hover {
    transform: scale(1.1);
}

/* Tablet & Mobile Navigation */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
}

/* Small Tablets */
@media (max-width: 768px) {
    .top-bar-left span:not(:first-child) {
        display: none;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .logo a {
        font-size: 22px;
    }
    
    .search-bar {
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .top-bar {
        font-size: 12px;
        padding: 5px 0;
    }
    
    .top-bar-right a {
        margin-left: 10px;
    }
    
    .header-content {
        gap: 10px;
    }
    
    .logo a {
        font-size: 18px;
    }
    
    .logo i {
        font-size: 24px;
    }
    
    .header-actions .action-item {
        font-size: 18px;
        padding: 5px;
    }
    
    .badge {
        font-size: 8px;
        min-width: 15px;
        padding: 1px 4px;
    }
    
    .hero-slide {
        padding: 40px 0;
        min-height: 300px;
    }
    
    .hero-text h1 {
        font-size: 22px;
    }
    
    .hero-text p {
        font-size: 14px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        padding: 8px 15px;
    }
    
    .feature-item i {
        font-size: 24px;
    }
    
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .product-card a {
        padding: 10px;
    }
    
    .product-card h3 {
        font-size: 14px;
        height: 36px;
    }
    
    .product-image {
        padding-top: 100%;
    }
    
    .discount-price,
    .price .price {
        font-size: 16px;
    }
    
    .original-price {
        font-size: 13px;
    }
    
    .add-to-cart {
        font-size: 12px;
        padding: 8px 10px;
    }
    
    .wishlist-btn {
        width: 32px;
        height: 32px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .category-card {
        padding: 20px 15px;
    }
    
    .category-icon {
        font-size: 36px;
    }
    
    .category-card h3 {
        font-size: 14px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .countdown-timer {
        font-size: 14px;
    }
    
    .timer-item {
        padding: 4px 10px;
    }
    
    .timer-item span {
        font-size: 16px;
    }
    
    .newsletter-section {
        padding: 40px 0;
    }
    
    .newsletter-text h2 {
        font-size: 20px;
    }
    
    .payment-methods {
        justify-content: center;
    }
    
    .payment-methods i {
        font-size: 24px;
    }
    
    .back-to-top {
        bottom: 70px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Landscape Phones */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-slide {
        min-height: 200px;
        padding: 30px 0;
    }
    
    .hero-text h1 {
        font-size: 20px;
    }
    
    .hero-text p {
        font-size: 13px;
        margin-bottom: 15px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .product-card,
    .category-card,
    .features-bar {
        background: #1e1e1e;
    }
    
    .product-card h3,
    .category-card h3 {
        color: #e0e0e0;
    }
    
    .search-bar input {
        color: #e0e0e0;
    }
    
    .dropdown-menu {
        background: #1e1e1e;
    }
    
    .dropdown-menu li a {
        color: #e0e0e0;
    }
    
    .dropdown-menu li a:hover {
        background: #2d2d2d;
    }
}