

/* ========================================
   RESET
======================================== */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: Arial, sans-serif;
    background: #0b0b3f;
    padding-top: 145px;
    padding-bottom: 90px;
}

/* ========================================
   CATEGORIAS PREMIUM
======================================== */

.categorias{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    align-items: center;
    gap: 10px;

    overflow-x: auto;
    white-space: nowrap;

    padding: 8px 8px;

    background: rgba(65, 29, 29, 0.85);
    backdrop-filter: blur(15px);

    z-index: 1000;

    scrollbar-width: none;

    border-bottom: 1px solid rgba(17, 6, 6, 0.05);
}

.categorias::-webkit-scrollbar{
    display: none;
}

/* CARD DA CATEGORIA */

.categoria{
    flex: 0 0 auto;
}

/* BOTÃO */

.link-categoria{
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 95px;
    height: 36px;

    padding: 0 18px;

    border-radius: 10px;

    background: white;

    text-decoration: none;

    color: #222;

    font-size: 14px;
    font-weight: 700;

    border: 1px solid rgba(0,0,0,0.06);

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

    transition: all 0.25s ease;
}

/* HOVER */

.link-categoria:hover{
    transform: translateY(-2px);
}

/* ATIVA */

.link-categoria.active{
    background: linear-gradient(135deg,#df522f,#ad203a);

    color: white;

    border: none;

    box-shadow:
    0 8px 20px rgba(255,90,47,0.35);
}

/* ========================================
   TOPO PREMIUM
======================================== */

.topo{
    position: fixed;
     bottom: 0;
    left: 0;

    width: 100%;
    height: 72px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;

    padding: 0 18px;

    background: rgba(255,255,255,0.88);

    backdrop-filter: blur(15px);

    z-index: 999;

    border-bottom: 1px solid rgba(0,0,0,0.05);
   
}



/* TÍTULO */

.topo h1{
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* BOTÃO VOLTAR */

.btn-voltar{
    width: 56px;
    height: 56px;

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

    border-radius: 50%;

    color: #111;

      background: linear-gradient(135deg,#ff5a2f,#ff2d55);

    color: white;

    box-shadow:
    0 8px 20px rgba(255,90,47,0.35);

    text-decoration: none;

    font-size: 24px;

    box-shadow:
    0 3px 10px rgba(0,0,0,0.08);

    transition: 0.2s;
    justify-self: start;
}

.btn-voltar:hover{
    transform: scale(1.05);
    color: rgb(22, 6, 6);
}

/* CARRINHO */

.carrinho{
    position: relative;

    width: 56px;
    height: 56px;

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

    border-radius: 50%;

    background: linear-gradient(135deg,#ff5a2f,#ff2d55);

    color: white;

    font-size: 24px;

    box-shadow:
    0 8px 20px rgba(255,90,47,0.35);

    justify-self: center;
    cursor: pointer;
}

.topo-profile{
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #d7b600;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    justify-self: end;
    min-width: 62px;
}

.topo-profile-icon{
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #d7b600;
    font-size: 22px;
}

.topo-profile-icon img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* NÚMERO */

.carrinho span{
    position: absolute;

    top: -4px;
    right: -2px;

    width: 20px;
    height: 20px;

    border-radius: 50%;

    background: #111;

    color: white;

    font-size: 11px;
    font-weight: bold;

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

    border: 2px solid white;
}

/* REMOVE LINHA DOS LINKS */

.link-categoria,
.link-categoria:visited,
.link-categoria:hover,
.link-categoria:active{
    text-decoration: none !important;
}


.card{
    width:100%;
    background:white;
    border-radius:20px;
    padding:12px;
    margin-bottom:18px;
    display:flex;
    gap:12px;
    position:relative;
    align-items:center;
}






.card img{
    width:105px;
    height:105px;
    border-radius:15px;
    object-fit:cover;
}

.info{
    flex:1;
    width:100%;
}

.info h2{
    font-size:14px;
    font-weight:800;
    margin-bottom:6px;
    padding-right:50px;
}

.info p{
    font-size:12px;
    color:#444;
    line-height:1.4;
    margin-bottom:7px;

    word-wrap:break-word;
}

.preco{
    font-size:20px;
    font-weight:900;
}

/* BOTÃO */


.btn{
    position:absolute;

    right:12px;
    bottom:12px;

    width:60px;
    height:35px;

    border-radius:10px;
    border:2px solid #f4c400;

    background:white;
    color:#f4c400;

    font-size:13px;
    font-weight:bold;

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

    cursor:pointer;
    transition:0.3s;
}

/* SHARE */

.share{
    position:absolute;
    top:10px;
    right:10px;
    width:38px;
    height:20px;
    border-radius:10px;
    background:#f3f3f3;
    display:flex;
    align-items:center;
    justify-content:center;
}

.share i{
    color:#666;
    font-size:19px;
}

/* RESPONSIVO EXTRA */

@media(max-width:364px){

    .topo h1{
        font-size:20px;
    }

    .card{
        padding:5px;
    }

    .card img{
        width:80px;
        height:80px;
    }

    .info h2{
        font-size:15px;

    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    }

    .info p{
        font-size:12px;
    }

    .preco{
        font-size:13px;
    }

    .btn{
        min-width:60px;
        height:30px;
        font-size:10px;
    }

}

/* Carrinho */

.overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(15,23,42,0.58);
    backdrop-filter: blur(2px);
    display:none;
    z-index:998;
}

.carrinho-modal{
    position:fixed;
    bottom:-100%;
    left:0;
    width:100%;
    display:flex;
    justify-content:center;
    align-items:flex-end;
    z-index:999;
    transition:0.4s ease;
}

.carrinho-box{
    width: min(96%, 460px);
    max-height: 86vh;
    background:#ffffff;
    border-radius:22px 22px 0 0;
    overflow: hidden;
    box-shadow: 0 -24px 70px rgba(15,23,42,0.24);
    display: flex;
    flex-direction: column;
}

.header-carrinho{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap: 12px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #eef2f7;
}

.header-carrinho h2{
    margin: 0;
    color: #111827;
    font-size: 20px;
    line-height: 1.2;
}

#fecharCarrinho{
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #111827;
    font-size:26px;
    line-height: 1;
    cursor:pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

#fecharCarrinho:hover{
    background: #e5e7eb;
    transform: translateY(-1px);
}

#listaCarrinho{
    max-height: min(48vh, 420px);
    overflow-y:auto;
    padding: 14px 16px;
    background: #f8fafc;
}

.item{
    display:flex;
    align-items: center;
    justify-content:space-between;
    gap: 14px;
    padding:14px;
    margin-bottom: 10px;
    border:1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15,23,42,0.05);
}

