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

:root {
    --primary: #A51211;
    --primary-dark: #7A0E0D;
    --primary-light: #F2A8A8;
    --secondary: #C41413;
    --accent: #D44A49;
    --background: #FFF5F5;
    --surface: #FFFFFF;
    --text: #3E1212;
    --text-muted: #6D4141;
    --border: #D7C8C8;
    --success: #4CAF50;
    --shadow: 0 2px 8px rgba(165, 18, 17, 0.15);
    --shadow-lg: 0 4px 20px rgba(165, 18, 17, 0.2);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--background);
    color: var(--text);
    min-height: 100vh;
    padding-bottom: 120px;
    -webkit-font-smoothing: antialiased;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 20px 16px;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="2.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100px 100px;
    opacity: 0.5;
}

.header-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 10px 0;
}

.logo-container {
    width: 280px;
    height: auto;
    overflow: hidden;
    flex-shrink: 0;
}

.logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.restaurant-info {
    display: none;
}

.tagline {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.95);
    margin-top: 12px;
    font-weight: 500;
    font-style: italic;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.horario {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    color: rgba(255,255,255,0.95);
    font-size: 0.85rem;
    font-weight: 500;
}

.horario svg {
    flex-shrink: 0;
}

.header-buttons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.header-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-btn.whatsapp-btn {
    background: #25D366;
    color: white;
}

.header-btn.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.header-btn.location-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
}

.header-btn.location-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* Day Indicator */
.day-indicator {
    background: var(--surface);
    padding: 20px 16px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.day-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    padding: 12px 32px;
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.day-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.day-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.day-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Day Navigation */
.day-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--surface);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.day-nav::-webkit-scrollbar {
    display: none;
}

.day-btn {
    padding: 10px 18px;
    border: 2px solid var(--border);
    border-radius: 25px;
    background: var(--surface);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.day-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.day-btn.active {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(165, 18, 17, 0.3);
}

.day-btn.today {
    position: relative;
}

.day-btn.today::after {
    content: '';
    position: absolute;
    top: -4px;
    right: -4px;
    width: 12px;
    height: 12px;
    background: var(--success);
    border-radius: 50%;
    border: 2px solid var(--surface);
}

/* Main Content Wrapper */
.main-content-wrapper {
    padding: 20px 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* Day Image */
.day-image-container {
    margin-bottom: 20px;
}

.day-image-container img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* Menu Container */
.menu-container {
    /* Estilos base */
}

/* Menu Card */
.menu-card {
    background: var(--surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 20px;
    animation: fadeInUp 0.5s ease forwards;
}

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

.menu-card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-card-header svg {
    color: white;
    opacity: 0.9;
}

.menu-card-header h2 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.menu-items {
    padding: 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
    transition: background 0.2s ease;
    cursor: pointer;
}

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

.menu-item:hover {
    background: rgba(165, 18, 17, 0.05);
}

.item-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-icon svg {
    color: white;
    width: 26px;
    height: 26px;
}

.item-info {
    flex: 1;
}

.item-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.item-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.item-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    white-space: nowrap;
}

.item-add-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.item-add-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(165, 18, 17, 0.4);
}

/* Extras Section */
.extras-section {
    padding: 0 16px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
    padding-left: 4px;
}

.section-title svg {
    color: var(--secondary);
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.extra-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.extra-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.extra-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.extra-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.extra-card .price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
}

/* Prato do Dia Card */
.prato-dia-card {
    background: var(--surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 20px;
    animation: fadeInUp 0.5s ease forwards;
}

.prato-dia-card .menu-card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.prato-dia-card .menu-card-header svg {
    color: white;
    opacity: 0.9;
}

.prato-dia-card .menu-card-header h2 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
}

.prato-dia-preco {
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 30px;
}

.prato-dia-content {
    padding: 20px;
}

.prato-dia-itens {
    margin-bottom: 16px;
}

.prato-dia-itens h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prato-dia-itens ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prato-dia-itens li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    padding: 10px 14px;
    background: var(--background);
    border-radius: 12px;
}

