/* List View */
.list-view {
    flex-direction: column;
    gap: 24px;
}
.list-view .list-view-single-item {
    width: 100%;
}
.list-view .list-view-single-item .pla-product {
    display: flex;
    flex-direction: row;
    gap: 24px;
}
.list-view .list-view-single-item .product-image-area {
    width: 30%;
}
.list-view .list-view-single-item .right-area {
    width: 70%;
}
@media(min-width: 768px) and (max-width:991px) {
    .list-view .list-view-single-item .product-image-area {
        width: 40%;
    }
    .list-view .list-view-single-item .right-area {
        width: 60%;
    }
}
@media(max-width:768px) {
    .list-view {
        flex-direction: unset;
        gap: unset;
    }
    .list-view .list-view-single-item {
        width: 100%;
    }
    .list-view .list-view-single-item .pla-product {
        /* display: unset; */
        flex-direction: unset;
        gap: 24px;
    }
    .list-view .list-view-single-item .product-image-area {
        width: 100%;
    }
    .list-view .list-view-single-item .right-area {
        width: 100%;
    }
}
@media(max-width:575px) {
    .list-view .list-view-single-item {
        width: 100%;
    }
    .list-view .list-view-single-item .pla-product { 
        flex-direction: column;
    }
}
.product-image-area {
    position: relative;
    overflow: hidden;
}
.product-image-area img {
    width: 100%;
    height: unset;
    -webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: 0.4s ease-in-out;
	transition: 0.4s ease-in-out;
}

.pla-product .flash-sale-area {
    display: flex;
    flex-direction: row;
    gap: 10px;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
}
.pla-product .flash-sale-area span {
    background: #04AA6D;
    color: #fff;
    padding: 15px 10px;
    border-radius: 50%;
}
.product-image-area  .overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
}
.product-content-area {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
}
.product-content-area .product-price .old__price {
    color: #70747d;
    font-size: 20px;
    line-height: 28px;
    text-decoration: line-through;
}
.product-content-area .product-price .current__price {
    color: #111827;
    font-size: 24px;
    line-height: 32px;
}
.product-content-area .product-review svg {
    width: 22px;
    height: 22px;
}
.product-content-area .product-review svg path{
    fill: #FE7161;
}
.product-content-area h4,
.product-content-area h6 {
    color: #111827;
    text-transform: capitalize;
}
.product-content-area h4,
.product-content-area h6,
.product-content-area p {
    margin: 0;
}
.product-content-area .short-description {
    color: #70747d;
    font-size: 18px;
    line-height: 28px;
}
.product-content-area .full-description {
    color: #70747d;
    font-size: 18px;
    line-height: 28px;
}
.product-image-area .overlay .add-to-cart-button {
    transform: translateY(100%);
    transition: all 0.3s ease-in-out;
}
.pla-product:hover .product-image-area .overlay .add-to-cart-button {
    transform: translateY(0);
}
.product-image-area .add-to-cart-button a,
.button-area .add-to-cart-button a {
    display: block;
    width: 100%;
    padding: 8px 0;
    text-align: center;
    background: #000;
    color: #fff;
    transition: all 0.4s ease-in-out;
}
.list-view .button-area {
    display: flex;
}
.list-view .button-area .add-to-cart-button a {
    display: inline-block;
    padding: 10px 18px;
}
.product-image-area .add-to-cart-button a:hover,
.button-area .add-to-cart-button a:hover {
    background: #FE7161;
}
.button-area .button-area-wrapper {
    width: 100%;
}
.list-view .button-area .button-area-wrapper {
    width: unset;
}
/* Load more button style */
.load-more-container {
	text-align: center;
	margin-top: 30px;
}

.product-layout-content-load-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	background-color: #04AA6D;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
}

.product-layout-content-load-button:hover {
	background-color: #04AA6D;
	color: #fff;
}

.load-more-button:disabled {
	cursor: not-allowed;
	opacity: 0.6;
}

/* Spinner Animation */
.load-more-button.loading::after {
	content: "";
	position: absolute;
	right: 16px;
	width: 18px;
	height: 18px;
	border: 2px solid #fff;
	border-top-color: transparent;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}
.products-table-wrapper table{
    margin:auto;
    width:100%;
    overflow:hidden;
    background-color:#fff;
    border-radius:10px;
    position:relative;
    border-collapse:collapse;
    z-index:1;
    color:var(--gray);
    white-space:nowrap;
}

.products-table-wrapper tbody tr:not(:last-child){
    border-bottom:1px solid rgba(1,1,1,0.2);
}

.products-table-wrapper th, .products-table-wrapper td{
    gap:10px;
    position:relative;
    cursor:default;
    text-align: center;
}
.products-table-wrapper th {
    padding: 20px 0 !important;
    text-align: center !important;
    background-color: #04AA6D;
    color: white;
}

.products-table-wrapper th{
    text-transform:uppercase;
}

.products-table-wrapper td img{
    width:110px;
    height:auto;
    overflow:hidden;   
    margin-right:5px;
}

