.product-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 10px;
    position: relative;
}

.product-img-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    background: orange;
    color: var(--primary-color);
    border: none;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-view-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.card-body {
    padding: 20px;
    position: relative;
}


.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

.product-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 2;
}

.card-body {
    padding: 15px;
}

.product-title {
    font-weight: 700;
    color: var(--dark);
    overflow: hidden;
}

.product-description {
    margin-bottom: 12px;
    height: 36px;
    overflow: hidden;
}

.rating {
    color: var(--warning);
    margin-bottom: 10px;
    font-size: 14px;
}

.rating-count {
    color: var(--gray);
    font-size: 12px;
    margin-right: 5px;
}

/* تصميم السعر المميز */
.price-container {
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.product-card:hover .price-container {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.old-price {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 14px;
    display: block;
}

.discount-badge {
    background: var(--success);
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 5px;
}

.btn-add-to-cart {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 15px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-add-to-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(90, 103, 216, 0.3);
}

.btn-add-to-cart i {
    margin-left: 5px;
}

.section-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 10px;
    font-weight: 700;
}

.add-to-cart-custom .spinner-text {
    transition: all 0.3s ease;
}
