/* Mini carrito flotante */
#mini-carrito {
    position: fixed;
    top: 120px;
    right: 20px;
    background: #fff;
    border: 2px solid #ffd60a;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(44,62,80,0.2);
    padding: 1rem;
    max-width: 280px;
    z-index: 1500;
    animation: slideInRight 0.3s ease;
}
#mini-carrito h4 {
    margin: 0 0 0.5rem 0;
    color: #2d572c;
    font-size: 1.1rem;
}
#mini-carrito-lista {
    max-height: 150px;
    overflow-y: auto;
    margin-bottom: 0.5rem;
}
#mini-carrito-lista div {
    font-size: 0.9rem;
    color: #2d572c;
    margin-bottom: 0.3rem;
    padding: 0.2rem 0;
    border-bottom: 1px solid #e9f7ef;
}
#mini-carrito-total {
    font-weight: bold;
    color: #ffd60a;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}
#ver-carrito-completo {
    background: #ffd60a;
    color: #2d572c;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}
#ver-carrito-completo:hover {
    background: #ffe066;
}

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

@media (max-width: 500px) {
    #mini-carrito {
        left: 10px;
        right: 10px;
        max-width: none;
        top: 100px;
    }
}

/* Toast notification */
#toast {
    display: none;
    position: fixed;
    top: 120px;
    right: 20px;
    background: #ffd60a;
    color: #2d572c;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(44,62,80,0.4);
    font-weight: bold;
    z-index: 9998;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 300px;
    text-align: center;
    border: 2px solid #2d572c;
}

/* Toast responsivo para móviles */
@media (max-width: 768px) {
    #toast {
        top: 100px;
        right: 15px;
        max-width: 250px;
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
    }
}

@media (max-width: 480px) {
    #toast {
        top: 90px;
        right: 10px;
        left: 10px;
        max-width: none;
        font-size: 0.85rem;
        padding: 0.7rem 1rem;
        text-align: center;
    }
}

/* Modal Carrito */
.modal-carrito {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

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

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

.modal-contenido {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 2.5rem;
    width: 650px;
    max-width: 90vw;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    margin: auto;
    animation: slideInFromTop 0.4s ease;
}

.modal-contenido h2 {
    margin: 0 0 24px 0;
    color: #2d572c;
    font-size: 28px;
    text-align: center;
    border-bottom: 3px solid #ffd60a;
    padding-bottom: 12px;
}

.cerrar-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s ease;
}

.cerrar-modal:hover {
    color: #ff4757;
    transform: scale(1.1);
}

/* Estilos para elementos del carrito */
.carrito-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.carrito-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.item-nombre {
    font-weight: 600;
    font-size: 18px;
    color: #2d572c;
    margin: 0;
}

