/* Global plugin CSS */

.apcw-item-container a {
    text-decoration: none;
}
.apcw-layout-1 a.apcw-img,
.apcw-layout-3 a.apcw-img,
.apcw-layout-4 a.apcw-img {
    display: flex;
    align-items: center;
    justify-content: center;
}
.apcw-item-container .apcw-layout-title-tag,
.apcw-item-container .apcw-product-description {
    margin-bottom: 0;
}
.apcw-item-container .apcw-add-cart {
    display: inline-block;
    background-color: #5068D8;
    padding: 10px 20px;
    border-radius: 6px;
    border: 1px solid #5068D8;
}
.apcw-item-container .apcw-add-cart a {
    color: #FFFFFF;
    font-weight: 600;
}
.apcw-item-container .apcw-add-cart:hover {
    background-color: #5068D800;
    border: 1px solid #5068D8;
}
.apcw-item-container .apcw-add-cart:hover a {
    color: #5068D8;
}
.apcw-layout-1 .apcw-item-container,
.apcw-layout-2 .apcw-item-container,
.apcw-layout-3 .apcw-item-container,
.apcw-layout-4 .apcw-item-container {
    position: relative;
    overflow: hidden;
}
.apcw-item-container .apcw-regular-price {
    font-size: 18px;
    color: #666666;
}
.apcw-item-container .apcw-sale-price,
.apcw-item-container .apcw-price-variation {
    font-size: 20px;
    color:#5068D8;
}
.apcw-item-container .apcw-star-rating {
    overflow: hidden;
    position: relative;
    height: 1em;
    line-height: 1;
    font-size: 16px;
    width: 5.4em;
    font-family: star;
}
.apcw-item-container .apcw-star-rating::before {
    content: "sssss";
    color: #5068D8;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
}
.apcw-item-container .apcw-star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
    color: #5068D8;
}
.apcw-item-container .apcw-star-rating span::before {
    content: "SSSSS";
    top: 0;
    position: absolute; 
    left: 0;
}
.apcw-layout-1 .apcw-cat-rate-wrapper,
.apcw-item-container .apcw-tag-rate-wrapper,
.apcw-item-container .apcw-price-rate-wrapper {
    justify-content: space-between;
    align-items: center;
    display: flex;
}
.apcw-item-container .apcw-img img {
    display: block;
    height: 100%;
    width: 100%;
}
.apcw-item-container .apcw-layout-title-tag {
    color: #000000;
}
.apcw-layout-4 .apcw-item-container .apcw-product-description {
    color: #666666;
}
.apcw-item-container .apcw-category-link,
.apcw-item-container .apcw-category-names,
.apcw-item-container .apcw-tag-link,
.apcw-item-container .apcw-tag-names {
    color: #000000;
}


/* =============== Grid Layout =============== */

/* Layout-1 */

.apcw-layout-1 .apcw-content-container {
	background-color: #A8B4EB52;
}
.apcw-layout-1 .apcw-item-container {
    border: 1px solid #d9d9d9;
}
.apcw-layout-1 .apcw-layout-img,
.apcw-layout-2 .apcw-layout-img {
    overflow: hidden;
}
.apcw-layout-1 .apcw-layout-img img,
.apcw-layout-2 .apcw-layout-img img {
    transition: 0.4s all ease-in-out;
    width: 100%;
}
.apcw-layout-1 .apcw-item-container:hover img,
.apcw-layout-2 .apcw-item-container:hover img {
    transform: scale(1.2);
}
.apcw-layout-1 .apcw-ribbon {
    position: absolute;
    top: 15px;
    right: 15px;
    -ms-transform: translateX(30%) translateY(0%) rotate(45deg);
    -webkit-transform: translateX(30%) translateY(0%) rotate(45deg);
    transform: translateX(30%) translateY(0%) rotate(45deg);
    -ms-transform-origin: top left;
    -webkit-transform-origin: top left;
    transform-origin: top left;
    z-index: 10;
    background: #5068D8;
    text-align: center;
    color: #FFFFFF;
}
.apcw-layout-1 .apcw-ribbon::before, .apcw-layout-1  .apcw-ribbon::after {
    content: '';
    position: absolute;
    top: 0;
    margin: 0 -1px;
    width: 200px;
    height: 100%;
    background: inherit;
    min-width: 55px
}
.apcw-layout-1 .apcw-ribbon::before {
    right: 100%
}
.apcw-layout-1 .apcw-ribbon::after {
    left: 100%
} 

