/* ============================================
   ARCHIVO: styleprod.css
   Productos, Categorías y Grillas
============================================ */

/* Hero de productos */
.hero-productos {
    padding: 4rem 3%;
    text-align: center;
    color: white;
    background: transparent;
    width: 100%;
}

.hero-productos .hero-content {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.hero-productos h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-productos .lead {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255,255,255,0.95);
}

/* Navegación rápida */
.quick-nav-wrapper {
    padding: 0 2%;
    margin-bottom: 2rem;
    width: 100%;
}

.quick-nav {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    width: 96%;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.quick-nav-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.nav-button {
    padding: 0.8rem 1.5rem;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Categorías */
.category-wrapper {
    padding: 2rem 2%;
    width: 100%;
    scroll-margin-top: 100px;
}

.category-container {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    width: 96%;
    margin: 0 auto;
}

.category-header {
    text-align: center;
    margin-bottom: 2rem;
}

.category-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
}

.category-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #666;
    margin-top: 1.5rem;
}

/* Productos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.product-icon {
    width: 100%;
    max-width: 200px;
    height: 200px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: #f5f5f5;
    overflow: hidden;
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 1rem;
    color: #333;
}

.product-card p {
    color: #666;
    line-height: 1.8;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-badge {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Responsive productos */
@media (max-width: 1200px) {
    .category-container, .quick-nav { width: 98%; }
}

@media (max-width: 968px) {
    .category-container { padding: 2rem; border-radius: 15px; width: 98%; }
    .quick-nav { padding: 1.5rem; width: 98%; }
}

@media (max-width: 768px) {
    .quick-nav-buttons { flex-direction: column; }
    .nav-button { width: 100%; text-align: center; }
    .category-container { border-radius: 0; padding: 2rem 1.5rem; width: 100%; }
}

@media (max-width: 480px) {
    .category-container { padding: 1.5rem 1rem; }
    .product-icon { height: 150px; }
}
