.boutique-container {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 2rem auto;
    position: relative;
    min-height: calc(100vh - 400px);
}

.products-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.products-header h2 {
    font-size: 1.8rem;
    color: #333;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.products-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #0066cc;
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(425px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.product-image-container {
    position: relative;
    width: 100%;
    padding-top: 75%;
    /* 4:3 Aspect Ratio */
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.badge {
    position: absolute;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stock-badge {
    top: 1rem;
    left: 1rem;
    background: linear-gradient(45deg, #ff9800, #ff5722);
    color: white;
}

.new-badge {
    top: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
}

.discount-badge {
    bottom: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, #ff4444, #ff1744);
    color: white;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: #0066cc;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.product-title {
    font-size: 1.2rem;
    color: #333;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0.5rem 0;
}

.product-specs span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #0066cc;
}

.product-specs i {
    color: #0066cc;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.product-price-container {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin: 1rem 0;
}

.product-price {
    font-size: 1.5rem;
    color: #0066cc;
    font-weight: 700;
}

.original-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.discounted-price {
    font-size: 1.5rem;
    color: #291af7;
    font-weight: 700;
}

.product-actions {
    padding: 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.add-to-cart {
    background: #0066cc;
    color: white;
}

.add-to-cart:hover {
    background: #004999;
    transform: translateY(-2px);
}

.add-to-wishlist {
    border: #224cf5 !important;
    background: white;
    color: #224cf5;
    padding: calc(0.8rem - 2px) calc(1.5rem - 2px);
}

.add-to-wishlist:hover {
    border: #224cf5 !important;

    background: #ffffff;
    color: rgb(255, 0, 0);
    transform: translateY(-2px);
}

.view-details {
    background: #333;
    color: white;
    width: 100%;
    text-align: center;
}

.view-details:hover {
    background: #222;
    transform: translateY(-2px);
}

.stock-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: auto;
    margin-bottom: 1rem;
}

.in-stock {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.low-stock {
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
}

.out-of-stock {
    background: rgba(244, 67, 54, 0.1);
    color: #F44336;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .boutique-container {
        flex-direction: column;
    }

    .filters-sidebar {
        position: relative;
        top: 0;
        width: 100%;
        margin-bottom: 2rem;
    }

    .products-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .boutique-container {
        padding: 1rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1rem;
    }

    .product-info {
        padding: 1rem;
        gap: -10px;
    }

    .product-actions {
        padding: 1rem;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .boutique-container {
        padding: 1rem;
    }

    .product-card {
        margin: 0;
    }

    .product-actions {
        flex-direction: row;
        top: auto;
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        justify-content: center;
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0066cc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}