.custom-product-tabs {
    display: flex;
    flex-direction: column;
    padding: 30px 0;
}

.custom-product-tabs h3{
    text-align: center;
    margin-bottom: 26px;
}

.custom-featured-products h3{
    text-align: center;
    margin-bottom: 16px;
}
.custom-product-tabs .tab-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #ddd;
    justify-content: center;
}

.custom-product-tabs .tab-nav-item {
    display: flex;
    align-items: center;
    padding-bottom: 16px;
    cursor: pointer;
    position: relative;
}

.custom-product-tabs .tab-nav-item + .tab-nav-item {
    margin-left: 50px;
}

.custom-product-tabs .tab-nav-item::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #ED1C24;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.custom-product-tabs .tab-nav-item.active::after {
    transform: scaleX(1);
}

.custom-product-tabs .tab-thumbnail {
    margin-right: 10px;
    position: relative;
    width: 120px;
    height: 74px;
    text-align: center;
}

.custom-product-tabs .tab-thumbnail::before{
    content: "";
    position: absolute;
    left: 50%;
    top: calc(50% + 4px);
    width: 70px;
    height: 70px;
    border: 1px solid #E6E6E6;
    border-radius: 10px;
    z-index: 0;
    transform: translate(-50%, -50%);
}

.custom-product-tabs .tab-thumbnail::after{
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-color: #E6E6E6;
    z-index: 1;
    left: 50%;
    top: calc(50% + 4px);
    transform: translate(-50%, -50%);
}

.custom-product-tabs .tab-thumbnail img{
    max-height: 74px;
    object-fit: cover;
    z-index: 2;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.custom-product-tabs .tab-title{
    max-width: 190px;
}

.custom-product-tabs .tab-content {
    padding-top: 40px;
}

.custom-product-tabs .tab-pane {
    display: none;
}

.custom-product-tabs .tab-pane.active {
    display: flex;
    column-gap: 47px;
}

.custom-product-tabs .tab-left {
    flex: 0 0 51.5%;
}

.custom-product-tabs .product-image{
    position: relative;
    min-height: 360px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-product-tabs .product-image img.product-img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    position: relative;
    z-index: 2;
    max-height: 380px;
}

.custom-product-tabs .product-image::before{
    content: "";
    position: absolute;
    left: 50%;
    top: 10px;
    width: 360px;
    height: 360px;
    border: 1px solid #E6E6E6;
    border-radius: 10px;
    z-index: 0;
    transform: translateX(-50%);
    display: none;
}

.custom-product-tabs .product-image .blend{
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 25px;
    transform: translateX(-50%);
    width: 360px;
    height: 360px;
}

.custom-product-tab .tab-right {
    flex: 2;
    display: flex;
    flex-direction: column;
}

.custom-product-tab .product-category {
    font-size: 12px;
    color: #888;
}

.custom-product-tabs .product-name {
    font-size: 18px;
    font-weight: bold;
}

.custom-product-tabs .product-size,
.custom-product-tabs .product-description,
.custom-product-tabs .product-price {
    font-size: 14px;
}

.custom-product-tabs .add-to-cart {
    display: inline-block;
    padding: 10px 15px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.3s;
}

.custom-product-tabs .add-to-cart:hover {
    background-color: #005177;
}

.custom-product-tabs .product-last-category{
    margin-bottom: 6px;
}

.custom-product-tabs .tab-pane .product-name{
    font-size: 32px;
    color: #ED1C24;
    line-height: 1.2;
    margin-bottom: 6px;
}

.custom-product-tabs .product-size{
    font-style: italic;
    margin-bottom: 20px;
}

.custom-product-tabs .product-description{
    margin-bottom: 40px;
}

.custom-product-tabs .product.woocommerce.add_to_cart_inline{
    padding: 0 !important;
    display: inline-flex;
    flex-direction: column;
}

.custom-product-tabs .product.woocommerce.add_to_cart_inline a.button{
    margin-left: 0;
}

.custom-product-tabs .woocommerce-Price-amount.amount{
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}
body.woocommerce-js a.add_to_cart_button{
    background-color: #ED1C24;
    font-size: 14px;
    line-height: 15px;
    padding: 12px 16px 12px 36px;
    border-radius: 100px;
    position: relative;
    border: 0;
}
body.woocommerce-js a.add_to_cart_button::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url(../images/icon-cart.svg) top left no-repeat;
    background-size: 100%;
}
body.woocommerce-js a.add_to_cart_button:hover::before {
    background: url(../images/icon-cart-hover.svg) top left no-repeat;
    background-size: 100%;
}
body.woocommerce-js a.add_to_cart_button:hover{
    background-color: #fff;
}
body.woocommerce-js a.add_to_cart_button:focus{
    outline: none;
    border: 0;
}
.home-featured-container{
    width: 1190px;
    margin: 0 auto;
    max-width: 100%;
}
#home-featured-swiper{
    padding: 10px;
    --swiper-pagination-color: #ED1C24;
}
#home-featured-swiper ul.products{
    margin-bottom: 0;
}

