body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #1a1a1a;
    color: #fff;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('imagens/bg.webp') center/cover no-repeat;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 600px) {
    body::before {
        background: url('imagens/bg.webp') center/contain repeat;
        background-size: 200%;
        background-position: center center;
    }
}

header {
    background: #000;
    color: #ffd700;
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
}
#categorias {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0 1rem 0;
    flex-wrap: wrap;
}
.categoria-btn {
    background: #fff;
    border: 2px solid #d62828;
    color: #4a2511;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    /* font-size: 1rem; */
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}
.categoria-btn:before {
    content: "";
    position: absolute;
    left: -30px;
    top: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.8), rgba(255,255,255,0));
    transform: skewX(-30deg);
    animation-name: none;
    animation-duration: 1.5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}
.categoria-btn.ativo, .categoria-btn:hover {
    background: #d62828;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(214, 40, 40, 0.3);
}
.categoria-btn.ativo:before, .categoria-btn:hover:before {
    animation-name: shine;
}
@keyframes shine {
    0% {
        left: -30px;
    }
    100% {
        left: 110%;
    }
}
#produtos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
    gap: 1.5rem;
    padding: 1rem 2vw 5rem 2vw;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}
@keyframes borderAnimation {
    0% {
        border-image: linear-gradient(0deg, #25d366, #ff0000, #25d366) 1;
    }
    25% {
        border-image: linear-gradient(90deg, #25d366, #ff0000, #25d366) 1;
    }
    50% {
        border-image: linear-gradient(180deg, #25d366, #ff0000, #25d366) 1;
    }
    75% {
        border-image: linear-gradient(270deg, #25d366, #ff0000, #25d366) 1;
    }
    100% {
        border-image: linear-gradient(360deg, #25d366, #ff0000, #25d366) 1;
    }
}
.produto-card {
    background: #313235;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: none;
}
.produto-card::before {
    display: none;
}
.produto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.produto-card:hover::before {
    display: none;
}
.img-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}
.faixa-mais-vendido {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.85);
    color: #FFD700;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.faixa-mais-vendido::before {
    content: "⭐";
    margin-right: 4px;
    font-size: 0.8rem;
}
.img-container::after {
    display: none;
    /* content: attr(data-categoria);
    position: absolute;
    top: 12px;
    right: 12px;
    left: auto;
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px); */
    
}

.img-container[data-categoria]:not([data-categoria=""]):after {
    display: block;
}
.produto-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.produto-card:hover .produto-img {
    transform: scale(1.05);
}
.produto-info {
    padding: 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #313235;
}
.produto-info h3 {
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: none;
    line-height: 1.3;
}
.produto-info p {
    color: #b0b0b0;
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
    max-height: 3.9rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.produto-preco {
    color: #42e678;
    font-weight: 600;
    font-size: 1.2rem;
    text-shadow: none;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.produto-preco::after {
    content: "›";
    font-size: 1.5rem;
    font-weight: bold;
    color: #42e678;
}
.add-btn {
    background: #d32f2f;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 1rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
    margin-top: 0.3rem;
    font-weight: bold;
}
.add-btn:hover {
    background: #b71c1c;
}
#whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25d366;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.13);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: bold;
    transition: background 0.2s;
}
#whatsapp-btn:hover {
    background: #128c7e;
}
@media (max-width: 600px) {
    #produtos {
        grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
        gap: 1rem;
        padding: 1rem 1rem 6rem 1rem;
    }
    #whatsapp-btn {
        right: 12px;
        left: 12px;
        bottom: 12px;
        width: auto;
        justify-content: center;
    }
    header h1 {
        font-size: 1.3rem;
    }
    .logo {
        max-width: 120px;
    }
    .produto-card {
        border-radius: 12px;
    }
    .img-container {
        border-radius: 12px 12px 0 0;
    }
    .produto-img {
        height: 160px;
    }
    .produto-info {
        padding: 1rem;
    }
    .produto-info h3 {
        font-size: 1.1rem;
    }
    .produto-preco {
        font-size: 1.1rem;
        padding-top: 0.6rem;
    }
}
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}
.modal.aberto {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.modal-content {
    background: #f8f5f0;
    color: #222;
    border-radius: 12px;
    max-width: 900px;
    width: 95vw;
    margin: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    border: 4px solid #fff;
    background-image: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="60" height="60" fill="%23f8f5f0"/><path d="M30 2.5L2.5 30 30 57.5 57.5 30 30 2.5z" stroke="%23e8e2d9" fill="none" stroke-width="0.5"/></svg>');
}
.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: #d62828;
    cursor: pointer;
    font-weight: bold;
    z-index: 10;
    background: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    line-height: 1;
}
.close-modal:hover {
    background: #f8f3e9;
    color: #961717;
}
.modal-body {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    padding: 1.5rem 2rem 2rem 2rem;
    position: relative;
}
.modal-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #1a9f41, #fff, #d62828);
    border-radius: 4px 4px 0 0;
}
.modal-img-col {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
#modal-img {
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border: 4px solid #fff;
}
.modal-info-col {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.2rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#modal-title {
    font-size: 1.6rem;
    font-weight: bold;
    color: #4a2511;
    margin-bottom: 0.4rem;
    border-bottom: 2px solid #d62828;
    padding-bottom: 0.5rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}
