/* --- CONFIGURACOES GERAIS E RESETS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #0d0d0d;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

/* --- SECAO HERO (TOPO) --- */
.hero {
    position: relative;
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('https://images.unsplash.com/photo-1513104890138-7c749659a591?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

#status-loja {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-texto {
    font-size: clamp(2.5rem, 8vw, 4rem);
    color: #e67e22;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.subtitulo {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.btn-principal {
    background-color: #e67e22;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
}

.btn-principal:hover {
    background-color: #d35400;
    transform: scale(1.05);
}

.btn-principal:disabled {
    background: #444;
    color: #bbb;
    cursor: not-allowed;
    transform: none;
    opacity: 0.75;
}

/* --- BOTAO FLUTUANTE DO CARRINHO --- */
.cart-btn-fixed {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s;
}

.cart-btn-fixed:hover {
    transform: scale(1.1);
}

#cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff4444;
    color: white;
    font-size: 0.8rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid #0d0d0d;
}

/* --- INFO E HORARIOS --- */
.info-footer {
    padding: 60px 20px;
    background-color: #0d0d0d;
}

.horarios-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    text-align: center;
}

.coluna-horario h3 {
    color: #e67e22;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.coluna-horario p {
    color: #bbb;
    margin-bottom: 5px;
}

/* --- MAPA --- */
.mapa-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #333;
}

.mapa-label {
    background: #1a1a1a;
    padding: 15px;
    color: #e67e22;
    text-align: center;
    font-weight: bold;
}

/* --- MODAIS --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

.modal.modal-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    width: 95%;
    max-width: 650px;
    margin: 2vh auto;
    background: #111;
    border-radius: 20px;
    padding: 15px;
    position: relative;
    height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #333;
}

.modal-content-full {
    width: 95%;
    max-width: 650px;
    margin: 2vh auto;
    background: #111;
    border-radius: 20px;
    position: relative;
    height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.menu-modal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98), rgba(17, 17, 17, 0.96));
    border-bottom: 1px solid #222;
    flex-shrink: 0;
}

.btn-voltar-menu {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(230, 126, 34, 0.45);
    background: rgba(230, 126, 34, 0.1);
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-voltar-menu i {
    color: #e67e22;
    font-size: 0.95rem;
}

.btn-voltar-menu:hover,
.btn-voltar-menu:focus-visible {
    background: rgba(230, 126, 34, 0.18);
    border-color: #e67e22;
    transform: translateX(-2px);
    box-shadow: 0 8px 18px rgba(230, 126, 34, 0.18);
    outline: none;
}

.menu-modal-label {
    color: #888;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.menu-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding: 0 15px 15px;
}

.categorias-sidebar {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 10px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #222;
    gap: 15px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-shrink: 0;
}

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

.cat-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    cursor: pointer;
    transition: 0.3s;
}

.cat-item i {
    font-size: 1.4rem;
    margin-bottom: 4px;
    color: #888;
}

.cat-item span {
    font-size: 0.7rem;
    font-weight: bold;
    color: #888;
    text-transform: uppercase;
}

.cat-item.active i,
.cat-item.active span {
    color: #e67e22;
}

.pratos-conteudo {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

#titulo-modal {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: #fff;
    letter-spacing: 0.02em;
}

#lista-pratos {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
    -webkit-overflow-scrolling: touch;
}

#lista-pratos::-webkit-scrollbar {
    width: 5px;
}

#lista-pratos::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

/* --- ITENS DA LISTA --- */
.caixa-item {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #222;
}

.item-info {
    flex: 1;
    padding-right: 10px;
}

.item-info strong {
    display: block;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 4px;
}

.btn-container,
.item-actions {
    display: flex;
    gap: 8px;
}

.btn-opcao {
    background: transparent;
    color: #e67e22;
    border: 1px solid #e67e22;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.8rem;
    white-space: nowrap;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.opcao-saco-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    color: #ddd;
    font-size: 0.92rem;
}

.opcao-saco-label input {
    accent-color: #e67e22;
}

.campo-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.campo-form label {
    color: #e67e22;
    font-size: 0.9rem;
    font-weight: bold;
}

.campo-form select,
.campo-form textarea {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: white;
    border-radius: 8px;
    outline: none;
}

.campo-form textarea {
    min-height: 90px;
    resize: vertical;
}

/* --- CARRINHO LATERAL --- */
#carrinho-lateral {
    position: fixed;
    right: -100%;
    top: 0;
    width: 380px;
    height: 100%;
    background: #0f0f0f;
    z-index: 3000;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.8);
}

#carrinho-lateral.active {
    right: 0;
}

.cart-tabs {
    display: flex;
    background: #1a1a1a;
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #888;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.3s;
}

.tab-btn.active {
    background: #e67e22;
    color: white;
}

