* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f4f5f7;
    font-family: 'Poppins', sans-serif;
}

.app {
    padding-bottom: 80px;
}

/* HEADER */
.header {
    height: 100px;
    background: url(../../../cardapio/images/bg.jpg) center / cover;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.comanda {
    position: relative;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    height: 60px;
    justify-content: center;
    align-items: center;
}

.comanda p{
    background: #000000d1;
    padding: 7px;
    border-radius: 4px;
}

/* RESTAURANTE */
.restaurant-card {
    position: relative;
    background: white;
    margin: -40px 15px 15px 15px;
    border-radius: 20px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 15px;
}

.info h2 {
    font-size: 18px;
}

.category {
    font-size: 13px;
    color: #666;
}

.status {
    margin-left: auto;
    background: #e0f8ef00;
    color: #08af08;
    padding: 2px 10px;
    border-radius: 15px;
    font-size: 13px;
    border: 1px solid #08af08;
}

/* TABS */
.tabs {
    display: flex;
    gap: 10px;
    padding: 10px 15px 15px;
    overflow-x: auto;
    margin-bottom: 10px;
    position: sticky;
    top: 0;
    z-index: 999;
    background: #f4f5f7;
    border-bottom: 1px solid #eee;
}

.tabs::-webkit-scrollbar {
    height: 6px;
}

.tabs::-webkit-scrollbar-track {
    background: transparent;
}

.tabs::-webkit-scrollbar-thumb {
    background: transparent;
}
.tabs:hover::-webkit-scrollbar-thumb {
    background: transparent;
}
.tabs {
    scrollbar-width: none;
}


.tabs button {
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    background: #e9e9ee;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.tabs .active {
    background: #f1460b;
    color: white;
}

/* HIGHLIGHT */
.highlight {
    margin: 0 15px 20px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.highlight img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.highlight-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
}

.highlight-text h3 {
    font-size: 18px;
}

.highlight-text p {
    font-size: 13px;
}

.arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* SECTION */
.section {
    padding: 0px 15px;
    margin-bottom: 28px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.section-header h3 {
    font-size: 18px;
}

.section-header a {
    font-size: 14px;
    color: #f1460b;
    text-decoration: none;
}

.products {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 14px;
}

.product-card {
    min-width: 150px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.product-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.product-info {
    padding: 10px;
}

.product-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
}   

.product-info small {
    display: none;
}

.price {
    color: #f1460b;
    font-weight: bold;
}

/* BOTTOM NAV */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: white;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #777;
}

.nav-item i {
    font-size: 18px;
    margin-bottom: 3px;
}

.nav-item.active {
    color: #f1460b;
}




.product-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.modal-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #fff;
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column; /* importante */
    max-height: 90%;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

/* HEADER FIXO */
.modal-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

/* X de fechar sobre a imagem */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 42px;
    cursor: pointer;
    z-index: 10;
    line-height: 34px;
}

/* BODY SCROLLÁVEL */
.modal-body {
    padding: 0px;
    overflow-y: auto;
    flex: 1;
    padding-bottom: 20px;
}

.modal-desc, .container-complementos{
    padding: 0 20px;
    margin-bottom: 20px;
}

.modal-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 0; /* mantém estilo atual */
}

.modal-title {
    font-weight: bold;
    font-size: 24px;
    padding: 15px 20px 0px 20px;
    max-width: 90%;
}

/* FOOTER FIXO */
.modal-footer {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 15px 20px;
    display: flex;
    gap: 12px;
    align-items: center;
    border-top: 1px solid #eee;
}

/* QUANTITY CONTROL */
.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.quantity-control button {
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f5f5;
    font-size: 18px;
    cursor: pointer;
}

.qty-value {
    width: 36px;
    text-align: center;
}

