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

:root {
    --primary-color: #000000;
    --text-color: #333333;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --bg-gray: #f5f5f5;
    --green: #00b14f;
    --red: #ff3d00;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: var(--text-color);
    padding-top: 40px;
    padding-bottom: 80px;
    min-height: 100vh;
}

/* Bloquear scroll quando modal está aberto */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    width: 100vw;
    height: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    -webkit-overflow-scrolling: touch;
}

/* Garantir que o HTML também não role */
html.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    width: 100vw;
    height: 100%;
    height: 100vh;
}

/* Prevenir zoom em inputs no iOS */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    font-size: 16px !important; /* Previne zoom automático no iOS */
}

/* Garantir que inputs não quebrem layout quando teclado abre */
.form-input,
.form-input:focus {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Prevenir scroll horizontal quando teclado abre */
body.modal-open,
html.modal-open,
.modal.active {
    max-width: 100vw;
    overflow-x: hidden !important;
}

.container {
    max-width: 100%;
    padding: 0 16px;
}

/* ========== FITA PROMOCIONAL INFINITA ========== */
.promo-ticker {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 2px solid #000000;
    overflow: hidden;
    z-index: 9999;
    height: 40px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: scroll-ticker 25s linear infinite;
}

.ticker-item {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    padding: 0 40px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

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

/* ========== HEADER ========== */
.header {
    background: white;
}

.header-banner {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.header-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0% 68%;
}

.header-info {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    width: 80px;
    height: 80px;
    margin: -40px auto 12px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo-icon {
    background-color: red;
    border-radius: 66px;
}

.header-info h1 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.separator {
    color: var(--border-color);
}

.info-link {
    color: var(--text-secondary);
    text-decoration: underline;
}

.status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.status.open {
    background-color: #e8f5e9;
    color: var(--green);
}

/* ========== DELIVERY INFO ========== */
.delivery-info {
    padding: 16px;
    border-bottom: 8px solid var(--bg-gray);
}

.delivery-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 12px;
}

.delivery-card svg:first-child {
    color: var(--text-secondary);
}

.delivery-card span {
    flex: 1;
    font-size: 14px;
    color: var(--text-color);
}

.delivery-card svg:last-child {
    color: var(--text-secondary);
}

.free-delivery {
    text-align: center;
    font-size: 15px;
    color: #00a03e;
    font-weight: 600;
    padding: 12px;
    background: #e8f5e9;
    border-radius: 8px;
}

/* ========== URGENCY BANNER ========== */
.urgency-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 4px solid #ff9800;
    margin: 0 16px 12px;
    border-radius: 8px;
    animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% {
        border-left-color: #ff9800;
    }
    50% {
        border-left-color: #f57c00;
    }
}

.urgency-icon {
    font-size: 28px;
    animation: shake 3s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-5deg); }
    20%, 40% { transform: rotate(5deg); }
    50% { transform: rotate(0deg); }
}

.urgency-content {
    flex: 1;
}

.urgency-content strong {
    display: block;
    font-size: 14px;
    color: #e65100;
    margin-bottom: 4px;
    font-weight: 600;
}

.urgency-content p {
    font-size: 12px;
    color: #f57c00;
    margin: 0;
}

.urgency-content span {
    font-weight: 600;
    color: #e65100;
    transition: all 0.3s ease;
    display: inline-block;
}

/* ========== SOCIAL PROOF BANNER ========== */
.social-proof-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left: 4px solid #4caf50;
    margin: 0 16px 16px;
    border-radius: 8px;
    gap: 12px;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

.reviews-text strong {
    display: block;
    font-size: 16px;
    color: #2e7d32;
    font-weight: 700;
    line-height: 1.2;
}

.reviews-text p {
    font-size: 11px;
    color: #388e3c;
    margin: 0;
}

.trust-badges {
    display: flex;
    gap: 12px;
}

.trust-badges .badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.trust-badges .badge i {
    font-size: 18px;
    color: #4caf50;
}

