.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    padding: 0 10vw;


}

@media (max-width: 910px) {
 .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    padding: 0 10vw;


}
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* position: relative; */
}

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

.product-image {
    /* position: relative; */
    overflow: hidden;
    height: 200px;
}

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

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


.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--white);
    border: none;
    border-radius: var(--border-radius);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

.favorite-btn:hover,
.favorite-btn.active {
    color: #EF4444;
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: bold;
    /* color: var(--text-color); */
    margin-bottom: 8px;
}

.product-store {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.product-rating .stars {
    color: var();
}

.product-rating .rating-text {
    color: #6B7280;
    font-size: 0.9rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 10px;
    border: none;
    /* border-radius: 8px; */
    cursor: pointer;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    font-family: 'Zain';
    font-style: normal;
    font-weight: 500;

}

.btn-primary {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: #174143;
    border-radius: var(--border-radius);
      border: 2px solid var(--primary-orange);
    font-weight: 700;
}

.btn-primary:hover {
    background: #FFF7ED;
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: translateY(-1px);
}

.btn-secondary {
    margin-top: 5px;
    background: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-orange);
    border-radius: var(--border-radius);
    font-weight: 700;
}

.btn-secondary:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: #174143;
}