.eliminar-btn {
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.eliminar-btn:hover {
    background: #ff3742;
    transform: scale(1.05);
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.item-units, .item-price {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 8px;
}

.qty-btn {
    background: #ffd60a;
    border: none;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
    color: #2d572c;
}

.qty-btn:hover:not(:disabled) {
    background: #2d572c;
    color: #ffd60a;
    transform: scale(1.1);
}

.qty-btn:disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.quantity-display {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 8px 16px;
    min-width: 40px;
    text-align: center;
    font-weight: 600;
    color: #2d572c;
}

.item-subtotal {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.subtotal-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subtotal-amount {
    font-size: 18px;
    font-weight: 700;
    color: #28a745;
}

/* Carrito vacío */
.carrito-vacio {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.carrito-vacio-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.carrito-vacio h3 {
    margin: 0 0 8px 0;
    color: #495057;
}

.carrito-vacio p {
    margin: 0;
    font-size: 14px;
}

/* Resumen del carrito */
.carrito-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #dee2e6;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-label {
    font-size: 14px;
    color: #495057;
}

.summary-value {
    font-weight: 600;
    color: #2d572c;
}

.total-row {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 2px solid #ffd60a;
}

.total-row .summary-label {
    font-size: 18px;
    font-weight: 600;
    color: #2d572c;
}

.total-amount {
    font-size: 24px;
    font-weight: 700;
    color: #28a745;
}

.item-cantidad button:hover {
    background: #2d572c;
    color: #ffd60a;
    transform: scale(1.1);
}

.item-precio {
    font-weight: bold;
    color: #28a745;
    font-size: 16px;
}

.eliminar-item {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s ease;
}

.eliminar-item:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* Acciones del carrito */
.carrito-acciones {
    display: flex;
    gap: 16px;
    margin: 24px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.carrito-acciones button {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

#vaciar-carrito {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

#vaciar-carrito:hover {
    background: linear-gradient(135deg, #ff5252, #d32f2f);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

#procesar-pedido {
    background: linear-gradient(135deg, #51cf66, #40c057);
    color: white;
    box-shadow: 0 4px 15px rgba(81, 207, 102, 0.3);
}

#procesar-pedido:hover {
    background: linear-gradient(135deg, #40c057, #37b24d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(81, 207, 102, 0.4);
}

.carrito-acciones button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.instrucciones-pedido {
    background: linear-gradient(135deg, #e9f7ef, #d4edda);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    border-left: 4px solid #28a745;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.1);
}

.instrucciones-pedido h3 {
    color: #2d572c;
    margin: 0 0 15px 0;
    font-size: 18px;
}
.instrucciones-pedido ul {
    margin: 10px 0;
    padding-left: 20px;
}

.instrucciones-pedido li {
    color: #2d572c;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.nota-importante {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffc107;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    font-size: 14px;
    color: #856404;
    box-shadow: 0 2px 6px rgba(255, 193, 7, 0.2);
}

#form-pedido-modal {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}
#form-pedido-modal label {
    color: #2d572c;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}
#form-pedido-modal input,
#form-pedido-modal textarea {
    width: 100%;
    box-sizing: border-box;
}
#form-pedido-modal textarea {
    resize: vertical;
    min-height: 60px;
}
.cerrar-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    font-weight: bold;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.cerrar-modal:hover {
    background: #f8f9fa;
    color: #dc3545;
    transform: scale(1.1);
}

/* Título del modal */
.modal-contenido h2 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #2d572c;
    font-size: 24px;
    text-align: center;
    padding-right: 40px; /* Para que no se monte con el botón cerrar */
}

/* Responsive para el modal */
@media (max-width: 768px) {
    .modal-carrito {
        padding: 10px;
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .modal-contenido {
        padding: 1.5rem;
        width: 95vw;
        max-height: 90vh;
        margin-top: 10px;
        border-radius: 12px;
    }
    
    .cerrar-modal {
        top: 10px;
        right: 15px;
        font-size: 24px;
        width: 35px;
        height: 35px;
        background: #f8f9fa;
        border: 1px solid #dee2e6;
    }
    
    .carrito-acciones {
        flex-direction: column;
        align-items: center;
    }
    
    .carrito-acciones button {
        width: 100%;
        max-width: 250px;
    }
    
    .item-detalles {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .modal-contenido h2 {
        font-size: 20px;
        padding-right: 35px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .modal-carrito {
        padding: 5px;
        padding-top: 15px;
    }
    
    .modal-contenido {
        padding: 1.2rem;
        width: 98vw;
        max-height: 92vh;
        margin-top: 5px;
        border-radius: 8px;
    }
    
    .cerrar-modal {
        top: 8px;
        right: 12px;
        font-size: 22px;
        width: 32px;
        height: 32px;
    }
    
    .modal-contenido h2 {
        font-size: 18px;
        padding-right: 30px;
        margin-bottom: 15px;
    }
}
#carrito-modal-lista ul {
    list-style: none;
    padding: 0;
}
#carrito-modal-lista li {
    margin-bottom: 0.5rem;
    color: #2d572c;
}
#carrito-modal-lista p {
    color: #2d572c;
}
@media (max-width: 500px) {
    .modal-contenido {
        width: 95vw;
        padding: 1rem 0.5rem;
    }
}
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    background: #f9fbe7;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
header {
    background: linear-gradient(90deg, #ffe066 60%, #b2f2a5 100%);
    color: #2d572c;
    padding: 1.5rem 0 1rem 0;
    text-align: center;
    position: relative;
}
header h1 {
    margin: 0;
    font-size: 2.5rem;
    letter-spacing: 2px;
}
/* Tabs Navigation */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 1rem;
}
.tab-btn {
    background: #e9f7ef;
    border: none;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    color: #2d572c;
    transition: background 0.3s;
    border-bottom: 3px solid transparent;
}
.tab-btn:first-child {
    border-radius: 8px 0 0 8px;
}
.tab-btn:last-child {
    border-radius: 0 8px 8px 0;
}
.tab-btn.active {
    background: #ffd60a;
    border-bottom: 3px solid #2d572c;
}
.tab-btn:hover {
    background: #ffe066;
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 2rem 1rem;
}
.tab-content.active {
    display: block;
}

/* Home Tab Styles */
.hero-home {
    background: #fffde7;
    padding: 1.5rem;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 1rem;
    max-height: 70vh;
    overflow-y: auto;
}
.logo-home {
    height: 220px;
    width: 220px;
    object-fit: contain;
    margin-bottom: 1rem;
}
.hero-home h2 {
    color: #ffd60a;
    margin-bottom: 0.8rem;
    font-size: 1.8rem;
}
.hero-home p {
    color: #2d572c;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}
.beneficios {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.beneficio {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    width: 220px;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
    text-align: center;
}
.beneficio h3 {
    color: #2d572c;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.beneficio p {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Tab Styles */
#contacto {
    background: linear-gradient(135deg, #fffde7 0%, #f8f9fa 100%);
    padding: 3rem 1rem;
    min-height: 80vh;
}

#contacto h2 {
    color: #2d572c;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: #ffd60a;
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.info-card h3 {
    color: #2d572c;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-card p {
    color: #2d572c;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.info-detail {
    color: #666 !important;
    font-weight: 400 !important;
    font-size: 0.9rem;
}

.contact-form-container {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form-container h3 {
    color: #2d572c;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    color: #2d572c;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd60a;
    box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.2);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #ffd60a 0%, #b2f2a5 100%);
    color: #2d572c;
    border: none;
    border-radius: 12px;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #ffe066 0%, #8fd19e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 214, 10, 0.3);
}

.btn-icon {
    font-size: 1.2rem;
}

/* Form validation styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2) !important;
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Info card hover effects */
.info-card {
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 214, 10, 0.1), transparent);
    transition: left 0.5s ease;
}

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

/* Click indicators for interactive cards */
.info-card[style*="cursor: pointer"]:hover {
    border-color: #28a745 !important;
}

.info-card[style*="cursor: pointer"]::after {
    content: '👆 Click to contact';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(45, 87, 44, 0.9);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card[style*="cursor: pointer"]:hover::after {
    opacity: 1;
}

/* Mobile Responsive Design */
@media (max-width: 968px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    #contacto {
        padding: 2rem 1rem;
    }
    
    #contacto h2 {
        font-size: 2rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    #contacto {
        padding: 1.5rem 0.5rem;
    }
    
    .info-card {
        padding: 1rem;
    }
    
    .contact-form-container {
        padding: 1rem;
    }
    
    .submit-btn {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 700px) {
    .tabs-nav {
        flex-direction: column;
        align-items: center;
    }
    .tab-btn {
        width: 200px;
        border-radius: 8px !important;
        margin-bottom: 0.5rem;
    }
    .beneficios {
        flex-direction: column;
        align-items: center;
    }
}

#hero {
    background: #fffde7;
    padding: 2rem 1rem;
    text-align: center;
}
#hero h2 {
    color: #ffd60a;
    margin-bottom: 0.5rem;
}
#productos {
    background: #e9f7ef;
    padding: 2rem 1rem;
}
#productos h2 {
    color: #2d572c;
    text-align: center;
}
.productos-lista {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

.producto {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(44, 62, 80, 0.1);
    padding: 1.2rem;
    width: 280px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto;
    border: 1px solid #f0f0f0;
}
.tamaño-selector {
    margin: 0.5rem 0;
}
.tamaño-selector label {
    display: block;
    color: #2d572c;
    font-weight: bold;
    margin-bottom: 0.3rem;
}
.tamaño-selector select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #b2f2a5;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* Información del producto */
.producto-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.tamaño-info {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.precio-info {
    font-size: 18px;
    font-weight: bold;
    color: #28a745;
}

/* Notificación Toast */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 320px;
    border: none;
    backdrop-filter: blur(10px);
    font-family: 'Arial', sans-serif;
}

.toast::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffffff40, #ffffff80, #ffffff40);
    border-radius: 12px 12px 0 0;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.toast-error {
    background: linear-gradient(135deg, #dc3545, #c82333);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.toast.toast-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.toast.toast-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
    box-shadow: 0 8px 25px rgba(23, 162, 184, 0.3);
}

.toast.toast-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
    color: #212529;
}

.toast .toast-icon {
    font-size: 24px;
    margin-right: 12px;
    display: inline-block;
    vertical-align: top;
    line-height: 1;
}

.toast .toast-content {
    display: inline-block;
    vertical-align: top;
    flex: 1;
}

.toast .toast-title {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 4px;
    line-height: 1.2;
}

.toast .toast-message {
    font-size: 13px;
    opacity: 0.95;
    line-height: 1.3;
}

/* Animación del contador del carrito */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.carrito-pulse {
    animation: pulse 0.3s ease-in-out;
}

.producto:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.15);
    border-color: #ffd60a;
}

