/*
Theme Name: Finovate Child
Theme URI: https://example.com/finovate-child
Description: Child theme for Finovate
Author: Your Name
Author URI: https://example.com
Template: finovate
Version: 1.0.0
*/

/* Import parent theme styles */
@import url("../finovate/style.css");

/* Your custom CSS below */
body {
  font-family: "Inter", sans-serif;
}
/* .slick-slide {
  width: 170px !important;
} */
  .wc-cat-slide {
            text-align: center;
            padding: 7px;
}
.wc-cat-slide a.category-block {
    border: 2px solid #5C2D8A;
     display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-decoration: none;
    border-radius: 30%;
        padding: 7px;
            height: 140px;
    width: 140px;
}
.wc-cat-slide a.category-block  img{
    max-width: 85px;
}
a.category-block span {
            font-weight: 600;
            font-size: 16px;
            color: #333;
            margin-top: 10px;
            color:  #5C2D8A;
        }
        .wc-category-slider {
    position: relative; /* make container the positioning parent */
    padding-bottom: 40px; /* add space so arrows don't overlap dots */
}

/* Style all arrows */

.wc-category-slider .slick-arrow {
    bottom: 0px;
    height: 28px;
    left: auto;
    right: 0;
    top: auto;
    width: 30px;
	background: transparent;
}

.wc-category-slider .slick-arrow:hover,
.wc-category-slider .slick-arrow:focus{
	background: transparent;
}

.wc-category-slider .slick-prev,
.wc-category-slider .slick-next {
    font-size: 0; 
}

.wc-category-slider .slick-arrow.slick-prev:before {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.wc-category-slider .slick-arrow:before {
    background-color: #5B2D89;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512' fill='%23fff'%3E%3Cpath d='M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z'/%3E%3C/svg%3E");
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 40%;
    content: "";
    display: inline-block;
    height: 30px;
    width: 30px;
}

.wc-accordion-header,
 .wc_subcat_acc_header {
  position: relative;
}

.wc-accordion-header::after,
.wc_subcat_acc_header::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 55.751 55.751' fill='%23fff'><path d='M31.836 43.006c.282-.281.518-.59.725-.912L54.17 20.485c2.107-2.109 2.109-5.528 0-7.638-2.109-2.107-5.527-2.109-7.638 0l-18.608 18.61L9.217 12.753c-2.109-2.108-5.527-2.109-7.637 0C.527 13.809-.002 15.19 0 16.571c-.002 1.382.527 2.764 1.582 3.816l21.703 21.706c.207.323.445.631.729.913 1.078 1.078 2.496 1.597 3.91 1.572 1.412.026 2.834-.494 3.912-1.572z'/></svg>");
    background-repeat: no-repeat;
    background-size: 1rem;
    transition: transform 0.3s ease;
}

.wc-accordion-header.active::after,
.wc_subcat_acc_header.active::after {
    content: '';
    transform: translateY(-50%) rotate(180deg);
}

/* Prev & Next separation */
.wc-category-slider .slick-prev {
    right: 55px; /* push left a bit */
    left: auto;  /* override Slick default */
}

.wc-category-slider .slick-next {
    right: 10px;
}

/* Optional: hide default text icons */
.wc-category-slider .slick-prev:before,
.wc-category-slider .slick-next:before {
    color: #fff;
    font-size: 18px;
}

/*s code*/
.archive.tax-product_cat header.page-header {
    display: none;
}

.cat-desc .custom-category-description h2{
    padding: 7px;
    margin-bottom: 10px;
    font-size: 21px;
    background-color: #E2D0E5;
}

@media (min-width: 1025px) {
    .custom-header nav > ul > li.menu-item > a:hover,
    .custom-header nav > ul > li.menu-item.current-menu-item > a,
    .custom-header nav > ul > li.menu-item.current-menu-parent > a,
    .custom-header nav > ul > li.menu-item.current-menu-ancestor > a {
        background-color: #E2D0E5;
        border-radius: 30px;
    }
}

/* Mobile responsive accordion table */
@media (max-width: 768px) {
    .wc_subcat_acc_table {
        display: block;
    }
    .wc_subcat_acc_col.title {
        font-weight: 400;
    }
    .wc_subcat_acc_row:last-child{
        border-bottom: 1px solid #ddd;
    }
    .wc_subcat_acc_row {
        display: block;
        padding: 10px;
        border: 1px solid #ddd;
        margin: 12px 0px;
    }
    .wc_subcat_acc_header_row {
        display: none; 
    }
    .wc_subcat_acc_col {
        display: block;
        width: 100%;
        padding: 4px 0;
        font-size: 14px;
        border-bottom: 1px solid #eee;
    }
    .wc_subcat_acc_col:last-child {
        border-bottom: none;
    }
    .wc_subcat_acc_col.title::before {
        content: "Product Name: ";
        font-weight: 600;
    }
    .wc_subcat_acc_col.meta::before {
        content: "Strength: ";
        font-weight: 600;
    }
    .wc_subcat_acc_col.category::before {
        content: "Category: ";
        font-weight: 600;
    }
    .wc_subcat_acc_col.view {
        margin-top: 8px;
        text-align: left;
    }
    a.wc_subcat_acc_view_btn {
        text-align: center;
        display: inline-block;
        width: 100%;
    }
}