.woocommerce-js ul.products li.product, .woocommerce-page ul.products li.product{
    position: relative;
    margin-bottom: 20px;
    height: auto;
}
.astra-shop-thumbnail-wrap{
    background-color: #FFFFFF;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    height: 207px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.astra-shop-summary-wrap{
    background-color: #FFFFFF;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    height: calc(100% - 207px);
    padding: 10px 20px 20px;
}
ul.products li.product:nth-child(2n) .astra-shop-thumbnail-wrap {
    background-color: #FFFFFF;
}
ul.products li.product:nth-child(3n) .astra-shop-thumbnail-wrap {
    background-color: #FFFFFF;
}
ul.products li.product:nth-child(2n) .astra-shop-summary-wrap {
    background-color: #FFFFFF;
}
ul.products li.product:nth-child(3n) .astra-shop-summary-wrap {
    background-color: #FFFFFF;
}
.woocommerce-js ul.products li.product a img, .woocommerce-page ul.products li.product a img{
    margin-bottom: 0;
    max-height: 140px;
    width: auto;
    margin: 0 auto;
}
.woocommerce-js ul.products li.product .woocommerce-loop-product__link, .woocommerce-page ul.products li.product .woocommerce-loop-product__link{
    padding: 50px 15px 12px;
}
.astra-shop-thumbnail-wrap .custom-category{
    position: absolute;
    top: 15px;
    left: 15px;;
    font-style: italic;
    font-weight: 400;
    font-size: 14px;
    color: #6c6c6c; 
    background-color: white;
    overflow: hidden;
    padding: 2px 10px 2px 13px;
    clip-path: polygon(
        5.15% 0%,   
        100% 0%,
        94.84% 100%,
        0% 100%
    );
}
.woocommerce-js ul.products li.product a.add_to_cart_button{
    position: absolute;
    text-indent: -99999px;
    right: 20px;
    bottom: 10px;
    padding: 0;
    width: 50px;
    height: 50px;
    margin: 0;
    z-index: 5;
}
.woocommerce-js ul.products li.product a.add_to_cart_button::before{
    width: 20px;
    height: 20px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.woocommerce-js ul.products li.product .added_to_cart{
    display: none;
}
.woocommerce-js ul.products li.product a.add_to_cart_button.added::before{
    opacity: 0;
}
.woocommerce-js ul.products li.product a.add_to_cart_button.added::after{
    background: url(../images/icon-tick.svg) top left no-repeat;
    background-size: 100%;
    width: 24px;
    height: 24px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}
.woocommerce-js ul.products li.product .woocommerce-loop-product__title, .woocommerce-page ul.products li.product .woocommerce-loop-product__title{
    margin-bottom: 0;
}
.woocommerce-js ul.products li.product a.ast-loop-product__link{
    text-decoration: none;
}
.custom-dimensions{
    font-size: 14px;
    font-style: italic;
    color: #919191;
    margin-bottom: 10px;
    padding-right: 40px;
}
.woocommerce-js ul.products li.product .price, .woocommerce-page ul.products li.product .price{
    margin-bottom: 0;
    font-weight: bold;
    color: #000;
    font-size: 16px;
}
.product-hover{
    position: absolute;
    left: -5px;
    top: -5px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    padding: 10px;
    border: 1px solid #ED1C24;
    border-radius: 20px;
    background-color: #F0F0F0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.5s ease-in-out;
}
.product-hover a{
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}
.woocommerce-js ul.products li.product .product-hover a img, .woocommerce-page ul.products li .product-hover a img{
    width: 100%;
    height: 100%;
    max-height: unset;
    object-fit: cover;
}
.woocommerce-js ul.products li.product:hover .product-hover, .woocommerce-page ul.products li:hover .product-hover{
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
#home-featured-swiper .swiper-pagination-progressbar::before{
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #B7B7B7;
    z-index: 1;
}
#home-featured-swiper .swiper-pagination-progressbar{
    position: relative;
    margin-top: 40px;
    background: transparent;
}
#home-featured-swiper .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{
    z-index: 2;
}
#menu-footer-menu li{
    min-width: 33.333%;
    padding-left: 15px;
}
.footer-copy p{
    margin-bottom: 0;
}
#menu-copyright-menu li + li{
    margin-left: 12px;
}
#menu-copyright-menu li{
    padding-left: 12px;
    position: relative;
}
#menu-copyright-menu li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background-color: #fff;
}
#menu-copyright-menu li:first-child:before{
    display: none;
}
.icon-group img{
    transition: all 0.3s ease-in-out;
}
.icon-group img:hover{
    filter: brightness(0) saturate(100%) invert(18%) sepia(88%) saturate(748%) hue-rotate(0deg) brightness(96%) contrast(101%);
}
span.cw-card__cta {
    color: white;
    background: red;
    border-radius: 10px;
    padding: 8px 15px;
}
span.cw-card__cta:hover {
    background: white;
    color: #ED1C24;
    text-decoration: none;
    border: 1px solid #ED1C24;
}


