/**
 * Trang sản phẩm (archive shop + taxonomy product_cat)
 *
 * @package Hello_Elementor_Child
 */

/* ==========================================================================
   Archive sản phẩm (shop + taxonomy product_cat)
   ========================================================================== */
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_brand {
	background: #f2f7f7;
}

/* Ép chiều rộng trang archive = 1320px (theme cha có thể giới hạn nhỏ hơn) */
body.post-type-archive-product .site-main,
body.tax-product_cat .site-main,
body.tax-product_brand .site-main,
body.post-type-archive-product main#content,
body.tax-product_cat main#content,
body.tax-product_brand main#content {
	max-width: 1320px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	box-sizing: border-box;
}

.vdc-product-archive {
	--vdc-archive-gap: 20px;
	--vdc-archive-cols: 5;
	max-width: 1320px;
	width: 100%;
	margin: 0 auto;
	padding: 0 24px 48px;
	box-sizing: border-box;
}

/* Breadcrumb */
.vdc-breadcrumb {
	margin: 0 0 20px;
	padding: 0;
}

.vdc-breadcrumb__list {
	margin-top:10px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 6px;
	list-style: none;
	padding: 0;
	font-size: 14px !important;
	line-height: 1.5;
	color: #555;
}

.vdc-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 0;
}

.vdc-breadcrumb__link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 14px !important;
	color: #555;
	text-decoration: none;
	transition: color 0.2s;
}

.vdc-breadcrumb__link:hover {
	color: #222;
}

.vdc-breadcrumb__current {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 14px !important;
	color: #555;
}

.vdc-breadcrumb__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.vdc-breadcrumb__icon svg {
	width: 16px;
	height: 16px;
	vertical-align: middle;
}

.vdc-breadcrumb__sep {
	margin: 0;
	padding: 0 2px;
	font-size: 14px !important;
	color: #555;
	font-weight: 400;
	user-select: none;
}

.vdc-product-archive__title {
	margin: 0 0 24px;
	font-size: 20px !important;
	font-weight: 700;
	line-height: 1.2;
	color: #222;
	letter-spacing: 0 !important;
}

/* Danh mục con (dùng giao diện featured-categories) */
.vdc-archive-subcats {
	margin-bottom: 24px;
}

/* Toolbar: bộ lọc (Thương hiệu + Giá) + sắp xếp – giao diện theo ảnh */
.vdc-archive-toolbar {
	margin-bottom: 24px;
}

.vdc-archive-filters__title,
.vdc-archive-sort__title {
	margin: 0 0 14px;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #222;
	letter-spacing: 0 !important;
}


.vdc-archive-filters {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.vdc-archive-filters:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

/* Hàng riêng: thương hiệu 1 hàng, giá 1 hàng */
.vdc-filter-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	margin-bottom: 12px;
}

.vdc-filter-row:last-child {
	margin-bottom: 0;
}

.vdc-filter-row__title {
	flex: 0 0 100%;
	margin: 0 0 10px;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #222;
	letter-spacing: 0 !important;
}

.vdc-filter-row__brands.vdc-brand-chips {
	margin-bottom: 0;
}

.vdc-filter-row__sep {
	color: #ccc;
	font-size: 14px;
	padding: 0 4px;
	user-select: none;
}

.vdc-filter-row__price.vdc-price-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
}

/* Chip giá: cùng style chip thương hiệu */
.vdc-price-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	font-size: 13px !important;
	font-weight: 500;
	color: #333;
	text-decoration: none;
	transition: border-color 0.2s;
	white-space: nowrap;
}

.vdc-price-chip:hover {
	border-color: #bbb;
}

.vdc-price-chip.is-active {
	border-color: #1835C3;
}

.vdc-price-chip__text {
	line-height: 1.3;
}

/* Nút Lọc nâng cao + dropdown panel giá */
.vdc-filter-row__advanced {
	position: relative;
	display: inline-flex;
}

.vdc-filter-advanced-btn {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	background: #fff !important;
	border: 1px solid #e0e0e0 !important;
	border-radius: 10px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #333 !important;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
	white-space: nowrap;
}

