/* ClassifiedWP Theme Styles */

/* Custom styles for ClassifiedWP theme */
.bg-gradient {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
}

.text-light {
    color: rgba(255, 255, 255, 0.8) !important;
}

.product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

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

.product-card.featured {
    border-color: #ffc107;
    background: linear-gradient(145deg, #fff9e6, #ffffff);
}

.category-card {
    transition: transform 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.category-card:hover {
    transform: translateY(-2px);
    text-decoration: none !important;
}

.sticky-top {
    top: 1rem !important;
}

/* Filtros sidebar */
.filter-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Breadcrumb custom */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
}

/* Product meta */
.product-meta {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Badge styles */
.badge-discount {
    background-color: #dc3545;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
}

.badge-featured {
    background-color: #ffc107;
    color: #000;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Tab styles */
.tab-button.active {
    background-color: var(--bs-primary);
    color: white;
}

.tab-button:hover:not(.active) {
    background-color: var(--bs-light);
}

/* Search form */
.search-form {
    max-width: 600px;
}

/* Pagination */
.pagination .page-link {
    color: #0d6efd;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* WooCommerce compatibility */
.woocommerce .product {
    margin-bottom: 2rem;
}

.woocommerce .product-category {
    margin-bottom: 1rem;
}

.woocommerce .price {
    color: #0d6efd;
    font-weight: bold;
}

.woocommerce .price del {
    opacity: 0.6;
}

/* Custom button styles */
.btn-custom-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

.btn-custom-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    color: white;
}

.btn-custom-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
}

.btn-custom-warning:hover {
    background-color: #ffcd39;
    border-color: #ffc720;
    color: #000;
}