
#productInfo {
    position: absolute;
    background-color: #4c566aa3;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 1;
    visibility: visible;
    transition: opacity .1s var(--ease), visibility .3s;
    overflow: scroll;
}

#productInfoContent {
    position: absolute;
    background-color: var(--darkest4);
    left: 0;
    top: 0;
    width: calc(100% - 15rem);
    margin: 5rem;
    padding: 2rem;
    border-radius: 0.5rem;
    scale: 1;
    transition: scale .2s var(--ease);
}

#productInfo.hidden { opacity: 0; visibility: hidden; }
#productInfo.hidden #productInfoContent { scale: 0.9; }

#storeGrid {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
    align-content: stretch;
    width: 100%;
}

.productCard {
    margin: unset;
    width: 100%;
    position: relative;
    padding-top: 3rem;
    border-radius: 0.8rem 0.8rem 0.5rem 0.5rem;
    color: var(--lightest1);
    transition: scale .2s var(--ease);
    scale: 1;
}
.productCard .label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1rem;
    background-color: var(--blue2);
    padding: 0.7rem 0;
    border-radius: 0.8rem 0.8rem 0 0;
}
.productCard h2 {
    font-weight: bold;
}
.productCard:hover { scale: 1.01; }
.productCard:active { scale: 0.995; }

.close {
    border: 0;
    background: transparent;
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
}
.checkoutBtn {
    width: 100%;
    justify-content: center;
    background: var(--blue2);
    font-size: 1rem;
    font-weight: bold;
}

@media (max-width: 650px) {
    #productInfoContent {
        width: calc(100% - 4rem);
        margin: 2rem 0 0 0;
        border-radius: 0;
    }
    #storeGrid {
        flex-direction: column;
        width: calc(100% - 2rem);
    }
}