#modal-desc {
    font-size: 1rem;
    color: #5a4f41;
    margin-bottom: 0.7rem;
    line-height: 1.5;
}
#modal-preco {
    font-size: 1.3rem;
    color: #d62828;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}
.modal-section-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #4a2511;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}
.modal-section-title::before {
    content: "🍝";
    margin-right: 8px;
    font-size: 1.2rem;
}
.modal-molho .modal-section-title::before {
    content: "��";
}
.modal-acompanhamentos .modal-section-title::before {
    content: "🧀";
}
.modal-molho, .modal-recheio, .modal-acompanhamentos {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px dashed #d1c9b8;
}
.modal-molho label, .modal-recheio label, .modal-acompanhamentos label {
    font-size: 1rem;
    color: #5a4f41;
    display: block;
    margin-bottom: 0.5rem;
}
.obrigatorio {
    background: #f8d7da;
    color: #d62828;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 8px;
    text-transform: uppercase;
    font-weight: bold;
}
.modal-options-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}
.modal-options-container label {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    margin-bottom: 4px;
    border-radius: 6px;
    transition: background-color 0.2s;
}
.modal-options-container label:hover {
    background: rgba(255, 255, 255, 0.8);
}
.modal-options-container input[type="radio"],
.modal-options-container input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #d62828;
}
.molho-preco {
    color: #d62828;
    font-weight: bold;
    margin-left: 4px;
    font-size: 0.9rem;
}
.modal-qtd {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1rem 0;
    background: #fff;
    padding: 10px 15px;
    border-radius: 30px;
    width: fit-content;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
#qtd-menos, #qtd-mais {
    background: #d62828;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
#qtd-menos:hover, #qtd-mais:hover {
    background: #b91e1e;
    transform: scale(1.05);
}
#qtd-valor {
    font-size: 1.2rem;
    min-width: 30px;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    color: #333;
}
#modal-add-btn {
    background: linear-gradient(to right, #1a9f41, #0e7e27);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 0.8rem 2.2rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(26, 159, 65, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
#modal-add-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    z-index: -1;
}
#modal-add-btn:hover {
    box-shadow: 0 6px 15px rgba(26, 159, 65, 0.4);
    transform: translateY(-2px);
}
#modal-add-btn:hover::before {
    width: 100%;
}
#modal-add-preco {
    margin-left: 8px;
    font-weight: normal;
    opacity: 0.9;
}
@media (max-width: 800px) {
    .modal-body {
        flex-direction: column;
        gap: 1.2rem;
        padding: 1.5rem 1rem 1.5rem 1rem;
    }
    .modal-img-col {
        justify-content: center;
    }
    #modal-img {
        max-width: 100%;
    }
    .modal-options-container {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .modal-content {
        border-width: 2px;
    }
    #modal-title {
        font-size: 1.3rem;
    }
    .modal-section-title {
        font-size: 1rem;
    }
    .modal-molho, .modal-recheio, .modal-acompanhamentos {
        padding: 0.8rem;
    }
}
#carrinho-btn {
    position: fixed;
    top: 18px;
    right: 18px;
    background: #d62828;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(214, 40, 40, 0.3);
    z-index: 1100;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    border: 2px solid #fff;
}
#carrinho-btn::before {
    content: "🛒";
    font-size: 1.2rem;
}
#carrinho-btn:hover {
    background: #b91e1e;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(214, 40, 40, 0.4);
}
#carrinho-count {
    background: #fff;
    color: #d62828;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}