.prato-dia-itens li svg {
    color: var(--success);
    flex-shrink: 0;
}

.prato-dia-acompanhamentos {
    margin-bottom: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.prato-dia-acompanhamentos h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.acompanhamentos-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.acomp-tag {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.prato-dia-btn {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(165, 18, 17, 0.3);
    margin-top: 10px;
}

.prato-dia-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(165, 18, 17, 0.4);
}

.prato-dia-btn svg {
    width: 20px;
    height: 20px;
}

.prato-dia-btn.disabled {
    background: #999;
    cursor: not-allowed;
    box-shadow: none;
}

.prato-dia-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Card indisponível */
.prato-dia-card.disabled-day {
    opacity: 0.85;
}

.unavailable-banner {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Extra do dia destaque */
.extra-card.extra-dia {
    border: 2px solid var(--secondary);
    background: linear-gradient(135deg, rgba(165, 18, 17, 0.05) 0%, rgba(212, 74, 73, 0.1) 100%);
}

.extra-card.disabled-extra {
    opacity: 0.6;
    border-color: #999;
    cursor: not-allowed;
}

.extras-unavailable-msg {
    color: #e74c3c;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 12px;
    padding-left: 4px;
}

/* Extra Card with Image */
.extra-card-img {
    width: 100%;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
}

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

.extra-card-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.extra-card-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.extra-card-info .price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
}

/* Week Day Price */
.week-day-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
    margin-top: 8px;
}

/* Accompaniments */
.accompaniments-section {
    background: var(--surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.accompaniments-header {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.accompaniments-header svg {
    color: white;
}

.accompaniments-header h3 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.accompaniments-list {
    padding: 16px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.accompaniment-tag {
    background: var(--background);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.accompaniment-tag svg {
    width: 16px;
    height: 16px;
    color: var(--secondary);
}

/* Closed Message */
.closed-message {
    text-align: center;
    padding: 60px 20px;
    max-width: 400px;
    margin: 0 auto;
}

.closed-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.closed-icon svg {
    color: var(--primary);
}

.closed-message h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 12px;
}

.closed-message p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.view-week-btn {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.view-week-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 100;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--surface);
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.1);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(0,0,0,0.2);
}

.modal-body {
    padding: 24px 20px;
    flex: 1;
    overflow-y: auto;
    position: relative;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    padding-right: 50px;
}

.modal-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.5;
}

.modal-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 24px;
}

/* Variants */
.variants-section {
    margin-bottom: 20px;
}

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

.variant-group h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.variant-group h4 .required {
    color: var(--secondary);
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.variant-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid var(--border);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.variant-option:hover {
    border-color: var(--secondary);
}

.variant-option.selected {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    border-color: transparent;
    color: white;
}

.variant-option input {
    display: none;
}

/* Notes */
.notes-section {
    margin-bottom: 20px;
}

.notes-section h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.notes-section textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    resize: none;
    height: 80px;
    transition: border-color 0.2s;
}

.notes-section textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

/* Quantity */
.quantity-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.qty-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    background: var(--surface);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: var(--secondary);
    color: white;
}

.qty-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    min-width: 50px;
    text-align: center;
}

/* Modal Footer */
.modal-footer {
    padding: 16px 20px 24px;
    border-top: 1px solid var(--border);
}

.add-to-cart-btn {
    width: 100%;
    padding: 18px 24px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(165, 18, 17, 0.4);
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(165, 18, 17, 0.5);
}

/* Cart Button */
.cart-button {
    position: fixed;
    bottom: 80px;
    left: 16px;
    right: 16px;
    height: 65px;
    border-radius: 35px;
    border: none;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: white;
    display: flex;
    align-items: center;
    padding: 0 24px;
    cursor: pointer;
    z-index: 60;
    box-shadow: 0 4px 20px rgba(165, 18, 17, 0.4);
    transition: all 0.3s ease;
}

