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

/* Overlay de boas-vindas — logo Vivi Café em cima + mensagem no centro (toda vez que carrega em modo comanda) */
.welcome-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: welcomeOverlayIn 0.4s ease-out;
}
.welcome-overlay.out {
    animation: welcomeOverlayOut 0.5s ease-in forwards;
}
.welcome-overlay-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.welcome-overlay-logo {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
    animation: welcomeLogoIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.welcome-overlay-text {
    font-size: 22px;
    font-weight: 600;
    color: #1c1c1e;
    letter-spacing: -0.02em;
    margin: 0;
    animation: welcomeTextIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}
@keyframes welcomeLogoIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes welcomeOverlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes welcomeOverlayOut {
    from { opacity: 1; }
    to { opacity: 0; pointer-events: none; }
}
@keyframes welcomeTextIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

/* Barra modo mesa — bem pequena: Comanda ativa (verde) · Mesa · Nome (sem ID comanda) */
.banner-mesa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 16px;
    margin: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
    font-size: 13px;
    color: #1c1c1e;
}
.banner-mesa-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(52, 199, 89, 0.15);
    color: #34c759;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.banner-mesa-txt {
    color: #3a3a3c;
    font-weight: 500;
}
.banner-mesa-txt span { font-weight: 600; color: #1c1c1e; }
@media (max-width: 480px) {
    .banner-mesa { padding: 6px 12px; font-size: 12px; gap: 8px; }
    .banner-mesa-pill { font-size: 10px; padding: 3px 8px; }
}

/* ========== Bottom nav + páginas (só mobile) ========== */
.cardapio-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 0));
    z-index: 900;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}
