/* Estilos do Cardápio */
.cardapio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 70vh;
}

.cardapio-container h1 {
    text-align: center;
    color: #1a1a1a;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cardapio-subtitle {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Info do Serviço */
.service-info {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0.75rem;
    background: var(--branco);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.info-item {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: #666;
}

.info-item strong {
    color: #1a1a1a;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.85rem;
}

.status-badge.disponivel {
    background: #d4edda;
    color: #155724;
}

.status-badge.indisponivel {
    background: #f8d7da;
    color: #721c24;
}

/* Categorias */
.categorias {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cat-btn {
    padding: 0.5rem 1rem;
    border: 1.5px solid #1a1a1a;
    background: var(--branco);
    color: #1a1a1a;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.cat-btn:hover,
.cat-btn.active {
    background: #1a1a1a;
    color: var(--branco);
}

/* Grid de Produtos */
.produtos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .produtos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.produto-card {
    background: var(--branco);
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    text-align: left;
    position: relative;
}

.produto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

.produto-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    background: var(--cinza);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.produto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.produto-card h3 {
    color: #1a1a1a;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.produto-price {
    color: #616161;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0;
}

.produto-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.add-to-cart-btn {
    background: #1a1a1a !important;
    color: #ffffff !important;
    border: none;
    padding: 0;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
    flex-shrink: 0;
}

.add-to-cart-btn i {
    color: #ffffff !important;
    font-size: 1.3rem;
    display: inline-block !important;
    line-height: 1;
}

.add-to-cart-btn:hover {
    background: #2a2a2a;
}

/* Carrinho Flutuante */
.cart-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2290d4 !important;
    color: #ffffff !important;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.cart-floating i {
    color: #ffffff !important;
    font-size: 1.5rem;
    display: inline-block !important;
    line-height: 1;
}

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

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Notificação */
.cart-notification {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: #22c55e;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    z-index: 1001;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.cart-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.cart-notification i {
    font-size: 1.2rem;
}

/* Painel do Carrinho */
.cart-panel {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100%;
    background: var(--branco);
    box-shadow: -2px 0 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: right 0.3s;
    display: flex;
    flex-direction: column;
}

.cart-panel.open {
    right: 0;
}

.cart-header {
    background: #1a1a1a;
    color: var(--branco);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    background: none;
    border: none;
    color: var(--branco);
    font-size: 2rem;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.empty-cart {
    text-align: center;
    color: #999;
    margin-top: 2rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.cart-item-info h4 {
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.cart-item-price {
    color: #616161;
    font-weight: bold;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    background: #1a1a1a;
    color: var(--branco);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
}

.qty-display {
    min-width: 35px;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
}

/* Botões grandes para modal de quantidade */
.qty-btn-large {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: var(--branco);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.3rem;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.qty-btn-large:hover {
    background: linear-gradient(135deg, #2a2a2a, #3a3a3a);
    transform: scale(1.05);
}

.qty-btn-large:active {
    transform: scale(0.95);
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin: 2.5rem 0;
}

.quantity-selector input {
    width: 100px;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    border: 3px solid #1a1a1a;
    border-radius: 15px;
    padding: 1rem;
    background: var(--cinza);
    color: #1a1a1a;
}

/* Modal de quantidade customizado */
.modal-quantity {
    max-width: 450px;
    text-align: center;
    padding: 2.5rem;
}

.modal-quantity h2 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Botão adicionar ao carrinho */
.btn-add-cart {
    width: 100%;
    background: linear-gradient(135deg, #43b5fe, #52bcfd);
    color: var(--branco);
    border: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(254, 82, 82, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, #3a9cda, #459fd6);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(254, 82, 82, 0.4);
}

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

/* Modal de nome customizado */
.modal-name {
    max-width: 450px;
    text-align: center;
    padding: 2.5rem;
}

.modal-name h2 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
}

.modal-subtitle {
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.input-wrapper {
    margin-bottom: 2rem;
}

.input-wrapper input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
    background: var(--cinza);
}

.input-wrapper input:focus {
    outline: none;
    border-color: #43b5fe;
    background: var(--branco);
    box-shadow: 0 0 0 3px rgba(254, 82, 82, 0.1);
}

.input-wrapper input::placeholder {
    color: #999;
}

/* Botão WhatsApp */
.btn-whatsapp {
    width: 100%;
    background: linear-gradient(135deg, #25D366, #20BA5A);
    color: var(--branco);
    border: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #20BA5A, #1DA851);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

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

.btn-whatsapp i {
    font-size: 1.3rem;
}

.remove-btn {
    background: #ff4444;
    color: var(--branco);
    border: none;
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 0.5rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 2px solid #eee;
    background: var(--cinza);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.checkout-btn {
    background: #43b5fe;
    color: var(--branco);
    border: none;
    padding: 1rem;
    border-radius: 25px;
    width: 100%;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.checkout-btn:hover {
    transform: scale(1.05);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

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

.modal-content {
    background: var(--branco);
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.modal-content h2 {
    color: var(--azul-marinho);
    margin-bottom: 1.5rem;
    text-align: center;
}

.order-summary {
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--cinza);
    border-radius: 10px;
}

.modal-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

.modal-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--azul-marinho);
    text-align: right;
    font-size: 1.3rem;
    color: var(--azul-marinho);
}

.pix-section {
    margin-bottom: 2rem;
}

.pix-section h3 {
    color: var(--azul-marinho);
    margin-bottom: 1rem;
}

.pix-key {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pix-key input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #43b5fe;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
    font-weight: bold;
}

.copy-btn {
    background: #1a1a1a;
    color: var(--branco);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.pix-instruction {
    text-align: center;
    color: #666;
    margin-top: 1rem;
}

.whatsapp-btn {
    background: var(--verde-whats);
    color: var(--branco);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    width: 100%;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
}

/* Responsividade */
@media (max-width: 768px) {
    .cart-panel {
        width: 100%;
        right: -100%;
    }
}