.cart-button:hover {
    box-shadow: 0 6px 30px rgba(165, 18, 17, 0.5);
}

.cart-button svg {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.cart-count {
    position: absolute;
    top: -8px;
    left: 40px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: white;
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.cart-total {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    font-weight: 700;
}

/* Cart Sheet */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 100;
    display: none;
}

.cart-overlay.active {
    display: block;
}

.cart-sheet {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 101;
}

.cart-overlay.active .cart-sheet {
    transform: translateX(0);
}

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

.cart-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.cart-header span {
    color: var(--text-muted);
    font-weight: 400;
}

.cart-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text);
}

.cart-close:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

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

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

.cart-item-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.cart-item-details {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.cart-item-notes {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

.cart-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.cart-item-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-qty button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    background: white;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.2s;
}

.cart-item-qty button:hover {
    background: var(--secondary);
    color: white;
}

.cart-item-qty button.delete {
    border-color: #e53935;
    color: #e53935;
}

.cart-item-qty button.delete:hover {
    background: #e53935;
    color: white;
}

.cart-item-qty span {
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

/* Cart Footer */
.cart-footer {
    padding: 16px;
    border-top: 1px solid var(--border);
    max-height: 65vh;
    overflow-y: auto;
}

.delivery-section {
    margin-bottom: 16px;
}

.delivery-section h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.delivery-options {
    display: flex;
    gap: 12px;
}

.delivery-option {
    flex: 1;
    cursor: pointer;
}

.delivery-option input {
    display: none;
}

.option-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    color: var(--text-muted);
}

.delivery-option input:checked + .option-content {
    border-color: var(--secondary);
    background: rgba(165, 18, 17, 0.1);
    color: var(--secondary);
}

.payment-section {
    margin-bottom: 16px;
}

.payment-section h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.payment-options {
    display: flex;
    gap: 12px;
}

.payment-option {
    flex: 1;
    cursor: pointer;
}

.payment-option input {
    display: none;
}

.payment-option .option-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    color: var(--text-muted);
}

.payment-option input:checked + .option-content {
    border-color: var(--secondary);
    background: rgba(165, 18, 17, 0.1);
    color: var(--secondary);
}

.payment-info,
.delivery-info {
    margin-top: 10px;
    padding: 10px 14px;
    background: #fff3cd;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #856404;
    text-align: center;
}

.pix-info {
    margin-top: 10px;
    padding: 14px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 12px;
    border: 2px solid #4CAF50;
}

.pix-label {
    font-size: 0.85rem;
    color: #2e7d32;
    font-weight: 600;
    margin-bottom: 8px;
}

.pix-key-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.pix-key {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    font-family: monospace;
}

.copy-pix-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-pix-btn:hover {
    background: #388E3C;
}

.pix-warning {
    font-size: 0.8rem;
    color: #2e7d32;
    text-align: center;
    font-weight: 500;
}

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

.customer-form h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.customer-form input {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    margin-bottom: 10px;
    transition: border-color 0.2s;
}

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

.cart-summary {
    margin-bottom: 16px;
    padding: 16px;
    background: var(--background);
    border-radius: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text-muted);
}

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

.summary-row.total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    padding-top: 10px;
    border-top: 1px solid var(--border);
    margin-top: 10px;
}

