body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.mobileWrapper {
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

#detailsContainer {
    min-height: clamp(378px,105vw,430px);
}

#installAppContainer {
    bottom: 10px;
    right: 10px;
    z-index: 100;
}




/* Responsive breakpoints for mobileWrapper */

/* Mobile-first base styles already defined above. */

/* Tablet: 768px and up */
@media (min-width: 500px) {
    .mobileWrapper {
        padding: 4px;
        margin: 30px auto;
        height: calc(100vh - 30px);
        align-items: stretch;
        justify-content: flex-start;
        border: 1px solid #ccc;
        border-radius: 16px;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    }

    .mobileWrapperContent {
        border-radius: 14px;
    }

    #detailsContainer {
        min-height: clamp(250px,70vw,350px);
    }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
    .mobileWrapper {
        padding: 4px;
        height: auto;
        margin: 30px auto;
        height: calc(100vh - 30px);
        align-items: stretch;
        justify-content: flex-start;
        border: 1px solid #ccc;
        border-radius: 16px;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    }

    .mobileWrapperContent {
        border-radius: 14px;
    }
}

/* Large desktop: 1440px and up - center content with larger gutters */
@media (min-width: 1440px) {
    .mobileWrapper {
        padding: 4px;
        border: 1px solid #ccc;
        margin: 30px auto;
        height: calc(100vh - 30px);
        border-radius: 16px;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    }

    .mobileWrapperContent {
        border-radius: 14px;
    }
}