/* ============================================
   RESPONSIVE.CSS - MEDIA QUERIES CHUNG
   Tải CUỐI CÙNG để ghi đè khi cần
   ============================================ */

/* === TABLET === */
@media (max-width: 992px) {
    .blog-grid {
        gap: 20px;
    }
    
    .product-card img {
        height: 220px;
    }
}

/* === MOBILE LANDSCAPE === */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-title::after {
        width: 60px;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .product-card img {
        height: 200px;
    }
    
    .py-5 {
        padding: 50px 0;
    }
}

/* === MOBILE PORTRAIT === */
@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .product-card img {
        height: 180px;
    }
    
    .product-card .card-body {
        padding: 12px;
    }
    
    .product-card .card-title {
        font-size: 0.9rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-title {
        font-size: 1.1rem;
    }
    
    .page-content, .contact-info, .contact-form {
        padding: 15px;
    }
    
    .row.g-4 {
        --bs-gutter-y: 1rem;
    }
}

/* === SMALL MOBILE === */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.4rem;
    }
    
    .product-card img {
        height: 150px;
    }
}

/* === FOOTER CẢI TIẾN === */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e2e8f0;
    padding: 60px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
}

.footer-title {
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-title i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.footer-desc {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-contact i {
    width: 25px;
    color: var(--secondary-color);
    margin-right: 8px;
}

.footer-contact a {
    color: #cbd5e1;
    transition: all var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Menu links */
.menu-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-links a {
    color: #cbd5e1;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
    display: inline-block;
}

.menu-links a i {
    font-size: 0.7rem;
    margin-right: 8px;
    transition: transform var(--transition-fast);
}

.menu-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.menu-links a:hover i {
    transform: translateX(3px);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition-normal);
    color: white;
    font-size: 1.1rem;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    color: white;
}

/* Payment Methods */
.payment-methods h5 {
    font-size: 1rem;
    margin-bottom: 15px;
}

.payment-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 2rem;
    color: #cbd5e1;
}

.payment-icons i {
    transition: all var(--transition-fast);
    cursor: pointer;
}

.payment-icons i:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-top: 20px;
    }
    
    .footer-title:first-of-type {
        margin-top: 0;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .payment-icons {
        justify-content: center;
    }
    
    .menu-links a {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-contact p {
        font-size: 0.85rem;
    }
    
    .menu-links a {
        font-size: 0.85rem;
    }
    
    .payment-icons {
        font-size: 1.5rem;
        gap: 12px;
    }
}