/* BD Tools 0.8.0 (23 Nov 2026): home page v3, category chips, shop/product layout repairs. Loaded after design-v2.css. */

/* ---------- Home v3 ---------- */
.bdt3-home .bdt2-section { padding-top: clamp(40px, 5vw, 68px); }
.bdt3-home .bdt2-section--last { padding-bottom: clamp(44px, 5vw, 72px); }
.bdt3-home .bdt2-head { align-items: flex-end; margin-bottom: 20px; }
.bdt3-home .bdt2-head p { margin: 6px 0 0; color: var(--bdt2-muted); font-size: 15px; }
.bdt3-home .bdt2-head > a { white-space: nowrap; }
.bdt3-hero { background: var(--bdt2-soft); padding: clamp(28px, 3.6vw, 52px) 0; }
.bdt3-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3.4vw, 52px); align-items: center; }
.bdt3-hero h1 { font-size: clamp(32px, 3.5vw, 50px) !important; line-height: 1.07 !important; letter-spacing: -.03em !important; font-weight: 800 !important; margin: 0 0 16px !important; text-wrap: balance; }
.bdt3-hero__copy > p { font-size: 17px; line-height: 1.55; color: var(--bdt2-muted); margin: 0 0 22px; max-width: 34em; }
.bdt3-hero .bdt2-ticks { margin-top: 20px !important; }

