/**
 * WELDHOME category – banner + toolbar view icons.
 */

.category-page-title.featured-title .title-bg {
	background-image: var(--wh-cat-banner);
	background-size: cover;
	background-position: center;
}

/* Nút lưới / list */
.wbc-product-top .col-list-button {
	display: inline-flex;
	list-style: none;
	margin: 0;
	padding: 0;
	/* border: 1px solid #e0e0e0; */
	border-radius: 2px;
	overflow: hidden;
	/* background: #fff; */
}

.wbc-product-top .col-list-button li {
	margin: 0;
}

.wbc-product-top .col-list-button a {
	display: flex;
	align-items: center;
	/* justify-content: center; */
	width: 35px;
	height: 36px;
	border: 0;
	background: transparent;
	color: #333;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.wbc-product-top .col-list-button li + li a {
	/* border-left: 1px solid #e0e0e0; */
}



.wbc-product-top .col-list-button li:not(.active) a {
	color: #9a9a9a;
}

.wbc-product-top .col-list-button a:hover {
	color: #333;
}

.wbc-product-top .col-list-button li.active a:hover {
	color: #fff;
}

.wbc-product-top .wh-view-icon {
	display: block;
	flex-shrink: 0;
	width: 22px;
	height: 19px;
	object-fit: contain;
}

/* SVG đen → trắng khi nút active */
.wbc-product-top .col-list-button li.active a .wh-view-icon {
	/* filter: brightness(0) invert(1); */
}

.wbc-product-top .col-list-button li:not(.active) a .wh-view-icon {
	opacity: 0.45;
}

/* Lưới danh mục: ẩn mô tả dưới giá (dự phòng nếu theme / plugin vẫn in excerpt) */
.shop-container.col-view .product-small .box-excerpt,
.shop-container.col-view .product-small .from_the_blog_excerpt {
	display: none !important;
}

/* Lưới: ẩn toàn bộ khối weldhome (mô tả + VAT + bullet + nút CTA) */
.shop-container.col-view .box-list-content {
	display: none !important;
}

.shop-container:not(.list-view):not(.col-view) .box-list-content {
	display: none !important;
}

.shop-container.list-view .box-list-content {
	display: block;
}

/* ── Thẻ sản phẩm (dạng lưới) ── */
.shop-container.col-view .product-small.col .col-inner {
	/* padding: 0 8px 16px; */
}

.shop-container.col-view .product-small .box {
	background: #f5f5f5;
	border: none;
	border-radius: 8px;
	overflow: hidden;
	padding: 24px 22px 22px;
	box-shadow: none;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}



.shop-container.col-view .product-small .box-image {
	background: transparent;
	margin-bottom: 8px;
}

.shop-container.col-view .product-small .box-image .image-zoom,
.shop-container.col-view .product-small .box-image .image-tools {
	background: transparent;
}

.shop-container.col-view .product-small .box-image img {
	width: auto;
	max-width: 100%;
	max-height: 200px;
	height: auto;
	margin: 0 auto;
	display: block;
	object-fit: contain;
}

.shop-container.col-view .product-small .box-text,
.shop-container.col-view .product-small .box-text.box-text-products {
	text-align: left !important;
	padding: 0 !important;
	min-height: 0 !important;
	height: auto !important;
}

.shop-container.col-view .product-small .box-text .title-wrapper,
.shop-container.col-view .product-small .box-text .price-wrapper {
	text-align: left !important;
	height: auto !important;
	min-height: 0 !important;
}

.shop-container.col-view .product-small .product-title,
.shop-container.col-view .product-small .product-title a {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: #1a1a1a !important;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin: 0 0 6px;
	display: block;
}

.shop-container.col-view .product-small .price,
.shop-container.col-view .product-small .price .amount,
.shop-container.col-view .product-small .price ins,
.shop-container.col-view .product-small .price ins .amount {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	color: #fed640 !important;
	text-decoration: none;
}

.shop-container.col-view .product-small .price del {
	display: none;
}

/* Ẩn nút hover mặc định trên card lưới */
.shop-container.col-view .product-small .image-tools.grid-tools,
.shop-container.col-view .product-small .add-to-cart-button {
	display: none !important;
}

