
.page__inner {
    padding: 1em;
    padding-top: 0;
    display: flex;
    align-items: flex-start;
    gap: 1em;
}

@media all and (max-width: 700px) {
    .sidebar {

    }
}


/* .sidebar {

    flex-shrink: 0;
    flex-grow: 0;
    min-width: 16em;
    max-width: 16em;

    flex-direction: column;
    display: flex;
    place-items: center;
    gap: 1em;
    background-color: white;
    padding: 1em;
    border-radius: 2px;
    position: sticky;
    top: 1em;

} */

.sidebar {
    background-color: white;
    display: flex;
    padding: 0.5em;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    place-items: center;
}

main {
    flex-grow: 1;
}

.box {
    background-color: white;
    padding: 1em;
    display: flex;
    flex-direction: column;
}

.box > .box__inner {
    display: flex;
    flex-direction: column;
}

.order-thumbnail {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    max-width: 24em;
    min-width: 8em;
    width: 100%;
    align-self: center
}

.box > input[type=checkbox]:not(:checked) {
    display: none;
}

.box:hover > input[type=checkbox] {
    display: initial;
}

@media all and (min-width: 700px) {


    .box > .box__inner {
        flex-direction: row;
    }

    .order-thumbnail {
        width: 6em;

    }

    .sidebar {

        flex-shrink: 0;
        flex-grow: 0;
        min-width: 20em;
        max-width: 20em;

        flex-direction: column;
        display: flex;
        place-items: stretch;
        gap: 1em;

        padding: 1em;
        border-radius: 2px;
        position: sticky;
        top: 1em;

    }
}