.item:last-child{
    margin-bottom: 0;
}

.cart-item-info{
    min-width: 0;
}

.cart-item-info strong{
    display: block;
    color: #111827;
    font-size: 15px;
    line-height: 1.25;
}

.cart-item-info span{
    display: block;
    margin-top: 5px;
    color: #4b5563;
    font-size: 13px;
}

.cart-item-info small{
    display: block;
    margin-top: 4px;
    color: #16a34a;
    font-size: 12px;
    font-weight: 800;
}

.cart-item-actions{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex: 0 0 auto;
}

.qty-control{
    display: inline-grid;
    grid-template-columns: 34px 38px 34px;
    align-items: center;
    min-height: 34px;
    overflow: hidden;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #ffffff;
}

.qty-control button{
    width: 34px;
    height: 34px;
    border: 0;
    background: #f3f4f6;
    color: #111827;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
}

.qty-control button:hover{
    background: #111827;
    color: #ffffff;
}

.qty-control span{
    text-align: center;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
}

.remove-item{
    border: 0;
    background: transparent;
    color: #dc2626;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    padding: 4px 2px;
}

.remove-item:hover{
    color: #991b1b;
    text-decoration: underline;
}

.cart-empty{
    display: grid;
    justify-items: center;
    gap: 7px;
    padding: 32px 18px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #ffffff;
    color: #64748b;
    text-align: center;
}

.cart-empty-icon{
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fef3c7;
    color: #92400e;
    font-weight: 900;
}

.cart-empty strong{
    color: #111827;
    font-size: 15px;
}

.cart-empty span{
    font-size: 13px;
}

.footer-carrinho{
    display:flex;
    flex-direction:column;
    gap:12px;
    padding: 16px 20px 20px;
    border-top: 1px solid #eef2f7;
    background: #ffffff;
}

.footer-carrinho h3{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 14px;
    border-radius: 12px;
    background: #f9fafb;
    color: #111827;
    font-size: 15px;
}

.footer-carrinho h3 span{
    color: #16a34a;
    font-size: 20px;
    font-weight: 900;
}