.products-table-wrapper tr:hover{
    background-color:#f9f9f9;
}

.products-table-wrapper .action a{
    background: #04AA6D;
    color: #fff;
    font-weight: bold;
    padding: 10px 20px;
    transition: all 0.4s ease-in-out;
}
div.dt-container .dt-search label {
    background: #04AA6D;
    color: #fff;
    padding: 6px 15px;
}
div.dt-container .dt-search input {
    border: 1px solid #04AA6D;
    border-radius: 0;
}
div.dt-container .dt-search input:focus {
    border: 1px solid #04AA6D;
    border-radius: 0;
    outline: none;
}
.dt-paging-button {
    padding: 6px 8px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 8px;
    margin-left: 0;
    margin-right: 8px;
    border: 1px solid #fff;
    font-size: 18px;
    font-weight: 500;
    color: #8A93A6;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}
div.dt-container .dt-paging .dt-paging-button,
div.dt-container .dt-paging .dt-paging-button.disabled {
    background: #fff !important;
    border: 1px solid #04AA6D;
    color: #04AA6D !important;
    transition: all 0.4s ease-in-out;
}
div.dt-container .dt-paging .dt-paging-button.disabled {
    opacity: 0.4;
}
div.dt-container .dt-paging .dt-paging-button.current:hover {
    background: #04AA6D !important;
    border: 1px solid #04AA6D;
    color: #fff !important;
}
div.dt-container .dt-paging .dt-paging-button:hover {
    background: #04AA6D !important;
    border: 1px solid #04AA6D;
    color: #fff !important;
}
div.dt-container .dt-paging .dt-paging-button.current {
    background: #04AA6D !important;
    border: 1px solid #04AA6D;
    color: #fff !important;
}

/* Carrousel View Style Start Here  */
.pla-layout-carrousel .carrousel-view {
    padding-bottom: 40px;
}
.pla-layout-carrousel .swiper-button-next::after,
.pla-layout-carrousel .swiper-button-prev::after {
    display: none;
}
.pla-layout-carrousel .swiper-button-prev, 
.pla-layout-carrousel .swiper-button-next {
    background: #04AA6D;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease-in-out;
}
.pla-layout-carrousel .swiper-button-next svg,
.pla-layout-carrousel .swiper-button-prev svg {
    height: 24px;
    width: 24px;
}
.pla-layout-carrousel .swiper-button-next svg path,
.pla-layout-carrousel .swiper-button-prev svg path {
    fill: #fff;
}
.pla-layout-carrousel .swiper-pagination .swiper-pagination-bullet-active {
    background: #04AA6D;
    outline: 1px solid #04AA6D;
    outline-offset: 1px;
    border-radius: 2px;
}
.pla-layout-carrousel .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    transition: all 0.2s ease-in-out;
}

/* Product tab layout area style here  */
.product-layouts-tab-area .tab {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
@media(max-width: 575px) {
    .product-layouts-tab-area .tab {
        flex-direction: column;
    }
}
.product-layouts-tab-area .tab .tab-link {
    font-size: 24px;
    line-height: 30px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    border: none;
}
.product-layout-tab-content {
    margin-top: 30px;
}
.product-layout-tab-content .npla-tab-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.product-layouts-tab-area .tab .tab-link.active {
    color: #04AA6D;
    border-bottom: 1px solid #04AA6D;
}
.pla-products .npla-action-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: relative;
    margin-top: 20px;
}
.pla-products .npla-action-buttons button {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #04AA6D;
    background: #fff;
    padding: 12px;
    transition: all 0.3s ease-in-out;
}
.pla-products .npla-action-buttons button a {
    line-height: 20px;
}
.pla-products .npla-action-buttons button svg {
    width: 20px;
    height: 20px;
    color: #04AA6D;
    transition: all 0.3s ease-in-out;
}
.pla-products .npla-action-buttons .wishlist-view-link {
    background: #04AA6D;
    color: #fff;
    border: 1px solid #04AA6D;
}
.pla-products .npla-action-buttons .wishlist-view-link svg {
    color: #fff;
}
.pla-products .npla-action-buttons button:hover {
    background: #04AA6D;
    color: #fff;
}
.pla-products .npla-action-buttons button:hover svg {
    color: #fff;
}
.wpc-tooltip-cart {
    position: relative;
}
.add__success-message {
    display: none;
    position: absolute;
    bottom: 60px;
    background-color: #fff;
    color: green;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 16px;
}
.wpc-tooltip-cart[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #04AA6D;
    color: #fff;
    padding: 8px 10px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 12px;
    opacity: 1;
    visibility: visible;
}


/* Sidebar styles */
#npla-sidebar-wrapper {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0,0,0,0.5);
    transition: right 0.3s ease;
    z-index: 1000;
}

#npla-sidebar-wrapper.open {
    right: 0;
}

.npla-sidebar-content {
    overflow-y: auto;
    height: 100%;
}

.npla-sidebar-content h2 {
    margin-top: 0;
}

.sibebar__header {
    padding: 20px;
}

#npla-sidebar-items {
    margin-bottom: 20px;
}