.producto img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.producto h3 {
    color: #2d572c;
    margin: 0 0 0.8rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
}

.producto p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* Información del producto simplificada */
.producto-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.producto-precio {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d572c;
}

.producto-cantidad {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.producto-cantidad label {
    font-size: 0.9rem;
    color: #2d572c;
    font-weight: 500;
}

.producto-cantidad input {
    width: 50px;
    padding: 0.3rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
}

.producto-cantidad input:focus {
    outline: none;
    border-color: #ffd60a;
}

.agregar-carrito {
    background: #ffd60a;
    color: #2d572c;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.agregar-carrito:hover {
    background: #ffe066;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(255, 214, 10, 0.3);
}
#contacto h2 {
    color: #2d572c;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* General form styles for other sections */
.general-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.general-form input, 
.general-form textarea {
    padding: 0.7rem;
    border: 1px solid #b2f2a5;
    border-radius: 6px;
    font-size: 1rem;
}

.general-form button {
    background: linear-gradient(90deg, #ffd60a 60%, #b2f2a5 100%);
    color: #2d572c;
    border: none;
    border-radius: 6px;
    padding: 0.8rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.general-form button:hover {
    background: linear-gradient(90deg, #ffe066 60%, #8fd19e 100%);
}
main {
    flex: 1;
}

footer {
    background: #b2f2a5;
    color: #2d572c;
    text-align: center;
    padding: 1rem 0;
    font-size: 1rem;
    margin-top: auto;
}
@media (max-width: 768px) {
    .productos-lista {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .producto {
        width: 90%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .producto {
        width: 95%;
        padding: 1rem;
    }
    
    .producto img {
        height: 160px;
        object-fit: contain;
    }
    
    .producto-info {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    
    .producto-cantidad {
        justify-content: center;
    }
}

/* Estilos responsivos para el carrito */
#carrito-icono {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #2d572c;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    box-shadow: 0 4px 15px rgba(45, 87, 44, 0.25), 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#carrito-icono:hover {
    background: linear-gradient(135deg, #ffd60a 0%, #ffe066 100%);
    border-color: #2d572c;
    transform: translateY(-50%) scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(255, 214, 10, 0.4), 0 4px 15px rgba(45, 87, 44, 0.3);
}

#carrito-icono:active {
    transform: translateY(-50%) scale(0.95);
    transition: all 0.1s ease;
}

#carrito-icono img {
    height: 32px;
    width: 32px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(45, 87, 44, 0.3));
    transition: all 0.3s ease;
    object-fit: contain;
    /* Optimización para PNG con fondo transparente */
    max-width: 32px;
    max-height: 32px;
}

#carrito-icono:hover img {
    filter: drop-shadow(0 3px 6px rgba(45, 87, 44, 0.5));
    transform: scale(1.1);
}

#carrito-cantidad {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(255, 71, 87, 0.4), 0 1px 4px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1003;
    animation: pulse 2s infinite;
}

#carrito-cantidad:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 3px 8px rgba(255, 71, 87, 0.4), 0 1px 4px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 3px 8px rgba(255, 71, 87, 0.6), 0 1px 4px rgba(0, 0, 0, 0.3);
    }
}