/* ── Phân trang (sau lưới sản phẩm, trước mô tả dài) ── */
.tax-product_cat .shop-container > .container:has(.woocommerce-pagination),
.tax-product_cat .shop-container .woocommerce-pagination {
	margin: 28px 0 32px;
}

.tax-product_cat .woocommerce-pagination .nav-pagination {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tax-product_cat .woocommerce-pagination .page-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	color: #333;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	background: #fff;
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.tax-product_cat .woocommerce-pagination .page-number.current {
	color: #fff;
    background: #fed640;
    border-color: #fed640 !important;
}

.tax-product_cat .woocommerce-pagination a.page-number:hover {
	color: #ffffff;
	border-color: #fed640 !important;
	background: #fed640;
}

.tax-product_cat .woocommerce-pagination .page-number.dots {
	border-color: transparent;
	background: transparent;
	min-width: auto;
	padding: 0 4px;
}

.tax-product_cat .woocommerce-pagination li {
	margin: 0 4px;
}

.tax-product_cat .wh-cat-long-desc {
	margin-top: 8px;
	padding-top: 24px;
	border-top: 1px solid #e8e8e8;
}

/* ── Sidebar: Bộ lọc giá ── */
.wh-price-filter-block {
	margin-top: 24px;
}

.wh-price-filter-block > .widget-title.shop-sidebar {
	font-size: 16px;
	font-weight: 700;
	color: #1a3d6b;
	text-transform: none;
	letter-spacing: 0;
}

.wh-price-filter-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 0 0 14px;
	padding: 10px 12px;
	font-size: 15px;
	font-weight: 700;
	color: #e59544;
	background: #f3f5f8;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	text-align: left;
}

.wh-price-filter-section__toggle {
	font-size: 18px;
	line-height: 1;
	font-weight: 400;
	color: #e59544;
}

.wh-price-filter-section:not(.is-open) .wh-price-filter-section__body {
	display: none;
}

.wh-price-filter-section:not(.is-open) .wh-price-filter-section__toggle::before {
	content: "+";
}

.wh-price-filter-section:not(.is-open) .wh-price-filter-section__toggle {
	font-size: 0;
}

.wh-price-filter-section:not(.is-open) .wh-price-filter-section__toggle::before {
	font-size: 20px;
}

.wh-price-filter-form .wh-price-filter__inputs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 16px;
}

.wh-price-filter-form .wh-price-filter__field {
	width: 100%;
	padding: 10px 12px;
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
	text-align: center;
	background: #fff;
	border: 1px solid #d8dde6;
	border-radius: 6px;
	box-shadow: none;
}

/* Flatsome ẩn input trong .price_slider_amount — chỉ hiện ô hiển thị */
.wh-price-filter-block.widget_price_filter .price_slider_amount input.wh-price-filter__field {
	display: block !important;
	width: 100%;
}

.wh-price-filter-block.widget_price_filter .price_slider_amount input[type="hidden"] {
	display: none !important;
}

.wh-price-filter-form .price_slider_wrapper {
	padding: 0 4px;
}

/* Thanh trượt (jquery UI) */
.wh-price-filter-block .wh-price-slider.ui-slider {
	position: relative;
	height: 5px;
	margin: 22px 10px 16px;
	border: none;
	border-radius: 99px;
	background: #e8ecf2;
}

.wh-price-filter-block .wh-price-slider .ui-slider-range {
	background: #fed640;
	border-radius: 99px;
	opacity: 1;
}

.wh-price-filter-block .wh-price-slider .ui-slider-handle {
	width: 16px;
	height: 16px;
	top: -6px;
	margin-left: -8px;
	background: #fff;
	border: 2px solid #1a3d6b;
	border-radius: 50%;
	cursor: pointer;
	outline: none;
	box-sizing: border-box;
}

.wh-price-filter-block .wh-price-slider .ui-slider-handle:last-child {
	margin-left: -8px;
}

.wh-price-filter-form .wh-price-filter__submit {
	display: none !important;
}
