/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    /* Navigation fixes */
    .nav-container {
        padding: 0 1rem;
    }
    
    /* Mobile dropdown content fixes */
    .dropdown-content {
        min-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 0;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .dropdown-column {
        width: 100%;
        padding: 0;
    }
    
    .dropdown-category {
        margin-bottom: 1rem;
    }
    
    .category-title a {
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    .category-items li {
        margin-bottom: 0.3rem;
    }
    
    .category-items a {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        border-radius: 4px;
    }
    
    /* Hero section fixes */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Product gallery fixes */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .gallery-item {
        height: 200px;
        margin: 0;
    }
    
    .gallery-item img {
        padding: 5px;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    /* Table fixes */
    .specs-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 0.75rem;
    }
    
    .specs-table table {
        min-width: 500px;
        width: auto;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 8px 6px;
        white-space: nowrap;
        min-width: 60px;
    }
    
    /* Product details fixes */
    .product-details > div {
        grid-template-columns: 1fr;
        padding: 1rem 0.5rem;
        gap: 1rem;
    }
    
    .product-item.expanded .product-details {
        max-height: none;
        overflow: visible;
    }
    
    /* Contact section fixes */
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .phone-menu {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1001;
        min-width: 250px;
    }
    
    /* Footer fixes */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Floating elements fixes */
    .floating-zalo {
        bottom: 15px;
        right: 15px;
    }
    
    .zalo-button {
        width: 45px;
        height: 45px;
    }
    
    /* Text wrapping fixes */
    .product-basic-info h4,
    .product-basic-info h3,
    .product-basic-info p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.4;
    }
    
    /* Image modal fixes */
    .image-modal-content {
        max-width: 95%;
        max-height: 80%;
    }
    
    .image-modal-nav {
        font-size: 20px;
        padding: 8px 12px;
    }
    
    .image-modal-nav.prev {
        left: 10px;
    }
    
    .image-modal-nav.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .specs-table {
        font-size: 0.7rem;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 6px 4px;
    }
}