.hidden {
    display: none;
}

#price_table_container {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding-top: 8em;
    padding-bottom: 2em;
}

#price_table {
    display: grid;
    grid-template-rows: 1fr;
    grid-auto-rows: auto;
    
    gap: 1em;
    
    width: 60%;

    padding: 2em;
    box-sizing: border-box;

    color: black;
    background-color: #eee;
    background-image: url("../textures/paper_texture.jpg");
    background-blend-mode: lighten;
    background-repeat: round;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.8);

    p {
        margin-top: 0.5em;
        margin-bottom: 0.5em;

        font-family: Doto, monospace;
        font-size: 1.5em;
        font-weight: 600;
    }
}

.head_logo {
    width: 30%;
    justify-self: center;
    pointer-events: none;
}

#price_table_error {
    text-align: center;
    color: rgb(255, 16, 36);
}

.price_table_sep {
    height: 0;
    width: 100%;

    border-top: 1px dashed black;
}

.price_table_entry {
    display: grid;
    grid-template-columns: 1fr 5fr 1fr 1fr;
    
    align-items: end;
    gap: 1em;

    .item_name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .thumb {
        height: 100%;
        aspect-ratio: 1/1;

        /* background-color: black; */
        box-shadow: 1px 1px 5px rgba(0,0,0,0.3);

        img {
            height: 100%;
            width: 100%;

            object-fit: cover;
            pointer-events: none;
        }
    }
}

.price_table_entry_btn_remove {
    cursor: pointer;

    color: rgb(255, 16, 36);
}

#paypal_button_container {
    margin-top: 1em;

    transition: opacity 0.5s ease-in-out;
}

#paypal_button_container.disabled {
    opacity: 50%;
    pointer-events: none;
}

@media (max-aspect-ratio: 1/1) {
    .head_logo {
        width: 70%;
    }

    #price_table {
        width: 90%;

        padding-left: 1em;
        padding-right: 1em;
        padding-bottom: 1em;

        p {
            font-size: 0.8em;
        }
    }
}