.carrinho-content {
    max-width: 380px;
    min-width: 320px;
    padding: 1.5rem 1.2rem 1.8rem 1.2rem;
    align-items: stretch;
    border: 4px solid #fff;
    background: #f8f5f0;
    background-image: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="60" height="60" fill="%23f8f5f0"/><path d="M30 2.5L2.5 30 30 57.5 57.5 30 30 2.5z" stroke="%23e8e2d9" fill="none" stroke-width="0.5"/></svg>');
    position: relative;
    padding-bottom: 2.5rem;
}
.carrinho-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #1a9f41, #fff, #d62828);
    border-radius: 4px 4px 0 0;
}
.carrinho-content::after {
    content: "👨🏻‍🍳";
    position: absolute;
    top: 65px;
    right: 15px;
    font-size: 2.5rem;
    opacity: 0.1;
    transform: rotate(15deg);
}
.carrinho-content h2 {
    color: #4a2511;
    font-family: 'Georgia', 'Times New Roman', serif;
    border-bottom: 2px solid #d62828;
    padding-bottom: 0.7rem;
    margin-bottom: 1.2rem;
    text-align: center;
    font-size: 1.5rem;
    position: relative;
}
.carrinho-content h2::before,
.carrinho-content h2::after {
    content: "🍝";
    font-size: 1.2rem;
    position: absolute;
    top: 0;
}
.carrinho-content h2::before {
    left: 20px;
}
.carrinho-content h2::after {
    right: 20px;
    transform: scaleX(-1);
}
.close-carrinho {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.8rem;
    color: #d62828;
    cursor: pointer;
    font-weight: bold;
    z-index: 10;
    background: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    line-height: 1;
}
#carrinho-itens {
    margin: 1rem 0;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 5px;
    position: relative;
}
#carrinho-itens:empty::after {
    content: "Seu carrinho está vazio";
    display: block;
    text-align: center;
    padding: 2rem 1rem;
    color: #888;
    font-style: italic;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    border: 1px dashed #d1c9b8;
}
.carrinho-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px dashed #d1c9b8;
    padding: 0.8rem 0;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 10px;
    position: relative;
    transition: all 0.2s;
}
.carrinho-item:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.carrinho-item span {
    font-size: 1rem;
    color: #4a2511;
    line-height: 1.3;
}
.carrinho-item .item-preco {
    color: #d62828;
    font-weight: bold;
    margin-top: 5px;
    text-align: right;
    font-size: 0.95rem;
}
.carrinho-item small {
    color: #5a4f41;
    font-size: 0.85rem;
    padding-left: 5px;
    border-left: 2px solid #d1c9b8;
    margin-top: 2px;
    display: block;
    line-height: 1.4;
}
.carrinho-remove {
    background: none;
    border: none;
    color: #d62828;
    font-size: 1.1rem;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 8px;
    right: 8px;
    transition: all 0.2s;
}
.carrinho-remove:hover {
    background: #f8d7da;
    transform: scale(1.1);
}
#carrinho-total {
    font-size: 1.3rem;
    font-weight: bold;
    color: #4a2511;
    margin: 1.5rem 0 1.2rem 0;
    text-align: right;
    font-family: 'Georgia', 'Times New Roman', serif;
    padding-top: 0.5rem;
    border-top: 2px dashed #d1c9b8;
    position: relative;
}
#carrinho-vazio {
    text-align: center;
    padding: 2rem 1rem;
    color: #5a4f41;
    font-style: italic;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    border: 1px dashed #d1c9b8;
}
#carrinho-vazio-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}
#carrinho-vazio p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #888;
}
#finalizar-pedido {
    display: block;
    background: linear-gradient(to right, #1a9f41, #0e7e27);
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(26, 159, 65, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
#finalizar-pedido::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    z-index: -1;
}
#finalizar-pedido:hover {
    box-shadow: 0 6px 15px rgba(26, 159, 65, 0.4);
    transform: translateY(-2px);
}
#finalizar-pedido:hover::before {
    width: 100%;
}
#finalizar-pedido::after {
    content: "📱";
    margin-left: 8px;
}
.carrinho-instrucao {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #5a4f41;
    font-style: italic;
}
.capa-navbar {
    width: 100%;
    min-height: 180px;
    background: url('logo/capa.jpg?v=2') center center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
}
.logo-bg {
    background: rgba(0,0,0,0.65);
    border-radius: 50%;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
    margin-bottom: 0;
}
.logo {
    max-width: 160px;
    height: auto;
    margin-bottom: 0;
    z-index: 2;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
nav#categorias {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 600px) {
    .capa-navbar {
        min-height: 110px;
        padding: 0;
    }
    .logo-bg {
        padding: 8px;
    }
    .logo {
        max-width: 100px;
    }
    nav#categorias {
        margin-top: 18px;
    }
}
.modal-acompanhamentos {
    margin-bottom: 1rem;
}
#acompanhamento-opcoes label {
    font-size: 1rem;
    color: #222;
    margin-right: 1.2rem;
    display: inline-block;
    margin-bottom: 2px;
}
#acompanhamento-opcoes input[type=checkbox] {
    margin-right: 4px;
}
/* Notificação de item adicionado ao carrinho */
.notificacao-carrinho {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: #f8f5f0;
    border: 2px solid #1a9f41;
    border-left: 8px solid #1a9f41;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 2100;
    opacity: 0;
    transition: all 0.3s ease-out;
    max-width: 90%;
    width: 350px;
    overflow: hidden;
}

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

