/* Modern Product Card Styles */
.single-product-box {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #ffffff;
}

.single-product-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #dc3545;
}

.single-product-box .product-image {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.single-product-box .product-image img {
    transition: transform 0.4s ease;
    width: 100%;
    height: auto;
}

.single-product-box:hover .product-image img {
    transform: scale(1.1);
}

.product-view-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    line-height: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.product-view-btn i {
    font-size: 20px;
    color: #2c2c2c;
    transition: all 0.3s ease;
    line-height: 40px;
    vertical-align: middle;
}

.product-view-btn:hover {
    background: #dc3545;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.product-view-btn:hover i {
    color: #ffffff;
}

/* RTL Support */
[dir="rtl"] .product-view-btn {
    right: auto;
    left: 15px;
}

/* Product Content */
.single-product-box .product-content {
    background: #ffffff;
    padding: 15px;
}

.single-product-box .product-content h3 a {
    color: #2c2c2c;
    transition: color 0.3s ease;
    text-decoration: none;
}

.single-product-box:hover .product-content h3 a {
    color: #dc3545;
}

.single-product-box .price .new {
    font-weight: 600;
    color: #dc3545;
    font-size: 18px;
}

/* Add to Cart Button */
.add-to-cart-btn,
.add-to-cart-form .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.add-to-cart-btn:hover,
.add-to-cart-form .btn:hover {
    background: #c82333 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.add-to-cart-btn i,
.add-to-cart-form .btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.add-to-cart-btn:hover i,
.add-to-cart-form .btn:hover i {
    transform: scale(1.1);
}
