/* CART */

#iframe {
    display: block;
    position: fixed;
    filter: blur(0);
    transform: translateX(-10px);
    overflow: scroll;
    top: 60px;
    height: 80%;
}

@media screen and (min-height: 800px) {
    #cart-frame {
        display: none;
        background-color: white;
        border-radius: 12px;
        position: fixed;
        height: 50%;
        top: 25%;
        filter: blur(0px);
        filter: drop-shadow(10px 10px 10px grey);
    }

    #iframe {
        display: block;
        position: fixed;
        filter: blur(0);
        transform: translateX(-10px);
        overflow: scroll;
        top: 60px;
        height: 80%;
    }
}

.cart-button {
    position: fixed;
    right: 30px;
    bottom: 0px;
}

.blur :not(main, div.noblur) {
    filter: blur(2px);
}

.hidden-frame {
    zoom: 0.7;
    display: none;
    background-color: white;
    border-radius: 12px;
    position: fixed;
    width: 100%;
    height: 80%;
    top: 10%;
    left: 0;
    filter: blur(0px);
    filter: drop-shadow(10px 10px 10px grey);
}

@media (min-width: 473px) {
    .hidden-frame {
        zoom: 0.9;
    }
}

@media (min-width: 653px) {
    .hidden-frame {
        zoom: 1;
        display: none;
        background-color: white;
        border-radius: 12px;
        position: fixed;
        width: 80%;
        height: 80%;
        top: 10%;
        left: 10%;
        filter: blur(0px);
        filter: drop-shadow(10px 10px 10px grey);
    }
}

.small-hidden-frame {
    display: none;
    background-color: white;
    border-radius: 12px;
    position: fixed;
    width: 440px;
    height: 440px;
    top: 50%;
    left: 50%;
    margin-top: -220px;
    margin-left: -220px;
    filter: blur(0px);
    filter: drop-shadow(10px 10px 10px grey);
}

#close {
    filter: blur(0);
    background-image: url("/assets/icons/close_FILL0_wght400_GRAD0_opsz48.svg");
    background-color: var(--white-normal);
    width: 35px;
    height: 35px;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    float: right;
    padding: 10px;
    margin-right: 10px;
}

#close:hover {
    background-color: var(--white-hover);
}

#close:active {
    background-color: var(--white-pressed);
}

.no-hover:hover {
    background-color: #ffffff;
}

.cart-thumb {
    max-width: 50px;
    max-height: 50px;
}

.cart-title {
    margin-left: 10px;
}

.cart-value {
    text-align: right;
    margin-right: 15px;
    margin-top: auto;
    margin-bottom: auto;
    overflow: hidden;
    text-overflow: ellipsis;
}

.amount {
    overflow: hidden;
    text-overflow: ellipsis;
    margin: auto;
}

.cart-checkbox {
    margin: auto;
}

.name-no-overflow {    
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 100%;
    margin: auto 10px;
}

.number-input {
    display: inline-flex;
    padding: 5px 5px;
    border: 1px solid var(--field-outline);
    border-radius: 0px;
    box-sizing: border-box;
    text-align: right;
    width: 40px;
    margin-left: -1px;
    margin-right: -1px;
    z-index: 1;
}

.number-input::-webkit-inner-spin-button, 
.number-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.btn {
    padding: 5px 0px;
    width: 20px;
    margin: 0;
    border: 1px solid var(--field-outline);
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
    background-color: var(--white-normal);
    z-index: 50;
}

.btn:hover {
    background-color: var(--white-hover);
}

.btn:active {
    background-color: var(--white-pressed);
}

#minus {
    border-radius: 5px 0px 0px 5px;
}

#plus {
    border-radius: 0px 5px 5px 0px;
}

.no-results {
    display: none;
    margin: auto;
    text-align: center;
    height: 50px;
}