/* ========================================
   COMPOSANTS PRODUITS
   ======================================== */

/* Products Section */
.products-section {
    background: var(--light-pink);
    min-height: 600px;
}

/* Sidebar */
.products-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
}

.widget-title {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--soft-pink);
    padding-bottom: 0.5rem;
}

/* Category Filter */
.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background: var(--soft-pink);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.category-item:hover,
.category-item.active {
    background: var(--primary-pink);
    color: var(--white);
    transform: translateX(5px);
}

.category-count {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Stats Widget */
.stats-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--soft-pink);
    border-radius: 10px;
}

.stats-item:last-child {
    margin-bottom: 0;
}

.stats-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
}

.stats-content {
    display: flex;
    flex-direction: column;
}

.stats-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stats-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Trust Badges */
.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--soft-pink);
    border-radius: 10px;
}

.trust-item:last-child {
    margin-bottom: 0;
}

.trust-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
}

.trust-content h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.trust-content p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

/* Products Header */
.products-header {
    background: var(--white);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
}

.products-count {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
}

.products-count i {
    color: var(--primary-pink);
    font-size: 1.5rem;
}

.view-options {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.view-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-right: 0.5rem;
}

.view-options .btn {
    border-radius: 10px;
    padding: 0.5rem 1rem;
}

/* Product Cards */
.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.product-placeholder {
    width: 100%;
    height: 100%;
    background: var(--soft-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 3rem;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 105, 180, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.overlay-buttons {
    display: flex;
    gap: 0.5rem;
}

.product-category {
    position: absolute;
    top: 15px;
    left: 15px;
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: var(--primary-pink);
}

.product-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-pink);
}

.product-actions .btn {
    border-radius: 10px;
    padding: 0.5rem 1rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
}

.empty-icon {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.empty-state h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* List View */
.products-grid.list-view .row {
    flex-direction: column;
}

.products-grid.list-view .col-md-6 {
    width: 100%;
    margin-bottom: 1rem;
}

.products-grid.list-view .product-card {
    display: flex;
    height: auto;
}

.products-grid.list-view .product-image {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

.products-grid.list-view .product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.products-grid.list-view .product-footer {
    margin-top: auto;
}



/* Responsive */
@media (max-width: 991px) {
    .products-header {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .view-options {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .products-grid.list-view .product-card {
        flex-direction: column;
    }
    
    .products-grid.list-view .product-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 576px) {
    .products-header {
        margin-bottom: 1rem;
    }
    
    .view-options .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
} 