/* Main Carousel Container - dgland Skin */
.tajcell-carousel-container.skin-dgland {
    background: #e61e2a; /* Initial Red Background */
    padding: 25px;
    border-radius: 20px;
    margin: 40px 0;
    position: relative;
    direction: rtl;
    transition: background-color 0.5s ease-in-out; /* Smooth transition for background */
}

/* On-Hover State for the Main Container */
.tajcell-carousel-container.skin-dgland.is-hovered {
    background: #1a1a1a; /* Dark background on hover */
}

/* Header Section */
.tajcell-carousel-container .carousel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}
.tajcell-carousel-container .carousel-header h2 {
    color: #fff;
    font-size: 26px;
    font-weight: bold;
    margin: 0 10px 0 0;
}
.tajcell-carousel-container .title-icon svg {
    width: 30px;
    height: 30px;
    stroke: #fff;
    stroke-width: 2.5;
}

/* Swiper Container */
.tajcell-product-swiper {
    padding: 0 50px;
}

/* Individual Product Card */
.product-card {
    background-color: #fff; /* Initial White Background */
    border-radius: 20px;
    padding: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: background-color 0.5s ease-in-out, transform 0.3s ease;
}

.product-card:hover {
    background-color: #000; /* Black background on hover */
    transform: translateY(-5px);
}

/* Product Image */
.product-card .product-image {
    margin-bottom: 15px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card .product-image img {
    max-width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
}

/* Product Title */
.product-card .product-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    height: 40px; /* Fixed height for 2 lines */
    overflow: hidden;
    margin: 0 0 15px 0;
    color: #3c3c3c;
    transition: color 0.5s ease-in-out;
}
.product-card:hover .product-title {
    color: #fff;
}

/* Product Footer (Badge and Price) */
.product-card .product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

/* Sale Badge */
.product-card .sale-badge {
    background-color: #e61e2a;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
}

/* Price Styles */
.price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-weight: bold;
}
.price-wrapper .price-original {
    color: #999;
    font-size: 13px;
    text-decoration: line-through;
    opacity: 0.9;
    transition: color 0.5s ease-in-out;
}
.product-card:hover .price-original {
    color: #f0f0f0;
}
.price-wrapper .price-current {
    color: #333;
    font-size: 18px;
    transition: color 0.5s ease-in-out;
}
.price-wrapper .price-current ins {
    text-decoration: none;
    background: none;
}
.price-wrapper .price-current .woocommerce-Price-currencySymbol {
    font-size: 13px;
    margin-right: 3px;
}
.product-card:hover .price-current {
    color: #fff;
}

/* Swiper Navigation Buttons */
.tajcell-product-swiper .swiper-button-next,
.tajcell-product-swiper .swiper-button-prev {
    color: #333;
    background-color: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.tajcell-product-swiper .swiper-button-next:after,
.tajcell-product-swiper .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}
.tajcell-product-swiper .swiper-button-prev { right: 0; left: auto; }
.tajcell-product-swiper .swiper-button-next { left: 0; right: auto; }

/* Responsive */
@media (max-width: 768px) {
    .tajcell-product-swiper { padding: 0 10px; }
    .tajcell-product-swiper .swiper-button-next,
    .tajcell-product-swiper .swiper-button-prev { display: none; }
    .tajcell-carousel-container .carousel-header h2 { font-size: 20px; }
}