/* Sección de Productos Personalizados */
.custom-products {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.custom-products .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Filtros de categoría */
.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 20px;
    background: #ecf0f1;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover {
    background: #d6dbdf;
}

.filter-btn.active {
    background: #3498db;
    color: white;
}

/* Grid de productos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin: 0 0 10px;
    color: #2c3e50;
    font-size: 1.3rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.product-features span {
    background: #f1f5f9;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-features i {
    font-size: 12px;
    color: #3498db;
}

/* Botones de WhatsApp */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.whatsapp-btn:hover {
    background: #128C7E;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn i {
    margin-right: 8px;
    font-size: 18px;
}

.whatsapp-btn.outline {
    background: transparent;
    border: 2px solid #25D366;
    color: #25D366;
}

.whatsapp-btn.outline:hover {
    background: #25D366;
    color: white;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.cta-section p {
    color: #7f8c8d;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    display: block;
    margin: 60px auto;
    max-width: 90%;
    max-height: 80vh;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-caption {
    margin: 15px auto;
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
    max-width: 80%;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover {
    color: #bbb;
}

/* Añade esto a las imágenes de producto */
.product-image img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.product-image img:hover {
    transform: scale(1.02);
}