/* Products Page Styles */
.products-section {
    padding: 60px 20px;
    min-height: 100vh;
    background: var(--light-color);
}

.products-header {
    margin-bottom: 50px;
}

.products-header h1 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.filter-section {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.search-input,
.category-filter {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    transition: var(--transition);
}

.search-input {
    flex: 1;
    min-width: 200px;
}

.category-filter {
    min-width: 150px;
}

.search-input:focus,
.category-filter:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 71, 125, 0.1);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    animation: fadeIn 0.5s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #f5a3c7, #d4477d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color);
}

.product-price {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

.price-original {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
}

.price-current {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
}

.product-details {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
}

.product-details p {
    margin: 5px 0;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-view {
    flex: 1;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    background: var(--light-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-view:hover {
    background: var(--primary-color);
    color: white;
}

.btn-whatsapp {
    flex: 1;
    padding: 10px;
    border-radius: 5px;
    background: #25d366;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-whatsapp:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state i {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .products-header h1 {
        font-size: 28px;
    }

    .filter-section {
        flex-direction: column;
    }

    .search-input,
    .category-filter {
        width: 100%;
        min-width: unset;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}
