/* ========== RESET E VARIÁVEIS ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF4D4D;
    --primary-dark: #E63946;
    --primary-gradient: linear-gradient(135deg, #FF6B6B 0%, #E63946 100%);
    --secondary: #1a1a2e;
    --text-dark: #1a1a2e;
    --text-medium: #4a4a68;
    --text-light: #8b8ba3;
    --bg-light: #ffffff;
    --bg-white: #ffffff;
    --border: #e8e8ef;
    --success: #10b981;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff !important;
    color: #1a1a2e;
    min-height: 100vh;
    padding-bottom: 80px;
    -webkit-font-smoothing: antialiased;
    margin: 0;
}

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* ========== LOADING SCREEN ========== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-logo-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    animation: pulse-logo 2s ease-in-out infinite;
}

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

.loading-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== HEADER MODERNO ========== */
.header-modern {
    background: #ffffff !important;
    overflow: hidden;
}

.header-banner-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #333;
}

.header-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.8) 100%);
    pointer-events: none;
}

.header-content {
    position: absolute;
    bottom: 20px;
    left: 16px;
    right: 16px;
    display: flex;
    align-items: flex-end;
    gap: 14px;
    z-index: 2;
}

.store-logo-img {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    flex-shrink: 0;
    background: #fff;
}

.store-info {
    flex: 1;
    min-width: 0;
}