.vdc-filter-advanced-btn:hover {
	border-color: #bbb !important;
	background: #f9f9f9 !important;
}

.vdc-filter-advanced-btn[aria-expanded="true"] {
	border-color: #1835C3 !important;
	background: rgba(24, 53, 195, 0.1) !important;
	color: #1835C3 !important;
}

.vdc-filter-advanced-btn__chevron {
	flex-shrink: 0;
	transition: transform 0.2s;
}

.vdc-filter-advanced-btn[aria-expanded="true"] .vdc-filter-advanced-btn__chevron {
	transform: rotate(180deg);
}

/* Panel giá (dropdown) - position relative to .vdc-filter-row__advanced */
.vdc-filter-row__advanced .vdc-filter-price-panel {
	left: 0;
	right: auto;
}

/* Hàng chip thương hiệu: nút trắng bo góc, logo + tên, nằm ngang (theo ảnh mẫu) */
.vdc-brand-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	margin-bottom: 18px;
}

.vdc-brand-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	font-size: 14px !important;
	font-weight: 500;
	color: #333;
	text-decoration: none;
	transition: border-color 0.2s;
	white-space: nowrap;
}

.vdc-brand-chip:hover {
	border-color: #bbb;
}

.vdc-brand-chip.is-active {
	border-color: #1835C3;
}

.vdc-brand-chip__img-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: 4px;
	overflow: hidden;
	background: #f8f8f8;
}

.vdc-brand-chip__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.vdc-brand-chip__text {
	line-height: 1.3;
}

/* Form chỉ còn hidden inputs, nút lọc đã đưa ra chip */
.vdc-archive-filters__form--hidden {
	display: block;
}

.vdc-archive-filters__form--hidden .vdc-filter-buttons--hidden {
	display: none !important;
}

.vdc-archive-filters__form {
	display: block;
}

/* Hàng nút lọc (ẩn khi dùng chip) */
.vdc-filter-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.vdc-filter-btn-wrap {
	position: relative;
}

.vdc-filter-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	font-size: 14px !important;
	font-weight: 600;
	border-radius: 8px;
	border: 1px solid #ddd;
	background: #f5f5f5;
	color: #333;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.vdc-filter-btn--price.is-active,
.vdc-filter-btn--price:hover {
	border-color: #e11d48;
	background: rgba(225, 29, 72, 0.08);
	color: #e11d48;
}

.vdc-filter-btn--price .vdc-filter-btn__icon {
	color: inherit;
}

.vdc-filter-btn--brand {
	width: 100%;
	min-width: 180px;
	justify-content: space-between;
}

.vdc-filter-btn__chevron {
	opacity: 0.7;
}

.vdc-archive-filters__select--btn {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	appearance: none;
}

/* Panel giá (dropdown) */
.vdc-filter-price-panel {
	position: absolute !important;
	left: 0 !important;
	top: 100% !important;
	margin-top: 8px !important;
	min-width: 320px !important;
	background: #fff !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 12px !important;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06) !important;
	padding: 24px !important;
	z-index: 50 !important;
}

.vdc-filter-price-panel[hidden] {
	display: none !important;
}

.vdc-filter-price-panel__title {
	margin: 0 0 14px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #222 !important;
}