/* Carrito flotante para móviles */
@media (max-width: 768px) {
    #carrito-icono {
        position: fixed;
        right: 20px;
        bottom: 20px;
        top: auto;
        transform: none;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 50%;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        padding: 12px;
        z-index: 9999;
        border: 2px solid #2d572c;
    }
    
    #carrito-icono:hover {
        background: rgba(255, 214, 10, 0.95);
        transform: scale(1.1);
    }
    
    #carrito-icono img {
        height: 30px;
        width: 30px;
        object-fit: contain;
        max-width: 30px;
        max-height: 30px;
    }
    
    #carrito-cantidad {
        top: -5px;
        right: -5px;
        font-size: 0.8rem;
        padding: 2px 6px;
        min-width: 18px;
        height: 18px;
        background: #ff4757;
        color: white;
        border: 2px solid white;
    }
    
    /* Header normal sin sticky */
    header {
        position: relative;
        padding: 1rem 0 0.8rem 0;
    }
    
    header h1 {
        font-size: 1.8rem;
        margin: 0;
    }
    
    /* Tabs normales sin sticky */
    .tabs-nav {
        position: relative;
        margin-top: 1rem;
        padding: 0;
    }
    
    .tab-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* Muy pequeño (teléfonos en vertical) */
@media (max-width: 480px) {
    #carrito-icono {
        right: 15px;
        bottom: 15px;
        padding: 10px;
    }
    
    #carrito-icono img {
        height: 25px;
        width: 25px;
        object-fit: contain;
        max-width: 25px;
        max-height: 25px;
    }
    
    #carrito-cantidad {
        font-size: 0.75rem;
        padding: 1px 5px;
        min-width: 16px;
        height: 16px;
        top: -3px;
        right: -3px;
    }
    
    header h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .tab-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
}
