/**
 * Flipkart Lite - Responsive Mobile App Frame for Laptop / Desktop Displays
 * Centers the website as a smartphone canvas (max-width: 440px) on large screens.
 * Leaves phones (<= 500px) in 100% full-screen native mobile mode.
 */

@media screen and (min-width: 501px) {
    html {
        background-color: #0b1329 !important;
        min-height: 100%;
    }

    body {
        background-color: #0b1329 !important;
        min-height: 100vh !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
        overflow-x: hidden;
    }

    #container {
        width: 100% !important;
        max-width: 440px !important;
        min-height: 100vh !important;
        background-color: #ffffff !important;
        margin: 0 auto !important;
        position: relative !important;
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
        overflow-x: hidden !important;
    }

    /* Fixed bottom action buttons (Buy Now, Continue, Add to Cart) */
    .button-container,
    .button-container.flex,
    .fixed-bottom,
    div[style*="position:fixed"],
    div[style*="position: fixed"] {
        max-width: 440px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Fixed headers and top navigation */
    .header-container,
    .header,
    ._3CzzrP,
    ._1FWdmb,
    .menu-bar {
        max-width: 440px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Modal dialogs */
    .modal-dialog {
        max-width: 400px !important;
        margin: 1.75rem auto !important;
    }
}
