/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Esconder barra de rolagem em todos os navegadores */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding-top: 160px; /* Aumentado significativamente */
    /* Esconder scrollbar mas manter funcionalidade */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

/* Mobile first approach */
@media (max-width: 768px) {
    body {
        padding-top: 240px; /* Muito mais espaço no mobile */
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 260px; /* Espaço máximo em telas pequenas */
    }
}

/* Esconder scrollbar no WebKit (Chrome, Safari, Edge) */
body::-webkit-scrollbar {
    display: none;
}

/* Aplicar scroll invisível para todos os elementos com scroll */
* {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

*::-webkit-scrollbar {
    display: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-height: 130px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    object-position: center;
    background: white;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.logo i {
    margin-right: 10px;
    color: #ffd700;
}

.cart-btn {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.cart-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.cart-count {
    background: #ff4757;
    color: white;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 0.8rem;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

/* Filtros */
.filters {
    background: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-top: 2rem; /* Espaço adicional para mobile */
}

.filters h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 2rem;
    font-weight: bold;
    position: relative;
    z-index: 1;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Mobile adjustments para filtros */
@media (max-width: 768px) {
    .filters {
        padding: 2rem 0;
        margin-top: 2rem;
        padding-top: 3rem; /* Padding extra no topo */
    }
    
    .filters h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        padding: 0 20px;
        margin-top: 1rem; /* Margem extra no topo */
    }
}

@media (max-width: 480px) {
    .filters {
        padding: 1.5rem 0;
        margin-top: 1.5rem;
        padding-top: 2.5rem; /* Padding extra no topo */
    }
    
    .filters h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        padding: 0 15px;
        margin-top: 1rem; /* Margem extra no topo */
    }
}

.filter-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 1.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.filter-btn {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    color: #495057;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    justify-content: center;
    text-align: center;
}

.filter-btn i {
    font-size: 1rem;
    min-width: 16px;
}

.filter-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* Responsividade para filtros */
@media (max-width: 768px) {
    .filter-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .filter-btn i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .filter-buttons {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .filter-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

/* Notificação de filtro */
.filter-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.filter-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.filter-notification i {
    font-size: 1.1rem;
}

/* Catálogo */
.catalog {
    padding: 2rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 2rem;
    padding: 0 10px;
}

/* Mobile responsividade */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.product-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.product-image img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    padding: 15px;
}

.product-image:hover img {
    transform: scale(1.08);
}

.product-info {
    padding: 20px;
}

.product-category {
    color: #667eea;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    background: #f8f9ff;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2d3748;
    line-height: 1.3;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-description {
    color: #718096;
    font-size: 0.85rem;
    margin-bottom: 8px;
    line-height: 1.4;
    font-weight: 500;
    background: #f7f8fa;
    padding: 6px 10px;
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.product-ncm {
    color: #718096;
    font-size: 0.85rem;
    margin-bottom: 8px;
    line-height: 1.4;
    font-weight: 500;
    background: #f7f8fa;
    padding: 6px 10px;
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 15px;
}

.add-to-cart-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

.add-to-cart-btn i {
    margin-right: 8px;
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

/* Modal do Carrinho - Melhorado para Mobile */
.cart-modal {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 100vw;
    max-width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cart-modal.active {
    right: 0;
}

/* Mobile adjustments for cart */
@media (max-width: 768px) {
    .cart-modal {
        width: 100vw;
        max-width: none;
        right: -100vw;
    }
}

@media (max-width: 480px) {
    .cart-modal {
        width: 100vw;
        right: -100vw;
    }
}

.cart-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-cart:hover {
    background: rgba(255,255,255,0.2);
}

.cart-items {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    min-height: 0; /* Permite que o flex item encolha */
    max-height: calc(100vh - 200px); /* Garante espaço para header e footer */
}

.cart-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 1.2rem 0;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
    border-radius: 8px;
    margin-bottom: 8px;
}

.cart-item:hover {
    background: rgba(102, 126, 234, 0.02);
    padding-left: 8px;
    padding-right: 8px;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #6c757d;
    border: 2px solid #e9ecef;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.cart-item-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: white;
    padding: 4px;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #333;
    line-height: 1.3;
}

.cart-item-ref {
    font-size: 0.8rem;
    color: #667eea;
    font-weight: 500;
    margin-bottom: 8px;
    background: rgba(102, 126, 234, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
    letter-spacing: 0.5px;
}

.cart-item-price {
    color: #28a745;
    font-weight: bold;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.quantity-btn {
    background: #667eea;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.quantity-btn:hover {
    background: #5a67d8;
}

.quantity-display {
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.remove-item {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.3s ease;
}

.remove-item:hover {
    background: #c82333;
}

.cart-footer {
    background: #f8f9fa;
    padding: 1.5rem;
    border-top: 1px solid #dee2e6;
    flex-shrink: 0; /* Impede que o footer seja comprimido */
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.cart-total {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #333;
}

.cart-actions {
    display: flex;
    gap: 10px;
}

.btn-clear,
.btn-checkout {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-clear {
    background: #dc3545;
    color: white;
}

.btn-clear:hover {
    background: #c82333;
}

.btn-checkout {
    background: #25d366;
    color: white;
}

.btn-checkout:hover {
    background: #20bc5a;
}

.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;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.empty-cart {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.empty-cart i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #dee2e6;
}

/* Campo de busca - Mobile Responsivo */
.search-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    padding: 0 15px;
}

.search-box {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 1.1rem;
}

.search-box input {
    width: 100%;
    padding: 12px 50px 12px 45px;
    border: 2px solid #dee2e6;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: white;
}

.search-box input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.clear-search {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #f8f9fa;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: all 0.3s ease;
}

.clear-search:hover {
    background: #e9ecef;
    color: #495057;
}

/* Mobile Search */
@media (max-width: 768px) {
    .search-container {
        padding: 0 10px;
        margin-bottom: 1.5rem;
    }
    
    .search-box input {
        padding: 10px 45px 10px 40px;
        font-size: 0.9rem;
    }
    
    .search-box i {
        left: 12px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .search-box input {
        padding: 12px 40px 12px 35px;
        border-radius: 20px;
    }
    
    .search-box i {
        left: 10px;
    }
    
    .clear-search {
        right: 8px;
        width: 28px;
        height: 28px;
    }
}

/* Contador de resultados */
.results-counter {
    text-align: center;
    margin: 1rem auto;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 25px;
    color: #667eea;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.1);
}

/* Mensagem de nenhum produto */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.no-products i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.no-products h3 {
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.no-products p {
    color: #6c757d;
    font-size: 1rem;
}


/* ========================================
   ESTILOS PARA NOTIFICAÇÕES CLICÁVEIS
   ======================================== */

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.notification-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.notification-click-icon {
    font-size: 12px;
    opacity: 0.8;
    animation: pulse 2s infinite;
}

.notification-click-hint {
    font-size: 11px;
    opacity: 0.9;
    text-align: center;
    padding-top: 5px;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 8px;
    font-style: italic;
}

/* Animação de pulso para o ícone de clique */
@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Efeitos hover para notificações clicáveis */
.notification-clickable {
    position: relative;
    overflow: hidden;
}

.notification-clickable::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.notification-clickable:hover::before {
    left: 100%;
}

/* Responsividade para notificações */
@media (max-width: 768px) {
    .notification-content {
        gap: 8px;
    }
    
    .notification-message {
        font-size: 13px;
    }
    
    .notification-click-hint {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .notification-content {
        min-width: 250px;
        max-width: calc(100vw - 40px);
    }
}

/* ========================================
   MODAL DE CONFIRMAÇÃO
   ======================================== */

.confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    animation: fadeIn 0.3s ease;
}

.confirm-modal.active {
    display: flex;
}

.confirm-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    animation: scaleIn 0.3s ease forwards;
}

.confirm-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffc107;
}

.confirm-icon.success {
    color: #28a745;
}

.confirm-icon.error {
    color: #dc3545;
}

.confirm-icon.question {
    color: #17a2b8;
}

.confirm-message {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.5;
    color: #333;
}

.confirm-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-cancel,
.btn-confirm {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-cancel {
    background: #6c757d;
    color: white;
}

.btn-cancel:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-confirm {
    background: #28a745;
    color: white;
}

.btn-confirm:hover {
    background: #218838;
    transform: translateY(-2px);
}

.btn-confirm.warning {
    background: #ffc107;
    color: #212529;
}

.btn-confirm.warning:hover {
    background: #e0a800;
}

.btn-confirm.error {
    background: #dc3545;
}

.btn-confirm.error:hover {
    background: #c82333;
}

.confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 10000;
}

.confirm-overlay.active {
    display: block;
}

@keyframes scaleIn {
    to {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsividade do modal de confirmação */
@media (max-width: 768px) {
    .confirm-content {
        padding: 25px 20px;
        margin: 20px;
    }
    
    .confirm-icon {
        font-size: 2.5rem;
    }
    
    .confirm-message {
        font-size: 1rem;
    }
    
    .confirm-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-cancel,
    .btn-confirm {
        width: 100%;
    }
}

/* Modal de Dados do Cliente */
.customer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.customer-modal.show {
    opacity: 1;
    visibility: visible;
}

.customer-modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.customer-modal.show .customer-modal-content {
    transform: scale(1);
}

.customer-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.customer-modal-header h2 {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.close-customer-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-customer-modal:hover {
    background: rgba(255,255,255,0.2);
}

.customer-modal-body {
    padding: 2rem;
}

.customer-modal-subtitle {
    color: #666;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.customer-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.form-group label i {
    color: #667eea;
    width: 16px;
}

.form-group input {
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input:valid {
    border-color: #28a745;
}

.form-group input::placeholder {
    color: #999;
}

.customer-form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-cancel-customer {
    flex: 1;
    padding: 12px 20px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-cancel-customer:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-finalize-order {
    flex: 2;
    padding: 12px 20px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-finalize-order:hover {
    background: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.customer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.customer-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Responsividade do Modal de Cliente */
@media (max-width: 768px) {
    .customer-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .customer-modal-body {
        padding: 1.5rem;
    }
    
    .customer-form-actions {
        flex-direction: column;
    }
    
    .btn-cancel-customer,
    .btn-finalize-order {
        width: 100%;
    }
}

/* ===== ESTILOS DO CABEÇALHO - CONTATOS ===== */
.contact-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 20px;
}

.contact-header a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.whatsapp-link {
    background: #25d366 !important;
}

.whatsapp-link:hover {
    background: #1fa851 !important;
    transform: translateY(-2px);
}

.phone-link {
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2);
}

.phone-link:hover {
    background: rgba(255,255,255,0.2) !important;
    transform: translateY(-2px);
}

/* Responsividade do cabeçalho */
@media (max-width: 768px) {
    .navbar {
        min-height: 200px; /* Altura fixa maior para mobile */
        padding: 1rem 0;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
        min-height: 180px; /* Altura mínima garantida */
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo img {
        width: 85px;
        height: 85px;
        padding: 8px;
        border-radius: 13px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .contact-header {
        flex-direction: row;
        gap: 10px;
        margin-right: 0;
        justify-content: center;
    }
    
    .contact-header a {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .cart-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .navbar {
        min-height: 220px; /* Altura ainda maior para telas pequenas */
    }
    
    .nav-container {
        padding: 10px 15px;
        min-height: 200px; /* Altura ainda maior para telas pequenas */
    }
    
    .logo {
        font-size: 1.3rem;
        text-align: center;
        flex-direction: row;
        gap: 6px;
    }
    
    .logo img {
        width: 75px;
        height: 75px;
        padding: 7px;
        border-radius: 12px;
    }
    
    .contact-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-header a {
        font-size: 11px;
        padding: 5px 8px;
    }
    
    .cart-btn {
        width: 100%;
        max-width: 180px;
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

/* ===== ESTILOS DO RODAPÉ ===== */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    color: #3498db;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Seção da empresa */
.company-info .company-details {
    margin-top: 15px;
}

.company-name {
    font-weight: 600;
    color: #ecf0f1;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.company-cnpj {
    color: #bdc3c7;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Seção de contato */
.contact-details p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-details a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #3498db;
}

.contact-details .whatsapp a {
    color: #25d366;
}

.contact-details .whatsapp a:hover {
    color: #1fa851;
}

/* Links rápidos */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #3498db;
    padding-left: 5px;
}

.footer-links a:before {
    content: '▶';
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links a:hover:before {
    opacity: 1;
}

/* Rodapé inferior */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #3498db 50%, transparent 100%);
    margin-bottom: 20px;
}

.copyright,
.developed-by {
    color: #95a5a6;
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Responsividade do rodapé */
@media (max-width: 768px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .company-cnpj,
    .contact-details p {
        justify-content: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .copyright,
    .developed-by {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .footer-section h3 {
        font-size: 1.3rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .company-name {
        font-size: 1rem;
    }
}

/* ===== BOTÃO VOLTAR AO TOPO ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.back-to-top:active {
    transform: translateY(-1px);
}

/* Mobile adjustments para botão voltar ao topo */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ===== NOTIFICAÇÕES RESPONSIVAS ===== */
.notification {
    position: fixed;
    top: 150px;
    right: 20px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 10001;
    max-width: 350px;
    word-wrap: break-word;
    animation: slideInRight 0.3s ease;
}

.notification.error {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.notification.warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #212529;
}

.notification.info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.notification-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(0,0,0,0.1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile notifications */
@media (max-width: 768px) {
    .notification {
        top: 200px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 12px 15px;
        border-radius: 8px;
    }
    
    .notification-message {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .notification {
        top: 220px;
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .notification-close {
        width: 18px;
        height: 18px;
        font-size: 14px;
    }
}
