html{
    height: 100%;
}
body{
    display: flex;
    flex-direction: column;
    height: 100%;
}

h1,.header-logo{
    font-size: 18px;
    font-weight: 700;
}
.header{
    border-bottom: 1px solid rgba(0, 0, 0, .07);
}
.dark .header{
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
main{
    flex: 1 0 auto;
}
footer{

    border-top: 1px solid rgba(0, 0, 0, .07);
    flex: 0 0 auto;
}
.dark footer{
    border-color: rgba(255, 255, 255, 0.2);
}

.--hidden{
    display: none;
}
.--grid{
    display: grid!important;
    justify-content:center;
    padding: 0 20px;
    box-sizing: border-box;
}
.--grid-one-column{
    grid-template-columns: repeat(1fr);
}
.--grid-content-1fr{
    text-align: center;
    grid-column-start: 1;
    grid-column-end: 2;
}
.--grid-content-2fr{
    text-align: center;
    grid-column-start: 1;
    grid-column-end: 3;
}
.--grid-content-3fr{
    text-align: center;
    grid-column-start: 1;
    grid-column-end: 4;
}
.--grid-two-column{
    grid-template-columns: repeat(2,1fr);
}
.--grid-three-column{
    grid-template-columns: repeat(3, 1fr);
}
.--justify{
    text-align: justify;
}
.--line-height-mod{
    line-height:1.1 !important
}
@media screen and (max-width: 400px) {
    .--grid-three-column{
        grid-template-columns: repeat(2,1fr);
    }
    .--grid-content-3fr{
        grid-column-end: 3;
    }
}
a{
    color:var(--main-color)
}
.-testing-before::before{
    content: " ";
    width: 100%;
    margin-top: 100%;
    position: relative;
}
.cafe-item-buttons, .cafe-item-button-wrap{
    position:absolute;
    bottom:0px;
    left:50%;
    transform:translateX(-50%)
}
.cafe-item-label{
    /* margin-top: 24px!important; */
    padding-bottom: 30px;
}
.container{
    max-width: 480px;
    margin:0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.hidden{
    display: none!important;
}

.open{
    display: block;
}
.header-logo{
    
    line-height:30px;
    width: auto;
    height:auto;
    max-width: 150px;
    max-height:30px;
}
.header-logo-wrap{
    margin: 8px auto;
}
.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(--bg-color);
    /* background-color: var(--block-bg-color); */
}
.header-title{
    font-size:18px;
    padding: 0 10px;
    margin: 15px auto;
    max-width: 150px;
}
.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
}

