/**
 * Responsive Styles
 * SuperMarket E-Commerce
 */

/* ===== Tablet (768px and below) ===== */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-section {
        padding: 50px 0;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    /* Navigation */
    .search-form {
        width: 100%;
        margin: 15px 0;
    }
    
    .navbar-brand {
        font-size: 24px;
    }
    
    .logo-img {
        height: 35px;
    }
    
    /* Product Cards */
    .product-card-body {
        padding: 15px;
    }
    
    .product-title {
        font-size: 16px;
    }
    
    .product-price {
        font-size: 20px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-legal {
        justify-content: flex-start;
        flex-direction: column;
        gap: 10px;
    }
    
    /* Newsletter */
    .newsletter-title {
        font-size: 26px;
    }
    
    .newsletter-text {
        font-size: 16px;
    }
    
    .newsletter-form .form-control {
        padding: 12px 15px;
    }
    
    .btn-newsletter {
        padding: 12px 20px;
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}

/* ===== Mobile (576px and below) ===== */
@media (max-width: 576px) {
    /* Top Bar */
    .top-bar {
        font-size: 12px;
    }
    
    .top-bar-left,
    .top-bar-right {
        text-align: center;
    }
    
    .top-bar-right .top-link {
        margin-left: 10px;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 26px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    /* Product Cards */
    .product-title {
        font-size: 15px;
    }
    
    .product-description {
        font-size: 13px;
    }
    
    .product-price {
        font-size: 18px;
    }
    
    .product-price-original {
        font-size: 14px;
    }
    
    .discount-badge {
        font-size: 12px;
        padding: 4px 10px;
    }
    
    /* Newsletter */
    .newsletter-section {
        padding: 40px 0;
    }
    
    .newsletter-title {
        font-size: 22px;
    }
    
    .newsletter-text {
        font-size: 14px;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .form-control {
        border-radius: 8px;
        margin-bottom: 10px;
    }
    
    .btn-newsletter {
        border-radius: 8px;
        width: 100%;
    }
    
    /* Footer */
    .footer-heading {
        font-size: 18px;
    }
    
    .footer-text {
        font-size: 14px;
    }
    
    /* Pagination */
    .page-link {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* ===== Large Desktop (1200px and above) ===== */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-title {
        font-size: 64px;
    }
    
    .section-title {
        font-size: 48px;
    }
}

/* ===== Print Styles ===== */
@media print {
    .top-bar,
    .main-navbar,
    .newsletter-section,
    .footer,
    .whatsapp-float,
    .btn-call-order,
    .btn-call-product {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}