/* Nút chọn nhanh khoảng giá */
.vdc-filter-price-panel__quick {
	display: flex !important;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.vdc-filter-price-quick {
	padding: 8px 14px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #222 !important;
	background: #f5f5f5 !important;
	border: 1px solid #d0d0d0 !important;
	border-radius: 10px !important;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.vdc-filter-price-quick:hover {
	border-color: #1835C3 !important;
	background: rgba(24, 53, 195, 0.1) !important;
	color: #1835C3 !important;
}

.vdc-filter-price-quick.is-active {
	border-color: #1835C3 !important;
	background: rgba(24, 53, 195, 0.12) !important;
	color: #1835C3 !important;
}

/* Nhãn "Hoặc nhập giá min – max" */
.vdc-filter-price-panel__custom-label {
	display: flex !important;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #555 !important;
}

.vdc-filter-price-panel__custom-icon {
	display: inline-flex;
}

.vdc-filter-price-panel__custom-icon svg {
	width: 16px;
	height: 16px;
}

/* Ô nhập giá Min / Max (tham khảo Price Range Slider – CodingNepal) */
.vdc-price-input {
	display: flex !important;
	align-items: center;
	gap: 10px;
	width: 100%;
	margin: 12px 0 20px;
}

.vdc-price-input__field {
	display: flex !important;
	align-items: center;
	flex: 1;
	min-width: 0;
	height: 45px;
}

.vdc-price-input__label {
	flex-shrink: 0;
	margin: 0;
	font-size: 14px !important;
	font-weight: 600;
	color: #333;
	margin-right: 10px;
}

.vdc-price-input__input {
	width: 100% !important;
	height: 100% !important;
	outline: none;
	font-size: 15px !important;
	border-radius: 8px !important;
	text-align: center;
	border: 1px solid #ccc !important;
	background: #fff !important;
	color: #333 !important;
	-moz-appearance: textfield !important;
	appearance: textfield !important;
}

.vdc-price-input__input::-webkit-outer-spin-button,
.vdc-price-input__input::-webkit-inner-spin-button {
	-webkit-appearance: none !important;
	appearance: none !important;
	margin: 0;
}

.vdc-price-input__input:focus {
	border-color: #1835C3 !important;
	box-shadow: 0 0 0 2px rgba(24, 53, 195, 0.15) !important;
}

.vdc-price-input__separator {
	flex-shrink: 0;
	font-size: 18px !important;
	font-weight: 600;
	color: #666;
}

.vdc-filter-price-panel__fields.vdc-price-input .vdc-filter-price-panel__dash {
	margin: 0;
}

.vdc-filter-price-panel__dash {
	font-weight: 600;
	color: #666;
}

/* Slider trong panel – dual range (tham khảo CodingNepal: track + progress + 2 range chồng nhau, chỉ thumb bắt sự kiện) */
.vdc-price-slider--panel {
	margin-bottom: 20px;
	min-height: 24px;
	overflow: visible !important;
}

.vdc-price-slider__track {
	height: 8px !important;
	position: relative;
	background: #e5e7eb !important;
	border-radius: 4px !important;
	overflow: visible !important;
}

.vdc-price-slider__progress {
	height: 100% !important;
	position: absolute !important;
	left: 0;
	right: 100%;
	border-radius: 4px !important;
	background: #1835C3 !important;
	pointer-events: none !important;
	top: 0 !important;
}

.vdc-price-slider__range-inputs {
	position: relative !important;
	overflow: visible !important;
}

.vdc-price-slider__range-inputs .vdc-price-slider__range {
	position: absolute !important;
	width: 100% !important;
	height: 28px !important;
	top: -18px !important;
	left: 0 !important;
	margin: 0 !important;
	background: none !important;
	pointer-events: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

/* Hai thumb min/max phải cùng thấy: cho range-min nằm dưới, range-max nằm trên */
.vdc-price-slider__range--min {
	z-index: 2 !important;
}
.vdc-price-slider__range--max {
	z-index: 3 !important;
}

.vdc-price-slider__range-inputs .vdc-price-slider__range::-webkit-slider-runnable-track {
	height: 6px;
	background: transparent !important;
	border-radius: 3px;
}

.vdc-price-slider__range-inputs .vdc-price-slider__range::-webkit-slider-thumb {
	height: 18px !important;
	width: 18px !important;
	border-radius: 50%;
	background: #1835C3 !important;
	pointer-events: auto !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	cursor: grab;
	box-shadow: 0 2px 4px rgba(24, 53, 195, 0.3);
	margin-top: -6px;
	position: relative;
	z-index: 5 !important;
}

.vdc-price-slider__range-inputs .vdc-price-slider__range::-moz-range-track {
	height: 8px !important;
	background: transparent !important;
	border-radius: 4px !important;
}

.vdc-price-slider__range-inputs .vdc-price-slider__range::-moz-range-thumb {
	height: 20px !important;
	width: 20px !important;
	border: 2px solid #1835C3 !important;
	border-radius: 50% !important;
	background: #fff !important;
	pointer-events: auto !important;
	-moz-appearance: none !important;
	appearance: none !important;
	cursor: grab;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
	position: relative;
	z-index: 10 !important;
}

.vdc-price-slider__range-inputs .vdc-price-slider__range::-moz-focus-outer {
	border: 0;
}

.vdc-filter-price-panel__actions {
	display: flex !important;
	justify-content: space-between;
	gap: 10px;
}

.vdc-filter-price-panel__btn {
	padding: 10px 20px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	border-radius: 10px !important;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.vdc-filter-price-panel__btn--close {
	border: 1px solid #ccc !important;
	background: #f5f5f5 !important;
	color: #222 !important;
}

.vdc-filter-price-panel__btn--close:hover {
	border-color: #999 !important;
	background: #eee !important;
	color: #111 !important;
}

.vdc-filter-price-panel__btn--submit {
	border: none !important;
	background: #1835C3 !important;
	color: #fff !important;
	box-shadow: 0 1px 3px rgba(24, 53, 195, 0.3) !important;
}

.vdc-filter-price-panel__btn--submit:hover {
	background: #1329a3 !important;
}

/* Panel hãng (dropdown multi-select) */
.vdc-filter-brand-panel {
	position: absolute;
	left: 0;
	top: 100%;
	margin-top: 8px;
	min-width: 280px;
	max-width: 420px;
	max-height: 380px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);
	padding: 20px;
	z-index: 50;
	overflow-y: auto;
}

.vdc-filter-brand-panel[hidden] {
	display: none !important;
}

.vdc-filter-brand-panel__title {
	margin: 0 0 14px;
	font-size: 15px !important;
	font-weight: 700;
	color: #222;
}

.vdc-filter-brand-panel__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-bottom: 16px;
	max-height: 280px;
	overflow-y: auto;
}

@media (max-width: 480px) {
	.vdc-filter-brand-panel__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

.vdc-filter-brand-panel__item {
	position: relative;
	display: flex;
	align-items: stretch;
	padding: 0;
	margin: 0;
	font-size: 13px;
	color: #333;
	cursor: pointer;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.vdc-filter-brand-panel__item:hover {
	border-color: #bbb;
}

.vdc-filter-brand-panel__item.is-checked {
	border-color: #0ea5e9;
	box-shadow: 0 0 0 1px #0ea5e9;
}

.vdc-filter-brand-panel__item input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
	width: 0;
	height: 0;
	margin: 0;
}

.vdc-filter-brand-panel__item-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	min-height: 72px;
	padding: 10px 8px;
	text-align: center;
}

.vdc-filter-brand-panel__item-img-wrap {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 4px;
	overflow: hidden;
	background: #f5f5f5;
}

.vdc-filter-brand-panel__item-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.vdc-filter-brand-panel__item-name {
	font-size: 12px !important;
	font-weight: 500;
	line-height: 1.2;
	word-break: break-word;
	min-width: 0;
}

.vdc-filter-brand-panel__actions {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

/* Sắp xếp theo – label + options hàng ngang, chấm phân cách, không icon mũi tên */
.vdc-archive-sort {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
}

.vdc-archive-sort__title {
	flex: 0 0 100%;
	margin: 0 0 10px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #222;
	letter-spacing: 0 !important;
}

.vdc-archive-sort__nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
}

.vdc-archive-sort__link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	font-size: 14px !important;
	font-weight: 400;
	color: #999;
	background: none;
	border: none;
	padding: 0;
	transition: color 0.2s;
}

/* Chấm phân cách giữa các option (không có trước option đầu tiên) */
.vdc-archive-sort__link:not(:first-child)::before {
	content: "·";
	color: #999;
	margin: 0 10px;
	font-size: 36px !important;
	line-height: 1;
	vertical-align: middle;
	pointer-events: none;
}

.vdc-archive-sort__link:hover {
	color: #007bff;
}

.vdc-archive-sort__link--active {
	color: #007bff !important;
}

.vdc-archive-sort__link--active:hover {
	color: #0056b3;
}

/* Ẩn icon SVG (star, sale, up/down), chỉ hiển thị text */
.vdc-sort-link__icon {
	display: none;
}

.vdc-sort-link__icon svg {
	width: 16px;
	height: 16px;
}

/* Đang lọc theo: pill + Bỏ chọn tất cả */
.vdc-active-filters {
	margin-bottom: 20px;
}

.vdc-active-filters__title {
	margin: 0 0 10px;
	font-size: 16px !important;
	font-weight: 700;
	color: #222;
	letter-spacing: 0 !important;
}

.vdc-active-filters__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.vdc-active-filters__pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	background: transparent;
	border: 1px solid #1835C3;
	border-radius: 0;
	font-size: 14px !important;
	color: 	#1835C3;
	background-color: rgba(24, 53, 195, 0.1) !important;
	border-radius: 999px;
}