.notificacao-conteudo {
    display: flex;
    align-items: center;
    padding: 15px;
    position: relative;
}

.notificacao-conteudo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a9f41, #fff, #d62828);
}

.notificacao-icone {
    background-color: #1a9f41;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.notificacao-mensagem {
    flex-grow: 1;
}

.notificacao-titulo {
    font-weight: bold;
    color: #4a2511;
    font-size: 1rem;
    margin-bottom: 4px;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.notificacao-subtitulo {
    color: #5a4f41;
    font-size: 0.85rem;
}

.carrinho-animado {
    animation: carrinho-pulso 1s ease;
}

@keyframes carrinho-pulso {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 600px) {
    #carrinho-btn {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    #carrinho-btn::before {
        font-size: 1rem;
    }
    
    .carrinho-content {
        min-width: 90vw;
        max-width: 96vw;
        padding: 1.2rem 0.7rem 1.5rem 0.7rem;
        border-width: 2px;
    }
    
    .carrinho-content h2 {
        font-size: 1.2rem;
    }
    
    .carrinho-content h2::before,
    .carrinho-content h2::after {
        font-size: 1rem;
    }
    
    .close-carrinho, .close-modal {
        width: 28px;
        height: 28px;
        font-size: 1.4rem;
    }
    
    #finalizar-pedido {
        font-size: 1rem;
        padding: 0.8rem 0;
    }
    
    .notificacao-carrinho {
        width: 90%;
    }
}

/* Estado quando tem itens no carrinho */
#carrinho-btn.tem-itens {
    animation: atenção-carrinho 2s infinite;
}

@keyframes atenção-carrinho {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(214, 40, 40, 0.3);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(214, 40, 40, 0.2), 0 4px 12px rgba(214, 40, 40, 0.5);
    }
}

/* Adicionar estilo de scrollbar para o carrinho */
#carrinho-itens::-webkit-scrollbar {
    width: 6px;
}

#carrinho-itens::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#carrinho-itens::-webkit-scrollbar-thumb {
    background: #d1c9b8;
    border-radius: 10px;
}

/* Estilo quando o botão de finalizar estiver desativado */
#finalizar-pedido.desativado {
    cursor: not-allowed;
}

/* Formulário de endereço */
.endereco-form {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    padding: 1.2rem;
    margin: 1.5rem 0;
    border: 1px dashed #d1c9b8;
    position: relative;
}

.endereco-form::before {
    content: "🏠";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    background: #f8f5f0;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #d1c9b8;
}

.endereco-titulo {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #4a2511;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    color: #5a4f41;
    font-weight: 500;
}

.form-group input {
    width: 93%;
    padding: 0.7rem;
    border: 1px solid #d1c9b8;
    border-radius: 6px;
    font-size: 0.95rem;
    background-color: #fff;
    color: #4a2511;
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #d62828;
    box-shadow: 0 0 0 2px rgba(214, 40, 40, 0.1);
}

.form-group input::placeholder {
    color: #bbb;
    font-style: italic;
    font-size: 0.85rem;
}

/* Cliente rua e complemento ocupam toda a largura */
.form-group:nth-child(3),
.form-group:nth-child(6) {
    grid-column: 1 / -1;
}

/* Ajustes para responsividade do formulário */
@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group {
        margin-bottom: 0.7rem;
    }
    
    .endereco-form {
        padding: 1rem;
    }
    
    .endereco-titulo {
        font-size: 1rem;
    }
}

/* Estilos para campo inválido */
.campo-invalido {
    border: 1px solid #d62828 !important;
    background-color: rgba(214, 40, 40, 0.05) !important;
    box-shadow: 0 0 0 2px rgba(214, 40, 40, 0.1) !important;
}

.campo-invalido::placeholder {
    color: rgba(214, 40, 40, 0.5) !important;
}