/*-------- Animation -------- */
.myaccount-sidebar-menu {    
    animation: slideInLeft 2.0s ease-out both;
}
.myaccount-dashboard-div,
.wc-address-div {
    animation: fadeInActive 1.0s ease-out both;
}
.entry-title {
  transform: translateY(10px);
  animation: slideDownTitle 0.6s ease-out forwards;
}



/* Fade-in animation */
@keyframes fadeInActive {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideDownTitle {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 991px) {
    .custom-product-tabs .tab-nav-item + .tab-nav-item{
        margin-left: 25px;
    }
}

@media (max-width: 767px) {
    .custom-product-tabs .tab-title{
        display: none;
    }
    .custom-product-tabs .tab-nav-item + .tab-nav-item{
        margin-left: 15px;
    }
    .custom-product-tabs .tab-pane .product-name{
        font-size: 24px;
    }
    .custom-product-tabs .woocommerce-Price-amount.amount{
        font-size: 20px;
    }
    .custom-product-tabs .product-description{
        margin-bottom: 20px;
    }
    .custom-product-tabs .tab-content{
        padding-top: 20px;
    }
    .custom-product-tabs{
        padding: 10px 0;
    }
    .custom-product-tabs .product-image{
        min-height: 250px;
    }
    .custom-product-tabs .product-image::before{
        width: 250px;
        height: 250px;
    }
    .custom-product-tabs .product-image .blend{
        width: 220px;
        height: 220px;
    }
    .custom-product-tabs .tab-pane.active {
        column-gap: 20px;
    }
    .custom-product-tabs .product-image img.product-img{
        max-height: 250px;
    }
    #menu-footer-menu{
        margin-left: auto;
    }
}

@media (max-width: 545px) {
    .custom-product-tabs .tab-thumbnail{
        width: 85px;
    }
    .custom-product-tabs .tab-pane.active{
        flex-direction: column;
        row-gap: 30px;
    }
    .custom-product-tabs .product-image img.product-img{
        max-width: 350px;
    }
    .tab-right {
        text-align: center !important;
    }
}

@media (max-width: 349px) {
    .custom-product-tabs .product-image img.product-img{
        max-width: 100%;
    }
    .custom-product-tabs .product-image .blend{
        width: 80%;
    }
    .custom-product-tabs .tab-thumbnail{
        width: 100%;
    }
    .custom-product-tabs .tab-nav-item{
        width: 33.333%;
    }
    .custom-product-tabs .tab-thumbnail::after{
        width: calc(100% - 10px);
        height: auto;
        padding-bottom: calc(100% - 10px);
    }
    .custom-product-tabs .tab-thumbnail::before{
        width: 100%;
        padding-bottom: 100%;
        height: auto;
    }
} 

/* temporary disable */
.product-hover a{
    pointer-events: none;
}
/* temporary disable */