.cardapio-bottom-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 6px;
    border: none;
    background: transparent;
    color: #8e8e93;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    min-height: 56px;
    position: relative;
    transition: color 0.2s;
}
.cardapio-bottom-btn.active {
    color: #9a7b5a;
    font-weight: 600;
}
.cardapio-bottom-icon { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; }
.cardapio-bottom-icon svg { stroke: currentColor; }
.cardapio-bottom-badge {
    position: absolute;
    top: 6px;
    right: 50%;
    margin-right: -28px;
    background: #ff3b30;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.cardapio-page { min-height: 100vh; }
.cardapio-page-inner {
    padding: 24px 20px;
    padding-bottom: 100px;
    max-width: 480px;
    margin: 0 auto;
}
.cardapio-page-title { font-size: 22px; font-weight: 700; color: #1c1c1e; margin: 0 0 8px 0; }
.cardapio-page-desc { font-size: 15px; color: #8e8e93; margin: 0 0 20px 0; line-height: 1.4; }
.cardapio-pedidos-tel-wrap {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}
.cardapio-input-tel {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    font-size: 16px;
}
.cardapio-btn-buscar {
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.cardapio-pedidos-lista { display: flex; flex-direction: column; gap: 12px; }
.cardapio-pedido-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.cardapio-pedido-card h3 { font-size: 15px; margin: 0 0 6px 0; color: #1c1c1e; }
.cardapio-pedido-card .status { font-size: 13px; margin-bottom: 8px; }
.cardapio-pedido-card .itens { font-size: 13px; color: #3a3a3c; }

/* Histórico da comanda (mesa) — cards com status */
.cardapio-historico-lista {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}
.historico-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease;
}
.historico-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.historico-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.historico-numero {
    font-size: 16px;
    font-weight: 700;
    color: #1c1c1e;
}
.historico-status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: capitalize;
}
.historico-status-pendente {
    background: rgba(255, 149, 0, 0.15);
    color: #c93400;
}
.historico-status-aceito {
    background: rgba(0, 122, 255, 0.15);
    color: #0051d5;
}
.historico-status-em_preparo {
    background: rgba(88, 86, 214, 0.15);
    color: #5856d6;
}
.historico-status-saiu_entrega {
    background: rgba(90, 123, 90, 0.2);
    color: #4a7c4a;
}
.historico-status-entregue {
    background: rgba(52, 199, 89, 0.2);
    color: #248a3d;
}
.historico-status-cancelado {
    background: rgba(142, 142, 147, 0.25);
    color: #6d6d72;
}
.historico-itens {
    font-size: 14px;
    color: #3a3a3c;
    line-height: 1.45;
    margin: 0 0 12px 0;
}
.historico-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.historico-data {
    font-size: 13px;
    color: #8e8e93;
}
.historico-total {
    font-size: 16px;
    font-weight: 700;
    color: #1c1c1e;
}
.cardapio-bottom-back {
    display: block;
    margin-top: 24px;
    padding: 12px 0;
    background: none;
    border: none;
    color: #9a7b5a;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
/* Voltar ao cardápio no topo das páginas (Chamar, Histórico, Meus pedidos) */
.cardapio-back-top {
    display: block;
    margin: 0 0 20px 0;
    padding: 10px 0;
    background: none;
    border: none;
    color: #9a7b5a;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    text-align: left;
}
.cardapio-back-top:hover { color: #7d6340; }
.cardapio-chamar-inner .cardapio-back-top { text-align: center; }
.cardapio-chamar-inner { text-align: center; padding-top: 48px; }
.cardapio-chamar-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 24px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    margin-bottom: 24px;
}
.cardapio-chamar-icon { font-size: 48px; display: block; margin-bottom: 16px; }
.cardapio-btn-chamar {
    width: 100%;
    padding: 18px 24px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 14px;
    margin-top: 12px;
}
.cardapio-chamar-msg { font-size: 14px; margin-top: 16px; color: #34c759; }
.cardapio-chamar-msg.erro { color: #ff3b30; }

@media (min-width: 769px) {
    .cardapio-bottom-nav { display: none !important; }
}
@media (max-width: 768px) {
    .cardapio-bottom-nav { display: flex; }
    body.cardapio-mobile-nav { padding-bottom: 80px; }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
}

/* Hero com Navbar Integrado */
.hero {
    position: relative;
    width: 100%;
    height: 65vh;
    min-height: 450px;
    max-height: 650px;
    margin-top: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* Navbar Integrado ao Hero */
.hero-navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    background: transparent;
}

.hero-menu-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
}

.hero-menu-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.hero-search-container {
    flex: 1;
    max-width: 600px;
    margin: 0 40px;
}

.hero-search-form {
    position: relative;
    width: 100%;
}

.hero-search-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-search-input::placeholder {
    color: #999;
}

.hero-search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #8b4513;
    pointer-events: none;
}

.hero-navbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-search-icon-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
}

.hero-search-icon-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.hero-cart-button {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
}

.hero-cart-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #f44336;
    color: #ffffff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.cart-badge:empty {
    display: none;
}

/* Carrossel de Promoções */
.promo-carousel {
    position: relative;
    width: 100%;
    height: 40px;
    background: #000000;
    z-index: 1001;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.promo-carousel .carousel-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    /* animation: scroll 30s linear infinite; - Removido: carrossel automático desabilitado */
}

.carousel-item {
    display: inline-block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 0 40px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Carrossel do Hero */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slides empilhados no mesmo lugar; só o .active fica visível (opacity) */
.hero-carousel-slide {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.hero-carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* Indicadores do Carrossel */
.hero-carousel-indicators {
    position: absolute;
    bottom: 180px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator.active {
    background: #f5e6d3;
    border-color: #f5e6d3;
    width: 30px;
    border-radius: 5px;
}

.carousel-indicator:hover {
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    padding: 30px 20px;
    margin: 0 auto;
    pointer-events: none;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 550px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.title-line {
    display: block;
}

.title-line.highlight {
    color: #f5e6d3;
    text-shadow: 0 2px 12px rgba(245, 230, 211, 0.5);
}

.hero-description {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    max-width: 480px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-btn.primary {
    background: #8b4513;
    color: #ffffff;
}

.hero-btn.primary:hover {
    background: #6b3410;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.hero-btn.secondary {
    background: rgba(245, 230, 211, 0.95);
    color: #5a4a3a;
    backdrop-filter: blur(10px);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.hero-btn:active {
    transform: translateY(0);
}

.hero-info-card {
    background: rgba(245, 230, 211, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 450px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.info-avatars {
    display: flex;
    gap: -8px;
    flex-shrink: 0;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #8b4513;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-left: -11px;
    border: 2px solid rgba(245, 230, 211, 0.9);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.avatar:first-child {
    margin-left: 0;
}

.info-text {
    flex: 1;
}

.info-title {
    font-size: 14px;
    font-weight: 700;
    color: #5a4a3a;
    margin: 0 0 3px 0;
}

.info-subtitle {
    font-size: 12px;
    color: #8b4513;
    margin: 0;
}

/* Seção Cardápio do Dia */
.menu-section {
    background: #ffffff;
    padding: 40px 20px 30px;
    position: relative;
    z-index: 10;
}

.menu-section.curved-section {
    margin-top: -150px;
    border-radius: 40px 40px 0 0;
    padding-top: 60px;
}

/* Barra de Pesquisa e Menu */
.menu-search-section {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px 0;
}

.menu-search-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.menu-search-input {
    flex: 1;
    padding: 14px 20px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
}

.menu-search-input::placeholder {
    color: #999;
}

.menu-search-input:focus {
    outline: none;
    background: #ffffff;
    border-color: #8b4513;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.1);
}

.menu-search-btn,
.menu-favorite-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #f5f5f5;
    color: #5a4a3a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.menu-search-btn:hover,
.menu-favorite-btn:hover {
    background: #8b4513;
    color: #ffffff;
    transform: scale(1.05);
}

.menu-title-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.menu-main-title {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.menu-categories {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    width: 100%;
}

.menu-category-item {
    font-size: 16px;
    color: #666;
    cursor: pointer;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
}

.menu-category-item:hover {
    color: #8b4513;
}

.menu-category-item.active {
    color: #8b4513;
    border-bottom-color: #8b4513;
}

/* Scrollbar para categorias em mobile */
.menu-categories::-webkit-scrollbar {
    height: 4px;
}

.menu-categories::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 2px;
}

.menu-categories::-webkit-scrollbar-thumb {
    background: #8b4513;
    border-radius: 2px;
}

.menu-categories::-webkit-scrollbar-thumb:hover {
    background: #6b3410;
}

/* Seção de Cards de Categoria */
.menu-categories-section {
    max-width: 100%;
    margin: 30px 0 0;
    padding: 0 20px;
    overflow: hidden;
}

.category-cards-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
}

.category-cards-scroll {
    display: flex;
    gap: 20px;
    padding: 10px 0;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.category-cards-scroll::-webkit-scrollbar {
    height: 6px;
}

.category-cards-scroll::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.category-cards-scroll::-webkit-scrollbar-thumb {
    background: #8b4513;
    border-radius: 3px;
}

.category-card-dark {
    min-width: 220px;
    max-width: 220px;
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.category-card-dark:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.category-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: #2a2a2a;
}

.category-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    background: #2a2a2a;
}

.category-card-menu {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.category-card-menu:hover {
    background: #ffffff;
    transform: scale(1.1);
}

.category-card-menu svg {
    color: #333;
    width: 16px;
    height: 16px;
}

.category-card-content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
}

.category-card-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.category-card-description {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 12px 0;
    line-height: 1.4;
    flex: 1;
}

.category-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.category-card-price {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.category-card-add-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.category-card-add-btn svg {
    width: 18px;
    height: 18px;
}

.category-card-add-btn:hover {
    background: #8b4513;
    border-color: #8b4513;
    transform: scale(1.1);
}

/* Carrossel Horizontal - Estilo Moderno */
.cardapio-carousel {
    position: relative;
    margin-top: 20px;
    padding: 0 20px 40px;
}

.carousel-container {
    position: relative;
    width: 100%;
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #8b4513 #f0f0f0; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: 20px 10px;
    margin: 0 -10px;
}

.carousel-track::-webkit-scrollbar {
    height: 6px; /* Chrome/Safari */
}

.carousel-track::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 3px;
}

.carousel-track::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #8b4513, #a0522d);
    border-radius: 3px;
}

.carousel-track::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #6b3410, #8b4513);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: #8b4513;
    border: 2px solid rgba(139, 69, 19, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.15);
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: white;
    border-color: #8b4513;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.3);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.cardapio-item-card {
    min-width: 280px;
    max-width: 280px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(139, 69, 19, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.cardapio-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b4513, #a0522d);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cardapio-item-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(139, 69, 19, 0.2);
    border-color: rgba(139, 69, 19, 0.3);
}

.cardapio-item-card:hover::before {
    opacity: 1;
}

.cardapio-item-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5e6d3 0%, #ede0d1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cardapio-item-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
}

.cardapio-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.cardapio-item-card:hover .cardapio-item-image img {
    transform: scale(1.08);
}

.cardapio-item-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b4513;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.6;
}

.cardapio-item-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #ffffff;
}

.cardapio-item-nome {
    font-size: 18px;
    font-weight: 700;
    color: #5a4a3a;
    margin: 0 0 10px 0;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

.cardapio-item-descricao {
    color: #666;
    font-size: 14px;
    margin: 0 0 16px 0;
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cardapio-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(139, 69, 19, 0.1);
    gap: 12px;
}

.cardapio-item-preco {
    font-size: 24px;
    font-weight: 700;
    color: #8b4513;
    letter-spacing: -0.5px;
}

.cardapio-item-categoria {
    display: inline-block;
    background: rgba(139, 69, 19, 0.12);
    color: #8b4513;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(139, 69, 19, 0.2);
}

.cardapio-item-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f5e6d3 0%, #ede0d1 100%);
    color: #8b4513;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(139, 69, 19, 0.3);
    box-shadow: 0 2px 4px rgba(139, 69, 19, 0.1);
}

.btn-adicionar-carrinho {
    width: 100%;
    margin-top: 12px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-adicionar-carrinho::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-adicionar-carrinho:hover::before {
    width: 300px;
    height: 300px;
}

.btn-adicionar-carrinho:hover {
    background: linear-gradient(135deg, #6b3410 0%, #8b4513 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.35);
}

.btn-adicionar-carrinho:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.2);
}

.btn-adicionar-carrinho svg {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1;
}

.categoria-section {
    margin: 50px 0;
    padding: 40px 0;
    background: #ffffff;
}

.categoria-title {
    font-size: 32px;
    font-weight: 700;
    color: #5a4a3a;
    margin-bottom: 30px;
    padding: 0 20px 16px 20px;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #8b4513, #a0522d) 1;
    letter-spacing: -0.5px;
}

.menu-header {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.menu-title {
    font-size: 36px;
    font-weight: 700;
    color: #5a4a3a;
    margin: 0 0 12px 0;
    text-align: left;
}

.menu-underline {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #8b4513, #a0522d);
    border-radius: 2px;
}

/* Espaçamento para o conteúdo abaixo do hero */
main {
    padding: 20px;
    min-height: calc(100vh);
}

/* Responsividade para tablets */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-navbar {
        padding: 16px 20px;
    }
    
    .hero-menu-btn,
    .hero-search-icon-btn,
    .hero-cart-button {
        width: 44px;
        height: 44px;
    }
    
    .hero-search-container {
        margin: 0 16px;
        max-width: none;
    }
    
    .hero-search-input {
        padding: 14px 18px 14px 45px;
        font-size: 14px;
    }
    
    .search-icon {
        left: 16px;
        width: 18px;
        height: 18px;
    }
    
    .hero-carousel-indicators {
        bottom: 150px;
        gap: 10px;
    }
    
    .carousel-indicator {
        width: 8px;
        height: 8px;
    }
    
    .carousel-indicator.active {
        width: 24px;
    }
    
    .promo-carousel {
        height: 36px;
    }
    
    .carousel-item {
        font-size: 13px;
        padding: 0 35px;
    }
}

/* Responsividade para mobile */
@media (max-width: 480px) {
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-navbar {
        padding: 12px 16px;
    }
    
    .hero-menu-btn,
    .hero-search-icon-btn,
    .hero-cart-button {
        width: 40px;
        height: 40px;
    }
    
    .hero-search-container {
        margin: 0 12px;
    }
    
    .hero-search-input {
        padding: 12px 16px 12px 40px;
        font-size: 13px;
    }
    
    .search-icon {
        left: 14px;
        width: 16px;
        height: 16px;
    }
    
    .hero-navbar-right {
        gap: 12px;
    }
    
    .hero-carousel-indicators {
        bottom: 130px;
        gap: 8px;
    }
    
    .carousel-indicator {
        width: 6px;
        height: 6px;
    }
    
    .carousel-indicator.active {
        width: 20px;
    }
    
    .promo-carousel {
        height: 34px;
    }
    
    .carousel-item {
        font-size: 12px;
        padding: 0 30px;
    }
    
    .menu-section.curved-section {
        padding: 50px 16px 20px;
        margin-top: -120px;
        border-radius: 35px 35px 0 0;
    }
    
    .hero-carousel-indicators {
        bottom: 150px;
    }
    
    .menu-main-title {
        font-size: 32px;
    }
    
    .menu-categories {
        gap: 16px;
    }
    
    .menu-category-item {
        font-size: 14px;
    }
    
    .menu-search-container {
        gap: 10px;
    }
    
    .menu-search-btn,
    .menu-favorite-btn {
        width: 44px;
        height: 44px;
    }
    
    .category-card-dark {
        min-width: 200px;
        max-width: 200px;
    }
    
    .category-card-image-wrapper {
        height: 140px;
    }
    
    .category-cards-scroll {
        gap: 14px;
    }
    
    .category-card-name {
        font-size: 15px;
    }
    
    .category-card-price {
        font-size: 18px;
    }
    
    .category-card-add-btn {
        width: 36px;
        height: 36px;
    }
    
    .menu-title {
        font-size: 26px;
    }
    
    .menu-underline {
        width: 90px;
        height: 3px;
    }
}

/* Responsividade para telas muito pequenas */
@media (max-width: 360px) {
    .hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-navbar {
        padding: 10px 12px;
    }
    
    .hero-menu-btn,
    .hero-search-icon-btn,
    .hero-cart-button {
        width: 36px;
        height: 36px;
    }
    
    .hero-search-container {
        margin: 0 8px;
    }
    
    .hero-search-input {
        padding: 10px 14px 10px 36px;
        font-size: 12px;
    }
    
    .search-icon {
        left: 12px;
        width: 14px;
        height: 14px;
    }
    
    .hero-carousel-indicators {
        bottom: 110px;
        gap: 6px;
    }
    
    .carousel-indicator {
        width: 5px;
        height: 5px;
    }
    
    .carousel-indicator.active {
        width: 18px;
    }
    
    .promo-carousel {
        height: 32px;
    }
    
    .carousel-item {
        font-size: 11px;
        padding: 0 25px;
    }
    
    .menu-section.curved-section {
        padding: 40px 12px 18px;
        margin-top: -100px;
        border-radius: 30px 30px 0 0;
    }
    
    .hero-carousel-indicators {
        bottom: 130px;
    }
    
    .menu-title-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .menu-main-title {
        font-size: 28px;
    }
    
    .menu-categories {
        gap: 12px;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 8px;
    }
    
    .menu-category-item {
        font-size: 13px;
        white-space: nowrap;
    }
    
    .menu-search-container {
        gap: 8px;
    }
    
    .menu-search-input {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .menu-search-btn,
    .menu-favorite-btn {
        width: 40px;
        height: 40px;
    }
    
    .modal-opcoes-image {
        aspect-ratio: 1 / 1;
        max-height: 250px;
    }
    
    .modal-opcoes-title {
        font-size: 24px;
    }
    
    .modal-opcoes-preco {
        font-size: 28px;
    }
    
    .modal-opcoes-form {
        padding: 20px 16px;
    }
    
    .total-value {
        font-size: 28px;
    }
    
    .modal-sucesso-content {
        padding: 32px 24px;
        max-width: 90%;
    }
    
    .sucesso-checkmark {
        width: 80px;
        height: 80px;
    }
    
    .checkmark-svg {
        width: 50px;
        height: 50px;
    }
    
    .sucesso-title {
        font-size: 24px;
    }
    
    .sucesso-actions {
        flex-direction: column;
    }
    
    .btn-continuar-comprando,
    .btn-ver-carrinho {
        width: 100%;
    }
    
    .carrinho-vazio {
        padding: 40px 20px;
        min-height: 350px;
    }
    
    .carrinho-vazio-icon {
        width: 120px;
        height: 120px;
        margin-bottom: 24px;
    }
    
    .carrinho-vazio-icon svg,
    .carrinho-vazio-icon .carrinho-vazio-logo {
        width: 80px;
        height: 80px;
    }
    
    .carrinho-vazio-title {
        font-size: 22px;
    }
    
    .carrinho-vazio-message {
        font-size: 15px;
        margin-bottom: 32px;
    }
    
    .btn-continuar-comprando-vazio {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .category-card-dark {
        min-width: 180px;
        max-width: 180px;
    }
    
    .category-card-image-wrapper {
        height: 120px;
    }
    
    .category-card-content {
        padding: 10px;
    }
    
    .category-card-name {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .category-card-description {
        font-size: 11px;
        margin-bottom: 10px;
    }
    
    .category-card-price {
        font-size: 18px;
    }
    
    .category-card-add-btn {
        width: 34px;
        height: 34px;
    }
    
    .category-card-add-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .category-card-menu {
        width: 28px;
        height: 28px;
        top: 6px;
        right: 6px;
    }
    
    .category-card-menu svg {
        width: 14px;
        height: 14px;
    }
    
    .category-cards-scroll {
        gap: 10px;
    }
    
    .menu-categories-section {
        padding: 0 12px;
    }
    
    .menu-title {
        font-size: 22px;
    }
    
    .menu-underline {
        width: 80px;
        height: 3px;
    }
    
    .cardapio-item-card {
        min-width: 240px;
        max-width: 240px;
    }
    
    .cardapio-item-image {
        height: 150px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .carousel-prev {
        left: 5px;
    }
    
    .carousel-next {
        right: 5px;
    }
    
    .categoria-section {
        padding: 20px 0;
    }
    
    .categoria-title {
        padding: 0 15px 10px 15px;
        font-size: 1.5em;
    }
    
    main {
        margin-top: 96px;
    }
}

/* Overlay escuro */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Menu lateral */
.sidebar-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, #f5e6d3 0%, #ede0d1 100%);
    z-index: 1001;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar-menu.active {
    right: 0;
}

.sidebar-nav {
    flex: 1;
    padding: 140px 0 16px;
    margin-top: 0;
}

.nav-menu-item {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    text-decoration: none;
    color: #5a4a3a;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    margin: 4px 12px;
    border-radius: 12px;
}

.nav-menu-item:hover {
    background: rgba(255, 255, 255, 0.5);
    color: #8b4513;
    transform: translateX(4px);
}

.nav-menu-item.active {
    background: #8b4513;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.nav-menu-item.active .nav-icon svg {
    stroke: #ffffff;
}

.nav-icon {
    font-size: 20px;
    margin-right: 16px;
    width: 24px;
    height: 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-icon svg {
    width: 100%;
    height: 100%;
    stroke: #5a4a3a;
    transition: stroke 0.3s ease;
}

.nav-menu-item:hover .nav-icon svg {
    stroke: #8b4513;
}

.nav-label {
    flex: 1;
}

.sidebar-footer {
    padding: 16px 0 24px;
    border-top: 1px solid rgba(139, 69, 19, 0.15);
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-footer .nav-menu-item {
    color: #8b4513;
    margin: 4px 12px;
}

.sidebar-footer .nav-menu-item:hover {
    background: rgba(255, 255, 255, 0.5);
    color: #6b3410;
}

.sidebar-footer .nav-menu-item .nav-icon svg {
    stroke: #8b4513;
}

.sidebar-footer .nav-menu-item:hover .nav-icon svg {
    stroke: #6b3410;
}

/* Ajustes responsivos do menu */
@media (max-width: 768px) {
    .sidebar-nav {
        padding-top: 120px;
    }
}

@media (max-width: 480px) {
    .sidebar-nav {
        padding-top: 110px;
    }
}

@media (max-width: 360px) {
    .sidebar-menu {
        width: 280px;
        right: -280px;
    }
    
    .sidebar-nav {
        padding-top: 100px;
    }
}

/* Carrinho Sidebar */
.carrinho-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.carrinho-overlay.active {
    opacity: 1;
    visibility: visible;
}

.carrinho-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: #ffffff;
    z-index: 1999;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carrinho-sidebar.active {
    right: 0;
}

.carrinho-header {
    padding: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f5e6d3 0%, #ede0d1 100%);
}

.carrinho-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #5a4a3a;
    margin: 0;
}

.carrinho-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: rgba(139, 69, 19, 0.1);
    color: #5a4a3a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carrinho-close:hover {
    background: rgba(139, 69, 19, 0.2);
    transform: rotate(90deg);
}

.carrinho-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.carrinho-vazio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
    text-align: center;
    padding: 60px 30px;
}

.carrinho-vazio-icon {
    width: 140px;
    height: 140px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(245, 230, 211, 0.2) 100%);
    border-radius: 50%;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.carrinho-vazio-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(139, 69, 19, 0.15);
    animation: pulse-ring 2s ease-out infinite;
}

.carrinho-vazio-icon svg,
.carrinho-vazio-icon .carrinho-vazio-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.carrinho-vazio-icon svg {
    color: #8b4513;
    opacity: 0.7;
}

.carrinho-vazio-title {
    font-size: 24px;
    font-weight: 700;
    color: #5a4a3a;
    margin: 0 0 12px 0;
}

.carrinho-vazio-message {
    font-size: 16px;
    color: #666;
    margin: 0 0 40px 0;
    line-height: 1.5;
    max-width: 300px;
}

.btn-continuar-comprando-vazio {
    padding: 16px 32px;
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: #ffffff;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(139, 69, 19, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-continuar-comprando-vazio::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-continuar-comprando-vazio:hover::before {
    width: 300px;
    height: 300px;
}

.btn-continuar-comprando-vazio:hover {
    background: linear-gradient(135deg, #6b3410 0%, #8b4513 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(139, 69, 19, 0.4);
}

.btn-continuar-comprando-vazio:active {
    transform: translateY(-1px);
}

.btn-continuar-comprando-vazio svg {
    position: relative;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.carrinho-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.carrinho-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
}

.carrinho-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carrinho-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.carrinho-item-nome {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
}
.carrinho-item-extras {
    font-size: 12px;
    font-weight: 500;
    color: #8b4513;
    display: block;
    margin-top: 2px;
}

.carrinho-item-preco {
    font-size: 16px;
    font-weight: 700;
    color: #8b4513;
}

.carrinho-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 4px;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: #8b4513;
    color: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #6b3410;
    transform: scale(1.1);
}

.quantity-value {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.remove-item-btn {
    background: #f44336;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.remove-item-btn:hover {
    background: #da190b;
    transform: translateY(-1px);
}

.carrinho-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: #fafafa;
}

.carrinho-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 16px;
    background: #ffffff;
    border-radius: 8px;
    border: 2px solid #8b4513;
}

.total-label {
    font-size: 18px;
    font-weight: 600;
    color: #5a4a3a;
}

.total-value {
    font-size: 24px;
    font-weight: 700;
    color: #8b4513;
}

.btn-finalizar-pedido {
    width: 100%;
    padding: 16px;
    background: #8b4513;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-finalizar-pedido:hover {
    background: #6b3410;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

/* Modal Finalizar Pedido */
/* Modal de Opções do Produto - Fullscreen */
.modal-opcoes-produto {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2001;
    overflow-y: auto;
}

.modal-opcoes-produto.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.modal-opcoes-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.modal-opcoes-content {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    animation: slideUpFullscreen 0.35s ease-out;
}

.modal-opcoes-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #ffffff;
    padding: 20px;
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
    display: flex;
    justify-content: flex-end;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.modal-opcoes-close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(139, 69, 19, 0.1);
    color: #8b4513;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-opcoes-close:hover {
    background: #8b4513;
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-opcoes-body {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.modal-opcoes-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 400px;
    max-width: 400px;
    margin: 0 auto;
    overflow: hidden;
    background: linear-gradient(135deg, #f5e6d3 0%, #ede0d1 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-opcoes-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b4513;
    font-size: 18px;
    font-weight: 500;
    opacity: 0.6;
}

.modal-opcoes-info {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
}

.modal-opcoes-title {
    font-size: 28px;
    font-weight: 700;
    color: #5a4a3a;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.modal-opcoes-description {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.modal-opcoes-preco {
    font-size: 32px;
    font-weight: 700;
    color: #8b4513;
    letter-spacing: -0.5px;
}

.modal-opcoes-form {
    padding: 24px 20px;
    flex: 1;
}

.opcoes-group {
    margin-bottom: 28px;
}

.opcoes-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #5a4a3a;
    margin-bottom: 12px;
}

.quantidade-selector {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 200px;
}

.qty-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 2px solid rgba(139, 69, 19, 0.2);
    background: #ffffff;
    color: #8b4513;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #8b4513;
    color: #ffffff;
    border-color: #8b4513;
    transform: scale(1.05);
}

.qty-input {
    flex: 1;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #5a4a3a;
    border: 2px solid rgba(139, 69, 19, 0.2);
    border-radius: 12px;
    padding: 12px;
    background: #ffffff;
}

.opcoes-radio-group,
.opcoes-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid rgba(139, 69, 19, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
}

.radio-option:hover,
.checkbox-option:hover {
    border-color: rgba(139, 69, 19, 0.4);
    background: rgba(139, 69, 19, 0.05);
}

.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #8b4513;
}

.radio-option input[type="radio"]:checked + span,
.checkbox-option input[type="checkbox"]:checked + span {
    font-weight: 600;
    color: #8b4513;
}

.radio-option:has(input[type="radio"]:checked),
.checkbox-option:has(input[type="checkbox"]:checked) {
    border-color: #8b4513;
    background: rgba(139, 69, 19, 0.1);
}

.opcoes-textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid rgba(139, 69, 19, 0.15);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s ease;
}

.opcoes-textarea:focus {
    outline: none;
    border-color: #8b4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.modal-opcoes-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #f5e6d3 0%, #ede0d1 100%);
    border-radius: 16px;
    margin: 24px 0;
    border: 2px solid rgba(139, 69, 19, 0.2);
}

.total-label {
    font-size: 20px;
    font-weight: 600;
    color: #5a4a3a;
}

.total-value {
    font-size: 32px;
    font-weight: 700;
    color: #8b4513;
    letter-spacing: -0.5px;
}

.btn-adicionar-opcoes {
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: #ffffff;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(139, 69, 19, 0.3);
    margin-top: 20px;
}

.btn-adicionar-opcoes:hover {
    background: linear-gradient(135deg, #6b3410 0%, #8b4513 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(139, 69, 19, 0.4);
}

.btn-adicionar-opcoes:active {
    transform: translateY(0);
}

/* Modal de Opções do Produto - Fullscreen */
.modal-opcoes-produto {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2001;
    overflow-y: auto;
}

.modal-opcoes-produto.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.modal-opcoes-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.modal-opcoes-content {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    animation: slideUpFullscreen 0.35s ease-out;
}

.modal-opcoes-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #ffffff;
    padding: 20px;
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
    display: flex;
    justify-content: flex-end;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.modal-opcoes-close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(139, 69, 19, 0.1);
    color: #8b4513;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-opcoes-close:hover {
    background: #8b4513;
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-opcoes-body {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.modal-opcoes-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 400px;
    max-width: 400px;
    margin: 0 auto;
    overflow: hidden;
    background: linear-gradient(135deg, #f5e6d3 0%, #ede0d1 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-opcoes-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b4513;
    font-size: 18px;
    font-weight: 500;
    opacity: 0.6;
}

.modal-opcoes-info {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
}

.modal-opcoes-title {
    font-size: 28px;
    font-weight: 700;
    color: #5a4a3a;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.modal-opcoes-description {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.modal-opcoes-preco {
    font-size: 32px;
    font-weight: 700;
    color: #8b4513;
    letter-spacing: -0.5px;
}

.modal-opcoes-form {
    padding: 24px 20px;
    flex: 1;
}

.opcoes-group {
    margin-bottom: 28px;
}

.opcoes-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #5a4a3a;
    margin-bottom: 12px;
}

.quantidade-selector {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 200px;
}

.qty-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 2px solid rgba(139, 69, 19, 0.2);
    background: #ffffff;
    color: #8b4513;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #8b4513;
    color: #ffffff;
    border-color: #8b4513;
    transform: scale(1.05);
}

.qty-input {
    flex: 1;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #5a4a3a;
    border: 2px solid rgba(139, 69, 19, 0.2);
    border-radius: 12px;
    padding: 12px;
    background: #ffffff;
}

.opcoes-radio-group,
.opcoes-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid rgba(139, 69, 19, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
}

.radio-option:hover,
.checkbox-option:hover {
    border-color: rgba(139, 69, 19, 0.4);
    background: rgba(139, 69, 19, 0.05);
}

.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #8b4513;
}

.radio-option input[type="radio"]:checked + span,
.checkbox-option input[type="checkbox"]:checked + span {
    font-weight: 600;
    color: #8b4513;
}

.radio-option:has(input[type="radio"]:checked),
.checkbox-option:has(input[type="checkbox"]:checked) {
    border-color: #8b4513;
    background: rgba(139, 69, 19, 0.1);
}

.opcoes-textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid rgba(139, 69, 19, 0.15);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s ease;
}

.opcoes-textarea:focus {
    outline: none;
    border-color: #8b4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.modal-opcoes-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #f5e6d3 0%, #ede0d1 100%);
    border-radius: 16px;
    margin: 24px 0;
    border: 2px solid rgba(139, 69, 19, 0.2);
}

.total-label {
    font-size: 20px;
    font-weight: 600;
    color: #5a4a3a;
}

.total-value {
    font-size: 32px;
    font-weight: 700;
    color: #8b4513;
    letter-spacing: -0.5px;
}

.btn-adicionar-opcoes {
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: #ffffff;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(139, 69, 19, 0.3);
    margin-top: 20px;
}

.btn-adicionar-opcoes:hover {
    background: linear-gradient(135deg, #6b3410 0%, #8b4513 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(139, 69, 19, 0.4);
}

.btn-adicionar-opcoes:active {
    transform: translateY(0);
}

.btn-adicionar-opcoes svg {
    position: relative;
    z-index: 1;
}

/* Modal de Sucesso - Item Adicionado */
.modal-sucesso-carrinho {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2002;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-sucesso-carrinho.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-sucesso-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.modal-sucesso-content {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    max-width: 450px;
    width: 100%;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    z-index: 1;
}

.sucesso-icon-container {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.sucesso-checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
    animation: checkmarkScale 0.6s ease;
}

.checkmark-svg {
    width: 60px;
    height: 60px;
}

.checkmark-circle {
    stroke: #ffffff;
    stroke-width: 3;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-linecap: round;
    fill: none;
    animation: checkmarkCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    stroke: #ffffff;
    stroke-width: 4;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: checkmarkCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

.sucesso-title {
    font-size: 28px;
    font-weight: 700;
    color: #5a4a3a;
    margin: 0 0 12px 0;
    animation: slideUp 0.5s ease 0.3s both;
}

.sucesso-message {
    font-size: 16px;
    color: #666;
    margin: 0 0 32px 0;
    line-height: 1.5;
    animation: slideUp 0.5s ease 0.4s both;
}

.sucesso-actions {
    display: flex;
    gap: 12px;
    animation: slideUp 0.5s ease 0.5s both;
}

.btn-continuar-comprando,
.btn-ver-carrinho {
    flex: 1;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-continuar-comprando {
    background: rgba(139, 69, 19, 0.1);
    color: #8b4513;
    border: 2px solid rgba(139, 69, 19, 0.2);
}

.btn-continuar-comprando:hover {
    background: rgba(139, 69, 19, 0.15);
    border-color: rgba(139, 69, 19, 0.4);
    transform: translateY(-2px);
}

.btn-ver-carrinho {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.btn-ver-carrinho:hover {
    background: linear-gradient(135deg, #6b3410 0%, #8b4513 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

/* Modal Lembrete Mesa (30s após item no carrinho) */
.modal-lembrete-mesa .modal-lembrete-content {
    animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-lembrete-mesa .lembrete-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9a7b5a 0%, #7d6340 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(154, 123, 90, 0.35);
    animation: lembretePulse 2s ease-in-out infinite;
}
.modal-lembrete-mesa .lembrete-icon-wrap svg {
    width: 40px;
    height: 40px;
}
@keyframes lembretePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(154, 123, 90, 0.35); }
    50% { transform: scale(1.05); box-shadow: 0 10px 28px rgba(154, 123, 90, 0.45); }
}

/* Modal de alerta do sistema (comanda fechada, erros) — estilo próprio, não do navegador */
.sistema-alert-dialog {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.sistema-alert-dialog.open {
    opacity: 1;
    visibility: visible;
}
.sistema-alert-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
}
.sistema-alert-box {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 0;
    max-width: 320px;
    width: 100%;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sistema-alert-dialog.open .sistema-alert-box {
    transform: scale(1);
}
.sistema-alert-title {
    padding: 22px 24px 8px;
    font-size: 18px;
    font-weight: 700;
    color: #1c1c1e;
    text-align: center;
    margin: 0;
}
.sistema-alert-message {
    padding: 0 24px 24px;
    font-size: 15px;
    color: #3a3a3c;
    text-align: center;
    line-height: 1.45;
    margin: 0;
}
.sistema-alert-actions {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 12px 24px 20px;
    text-align: center;
}
.sistema-alert-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #5a3d2b;
    background: rgba(90, 61, 43, 0.12);
    border: 2px solid rgba(90, 61, 43, 0.25);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.sistema-alert-btn:hover {
    background: rgba(90, 61, 43, 0.18);
    border-color: rgba(90, 61, 43, 0.4);
}

.modal-finalizar-pedido {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-finalizar-pedido.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-finalizar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.modal-finalizar-content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

.modal-finalizar-header {
    padding: 24px 28px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #f5e6d3 0%, #ede0d1 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-finalizar-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #5a4a3a;
    margin: 0;
}

.modal-finalizar-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: rgba(139, 69, 19, 0.1);
    color: #5a4a3a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-finalizar-close:hover {
    background: rgba(139, 69, 19, 0.2);
    transform: rotate(90deg);
}

.modal-finalizar-form {
    padding: 28px;
    overflow-y: auto;
    flex: 1;
}

.form-section {
    margin-bottom: 28px;
}

.form-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #5a4a3a;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(139, 69, 19, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #5a4a3a;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.resumo-pedido-itens {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    max-height: 200px;
    overflow-y: auto;
}

.resumo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.resumo-item:last-child {
    border-bottom: none;
}

.resumo-item-info {
    flex: 1;
}

.resumo-item-nome {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.resumo-item-detalhes {
    font-size: 12px;
    color: #666;
}

.resumo-item-total {
    font-size: 15px;
    font-weight: 700;
    color: #8b4513;
}

.resumo-pedido-total {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    border-radius: 12px;
    padding: 20px;
    color: #ffffff;
}

.resumo-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
}

.resumo-line.resumo-total {
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    padding-top: 16px;
    margin-top: 12px;
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 700;
}

.modal-finalizar-footer {
    padding: 20px 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: #fafafa;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-cancelar,
.btn-confirmar {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-cancelar {
    background: #6c757d;
    color: #ffffff;
}

.btn-cancelar:hover {
    background: #5a6268;
}

.btn-confirmar {
    background: #4caf50;
    color: #ffffff;
}

.btn-confirmar:hover {
    background: #45a049;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

@media (max-width: 768px) {
    .carrinho-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .modal-finalizar-content {
        max-width: 95%;
    }
    
    .navbar-actions {
        gap: 12px;
    }
    
    .cart-button {
        width: 44px;
        height: 44px;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUpFullscreen {
    0% {
        opacity: 0;
        transform: translateY(100%) scale(0.95);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-5%) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUpFullscreen {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleInBounce {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleInBounce {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes checkmarkCircle {
    0% {
        stroke-dashoffset: 166;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes checkmarkCheck {
    0% {
        stroke-dashoffset: 48;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes checkmarkScale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes fadeOutScale {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

/* Animações para remoção de itens do carrinho - versão simplificada e leve */
@keyframes itemRemoved {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-30px);
    }
}

.carrinho-item.removing {
    animation: itemRemoved 0.3s ease-out forwards;
    pointer-events: none;
}

.remove-item-btn:active {
    transform: scale(0.95);
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #2c1810 0%, #3d2415 50%, #2c1810 100%);
    color: #ffffff;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 69, 19, 0.5), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    letter-spacing: 0.5px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: #8b4513;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.4);
    border-color: #8b4513;
}

.footer-column-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(139, 69, 19, 0.5);
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-link::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #f5e6d3;
    transform: translateX(5px);
}

.footer-link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact-item svg {
    color: #8b4513;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-newsletter-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.footer-newsletter-form {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.footer-newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter-input:focus {
    outline: none;
    border-color: #8b4513;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.2);
}

.footer-newsletter-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.footer-newsletter-btn:hover {
    background: linear-gradient(135deg, #6b3410 0%, #8b4513 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.footer-payment {
    margin-top: 8px;
}

.footer-payment-title {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 12px 0;
    font-weight: 500;
}

.footer-payment-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.payment-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.payment-icon:hover {
    background: rgba(139, 69, 19, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
    border-color: rgba(139, 69, 19, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    margin-top: 40px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: #f5e6d3;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Responsividade do Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-newsletter-form {
        flex-direction: column;
    }
    
    .footer-newsletter-btn {
        width: 100%;
    }
    
    .footer-container {
        padding: 40px 20px 0;
    }
}

@media (max-width: 480px) {
    .footer-title {
        font-size: 20px;
    }
}
