* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f5f5f5;
    color: #333;
}

/* Header */
.header {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C61 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.cart-btn {
    background: white;
    color: #FF6B35;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.cart-btn:hover {
    transform: scale(1.05);
}

.cart-count {
    background: #FF6B35;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, #004E89 0%, #006BA6 100%);
    color: white;
    padding: 1rem;
    overflow: hidden;
    position: relative;
}

.banner-content {
    display: inline-block;
    white-space: nowrap;
    animation: slideText 35s linear infinite;
    font-weight: 600;
    font-size: 1rem;
}

.banner-content strong {
    color: #FFD700;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

@keyframes slideText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Search */
.search-box {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.search-box input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Categories Filter */
.categories-filter {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.categories-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.category-chip {
    background: #f0f0f0;
    color: #333;
    border: 2px solid transparent;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.category-chip:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.category-chip.active {
    background: #FF6B35;
    color: white;
    border-color: #FF6B35;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 1.5rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.9rem;
}

.footer-content a {
    color: #FF6B35;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    padding: 0 0.3rem;
}

.footer-content a:hover {
    color: #FF8C61;
    text-decoration: underline;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem;
    z-index: 999;
    display: none;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.cookie-accept-btn {
    background: #FF6B35;
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s;
}

.cookie-accept-btn:hover {
    background: #FF5722;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.product-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e91e63;
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
}

.product-soldout {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.6rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    font-style: italic;
    text-align: center;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.out-of-stock {
    opacity: 0.6;
}

.out-of-stock .product-image img {
    filter: grayscale(50%);
}

.product-image {
    position: relative;
    width: 100%;
    height: 200px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1rem;
}

.product-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: #333;
    min-height: 40px;
}

.product-presentation {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.7rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price-current {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FF6B35;
}

.price-old {
    font-size: 0.95rem;
    color: #999;
    text-decoration: line-through;
}

.add-btn {
    width: 100%;
    background: #FF6B35;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.add-btn:hover {
    background: #FF5722;
}

.add-btn:disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.7;
}

.add-btn:disabled:hover {
    background: #ccc;
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.cart-modal.active {
    display: flex;
}

.cart-content {
    background: white;
    width: 90%;
    max-width: 450px;
    max-height: 80vh;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cart-header {
    background: #FF6B35;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 1.5rem;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    padding: 0.8rem;
    overflow-y: auto;
    flex: 1;
    max-height: 20vh;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    background: #f5f5f5;
    border-radius: 8px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    background: #f0f0f0;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
}

.cart-total {
    padding: 0.8rem;
    border-top: 2px solid #eee;
    background: #f9f9f9;
    overflow-y: auto;
    max-height: 45vh;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF6B35;
}

.checkout-btn {
    width: 100%;
    background: #FF6B35;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s;
    position: relative;
}

.checkout-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

.checkout-btn.loading .btn-text {
    display: none;
}

.checkout-btn.loading .btn-loading {
    display: block !important;
}

.loading-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.loading-steps .step {
    font-size: 0.9rem;
    opacity: 0.4;
    transition: all 0.3s;
}

.loading-steps .step.active {
    opacity: 1;
    font-weight: 700;
}

.loading-steps .step.completed {
    opacity: 0.7;
    color: #90EE90;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Toast Messages */
.toast-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 300px;
    word-wrap: break-word;
}

.toast-message.show {
    transform: translateX(0);
}

.toast-success {
    background: #28a745;
    border-left: 4px solid #1e7e34;
}

.toast-error {
    background: #dc3545;
    border-left: 4px solid #c82333;
}

.toast-info {
    background: #17a2b8;
    border-left: 4px solid #138496;
}

.toast-warning {
    background: #ffc107;
    color: #212529;
    border-left: 4px solid #e0a800;
}

/* Modal de Confirmación */
.order-confirmation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.order-confirmation-modal.active {
    display: flex;
}

.confirmation-content {
    background: white;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.confirmation-header {
    background: #28a745;
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.confirmation-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.confirmation-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.order-summary {
    margin-bottom: 1.5rem;
}

.summary-section {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.summary-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.product-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.product-item:last-child {
    border-bottom: none;
}

.total-summary {
    background: #e7f3ff;
    border: 2px solid #007bff;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.total-final {
    font-size: 1.3rem;
    font-weight: 700;
    color: #007bff;
    border-top: 2px solid #007bff;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.whatsapp-btn {
    flex: 1;
    background: #25d366;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:active {
    transform: translateY(0);
    background: #1da851;
}

.close-confirmation-btn {
    flex: 0.3;
    background: #6c757d;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.close-confirmation-btn:hover {
    background: #5a6268;
}

.checkout-btn:hover:not(:disabled) {
    background: #FF5722;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.empty-cart {
    text-align: center;
    padding: 3rem 1rem;
    color: #999;
}

/* Delivery Form */
.delivery-section {
    background: linear-gradient(to bottom, #ffffff, #fafafa);
    border-radius: 12px;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
}

.delivery-title {
    color: #FF6B35;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #ffe5dc;
}

.form-group {
    margin-bottom: 0.45rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.form-label.required::after {
    content: ' *';
    color: #e91e63;
    font-weight: 700;
}

.form-select, .form-input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.form-select.error, .form-input.error {
    border-color: #e91e63;
    box-shadow: 0 0 0 2px rgba(233, 30, 99, 0.1);
}

.form-select.valid, .form-input.valid {
    border-color: #28a745;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.1);
}

.form-select:focus, .form-input:focus {
    outline: none;
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12), 0 2px 8px rgba(255, 107, 53, 0.15);
    transform: translateY(-1px);
}

.form-select:disabled, .form-input:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
    border-color: #ddd;
}

.input-help {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.82rem;
    line-height: 1.2;
}

.input-help.error {
    color: #e91e63;
    font-weight: 500;
}

.input-help.success {
    color: #28a745;
    font-weight: 500;
}

.input-help.neutral {
    color: #666;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 0.65rem 0.8rem;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.radio-option:hover {
    border-color: #FF6B35;
    background: linear-gradient(135deg, #fff9f6, #fff5f0);
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.1);
    transform: translateY(-1px);
}

.radio-option input[type="radio"] {
    margin-right: 0.8rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #FF6B35;
    flex-shrink: 0;
}

.radio-option.selected {
    border-color: #FF6B35;
    background: linear-gradient(135deg, #fff9f6, #fff5f0);
    box-shadow: 0 3px 8px rgba(255, 107, 53, 0.15), 0 1px 3px rgba(255, 107, 53, 0.1);
    font-weight: 600;
}

.radio-option > span:first-of-type {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.delivery-price {
    margin-left: auto;
    font-weight: 700;
    color: #FF6B35;
    font-size: 0.88rem;
    background: #ffe5dc;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
}

.delivery-free {
    color: #28a745;
    font-weight: 700;
    font-size: 0.88rem;
    background: #e8f5e9;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
}

/* Estilos para métodos de pago */
.payment-surcharge {
    margin-left: auto;
    font-weight: 700;
    color: #FF6B35;
    font-size: 0.88rem;
    background: #ffe5dc;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
}

.payment-normal {
    margin-left: auto;
    color: #28a745;
    font-weight: 700;
    font-size: 0.88rem;
    background: #e8f5e9;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
}

.payment-section {
    margin-top: 1rem;
}

.payment-info {
    margin-bottom: 1rem;
}

.payment-title {
    color: #004E89;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.payment-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.qr-container {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.qr-code {
    width: 180px;
    height: 180px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.payment-details {
    margin-top: 1rem;
}

.card-info, .cash-info {
    background: #f8f9fa;
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}

.change-info {
    background: #e8f5e8;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid #28a745;
    text-align: center;
}

.payment-instructions {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.payment-instructions ol {
    margin: 0.5rem 0;
    padding-left: 1.2rem;
}

.payment-instructions li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.form-help {
    font-size: 0.8rem;
    color: #777;
    margin-top: 0.25rem;
    display: block;
    font-style: italic;
}

/* Horario info banner */
.horario-info {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    text-align: center;
}

.horario-info strong {
    color: #856404;
}

@media (max-width: 768px) {
    /* Header móvil */
    .header {
        padding: 0.8rem 0;
    }

    .header-content {
        padding: 0 0.8rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .cart-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        gap: 0.3rem;
    }

    .cart-count {
        width: 22px;
        height: 22px;
        font-size: 0.8rem;
    }

    /* Banner móvil */
    .banner {
        padding: 0.7rem 0;
    }

    .banner-content {
        font-size: 0.85rem;
        animation: slideText 30s linear infinite;
    }

    .banner-content strong {
        font-size: 0.95rem;
    }

    /* Container móvil */
    .container {
        padding: 0.8rem;
    }

    /* Búsqueda móvil */
    .search-box {
        margin-bottom: 1rem;
    }

    .search-box input {
        font-size: 0.95rem;
        padding: 0.8rem 1rem;
    }

    /* Categorías móvil - SCROLL HORIZONTAL COMPACTO */
    .categories-filter {
        padding: 0.7rem 0;
        margin-bottom: 0.8rem;
        background: transparent;
        box-shadow: none;
    }

    .categories-title {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
        font-weight: 700;
        padding: 0 0.8rem;
    }

    .categories-list {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.5rem;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding: 0 0.8rem 0.4rem;
        scrollbar-width: none;
    }

    .categories-list::-webkit-scrollbar {
        display: none;
    }

    .category-chip {
        padding: 0.55rem 1rem;
        font-size: 0.85rem;
        border-radius: 18px;
        flex-shrink: 0;
    }

    /* Cookie banner móvil */
    .cookie-banner {
        padding: 0.8rem;
    }

    .cookie-content {
        font-size: 0.85rem;
        text-align: center;
        justify-content: center;
    }

    .cookie-accept-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Footer móvil */
    .footer {
        padding: 1rem;
        margin-top: 2rem;
    }

    .footer-content {
        font-size: 0.8rem;
    }

    /* Productos móvil - MEJORADO */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 0;
    }

    .product-card {
        padding: 0.8rem;
    }

    .product-image {
        height: 140px;
    }

    .product-name {
        font-size: 0.95rem;
        margin: 0.6rem 0 0.3rem;
    }

    .product-price {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .add-to-cart {
        padding: 0.65rem;
        font-size: 0.9rem;
    }

    /* Carrito móvil - MEJORADO */
    .cart-content {
        width: 100%;
        max-width: 100%;
        max-height: 95vh;
        border-radius: 20px 20px 0 0;
        margin: 0;
    }

    .cart-header {
        padding: 1rem;
    }

    .cart-header h2 {
        font-size: 1.3rem;
    }

    .close-cart {
        width: 32px;
        height: 32px;
        font-size: 1.5rem;
    }

    .cart-items {
        max-height: 20vh;
        padding: 0.8rem;
    }

    /* Items del carrito móvil */
    .cart-item {
        padding: 0.7rem 0;
        gap: 0.7rem;
    }

    .cart-item-image {
        width: 55px;
        height: 55px;
    }

    .cart-item-name {
        font-size: 0.9rem;
    }

    .cart-item-controls {
        gap: 0.6rem;
    }

    .qty-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    /* Sección total móvil */
    .cart-total {
        max-height: 60vh;
        padding: 0.8rem;
    }

    .qr-code {
        width: 140px;
        height: 140px;
    }

    /* Formulario delivery móvil */
    .delivery-section {
        padding: 0.8rem;
        margin-bottom: 0.6rem;
        border-radius: 10px;
    }

    .delivery-title {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
        padding-bottom: 0.4rem;
    }

    .form-group {
        margin-bottom: 0.6rem;
    }

    .form-label {
        font-size: 0.88rem;
        margin-bottom: 0.35rem;
    }

    .form-select, .form-input {
        padding: 0.7rem 0.8rem;
        font-size: 0.95rem;
        border-radius: 8px;
    }

    .radio-option {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
    }

    .radio-option input[type="radio"] {
        width: 18px;
        height: 18px;
    }

    .delivery-price, .delivery-free,
    .payment-surcharge, .payment-normal {
        font-size: 0.82rem;
        padding: 0.2rem 0.5rem;
    }

    /* Total y botón móvil */
    .total-row {
        font-size: 1rem;
        margin-bottom: 0.7rem;
    }

    .total-amount {
        font-size: 1.4rem;
    }

    .checkout-btn {
        padding: 1rem;
        font-size: 1.05rem;
        border-radius: 12px;
    }

    /* Mensajes de ayuda móvil */
    .input-help {
        font-size: 0.8rem;
        margin-top: 0.25rem;
    }

    .form-help {
        font-size: 0.78rem;
    }

    /* Horario info móvil */
    .horario-info {
        font-size: 0.8rem;
        padding: 0.6rem;
        margin-bottom: 0.6rem;
    }

    /* Toast messages móvil */
    .toast-message {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}
/* Modal de Confirmación del Resumen */
.confirmation-summary-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.confirmation-summary-modal.active {
    display: flex;
}

.confirmation-summary-content {
    background: white;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.confirmation-summary-header {
    background: #FF6B35;
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.confirmation-summary-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.confirmation-summary-body {
    overflow-y: auto;
    flex: 1;
}