.footer{
    
    display: flex;
    text-align: center;
    /* align-items:center; */
    flex-direction: column;
    max-width:480px;
    margin: 15px auto 15px;
    padding: 0 20px;
    box-sizing: border-box;
    row-gap: 10px;
}
.footer p{
     margin: 0;
}
.footer,
.footer a{
   
    font-family: var(--default-font);
    font-size: 11px;
    line-height: 18px;
    font-weight: 500;
    color: var(--hint-color);
}
.footer .footer__nav-list{
    display:flex;
    justify-content:space-around;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.footer li{
    list-style: none;
}

/*  */

.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;
    margin-top: 0 !important;
}
.cafe-order-item-sale{
    text-decoration:line-through;
    padding-left:5px;
    font-size: 11px;
    /* display: none; */
}
.cafe-order-item-price {
    font-weight:bold
}
.cafe-order-item-sale:empty {
    display:none
}
.cafe-final-order-price{
    display:flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    justify-content: flex-end;
    /* padding-left: 10px; */
}
.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-page-banner::before{
    content: "";
    position: absolute;
    width: 100vw;
    height: 100%;
    z-index: -1;
    background: linear-gradient(#EE9379, rgba(255, 255, 255, 0));
}
.cafe-item-lottie img.active{
    opacity: 1;
}

.cafe-item-img{
    position: absolute;
    max-width: 100%;
    left: 0;
    top: 0;
    border-radius: 10px;
}
.cafe-item{
    margin: 0 auto 15px;
    width: 100%;
}
.banner-arrow{
    animation:anim 0.7s infinite alternate-reverse
}

@keyframes anim {
    0%{
        transform: translateY(-10px)
    }
    100%{
        transform: translateY(0px)
    }
}

.cafe-item-photo{
    height:auto !important;
    width: 100%;position: relative;padding-top: 100%;
}
.cafe-item-lottie {
    width: 100% !important;
    max-width: 350px;
}
.cafe-item, .cafe-item-shadow{
    display: block;
    min-width: 120px
}
.cafe-item-photo{
    /* border-radius: 10px; */
}
.cafe-item-photo-collection{
    position: absolute!important;
    width: 100%!important;
    height: 100%!important; 
    /* overflow: hidden; */
    top: 0!important;
    left: 0!important;
    
    
}
.slick-list {
    border-radius: 10px;
    overflow: hidden;  
}
.cafe-item-photo-collection img{
    position:absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.slick-slide div{
    position: relative;
    padding-top: 100%;background-color: var(--card-img-background-color);
}

/* lite box */

.lite-box{
    display:none !important;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    /* opacity: 0.3; */
    z-index: 400;
    left: 0%;
    top: 0%;
    display: flex;
    justify-content:center;
    align-items:center;
}
.slick-slide a{
    display:unset !important;
}
.lite-box__inner{
    position: relative;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    background-color: red;
}
.lite-box__close_cross{
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 5px;
}
.lite-box__close_cross svg{
    width: 25px;
    height: 25px;
}

.cafe-modal{
    position:fixed;
    top: 100%;
    left: 0%;
    width: 100%;
    height: calc(100% - var(--header-height));
    background-color:var(--bg-color);
    z-index: 5;
    opacity: 0;
    transition: top 0.3s ease-out, opacity 0.2s ease-out;
    
    /* margin: 20px 0; */
    box-sizing: border-box;
}
.cafe-modal.open{
    top: calc(0% + var(--header-height));
    opacity: 1;
}
.cafe-modal-item-buttons-wrap{
    position: relative;
}
.close-scroll body{overflow: hidden}
.cafe-modal .cafe-item-counter{
    left: 0;
    right: auto;
}
.cafe-btn{
    min-width: 80px;
    width: 100%;
    background-color:var(--main-color);
    transition:background-color 0.2s ease-out
}
.cafe-btn:active{
    background-color:var(--button-active-color)
}
.cafe-modal-wrap .cafe-item-label{
    padding-bottom: 0;
}
.cafe-modal-wrap .cafe-item-incr-button{
    width: 110px
}
.cafe-modal-wrap .selected .cafe-item-incr-button{
    width: 38px
}
.cafe-item-brand-name{
    margin-bottom:10px;
}
.cafe-modal-wrap .cafe-item-description{
    margin-top:10px
    /* text-align:left */
}
.cafe-item-description h5, .cafe-item-description p{
    margin: 0;
}
.cafe-item-description h5 , .cafe-item-brand-name{
    font-size: 13px;
}
.cafe-item-brand-name:empty{
    display: none;
}
.cafe-item-description h5:empty, .cafe-item-description p:empty, .cafe-item-description:empty{
    display:none
}
.cafe-modal-wrap .cafe-item-title, .cafe-modal-wrap .cafe-item-brand-name ,.cafe-modal-wrap .cafe-item-description h5 , .cafe-modal-wrap .cafe-item-description p{
    font-size: 14px;
}
/* .cafe-modal .cafe-item-title ,  */
.cafe-modal-wrap .cafe-item-description h5
/* .cafe-modal .cafe-item-brand-name  */
{
    font-weight: 700;
}
.cafe-item-description-paragraph ul,
.cafe-item-description-paragraph li{
    padding:0;
    margin:0;list-style-type: '-';
}
.cafe-item-description-paragraph ul{
    list-style-type: '-';
}
.cafe-modal-wrap .cafe-item-title{
    display: inline-block;
    overflow: unset;
    display: -webkit-box;
    -webkit-line-clamp: unset;
    line-height: 1.3em;
    max-height: unset;
}
.cafe-modal-wrap{
    position: fixed;
    top: 100%;
    width: 100%;
    height:calc(100vh + 20px);
    /* height:40px; */
    background-color:var(--bg-color);
    z-index: 200;
    transition:top 0.2s ease-out;
}
.cafe-modal-wrap .cafe-item-label{
    text-align: center;
}
.cafe-modal-wrap.show{
    top: 0%;
}
.cafe-modal-item{
    display: none;
}
.cafe-modal-item.show{
    display: block;
}
.cafe-item-incr-button{
    width: 100%
}
.cafe-counter-wrapper{
    text-align: center;
}