/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #ed1c24;
    --secondary-color: #eab308;
    --accent-color: #dc2626;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #f8f9fa;
    --bg-secondary: #f9fafb;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 0.5rem;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-color: var(--bg-primary);
    min-height: 100vh;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Loading Indicator */
.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-secondary);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

.loading-indicator p {
    color: var(--text-primary);
    font-weight: 500;
    margin: 0;
}

/* Offline Indicator */
.offline-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.75rem 1rem;
    text-align: center;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
}

.offline-indicator i {
    font-size: 1rem;
}

/* Content Wrapper */
.content-wrapper {
    flex: 1;
}

/* Main Banner */
#main-banner {
    width: 100%;
    background-color: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.main-banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 400px;
}

/* Header */
#main-header {
    background-color: var(--white);
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

#main-header nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    height: 70px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    width: 80px;
    height: 60px;
    transition: var(--transition);
}

.logo svg:hover {
    transform: scale(1.05);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background-color: var(--bg-secondary);
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
    align-items: center;
}

.nav-links a, .nav-links button {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-links a:hover, .nav-links button:hover {
    background-color: var(--bg-secondary);
    text-decoration: none;
}

.nav-links button[data-section="menu"] {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.nav-links button[data-section="menu"]:hover {
    background-color: var(--accent-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.location:hover {
    background-color: var(--bg-secondary);
}

.location i {
    color: var(--primary-color);
}

.cart-button {
    position: relative;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.cart-button:hover {
    background-color: #b91c1c;
    transform: translateY(-1px);
}

.cart-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

#cart-count {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    background-color: var(--secondary-color);
    color: var(--text-primary);
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Offer Banner */
#offer-banner {
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    text-align: center;
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-sm);
}

.offer-text {
    background-color: var(--accent-color);
    color: var(--white);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

#countdown {
    background-color: var(--secondary-color);
    color: #991b1b;
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Main Content */
#main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    gap: 1.5rem;
    background-color: var(--bg-secondary);
    min-height: calc(100vh - 200px);
}

#menu-section {
    display: flex;
    width: 100%;
    gap: 1.5rem;
}

.product-category {
    margin-bottom: 2rem;
}

.product-category h2 {
    text-align: center;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

/* Product Cards */
.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
}

/* Upsell Banner */
.upsell-banner {
    background: linear-gradient(135deg, #d80027, #ff6b6b);
    color: white;
    padding: 0.75rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.upsell-banner i {
    color: #ffd700;
    font-size: 1rem;
}

.upgrade-btn {
    background-color: #ffffff;
    color: #d80027;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-left: 0.5rem;
}

.upgrade-btn:hover {
    background-color: #f8f9fa;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    width: 100%;
    height: 250px;
    background-color: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    background-color: transparent;
    padding: 0;
    transform: scale(1.2);
}

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

.discount-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-info {
    padding: 1rem;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Product Details */
.product-details {
    margin-bottom: 1rem;
}

.details-toggle {
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.details-toggle:hover {
    color: #b3001f;
}

.details-toggle.active {
    color: #b3001f;
}

.details-content {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 0.5rem;
    border-left: 3px solid var(--accent-color);
}

.details-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-content li {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.25rem;
}

.details-content li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.25rem;
}

/* Seleção de Sabores */
.flavor-selection {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
}

.flavor-selection h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.flavor-limit {
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    padding: 0.25rem 0.5rem;
    background-color: rgba(216, 0, 39, 0.1);
    border-radius: 0.25rem;
    display: inline-block;
}

.flavor-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.flavor-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: white;
    border-radius: 0.5rem;
    border: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flavor-option:hover {
    border-color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(216, 0, 39, 0.1);
}

.flavor-option input[type="checkbox"] {
    margin-top: 0.125rem;
    width: 1.125rem;
    height: 1.125rem;
    accent-color: var(--accent-color);
}

.flavor-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.flavor-image {
    width: 60px;
    height: 60px;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
}

.flavor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

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

.flavor-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    display: block;
}

.flavor-description {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
    display: block;
}

.flavor-quantity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.flavor-quantity span {
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.flavor-quantity .quantity-display-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0;
}

.flavor-quantity .quantity-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.875rem;
}

.flavor-quantity .quantity-btn.minus {
    background-color: #e5e7eb;
    color: var(--text-primary);
}

.flavor-quantity .quantity-btn.minus:hover:not(.disabled) {
    background-color: #d1d5db;
}

.flavor-quantity .quantity-btn.plus {
    background-color: var(--accent-color);
    color: var(--white);
}

.flavor-quantity .quantity-btn.plus:hover:not(.disabled) {
    background-color: #b91c1c;
}

.flavor-quantity .quantity-btn.disabled {
    background-color: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

.flavor-quantity .quantity-display {
    font-weight: 600;
    font-size: 1rem;
    width: 2rem;
    text-align: center;
    color: var(--text-primary);
    background-color: #f8f9fa;
    border-radius: 0.25rem;
    padding: 0.25rem;
    border: 1px solid #e9ecef;
}

.product-pricing {
    margin-bottom: 1rem;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.original-price {
    color: var(--text-secondary);
    text-decoration: line-through;
    font-size: 0.875rem;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-color);
}

.savings {
    color: #059669;
    font-size: 0.875rem;
    font-weight: 500;
}

.product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

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

.quantity-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.quantity-btn.minus {
    background-color: #e5e7eb;
    color: var(--text-primary);
}

.quantity-btn.minus:hover {
    background-color: #d1d5db;
}

.quantity-btn.plus {
    background-color: var(--accent-color);
    color: var(--white);
}

.quantity-btn.plus:hover {
    background-color: #b91c1c;
}

.quantity-display {
    font-weight: 600;
    font-size: 1rem;
    width: 2rem;
    text-align: center;
    color: var(--text-primary);
}

.add-to-cart-btn {
    background-color: var(--secondary-color);
    color: var(--text-primary);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
    min-height: 2.5rem;
}

.add-to-cart-btn:hover {
    background-color: #d97706;
    transform: translateY(-1px);
}

.add-to-cart-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Cart Sidebar */
#cart-sidebar {
    width: 22rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 5rem;
    transition: var(--transition);
    border: 1px solid #e5e7eb;
}

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

.cart-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

#close-cart {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-secondary);
    display: none;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

#close-cart:hover {
    color: var(--text-primary);
    background-color: var(--bg-secondary);
}

#cart-items {
    margin-bottom: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

#empty-cart {
    text-align: center;
    color: var(--text-secondary);
    padding: 2rem 0;
}

#empty-cart i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.cart-item {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 1rem;
    border: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.cart-item-content {
    display: flex;
    gap: 0.75rem;
}

.cart-item-image {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: cover;
    border-radius: var(--border-radius);
}

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

.cart-item-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.cart-item-description {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.cart-quantity-btn {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: var(--transition);
}

.cart-quantity-btn.minus {
    background-color: #d1d5db;
    color: var(--text-primary);
}

.cart-quantity-btn.minus:hover {
    background-color: #9ca3af;
}

.cart-quantity-btn.plus {
    background-color: var(--accent-color);
    color: var(--white);
}

.cart-quantity-btn.plus:hover {
    background-color: #b91c1c;
}

.cart-item-price {
    text-align: right;
}

.cart-item-total {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.875rem;
}

.cart-item-remove {
    color: #ef4444;
    font-size: 0.75rem;
    cursor: pointer;
    margin-top: 0.25rem;
    padding: 0.25rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.cart-item-remove:hover {
    color: #dc2626;
    background-color: #fef2f2;
}

#cart-summary {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.summary-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.summary-details.discount {
    color: #059669;
}

.summary-details.delivery {
    color: #059669;
    font-weight: 600;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.125rem;
    margin-top: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

#checkout-btn {
    width: 100%;
    background-color: var(--secondary-color);
    color: var(--text-primary);
    border: none;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

#checkout-btn:hover {
    background-color: #d97706;
    transform: translateY(-1px);
}

#checkout-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Coupons Section */
#coupons-section {
    background-color: var(--bg-secondary);
    min-height: 100vh;
    padding: 1rem;
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.back-to-home:hover {
    background-color: var(--bg-secondary);
    text-decoration: none;
}

#coupons-section h2 {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-primary);
}

.coupon-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid var(--text-secondary);
    background-color: var(--white);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover {
    background-color: var(--bg-secondary);
}

.filter-btn.active {
    background-color: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.coupon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.coupon-card {
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

/* Cupons Personalizados */
.coupon-card.personalized {
    border: 2px solid var(--accent-color);
    background: linear-gradient(135deg, #fff, #fff8f8);
}

.personalized-section,
.regular-coupons-section {
    margin-bottom: 2rem;
}

.personalized-section h3,
.regular-coupons-section h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.coupon-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background-color: var(--accent-color);
    color: white;
}

.personalized-badge {
    font-size: 1.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 50%;
}

.coupon-content {
    padding: 1rem;
    text-align: center;
}

.coupon-content .coupon-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.coupon-content .coupon-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

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

.coupon-image {
    width: 100%;
    height: 7rem;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.coupon-card:hover .coupon-image {
    transform: scale(1.05);
}

.coupon-info {
    background-color: var(--white);
    border-top: 1px solid #e5e7eb;
    text-align: center;
    padding: 0.75rem;
}

.coupon-name {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.coupon-price {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.coupon-use-btn {
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    width: 100%;
    padding: 0.5rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.coupon-use-btn:hover {
    background-color: #b91c1c;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 1rem;
}

/* Modal de Seleção de Sabores */
.flavor-modal {
    max-width: 32rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--accent-color);
}

.combo-info {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    border: 1px solid #e9ecef;
}

.combo-info h4 {
    color: var(--accent-color);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.combo-limit {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    margin-top: 1rem;
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 50%, #6c757d 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 140px;
    position: relative;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
    border: 2px solid transparent;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5a6268 0%, #343a40 50%, #5a6268 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(108, 117, 125, 0.6);
    border-color: #868e96;
}

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.5);
}

/* Efeito de brilho nos botões secundários */
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff6b35 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 140px;
    position: relative;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    border: 2px solid transparent;
}

.btn-primary:hover:not(.disabled) {
    background: linear-gradient(135deg, #e55a2b 0%, #e0851a 50%, #e55a2b 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.6);
    border-color: #ff8c42;
}

.btn-primary:active:not(.disabled) {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.5);
}

/* Efeito de brilho nos botões primários */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Modal de Seleção de Bebidas */
.beverage-modal {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    position: relative;
}

/* Garantir que o modal de bebidas seja visível */
#beverage-selection-modal {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* Forçar visibilidade do modal */
#beverage-selection-modal,
#beverage-selection-modal * {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Estilos específicos para o modal de bebidas */
.beverage-modal {
    background: white !important;
    color: black !important;
    border: 2px solid #ff6b35 !important;
}

#beverage-selection-modal .modal-content {
    position: relative;
    margin: auto;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

/* Mensagem de seleção em andamento */
.cart-selection-message {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cart-selection-message .selection-info h4 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.cart-selection-message .selection-info p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.cart-selection-message .selection-info strong {
    color: #fff;
    font-weight: 700;
}

/* Indicador de progresso da seleção */
.selection-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    gap: 0.5rem;
}

/* Estilos para o resumo do pedido no checkout */
.order-item {
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid #ff6b35;
}

.order-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.order-item-header h4 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.order-item-price {
    font-weight: 600;
    color: #ff6b35;
    font-size: 1.1rem;
}

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

.order-item-details strong {
    color: #333;
}

.order-totals {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border: 2px solid #e9ecef;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.total-line:last-child {
    border-bottom: none;
}

.total-line.final {
    font-weight: 700;
    font-size: 1.2rem;
    color: #ff6b35;
    border-top: 2px solid #ff6b35;
    padding-top: 1rem;
}

.total-line.discount {
    color: #28a745;
}

/* Estilos para o modal de checkout */
.checkout-content {
    max-width: 800px !important;
    max-height: 90vh;
    overflow-y: auto;
}

.checkout-content .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.checkout-content .modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.checkout-content .close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.checkout-content .close-btn:hover {
    background: #f8f9fa;
    color: #333;
}

.order-summary {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
}

.delivery-form, .payment-method {
    margin-bottom: 2rem;
}

.delivery-form h4, .payment-method h4 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #ff6b35;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: #ff6b35;
    background: #fff5f2;
}

.payment-option input[type="radio"] {
    margin-right: 0.5rem;
}

.payment-label {
    font-weight: 500;
    color: #333;
}

.checkout-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.checkout-actions button {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #ff6b35;
    color: white;
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Estilos para confirmação final */
.text-center {
    text-align: center;
}

.modal-body.text-center h4 {
    color: #28a745;
    margin: 1rem 0;
    font-size: 1.3rem;
}

.modal-body.text-center p {
    color: #666;
    margin: 0.5rem 0;
    line-height: 1.5;
}

.modal-body.text-center .delivery-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.modal-body.text-center .delivery-info p:first-child {
    margin-bottom: 0.5rem;
    color: #333;
}

.modal-body.text-center .delivery-info p:last-child {
    margin: 0;
    font-weight: 600;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.progress-step.completed {
    opacity: 1;
}

.progress-step.active {
    opacity: 1;
}

.progress-step .step-number {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #ff6b35;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.progress-step.completed .step-number {
    background: #28a745;
}

.progress-step.active .step-number {
    background: #ff6b35;
    animation: pulse 2s infinite;
}

.progress-step .step-text {
    font-size: 0.8rem;
    text-align: center;
    color: #666;
    max-width: 80px;
    line-height: 1.2;
}

.progress-arrow {
    color: #ccc;
    font-size: 1.2rem;
    margin: 0 0.5rem;
}

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

.beverage-info {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
}

.beverage-info h4 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.beverage-limit {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(216, 0, 39, 0.1);
    border-radius: 0.5rem;
    display: inline-block;
}

.beverage-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.beverage-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.beverage-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
}

.beverage-option:hover {
    border-color: var(--accent-color);
    background: var(--bg-hover);
}

.beverage-option.selected {
    border-color: var(--accent-color);
    background: rgba(216, 0, 39, 0.05);
    box-shadow: 0 2px 8px rgba(216, 0, 39, 0.1);
}

.beverage-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.beverage-image {
    width: 50px;
    height: 50px;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
}

.beverage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.beverage-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.beverage-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.beverage-price {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.beverage-quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

.beverage-summary {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
}

.beverage-count {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
}

.beverage-count span {
    color: var(--accent-color);
    font-weight: 600;
}

/* Notificações */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    max-width: 400px;
    animation: slideInRight 0.3s ease;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
    font-weight: 500;
}

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

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

.notification-warning {
    background: #f59e0b;
}

.notification-error {
    background: #ef4444;
}

.notification-content button {
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    margin-left: 1rem;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.notification-content button:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

.btn-primary.disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Estilos para sabores no carrinho */
.cart-item-flavors {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-style: italic;
}

/* Estilos para bebidas no carrinho */
.cart-item-beverages {
    color: #28a745;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-style: italic;
}



/* Informações de limite */
.quantity-limit-info {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
    padding: 0.25rem 0.5rem;
    background-color: #f8f9fa;
    border-radius: 0.25rem;
    display: inline-block;
}

.quantity-limit-info.limit-reached {
    color: var(--accent-color);
    background-color: rgba(216, 0, 39, 0.1);
    font-weight: 600;
}



.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    max-width: 28rem;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.modal-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.modal-body {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-body i {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.modal-body p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.delivery-info {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.delivery-info p:first-child {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.delivery-info p:last-child {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

#close-modal {
    width: 100%;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

#close-modal:hover {
    background-color: #b91c1c;
}

/* Footer */
#main-footer {
    background-color: #4a4a4a;
    color: #f5f5f5;
    padding: 1.5rem 1rem;
}

.footer-newsletter {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-newsletter h2 {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
    text-align: center;
}

.footer-newsletter p {
    color: #d9d9d9;
    font-size: 0.75rem;
    line-height: 1.33;
    margin: 0;
    text-align: center;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    max-width: 400px;
    flex-direction: column;
}

.newsletter-form input {
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    flex: 1;
    color: var(--text-primary);
    border: none;
    outline: none;
    font-size: 0.875rem;
}

.newsletter-form input::placeholder {
    color: #9ca3af;
}

.newsletter-form button {
    background-color: #d80027;
    color: #f5f5f5;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.25rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #b3001f;
}

.footer-links {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-direction: column;
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
}

.footer-logo svg {
    width: 100px;
    height: 100px;
    transition: var(--transition);
}

.footer-logo svg:hover {
    transform: scale(1.05);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.footer-nav a {
    color: #d9d9d9;
    font-size: 0.75rem;
    text-decoration: none;
    padding: 0.25rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
}

.contact-info {
    text-align: center;
}

.contact-info h3 {
    color: #f5f5f5;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.contact-email {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-email a {
    color: #d9d9d9;
    font-size: 0.75rem;
    text-decoration: none;
}

.contact-email a:hover {
    color: var(--white);
}

.footer-divider {
    border-color: #bfbfbf;
    opacity: 0.3;
    margin: 2rem 0 1rem 0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #d9d9d9;
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-bottom img {
    height: 1.25rem;
    object-fit: contain;
}

/* Social Media Links */
.social-media {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: transparent;
    color: #f5f5f5;
    border: 1px solid #f5f5f5;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.social-link:hover {
    background-color: #f5f5f5;
    color: #4a4a4a;
    transform: scale(1.1);
}

/* Social Media */
.social-media {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: transparent;
    color: #f5f5f5;
    border: 1px solid #f5f5f5;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.social-link:hover {
    background-color: #f5f5f5;
    color: #4a4a4a;
    transform: scale(1.1);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100%;
    background-color: var(--white);
    z-index: 1000;
    transition: var(--transition);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: var(--primary-color);
    color: var(--white);
}

.mobile-menu-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

.mobile-menu-nav {
    padding: 1rem;
}

.mobile-menu-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-nav li {
    margin-bottom: 0.5rem;
}

.mobile-menu-nav a,
.mobile-menu-nav button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-primary);
    background: none;
    border: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 0.875rem;
    font-weight: 500;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav button:hover {
    background-color: var(--bg-secondary);
}

.mobile-menu-nav button[data-section="menu"] {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    #main-content {
        padding: 1rem;
        gap: 1rem;
    }
    
    #cart-sidebar {
        width: 20rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Main Banner Mobile */
    #main-banner {
        margin-bottom: 0.5rem;
    }
    
    .main-banner-image {
        max-height: 250px;
    }
    
    /* Header Mobile */
    #main-header nav {
        padding: 0.5rem 1rem;
        height: 60px;
    }
    
    .logo svg {
        width: 60px;
        height: 45px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .location span {
        display: none;
    }
    
    .cart-button span {
        display: none;
    }
    
    /* Main Content Mobile */
    #main-content {
        flex-direction: column;
        padding: 0.75rem;
        gap: 1rem;
    }

    #menu-section {
        flex-direction: column;
        gap: 1rem;
    }

    #cart-sidebar {
        width: 100%;
        margin-top: 1rem;
        position: static;
        order: -1;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .product-card {
        margin-bottom: 0.5rem;
    }
    
    .product-image {
        height: 200px;
        aspect-ratio: 1/1;
    }
    
    .product-image img {
        padding: 0;
        transform: scale(1.15);
    }
    
    /* Upsell Banner Mobile */
    .upsell-banner {
        padding: 0.5rem;
        font-size: 0.8rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .upgrade-btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
        margin-left: 0;
        margin-top: 0.25rem;
    }
    
    .product-info {
        padding: 0.75rem;
    }
    
    /* Sabores Mobile */
    .flavor-option {
        padding: 0.75rem;
    }
    
    .flavor-image {
        width: 55px;
        height: 55px;
    }
    
    .flavor-content {
        gap: 0.875rem;
    }
    
    /* Bebidas Mobile */
    .beverage-modal {
        max-width: 90vw;
        margin: 0.75rem;
    }
    
    .beverage-option {
        padding: 0.875rem;
    }
    
    .beverage-image {
        width: 48px;
        height: 48px;
    }
    
    .beverage-quantity {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .quantity-controls {
        justify-content: center;
    }
    
    .add-to-cart-btn {
        width: 100%;
    }
    
    /* Product Details Mobile */
    .product-details {
        margin-bottom: 0.75rem;
    }
    
    .details-toggle {
        font-size: 0.8rem;
        padding: 0.375rem 0;
    }
    
    .details-content {
        padding: 0.75rem;
        margin-top: 0.375rem;
    }
    
    .details-content li {
        font-size: 0.8rem;
        padding: 0.2rem 0;
        padding-left: 1rem;
    }
    
    /* Seleção de Sabores Mobile */
    .flavor-selection {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .flavor-selection h4 {
        font-size: 0.9rem;
        margin-bottom: 0.375rem;
    }
    
    .flavor-limit {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
        margin-bottom: 0.75rem;
    }
    
    .flavor-options {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .flavor-option {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .flavor-name {
        font-size: 0.8rem;
    }
    
    .flavor-description {
        font-size: 0.75rem;
    }
    
    .flavor-quantity {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding-top: 0.5rem;
    }
    
    .flavor-quantity span {
        font-size: 0.8rem;
    }
    
    .flavor-quantity .quantity-btn {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.7rem;
    }
    
    .flavor-quantity .quantity-display {
        font-size: 0.8rem;
        width: 1.25rem;
    }
    
    /* Cart Mobile */
    .cart-header {
        padding-bottom: 0.75rem;
        margin-bottom: 1rem;
    }
    
    #cart-items {
        max-height: 300px;
    }
    
    /* Coupons Mobile */
    #coupons-section {
        padding: 0.75rem;
    }
    
    .coupon-filters {
        gap: 0.25rem;
        margin-bottom: 1rem;
    }
    
    .filter-btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .coupon-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.75rem;
    }
    
    /* Cupons Personalizados Mobile */
    .personalized-section h3,
    .regular-coupons-section h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .coupon-header {
        padding: 0.5rem;
    }
    
    .personalized-badge {
        font-size: 1.25rem;
        padding: 0.2rem 0.4rem;
    }
    
    .coupon-content {
        padding: 0.75rem;
    }
    
    .coupon-content .coupon-name {
        font-size: 1rem;
    }
    
    .coupon-content .coupon-description {
        font-size: 0.8rem;
    }
    
    /* Footer Mobile */
    #main-footer {
        padding: 1.5rem 1rem;
        background-color: #2d2d2d;
    }
    
    .footer-newsletter {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .footer-newsletter h2 {
        font-size: 1.125rem;
        color: #ffffff;
        margin-bottom: 0.75rem;
        font-weight: 600;
    }
    
    .footer-newsletter p {
        color: #b0b0b0;
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .newsletter-form {
        max-width: 100%;
        flex-direction: row;
        gap: 0.75rem;
        align-items: center;
    }
    
    .newsletter-form input {
        flex: 1;
        padding: 0.875rem 1rem;
        border-radius: 0.5rem;
        border: none;
        font-size: 0.875rem;
        background-color: #ffffff;
        color: #333333;
    }
    
    .newsletter-form button {
        padding: 0.875rem 1.5rem;
        background-color: #d80027;
        color: white;
        border: none;
        border-radius: 0.5rem;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.75rem;
        white-space: nowrap;
        transition: background-color 0.3s ease;
    }
    
    .newsletter-form button:hover {
        background-color: #b3001f;
    }

    .footer-links {
        gap: 2rem;
        margin-bottom: 2rem;
        text-align: center;
        align-items: center;
    }
    
    .footer-logo img {
        width: 120px;
        height: 80px;
        margin: 0 auto 1.5rem;
        display: block;
    }
    
    .footer-nav {
        gap: 1rem;
        margin-bottom: 1.5rem;
        order: 2;
    }
    
    .footer-nav a {
        color: #ffffff;
        font-size: 0.875rem;
        padding: 0.5rem 0;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .footer-nav a:hover {
        color: #d80027;
    }
    
    .contact-info {
        margin-bottom: 1.5rem;
        order: 3;
    }
    
    .contact-info h3 {
        color: #ffffff;
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
    }
    
    .contact-email a {
        color: #ffffff;
        font-size: 0.875rem;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .contact-email a:hover {
        color: #d80027;
    }
    
    .social-media {
        gap: 1.5rem;
        margin-top: 1.5rem;
        order: 4;
    }
    
    .social-link {
        width: 2.5rem;
        height: 2.5rem;
        border: 1px solid #ffffff;
        color: #ffffff;
        font-size: 1rem;
        transition: all 0.3s ease;
    }
    
    .social-link:hover {
        background-color: #ffffff;
        color: #2d2d2d;
        transform: scale(1.1);
    }
    
    .footer-divider {
        margin: 2rem 0 1rem 0;
        border-color: #555555;
    }
    
    .footer-bottom {
        font-size: 0.75rem;
        color: #b0b0b0;
        gap: 0.75rem;
        text-align: center;
    }
    
    .footer-bottom span {
        color: #b0b0b0;
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .footer-bottom a {
        margin-top: 0.5rem;
    }
    
    .footer-bottom img {
        height: 1.5rem;
        filter: brightness(0) invert(1);
    }
}

@media (max-width: 480px) {
    /* Extra Small Devices */
    #main-banner {
        margin-bottom: 0.25rem;
    }
    
    .main-banner-image {
        max-height: 200px;
    }
    
    #main-header nav {
        padding: 0.5rem 0.75rem;
    }
    
    .logo svg {
        width: 50px;
        height: 37px;
    }
    
    #main-content {
        padding: 0.5rem;
    }
    
    .product-category h2 {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .product-info {
        padding: 0.5rem;
    }
    
    .product-image {
        height: 180px;
        aspect-ratio: 1/1;
    }
    
    .product-image img {
        padding: 0;
        transform: scale(1.15);
    }
    
    .product-name {
        font-size: 0.875rem;
    }
    
    .product-description {
        font-size: 0.75rem;
    }
    
    .current-price {
        font-size: 1.125rem;
    }
    
    .quantity-btn {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .add-to-cart-btn {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Cart Mobile Small */
    #cart-sidebar {
        padding: 1rem;
    }
    
    .cart-header h3 {
        font-size: 1rem;
    }
    
    .cart-item {
        padding: 0.75rem;
    }
    
    .cart-item-image {
        width: 3rem;
        height: 3rem;
    }
    
    /* Modal Mobile */
    .modal {
        padding: 0.5rem;
    }
    
    .modal-content {
        padding: 1rem;
    }
    
    .modal-content h3 {
        font-size: 1.125rem;
    }
    
    /* Sabores Mobile */
    .flavor-option {
        padding: 0.5rem;
    }
    
    .flavor-image {
        width: 50px;
        height: 50px;
    }
    
    .flavor-content {
        gap: 0.75rem;
    }
    
    .flavor-name {
        font-size: 0.8rem;
    }
    
    .flavor-description {
        font-size: 0.75rem;
    }
    
    /* Bebidas Mobile */
    .beverage-modal {
        max-width: 95vw;
        margin: 0.5rem;
    }
    
    .beverage-option {
        padding: 0.75rem;
    }
    
    .beverage-image {
        width: 45px;
        height: 45px;
    }
    
    .beverage-quantity {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    .beverage-name {
        font-size: 0.9rem;
    }
    
    .beverage-price {
        font-size: 0.8rem;
    }
    
    .modal-body i {
        font-size: 2.5rem;
    }
    
    /* Modal de Sabores Mobile */
    .flavor-modal {
        max-width: 100%;
        margin: 0.5rem;
    }
    
    .modal-header {
        padding-bottom: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .modal-header h3 {
        font-size: 1.125rem;
    }
    
    .combo-info {
        margin-bottom: 1rem;
        padding: 0.75rem;
    }
    
    .combo-info h4 {
        font-size: 1rem;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 0.75rem;
        padding-top: 0.75rem;
        margin-top: 0.75rem;
    }
    
    .btn-secondary,
    .btn-primary {
        width: 100%;
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }
    

    
    .quantity-limit-info {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
        margin-top: 0.375rem;
    }
    
    /* Exibição de quantidade Mobile */
    .flavor-quantity .quantity-display {
        font-size: 0.9rem;
        width: 1.75rem;
        padding: 0.2rem;
    }
    
    /* Footer Mobile Small */
    .footer-newsletter h2 {
        font-size: 0.75rem;
    }
    
    .footer-newsletter p {
        font-size: 0.625rem;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        font-size: 0.75rem;
        padding: 0.625rem 0.875rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover {
        transform: none;
        box-shadow: var(--shadow-md);
    }
    
    .product-card:active {
        transform: scale(0.98);
    }
    
    .add-to-cart-btn:hover {
        transform: none;
    }
    
    .add-to-cart-btn:active {
        transform: scale(0.95);
    }
    
    .quantity-btn:hover {
        background-color: inherit;
    }
    
    .quantity-btn:active {
        background-color: var(--bg-secondary);
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo svg,
    .footer-logo svg {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    #main-header nav {
        height: 50px;
    }
    
    .logo svg {
        width: 50px;
        height: 37px;
    }
    
    #main-content {
        padding: 0.5rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Estilos dos Botões do Modal de Bebidas */
.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Estilos do Checkout no Estilo iFood */
.ifood-style {
    font-family: 'Inter', sans-serif;
    max-width: 500px !important;
    width: 90% !important;
    margin: 2rem auto !important;
    padding: 2rem !important;
    background: white !important;
    border-radius: 1rem !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.ifood-style h1 {
    color: #FF5A5F !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
}

.ifood-style .close-btn {
    background: none !important;
    border: none !important;
    color: #374151 !important;
    font-size: 1.25rem !important;
    cursor: pointer !important;
    padding: 0.5rem !important;
    border-radius: 0.5rem !important;
    transition: all 0.2s ease !important;
}

.ifood-style .close-btn:hover {
    background: #f3f4f6 !important;
    color: #111827 !important;
}

.ifood-style .mb-4 {
    margin-bottom: 1rem !important;
}

.ifood-style .mb-6 {
    margin-bottom: 1.5rem !important;
}

.ifood-style .mt-4 {
    margin-top: 1rem !important;
}

.ifood-style .mt-8 {
    margin-top: 2rem !important;
}

.ifood-style .text-2xl {
    font-size: 1.5rem !important;
}

.ifood-style .text-xl {
    font-size: 1.25rem !important;
}

.ifood-style .text-base {
    font-size: 1rem !important;
}

.ifood-style .text-sm {
    font-size: 0.875rem !important;
}

.ifood-style .text-xs {
    font-size: 0.75rem !important;
}

.ifood-style .font-extrabold {
    font-weight: 800 !important;
}

.ifood-style .font-semibold {
    font-weight: 600 !important;
}

.ifood-style .font-medium {
    font-weight: 500 !important;
}

.ifood-style .text-gray-800 {
    color: #1f2937 !important;
}

.ifood-style .text-gray-600 {
    color: #4b5563 !important;
}

.ifood-style .text-gray-500 {
    color: #6b7280 !important;
}

.ifood-style .text-black {
    color: #000000 !important;
}

.ifood-style .text-white {
    color: #ffffff !important;
}

.ifood-style .bg-gray-100 {
    background-color: #f3f4f6 !important;
}

.ifood-style .bg-gray-200 {
    background-color: #e5e7eb !important;
}

.ifood-style .bg-red-ifood {
    background-color: #FF5A5F !important;
}

.ifood-style .hover-bg-red-ifood:hover {
    background-color: #e14a4f !important;
}

.ifood-style .hover-bg-gray-200:hover {
    background-color: #e5e7eb !important;
}

/* Logo do iFood */
.ifood-logo-container {
    margin-top: 1.5rem !important;
}

.ifood-logo-image {
    width: 120px;
    height: 120px;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(255, 90, 95, 0.3);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ifood-logo-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 90, 95, 0.4);
}

/* Banner do iFood */
.ifood-banner-container {
    margin-bottom: 1.5rem !important;
}

.ifood-banner-image {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ifood-banner-image:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Modal PIX */
.pix-content {
    max-width: 500px !important;
    width: 90% !important;
}

.pix-qrcode {
    text-align: center;
}

.qr-code-placeholder {
    padding: 2rem;
}

.qr-code-placeholder i {
    font-size: 4rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.pix-amount {
    background-color: #f3f4f6 !important;
    border-radius: 0.5rem !important;
    padding: 1rem !important;
    margin-bottom: 1rem !important;
}

.pix-amount h3 {
    font-weight: 600 !important;
    color: #1f2937 !important;
    margin-bottom: 0.5rem !important;
}

.pix-amount p {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #FF5A5F !important;
}

.pix-instructions {
    background-color: #eff6ff !important;
    border-radius: 0.5rem !important;
    padding: 1rem !important;
}

.pix-instructions h3 {
    font-weight: 600 !important;
    color: #1e40af !important;
    margin-bottom: 0.5rem !important;
}

.pix-instructions ol {
    color: #1d4ed8 !important;
    font-size: 0.875rem !important;
}

.pix-instructions li {
    margin-bottom: 0.5rem !important;
}

.payment-status {
    text-align: center !important;
}

.status-waiting i {
    font-size: 1.5rem !important;
    color: #f59e0b !important;
    margin-bottom: 0.5rem !important;
}

.status-success i {
    font-size: 1.5rem !important;
    color: #10b981 !important;
    margin-bottom: 0.5rem !important;
}

/* Campos PIX */
.pix-fields {
    display: none;
}

.pix-fields.show {
    display: block;
}

/* Campo CEP com botão de busca */
.relative {
    position: relative;
}

.relative button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0.25rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.relative button:hover {
    background-color: rgba(255, 90, 95, 0.1);
}

.relative button:active {
    transform: translateY(-50%) scale(0.95);
}

/* Estilos para campos com sucesso/erro */
.input-success {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.input-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.input-loading {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* Campos readonly */
input[readonly] {
    background-color: #f8f9fa !important;
    color: #6c757d !important;
    cursor: not-allowed;
}

input[readonly]:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Sistema de Upsell Paradise */
#p-upsell-63prd62 {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

#p-upsell-63prd62 .paradise-upsell-btn {
    display: block;
    background-color: #ff5a5f;
    color: #ffffff;
    padding: 18px 35px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
    line-height: 1.4;
    width: 100%;
}

#p-upsell-63prd62 .paradise-upsell-btn:hover {
    background-color: #ff5a5f;
    opacity: 0.95;
}

#p-upsell-63prd62 .paradise-upsell-btn.loading .main-text {
    display: inline-block;
}

#p-upsell-63prd62 .paradise-upsell-btn.loading .spinner {
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

#p-upsell-63prd62 .paradise-upsell-btn .main-text {
    display: block;
    font-size: 20px;
    font-weight: 700;
}

#p-upsell-63prd62 .paradise-upsell-btn .sub-text {
    display: block;
    font-size: 13px;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 4px;
}

#p-upsell-63prd62 .paradise-downsell-link {
    display: block;
    color: #a1a1aa;
    margin-top: 15px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}

#p-upsell-63prd62 .paradise-downsell-link:hover {
    opacity: 0.8;
}

/* Animação de fade-in para campos de endereço */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Campos de endereço inicialmente ocultos */
#address-fields.hidden {
    display: none;
}

#address-fields:not(.hidden) {
    display: block;
}

/* Mensagem orientativa */
#address-placeholder {
    transition: all 0.3s ease;
}

#address-placeholder i {
    display: block;
    margin: 0 auto;
}

#address-placeholder:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

.ifood-style .rounded-lg {
    border-radius: 0.5rem !important;
}

.ifood-style .rounded-xl {
    border-radius: 0.75rem !important;
}

.ifood-style .w-full {
    width: 100% !important;
}

.ifood-style .py-3 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

.ifood-style .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.ifood-style .pr-14 {
    padding-right: 3.5rem !important;
}

.ifood-style .mb-1 {
    margin-bottom: 0.25rem !important;
}

.ifood-style .mb-3 {
    margin-bottom: 0.75rem !important;
}

.ifood-style .mr-3 {
    margin-right: 0.75rem !important;
}

.ifood-style .space-y-4 > * + * {
    margin-top: 1rem !important;
}

.ifood-style .space-y-3 > * + * {
    margin-top: 0.75rem !important;
}

.ifood-style .block {
    display: block !important;
}

.ifood-style .flex {
    display: flex !important;
}

.ifood-style .items-center {
    align-items: center !important;
}

.ifood-style .justify-between {
    justify-content: space-between !important;
}

.ifood-style .cursor-pointer {
    cursor: pointer !important;
}

.ifood-style .select-none {
    user-select: none !important;
}

.ifood-style .transition-colors {
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, text-decoration-color 0.15s ease-in-out, fill 0.15s ease-in-out, stroke 0.15s ease-in-out !important;
}

.ifood-style .focus-outline-none:focus {
    outline: 2px solid transparent !important;
    outline-offset: 2px !important;
}

.ifood-style input::placeholder {
    color: #9ca3af !important;
}

.ifood-style input[type="radio"] {
    accent-color: #FF5A5F !important;
}

.ifood-style .text-center {
    text-align: center !important;
}

.ifood-style strong {
    font-weight: 700 !important;
}

/* Estilos dos Botões do Checkout */
.checkout-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Print Styles */
@media print {
    #main-header,
    #offer-banner,
    #cart-sidebar,
    .mobile-menu-toggle,
    .mobile-menu-overlay,
    .mobile-menu,
    #main-footer,
    .loading-indicator,
    .offline-indicator {
        display: none !important;
    }
    
    #main-content {
        padding: 0;
        background: white;
    }
    
    .product-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Custom colors to match KFC footer */
.bg-kfc-gray {
    background-color: #4a4a4a;
}
.text-kfc-white {
    color: #f5f5f5;
}
.text-kfc-lightgray {
    color: #d9d9d9;
}
.btn-kfc-red {
    background-color: #d80027;
}
.btn-kfc-red:hover {
    background-color: #b3001f;
}
.circle-kfc-red {
    background-color: #d80027;
}
hr.kfc-hr {
    border-color: #bfbfbf;
    opacity: 0.3;
}

/* ===== ESTILOS DO SISTEMA DE CHECKOUT ===== */

/* Modal de Checkout */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkout-modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.checkout-modal:not(.hidden) .checkout-content {
    animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header do Checkout com Banner iFood */
.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
    width: 100%;
}

.ifood-banner {
    height: 120px;
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    margin-bottom: 16px;
}

.text-red-ifood {
    color: #ed1c24 !important;
}

.ifood-banner + h1 {
    margin: 0;
    color: #ed1c24;
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: none;
    font-family: 'Roboto', sans-serif;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    text-align: center;
    line-height: 1.1;
}

/* Logo iFood embaixo do botão */
.ifood-logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-top: 1px solid #e5e7eb;
    margin-top: 16px;
}

.ifood-logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.2s ease;
    display: block;
}

.ifood-logo-image:hover {
    transform: scale(1.05);
}

/* Seção de Tempo de Entrega */
.delivery-time-section {
    padding: 20px 24px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.delivery-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #1e40af;
    font-size: 1rem;
    font-weight: 500;
}

.delivery-icon {
    font-size: 1.5rem;
    color: #3b82f6;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Botão X absoluto no canto superior direito */
.modal-close-absolute {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e5e7eb;
    font-size: 0.875rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0 !important;
    border-radius: 6px;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s;
    z-index: 10002;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.modal-close-absolute:hover {
    background: white;
    color: #374151;
    border-color: #d1d5db;
    transform: scale(1.05);
}

.checkout-modal.hidden {
    display: none;
}

.checkout-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
}

.modal-header {
    padding: 24px 24px 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #111827;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: #6b7280;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 20px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Formulário de Checkout */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
}

.form-group input {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #ed1c24;
    box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.1);
}

/* Campos de Endereço */
.address-fields {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 16px;
}

.address-fields .form-group:nth-child(3) {
    grid-column: 1 / -1;
}

.address-placeholder {
    background: #f9fafb;
    padding: 12px;
    border-radius: 8px;
    border: 1px dashed #d1d5db;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

.address-message {
    background: #eff6ff;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    font-size: 0.875rem;
    text-align: center;
}

/* Método de Pagamento */
.payment-method {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    background: #f9fafb;
}

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

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option:hover {
    border-color: #ed1c24;
    background: #fef2f2;
}

.payment-option input[type="radio"] {
    margin: 0;
}

.payment-label {
    font-weight: 500;
    color: #374151;
}

/* Campos PIX */
.pix-fields {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    background: #f9fafb;
}

/* Resumo do Pedido */
.order-summary {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
}

.order-summary h4 {
    margin: 0 0 16px 0;
    color: #111827;
    font-size: 1.125rem;
    font-weight: 600;
}

.summary-items {
    margin-bottom: 16px;
}

.summary-total {
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
}

/* Botões */
.btn-primary {
    background: #ed1c24;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background: #b3001f;
}

.btn-secondary {
    background: #6b7280;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background: #4b5563;
}

/* ===== MODAL PIX ===== */
.pix-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pix-modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.pix-modal:not(.hidden) .pix-content {
    animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pix-modal.hidden {
    display: none;
}

.pix-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
}

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

.pix-header h3 {
    margin: 0;
    color: #111827;
    font-size: 1.5rem;
    font-weight: 600;
}

.pix-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: #6b7280;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.pix-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.pix-body {
    padding: 24px;
}

.pix-amount {
    text-align: center;
    margin-bottom: 24px;
}

.pix-amount h4 {
    margin: 0;
    color: #111827;
    font-size: 1.5rem;
    font-weight: 600;
}

.pix-qrcode {
    text-align: center;
    margin-bottom: 24px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
}

.pix-code {
    margin-bottom: 24px;
}

.pix-code label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.pix-code input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: monospace;
    margin-bottom: 12px;
}

.pix-code button {
    background: #ed1c24;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.pix-code button:hover {
    background: #b3001f;
}

.pix-instructions {
    margin-bottom: 24px;
}

.pix-instructions h4 {
    margin: 0 0 16px 0;
    color: #111827;
    font-size: 1.125rem;
    font-weight: 600;
}

.pix-instructions ol {
    margin: 0;
    padding-left: 20px;
    color: #6b7280;
}

.pix-instructions li {
    margin-bottom: 8px;
}

.pix-status {
    text-align: center;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.pix-status p {
    margin: 0;
    color: #6b7280;
}

/* Utilitários */
.mb-6 {
    margin-bottom: 24px;
}

.hidden {
    display: none !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .checkout-modal,
    .pix-modal {
        padding: 10px;
    }
    
    .checkout-content,
    .pix-content {
        margin: 0;
        max-height: 95vh;
        width: 100%;
        border-radius: 8px;
    }
    
    .modal-header {
        padding: 20px 20px 16px 20px;
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .modal-close-absolute {
        top: 10px;
        right: 10px;
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        min-height: 22px !important;
        max-width: 22px !important;
        max-height: 22px !important;
        font-size: 0.75rem;
        padding: 0 !important;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .ifood-banner {
        height: 80px;
    }
    
    .ifood-banner + h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
        text-align: center;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .checkout-form {
        gap: 16px;
    }
    
    .form-group input {
        padding: 14px 16px;
        font-size: 16px; /* Evita zoom no iOS */
    }
    
    .address-fields {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .payment-method,
    .pix-fields,
    .order-summary {
        padding: 16px;
    }
    
    .payment-options {
        gap: 8px;
    }
    
    .payment-option {
        padding: 16px;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 16px 24px;
        font-size: 1rem;
    }
    
    .ifood-logo-section {
        padding: 16px 20px;
    }
    
    .ifood-logo-image {
        height: 60px;
    }
    
    .delivery-time-section {
        padding: 16px 20px;
    }
    
    .delivery-info {
        font-size: 0.875rem;
        gap: 8px;
    }
    
    .delivery-icon {
        font-size: 1.25rem;
    }
    
    /* Modal PIX Mobile */
    .pix-qrcode img {
        max-width: 180px;
    }
    
    .pix-code button {
        width: 100%;
        padding: 12px 16px;
    }
    
    .pix-instructions ol {
        padding-left: 16px;
    }
}

/* ===== ANIMAÇÕES ===== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile muito pequeno */
@media (max-width: 480px) {
    .checkout-modal,
    .pix-modal {
        padding: 5px;
    }
    
    .checkout-content,
    .pix-content {
        max-height: 98vh;
        border-radius: 6px;
    }
    
    .modal-header {
        padding: 16px 16px 12px 16px;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    .modal-footer {
        padding: 16px;
    }
    
    .modal-close-absolute {
        top: 8px;
        right: 8px;
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        max-width: 20px !important;
        max-height: 20px !important;
        font-size: 0.625rem;
        padding: 0 !important;
    }
    
    .ifood-banner {
        height: 70px;
    }
    
    .ifood-banner + h1 {
        font-size: 2rem;
        letter-spacing: 2px;
        text-align: center;
    }
    
    .ifood-logo-section {
        padding: 12px 16px;
    }
    
    .ifood-logo-image {
        height: 50px;
    }
}


