/* Brands */
.tax-pa_brand #primary #main div.term-description {
	background-color: #f4fdfe !important;
	height: 190px;
	padding: 10px 0 !important;
	margin-bottom: 40px;
}
.tax-pa_brand .woocommerce-result-count {
	display: none;
}
.tax-pa_brand .woocommerce-breadcrumb, .tax-pa_brand .woocommerce-breadcrumb a {
	font-size: 12px;
	font-weight: 600;
}
/* Brand Products Design*/
.tax-pa_brand .site-main {
	max-width: 98% !important;
}
.tax-pa_brand .button, .tax-pa_brand  .star-rating {
	display: none !important;
}
.tax-pa_brand .woocommerce-loop-product__title {
	font-size: 16px !important;
	text-align: center;
	color: #000;
}
.tax-pa_brand .price {
	text-align: center;
	font-size: 14px !important;
	color: #5bc6d6 !important;
	margin-top: 20px !important;
}
.tax-pa_brand .woocommerce-LoopProduct-link .price {
    display: none !important;
}

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	margin: 0 0 40px 0;
}
.tax-pa_brand .woocommerce-ordering {
	display: none;
}
@media screen and (min-width: 1024px) {
	.tax-pa_brand .products li {
		width: calc(23%) !important;
		margin-left: calc(2%) !important;
	}
    .custom-product-image-wrapper {
        top: 16px !important;
        right: 16px !important;
    }
} 
@media screen and (max-width: 764px) {
	.tax-pa_brand .woocommerce ul.products[class*="columns-"] li.product, .woocommerce-page ul.products[class*="columns-"] li.product {
		margin-bottom: 0;
	}
}
.tax-pa_brand .woocommerce-loop-product__title {
    overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.tax-pa_brand .woocommerce-loop-product__title {
	padding: 0 !important;
}

/* Header */
@media screen and (max-width: 767px) {
    .elementor-widget-woocommerce-archive-description {
        width: 100%;
    }

    .row-info {
        height: 150px !important;
        padding: 20px;
        background-color: #F4FDFE !important;
    }

    .column-sec {
        display: none;
    }

    .term-description h1 {
        background-color: #149CAF;
        color: #fff;
        padding: 10px;
        border: dashed 2px;
        border-radius: 5px;
        text-align: center !important;
        font-size: 22px;
    }

    .column-first p {
        font-family: Pelak;
        font-size: 12px;
        font-weight: 700;
        text-align: center;
    }
}


@media screen and (min-width: 1024px) {
    .row-info {
        display: flex !important;
        flex-direction: row-reverse;
        width: 100% !important;
        height: 220px;
        border-radius: 12px;
        background-color: #F4FDFE;
    }

    .column-first {
        width: 28% !important;
        min-height: 100%;
        padding: 10px 30px 10px 30px;
        justify-content: center;
        align-content: center;
        border-left: dashed #149CAF;
    }

    .column-sec {
        width: 72% !important;
        min-height: 100%;
        padding: 23px 30px 10px 30px;
        align-content: center;
        text-align: justify;
    }

    .column-first h1 {
        margin-right: auto;
        margin-left: auto;
    }

    .term-description h1 {
        background-color: #149CAF;
        color: #fff;
        padding: 10px;
        border: dashed 2px;
        border-radius: 5px;
        text-align: center !important;
        font-size: 22px !important;
    }

    .column-first p {
        font-family: Pelak;
        font-size: 18px;
        line-height: 2em;
        font-weight: 700;
        text-align: center;
        color: #575757 !important;
    }

    .column-sec p {
        font-size: 14px;
        line-height: 2em;
    }

    .column-first p:last-child,
    .column-sec p {
        margin-bottom: 0px !important;
    }
}
.products {
	margin-top: 80px !important;
}
.products li {
	background-color: #f7f7f7;
	padding: 10px !important;
	border-radius: 8px;
	margin-bottom: 40px !important;
}
.out-of-stock-badge {
	display: none;
}

.product-color-swatches {
    left: 22px !important;
    bottom: 148px !important;
}

@media (max-width: 768px) {
  .product-color-swatches.under-image {
    top: 15px !important;
    right: 15px !important;
  }
}
@media (min-width:1024px) {
	#primary {
		padding-right: 70px;
	}
	.tax-pa_brand .products {
	margin-top: 0 !important;
	}
	.tax-pa_brand .custom-sort-buttons {
		margin-top: 80px;
	}
}
@media (max-width: 768px) {
	#primary {
		padding: 0 15px 0 10px !important;
	}
	.tax-pa_brand .products {
	margin-top: 0 !important;
	}
}


/* Sort By */
.woocommerce-result-count,
.out-of-stock-badge {
    display: none;
}

.custom-sort-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.sort-btn {
    padding: 8px 14px;
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.sort-btn:hover {
    background: #25b5cc;
    color: #fff;
}

.sort-btn.active {
    background: #25b5cc;
    color: #fff;
}

/* Pagination */
.page-numbers li {
    border-radius: 10px !important;
    border: 1px solid #ddd !important;
    margin-left: 8px !important;
    width: 50px;
}

.woocommerce nav.woocommerce-pagination ul {
    border: unset;
}
