/* ==========================================================================
   MITHILA MAATI - MOBILE RESPONSIVENESS (<= 576px)
   ========================================================================== */

@media (max-width: 576px) {
    :root {
        --phi-spacing-sm: 0.8rem;
        --phi-spacing-md: 1.2rem;
        --phi-spacing-lg: 1.8rem;
        --phi-spacing-xl: 2.8rem;
    }

    body {
        font-size: 14px;
    }

    /* Header & Navigation */
    .navbar-brand img {
        height: 36px !important;
    }
    .navbar-nav {
        background-color: var(--bg-glass);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 0.5rem;
        border: 1px solid var(--border-glass);
    }

    /* Typography Settings */
    h1, .hero-slider h1 {
        font-size: 1.8rem !important;
    }
    h2 {
        font-size: 1.5rem !important;
    }
    h3 {
        font-size: 1.25rem !important;
    }

    /* Padding Adjustments */
    .section-padding {
        padding: 2.5rem 0 !important;
    }

    /* Hero Banner Overlays */
    .hero-slider-item {
        height: 350px !important;
    }
    .hero-content {
        padding: 1rem !important;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2rem !important;
    }
    .hero-content p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    /* Cart and Table Stack Optimization */
    .cart-table thead {
        display: none;
    }
    .cart-table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid var(--border-glass);
        border-radius: 8px;
        padding: 0.5rem;
    }
    .cart-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: none !important;
        padding: 0.5rem 0 !important;
        text-align: right;
    }
    .cart-table td::before {
        content: attr(data-label);
        font-weight: bold;
        float: left;
        color: var(--text-secondary);
        text-transform: uppercase;
        font-size: 0.75rem;
    }
    .cart-table td.product-info-cell {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .cart-table td.product-info-cell::before {
        display: none;
    }

    /* Timeline Journey in About page */
    .timeline::before {
        left: 20px !important;
    }
    .timeline-container {
        width: 100% !important;
        padding-left: 50px !important;
        padding-right: 0 !important;
    }
    .timeline-container::after {
        left: 10px !important;
    }
    .timeline-container-left::after,
    .timeline-container-right::after {
        left: 10px !important;
    }
}
