/* ======================================================
   SmartDelivery
   Desenvolvido por Clarocom Tecnologia
====================================================== */

:root{

    --principal:#6FA30F;
    --principal-hover:#5b8b0d;
    --fundo:#f5f5f5;
    --texto:#222;
    --cinza:#777;
    --borda:#e9e9e9;

}

body{

    background:var(--fundo);
    font-family:"Segoe UI",sans-serif;
    color:var(--texto);
    padding-bottom:90px;

}


/* TOPO */

.topo{

    background:#FFF;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 2px 10px rgba(0,0,0,.08);

}

.logo-topo{

    width:142px;
    height:42px;
    border-radius:50%;
    object-fit:cover;

}

.badge-carrinho{

    font-size:10px;
    position:absolute;
    top:-5px;
    right:-8px;

}


/* BANNER */

.banner img{

    width:100%;
    height:180px;
    object-fit:cover;

}


/* RESTAURANTE */

.card-restaurante{

    margin-top:-45px;
    border-radius:20px;

}

.logo-restaurante{

    width:70px;
    height:70px;
    border-radius:50%;
    border:4px solid #FFF;
    object-fit:cover;

}


/* BUSCA */

.input-group{

    border-radius:15px;
    overflow:hidden;
    box-shadow:0 2px 8px rgba(0,0,0,.06);

}

.input-group-text{

    border:none;

}

.form-control{

    border:none;
    height:50px;

}

.form-control:focus{

    box-shadow:none;

}


/* CATEGORIAS */

.categorias{

    display:flex;
    gap:15px;
    overflow-x:auto;
    padding-bottom:5px;

}

.categorias::-webkit-scrollbar{

    display:none;

}

.categoria{

    min-width:85px;
    background:#FFF;
    border-radius:10px;
    text-align:center;
    padding:12px 8px;
    cursor:pointer;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
    transition:.25s;
    margin-top: 5px;

}

.categoria:hover{

    transform:translateY(-2px);

}

.categoria.ativo{

    background:var(--principal);
    color:#FFF;

}

.categoria span{

    display:block;
    font-size:13px;
    margin-top:6px;

}


/* PRODUTOS */

.produto{

    background:#FFF;
    border-radius:18px;
    padding:15px;
    margin-bottom:15px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    box-shadow:0 2px 8px rgba(0,0,0,.05);

    cursor:pointer;

    transition:.2s;

}

.produto:hover{

    transform:translateY(-2px);

    box-shadow:0 6px 15px rgba(0,0,0,.12);

}

.produto-info{

    width:65%;

}

.produto h5{

    font-weight:700;
    margin-bottom:10px;

}

.produto p{

    color:#666;
    font-size:14px;
    margin-bottom:10px;

}

.produto h4{

    color:var(--principal);
    font-size:22px;
    font-weight:700;

}

.produto-foto{

    width:120px;
    text-align:center;
    position:relative;

}

.produto-foto img{

    width:110px;
    height:110px;
    border-radius:15px;
    object-fit:cover;

}

.produto-foto button{

    position:absolute;
    bottom:0;
    right:0;

    width:38px;
    height:38px;

    border:none;
    border-radius:50%;

    background:var(--principal);

    color:#FFF;

    font-size:22px;

    transition:.2s;

}

.produto-foto button:hover{

    background:var(--principal-hover);
    transform:scale(1.08);

}


/* CARRINHO */

.carrinho{

    position:fixed;

    left:0;
    right:0;
    bottom:0;

    background:var(--principal);

    color:#FFF;

    padding:18px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    box-shadow:0 -5px 15px rgba(0,0,0,.15);

}

.carrinho button{

    font-weight:bold;

}


/* MOBILE */

@media(max-width:576px){

.banner img{

    height:160px;

}

.produto{

    padding:12px;

}

.produto-info{

    width:60%;

}

.produto-foto{

    width:100px;

}

.produto-foto img{

    width:95px;
    height:95px;

}

.produto h4{

    font-size:20px;

}

}