.bdt3-bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(170px, 15.5vw, 222px); gap: 12px; }
.bdt3-bento li { grid-column: span 3; min-width: 0; }
.bdt3-bento li:first-child { grid-column: span 4; }
.bdt3-bento li:nth-child(2) { grid-column: span 2; }
.bdt3-bento li:nth-child(3) { grid-column: span 2; }
.bdt3-bento li:nth-child(4) { grid-column: span 4; }
.bdt3-bento a { position: relative; display: block; height: 100%; border-radius: 16px; overflow: hidden; background: #fff; color: var(--bdt2-text); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.bdt3-bento a:hover { transform: translateY(-2px); box-shadow: var(--bdt2-shadow); }
.bdt3-bento__txt { position: absolute; left: 18px; top: 16px; right: 18px; z-index: 2; display: flex; flex-direction: column; gap: 3px; }
.bdt3-bento b { font-size: clamp(17px, 1.5vw, 22px); font-weight: 800; letter-spacing: -.015em; line-height: 1.15; }
.bdt3-bento em { font-style: normal; font-size: 13.5px; line-height: 1.4; color: #4a5058; max-width: 22ch; }
.bdt3-bento img { position: absolute; right: 8px; bottom: 6px; width: 56%; height: 76%; object-fit: contain; object-position: right bottom; mix-blend-mode: multiply; }
.bdt3-bento li:first-child a { background: var(--bdt2-yellow); }
.bdt3-bento li:first-child em { color: #3a3000; }
.bdt3-bento li:first-child img { width: 46%; height: 94%; right: 14px; bottom: 3%; }
.bdt3-bento li:nth-child(2) img, .bdt3-bento li:nth-child(3) img { width: 74%; height: 50%; right: 14px; bottom: 12px; }
.bdt3-bento li:nth-child(4) img { width: 42%; height: 88%; right: 16px; bottom: 5%; }

.bdt3-depts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.bdt3-depts a { display: flex; flex-direction: column; height: 100%; padding: 14px 14px 16px; border: 1px solid var(--bdt2-line); border-radius: var(--bdt2-r); background: #fff; color: var(--bdt2-text); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.bdt3-depts a:hover { border-color: var(--bdt2-ink); box-shadow: var(--bdt2-shadow); }
.bdt3-depts__img { display: block; height: 104px; margin-bottom: 12px; }
.bdt3-depts__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.bdt3-depts b { font-size: 15px; font-weight: 700; line-height: 1.25; }
.bdt3-depts em { font-style: normal; font-size: 13px; line-height: 1.4; color: var(--bdt2-muted); margin-top: 4px; }
/* 11 departments after the 4 in the hero: the last row is filled by stretching the final tiles */
.bdt3-depts li:nth-last-child(1):nth-child(6n + 5) { grid-column: span 2; }

.bdt3-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bdt3-card a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--bdt2-line); border-radius: var(--bdt2-r); overflow: hidden; background: #fff; color: var(--bdt2-text); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.bdt3-card a:hover { border-color: #c3c8ce; box-shadow: var(--bdt2-shadow); }
.bdt3-card__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 18px 22px; background: #fff; }
.bdt3-card__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.bdt3-card__body { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px 16px; flex: 1; }
.bdt3-card__brand { font-size: 12.5px; font-weight: 600; color: var(--bdt2-muted); }
.bdt3-card__title { font-size: 15px; font-weight: 600; line-height: 1.38; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bdt3-card__sub { font-size: 13px; line-height: 1.4; color: var(--bdt2-muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.bdt3-card__price { margin-top: auto; padding-top: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.bdt3-card__price del { font-size: 14px; font-weight: 500; color: var(--bdt2-faint); margin-right: 6px; }
.bdt3-card__price .amount { color: var(--bdt2-text); }

.bdt3-finder { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; background: var(--bdt2-ink); border-radius: 18px; padding: clamp(24px, 3.4vw, 48px); }
.bdt3-finder h2 { color: #fff !important; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 10px; }
.bdt3-finder p { color: #c0c5cc; line-height: 1.6; margin: 0 0 20px; max-width: 52ch; }
.bdt3-finder .bdt2-chips { margin: 0 0 16px; }
.bdt3-finder .bdt2-chips span { flex: 0 0 100%; color: #c0c5cc; margin-bottom: 2px; }
.bdt3-finder__all { display: inline-flex; align-items: center; gap: 6px; color: var(--bdt2-yellow) !important; font-weight: 600; text-decoration: none; }
.bdt3-finder__all .bdt2-ico { width: 18px; height: 18px; }
.bdt3-home .bdt3-head--sub { margin-top: clamp(32px, 4vw, 48px); }

.bdt3-brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.bdt3-brands a { display: flex; align-items: center; justify-content: center; min-height: 66px; padding: 10px; border: 1px solid var(--bdt2-line); border-radius: var(--bdt2-r); font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--bdt2-text); text-decoration: none; text-align: center; }
.bdt3-brands a:hover { background: var(--bdt2-yellow); border-color: var(--bdt2-yellow); }

.bdt3-service { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--bdt2-line); border-radius: 16px; overflow: hidden; }
.bdt3-service li { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; row-gap: 3px; padding: 22px 20px; }
.bdt3-service li + li { border-left: 1px solid var(--bdt2-line); }
.bdt3-service .bdt2-ico { grid-row: span 2; width: 26px; height: 26px; color: var(--bdt2-ink); }
.bdt3-service b { font-size: 15px; }
.bdt3-service span { font-size: 13.5px; line-height: 1.5; color: var(--bdt2-muted); }
.bdt3-service a { color: var(--bdt2-text); font-weight: 600; text-decoration: underline; }

/* ---------- Category pages ---------- */
.bdt-v2 .term-description { color: #3d4249; font-size: 15px; line-height: 1.6; max-width: 75ch; margin: 0 0 14px; }
.bdt-v2 .term-description p { margin: 0; }
.bdt3-subs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.bdt3-subs a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 1px solid var(--bdt2-line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--bdt2-text); text-decoration: none; }
.bdt3-subs a:hover { border-color: var(--bdt2-ink); }
.bdt3-subs a.is-on { background: var(--bdt2-ink); border-color: var(--bdt2-ink); color: #fff; }
.bdt3-subs i { font-style: normal; font-weight: 500; font-size: 12.5px; color: var(--bdt2-muted); }
.bdt3-subs a.is-on i { color: #c0c5cc; }

/* Header: departments fit on one line; dropdowns readable */
.bdt-v2 .whb-header .wd-nav > li > a { white-space: nowrap; }
.bdt-v2 .wd-dropdown-menu .wd-sub-menu li > a, .bdt-v2 .wd-dropdown-menu .sub-sub-menu li > a { font-family: var(--bdt2-font) !important; font-size: 14px !important; color: var(--bdt2-text) !important; text-transform: none !important; }
.bdt-v2 .whb-header .wd-cart-number { display: inline !important; background: none !important; font-size: 12.5px; }

/* Shop sidebar: one tidy brand column */
.bdt-v2 .woodmart-woocommerce-layered-nav ul { columns: 1 !important; max-height: 300px !important; overflow: auto !important; padding-right: 6px; }
.bdt-v2 .woodmart-woocommerce-layered-nav li, .bdt-v2 .woodmart-woocommerce-layered-nav .layered-nav-link { text-align: left !important; justify-content: flex-start !important; width: 100% !important; }
.bdt-v2 .woodmart-woocommerce-layered-nav .wd-swatch-text { white-space: nowrap; }
.bdt-v2 .sidebar-container .widget_price_filter .ui-slider-handle { width: 16px !important; height: 16px !important; border-radius: 50% !important; top: -6px !important; }
/* Duplicate in-page search widget: the header already has search */
.bdt-v2 .sidebar-container .widget_product_search { display: none !important; }

/* Product cards in narrow grids and carousels: no squeezed quantity box */
.bdt-v2 .wd-carousel-container .wd-product .wd-quantity, .bdt-v2 .wd-carousel-container .wd-product .quantity,
.bdt-v2.single-product .related .wd-product .quantity { display: none !important; }
.bdt-v2 .wd-carousel-container .wd-product .wd-add-btn, .bdt-v2 .wd-carousel-container .wd-product .wd-add-btn > a { width: 100% !important; }
.bdt-v2 .wd-product .wd-add-btn > a span, .bdt-v2 .wd-product .wd-add-btn > a { overflow: visible; }
.bdt-v2 .wd-product .wd-entities-title { min-height: 2.8em; }

/* Product page */
.bdt-v2.single-product .summary-inner { text-align: left !important; }
.bdt-v2.single-product .summary-inner .wd-product-brands, .bdt-v2.single-product .summary-inner .wd-product-brands > *,
.bdt-v2.single-product .summary-inner > .woodmart-product-brand { text-align: left !important; justify-content: flex-start !important; }
.bdt-v2.single-product .summary-inner .woocommerce-product-details__short-description ul { margin: 0 0 6px; padding-left: 18px; }
.bdt-v2.single-product .summary-inner .woocommerce-product-details__short-description li { margin: 0 0 3px; }
.bdt-v2.single-product .product_meta { justify-content: flex-start !important; text-align: left !important; padding-left: 0 !important; margin-left: 0 !important; }
.bdt-v2.single-product .summary-inner .wd-wishlist-btn { margin-left: 0 !important; }
.bdt-v2.single-product .variations_form .variations td, .bdt-v2.single-product .variations_form .variations th { text-align: left !important; }
.bdt-v2.single-product .variations_form .variations select { width: 100%; min-height: 48px; border-radius: var(--bdt2-r-sm); }
.bdt-v2.single-product .woocommerce-product-gallery img { object-fit: contain !important; }
.bdt-v2.single-product .woocommerce-tabs { padding: 0 24px 20px; }
.bdt-v2.single-product .woocommerce-tabs .wd-nav-wrapper, .bdt-v2.single-product .woocommerce-tabs .wd-nav-tabs { justify-content: flex-start !important; text-align: left !important; margin-bottom: 18px !important; border-bottom: 1px solid var(--bdt2-line); }
.bdt-v2.single-product .woocommerce-tabs .wd-nav-tabs > li > a { padding: 16px 0 !important; margin-right: 26px; border: 0 !important; }
.bdt-v2.single-product .woocommerce-tabs .wd-nav-tabs > li > a:before, .bdt-v2.single-product .woocommerce-tabs .wd-nav-tabs > li > a:after { top: auto !important; bottom: 0 !important; }
.bdt-v2.single-product .woocommerce-Tabs-panel--description { max-width: 78ch; }
.bdt-v2.single-product .woocommerce-Tabs-panel ul { padding-left: 18px; }
.bdt-v2.single-product .wd-tabs-layout-tabs, .bdt-v2.single-product .tabs-layout-tabs { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.bdt3-hero__grid { grid-template-columns: 1fr; }
	.bdt3-bento { grid-auto-rows: clamp(150px, 24vw, 230px); }
	.bdt3-depts { grid-template-columns: repeat(4, 1fr); }
	.bdt3-depts li:nth-last-child(1):nth-child(6n + 5) { grid-column: auto; }
	.bdt3-cards { grid-template-columns: repeat(3, 1fr); }
	.bdt3-service { grid-template-columns: repeat(2, 1fr); }
	.bdt3-service li:nth-child(3) { border-left: 0; }
	.bdt3-service li:nth-child(n + 3) { border-top: 1px solid var(--bdt2-line); }
	.bdt3-brands { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
	.bdt3-hero { padding: 22px 0 26px; }
	.bdt3-bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 168px; gap: 10px; }
	.bdt3-bento li:first-child, .bdt3-bento li:nth-child(4) { grid-column: span 2; }
	.bdt3-bento li:nth-child(2), .bdt3-bento li:nth-child(3) { grid-column: span 1; }
	.bdt3-bento li:nth-child(2) em, .bdt3-bento li:nth-child(3) em { display: none; }
	.bdt3-bento__txt { left: 14px; top: 13px; right: 14px; }
	.bdt3-bento li:first-child em, .bdt3-bento li:nth-child(4) em { max-width: 17ch; }
	.bdt3-depts { grid-template-columns: 1fr 1fr; gap: 10px; }
	.bdt3-depts em { display: none; }
	.bdt3-depts__img { height: 86px; }
	.bdt3-depts li:last-child:nth-child(odd) { grid-column: span 2; }
	.bdt3-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -20px; padding: 0 20px 6px !important; -webkit-overflow-scrolling: touch; }
	.bdt3-card { flex: 0 0 68%; scroll-snap-align: start; }
	.bdt3-card__img { padding: 14px; }
	.bdt3-home .bdt2-head { flex-wrap: wrap; gap: 8px 16px; }
	.bdt3-finder { grid-template-columns: 1fr; }
	.bdt3-brands { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
	.bdt3-brands a { min-height: 54px; font-size: 14px; }
	.bdt3-service { grid-template-columns: 1fr; }
	.bdt3-service li + li { border-left: 0; border-top: 1px solid var(--bdt2-line); }
	.bdt3-subs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -15px 16px; padding: 0 15px 4px; }
	.bdt3-subs a { white-space: nowrap; }
	.bdt-v2.single-product .woocommerce-tabs { padding: 0 16px 12px; }
}

/* ---------- 0.8.1 repairs found on the live pages ---------- */
/* Home cards: keep every photo in the same 4:3 frame */
.bdt3-card__img { position: relative; overflow: hidden; }
.bdt3-card__img img { position: absolute; inset: 18px 22px; width: calc(100% - 44px); height: calc(100% - 36px); }
/* Page title band: no stray back arrow */
.bdt-v2 .page-title .wd-back-btn { display: none !important; }
/* Price slider */
.bdt-v2 .sidebar-container .widget_price_filter .ui-slider-handle { margin-top: 0 !important; top: 2px !important; }
.bdt-v2 .sidebar-container .widget_price_filter .price_slider_wrapper { padding-top: 4px; }
/* Sidebar search repeats the header search */
.bdt-v2 .sidebar-container .woodmart-ajax-search { display: none !important; }
/* Brand filter: one left-aligned list, name + count */
.bdt-v2 .woodmart-woocommerce-layered-nav ul.wd-swatches-filter { display: flex !important; flex-direction: column !important; gap: 0 !important; columns: auto !important; }
.bdt-v2 .woodmart-woocommerce-layered-nav ul.wd-swatches-filter li { display: flex !important; align-items: center; justify-content: space-between; width: 100% !important; margin: 0 !important; padding: 5px 0 !important; }
.bdt-v2 .woodmart-woocommerce-layered-nav ul.wd-swatches-filter .layered-nav-link { flex: 1; width: auto !important; padding: 0 !important; }
.bdt-v2 .woodmart-woocommerce-layered-nav ul.wd-swatches-filter .wd-swatch { display: block !important; text-align: left !important; margin: 0 !important; }
.bdt-v2 .woodmart-woocommerce-layered-nav ul.wd-swatches-filter .count { position: static !important; display: inline-block !important; min-width: 0 !important; padding: 0 !important; }
.bdt-v2 .woodmart-woocommerce-layered-nav .wd-scroll { max-height: none !important; }
/* Product page: the sidebar column was empty; use the full width */
.bdt-v2.single-product .sidebar-container { display: none !important; }
.bdt-v2.single-product .wd-content-layout { display: block !important; }
.bdt-v2.single-product .wd-content-area { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
.bdt-v2.single-product .woocommerce-tabs .wd-nav-wrapper { margin-top: 0 !important; text-align: left !important; }
.bdt-v2.single-product .woocommerce-tabs .wd-nav-tabs { border-bottom: 0; margin-bottom: 0 !important; }
.bdt-v2.single-product .woocommerce-tabs .wd-nav-wrapper { border-bottom: 1px solid var(--bdt2-line); margin-bottom: 20px !important; }
.bdt-v2.single-product .product_meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }
/* Quantity price table: quiet, and only as tall as it needs to be */
.bdt-v2.single-product .wd-dynamic-discounts { border: 1px solid var(--bdt2-line); border-radius: var(--bdt2-r); overflow: hidden; }
.bdt-v2.single-product .wd-dynamic-discounts table { margin: 0; }
.bdt-v2.single-product .wd-dynamic-discounts th { font-size: 12.5px !important; text-transform: none !important; font-weight: 600 !important; color: var(--bdt2-muted) !important; padding: 9px 14px !important; }
.bdt-v2.single-product .wd-dynamic-discounts td { padding: 8px 14px !important; font-size: 14px; }
/* Add-to-basket buttons in carousels and small grids */
.bdt-v2 .wd-carousel-container .wd-product .wd-add-btn { display: block !important; }
.bdt-v2 .wd-carousel-container .wd-product .wd-add-btn > a { display: flex !important; align-items: center; justify-content: center; width: 100% !important; padding: 0 10px !important; }
.bdt-v2 .wd-carousel-container .wd-product .wd-add-btn .wd-action-text { overflow: visible !important; text-overflow: clip !important; }
/* The main action is yellow, everywhere */
.bdt-v2.single-product .single_add_to_cart_button, .bdt-v2 .wd-sticky-btn .single_add_to_cart_button { background: var(--bdt2-yellow) !important; color: var(--bdt2-ink) !important; }

/* ---------- 0.8.2 ---------- */
.bdt3-depts--shop { list-style: none; margin: 4px 0 26px !important; padding: 0 !important; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.bdt3-depts--shop li { margin: 0 !important; grid-column: auto !important; }
.bdt3-depts--shop a { padding: 10px 10px 12px; text-align: center; }
.bdt3-depts--shop .bdt3-depts__img { height: 70px; margin-bottom: 8px; }
.bdt3-depts--shop b { font-size: 13.5px; }
/* Product page: photo and details use the full page width */
.bdt-v2.single-product .product-image-summary { grid-column: 1 / -1 !important; width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
.bdt-v2.single-product .product-image-summary-inner { --wd-gap-lg: 48px; }
/* Brand filter: the text label exists for every brand (some have no logo) */
.bdt-v2 .woodmart-woocommerce-layered-nav ul.wd-swatches-filter .wd-swatch { display: none !important; }
.bdt-v2 .woodmart-woocommerce-layered-nav ul.wd-swatches-filter .wd-filter-lable { display: inline !important; font-size: 14px; font-weight: 500; color: var(--bdt2-text) !important; }
.bdt-v2 .woodmart-woocommerce-layered-nav ul.wd-swatches-filter .count { border: 0 !important; background: none !important; color: var(--bdt2-muted) !important; }
/* Grid cards: badge on its own line; room for the button on phones */
.bdt-v2 .wd-product .bdt-av-badge { display: table; }
@media (max-width: 768px) {
	.bdt-v2 .wd-product .wd-add-btn .quantity { display: none !important; }
	.bdt-v2 .wd-product .wd-add-btn { display: block !important; }
	.bdt-v2 .wd-product .wd-add-btn > a { display: flex !important; align-items: center; justify-content: center; width: 100% !important; padding: 0 8px !important; }
	.bdt-v2 .wd-product .wd-add-btn .wd-action-text { overflow: visible !important; }
	.bdt3-depts--shop { grid-template-columns: repeat(3, 1fr); }
	.bdt3-depts--shop li:last-child:nth-child(odd) { grid-column: auto !important; }
	.bdt-v2 .bdt-av-badge { font-size: 10px; padding: 2px 5px; }
}

/* ---------- 0.8.3 ---------- */
.bdt-v2 .woodmart-woocommerce-layered-nav ul.wd-swatches-filter { flex-wrap: nowrap !important; }
.bdt-v2 .woodmart-woocommerce-layered-nav ul.wd-swatches-filter .wd-filter-lable { margin: 0 !important; padding: 0 !important; }

/* ---------- 0.8.5: shop and category pages ---------- */
/* Grid: 4 per row on desktop, compact cards */
@media (min-width: 1025px) {
	.bdt-v2 .wd-products.elements-grid:not(.wd-carousel) { --wd-col-lg: 4 !important; --wd-gap-lg: 16px !important; }
}
.bdt-v2.woodmart-archive-shop .wd-product .product-wrapper { padding: 10px !important; }
.bdt-v2.woodmart-archive-shop .wd-product .product-element-top { margin-bottom: 8px !important; }
.bdt-v2.woodmart-archive-shop .wd-product .product-image-link img { aspect-ratio: 1 / 1; object-fit: contain; max-height: 210px; width: 100%; }
.bdt-v2.woodmart-archive-shop .wd-product .wd-entities-title { font-size: 13.5px !important; line-height: 1.35 !important; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal !important; }
.bdt-v2.woodmart-archive-shop .wd-product .price { font-size: 16px !important; margin: 4px 0 8px !important; }
.bdt-v2.woodmart-archive-shop .wd-product .wd-add-btn .quantity { display: none !important; }
.bdt-v2.woodmart-archive-shop .wd-product .wd-add-btn { display: block !important; }
.bdt-v2.woodmart-archive-shop .wd-product .wd-add-btn > a { display: flex !important; align-items: center; justify-content: center; width: 100% !important; min-height: 38px; padding: 0 8px !important; font-size: 13px !important; }
.bdt-v2.woodmart-archive-shop .wd-product .star-rating { display: none; }

/* Toolbar: breadcrumb + count left, one Sort box right */
.bdt-v2 .shop-loop-head { align-items: center; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--bdt2-line); }
.bdt-v2 .shop-loop-head .wd-products-per-page,
.bdt-v2 .shop-loop-head .wd-products-shop-view,
.bdt-v2 .shop-loop-head .wd-filter-buttons,
.bdt-v2 .filters-area { display: none !important; }
.bdt-sort { display: flex; align-items: center; gap: 8px; margin: 0; }
.bdt-sort label { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--bdt2-muted); white-space: nowrap; }
.bdt-sort select { height: 38px; min-width: 190px; padding: 0 34px 0 12px; border: 1px solid var(--bdt2-line); border-radius: var(--bdt2-r-sm); background-color: #fff; font-size: 14px; font-weight: 600; color: var(--bdt2-text); cursor: pointer; }
.bdt-v2 .shop-loop-head .wd-shop-tools:last-child { gap: 14px; }

/* Department intro: shorter; on desktop the sub-categories live in the sidebar */
.bdt-v2.woodmart-archive-shop .term-description, .bdt-v2.woodmart-archive-shop .page-description { font-size: 14.5px; line-height: 1.55; max-width: 820px; margin-bottom: 14px; }
@media (min-width: 1025px) { .bdt-v2 .bdt3-subs { display: none !important; } }

/* Sidebar */
.bdt-v2 .sidebar-container .widget-area { display: flex; flex-direction: column; gap: 14px; }
.bdt-v2 .sidebar-container .widget-area > .widget { margin: 0 !important; padding: 16px 16px 14px !important; border: 1px solid var(--bdt2-line) !important; border-radius: var(--bdt2-r) !important; background: #fff; box-shadow: none !important; }
.bdt-v2 .sidebar-container .bdt-active-filters { order: 1; background: var(--bdt2-soft) !important; }
.bdt-v2 .sidebar-container .bdt-cat-list { order: 2; }
.bdt-v2 .sidebar-container .woodmart-woocommerce-layered-nav { order: 3; }
.bdt-v2 .sidebar-container .widget_price_filter { order: 4; }
.bdt-v2 .sidebar-container .wd-widget-stock-status { order: 5; }
.bdt-v2 .sidebar-container .woodmart-ajax-search,
.bdt-v2 .sidebar-container .widget_top_rated_products,
.bdt-v2 .sidebar-container .widget_products { display: none !important; }
.bdt-v2 .sidebar-container .widget-title { margin: 0 0 10px !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: .06em; text-transform: uppercase; color: var(--bdt2-text) !important; }

.bdt-af-head { display: flex; align-items: baseline; justify-content: space-between; }
.bdt-af-clear { font-size: 13px; font-weight: 600; color: var(--bdt2-text) !important; text-decoration: underline; }
.bdt-active-filters ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bdt-active-filters li { margin: 0; }
.bdt-active-filters li a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--bdt2-ink); color: #fff !important; font-size: 13px; font-weight: 600; }
.bdt-active-filters li a span { font-size: 15px; line-height: 1; opacity: .8; }

.bdt-cat-list ul { margin: 0; padding: 0; list-style: none; }
.bdt-cat-list li { margin: 0; }
.bdt-cat-list li a { display: flex; justify-content: space-between; gap: 10px; padding: 6px 8px; margin: 0 -8px; border-radius: 6px; font-size: 14px; color: var(--bdt2-text) !important; }
.bdt-cat-list li a:hover { background: var(--bdt2-soft); }
.bdt-cat-list li a i { font-style: normal; font-size: 12.5px; color: var(--bdt2-faint); }
.bdt-cat-list li.is-on a { background: var(--bdt2-ink); color: #fff !important; font-weight: 600; }
.bdt-cat-list li.is-on a i { color: #c0c5cc; }
.bdt-cat-list li.bdt-cat-up a { font-weight: 600; color: var(--bdt2-muted) !important; margin-bottom: 4px; }

/* Brand filter: tick boxes, search, scroll after ~8 rows */
.bdt-brand-search { width: 100%; height: 36px; margin: 0 0 10px; padding: 0 10px; border: 1px solid var(--bdt2-line); border-radius: var(--bdt2-r-sm); font-size: 13.5px; }
.bdt-v2 .woodmart-woocommerce-layered-nav .wd-scroll-content { max-height: 262px !important; overflow-y: auto; }
.bdt-v2 .woodmart-woocommerce-layered-nav ul.wd-swatches-filter { display: block !important; }
.bdt-v2 .woodmart-woocommerce-layered-nav li.wc-layered-nav-term { display: flex; align-items: center; justify-content: space-between; margin: 0 !important; padding: 0 !important; width: 100% !important; }
.bdt-v2 .woodmart-woocommerce-layered-nav li.wc-layered-nav-term > a { display: flex !important; align-items: center; gap: 9px; padding: 5px 0 !important; flex: 1; }
.bdt-v2 .woodmart-woocommerce-layered-nav li.wc-layered-nav-term > a::before,
.bdt-v2 .wd-widget-stock-status li a::before { content: ""; flex: 0 0 16px; width: 16px; height: 16px; border: 1.5px solid #b9bec5; border-radius: 4px; background: #fff center / 11px no-repeat; }
.bdt-v2 .woodmart-woocommerce-layered-nav li.chosen > a::before, .bdt-v2 .woodmart-woocommerce-layered-nav li.wd-active > a::before,
.bdt-v2 .wd-widget-stock-status li.chosen a::before, .bdt-v2 .wd-widget-stock-status li.wd-active a::before {
	border-color: var(--bdt2-ink); background-color: var(--bdt2-ink);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E"); }
.bdt-v2 .woodmart-woocommerce-layered-nav li.chosen .wd-filter-lable { font-weight: 700 !important; }
.bdt-v2 .woodmart-woocommerce-layered-nav li .count { font-size: 12.5px !important; }

/* Availability: tick boxes, no "On backorder" */
.bdt-v2 .wd-widget-stock-status ul { margin: 0; padding: 0; }
.bdt-v2 .wd-widget-stock-status li { margin: 0 !important; }
.bdt-v2 .wd-widget-stock-status li a { display: flex !important; align-items: center; gap: 9px; padding: 5px 0 !important; font-size: 14px; color: var(--bdt2-text) !important; }
.bdt-v2 .wd-widget-stock-status ul.wd-checkboxes-on li a::after { display: none !important; }
.bdt-v2 .wd-widget-stock-status ul.wd-checkboxes-on li a { padding-left: 0 !important; }
.bdt-v2 .wd-widget-stock-status ul.wd-checkboxes-on li a::before { position: static !important; transform: none !important; }
.bdt-v2 .wd-widget-stock-status li:has(a[href*="onbackorder"]) { display: none !important; }

/* Price filter: tidy row */
.bdt-v2 .widget_price_filter .price_slider_amount { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bdt-v2 .widget_price_filter .price_slider_amount .button { order: 2; height: 32px; padding: 0 14px !important; border-radius: 6px !important; background: var(--bdt2-ink) !important; color: #fff !important; font-size: 13px !important; }

@media (max-width: 1024px) {
	.bdt-v2 .shop-loop-head { flex-wrap: wrap; gap: 8px; }
	.bdt-sort select { min-width: 0; height: 36px; font-size: 13.5px; }
	.bdt-sort label { display: none; }
	.bdt-v2 .shop-loop-head .woocommerce-result-count { display: none; }
	.bdt-v2 .wd-show-sidebar-btn a { height: 36px; padding: 0 14px !important; border: 1px solid var(--bdt2-ink); border-radius: var(--bdt2-r-sm); font-weight: 700; }
	.bdt-v2.woodmart-archive-shop .wd-product .product-image-link img { max-height: 160px; }
}

/* 0.8.6: Woodmart's own active-filter bar; department tiles only on phones (sidebar list on desktop) */
.bdt-v2 .wd-active-filters { margin: 0 0 14px !important; }
.bdt-v2 .wd-active-filters a { font-size: 13.5px !important; font-weight: 600 !important; }
.bdt-v2 .wd-active-filters .wd-clear-filters a, .bdt-v2 .wd-active-filters .wd-clear-filters { color: var(--bdt2-text) !important; text-decoration: underline; }
@media (min-width: 1025px) { .bdt-v2 .bdt3-depts--shop { display: none !important; } }
@media (max-width: 1024px) {
	.bdt-v2 .bdt3-depts--shop { display: flex !important; overflow-x: auto; gap: 8px; margin: 0 -15px 14px !important; padding: 0 15px 4px !important; scroll-snap-type: x proximity; }
	.bdt-v2 .bdt3-depts--shop li { flex: 0 0 104px; scroll-snap-align: start; }
	.bdt-v2 .bdt3-depts--shop a { padding: 8px 6px 10px; }
	.bdt-v2 .bdt3-depts--shop .bdt3-depts__img { height: 54px; margin-bottom: 6px; }
	.bdt-v2 .bdt3-depts--shop b { font-size: 12px; line-height: 1.25; display: block; }
}