.trust-badges .badge span {
    font-size: 10px;
    color: #2e7d32;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

/* Responsivo para telas menores */
@media (max-width: 400px) {
    .social-proof-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .trust-badges {
        width: 100%;
        justify-content: space-around;
    }
}

/* ========== REVIEWS BUTTON ========== */
.reviews-button {
    width: 100%;
    padding: 16px;
    margin: 0;
    background: #fff;
    border: none;
    border-bottom: 8px solid var(--bg-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.reviews-button:hover {
    background: #f8f8f8;
}

.reviews-button-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.reviews-button-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

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

.reviews-button-rating .rating-stars {
    display: flex;
    gap: 2px;
}

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

.reviews-button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.reviews-button-text strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
}

.reviews-button-text span {
    font-size: 13px;
    color: var(--text-secondary);
}

.reviews-button > i {
    color: var(--text-secondary);
    font-size: 18px;
}

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

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

.reviews-modal-body .reviews-header {
    text-align: center;
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
    background: #f8f8f8;
}

.reviews-modal-body .reviews-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.reviews-modal-body .rating-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
}

.reviews-modal-body .rating-stars {
    display: flex;
    gap: 4px;
}

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

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

.reviews-modal-body .rating-text strong {
    font-weight: 600;
}

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

.reviews-modal-body .reviews-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.reviews-modal-body .review-item {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border: none;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    background: #fff;
    transition: background 0.2s ease;
}

.reviews-modal-body .review-item:hover {
    background: #f8f8f8;
    box-shadow: none;
    transform: none;
}

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

.reviews-modal-body .review-content {
    flex: 1;
}

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

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

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

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

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

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

.reviews-modal-body .review-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.reviews-modal-body .review-image {
    flex-shrink: 0;
}

.reviews-modal-body .review-image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

/* ========== PROMOTION BANNER ========== */
.promotion-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    padding: 16px;
    margin: 0;
    border: none;
    border-bottom: 8px solid var(--bg-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.promotion-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

.promotion-banner:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.promotion-content {
    flex: 1;
    z-index: 1;
}

.promotion-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.promotion-title i {
    animation: pulse 1.5s infinite;
}

.promotion-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.promotion-banner > i {
    color: #fff;
    font-size: 18px;
    z-index: 1;
}

/* ========== MODAL DE PROMOÇÃO ========== */
.modal-promocao-content {
    max-width: 450px;
    background: #fff !important;
    border-radius: 20px;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-promocao-content .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f5f5f5;
    color: #333;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-promocao-content .close-btn:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.promocao-header {
    text-align: center;
    padding: 40px 30px 30px;
    background: #f8f9fa;
    position: relative;
    border-bottom: 2px solid #e9ecef;
}

.promocao-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
}

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

.promocao-header h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 8px;
    color: #1a1a1a !important;
}

.promocao-destaque {
    font-size: 16px;
    font-weight: 600;
    color: #666 !important;
    margin: 0;
}

.promocao-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fff;
}

.promocao-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.promocao-info:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.promocao-info i {
    color: #4ade80;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.promocao-info span {
    font-size: 14px;
    line-height: 1.5;
    color: #333 !important;
}

.promocao-footer {
    padding: 20px 30px 30px;
    text-align: center;
    background: #fff;
}

.promocao-aviso {
    font-size: 14px;
    font-weight: 600;
    color: #ff6b6b !important;
    margin: 0 0 16px;
    animation: pulse 2s infinite;
}