.checkout-btn {
    width: 100%;
    padding: 18px 24px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.checkout-btn:hover {
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.clear-cart-btn {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.clear-cart-btn:hover {
    border-color: #e53935;
    color: #e53935;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-cart svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-cart p {
    font-size: 0.95rem;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 160px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text);
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 0.95rem;
    z-index: 200;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 16px;
    z-index: 40;
}

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

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Week Modal */
.week-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.week-modal.active {
    display: flex;
}

.week-modal-content {
    background: var(--surface);
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

.week-modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
}

.week-modal-header h2 {
    color: white;
    font-size: 1.2rem;
}

.week-list {
    padding: 16px;
}

.week-day-item {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    background: var(--background);
    cursor: pointer;
    transition: all 0.2s ease;
}

.week-day-item:hover {
    background: var(--primary-light);
}

.week-day-name {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 8px;
}

.week-day-name.today::after {
    content: 'HOJE';
    font-size: 0.65rem;
    background: var(--success);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
}

.week-day-items {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Responsive - Tablet e Desktop */
@media (min-width: 768px) {
    .header {
        padding: 20px 40px;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        max-width: 1400px;
        margin: 0 auto;
        gap: 20px;
        padding: 0;
    }

    .logo-container {
        width: 160px;
    }

    .tagline {
        display: none;
    }

    .horario {
        margin: 0;
        background: rgba(0,0,0,0.2);
        padding: 10px 20px;
    }

    .header-buttons {
        margin: 0;
        gap: 10px;
    }

    .header-btn {
        padding: 10px 20px;
    }

    .restaurant-info {
        text-align: left;
    }

    /* Indicador do dia mais compacto */
    .day-indicator {
        padding: 20px;
        background: linear-gradient(180deg, var(--surface) 0%, var(--background) 100%);
    }

    .day-badge {
        padding: 14px 40px;
    }

    .day-name {
        font-size: 1.6rem;
    }

    .day-date {
        margin-top: 6px;
    }

    /* Navegação dos dias */
    .day-nav {
        justify-content: center;
        padding: 14px 40px;
        gap: 10px;
        background: var(--background);
        border-bottom: none;
        box-shadow: none;
    }

    .day-btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    /* Layout em grid para desktop */
    .main-content-wrapper {
        max-width: 1000px;
        margin: 0 auto;
        padding: 30px 40px;
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 30px;
        align-items: start;
    }

    .menu-container {
        max-width: none;
        padding: 0;
        order: 2;
    }

    .day-image-container {
        max-width: none;
        padding: 0;
        margin: 0;
        order: 1;
        position: sticky;
        top: 80px;
    }

    .day-image-container img {
        border-radius: 16px;
        width: 100%;
        height: auto;
        max-height: 500px;
        object-fit: cover;
        box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    }

    .prato-dia-card {
        margin-bottom: 0;
        border-radius: 16px;
    }

    /* Extras em grid maior */
    .extras-section {
        max-width: 1000px;
        margin: 0 auto;
        padding: 10px 40px 30px;
    }

    .extras-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .extra-card {
        padding: 18px;
    }

    .section-title {
        font-size: 1.2rem;
        margin-bottom: 16px;
    }

    /* Modal centralizado */
    .modal-content {
        border-radius: 24px;
        margin: auto;
        max-height: 80vh;
        max-width: 500px;
    }

    .modal-overlay {
        align-items: center;
    }

    /* Carrinho flutuante */
    .cart-button {
        max-width: 400px;
        left: 50%;
        transform: translateX(-50%);
        bottom: 30px;
        border-radius: 50px;
    }

    /* Cart sheet mais largo */
    .cart-sheet {
        max-width: 480px;
    }

    /* Footer */
    .footer {
        padding: 20px 40px;
    }

    body {
        padding-bottom: 140px;
    }
}

/* Desktop grande */
@media (min-width: 1024px) {
    .header-content {
        gap: 30px;
    }

    .logo-container {
        width: 180px;
    }

    .main-content-wrapper {
        max-width: 1100px;
        gap: 40px;
    }

    .extras-section {
        max-width: 1100px;
    }

    .extras-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .prato-dia-card .menu-card-header h2 {
        font-size: 1.2rem;
    }

    .prato-dia-preco {
        font-size: 1.4rem;
    }

    .prato-dia-itens li {
        font-size: 1rem;
        padding: 12px 16px;
    }

    .prato-dia-btn {
        padding: 16px 24px;
        font-size: 1rem;
    }
}

/* Desktop extra grande */
@media (min-width: 1400px) {
    .header-content {
        max-width: 1400px;
    }

    .main-content-wrapper {
        max-width: 1200px;
    }

    .extras-section {
        max-width: 1200px;
    }

    .extras-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
