/* Product Card Component Styles */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card-wrapper {
    position: relative;
}

.product-card {
    text-decoration: none;
    background: #fff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    cursor: pointer;
    height: 100%;
}

.product-card-wrapper:hover .product-card {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.imported-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--lava-secondary, #D2691E);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-card-wrapper .wishlist-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-wrapper .wishlist-btn i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.product-card-wrapper .wishlist-btn:hover {
    transform: scale(1.1);
    background: var(--lava-secondary, #d2691e);
    color: white;
}

.product-card-wrapper .wishlist-btn.active {
    background: var(--lava-secondary, #d2691e);
    color: white;
}

.product-card__image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-card__image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card-wrapper:hover .product-card__image-container img {
    transform: scale(1.08);
}

.product-card__content {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-card__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    transition: color 0.3s ease;
}

.product-card-wrapper:hover .product-card__title {
    color: var(--lava-primary, #8b4513);
}

.product-card__price {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.current-price {
    color: var(--lava-primary, #8b4513);
}

.original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Responsive adjustments for mobile */
@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem; /* Reduce gap on smaller screens */
    }
}