/* Layout-2 */

.apcw-layout-2 {
    position: relative;
}
.apcw-layout-2 .apcw-img {
    display: block;
    width: 100%;
    height: auto;
}
.apcw-layout-2 .apcw-layout-img img,
.apcw-layout-4 .apcw-layout-img img {
    width: 100%;
}
.apcw-layout-2 .apcw_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, .15);  
    backdrop-filter: blur(5px);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
}
.apcw-layout-2 .apcw-item-container:hover .apcw_overlay {
    height: 80%;
}
.apcw-layout-2 .apcw-item-container {
    position: relative;
}
.apcw-layout-2 .apcw-label {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 10;
}
.apcw-layout-2 .apcw-ribbon {
    left: -20px;
    top: 30px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    display: block;
    width: 225px;
    padding: 5px 0;
    background-color: #5068D8;
    color: #fff;
    text-align: center;
    z-index: 99;
}
.apcw-layout-2 .apcw-label::before {
    top: 0;
    left: 21px;
    border-top-color: transparent;
    border-right-color: transparent;
    position: absolute;
    z-index: 99;
    content: '';
    display: block;
    border: 5px solid #5068D8;
    box-sizing: content-box;
    opacity: 0.8;
}
.apcw-layout-2 .apcw-label::after {
    bottom: 22.5px;
    right: 0;
    border-top-color: transparent;
    border-right-color: transparent;
    position: absolute;
    z-index: 10;
    content: '';
    display: block;
    border: 5px solid #5068D8;
    opacity: 0.8;
}
.apcw-layout-2 .apcw-content-container {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

/* Layout-3 */

.apcw-layout-3 .apcw-price-rate-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.apcw-layout-3 .apcw-item-container {
    border: 1px solid #d9d9d9;
    box-shadow: 0 16px 32px 0 rgba(7, 28, 31, 0.2);
}
.apcw-layout-3 .apcw-content-container {
    background-color: #A8B4EB52;
}
.apcw-layout-3 .apcw-item-container:hover {
    box-shadow: 0 16px 32px 0 rgba(7, 28, 31, 0.5);
    transition: 0.4s all ease-in-out;
}
.apcw-layout-3 .apcw-item-container .apcw-layout-img {
    position: relative;
}
.apcw-layout-3 .apcw-item-container:hover .apcw-layout-img:after {
    content: "";
    position: absolute;
    background: rgba(0, 0, 0, 0.3);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    transition: 0.8s all ease-in;
} 
.apcw-layout-3 .apcw-item-container {
    position: relative;
}
.apcw-layout-3 .apcw-content-container {
	margin-top: -15px;
}
.apcw-layout-3 .apcw-item-container .apcw-add-cart {
    position: absolute;
    top: 0;
    right: 15px;
    -webkit-transition: .5s;
    transition: 0.3s all linear 0s;
    opacity: 0;
}   
.apcw-layout-3 .apcw-item-container:hover .apcw-add-cart {
    position: absolute;
    top: 0;
    right: 15px;
    opacity: 1;
    transform: translateY(20px);
}
.apcw-layout-3 .apcw-label {
    position: relative;
}
.apcw-layout-3 .apcw-ribbon {
	display: inline-block;
    padding: 5px 15px;
	position: absolute;
    left: 0px;
    top: -18px;
    text-align: center;
    white-space: nowrap;
    background-color: #5068D8;
    color: #FFFFFF;
    z-index: 9;
}
.apcw-layout-3 .apcw-ribbon:before {
    display: inline-block;
    content: "";
    position: absolute;
    right: -14px;
    top: 0;
    border: 9px solid transparent;
    border-width: 17px 8px;
    border-left-color: #5068D8;
    height: 100%;
}
.apcw-layout-3 .apcw-ribbon:before {
    border-color: #5068D8;
    border-right-color: transparent!important;
    right: -13px;
}
.apcw-layout-3 .apcw-cat-rate-wrapper{
    display: flex;
    justify-content: end;
}

/* Layout-4 */

.apcw-layout-4 .apcw-item-container {
    border: 2px solid #d9d9d9;
    position: relative;
}
.apcw-layout-4 .apcw-layout-img {
    width: 100%;
    height: 100%;
}
.apcw-layout-4 .apcw-content-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #e3e7f9;
    background: linear-gradient(90.59deg, #5068D8 0.51%, #9F67C3 99.57%);
}
.apcw-layout-4 .apcw-item-container:hover .apcw-content-container {
    opacity: 1;
}
.apcw-layout-4 .apcw-content-container {
	display: flex;
    justify-content: center;
    flex-direction: column;
}
.apcw-layout-4 .apcw-item-container:hover {
    box-shadow: 0 16px 32px 0 rgba(7, 28, 31, 0.2);
    transition: 0.4s all ease-in-out;
}
.apcw-layout-4 .apcw-label {
    position: absolute;
    top: 0;
    left: 0;
}
.apcw-layout-4 .apcw-label:after {
    position: absolute;
    content: "";
    right: 0;
    width: 0;
    height: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-top: 10px solid #5068D8;
}
.apcw-layout-4 .apcw-ribbon {
    position: relative;
    display: block;
    text-align: center;
    background: #5068D8 ;
    font-size: 14px;
    line-height: 1;
    padding: 12px 8px;
    width: 90px;
    color: #FFFFFF;
}
.apcw-layout-4 .apcw-ribbon:before, .apcw-layout-4  .apcw-ribbon:after {
    position: absolute;
    content: "";
}
.apcw-layout-4 .apcw-item-container .apcw-layout-title-tag,
.apcw-layout-4 .apcw-item-container .apcw-product-description {
    color: #FFFFFF;
}
.apcw-layout-4 .apcw-item-container .apcw-add-cart {
    display: inline-block;
    background-color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 6px;
    color: #5068D8;
    border: 1px solid #FFFFFF;
}
.apcw-layout-4 .apcw-item-container .apcw-add-cart a {
    color: #5068D8;
    font-weight: 600;
}
.apcw-layout-4 .apcw-item-container .apcw-add-cart:hover {
    background-color: #5068D800;
    border: 1px solid #FFFFFF;
}
.apcw-layout-4 .apcw-item-container .apcw-add-cart:hover a,
.apcw-layout-4 .apcw-item-container .apcw-star-rating::before,
.apcw-layout-4 .apcw-item-container .apcw-star-rating span,
.apcw-layout-4 .apcw-item-container .apcw-regular-price,
.apcw-layout-4 .apcw-item-container .apcw-sale-price,
.apcw-layout-4 .apcw-item-container .apcw-price-variation,
.apcw-layout-4 .apcw-item-container .apcw-category-link,
.apcw-layout-4 .apcw-item-container .apcw-category-names,
.apcw-layout-4 .apcw-item-container .apcw-tag-link,
.apcw-layout-4 .apcw-item-container .apcw-tag-names  {
    color: #FFFFFF;
}

/* Layout-5 */

.apcw-layout-5 {
    background-color: transparent;
    width: 100%;
    height: 353px;
    perspective: 1000px;
}
.apcw-layout-5.apcw-layout-slider.slick-slide {
	height: 325px;
}
.apcw-layout-5 .apcw-item-container {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}
.apcw-layout-5:hover .apcw-item-container {
    transform: rotateY(180deg);
}
.apcw-layout-5 .apcw-flip-front, .apcw-layout-5 .apcw-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.apcw-layout-5 .apcw-flip-front {
    background-color: #CCD2EF;
}
.apcw-layout-5 .apcw-flip-back {
    background-color: #CCD2EF;
    transform: rotateY(180deg);
}
.apcw-layout-5 .apcw-label {
	background: none !important;
    position: absolute;
	top: 15px;
	right: 15px;
}
.apcw-layout-5 .apcw-ribbon {
    position: relative;
    text-align: center;
    padding: 5px 15px;
    border-radius: 25px;
    box-shadow: 0 4px 32px 0 rgba(7, 28, 31, 0.3);
    background-color: #5068D8;
    color: #FFFFFF;
}
.apcw-layout-5 .apcw-content-container {
	display: flex;
	align-content: center;
	flex-direction: column;
	justify-content: center;
}
.apcw-layout-5 .apcw-item-container .apcw-layout-img {
	height: 100%;
	object-fit: cover;
}

/* =============== Carousel Layout =============== */

.apcw-product-carousel{
    width: 95%;
    margin: 0 auto 50px auto;
}
.apcw-product-carousel .apcw-layout-slider{
    margin: 15px 15px 30px 15px;
}
.apcw-product-carousel .slick-dots {
	position: absolute;
	bottom: -15px !important;
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	list-style: none;
	text-align: center;
}
.apcw-product-carousel .slick-dots [type="button"]:focus-visible, .apcw-product-carousel .slick-dots [type="reset"]:focus-visible, .apcw-product-carousel .slick-dots [type="submit"]:focus-visible, .apcw-product-carousel .slick-dots button:focus-visible,
    [type=button]:focus, [type=submit]:focus, button:focus {
    outline: 0 !important;
}
.apcw-product-carousel .slick-dots [type="button"]:focus, .apcw-product-carousel .slick-dots [type="button"]:hover, .apcw-product-carousel .slick-dots [type="submit"]:focus, .apcw-product-carousel .slick-dots [type="submit"]:hover, .apcw-product-carousel .slick-dots button:focus, .apcw-product-carousel .slick-dots button:hover {
	color: #ffff !important;
	background: none !important;
	text-decoration: none;
}
.apcw-product-carousel .slick-prev:before, .apcw-product-carousel .slick-next:before {
    font-size: 0 !important;
    color: transparent !important;
}
.apcw-product-carousel [type=button], .apcw-product-carousel [type=submit], .apcw-product-carousel button {
    color: #000 !important;
    background-color: transparent;
    border: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
.apcw-product-carousel [type=button]:focus, .apcw-product-carousel [type=button]:hover, .apcw-product-carousel [type=submit]:focus, .apcw-product-carousel [type=submit]:hover, .apcw-product-carousel button:focus, .apcw-product-carousel button:hover {
	background: none !important;
	text-decoration: none;
}
.apcw-product-carousel .slick-prev, .apcw-product-carousel .slick-next {
    top: 45% !important;
}

/* Layout-1 */

.carousel-layout-1 .slick-dots li button::before,
.carousel-layout-1 .slick-dots li.slick-active button::before {
	font-size: 50px;
	width: 20px;
	height: 20px;
	content: '-'!important;
	opacity: 1;
	color: rgb(119, 109, 109);
    top: -5px !important;
}
.carousel-layout-1 .slick-dots li.slick-active button::before {
	color: #5068D8;
}

/* Layout-2 */

.carousel-layout-2 .slick-dots li button::before {
    font-family: "Font Awesome 5 Free";
    display: inline-block;
    font-weight: 600;
    opacity: 1;
    content: "\f192" !important;
    font-size: 14px;
    color: rgb(119, 109, 109);
}
.carousel-layout-2 .slick-dots li.slick-active button::before {
    opacity: 1;
	color: #5068D8;
}

/* Layout-3 */

.carousel-layout-3 .slick-dots li button::before {
	font-size: 50px;
	width: 20px;
	height: 8px;
	content: '' !important;
	opacity: 1;
	border: 2px solid rgb(119, 109, 109);
	background-color: #ffffff;
}
.carousel-layout-3 .slick-dots li.slick-active button::before {
	border: 2px dashed rgb(119, 109, 109);
	background-color: #ffffff;
}

/* Layout-4 */

.carousel-layout-4 .slick-dots li button::before {
	width: 12px;
	height: 12px;
	content: '' !important;
	opacity: 1;
	border: 2px solid #5068D8;
	background-color: #ffffff;
    border-radius: 50%;
}
.carousel-layout-4 .slick-dots li.slick-active button::before {
	border: 2px solid rgb(119, 109, 109);
	background-color: #5068D8;
}

/* Layout-5 */

.carousel-layout-5 .slick-dots li button::before {
    width: 15px;
    height: 15px;
    content: '' !important;
	opacity: 1;
    border-radius: 0;
    background-color: rgb(119, 109, 109);
    clip-path: polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%);
}
.carousel-layout-5 .slick-dots li.slick-active button::before {
	background-color: #5068D8;
}
@media screen and (max-width: 767px) {
    .apcw-product-carousel .apcw-layout-slider {
        margin:0 10px 30px 10px;
    }
    .apcw-product-carousel {
        width: 95%;
    }
    .apcw-product-carousel .slick-prev {
        left: -15px !important;
    }
    .apcw-product-carousel .slick-next {
        right: -15px !important;
    }
}
@media screen and (max-width: 425px) {
    .apcw-product-carousel .apcw-layout-slider {
        margin: 0 5px 50px;
    }
    .apcw-product-carousel{
        width: 85%;
    }
    .apcw-product-carousel .slick-prev {
        left: -20px !important;
    }
    .apcw-product-carousel .slick-next {
        right: -20px !important;
    }
    .apcw-product-carousel .slick-dots li {
        margin: 0 2px !important;
    }
}
