html, body{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

a{
    text-decoration: none !important;
}
/* ==============================Header===================================*/

.header{
    width: 100%;
    height: 200px;
    background-color: #000;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: 0px 5px 15px 3px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: center;
}
.header section{
    width: 100%;
    max-width: 680px;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: center;
    position: relative;
    width: calc(100% - 40px);
}

.header-logo{   
    width: 100%; 
    padding: 15px 0px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    
}

.header-menu{
    position: absolute;
    bottom: 20px;
    right: 0px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;
    gap: 12px;
}

.header-menu a{
    color: #f1f1f1;
    text-decoration: none;
    font-size: 1rem;
    padding-bottom: 3px;
}

.header-menu a:hover{
    cursor: pointer;
    opacity: .8;
}

.header-menu [selected]{
    border-bottom: 2px solid #f1f1f1;
}

.logo{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 15px;
}

.logo img{
    width: 80px;
    border-radius: 50%;
    background-color: #ffffff;
}

.logo h1{
    font-size: 2rem;
    color: #f1f1f1;
    /*-webkit-text-stroke: 1px #000000;*/
}

.social-midia{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;
    gap: 8px;
}

@media (max-width: 500px) {

    .logo img{
        width: 50px;
    }

    .logo h1{
        font-size: 1.5rem;
    }
}

/* ==============================Main===================================*/

.main{
    width: 100%;
    min-height: calc(100vh - 445px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 20px;
    padding: 30px 0;
    background-color: #f1f1f1;
}

.search{
    width: calc(100% - 40px);
    max-width: 680px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
}

.search-input{
    width: 100%;
    display: flex;
    flex-direction: row;
    position: relative;
}

.search-input input{
    width: calc(100% - 15px);
    background-color: #f1f1f1;
    border-radius: 15px;
    height: 35px;   
    padding: 0 15px;
    color: #000;

}
.search-input button{
    background-color: #000;
    position: absolute;
    border-radius: 0 15px 15px 0;
    right: 0px;
    height: 35px;
}

.search-input button:hover{
    cursor: pointer;
    opacity: .8;
}

.search-input button img{
    width: 18px;
}

.search-tags{
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 7px;
}

.search-tags a{
    background-color: #000000;
    color: #f1f1f1;
    border-radius: 15px;
    padding: 6px 10px;
    font-weight: bold;
    font-size: .9rem;
    text-align: center;
    text-decoration: none;
}

.search-tags a:hover{
    cursor: pointer;
    opacity: .8;
}

.group{
    width: calc(100% - 40px);
    max-width: 680px;
    border-radius: 15px;
    padding-bottom: 20px;
    box-shadow: 0px 5px 15px 3px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    background-color: #f1f1f1;
}

.group summary{
    width: calc(100% - 20px);
    border-radius: 15px;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 13px 10px;
    text-align: left;
    background-color: #000;
    color: #fff;
}

.items{
    width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 20px;
    padding: 20px;
    padding-bottom: 0px;
}

.item{
    width: calc(100% - 30px);
    padding: 15px;
    border-radius: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    box-shadow: 0px 5px 15px 3px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.item img{
    width: 100px;
    height: 100px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
}

.item-data{
    width: calc(100% - 210px);
    min-height: 90px;
    margin: 0;
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    overflow: hidden;
}

.item-data h3{
    font-size: 1.2rem;
    line-height: 1.2;
    margin: 0;
    margin-bottom: 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
            line-clamp: 2; 
    -webkit-box-orient: vertical;
}

.item-data p{
    font-size: .9rem;
    line-height: 1.2;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
            line-clamp: 3; 
    -webkit-box-orient: vertical;
}

.item-add{
    height: 90px;
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.item-add h3{
    font-size: 1.2rem;
    white-space: nowrap;
    margin: 0;
}

.item-add button{
    width: 80px;
    font-size: .8rem;
    padding: 7px 12px;
    border-radius: 5px;
    border: none;
    color: #fff;
    background-color: #000;
}

.item-add button:hover{
    cursor: pointer;
    opacity: .8;
}

@media (max-width: 500px) {

    .items{
        gap: 16px
    }

    .item{
        width: calc(100% - 20px);
        gap: 10px;
        padding: 8px 12px;
    }

    .group summary{
        font-size: 1rem;
        padding: 12px 10px;
        border-radius: 15px;
    }

    .item img{
        width: 70px;
        height: 70px;
    }

    .item-data{
        min-height: 66px;
        width: calc(100% - 1px);
        padding: 0;
    }

    .item-add{
        height: 66px;
    }

    .item-data h3{
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .item-add h3{
        font-size: 1rem;
    }

    .item-data p{
        font-size: .78rem;
    }

    .item-add button{
        font-size: .75rem;
    }
  }

/* ==============================Footer===================================*/

.footer{
    width: calc(100% - 40px);
    min-height: calc(175px - 10px);
    line-height: 1.5;
    padding: 10px 20px;
    color: #f1f1f1;
    background-color: #000;
    background: linear-gradient(rgba(0, 0, 0, 1),rgba(0, 0, 0, 1)), url('');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer section{
    width: 100%;
    max-width: 680px;
    gap: 5px;
    margin-bottom: -3px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.footer section img{
    width: 20px;
    height: 20px;
}

.footer a{
    color: #f1f1f1;
    text-decoration: none;
    text-align: center;
    font-size: .9rem;
}

.footer img{
    margin: 0;
}

.footer p{
    text-align: center;
    margin: 0;
    font-size: .9rem;
}

.footer hr{
    width: 100%;
    max-width: 680px;
    height: 1px;
    background-color: #6c6c6c;

}

@media (max-width: 500px) {
    .footer a, .footer p{
        font-size: .75;
    }
}

/* ==============================Shopping===================================*/

.shopping{
    z-index: 1;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #000;
    border-radius: 50%;
    box-shadow: 0px 5px 15px 3px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #6c6c6c;
}

.shopping:hover{
    cursor: pointer;
    opacity: .8;
}

.shopping img{
    width: 30px;
    height: 30px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.shopping i{
    border: 1px solid #6c6c6c;
    position: absolute;
    color: #fff;
    background-color: rgb(172, 0, 0);
    width: 20px;
    height: 20px;
    max-width: 25px;
    max-height: 25px;
    border-radius: 50%;
    aspect-ratio: 1/1;
    margin-top: -30px;
    margin-right: 30px;
    font-size: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
}

/* ==============================Show-Item===================================*/

.view-item-container *{
    -webkit-touch-callout: none;  /* iPhone OS, Safari */
    -webkit-user-select: none;    /* Chrome, Safari 3 */
    -khtml-user-select: none;     /* Safari 2 */
    -moz-user-select: none;       /* Firefox */
    -ms-user-select: none;        /* IE10+ */
    user-select: none;            /* Possível implementação no futuro */
    /* cursor: default; */
}

.view-item-container{
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
}

.view-item-frame{
    padding: 15px;
    background-color: #f1f1f1;
    border-radius: 25px;
    width: calc(100% - 70px);
    max-width: 680px;
    display: flex;
    flex-direction: row;
}

.view-item{
    position: relative;
    width: calc(100% - 33px);
    padding: 15px;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: 2px solid #6c6c6c;
}

.view-item-close{   
    font-size: 1.2rem; 
    position: absolute;
    top: 10px;
    right: 10px;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.view-item-close:hover{
    cursor: pointer;
    opacity: .8;
}

.view-item img{
    width: 300px;
    height: 300px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 15px;
}

.view-item-data{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    gap: 15px;
    height: 100% !important;
    min-height: 100%;
}

.view-item-inf{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}

.view-item-inf h3{
    font-size: 1.2rem;
    margin-top: 10px;
    margin-bottom: 0;
    line-height: 1.2;
}

.view-item-inf p{
    margin: 10px 0;
    font-size: .9rem;
    line-height: 1.2;
}

.view-item-add{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
    gap: 15px;
}

.view-item-add-quant{
    border: 1px solid #6c6c6c;
    padding: 4px 15px;
    border-radius: 8px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 55px;
}

.view-item-add-quant span{
    font-size: 1.5rem;
    padding: 5px;
    cursor: pointer;
}

.view-item-add-quant span:nth-child(2) {
    padding: 5px 10px;
    font-size: 1.2rem;
    cursor: default;
}

.view-item-add button{
    font-size: 1rem;
    padding: 10px 15px;
    border-radius: 8px;
    border: none;
    color: #fff;
    background-color: #000;
}

.view-item-add button:hover{
    cursor: pointer;
    opacity: .8;
}

.view-item-add button span{
    width: 30px;
    height: 100%;
}

.view-item-opts{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    column-count: 2;
}

.view-item-opts label{
    font-size: .9rem;
}

.view-item-opts input{
    accent-color: #000;    
} 

.view-item-obs{
    width: 100%;
    display: flex;
    flex-direction: column;
}

.view-item-obs textarea{
    width: calc(100% - 8px);
    border-radius: 10px;
    margin-top: 5px;
}

@media (max-width: 700px) {
    .view-item{
        flex-direction: column;
        gap: 5px;
    }

    .view-item img{
        width: 150px;
        height: 150px;
    }

    .view-item h3{
        font-size: 1rem;
    }

    .view-item p, .view-item label{
        font-size: .78rem;
    }

    .view-item-add-quant span{
        font-size: 1rem;
        padding: 5px;
        font-size: 1.2rem;
    }
    
    .view-item-add-quant span:nth-child(2) {
        padding: 5px 10px;
        font-size: .9rem;
    }
    
    .view-item-add button{
        font-size: .8rem;
        padding: 9px 15px;
        border-radius: 8px;
        border: none;
        color: #fff;
        background-color: #000;
    }

    .view-item-frame{
        display: block;
    }
}

/* ==============================Carrinho===================================*/

.cesta-container{
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.9);
}

.cesta-container div:nth-child(1){
    position: relative;
}

.view-cesta-close{ 
    font-size: 1.2rem; 
    position: absolute;
    top: 10px;
    right: 15px;
    font-weight: bold;
    color: #f1f1f1;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    cursor: pointer;
}

.cesta-quant{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cesta-quant div{
    border: 1px solid rgba(0, 0, 0);
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    gap: 15px;
    border-radius: 5px;
    padding: 3px 10px;
    margin: 5px 0;
    background-color: #000;
    color: #fff;
}

.cesta-quant div span:nth-child(1), .cesta-quant div span:nth-child(3){    
    cursor: pointer;
    font-size: 1.2rem;
}

.cesta-quant div span:nth-child(2){
    font-size: .9rem;
}

.cesta-quant p{
    margin:0;
    font-size: .8rem;
    color: rgb(202, 0, 0);
    cursor: pointer;
}

.forma-pag{
    margin-top: 30px;
    width: calc(100% - 40px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.forma-pag div{
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: calc(50% - 10px);
}

.forma-pag select, .forma-pag button{
    font-size: 1rem;
    padding: 5px 10px;
    border-radius: 8px;
    border: none;
    color: #fff;
    background-color: #000;
    text-align: center;
}

.confirm{
    width: calc(100% - 30px);
    display: flex;
    flex-direction: column;
    padding: 15px;
    gap: 15px;
}

.confirm button{
    width: 100%;
    height: 38px;
    font-size: 1rem;
    padding: 8px 15px;
    border-radius: 8px;
    border: none;
    color: #fff;
    background-color: #626262;
}

.confirm button:nth-child(1){
    background-color: #000;    
}

@media (max-width: 500px) {
    .forma-pag{
        font-size: .9rem;
    }

    .forma-pag button, .forma-pag select{
        font-size: .9rem;
    }

    .confirm button{
        font-size: .9rem;
    }
}

i{
    font-style: normal;
}