.cart-body {
    flex-grow: 1;
    overflow-y: auto;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.campo-form-carrinho {
    margin-bottom: 15px;
}

.campo-form-carrinho label {
    font-size: 0.8rem;
    color: #e67e22;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.campo-form-carrinho input,
.campo-form-carrinho select {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: white;
    border-radius: 8px;
    outline: none;
}

.campo-form-carrinho input:focus {
    border-color: #e67e22;
}

.cart-footer {
    border-top: 1px solid #222;
    padding-top: 15px;
}

.total-container {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.total-linha {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.2rem;
}

.btn-finalizar {
    width: 100%;
    padding: 15px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.btn-finalizar:hover {
    background: #2ecc71;
}

.toast-carrinho {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(20px);
    width: min(92vw, 420px);
    background: rgba(19, 19, 19, 0.96);
    color: #fff;
    border: 1px solid rgba(230, 126, 34, 0.5);
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 4000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast-carrinho.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-carrinho i {
    color: #e67e22;
    font-size: 1rem;
    flex-shrink: 0;
}

.toast-carrinho strong {
    display: block;
    font-size: 0.95rem;
    line-height: 1.3;
}

.toast-carrinho span {
    display: block;
    color: #cfcfcf;
    font-size: 0.82rem;
    line-height: 1.3;
}

/* --- STATUS E ANIMACOES --- */
.neon-verde {
    color: #2ecc71;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
    animation: pulsar 2s infinite;
}

.neon-vermelho {
    color: #e74c3c;
    text-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
}

@keyframes pulsar {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 500px) {
    .modal-content,
    .modal-content-full {
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0;
    }

    .menu-modal-topbar {
        padding: 12px;
    }

    .btn-voltar-menu {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .menu-modal-label {
        font-size: 0.72rem;
    }

    .menu-container {
        padding: 0 12px 12px;
    }

    .caixa-item {
        padding: 12px;
    }

    .item-info strong {
        font-size: 0.9rem;
    }

    #carrinho-lateral {
        width: 100%;
    }

    .toast-carrinho {
        bottom: 18px;
        padding: 13px 14px;
    }
}

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

    .btn-container,
    .item-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 10px;
        flex-wrap: wrap;
    }

    .menu-modal-label {
        display: none;
    }
}
.ingredientes-pizza {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

.ingredientes-pizza label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1c1c1c;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 8px;
    color: #fff;
    font-size: 14px;
}

.ingredientes-pizza input {
    accent-color: #e67e22;
}
/* =============================================
   PEDE EM 30 SEGUNDOS / MAIS PEDIDOS
   ============================================= */
.quick-order {
    background: #0d0d0d;
    padding: 60px 20px 50px;
}
.quick-order-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    color: #e67e22;
    font-size: 1.6rem;
    letter-spacing: 3px;
    margin-bottom: 8px;
    font-weight: 800;
    text-transform: uppercase;
}
.section-title.small-top {
    margin-top: 60px;
}
.section-sub {
    text-align: center;
    color: #999;
    font-size: 0.95rem;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* Grelha de categorias rapidas */
.categorias-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 10px;
}
.cat-card {
    background: #161616;
    border: 1px solid #262626;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}
.cat-card:hover {
    transform: translateY(-4px);
    border-color: #e67e22;
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.18);
}
.cat-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
}
.cat-card-label {
    padding: 12px 8px;
    text-align: center;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Mais pedidos (3 cards grandes) */
.populares-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.popular-card {
    background: #161616;
    border: 1px solid #262626;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.popular-card:hover {
    transform: translateY(-5px);
    border-color: #e67e22;
    box-shadow: 0 15px 30px rgba(230, 126, 34, 0.2);
}
.popular-img {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
}
.popular-info {
    padding: 18px 20px 22px;
}
.popular-info h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 6px;
}
.popular-desc {
    color: #aaa;
    font-size: 0.92rem;
    margin-bottom: 12px;
}
.popular-preco {
    color: #ccc;
    font-size: 0.95rem;
}
.popular-preco strong {
    color: #e67e22;
    font-size: 1.15rem;
    margin-left: 6px;
}

/* Status loja - aberto */
.neon-verde {
    color: #25d366;
    text-shadow: 0 0 8px rgba(37, 211, 102, 0.6);
}
.neon-vermelho {
    color: #ff4747;
    text-shadow: 0 0 8px rgba(255, 71, 71, 0.6);
}

/* Responsive */
@media (max-width: 992px) {
    .categorias-grid { grid-template-columns: repeat(3, 1fr); }
    .populares-grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .categorias-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .populares-grid  { grid-template-columns: 1fr; }
    .section-title { font-size: 1.3rem; letter-spacing: 2px; }
    .quick-order { padding: 40px 14px; }
    .popular-img { height: 180px; }
}
