* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7e1515;
    --primary-dark: #a20c0c;
    --accent-color: #ea0606;
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --bg-color: #F5F5F5;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #E0E0E0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* BANNER CUPOM */
.banner-cupom {
    background: linear-gradient(45deg, var(--accent-color), #FF6B9D);
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.cupom-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* HEADER */
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 20px;
    text-align: center;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 12px;
}

.time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.status {
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-online {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.logo-section {
    margin-bottom: 30px;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.logo-container {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: white;
    padding: 6px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
    position: relative;
  }
  
  .logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }
              
.anniversary-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--accent-color);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 15px;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}  

.brand-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.tagline {
    font-size: 14px;
    opacity: 0.9;
    font-style: italic;
}

/* NAVEGAÇÃO TABS */
.nav-tabs {
    display: flex;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    padding: 4px;
    gap: 4px;
}

.tab {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 12px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab.active {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow);
}

/* PRODUTOS */
.products-container {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.category-section {
    display: none;
}

.category-section.active {
    display: block;
}

.category-header {
    text-align: center;
    margin-bottom: 25px;
}

.category-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.category-subtitle {
    font-size: 14px;
    color: var(--text-light);
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.promo-card {
    border: 2px solid var(--accent-color);
    background: linear-gradient(135deg, #FFF, #FFF8FC);
}

.product-image {
    position: relative;
    flex-shrink: 0;
}

.product-image img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.discount-badge {
    position: absolute;
    top: -8px;
    left: -8px;
    background: var(--accent-color);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    border: 2px solid white;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

.product-desc {
    font-size: 12px;
    color: var(--text-light);
}

.price-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.original-price {
    font-size: 12px;
    color: var(--text-light);
    text-decoration: line-through;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.add-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.add-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* MODAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.close-modal {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-light);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 20px;
}

.modal-price {
    text-align: center;
    margin-bottom: 25px;
}

.modal-original-price {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-right: 8px;
}

.modal-current-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.customization-section {
    margin-bottom: 25px;
}

.customization-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.option-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.option-item:hover {
    border-color: var(--primary-color);
}

.option-item input[type="checkbox"] {
    display: none;
}

.option-item input[type="checkbox"]:checked + img + span {
    color: var(--primary-color);
    font-weight: 600;
}

.option-item input[type="checkbox"]:checked ~ * {
    color: var(--primary-color);
}

.option-item:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(107, 63, 160, 0.1);
}

.option-item img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-bottom: 5px;
}

.option-item span {
    font-size: 12px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.customization-section textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
}

.customization-section textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.quantity-section {
    margin-bottom: 25px;
}

.quantity-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.quantity-controls button {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-controls button:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-controls span {
    font-size: 18px;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.final-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.confirm-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirm-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* FLOATING CART */
.cart-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    border-radius: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    z-index: 1500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-float:hover {
    transform: translateY(-2px);
}

.cart-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-float button {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 8px 16px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* SCREENS */
.screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-color);
    z-index: 2500;
    display: none;
    overflow-y: auto;
}

.screen.active {
    display: block;
}

.screen-header {
    background: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 10;
}

.back-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: var(--bg-color);
}

.screen-header h2 {
    font-size: 20px;
    font-weight: 600;
}

.screen-content {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

/* CART */
.cart-item {
    background: white;
    padding: 16px;
    border-radius: 15px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.cart-item-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-details {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.4;
}

.cart-item-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-price .original-price {
    font-size: 12px;
    color: var(--text-light);
    text-decoration: line-through;
}

.cart-item-price .current-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.cart-item-price .discount {
    background: var(--accent-color);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cart-item-controls .quantity {
    font-size: 16px;
    font-weight: 600;
}

.remove-item {
    background: var(--accent-color);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 12px;
}

.delivery-options {
    margin: 25px 0;
}

.delivery-options h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.service-btn {
    background: white;
    border: 2px solid var(--border-color);
    padding: 16px 12px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.service-btn:hover {
    border-color: var(--primary-color);
}

.service-btn.active {
    border-color: var(--primary-color);
    background: rgba(107, 63, 160, 0.1);
}

.service-btn i {
    font-size: 24px;
    color: var(--primary-color);
}

.service-btn span {
    font-size: 14px;
    font-weight: 600;
}

.service-btn small {
    font-size: 12px;
    color: var(--text-light);
}

.cart-summary {
    background: white;
    padding: 20px;
    border-radius: 15px;
    margin: 25px 0;
    box-shadow: var(--shadow);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.summary-line.total {
    border-top: 1px solid var(--border-color);
    margin-top: 10px;
    padding-top: 15px;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-color);
}

.continue-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.continue-btn:hover {
    background: var(--primary-dark);
}

.continue-btn:disabled {
    background: var(--text-light);
    cursor: not-allowed;
}

/* FORM */
.address-form {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* PAYMENT */
.order-summary {
    background: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.order-summary h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.confirm-order-btn {
    width: 100%;
    background: var(--success-color);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.confirm-order-btn:hover {
    background: #45A049;
    transform: scale(1.02);
}

/* THANKS */
.thanks-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.success-icon {
    font-size: 80px;
    color: var(--success-color);
    margin-bottom: 30px;
}

.thanks-content .logo-section {
    margin-bottom: 30px;
}

.thanks-content h1 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.thanks-content .anniversary {
    background: var(--accent-color);
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 10px;
    font-weight: 700;
}

.thanks-content h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.order-details {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.order-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.order-value {
    font-size: 16px;
    margin-bottom: 20px;
}

.order-description {
    background: var(--bg-color);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
}

.preparation-status,
.delivery-estimate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.preparation-status i {
    color: var(--warning-color);
    font-size: 20px;
}

.delivery-estimate i {
    color: var(--primary-color);
    font-size: 20px;
}

.contact-info {
    background: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.contact-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.whatsapp-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    color: #25D366;
    font-weight: 600;
}

.whatsapp-contact i {
    font-size: 20px;
}

.thanks-message {
    margin-bottom: 30px;
}

.thanks-message p {
    margin-bottom: 10px;
}

.thanks-message em {
    color: var(--primary-color);
    font-size: 14px;
}

.new-order-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.new-order-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .products-container {
        padding: 15px;
    }
    
    .product-card {
        padding: 12px;
        gap: 12px;
    }
    
    .product-image img {
        width: 80px;
        height: 64px;
    }
    
    .modal-content {
        margin: 10px;
        max-height: 95vh;
    }
    
    .options-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 8px;
    }
    
    .option-item {
        padding: 10px 6px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .banner-cupom {
        font-size: 12px;
        padding: 8px;
    }
    
    .brand-name {
        font-size: 24px;
    }
    
    .tab {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .category-title {
        font-size: 20px;
    }
    
    .product-info h3 {
        font-size: 14px;
    }
    
    .current-price {
        font-size: 16px;
    }
    
    .options-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .option-item span {
        font-size: 11px;
    }
}

/* LOADING STATES */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* SMOOTH SCROLLING */
html {
    scroll-behavior: smooth;
}

/* FOCUS STYLES */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* PRINT STYLES */
@media print {
    .modal-overlay,
    .cart-float,
    .banner-cupom {
        display: none !important;
    }
}
/* Container geral do resumo */
.order-summary {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-family: 'Arial', sans-serif;
    margin-bottom: 30px;
    color: #333;
}

/* Título */
.order-summary h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

/* Cada linha de informação */
.order-summary .summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 15px;
}

/* Nome do campo (ex: Item, Complementos...) */
.order-summary .summary-line span.label {
    font-weight: 600;
    color: #555;
}

/* Valores (ex: Combo 1Kg...) */
.order-summary .summary-line span.value {
    text-align: right;
    color: #444;
}

/* Valor total em destaque */
.order-summary .order-total {
    font-size: 18px;
    font-weight: 700;
    color: #6d1bc4;
    margin-top: 15px;
    text-align: right;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* Taxa grátis verde */
.order-summary .free-shipping {
    color: #28a745;
    font-weight: 600;
}

/* Tempo de entrega */
.order-summary .delivery-time {
    color: #ff9800;
    font-weight: 600;
}
/* MELHORIAS PARA TELA DE FINALIZAR PEDIDO */

/* Container principal da tela de pagamento */
.payment-screen {
    background: #f8f9fa;
    min-height: 100vh;
}

/* Conteúdo da tela de pagamento */
.payment-screen .screen-content {
    padding: 25px 20px;
    max-width: 600px;
    margin: 0 auto;
}

/* Título da tela */
.payment-screen h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

/* Resumo do pedido melhorado */
.order-summary {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.order-summary h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}

/* Linhas do resumo */
.order-summary .summary-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
    font-size: 15px;
    line-height: 1.4;
}

.order-summary .summary-line:last-child {
    border-bottom: none;
}

/* Labels das informações */
.order-summary .summary-line span:first-child {
    font-weight: 600;
    color: #555;
    min-width: 40%;
    flex-shrink: 0;
}

/* Valores das informações */
.order-summary .summary-line span:last-child {
    text-align: right;
    color: #333;
    font-weight: 500;
    word-break: break-word;
    max-width: 55%;
}

/* Linha do total com destaque */
.order-summary .summary-line.total {
    border-top: 2px solid #6B3FA0;
    border-bottom: none;
    margin-top: 15px;
    padding-top: 18px;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(107, 63, 160, 0.05), rgba(107, 63, 160, 0.1));
    margin: 15px -25px 0 -25px;
    padding: 18px 25px 0 25px;
    border-radius: 0 0 15px 15px;
}

.order-summary .summary-line.total span {
    color: #6B3FA0;
}

/* Destaque para taxa grátis */
.order-summary .free-delivery {
    color: #28a745 !important;
    font-weight: 600;
}

/* Destaque para tempo de entrega */
.order-summary .delivery-time {
    color: #ff6b35 !important;
    font-weight: 600;
}

/* Seção de pagamento */
.payment-selection {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.payment-selection h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}

/* Opção de pagamento */
.payment-option {
    display: flex;
    justify-content: center;
}

.payment-option .service-btn {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 2px solid #6B3FA0;
    padding: 20px 30px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(107, 63, 160, 0.1);
}

.payment-option .service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 63, 160, 0.2);
}

.payment-option .service-btn.active {
    background: linear-gradient(135deg, rgba(107, 63, 160, 0.1), rgba(107, 63, 160, 0.05));
    border-color: #6B3FA0;
}

.payment-option .service-btn i {
    font-size: 32px;
    color: #6B3FA0;
}

.payment-option .service-btn span {
    font-size: 16px;
    font-weight: 700;
    color: #6B3FA0;
}

/* Botão de confirmar pedido melhorado */
.confirm-order-btn {
    width: 100%;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 18px 20px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 25px;
}

.confirm-order-btn:hover {
    background: linear-gradient(135deg, #218838, #1ea87a);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(40, 167, 69, 0.4);
}

.confirm-order-btn:active {
    transform: translateY(0);
}

.confirm-order-btn i {
    font-size: 20px;
}

/* Separadores visuais */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #e9ecef, transparent);
    margin: 25px 0;
    border-radius: 1px;
}

/* Informações adicionais */
.payment-info {
    background: #f8f9fa;
    border-left: 4px solid #6B3FA0;
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
    font-size: 14px;
    color: #666;
}

.payment-info i {
    color: #6B3FA0;
    margin-right: 8px;
}

/* Responsivo para tela de pagamento */
@media (max-width: 768px) {
    .payment-screen .screen-content {
        padding: 20px 15px;
    }
    
    .order-summary,
    .payment-selection {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .order-summary .summary-line {
        font-size: 14px;
        padding: 10px 0;
    }
    
    .order-summary .summary-line.total {
        font-size: 16px;
        margin: 12px -20px 0 -20px;
        padding: 15px 20px 0 20px;
    }
    
    .confirm-order-btn {
        padding: 16px 18px;
        font-size: 16px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .order-summary .summary-line span:first-child {
        min-width: 35%;
    }
    
    .order-summary .summary-line span:last-child {
        max-width: 60%;
        font-size: 14px;
    }
    
    .payment-option .service-btn {
        padding: 16px 24px;
        min-width: 100px;
    }
    
    .payment-option .service-btn i {
        font-size: 28px;
    }
    
    .payment-option .service-btn span {
        font-size: 14px;
    }
}

/* Animação de carregamento para o botão */
.confirm-order-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.confirm-order-btn.loading::after {
    content: '';
    position: absolute;
    right: 20px;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

/* Efeito de sucesso */
.payment-success {
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.cta-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #ff1744, #d50000);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(255, 23, 68, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: none;
    margin-top: 10px;
}

.cta-btn:hover {
    background: linear-gradient(135deg, #d50000, #b71c1c);
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(255, 23, 68, 0.4);
}

/* Estilos para o rodapé de localização */
.local-footer {
    background-color: var(--primary-color); /* Usa a cor primária definida no seu :root */
    color: var(--white); /* Texto branco para contraste */
    text-align: center;
    padding: 20px;
    margin-top: 30px; /* Espaçamento acima do rodapé */
    font-size: 1em;
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1); /* Sombra sutil para destaque */
}

.local-footer p {
    margin: 5px 0;
}

.local-footer span {
    font-weight: bold;
}

/* Animação de fade-in para o rodapé */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-location {
    animation: fadeIn 1s ease-out forwards;
}

/* FOOTER LOCAL */
.local-footer {
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-size: 14px;
    position: relative; /* Ou 'fixed' se quiser que ele fique sempre visível na parte inferior */
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Começa invisível para a animação */
    transform: translateY(20px); /* Começa um pouco abaixo para a animação */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.local-footer.fade-in-location {
    opacity: 1; /* Torna visível */
    transform: translateY(0); /* Sobe para a posição final */
}

.local-footer p {
    margin: 0;
    padding: 0;
}

.local-footer span {
    font-weight: 600;
}

/* CARROSSEL BANNERS */

.banner-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}
  
.carousel-slide {
    display: flex;
    transition: transform 0.8s ease-in-out;
}
  
.carousel-slide img {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}
  
  .stock-badge {
    background-color: #FFA500;
    color: white;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.modal-product-image {
    text-align: center;
    margin-bottom: 10px;
}
  
  .modal-product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.delivery-timer-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(90deg, #ffdde1, #f28a8a);
    color: #7e1515;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 15px;
    border-radius: 12px;
    margin-top: 10px;
    box-shadow: 0 2px 10px rgba(255, 0, 0, 0.1);
    animation: pulseTimer 2s infinite ease-in-out;
  }
  
  .delivery-timer-box i {
    color: #a20c0c;
    font-size: 16px;
  }
  
  .timer-label {
    font-size: 14px;
  }
  
  .timer-countdown {
    font-size: 16px;
    font-weight: bold;
    background: white;
    color: #d00000;
    padding: 4px 10px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
  }
  
  @keyframes pulseTimer {
    0%, 100% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(1.03);
      opacity: 0.85;
    }
  }
  
  
  