.--grid{
    display: grid!important;
    justify-content:center;
    padding: 0 20px;
    box-sizing: border-box;
}
.--grid-one-column{
    grid-template-columns: repeat(1fr);
}
.--grid-two-column{
    grid-template-columns: repeat(2,1fr);
}
.--grid-three-column{
    grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 359px) {
    .--grid-three-column{
        grid-template-columns: repeat(2,1fr);
    }
}

.container{
    max-width: 480px;
    margin:0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.hidden{
    display: none!important;
}

.open{
    display: block;
}
.header{
    width: 100%;
    text-align: center;
    position:fixed;
    left: 50%;
    top:0px;
    transform: translateX(-50%);
    z-index: 300;
    background-color: var(--bg-color);
}
html.dark .header{
    background-color: var(--block-bg-color);
}
.header-title{
    font-size:18px;
    padding: 0 10px
}
.cart{
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translate(0%,-50%);
    cursor: pointer;
}
.back-button{
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translate(0%,-50%)
}
.cart-span{
    padding: 5px;
}
.cart-page{
    min-height:480px
}

/*  */

.main-page{
    text-align:center;
    display: flex;
    flex-direction:column;
    justify-content:center;
    min-height: 480px;
    /* background-color:red */
}

.main{
    margin-top: 52px;
}
.breadcrumb{
    display:none
}
.breadcrumb span {
    text-decoration: underline;
}
.cafe-item-label{
    display:flex;
    flex-direction: column;
    /* row-gap: 5px; */
}
.cafe-item-price::before{
    content:unset
}
.cafe-item-sale{
    text-decoration:line-through;
}
.categories .button-item{
    position:static !important;
}
.categories .cafe-item-incr-button{
    width: unset!important;
}
.cafe-page {
    margin-top:30px
}
.cafe-item-sale:empty{
    display: none
}
.cafe-item-title{
    display: inline-block;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3em;
    max-height: 2.9em;
  
}
.cafe-order-overview{
    /* display:block !important; */
    opacity:1 !important
}
.cafe-order-item-sale{
    text-decoration:line-through;
    padding-left:5px;
}
.cafe-order-item-sale:empty {
    display:none
}
.test{
    display:flex;
    column-gap: 10px;
    justify-content:center;
}
.test svg{
    width:auto;
    height:25px;
    padding:5px;
    border:1px solid;
    border-radius:10px;
    cursor: pointer;
}
.light .cart-span svg{
    fill: black;
}
.dark .cart-span svg{
    fill: white;
}
.light .test svg{
    border-color: black;
    fill: black;
}
.dark .test svg{
    border-color: white;
    fill: white;
}
.cafe-item-lottie {
    background-color: var(--card-img-background-color);
    /* background:red; */
    border-radius: 10px;
    overflow:hidden
}
.cafe-item-lottie img{
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}
.cafe-item-lottie img.active{
    opacity: 1;
}

.cafe-item{
    margin: 0 auto 15px;
    width: 100%;
}
.cafe-item-photo{
    height:auto !important;
}
.cafe-item-lottie {
    width: 100% !important;
    max-width: 350px;
}
.cafe-item, .cafe-item-shadow{
    display: block;
}