.store-info h1 {
    font-size: 22px;
    font-weight: 700;
    color: #fff !important;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.store-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.store-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #10b981 !important;
    color: #fff !important;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.delivery-time {
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Promo Strip */
.promo-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(90deg, #fff5f5 0%, #fff 100%);
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.promo-strip:hover {
    background: #fff0f0;
}

.promo-strip:active {
    transform: scale(0.99);
}

.promo-icon {
    font-size: 18px;
}

.promo-text {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
}

.promo-strip i {
    color: var(--primary);
    font-size: 12px;
}

/* ========== NAVBAR FUNCIONAL ========== */
.main-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.navbar-scroll {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.navbar-scroll::-webkit-scrollbar {
    display: none;
}

.nav-tab {
    flex-shrink: 0;
    padding: 10px 18px !important;
    border: 1px solid #e8e8ef !important;
    background: #f5f5f5 !important;
    color: #4a4a68 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 25px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    outline: none;
    font-family: inherit;
}

.nav-tab:hover {
    background: #eaeaea !important;
    border-color: #ddd !important;
}

.nav-tab.active {
    background: linear-gradient(135deg, #FF6B6B 0%, #E63946 100%) !important;
    color: #fff !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

/* ========== PRODUCTS CONTAINER ========== */
.products-container {
    padding: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.products-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ========== PRODUCT CARD - LISTA VERTICAL ========== */
.product-card-v {
    display: flex !important;
    flex-direction: row !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

.product-card-v:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    transform: translateY(-2px);
}

.product-card-v:active {
    transform: translateY(0) scale(0.99);
}

.product-card-v .product-image {
    width: 130px !important;
    min-width: 130px !important;
    height: 130px !important;
    flex-shrink: 0;
    overflow: hidden;
    padding: 10px;
}

.product-card-v .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    transition: transform 0.4s ease;
}

.product-card-v:hover .product-image img {
    transform: scale(1.05);
}

.product-card-v .product-details {
    flex: 1;
    padding: 12px 14px 12px 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.product-card-v .product-name {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-v .product-desc {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

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

.product-card-v .product-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-card-v .price-original {
    font-size: 11px;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-card-v .price-current {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #E63946 !important;
}

.product-card-v .add-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    border-radius: 50% !important;
    border: none !important;
    background: linear-gradient(135deg, #FF6B6B 0%, #E63946 100%) !important;
    color: #fff !important;
    font-size: 24px !important;
    font-weight: 300;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.product-card-v .add-btn:hover {
    transform: scale(1.1);
}

.product-card-v .add-btn:active {
    transform: scale(0.95);
}

/* Badge de Promoção */
.product-badge-promo {
    position: absolute !important;
    top: 18px !important;
    left: 18px !important;
    background: linear-gradient(135deg, #FF6B6B 0%, #E63946 100%) !important;
    color: #fff !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.4);
    z-index: 5;
}

/* Badge Monte Seu Combo */
.product-badge-combo {
    position: absolute !important;
    top: 18px !important;
    left: 18px !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #fff !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 12px rgba(16, 185, 129, 0.4);
    z-index: 5;
    animation: pulse-combo 2s infinite;
}

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

/* Destaque Monte Seu Combo */
.monte-seu-combo-highlight {
    border: 2px solid #10b981 !important;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25) !important;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(5, 150, 105, 0.08) 100%) !important;
}

/* ========== FLOATING CART BUTTON ========== */
.floating-cart {
    position: fixed;
    bottom: 90px;
    left: 16px;
    right: 16px;
    z-index: 1000;
    animation: slideUp 0.4s ease;
}

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

.floating-cart-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: var(--primary-gradient);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.4);
    transition: var(--transition);
}

.floating-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(230, 57, 70, 0.5);
}

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

.cart-icon-badge {
    position: relative;
    color: #fff;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #fff;
    color: var(--primary-dark);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-info {
    flex: 1;
    text-align: left;
}

.cart-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.cart-total {
    display: block;
    font-size: 16px;
    color: #fff;
    font-weight: 700;
}

.floating-cart-btn > i {
    color: #fff;
    font-size: 14px;
}

/* ========== BOTTOM NAV MODERNA ========== */
.bottom-nav-modern {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    display: flex;
    justify-content: space-around;
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
    z-index: 999;
}

.nav-item-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 16px;
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition);
}

.nav-item-modern i {
    font-size: 20px;
}

.nav-item-modern span {
    font-size: 11px;
    font-weight: 500;
}

.nav-item-modern.active {
    color: var(--primary);
}

.nav-item-modern.active i {
    transform: scale(1.1);
}

/* ========== MODAIS ========== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    background: var(--bg-white);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
    animation: slideUpModal 0.3s ease;
}

@keyframes slideUpModal {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg-light);
    color: var(--text-medium);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-btn:hover {
    background: #eee;
}

/* ========== MODAL PRODUTO ========== */
.modal-produto-content {
    max-height: 95vh;
    overflow-y: auto;
}

.close-btn-produto {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.95);
    color: var(--text-dark);
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.close-btn-produto:hover {
    transform: scale(1.1);
}

.produto-image-carousel {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.produto-image-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.produto-details {
    padding: 20px;
}

.produto-details h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.produto-details p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 16px;
}

.produto-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.promo-badge {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffebee 100%);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(230, 57, 70, 0.2);
    margin-bottom: 20px;
}

.promo-badge svg {
    color: var(--primary);
    flex-shrink: 0;
}

.promo-badge strong {
    display: block;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.promo-badge p {
    font-size: 12px;
    color: var(--text-medium);
    margin: 0;
}

/* Extras Section */
.extras-section {
    margin-bottom: 20px;
}

.extras-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.extras-subtitle {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
}

/* Observações */
.observacoes-section {
    margin-bottom: 20px;
}

.observacoes-section label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.observacoes-section textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    resize: none;
    min-height: 80px;
    font-family: inherit;
    transition: var(--transition);
}

.observacoes-section textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.char-count {
    display: block;
    text-align: right;
    font-size: 11px;
    color: var(--text-light);
    margin-top: 4px;
}

/* Produto Footer */
.produto-footer {
    position: sticky;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    padding: 8px 12px;
    border-radius: var(--radius-md);
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--bg-white);
    color: var(--text-dark);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.qty-btn:hover {
    background: #eee;
}

.quantity-selector span {
    font-size: 18px;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.add-to-cart-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--primary-gradient);
    border: none;
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.add-to-cart-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

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

/* ========== NOTIFICAÇÕES ========== */
#notification-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    background: var(--text-dark);
    color: #fff;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    animation: notifSlide 0.3s ease;
}

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

/* ========== EMPTY STATE ========== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state svg {
    margin-bottom: 16px;
    color: var(--text-light);
}

.empty-state h3 {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    color: var(--text-light);
}

/* ========== ANIMAÇÕES GLOBAIS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card-v {
    animation: fadeInUp 0.4s ease;
    animation-fill-mode: both;
}

.product-card-v:nth-child(1) { animation-delay: 0.05s; }
.product-card-v:nth-child(2) { animation-delay: 0.1s; }
.product-card-v:nth-child(3) { animation-delay: 0.15s; }
.product-card-v:nth-child(4) { animation-delay: 0.2s; }
.product-card-v:nth-child(5) { animation-delay: 0.25s; }

/* ========== RESPONSIVO ========== */
@media (max-width: 380px) {
    .product-card-v .product-image {
        width: 100px;
        height: 100px;
    }
    
    .product-card-v .product-name {
        font-size: 14px;
    }
    
    .product-card-v .price-current {
        font-size: 15px;
    }
}

/* ========== ESTILOS ANTIGOS NECESSÁRIOS PARA MODAIS ========== */
.modal-small {
    max-width: 400px;
}

.modal-sacola-content,
.modal-checkout-content,
.modal-endereco-content {
    max-height: 90vh;
    overflow-y: auto;
}

/* Form inputs */
.form-input {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-row .form-group {
    flex: 1;
}

.form-row .form-group.small {
    flex: 0 0 80px;
}

/* Buttons globais */
.btn-primary {
    width: 100%;
    padding: 16px;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-secondary {
    width: 100%;
    padding: 16px;
    background: var(--bg-light);
    color: var(--text-dark);
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: #eee;
}

/* ========== MODAL PROMOÇÃO ========== */
.modal-promocao-content {
    max-width: 400px;
    background: var(--bg-white);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
    padding: 0;
}

.modal-promocao-content .close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--bg-light);
    color: var(--text-medium);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.promocao-header {
    text-align: center;
    padding: 28px 20px 20px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffebee 100%);
    border-bottom: 1px solid var(--border);
}

.promocao-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.promocao-icon i {
    font-size: 26px;
    color: #fff;
}

.promocao-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--text-dark);
}

.promocao-destaque {
    font-size: 14px;
    color: var(--text-medium);
    margin: 0;
}

.promocao-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.promocao-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.promocao-info:hover {
    background: #eee;
}

.promocao-info i {
    color: var(--success);
    font-size: 18px;
    flex-shrink: 0;
}

.promocao-info span {
    font-size: 14px;
    color: var(--text-dark);
}

.promocao-footer {
    padding: 16px 20px 24px;
    text-align: center;
}

.promocao-aviso {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 14px;
}

.btn-promocao {
    width: 100%;
    padding: 16px;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-promocao:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

/* ========== MODAL REVIEWS ========== */
.modal-reviews-content {
    max-height: 85vh;
    overflow-y: auto;
}

.reviews-modal-body {
    padding: 0;
}

.reviews-header {
    padding: 20px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.reviews-rating {
    text-align: center;
}

.reviews-rating .rating-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.reviews-rating .rating-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 8px 0;
}

.reviews-rating .rating-stars i {
    color: #ffc107;
    font-size: 18px;
}

.reviews-rating .rating-text {
    font-size: 14px;
    color: var(--text-dark);
    margin: 0;
}

.reviews-rating .rating-total {
    font-size: 12px;
    color: var(--text-light);
    margin: 4px 0 0;
}

.reviews-list {
    display: flex;
    flex-direction: column;
}

.review-item {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.review-item:hover {
    background: var(--bg-light);
}

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

.review-content {
    flex: 1;
}

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

.review-header h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-score {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-stars i {
    color: #ffc107;
    font-size: 12px;
}

.review-text {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.5;
    margin: 0;
}

.review-image {
    flex-shrink: 0;
}

.review-image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.review-image img:hover {
    transform: scale(1.05);
}

/* ========== MODAL PEDIDOS ========== */
.modal-pedidos-content {
    max-height: 85vh;
    overflow-y: auto;
}

.pedidos-list {
    padding: 0;
}

.pedido-item {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.pedido-item:hover {
    background: var(--bg-light);
}

/* ========== ACCOUNT EMPTY STATE ========== */
.account-empty {
    text-align: center;
    padding: 40px 20px;
}

.account-empty-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.account-empty-icon svg {
    color: var(--text-light);
}

.account-empty h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.account-empty p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

.account-cta {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.account-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

/* ========== SPINNER ========== */
.spinner-container {
    display: flex;
    justify-content: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ========== PROMO CARD ========== */
.promo-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffebee 100%);
    padding: 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.promo-card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.promo-card-icon svg {
    color: #fff;
}

.promo-card-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.promo-card-content p {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.4;
    margin: 0;
}

.promo-categories {
    margin-bottom: 16px;
}

.promo-category-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.promo-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.promo-tag {
    background: var(--bg-light);
    color: var(--text-medium);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.promo-example {
    background: var(--bg-light);
    padding: 14px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.promo-example-title {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.promo-example p {
    font-size: 14px;
    color: var(--success);
    font-weight: 600;
    margin: 0;
}

.promo-cta {
    width: 100%;
    padding: 16px;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.promo-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.promo-explanation {
    padding: 20px;
}

/* ========== COOKIES BANNER ========== */
.cookies-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 24px 20px;
    z-index: 9999;
    box-shadow: 0 -6px 30px rgba(0,0,0,0.25);
    transform: translateY(0);
    transition: transform 0.4s ease;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.cookies-banner.hidden {
    transform: translateY(100%);
}

.cookies-content {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.cookies-content p {
    font-size: 14px;
    color: #e0e0e0;
    margin: 0;
    flex: 1;
    min-width: 200px;
    text-align: center;
    line-height: 1.5;
}

.cookies-content a {
    color: #FF6B6B;
    text-decoration: underline;
}

.cookies-accept {
    background: linear-gradient(135deg, #FF6B6B 0%, #E63946 100%);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookies-accept:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

/* ========== SITE FOOTER ========== */
.site-footer {
    background: #f8f9fc;
    border-top: 1px solid #e8e8ef;
    padding: 12px 16px;
    margin-bottom: 70px;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.footer-cnpj {
    font-size: 12px;
    color: #8b8ba3;
}

.footer-report {
    background: transparent;
    border: none;
    color: #4a4a68;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-report:hover {
    background: #eee;
    color: #E63946;
}

.footer-report i {
    font-size: 12px;
}

/* ========== MODAL REPORT ========== */
.modal-report-content {
    max-width: 420px;
    padding: 0;
}

.report-body {
    padding: 24px;
}

.report-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 16px;
}

.report-desc {
    font-size: 14px;
    color: #4a4a68;
    line-height: 1.5;
    margin-bottom: 12px;
}

.report-note {
    font-size: 13px;
    color: #8b8ba3;
    font-style: italic;
    margin-bottom: 20px;
}

#report-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e8e8ef;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    resize: none;
    transition: all 0.3s ease;
}

#report-form textarea:focus {
    outline: none;
    border-color: #E63946;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.report-counter {
    text-align: right;
    font-size: 12px;
    color: #8b8ba3;
    margin-top: 6px;
    margin-bottom: 16px;
}

.report-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #FF6B6B 0%, #E63946 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.report-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.report-loading {
    text-align: center;
    padding: 60px 24px;
}

.report-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e8e8ef;
    border-top-color: #E63946;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 0.8s linear infinite;
}

.report-loading h3 {
    font-size: 16px;
    color: #4a4a68;
}

.report-success {
    text-align: center;
    padding: 40px 24px;
}

.report-success-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.report-success-icon i {
    font-size: 32px;
    color: #fff;
}

.report-success h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.report-success p {
    font-size: 14px;
    color: #4a4a68;
    line-height: 1.5;
    margin-bottom: 8px;
}

.report-close-btn {
    margin-top: 20px;
    padding: 12px 32px;
    background: #f5f5f5;
    color: #1a1a2e;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.report-close-btn:hover {
    background: #eee;
}

/* ========== MODAL POLÍTICAS ========== */
.modal-politicas-content {
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-politicas-content .modal-header {
    padding: 20px;
    border-bottom: 1px solid #e8e8ef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-politicas-content .modal-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
}

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

.politicas-body h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 16px 0 8px;
}

.politicas-body h3:first-child {
    margin-top: 0;
}

.politicas-body p {
    font-size: 14px;
    color: #4a4a68;
    line-height: 1.6;
    margin: 0;
}

/* ========== SEARCH BAR ========== */
.search-bar-container {
    position: sticky;
    top: 0;
    z-index: 150;
    background: #fff;
    padding: 12px 16px;
    border-bottom: 1px solid #e8e8ef;
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 12px;
    padding: 0 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.search-bar:focus-within {
    background: #fff;
    border-color: #E63946;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.search-icon {
    color: #8b8ba3;
    font-size: 16px;
    margin-right: 10px;
}

.search-bar:focus-within .search-icon {
    color: #E63946;
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 0;
    font-size: 15px;
    color: #1a1a2e;
    outline: none;
    font-family: inherit;
}

.search-bar input::placeholder {
    color: #8b8ba3;
}

.search-clear {
    background: none;
    border: none;
    color: #8b8ba3;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.search-clear:hover {
    color: #E63946;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    max-height: 350px;
    overflow-y: auto;
    z-index: 200;
    margin-top: 4px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

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

.search-result-item:hover {
    background: #f8f9fc;
}

.search-result-item img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-name mark {
    background: #ffe0b2;
    color: #1a1a2e;
    border-radius: 2px;
    padding: 0 2px;
}

.search-result-price {
    font-size: 14px;
    font-weight: 700;
    color: #E63946;
}

.search-no-results {
    padding: 24px;
    text-align: center;
    color: #8b8ba3;
    font-size: 14px;
}

.search-no-results i {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
    opacity: 0.5;
}

/* ========== NOTIFICAÇÕES ========== */
#notification-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: calc(100% - 32px);
    max-width: 400px;
    pointer-events: none;
}

.notification {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #1a1a2e;
    color: #fff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    animation: slideDown 0.3s ease;
    pointer-events: auto;
}

.notification.hiding {
    animation: slideUp 0.3s ease forwards;
}

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

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

.notification.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.notification.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.notification.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.notification.info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.notification-icon {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.notification-message {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    color: #fff;
}

/* ========== CART BAR (Ver meu pedido) ========== */
.cart-bar {
    position: fixed;
    bottom: 60px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    animation: slideUpCart 0.3s ease;
    pointer-events: auto;
}

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

.cart-bar-content {
    background: linear-gradient(135deg, #FF6B6B 0%, #E63946 100%);
    border-radius: 0;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-bar-content:hover {
    background: linear-gradient(135deg, #E63946 0%, #d32f3f 100%);
}

.cart-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-bar-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-bar-icon i {
    font-size: 18px;
    color: #fff;
    animation: pulse 2s infinite;
}

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

.cart-bar-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    background: #fff;
    color: #E63946;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.cart-bar-text {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.cart-bar-total {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}