.vdc-active-filters__pill-text {
	line-height: 1.3;
}

.vdc-active-filters__pill-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 2px;
	color: #1835C3;
	text-decoration: none;
	transition: color 0.2s;
}

.vdc-active-filters__pill-remove:hover {
	color: #e11d48;
}

.vdc-active-filters__pill-remove svg {
	width: 14px;
	height: 14px;
}

.vdc-active-filters__clear {
	font-size: 14px !important;
	font-weight: 600;
	color: #0ea5e9;
	text-decoration: none;
	transition: color 0.2s;
}

.vdc-active-filters__clear:hover {
	color: #0284c7;
	text-decoration: underline;
}

.vdc-product-archive__grid {
	display: grid;
	grid-template-columns: repeat(var(--vdc-archive-cols), 1fr);
	gap: var(--vdc-archive-gap);
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.vdc-product-archive__grid > li {
	margin: 0;
}

@media (max-width: 1200px) {
	.vdc-product-archive {
		--vdc-archive-cols: 4;
	}
}

@media (max-width: 1024px) {
	.vdc-product-archive {
		--vdc-archive-cols: 3;
	}
}

@media (max-width: 768px) {
	.vdc-product-archive {
		--vdc-archive-cols: 2;
		padding: 16px 12px 48px;
	}
	.vdc-archive-sort__link:not(:first-child)::before {
		font-size: 20px !important;
		margin: 0 6px;
	}
	.vdc-product-archive__title {
		font-size: 22px !important;
		margin-bottom: 16px;
	}
	.vdc-product-archive__grid {
		gap: 12px;
		margin-bottom: 24px;
	}
}

@media (max-width: 480px) {
	.vdc-product-archive {
		--vdc-archive-cols: 2;
	}
}

.vdc-product-archive .pagination,
.vdc-product-archive .woocommerce-pagination {
	margin-top: 24px;
}

.vdc-product-archive .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.vdc-product-archive .page-numbers li {
	margin: 0;
}

.vdc-product-archive .page-numbers a,
.vdc-product-archive .page-numbers span {
	display: inline-block;
	min-width: 40px;
	padding: 8px 12px;
	text-align: center;
	text-decoration: none;
	border: 1px solid #d9d9d9;
	border-radius: 4px;
	color: #333;
	background: #fff;
}

.vdc-product-archive .page-numbers a:hover {
	border-color: #1835C3;
	color: #1835C3;
}

.vdc-product-archive .page-numbers .current {
	border-color: #1835C3;
	background: #1835C3;
	color: #fff;
}

/* Load more (Xem thêm sản phẩm) – nền trắng, viền + chữ #1835C3 ( !important để chồng theme ) */
.vdc-load-more-wrap {
	margin-top: 32px !important;
	margin-bottom: 24px !important;
	text-align: center !important;
}

.vdc-load-more-btn {
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	min-width: 160px !important;
	padding: 10px 28px !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	color: #1835C3 !important;
	background: #fff !important;
	border: 1px solid #1835C3 !important;
	border-radius: 8px !important;
	cursor: pointer !important;
	transition: background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s !important;
}

.vdc-load-more-btn:hover:not(:disabled) {
	background: rgba(255, 87, 34, 0.06) !important;
	border-color: #e64a19 !important;
	color: #e64a19 !important;
}

.vdc-load-more-btn:disabled {
	opacity: 0.7 !important;
	cursor: wait !important;
}

.vdc-load-more-btn__spinner {
	position: absolute !important;
	width: 20px !important;
	height: 20px !important;
	border: 2px solid rgba(255, 87, 34, 0.25) !important;
	border-top-color: #1835C3 !important;
	border-radius: 50% !important;
	opacity: 0 !important;
	pointer-events: none !important;
	transition: opacity 0.2s !important;
}

.vdc-load-more-btn__spinner.is-active {
	opacity: 1 !important;
	animation: vdc-spin 0.7s linear infinite !important;
}

.vdc-load-more-btn__text {
	visibility: visible !important;
}

@keyframes vdc-spin {
	to { transform: rotate(360deg); }
}

/* Mô tả danh mục ở cuối trang (Xem thêm / Thu gọn) */
.vdc-category-description {
	margin-top: 32px;
	padding: 20px 0 0;
	border-top: 1px solid #e5e5e5;
}

.vdc-category-description__wrap {
	background: #f8f9fa;
	border-radius: 8px;
	padding: 20px 24px 16px;
	text-align: center;
}

.vdc-category-description__content {
	position: relative;
	text-align: left;
}

.vdc-category-description__content--collapsed {
	max-height: 7.5em;
	overflow: hidden;
}

.vdc-category-description__content--collapsed .vdc-category-description__fade {
	opacity: 1;
}

.vdc-category-description__content:not(.vdc-category-description__content--collapsed) .vdc-category-description__fade {
	opacity: 0;
	pointer-events: none;
}

.vdc-category-description__text {
	font-size: 15px;
	line-height: 1.6;
	color: #444;
	text-align: left;
}

.vdc-category-description__text p {
	margin: 0 0 0.75em;
}

.vdc-category-description__text p:last-child {
	margin-bottom: 0;
}

.vdc-category-description__text a {
	color: #1976d2;
	text-decoration: underline;
}

.vdc-category-description__text a:hover {
	text-decoration: none;
}

.vdc-category-description__text strong,
.vdc-category-description__text b {
	font-weight: 700;
}

.vdc-category-description__text img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	margin: 0.5em 0;
}