.btn-promocao {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: #fff !important;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-promocao:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

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

/* ========== BADGES COLORIDOS PROFISSIONAIS (ELEGANTES) ========== */
.badge-laranja,
.badge-vermelho,
.badge-azul,
.badge-preto,
.badge-verde {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 2px 6px;
    font-size: 0.65rem;
    font-weight: 600;
    z-index: 2;
    border-radius: 4px;
    text-align: center;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    text-transform: uppercase;
    max-width: fit-content;
    opacity: 0.95;
    margin-bottom: 8px;
}

/* 🔶 Laranja - Promoções (Combos, Yakisoba, Temaki) */
.badge-laranja {
    background: #EF6C00;
    color: white;
}

/* 🔴 Vermelho - Hot Rolls */
.badge-vermelho {
    background: #ef4444;
    color: white;
}

/* 🔵 Azul - Fresh/Crudos (Tartar, Joe, Sashimi) */
.badge-azul {
    background: #3b82f6;
    color: white;
}

/* ⭐ Preto com Dourado - Premium/Omakase */
.badge-preto {
    background: rgba(0, 0, 0, 0.90);
    color: #FFD54F;
    font-weight: 500;
    text-shadow: 0 0 6px rgba(255, 213, 79, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 🌱 Verde - Veganos/Especiais */
.badge-verde {
    background: #10b981;
    color: white;
}

/* ========== CATEGORIES BAR - ESTILO FITA ========== */
.categories-bar {
    background: #000000;
    padding: 12px 0;
    position: sticky;
    top: 40px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.categories-scroll {
    display: flex;
    gap: 8px;
    padding: 0 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.categories-scroll::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.category-item {
    flex-shrink: 0;
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 20px;
    white-space: nowrap;
    position: relative;
}

.category-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.category-item.active {
    background: #ffffff;
    color: #000000;
    font-weight: 600;
}

.category-item.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #ffffff;
}

/* Bullets coloridos nas categorias */
.bullet {
    font-size: 16px;
    font-weight: 900;
    margin-right: 6px;
    display: inline-block;
}

.bullet-neutral {
    color: #9ca3af;
    text-shadow: 0 0 6px rgba(156, 163, 175, 0.3);
}

.bullet-gold {
    color: #FFD54F;
    text-shadow: 0 0 10px rgba(255, 213, 79, 0.6);
}

.bullet-orange {
    color: #f97316;
    text-shadow: 0 0 8px rgba(249, 115, 22, 0.5);
}

.bullet-red {
    color: #ef4444;
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.bullet-blue-dark {
    color: #1e40af;
    text-shadow: 0 0 8px rgba(30, 64, 175, 0.5);
}

.bullet-blue-light {
    color: #60a5fa;
    text-shadow: 0 0 8px rgba(96, 165, 250, 0.5);
}

.bullet-green {
    color: #10b981;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

/* Cores por categoria para orientação visual */
.category-item[data-color="gold"] {
    border-left: 3px solid #FFD54F;
}

.category-item[data-color="gold"].active {
    background: #fffbeb;
    border-left: 3px solid #FFD54F;
}

.category-item[data-color="orange"] {
    border-left: 3px solid #f97316;
}

.category-item[data-color="orange"].active {
    background: #fff7ed;
    border-left: 3px solid #f97316;
}

.category-item[data-color="red"] {
    border-left: 3px solid #ef4444;
}

.category-item[data-color="red"].active {
    background: #fef2f2;
    border-left: 3px solid #ef4444;
}

.category-item[data-color="blue-dark"] {
    border-left: 3px solid #1e40af;
}

.category-item[data-color="blue-dark"].active {
    background: #dbeafe;
    border-left: 3px solid #1e40af;
}

.category-item[data-color="blue-light"] {
    border-left: 3px solid #60a5fa;
}

.category-item[data-color="blue-light"].active {
    background: #eff6ff;
    border-left: 3px solid #60a5fa;
}

.category-item[data-color="green"] {
    border-left: 3px solid #10b981;
}

.category-item[data-color="green"].active {
    background: #f0fdf4;
    border-left: 3px solid #10b981;
}

.search-container {
    padding: 12px 16px;
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.search-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ========== PRODUCTS ========== */
.section {
    padding: 20px 16px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.products-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 8px;
}

.product-card {
    flex: 0 0 calc(50% - 6px);
    width: calc(50% - 6px);
    max-width: calc(50% - 6px);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.5s ease backwards;
}

/* Delay progressivo para cada card */
.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }

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

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.product-card:active {
    transform: translateY(-4px) scale(1.01);
}

/* Shimmer effect ao passar o mouse */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.product-card:hover::before {
    left: 100%;
}

.product-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: 6px;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.product-badge.recommended {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    color: white;
}

.product-badge.popular {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
}

.product-info {
    padding: 8px;
}

.product-icon {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-size: 16px;
    transition: all 0.3s ease;
    z-index: 2;
}

.product-card:hover .product-icon {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.product-info h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.product-info p {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.micro-urgencia {
    font-size: 10px;
    color: #9ca3af;
    margin: 4px 0;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.product-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 11px;
    font-weight: 400;
}

.discount-price {
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.product-card:hover .discount-price {
    transform: scale(1.1);
    color: #d32f2f;
}

.discount-badge {
    background: rgba(0, 0, 0, 0.90);
    color: rgba(255, 255, 255, 0.85);
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 4px rgba(0, 0, 0, 0);
    }
}

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

.product-card-list {
    display: flex;
    gap: 12px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.product-card-list img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    flex-shrink: 0;
}

.product-card-list .product-info {
    flex: 1;
    padding: 12px;
    padding-left: 0;
}

/* ========== BOTTOM BAR ========== */
.bottom-bar {
    position: fixed;
    bottom: 60px;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: white;
    border-top: 1px solid var(--border-color);
    z-index: 100;
}

.bag-button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.bag-icon-wrapper {
    position: relative;
}

.bag-count {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    background: var(--red);
    color: white;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bag-total {
    margin-left: auto;
}

/* ========== BOTTOM NAVIGATION ========== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    background: white;
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 11px;
}

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

.nav-item svg {
    width: 24px;
    height: 24px;
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height */
    z-index: 999999;
    -webkit-overflow-scrolling: touch;
    isolation: isolate; /* Cria novo contexto de empilhamento */
}

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

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999998;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 100vw;
    background: white;
    border-radius: 16px 16px 0 0;
    max-height: 90vh;
    max-height: 90dvh; /* Dynamic viewport height para iOS */
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    z-index: 999999;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

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

.close-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
}

/* ========== MODAL PRODUTO ========== */
.modal-produto-content {
    max-height: 95vh;
    padding-bottom: 80px;
}

.close-btn-produto {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.produto-image-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
}

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

.produto-details {
    padding: 20px 16px;
}

.produto-details h2 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
}

.produto-details > p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 10px;
}

.produto-details .produto-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 16px;
}

.loyalty-badge {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--bg-gray);
    border-radius: 8px;
    margin-bottom: 20px;
}

.loyalty-badge svg {
    flex-shrink: 0;
    color: var(--text-secondary);
}

.loyalty-badge strong {
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
}

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

.extras-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.extras-section:last-of-type {
    border-bottom: none;
}

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

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

.extra-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.extra-info {
    flex: 1;
}

.extra-info h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

.extra-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.extra-add-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-secondary);
}

.extra-add-btn.added {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.ponto-carne-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.radio-option span {
    font-size: 14px;
}

.bebidas-section {
    background: var(--bg-gray);
    padding: 16px;
    border-radius: 8px;
    margin: 0 -16px 24px;
}

.bebida-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    margin-bottom: 8px;
}

.bebida-item:last-child {
    margin-bottom: 0;
}

.bebida-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.bebida-info {
    flex: 1;
}

.bebida-info h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

.bebida-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.observacoes-section {
    margin-bottom: 20px;
}

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

.observacoes-section textarea,
.observacoes-input {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
}

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

.produto-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
    align-items: center;
    z-index: 100;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    font-size: 20px;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.add-to-cart-btn {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* ========== MODAL SACOLA ========== */
.modal-sacola-content {
    max-height: 95vh;
    overflow-y: auto;
    padding-bottom: 80px; /* Espaço para o botão fixo */
}

.delivery-calc {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}

.delivery-calc span {
    flex: 1;
    font-size: 14px;
}

.free-delivery-modal {
    padding: 12px 16px;
    text-align: center;
    font-size: 15px;
    color: #00a03e;
    font-weight: 600;
    background: #e8f5e9;
    border-bottom: 1px solid var(--border-color);
    margin: 0 16px 16px;
    border-radius: 8px;
}

.bag-section {
    padding: 16px;
    border-bottom: 8px solid var(--bg-gray);
}

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

.bag-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.clear-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.bag-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.bag-item-quantity {
    font-size: 14px;
    font-weight: 600;
}

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

.bag-item-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.bag-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.bag-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.bag-item-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.edit-btn, .remove-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
}

.add-more-btn {
    width: calc(100% - 32px);
    margin: 0 16px 16px;
    padding: 12px;
    background: white;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.suggestions-section {
    padding: 16px;
    border-bottom: 8px solid var(--bg-gray);
}

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

.suggestions-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

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

.suggestion-card {
    flex: 0 0 140px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.suggestion-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.suggestion-card .product-info {
    padding: 8px;
}

.suggestion-card h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.suggestion-card .product-price {
    font-size: 14px;
}

.bag-summary {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.summary-row.total {
    font-size: 16px;
    font-weight: 600;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.coupon-section {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}

.coupon-section div {
    flex: 1;
}

.coupon-section strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.coupon-section p {
    font-size: 13px;
    color: var(--text-secondary);
}

.continue-btn {
    width: calc(100% - 32px);
    margin: 16px;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    position: sticky;
    bottom: -16px;
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

/* ========== CHECKOUT ========== */
.checkout-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.back-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
}

.checkout-header h2 {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
}

.checkout-steps {
    display: flex;
    align-items: center;
    padding: 20px 16px;
    border-bottom: 1px solid var(--border-color);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: white;
}

.step.active .step-circle {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step.completed .step-circle {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step span {
    font-size: 11px;
    color: var(--text-secondary);
}

.step.active span {
    color: var(--primary-color);
    font-weight: 600;
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin: 0 4px;
    margin-bottom: 20px;
}

.step.active ~ .step-line,
.step.completed ~ .step-line {
    background: var(--primary-color);
}

.checkout-step-content {
    display: none;
    padding: 16px;
}

.checkout-step-content.active {
    display: block;
}

.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
}

.delivery-option input[type="radio"] {
    display: none;
}

.delivery-option .option-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.radio-check {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
}

.delivery-option.selected {
    border-color: var(--primary-color);
}

.delivery-option.selected .radio-check {
    border-color: var(--primary-color);
}

.delivery-option.selected .radio-check::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
}

.address-input {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin: 12px 0;
    cursor: pointer;
}

.address-input span {
    flex: 1;
    font-size: 14px;
    color: var(--text-secondary);
}

.continue-step-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.payment-title {
    font-size: 15px;
    font-weight: 600;
    margin: 16px 0 12px;
}

.payment-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
}

.payment-option.selected {
    border-color: var(--primary-color);
}

.payment-option .radio-check.checked {
    border-color: var(--primary-color);
}

.payment-option .radio-check.checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
}

.payment-info {
    text-align: center;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.payment-summary {
    margin: 16px 0;
    padding: 16px;
    background: var(--bg-gray);
    border-radius: 8px;
}

.coupon-input-section {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 16px;
    cursor: pointer;
}

.coupon-input-section div {
    flex: 1;
}

/* ========== CONFIRMATION ========== */
.confirmation-icon {
    text-align: center;
    margin: 24px 0;
}

.confirmation-icon svg {
    color: var(--green);
}

#step-4 h2 {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.4;
}

.pix-instructions {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 16px;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.qr-code-image {
    width: 250px;
    height: 250px;
    border: 4px solid var(--border-color);
    border-radius: 8px;
}

.pix-code {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: var(--bg-gray);
    border-radius: 8px;
    margin-bottom: 12px;
}

.pix-code code {
    flex: 1;
    font-size: 13px;
    word-break: break-all;
}

.pix-code-section {
    margin: 20px 0;
}

.pix-code-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-align: center;
}

.pix-code-box {
    background: var(--bg-gray);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
}

.pix-code-box code {
    display: block;
    font-size: 12px;
    word-break: break-all;
    line-height: 1.6;
    color: var(--text-color);
    font-family: 'Courier New', monospace;
}

.copy-btn {
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

/* Quando dentro de pix-code-section, centralizar */
.pix-code-section .copy-btn {
    display: block;
    margin: 12px auto 0;
    min-width: 150px;
    padding: 12px 24px;
    font-size: 14px;
}

.qr-code-btn {
    width: 100%;
    padding: 12px;
    background: white;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 16px;
}

.pix-favorite {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.timer-section {
    padding: 16px;
    background: var(--bg-gray);
    border-radius: 8px;
    margin-bottom: 16px;
}

.timer-section p {
    font-size: 13px;
    text-align: center;
    margin-bottom: 8px;
}

.timer-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.timer-progress {
    height: 100%;
    background: var(--green);
    width: 80%;
    animation: timerProgress 600s linear;
}

@keyframes timerProgress {
    from { width: 100%; }
    to { width: 0%; }
}

.timer-warning {
    font-size: 12px;
    color: var(--text-secondary);
}

.track-order-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 8px;
}

.continue-shopping-btn {
    width: 100%;
    padding: 14px;
    background: white;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* ========== MODAL ENDERECO ========== */
.modal-endereco-content {
    max-height: 90vh;
}

.endereco-form {
    padding: 16px;
}

.form-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: center;
}

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

.form-row.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group {
    flex: 1;
}

.form-group.full {
    width: 100%;
}

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

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

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.input-with-button {
    display: flex;
    gap: 8px;
}

.input-with-button .form-input {
    flex: 1;
}

.inline-btn {
    padding: 12px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.confirm-address-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}

/* ========== EMPTY STATE ========== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.empty-state svg {
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

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

/* ========== MODAL PEDIDOS ========== */
.modal-pedidos-content {
    max-height: 90vh;
}

.pedido-card {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s;
}

.pedido-card:hover {
    background: var(--bg-gray);
}

.pedido-card:last-child {
    border-bottom: none;
}

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

.pedido-numero {
    font-size: 15px;
    font-weight: 600;
}

.pedido-status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.pedido-status-badge.entregue {
    background: #e8f5e9;
    color: var(--green);
}

.pedido-status-badge.preparando {
    background: #fff3e0;
    color: #ff9800;
}

.pedido-status-badge.pendente-de-pagamento {
    background: #fff9e6;
    color: #f9a825;
}

.pedido-status-badge.cancelado {
    background: #ffebee;
    color: #f44336;
}

.pedido-info {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.pedido-total {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 8px;
}

/* ========== MODAL DETALHES DO PEDIDO ========== */
.modal-pedido-detalhes-content {
    max-height: 90vh;
}

/* ========== MODAL SMALL (LOCALIZAÇÃO) ========== */
.modal-small {
    max-height: 80vh;
    max-width: 450px;
}

/* ========== SPINNER E LOADING ========== */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-entregador-content {
    animation: fadeIn 0.3s ease-in;
}

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

.pedido-detalhes-content {
    padding: 16px;
}

.pedido-status {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--bg-gray);
    border-radius: 8px;
    margin-bottom: 20px;
}

.status-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pedido-status h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.pedido-status p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.pedido-info-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.pedido-info-section h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.info-row span {
    color: var(--text-secondary);
}

.info-row strong {
    color: var(--text-color);
}

.pedido-items-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.pedido-items-section h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.pedido-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.pedido-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.pedido-item-qty {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

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

.pedido-item-info h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.pedido-item-extras {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.pedido-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.pedido-resumo-section {
    margin-bottom: 20px;
}

.resumo-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.resumo-row.total {
    font-size: 16px;
    font-weight: 600;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.reorder-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* ========== SUCCESS SCREEN ========== */
.success-animation {
    display: flex;
    justify-content: center;
    padding: 40px 0 20px;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #4caf50;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #4caf50;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
    position: relative;
}

.check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #4caf50;
}

.icon-line {
    height: 4px;
    background-color: #4caf50;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.icon-line.line-tip {
    top: 42px;
    left: 16px;
    width: 20px;
    transform: rotate(45deg);
    animation: icon-line-tip .75s;
}

.icon-line.line-long {
    top: 38px;
    right: 12px;
    width: 40px;
    transform: rotate(-45deg);
    animation: icon-line-long .75s;
}

.icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 4px solid rgba(76, 175, 80, .5);
}

.icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 70px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: white;
}

@keyframes icon-line-tip {
    0% { width: 0; left: 1px; top: 19px; }
    54% { width: 0; left: 1px; top: 19px; }
    70% { width: 30px; left: -8px; top: 37px; }
    84% { width: 17px; left: 21px; top: 48px; }
    100% { width: 20px; left: 16px; top: 42px; }
}

@keyframes icon-line-long {
    0% { width: 0; right: 46px; top: 54px; }
    65% { width: 0; right: 46px; top: 54px; }
    84% { width: 55px; right: 0px; top: 35px; }
    100% { width: 40px; right: 12px; top: 38px; }
}

.success-content {
    padding: 0 20px 20px;
    text-align: center;
}

.success-title {
    font-size: 24px;
    font-weight: 700;
    color: #4caf50;
    margin-bottom: 12px;
}

.success-message {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.success-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-gray);
    border-radius: 12px;
    margin-bottom: 24px;
    text-align: left;
}

.info-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.info-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.info-text p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.success-details {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-row span {
    color: var(--text-secondary);
}

.status-pago {
    color: #4caf50;
}

.success-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 8px;
}

.success-btn-secondary {
    width: 100%;
    padding: 14px;
    background: white;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 768px) {
    .modal-content {
        left: 50%;
        transform: translateX(-50%);
        max-width: 500px;
    }
}

/* ========== NOTIFICATIONS ========== */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.notification {
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    pointer-events: all;
    animation: slideInRight 0.3s ease-out;
    border-left: 4px solid var(--primary-color);
}

.notification.success {
    border-left-color: #10b981;
}

.notification.success .notification-icon {
    background: #d1fae5;
    color: #10b981;
}

.notification.error {
    border-left-color: #ef4444;
}

.notification.error .notification-icon {
    background: #fee2e2;
    color: #ef4444;
}

.notification.warning {
    border-left-color: #f59e0b;
}

.notification.warning .notification-icon {
    background: #fef3c7;
    color: #f59e0b;
}

.notification.info {
    border-left-color: #3b82f6;
}

.notification.info .notification-icon {
    background: #dbeafe;
    color: #3b82f6;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.notification-message {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.notification-close:hover {
    background: var(--bg-gray);
}

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

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

.notification.hiding {
    animation: slideOutRight 0.3s ease-out forwards;
}

/* Mobile */
@media (max-width: 768px) {
    #notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .notification {
        min-width: auto;
        max-width: none;
    }
}

/* ========== LOADING SCREEN ========== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #272727 0%, #000000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.loading-content {
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.loading-logo {
    font-size: 80px;
    margin-bottom: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin: 0;
    animation: blink 1.5s ease-in-out infinite;
}

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

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

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

/* Mobile Loading */
@media (max-width: 768px) {
    .loading-logo {
        font-size: 60px;
    }
    
    .loading-title {
        font-size: 24px;
        padding: 0 20px;
    }
}

/* ========== INFOS DELIVERY ========== */
.infos-delivery {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
    color: #666;
    align-items: center;
    text-align: center;
}

.infos-delivery .detalhe {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.infos-delivery .detalhe span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.infos-delivery .detalhe i {
    color: var(--primary-color);
    font-size: 14px;
}

.infos-delivery .detalhe b {
    color: #333;
    font-weight: 600;
}

.infos-delivery .aberto {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #d1fae5;
    padding: 6px 12px;
    border-radius: 20px;
    margin-top: 8px;
    width: fit-content;
}

.infos-delivery .aberto i {
    color: #10b981;
    font-size: 8px;
}

.infos-delivery .aberto span {
    color: #065f46;
    font-weight: 600;
    font-size: 13px;
}

/* Animação de piscar */
@keyframes pisca {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.btn-pisca {
    animation: pisca 1.5s ease-in-out infinite;
}

/* Mobile Infos Delivery */
@media (max-width: 768px) {
    .infos-delivery {
        font-size: 12px;
    }
    
    .infos-delivery .detalhe {
        gap: 6px;
    }
    
    .infos-delivery .detalhe i {
        font-size: 12px;
    }
    
    .infos-delivery .aberto {
        padding: 4px 10px;
        font-size: 12px;
    }
}

/* Garantir 2 cards por linha em telas pequenas */
@media (max-width: 400px) {
    .products-scroll {
        gap: 8px;
    }
    
    .product-card {
        flex: 0 0 calc(50% - 4px);
        width: calc(50% - 4px);
        max-width: calc(50% - 4px);
    }
    
    .product-card img {
        height: 100px;
    }
    
    .product-info h3 {
        font-size: 12px;
    }
    
    .product-info p {
        font-size: 10px;
    }
    
    .discount-price {
        font-size: 14px;
    }
}

/* Telas muito pequenas */
@media (max-width: 360px) {
    .products-scroll {
        gap: 6px;
    }
    
    .product-card {
        flex: 0 0 calc(50% - 3px);
        width: calc(50% - 3px);
        max-width: calc(50% - 3px);
        border-width: 1px;
    }
    
    .product-card img {
        height: 90px;
    }
    
    .product-info {
        padding: 6px;
    }
    
    .product-info h3 {
        font-size: 11px;
    }
    
    .product-info p {
        font-size: 9px;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }
    
    .discount-price {
        font-size: 13px;
    }
    
    .original-price {
        font-size: 10px;
    }
    
    .discount-badge {
        font-size: 8px;
        padding: 1px 4px;
    }
}

/* Logo circular perfeito */
#loading-logo,
.loading-content img {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    background-color: white !important;
    padding: 10px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* ========== LOGO REDONDO FORÇADO ========== */

/* ========== LOGO REDONDO (APENAS LOGO) ========== */
#loading-logo,
.loading-content img:not(#header-banner),
.header-logo img:not(#header-banner) {
    border-radius: 50% !important;
    width: 120px !important;
    height: 120px !important;
    object-fit: cover !important;
    background: white !important;
    padding: 10px !important;
}

/* Banner do header (retangular) */
#header-banner {
    border-radius: 12px !important;
    width: 100% !important;
    height: auto !important;
    max-height: 250px !important;
    object-fit: cover !important;
}
