/*============================================================================================
   Start Card CSS
==============================================================================================*/
.product.style-8 {
    position: relative;
    transition: box-shadow 0.3s, opacity 0.3s;
    border: none;
    border-radius: 0;
    background: var(--white-color);
}
.product.style-8:hover .product-action,
.product.style-8:hover .product-action-vertical {
    visibility: visible;
    opacity: 1;
}
.product.style-8 .product-price {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0;
    flex-wrap: wrap;
}
.product.style-8 .thirty-minute-show {
    display: inline-block;
    background: #ffffffcf;
    border-radius: 4px;
    padding: 4px 8px;
    line-height: 120%;
    color: var(--primary-color);
    font-weight: 500;
    position: absolute;
    bottom: 8px;
    left: 8px;
}
.product.style-8 .ratings-container {
    margin: 0;
}

.product.style-8 .product-price .new-price,
.product.style-8 .product-price .old-price,
.product.style-8 .product-price .discount-price {
    margin: 0;
}
.product.style-8 .product-price .discount-price {
    font-size: 12px;
    font-weight: 500;
    background: #34be8233;
    color: var(--success-color);
    padding: 2px 8px;
    border-radius: 24px;
    line-height: 120%;
}
.product.style-8 .product-media {
    position: relative;
    margin-bottom: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 0;
    height: auto;
    max-height: initial;
}
.product.style-8 .product-media img {
    display: block;
    width: 100%;
    transition: all 0.3s ease;
    border-radius: 0;
    object-fit: contain;
    transition: opacity 0.4s ease, transform 1.5s cubic-bezier(0, 0, 0.44, 1.18);
}
.product.style-8:hover .product-media img {
    transform: scale(1.08);
}

.product.style-8 .product-label-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 2rem;
    top: 2rem;
    max-width: 11rem;
    z-index: 1;
}
.product.style-8 .product-label {
    display: inline-block;
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 1.2em;
    letter-spacing: -0.005em;
    color: #fff;
    line-height: 1;
    padding: 0.6rem 1rem;
    border-radius: 0.3rem;
    text-transform: uppercase;
}
.product.style-8 .product-label.label-new {
    background: var(--secondary-color);
    padding: 0.6rem 1rem;
}
.product.style-8 .product-label.label-discount {
    background: var(--primary-color);
}
.product.style-8 .product-label.label-hot {
    background: #799b5a;
}
.product.style-8 .product-label-fixed {
    clip-path: polygon(0 0, 83% 0%, 68% 100%, 0% 100%);
    background: var(--secondary-color);
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 4px 50px 4px 12px;
}
.product.style-8 .product-label-fixed label {
    font-size: 10px;
    font-weight: 500;
}
.product.style-8 .product-label-fixed label span {
    color: var(--white-color);
    margin-left: 4px;
}