/* Gradient fade khi thu gọn */
.vdc-category-description__fade {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4em;
	background: linear-gradient(to bottom, rgba(248, 249, 250, 0) 0%, rgba(248, 249, 250, 1) 100%);
	transition: opacity 0.2s ease;
}

.vdc-category-description__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 12px auto 0;
	padding: 0;
	border: none;
	background: none !important;
	font-size: 15px;
	color: #f65723 !important;
	cursor: pointer;
	transition: color 0.2s;
}

.vdc-category-description__toggle:hover {
	color: #1565c0;
}

.vdc-category-description__toggle-icon {
	display: inline-flex;
	transition: transform 0.25s ease;
}

.vdc-category-description__toggle-icon svg {
	width: 14px;
	height: 14px;
	vertical-align: middle;
}

/* ==========================================================================
   Search results page
   ========================================================================== */
body.search-results-page,
body.search-results-page .site-main {
	max-width: 1320px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

/* Empty state cho trang tìm kiếm */
.vdc-product-archive__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 60px 24px;
	margin: 40px 0;
	gap: 16px;
}

.vdc-product-archive__empty svg {
	width: 64px;
	height: 64px;
	color: #ccc;
	flex-shrink: 0;
}

.vdc-product-archive__empty strong {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.vdc-product-archive__empty span {
	font-size: 15px;
	color: #666;
	margin: 0;
}

/* Search keyword highlight */
.vdc-search-keyword {
	color: #1835C3;
}
