/* Product Widgets CSS */
.product-widget-container {
    margin-bottom: 30px;
}

.product-widget-container h5 {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 20px;
    text-transform: uppercase;
}

/* Product image styles */
.product-img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

/* Product title styles */
.product-title {
    display: block;
    font-weight: 600;
    margin: 10px 0 5px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    min-height: 40px;
}

.product-title:hover {
    color: #0056b3;
    text-decoration: none;
}

/* Product short description */
.product-short-description {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px;
}

/* Product price styles */
.product-price {
    margin: 10px 0;
    font-weight: 600;
}

.product-price .old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 5px;
    font-size: 13px;
}

.product-price .new-price {
    color: #dc3545;
    font-size: 16px;
}

.product-price .current-price {
    color: #333;
    font-size: 16px;
}

/* Product action buttons */
.product-action {
    margin-top: 15px;
    display: flex;
    gap: 5px;
}

.btn-product-cart {
    flex: 1;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 0;
    font-size: 13px;
}

.btn-product-cart:hover {
    background-color: #000;
    color: #fff;
}

.btn-product-wishlist {
    background-color: transparent;
    border: 1px solid #333;
    color: #333;
    padding: 8px 10px;
    border-radius: 0;
}

.btn-product-wishlist:hover {
    background-color: #f8f9fa;
}

/* Product discount label */
.product-discount-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #dc3545;
    color: #fff;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

/* Slick slider customizations */
.slick-prev, .slick-next {
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 50%;
    z-index: 1;
}

.slick-prev:hover, .slick-next:hover {
    background: #000;
}

.slick-prev:before, .slick-next:before {
    font-size: 18px;
}

.slick-dots {
    bottom: -30px;
}

.slick-dots li button:before {
    font-size: 10px;
}

.slick-slide {
    padding: 0 10px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .product-title {
        min-height: auto;
    }
    
    .product-short-description {
        display: none;
    }
}

/* Card styles */
.product-widget-container .card {
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.product-widget-container .card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.product-widget-container .card-body {
    padding: 15px;
    position: relative;
    overflow: hidden;
}

/* Slider mode specific */
.product-widget-container.slider-mode .product-slider {
    margin: 0 -10px;
}

/* Enhance the visual appearance in Shopingo theme */
.product-widget-container .card {
    border-radius: 0;
}

.product-widget-container .btn {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.product-widget-container .product-img {
    min-height: 240px;
}