/* Alerta de formulário */
.alerta-formulario {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -15px;
    background: #f8d7da;
    border: 1px solid #d62828;
    border-radius: 8px;
    padding: 10px;
    margin: 0 10px;
    transform: translateY(100%);
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.alerta-esconder {
    opacity: 0;
}

.alerta-conteudo {
    display: flex;
    align-items: center;
}

.alerta-icone {
    background-color: #d62828;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
}

.alerta-mensagem {
    color: #5a1116;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Botão continuar comprando no carrinho vazio */
.btn-continuar-comprando {
    background: linear-gradient(to right, #d62828, #b91e1e);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(214, 40, 40, 0.3);
    display: inline-block;
    margin-top: 0.5rem;
}

.btn-continuar-comprando:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(214, 40, 40, 0.4);
}

/* Botão voltar para o cardápio */
.btn-voltar-cardapio {
    background: none;
    border: none;
    color: #5a4f41;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    border-radius: 30px;
    transition: all 0.2s;
    font-weight: 500;
    position: relative;
}

.btn-voltar-cardapio::before {
    content: "←";
    margin-right: 8px;
    font-size: 1.1rem;
}

.btn-voltar-cardapio:hover {
    background: rgba(255, 255, 255, 0.6);
    color: #4a2511;
}

/* Estilo para acompanhamentos com quantidades */
.acompanhamentos-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.acompanhamento-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    transition: background-color 0.2s;
}

.acompanhamento-item:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.acomp-info {
    display: flex;
    flex-direction: column;
}

.acomp-nome {
    font-weight: 500;
    color: #4a2511;
}

.acomp-qtd {
    display: flex;
    align-items: center;
    gap: 6px;
}

.acomp-menos, .acomp-mais {
    background: #d62828;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.acomp-menos:hover, .acomp-mais:hover {
    background: #b91e1e;
    transform: scale(1.05);
}

.acomp-valor {
    font-size: 1rem;
    min-width: 24px;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    color: #333;
}

/* Estilo para valor zero */
.acomp-valor:not([data-value="0"]) {
    color: #d62828;
}

/* Ajustes para responsividade */
@media (max-width: 600px) {
    .acomp-menos, .acomp-mais {
        width: 22px;
        height: 22px;
        font-size: 0.9rem;
    }
    
    .acompanhamento-item {
        padding: 6px 8px;
    }
}

/* Estilos do Rodapé */
.footer {
    background: #1a1a1a;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-endereco h3 {
    color: #d62828;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
}

.footer-endereco h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #d62828;
}

.footer-endereco p {
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0.3rem 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#sobre-nos-btn {
    background: none;
    border: 2px solid #d62828;
    color: #d62828;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

#sobre-nos-btn:hover {
    background: #d62828;
    color: #fff;
    transform: translateY(-2px);
}

/* Modal Sobre Nós */
#sobre-nos-modal.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}

#sobre-nos-modal.modal.aberto {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sobre-nos-content {
    max-width: 600px;
    width: 90%;
    padding: 2rem;
    background: #f8f5f0;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    border: 4px solid #fff;
    margin: 20px;
    animation: modalEntrada 0.3s ease-out;
    transform: translateY(0);
    opacity: 1;
}

@keyframes modalEntrada {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sobre-nos-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #1a9f41, #fff, #d62828);
    border-radius: 12px 12px 0 0;
}

.sobre-nos-content h2 {
    color: #4a2511;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid #d62828;
    padding-bottom: 0.7rem;
    position: relative;
}

.sobre-nos-texto {
    color: #5a4f41;
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 1rem;
}

.sobre-nos-texto p {
    margin-bottom: 1.2rem;
}

.sobre-nos-texto p:last-child {
    margin-bottom: 0;
}

.close-sobre-nos {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    color: #d62828;
    cursor: pointer;
    font-weight: bold;
    z-index: 10;
    background: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    line-height: 1;
    transition: all 0.2s;
}

.close-sobre-nos:hover {
    background: #f8f3e9;
    color: #961717;
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .sobre-nos-content {
        padding: 1.5rem;
        margin: 1rem;
        max-width: 95%;
        border-width: 2px;
    }

    .sobre-nos-content h2 {
        font-size: 1.4rem;
    }

    .sobre-nos-texto {
        font-size: 0.95rem;
        padding: 0;
    }

    .close-sobre-nos {
        width: 30px;
        height: 30px;
        font-size: 1.6rem;
        top: 10px;
        right: 10px;
    }
} 