h3#ship-to-different-address {
    display: none;
}

.page-template-publisher-template .main-page-wrapper, 
.page-template-author-template .main-page-wrapper,
.page-template-category-template .main-page-wrapper,
.woocommerce-cart .main-page-wrapper,
.woocommerce-checkout .main-page-wrapper{
    background: #fff !important;
}
.page-template-publisher-template .main-page-wrapper .row, .page-template-author-template .main-page-wrapper .row,
.page-template-category-template .main-page-wrapper .row{
    display: block;
}

ul.ff-taxonomy-template {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18%, 1fr));
    gap: 20px; /* Adjust the gap as needed */
}

li.term-item {
    text-align: center;
    padding: 15px;
    border: 1px solid #ddd;
    height: 270px;
    overflow: hidden;
    transition: all .3s ease;
    list-style-type: none;
}

.term-item-count {
    margin-bottom: 0;
    font-size: 13px;
}

li.term-item .text {
    margin-top: 5px;
}

li.term-item img {
    width: 150px;
    max-height: 150px;
    border-radius: 50%;
    margin-bottom: 15px;
}





.sidebar {
    height: 400px; /* Set your desired fixed height here */
    overflow-y: auto; /* Enable vertical scrollbar when content exceeds height */
}
.ff-tax-list {
/*     max-width: 250px; */
    background: #fff;
    margin-bottom: 20px;
    padding: 10px;
    box-shadow: 0 0 12px rgba(0,0,0,0.08);
    border-radius: 5px;
}
.ff-tax-list .sidebar-content h4 {
    border-bottom: 1px dashed;
    padding-bottom: 6px;
}
.ff-tax-list ul {
    margin: 0;
    padding: 0;
}

.ff-tax-list ul li {
    list-style: none;
}

.ff-tax-list ul li a {
    display: block;
    position: relative;
    padding-left: 22px;
    z-index: 1;
}
/* Define the dot using ::before pseudo-element */
.ff-tax-list ul li a::before {
    content: '';
    z-index: 99;
    position: relative;
    position: absolute;
    left: 8.5px;
    height: 4px;
    width: 4px;
    border-radius: 50%;
    background: #fff;
    top: 9px;
}
.ff-tax-list ul li a::after {
    content: '';
    position: absolute;
    left: 4.5px;
    top: 11px;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: var(--wd-primary-color);
    border-radius: 50%;
    z-index: -1;
}

li.term-item:hover {
    box-shadow: 0 10px 20px #ddd;
}

.future-book-publish-wrapper h4 span {font-size: 14px;margin-right: 5px;color: var(--wd-primary-color);}

.future-book-publish-wrapper .ff-product-gift-list li {
    list-style: none;
    margin: 0;
    margin-top: 5px;
}

.future-book-publish-wrapper .ff-product-gift-list {
    margin: 0;
    padding: 0;
}

.future-book-publish-wrapper .ff-product-gift-list li span {
    font-size: 12px;
    margin-right: 6px;
    color: var(--wd-primary-color);
}
.product-best-seller-position.bestseller {
    position: absolute;
    z-index: 99;
	top: -5px !important;
    right: 11px !important;
}
.product-best-seller-position.bestseller p {
    position: relative;
}

.product-best-seller-position.bestseller p .cat-name {
    position: absolute;
    top: -12px;
    left: -20px;
}

@media (max-width:992px) {
    li.term-item {
        width: 23%;
        height: 250px;
    }
}
@media(max-width:768px){
	.header-banner-container {
		padding-inline: 10px !important;
	}	
}

@media (max-width:600px) {
    li.term-item {
        width: 100%;
        height: 210px;
    }
    ul.ff-taxonomy-template {
        grid-template-columns: repeat(auto-fill, minmax(23%, 1fr));
    }
    
    li.term-item{
        margin-top:0;
        margin-bottom:0;
    }
}

@media (max-width:450px) {
    li.term-item {
        width: 100%;
        height: 250px;
    }
    
    ul.ff-taxonomy-template {
        grid-template-columns: repeat(auto-fill, minmax(48%, 1fr));
    }
}

.ff-tax-list ul li a::after{
	border-radius: 0px !important;
	background-color: #fff !important;
	border: 1px solid var(--wd-primary-color);
}
.ff-tax-list ul li a{
	line-height: 25px;	
	font-weight: 500;
	 transition: margin-left .3s ease-out 100ms;
}
.ff-tax-list ul li a::after{
	background-color: none !important;
}
.ff-tax-list ul li a:hover{
	margin-left: 10px;
}
.ff-tax-list ul li ul{
	margin-top: 10px;
}


.ff-tax-list ul li a.current-link {
    color: var(--wd-primary-color);
    margin-left: 10px;
    font-weight: bold;
    text-decoration: underline;
}