.btn-finalizar{
    width:100%;
    min-height: 48px;
    margin-top:0;
    background:#16a34a;
    color: #ffffff;
    border:none;
    padding:13px 16px;
    border-radius:12px;
    font-weight:900;
    cursor:pointer;
    font-size:15px;
    box-shadow: 0 12px 30px rgba(22,163,74,0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-finalizar:hover{
    background:#15803d;
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(22,163,74,0.28);
}

@media(max-width:420px){
    .item{
        align-items: flex-start;
        flex-direction: column;
    }

    .cart-item-actions{
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}


/* Finalizar pedido */

/* MODAL FINALIZAR */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}


.modal-content {
    background: white;
    width: 90%;
    max-width: 350px;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.choice-btn {
    display: block;
    width: 100%;
    margin: 30px 0;
    padding: 17px;
    font-size: 18px;

    font-weight: bold;
    border: none;
    border-radius: 8px;
    background: #ffcc00;
    cursor: pointer;
}

.btn-checkout {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border: none;
    background: green;
    color: white;
    font-weight: bold;
    border-radius: 8px;
}

.btn-cancel {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border: none;
    background: red;
    color: white;
    font-weight: bold;
    border-radius: 8px;
}

.form-box {
    margin-top: 15px;
}

.form-box h3 {
    margin-bottom: 10px;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    outline: none;
}

.form-grid textarea {
    resize: none;
    height: 70px;
}


.header-choice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.back-arrow {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    font-weight: bold;
}


.choice-btn:hover {
    background: #49d437;
    color: #000;
}
.btn-cancel:hover {
    background: #999;
}


.btn-checkout:hover {
    background: #000;
    
}



/* resumo do pedido */
.resumo-box{
    max-width: 460px;
    width: 92%;
    background: #ffffff;
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.resumo-box h2{
    margin: 0;
    padding: 20px 22px 14px;
    color: #111827;
    font-size: 22px;
    line-height: 1.2;
    border-bottom: 1px solid #eef2f7;
}

#resumoConteudo{
    max-height: min(68vh, 560px);
    overflow-y: auto;
    padding: 18px 20px 0;
}

#resumoConteudo p{
    margin: 0;
    line-height: 1.5;
}

.resumo-botoes{
    display: flex;
    gap: 10px;
    padding: 16px 20px 20px;
    margin-top: 0;
    border-top: 1px solid #eef2f7;
    background: #ffffff;
}

.resumo-botoes button{
    flex: 1;
    min-height: 44px;
    margin-top: 0;
}

.juntar-mesa-modal {
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(6px);
}

.juntar-mesa-box {
    max-width: 460px;
    width: min(92vw, 460px);
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
    text-align: left;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 26px 90px rgba(15, 23, 42, 0.34);
}

.juntar-mesa-header {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    padding: 22px 22px 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.juntar-mesa-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #0f172a;
    color: #ffffff;
    font-size: 22px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.juntar-mesa-header span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.juntar-mesa-header h2 {
    margin: 12px 0 8px;
    color: #111827;
    font-size: 23px;
    line-height: 1.18;
}

.juntar-mesa-header p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
}

.juntar-mesa-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 22px 18px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.juntar-mesa-note i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 10px;
    background: #ffffff;
    color: #0f766e;
    border: 1px solid #ccfbf1;
}

.juntar-mesa-note strong {
    display: block;
    color: #111827;
    font-size: 14px;
    margin-bottom: 3px;
}

.juntar-mesa-note small {
    display: block;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

.juntar-mesa-actions {
    padding: 16px 22px 22px;
}

.juntar-mesa-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    font-size: 14px;
}

.juntar-mesa-primary {
    background: #0f172a;
    border: 1px solid #0f172a;
}

.juntar-mesa-primary:hover {
    background: #020617;
}

.juntar-mesa-secondary {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.juntar-mesa-secondary:hover {
    background: #f1f5f9;
    color: #0f172a;
}


.resumo-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #111827;
    color: #ffffff;
}

.resumo-label{
    display: block;
    color: rgba(255,255,255,0.72);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.resumo-lista{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.resumo-item{
    background:#f8fafc;
    padding:12px 14px;
    border:1px solid #e5e7eb;
    border-radius:8px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap: 14px;
}

.resumo-item-info{
    min-width: 0;
}

.resumo-item-info strong{
    display: block;
    color: #111827;
    font-size: 14px;
    line-height: 1.25;
}

.resumo-item-info span{
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 12px;
}

.resumo-preco{
    font-weight:bold;
    color:#0f766e;
    white-space: nowrap;
    font-size: 14px;
}

.resumo-total{
    margin:18px 0 18px;
    border:1px solid #e5e7eb;
    border-radius:8px;
    padding:14px;
    background:#f9fafb;
    display:flex;
    flex-direction:column;
    gap:10px;
}
.resumo-total span{
    font-size:15px;
    font-weight:bold;
    color:#111827;
}

.taxa-box{
    display:flex;
    justify-content:space-between;
    align-items:center;
    color:#4b5563;
    font-size:14px;
}

.taxa-final{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-top:1px solid #d1d5db;
    padding-top:12px;
    margin-top:2px;
}

.taxa-final h3{
    margin: 0;
    color: #111827;
    font-size: 17px;
}

.taxa-final span{
    color:#16a34a;
    font-size:22px;
    font-weight:bold;
}

.resumo-section{
    margin-bottom: 16px;
}

.resumo-section-title{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.resumo-section-title strong{
    color: #111827;
    font-size: 12px;
}

.resumo-detalhes{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.resumo-detalhes div{
    padding: 11px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
}

.resumo-detalhes span{
    display: block;
    margin-bottom: 3px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.resumo-detalhes strong{
    display: block;
    color: #111827;
    font-size: 14px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.resumo-detalhe-full{
    grid-column: 1 / -1;
}

.resumo-form{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.resumo-form input,
.resumo-form select,
.resumo-form textarea{
    width: 100%;
    min-height: 44px;
    padding: 11px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}

.resumo-form textarea{
    grid-column: 1 / -1;
    min-height: 74px;
    resize: vertical;
}

.resumo-form input:focus,
.resumo-form select:focus,
.resumo-form textarea:focus{
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

@media (max-width: 420px){
    .resumo-box{
        width: 94%;
        border-radius: 14px;
    }

    .resumo-detalhes,
    .resumo-form{
        grid-template-columns: 1fr;
    }

    .resumo-form textarea{
        grid-column: auto;
    }

    .resumo-botoes{
        flex-direction: column;
    }
}

.link-categoria {
    text-decoration: none;
    color: inherit;
    text-decoration: underline;
    color: #8d0000;
    width: fit-content;
    
}

.link-categoria:ho {
    text-decoration: none;
    color: inherit;
    text-decoration: underline;
    color: #8d0000;
    width: fit-content;
    
}





/* PESQUISA */

.pesquisa{
    position: fixed;

    top: 55px;

    left: 0;

    width: 100%;

    padding: 10px;

    background: #0b0b3f;

    z-index: 999;
}
.pesquisa i{
    position: absolute;

    left: 22px;

    top: 50%;

    transform: translateY(-50%);

    color: #777;
}
.pesquisa input{
    width: 100%;

    height: 45px;

    border: none;

    outline: none;
     border-radius: 12px;

    padding-left: 45px;

    font-size: 14px;
  background: white;

    box-shadow:
    0 3px 10px rgba(0,0,0,0.08);
}

@media (max-width: 640px) {
    body {
        overflow-x: hidden;
    }

    .topo {
        gap: 8px;
        padding: 10px 12px;
    }

    .topo h1 {
        min-width: 0;
        font-size: 18px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .categorias {
        overflow-x: auto;
        padding: 8px 10px;
        gap: 8px;
    }

    .produtos {
        padding-left: 10px;
        padding-right: 10px;
    }

    .card {
        width: 100%;
        max-width: 100%;
        grid-template-columns: 92px minmax(0, 1fr) auto;
        gap: 10px;
    }

    .card img {
        width: 92px;
        height: 92px;
        object-fit: cover;
    }

    .card .info,
    .card .info h2,
    .card .info p {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .carrinho-modal,
    .modal-content,
    .resumo-box {
        width: min(100%, 94vw);
        max-height: 88vh;
        overflow-y: auto;
        border-radius: 8px 8px 0 0;
    }

    .form-grid,
    .resumo-form,
    .resumo-detalhes {
        grid-template-columns: 1fr;
    }

    .resumo-botoes {
        flex-direction: column;
    }

    .resumo-botoes button,
    .btn-checkout,
    .btn-cancel {
        width: 100%;
    }

    .juntar-mesa-box {
        width: min(100%, 94vw);
        border-radius: 16px;
    }

    .juntar-mesa-header {
        grid-template-columns: 46px 1fr;
        gap: 12px;
        padding: 18px 18px 14px;
    }

    .juntar-mesa-icon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        font-size: 19px;
    }

    .juntar-mesa-header h2 {
        font-size: 20px;
    }

    .juntar-mesa-note {
        margin: 0 18px 16px;
    }

    .juntar-mesa-actions {
        padding: 14px 18px 18px;
    }
}

/* ===== VISUAL ALINHADO AO SITE ===== */
body {
    --category-blue: #155eef;
    --category-blue-dark: #0b3ca8;
    --category-soft: #eaf2ff;
    --category-ink: #101828;
    --category-muted: #667085;
    --category-line: #e4e7ec;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f6f8fc;
    color: var(--category-ink);
    padding-top: 126px;
    padding-bottom: 98px;
}

.categorias {
    top: 0;
    min-height: 58px;
    gap: 10px;
    padding: 10px max(12px, calc((100vw - 1080px) / 2 + 16px));
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--category-line);
    box-shadow: 0 4px 20px rgba(16, 24, 40, .05);
}

.categoria {
    flex: 0 0 auto;
}

.link-categoria,
.link-categoria:visited,
.link-categoria:hover,
.link-categoria:active {
    width: auto;
    min-width: 0;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #cfe0ff;
    border-radius: 999px;
    background: #fff;
    color: var(--category-blue);
    box-shadow: none;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
}

.link-categoria:hover,
.link-categoria.active {
    border-color: var(--category-blue);
    background: var(--category-blue);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(21, 94, 239, .14);
}

.category-current-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(1080px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 18px;
    border: 1px solid #cfe0ff;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #eef5ff 100%);
    box-shadow: 0 8px 24px rgba(16, 24, 40, .05);
}

.category-current-panel span {
    color: var(--category-blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.category-current-panel h2 {
    margin-top: 3px;
    color: var(--category-ink);
    font-size: 24px;
    line-height: 1.15;
}

.category-current-panel p {
    margin-top: 5px;
    color: var(--category-muted);
    font-size: 13px;
    font-weight: 700;
}

.category-current-panel > i {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: var(--category-blue);
    color: #fff;
    font-size: 18px;
}

.pesquisa {
    top: 58px;
    padding: 10px max(12px, calc((100vw - 1080px) / 2 + 16px));
    background: rgba(246, 248, 252, .96);
    border-bottom: 1px solid var(--category-line);
}

.pesquisa i {
    left: max(26px, calc((100vw - 1080px) / 2 + 30px));
    color: var(--category-blue);
}

.pesquisa input {
    height: 48px;
    border: 1px solid #d0d5dd;
    border-radius: 13px;
    background: #fff;
    color: var(--category-ink);
    box-shadow: 0 8px 24px rgba(16, 24, 40, .05);
}

.pesquisa input:focus {
    border-color: var(--category-blue);
    box-shadow: 0 0 0 4px rgba(21, 94, 239, .1);
}

.topo {
    height: 76px;
    padding: 0 max(14px, calc((100vw - 1080px) / 2 + 16px));
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--category-line);
    border-bottom: 0;
    box-shadow: 0 -8px 28px rgba(16, 24, 40, .08);
}

.btn-voltar,
.carrinho {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--category-blue);
    color: #fff;
    box-shadow: 0 10px 22px rgba(21, 94, 239, .18);
}

.btn-voltar:hover,
.carrinho:hover {
    color: #fff;
    background: var(--category-blue-dark);
    transform: translateY(-1px);
}

.carrinho span {
    background: #101828;
    border-color: #fff;
}

.topo-profile {
    color: var(--category-blue);
}

.topo-profile-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: var(--category-soft);
    color: var(--category-blue);
    font-size: 18px;
}

.produtos {
    width: min(1080px, calc(100% - 32px));
    margin: 0 auto;
}

.sem-produtos {
    padding: 24px;
    border: 1px solid var(--category-line);
    border-radius: 16px;
    background: #fff;
    color: var(--category-muted);
    text-align: center;
}

.card {
    min-height: 132px;
    margin-bottom: 13px;
    padding: 12px;
    border: 1px solid var(--category-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .05);
}

.card img {
    width: 108px;
    height: 108px;
    border-radius: 14px;
}

.product-cart-image {
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-cart-image:hover,
.product-cart-image:focus-visible {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 26px rgba(21, 94, 239, .18);
    outline: 3px solid rgba(21, 94, 239, .18);
    outline-offset: 2px;
}

.product-fly-clone {
    position: fixed;
    z-index: 12000;
    border-radius: 14px;
    object-fit: cover;
    pointer-events: none;
    box-shadow: 0 18px 40px rgba(16, 24, 40, .22);
    transition: transform 0.72s cubic-bezier(.2, .8, .2, 1), opacity 0.72s ease;
    will-change: transform, opacity;
}

.cart-pop {
    animation: cartPop 0.26s ease;
}

@keyframes cartPop {
    0% { transform: scale(1); }
    45% { transform: scale(1.14); }
    100% { transform: scale(1); }
}

.info h2 {
    color: var(--category-ink);
    font-size: 16px;
    line-height: 1.2;
}

.info p {
    color: var(--category-muted);
}

.preco {
    color: var(--category-blue);
    font-size: 19px;
}

.btn {
    right: 12px;
    bottom: 12px;
    width: auto;
    min-width: 64px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--category-blue);
    border-radius: 10px;
    background: var(--category-blue);
    color: #fff;
    font-weight: 900;
}

.btn:hover {
    background: var(--category-blue-dark);
    border-color: var(--category-blue-dark);
    transform: translateY(-1px);
}

.share {
    width: 34px;
    height: 28px;
    border-radius: 9px;
    background: #f2f4f7;
}

.share i {
    color: #667085;
    font-size: 15px;
}

.btn-finalizar,
.choice-btn,
.btn-checkout {
    border: 1px solid var(--category-blue);
    background: var(--category-blue);
    color: #fff;
}

.btn-finalizar:hover,
.choice-btn:hover,
.btn-checkout:hover {
    background: var(--category-blue-dark);
}

.mobile-bottom-nav {
    display: none;
    position: fixed;
    right: 12px;
    bottom: 10px;
    left: 12px;
    z-index: 960;
    grid-template-columns: repeat(4, 1fr);
    padding: 7px;
    border: 1px solid rgba(208, 213, 221, .9);
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 44px rgba(16, 24, 40, .18);
    backdrop-filter: blur(16px);
}

.mobile-bottom-nav a {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 4px;
    padding: 7px 3px;
    border-radius: 12px;
    color: var(--category-muted);
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
}

.mobile-bottom-nav a i {
    font-size: 17px;
}

.mobile-bottom-nav a.active,
.mobile-bottom-nav a:hover {
    background: var(--category-soft);
    color: var(--category-blue);
}

.mobile-cart-count {
    position: absolute;
    top: 2px;
    right: 22%;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(239, 68, 68, .28);
}

.mobile-cart-count[hidden] { display: none; }

@media (max-width: 640px) {
    body {
        padding-top: 124px;
        padding-bottom: 96px;
    }

    .categorias,
    .pesquisa {
        padding-left: 12px;
        padding-right: 12px;
    }

    .pesquisa i {
        left: 26px;
    }

    .category-current-panel {
        width: min(100% - 24px, 1080px);
        margin-bottom: 12px;
        padding: 14px;
    }

    .category-current-panel h2 {
        font-size: 20px;
    }

    .category-current-panel p {
        font-size: 12px;
    }

    .category-current-panel > i {
        width: 40px;
        height: 40px;
    }

    .produtos {
        width: min(100% - 24px, 1080px);
        padding-left: 0;
        padding-right: 0;
    }

    .card {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        align-items: center;
        min-height: 116px;
        padding: 10px;
        gap: 11px;
    }

    .card img {
        width: 92px;
        height: 92px;
    }

    .info h2 {
        padding-right: 42px;
        font-size: 14px;
    }

    .preco {
        font-size: 16px;
    }

    .btn {
        min-width: 56px;
        height: 32px;
        font-size: 11px;
    }

    .topo {
        display: none;
    }

    .mobile-bottom-nav {
        display: grid;
    }
}
   
.review-btn {
    position: absolute;
    right: 14px;
    bottom: 14px;
    border: 0;
    border-radius: 8px;
    padding: 8px 10px;
    background: #111827;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.combo-box {
    display: grid;
    gap: 12px;
}

.combo-modal .combo-box {
    border-top: 5px solid #16a34a;
}

.combo-modal h2 {
    color: #16a34a;
}

.combo-box select,
.combo-box textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 11px 12px;
}