/* BOTÃO ADICIONAR */
.btn-add {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #f1460b;
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-add p {
    font-size: 16px;
}

.modal-price {
    font-weight: bold;
    margin-left: 10px;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}



.cart {
    position: fixed;
    left: 0;
    bottom: -100%;
    width: 100%;
    height: 80vh;
    background: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.2);
    transition: bottom 0.35s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.cart.active {
    bottom: 0;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 9998;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}
.cart-header {
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    font-weight: bold;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.cart-footer {
    padding: 15px;
    border-top: 1px solid #eee;
}

.btn-checkout {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: #22c55e;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-checkout:hover {
    background: #16a34a;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 15px;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-price {
    font-weight: bold;
}

.cart-footer strong{
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 20px;
}


.cart-float {
    position: fixed;
    bottom: 65px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #22c55e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    cursor: pointer;
    z-index: 1999;
    transition: 0.3s;
}

.cart-float:hover {
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart-remove {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #ef4444;
    transition: 0.2s;
}

.cart-remove:hover {
    transform: scale(1.2);
}


/* PARTE DO GRUPO COMPLEMENTO */

    .grupo_complemento .grupo,
    .adicionais,
    .partes,
    .bordas{
        margin-bottom: 11px;
        transition: margin 0.3s ease;
    }

    .grupo_complemento .topo_grupo,
    .adicionais .topo_grupo,
    .partes .topo_grupo,
    .bordas .topo_grupo{
        width: 100%;
        border: 1px solid #333;
        padding: 5px 10px;
        border-radius: 3px 3px 0px 0px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .grupo_complemento .topo_grupo > div,
    .adicionais .topo_grupo > div,
    .partes .topo_grupo > div,
    .bordas .topo_grupo > div{
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-content: center;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .grupo_complemento .topo_grupo > div p,
    .adicionais .topo_grupo > div p,
    .partes .topo_grupo > div p,
    .bordas .topo_grupo > div p,
    .obs_product label{
        max-width: 77%;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        font-size: 15px;
        font-weight: bold;
        flex-direction: column;
    }
    
    .grupo_complemento .topo_grupo > div p small,
    .adicionais .topo_grupo > div p small,
    .partes .topo_grupo > div p small,
    .bordas .topo_grupo > div p small{
        font-weight: normal;
        transition: background 0.3s ease;
    }

    .grupo_complemento .topo_grupo > div > small,
    .adicionais .topo_grupo > div > small,
    .partes .topo_grupo > div > small,
    .bordas .topo_grupo > div > small{
        background: #dbdbdb;
        padding: 1px 4px;
        border-radius: 3px;
        font-size: 9px;
    }

    .grupo_complemento .itens_grupo,
    .adicionais .itens_grupo,
    .partes .itens_grupo,
    .bordas .itens_grupo{
        width: 100%;
        display: flex;
        align-items: stretch;
        justify-content: space-between;
    }

    .itens_grupo div {
        border: 1px solid #cdcdcd;
        padding: 0px;
        font-size: 12px;
        min-height: 35px;
        display: flex;
        align-items: center;
        padding: 15px 0px;
    }

    .itens_grupo .col-1,
    .itens_grupo .col-2,
    .itens_grupo .col-3{
        text-align: center;
        justify-content: center;
    }

    .itens_grupo .col-1 input[type="checkbox"]{
        width: 15px !important;
        height: 15px !important;
    }

    .disabled .fa-plus{
        color: rgb(198, 198, 198);
    }
    
    .grupo_complemento .itens_grupo input[type="number"],
    .adicionais .itens_grupo input[type="number"],
    .partes .itens_grupo input[type="number"],
    .bordas .itens_grupo input[type="number"]{
        background-color: transparent;
        border: none !important;
        width: 45% !important;
        text-align: center;
    }
    
    .grupo_complemento .itens_grupo i,
    .adicionais .itens_grupo i,
    .partes .itens_grupo i,
    .bordas .itens_grupo i{
        width: 25% !important;
    }

    .itens_grupo .col-6,
    .itens_grupo .col-7{
        padding: 7px 10px;
        display: flex;
        flex-direction: column;
        align-content: flex-start;
        align-items: flex-start;
        justify-content: center;
    }

    .itens_grupo .col-2{
        width: 20%;
    }

    .itens_grupo p small{
        line-height: 11px;
        font-size: 10px;
        color: #6a6a6a;
    }

    .title-sticky{
        position: sticky;
        top: 0;
        background: white;
        padding-bottom: 10px;
    }

    .obs_product{
        padding: 0 20px;
        margin-bottom: 20px;
        width: 100%;
    }

    .obs_product label{
        max-width: 100%;
        border: 1px solid #333;
        padding: 5px 10px;
        border-radius: 3px 3px 0px 0px;
    }

    .obs_product textarea {
        resize: none;
        border-radius: 0px 0px 3px 3px;
        width: 100%;
        padding: 10px;
    }




    .col-1{
        width: 10%;
    }

    .col-2{
        width: 20%;
    }

    .col-3{
        width: 30%;
    }

    .col-4{
        width: 40%;
        text-align: left;
    }

    .col-5{
        width: 50%;
        text-align: left;
    }

    .col-6{
        width: 60%;
    }

    .col-7{
        width: 70%;
    }

    .col-9{
        width: 90%;
        text-align: left;
    }

/* ------------------------------------------- */






@-webkit-keyframes shake-horizontal {
    0%,
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
    }
    10%,
    30%,
    50%,
    70% {
      -webkit-transform: translateX(-10px);
              transform: translateX(-10px);
    }
    20%,
    40%,
    60% {
      -webkit-transform: translateX(10px);
              transform: translateX(10px);
    }
    80% {
      -webkit-transform: translateX(8px);
              transform: translateX(8px);
    }
    90% {
      -webkit-transform: translateX(-8px);
              transform: translateX(-8px);
    }
}

@keyframes shake-horizontal {
    0%,
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
    }
    10%,
    30%,
    50%,
    70% {
      -webkit-transform: translateX(-4px);
              transform: translateX(-4px);
    }
    20%,
    40%,
    60% {
      -webkit-transform: translateX(4px);
              transform: translateX(4px);
    }
    80% {
      -webkit-transform: translateX(2px);
              transform: translateX(2px);
    }
    90% {
      -webkit-transform: translateX(-2px);
              transform: translateX(-2px);
    }
}

.shake-horizontal {
	-webkit-animation: shake-horizontal 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
	        animation: shake-horizontal 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;

    margin-right: 5px;
    margin-left: 5px;
}

.shake-horizontal .topo_grupo div > small{
    background-color: darkred;
    color: white;
}


.result{
    position: fixed;
    z-index: 9100001;
    padding: 15px;
    border-radius: 3px;
    margin: 20px 30px 20px 20px;
    float: right;
    right: 0;
}


    @-webkit-keyframes bounce-in-top {
        0% {
        -webkit-transform: translateY(-500px);
                transform: translateY(-500px);
        -webkit-animation-timing-function: ease-in;
                animation-timing-function: ease-in;
        opacity: 0;
        }
        38% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
                animation-timing-function: ease-out;
        opacity: 1;
        }
        55% {
        -webkit-transform: translateY(-65px);
                transform: translateY(-65px);
        -webkit-animation-timing-function: ease-in;
                animation-timing-function: ease-in;
        }
        72% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
                animation-timing-function: ease-out;
        }
        81% {
        -webkit-transform: translateY(-28px);
                transform: translateY(-28px);
        -webkit-animation-timing-function: ease-in;
                animation-timing-function: ease-in;
        }
        90% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
                animation-timing-function: ease-out;
        }
        95% {
        -webkit-transform: translateY(-8px);
                transform: translateY(-8px);
        -webkit-animation-timing-function: ease-in;
                animation-timing-function: ease-in;
        }
        100% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
                animation-timing-function: ease-out;
        }
    }
    @keyframes bounce-in-top {
        0% {
        -webkit-transform: translateY(-500px);
                transform: translateY(-500px);
        -webkit-animation-timing-function: ease-in;
                animation-timing-function: ease-in;
        opacity: 0;
        }
        38% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
                animation-timing-function: ease-out;
        opacity: 1;
        }
        55% {
        -webkit-transform: translateY(-65px);
                transform: translateY(-65px);
        -webkit-animation-timing-function: ease-in;
                animation-timing-function: ease-in;
        }
        72% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
                animation-timing-function: ease-out;
        }
        81% {
        -webkit-transform: translateY(-28px);
                transform: translateY(-28px);
        -webkit-animation-timing-function: ease-in;
                animation-timing-function: ease-in;
        }
        90% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
                animation-timing-function: ease-out;
        }
        95% {
        -webkit-transform: translateY(-8px);
                transform: translateY(-8px);
        -webkit-animation-timing-function: ease-in;
                animation-timing-function: ease-in;
        }
        100% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
                animation-timing-function: ease-out;
        }
    }
    
    @-webkit-keyframes slide-out-blurred-top {
        0% {
        -webkit-transform: translateY(0) scaleY(1) scaleX(1);
                transform: translateY(0) scaleY(1) scaleX(1);
        -webkit-transform-origin: 50% 0%;
                transform-origin: 50% 0%;
        -webkit-filter: blur(0);
                filter: blur(0);
        opacity: 1;
        }
        100% {
        -webkit-transform: translateY(-1000px) scaleY(2) scaleX(0.2);
                transform: translateY(-1000px) scaleY(2) scaleX(0.2);
        -webkit-transform-origin: 50% 0%;
                transform-origin: 50% 0%;
        -webkit-filter: blur(40px);
                filter: blur(40px);
        opacity: 0;
        }
    }
    @keyframes slide-out-blurred-top {
        0% {
        -webkit-transform: translateY(0) scaleY(1) scaleX(1);
                transform: translateY(0) scaleY(1) scaleX(1);
        -webkit-transform-origin: 50% 0%;
                transform-origin: 50% 0%;
        -webkit-filter: blur(0);
                filter: blur(0);
        opacity: 1;
        }
        100% {
        -webkit-transform: translateY(-1000px) scaleY(2) scaleX(0.2);
                transform: translateY(-1000px) scaleY(2) scaleX(0.2);
        -webkit-transform-origin: 50% 0%;
                transform-origin: 50% 0%;
        -webkit-filter: blur(40px);
                filter: blur(40px);
        opacity: 0;
        }
    }
  
  
.slide-out-blurred-top {
	-webkit-animation: slide-out-blurred-top 0.45s cubic-bezier(0.755, 0.050, 0.855, 0.060) both;
	        animation: slide-out-blurred-top 0.45s cubic-bezier(0.755, 0.050, 0.855, 0.060) both;
}

.bounce-in-top {
	-webkit-animation: bounce-in-top 1.1s both;
	        animation: bounce-in-top 1.1s both;
}

.show{
    display: block !important;
    top: 50px;
}

.result{
    background: #e46e00f2;
    color: white;
}

.result-ok{
    background-color: #4c924cf2;
    color: #fff;
}

.result-not-ok{
    background-color: #924c4cf2;
    color: #fff;
}
