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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 14px; /* Tamaño de letra pequeño para iPhone/iPad */
    line-height: 1.5;
    color: #333;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    background-size: cover;
    background-position: center;
    color: white;
    padding-top: 20px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    z-index: -1;
}

.navbar {
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-size: 1.2rem;
    font-weight: 600;
}

.navbar-brand img {
    max-height: 40px;
    width: auto;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 80px 0 60px;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
}

/* Secciones */
.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #e74c3c;
    margin: 10px auto 0;
}

/* Tarjetas de productos */
.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 25px;
    height: 100%;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 180px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.product-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e74c3c;
}

.product-availability {
    font-size: 0.85rem;
    color: #666;
}

.delivery-badge {
    display: inline-block;
    background: #27ae60;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 5px;
}

.hidden-badge {
    display: inline-block;
    background: #95a5a6;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 5px;
}

/* Información del negocio */
.business-info {
    background: #f8f9fa;
}

.business-detail {
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
}

.business-detail i {
    color: #e74c3c;
    margin-top: 3px;
    min-width: 20px;
}

/* Redes sociales */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #34495e;
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    margin-bottom: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #e74c3c;
    transform: translateY(-3px);
    text-decoration: none;
    color: white;
}

.social-icon i {
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .product-card {
        margin-bottom: 20px;
    }
    
    .product-image {
        height: 160px;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 13px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-content {
        padding: 60px 0 40px;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .product-price {
        font-size: 1.2rem;
    }
}

/* Estados de carga */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Utilitarios */
.text-shadow {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}