.product.style-8 .product-sales-wrapper {
    position: relative;
    margin-bottom: 1.4rem;
}
.product.style-8 .product-sales-wrapper .progress-bar {
    height: 1rem;
    background: #eee;
    margin-bottom: 0.7rem;
}
.product.style-8 .product-sales-wrapper .product-sales-count {
    color: #666;
    font-size: 1.3rem;
}
.product.style-8 .product-sales-wrapper .product-sales-count mark {
    background-color: transparent;
    color: inherit;
}
.product.style-8 .btn-product {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 1.14em 0;
    line-height: 1.2;
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 1.4em;
    font-weight: 600;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    transition: opacity 0.3s;
}
.product.style-8 .btn-product:active,
.product.style-8 .btn-product:hover {
    color: #fff;
}
.product.style-8 .btn-product.btn-link {
    display: inline-block;
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1.6;
    flex: none;
    background-color: transparent;
    padding: 0;
}
.product.style-8 .btn-product.btn-link:after {
    margin-top: 0;
}
.product.style-8 .btn-product.btn-sm {
    padding: 0.693em 0;
}
.product.style-8 .btn-wishlist {
    line-height: 1;
}
.product.style-8 .btn-wishlist i:before {
    margin: 0;
}
.product.style-8 .btn-cart {
    font-weight: 600;
}
.product.style-8 .btn-cart.btn-link {
    color: var(--secondary-color);
}
.product.style-8 .btn-cart.btn-link:active,
.product.style-8 .btn-cart.btn-link:hover {
    color: var(--secondary-color);
}
.product.style-8 .btn-cart:not(.btn-product-icon) i.w-icon-cart {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}
.product.style-8 .btn-product-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 0.5rem;
	background-color: var(--white-color) !important;
	border: none;
	color: var(--title-color);
	font-size: 18px;
	font-weight: 400;
	line-height: initial;
	overflow: hidden;
	transition: background-color 0.3s, border-color 0.3s, color 0.3s, visibility 0.3s, opacity 0.3s, transform 0.3s;
	margin: 0;
	border-radius: 0!important;
}
.product.style-8 .btn-product-icon:active,
.product.style-8 .btn-product-icon:hover {
    background: var(--primary-color)!important;
    color: var(--white-color);
}
.product.style-8 .product-action-vertical .btn-product-icon {
    border-radius: 0;
}
.product.style-8 .btn-product-icon.btn-cart {
    margin-bottom: 0;
}
.product.style-8 .btn-product-icon.loading {
    background-color: rgba(255, 255, 255, 0.2);
}
.product.style-8 .btn-product-icon.loading:before {
    opacity: 0.4;
}
.product.style-8 .product-action {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background-color: transparent;
    z-index: 10;
    transition: opacity 0.3s, visibility 0.3s, bottom 0.3s;
    opacity: 0;
    visibility: hidden;
}
.product.style-8 .product-action-vertical {
	position: absolute;
	bottom: 24px;
	right: 50%;
	transition: opacity 0.3s, visibility 0.3s;
	opacity: 0;
	visibility: hidden;
	top: auto;
	display: flex;
	align-items: center;
	gap: 12px;
	justify-content: center;
	left: auto;
	margin-right: -54px;
}

.product.style-8 .product-details {
    position: relative;
    padding: 0;
    background-color: transparent;
    transition: box-shadow 0.3s;
    border-radius: 0;
    margin-top: 8px;
    text-align: center;
}
.product.style-8 .product-details > .btn-wishlist {
    position: absolute;
    top: 1.7rem;
    right: 0;
    color: #999999;
    font-size: 1.8em;
    z-index: 1;
}
.product.style-8 .product-details > .btn-wishlist.loading {
    right: 1.8rem;
}
.product.style-8 .product-details > .btn-wishlist.loading:after {
    left: 0.9rem;
    top: 0.9rem;
}
.product.style-8 .product-details > .btn-wishlist:hover {
    color: var(--secondary-color);
}
.product.style-8 .product-details > .btn-wishlist:hover i {
    transform: rotateY(180deg);
}
.product.style-8 .product-name {
    font-size: 14px;
    font-weight: 500;
    white-space: initial;
    height: auto;
    min-height: initial;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product.style-8 .product-name a {
    color: inherit;
}
.product.style-8 .product-name a:hover {
    color: var(--secondary-color);
}

.product.style-8 .ratings-info {
    background: #4caf50;
    padding: 3px 4px;
    color: var(--white-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
}
.product.style-8 .star-image {
    font-size: 14px;
}
.product.style-8 .sold-item {
    font-size: 13px;
    margin-left: 8px;
    color: var(--body-color);
}
@media (max-width: 479px) {
    .product.style-8:not(.product-list) {
        font-size: 0.8rem;
    }
    .product.style-8 .product-price .new-price,
    .product.style-8 .product-price .old-price,
    .product.style-8 .product-price .discount-price {
        font-size: 12px;
    }
    .product.style-8 .product-price {
        gap: 4px;
    }
    .product.style-8 .ratings-container {
        flex-wrap: wrap;
        gap: 6px;
    }
    .product.style-8 .sold-item {
        margin-left: 0;
    }
    .product.style-8 .product-name {
        font-size: 13px;
        white-space: initial;
    }
    .product.style-8 .product-details {
        padding: 10px;
    }

    .product.style-8 .product-action-vertical {
        gap: 8px;
        margin-right: -44px;
    }
    .product.style-8 .btn-product-icon {
        font-size: 16px;
        width: 40px;
        height: 40px;

    }
    .product.style-8 .product-price .discount-price {
        background: transparent;
        padding: 0;
    }
  
}

/*============================================================================================
   End Card CSS
==============================================================================================*/
