/* ============================================================
   WooCommerce Sidebar – category tree, contact, manufacturers
   ============================================================ */

/* Shrink sidebar column 20% relative to The7's default */

@media screen and (min-width: 970px) {
    .sidebar-left .wf-container-main {
        -ms-grid-columns: calc(24% - 25px) 50px calc(100% - 24% - 25px);
        grid-template-columns: calc(24% - 25px) calc(100% - 24% - 25px) !important;
    }
}


/* Shared block spacing */
.woo-sidebar-block {
	margin-bottom: 30px;
}

.woo-sidebar-block .widget-title {
	display: block;
	margin-bottom: 12px;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* ── Category tree ─────────────────────────────────────────── */

.woo-cat-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.woo-cat-list .woo-cat-list {
	padding-left: 14px;
}

.woo-cat-item {
}

.woo-cat-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.woo-cat-link {
	display: block;
	flex: 1;
	padding: 7px 0;
	color: inherit;
	text-decoration: none;
	font-size:16px;
	line-height: 1.3;
}

.woo-cat-link:hover {
	color: #23508c;
}

.woo-cat-link.is-current {
	font-weight: 700;
}

/* Toggle button */
.woo-cat-toggle {
	background: none;
	border: none;
	padding: 4px 6px;
	cursor: pointer;
	line-height: 1;
	color: inherit;
	flex-shrink: 0;
}

.woo-cat-toggle:hover {
	color: #23508c;
}

.woo-cat-arrow {
	display: inline-block;
	font-style: normal;
	font-size: 1.5rem;
	line-height: 1;
	transition: transform 0.2s ease;
	transform: rotate(0deg);
}

/* Folder icon before each category name */
.woo-cat-folder {
	display: none;
	margin-right: 6px;
	font-family: FontAwesome, "Font Awesome 5 Free", "Font Awesome 6 Free" !important;
	font-weight: 900;
	color:#444;
	font-style: normal;
}
.woo-cat-folder::before {
	content: "\f07b"; /* fa-folder (closed) */
}

/* Open folder icon when the item is active or expanded */
.woo-cat-item.is-open > .woo-cat-row .woo-cat-folder::before,
.woo-cat-item > .woo-cat-row .woo-cat-link.is-current .woo-cat-folder::before {
	content: "\f07c"; /* fa-folder-open */
}

/* Rotated state when open */
.woo-cat-item.is-open > .woo-cat-row .woo-cat-arrow {
	transform: rotate(90deg);
}

/* Sublist */
.woo-cat-sublist {
	margin-bottom: 4px;
}

.woo-cat-sublist[hidden] {
	display: none;
}

/* ── Contact block ─────────────────────────────────────────── */

.woo-sidebar-contact .woo-sidebar-contact__body p {
	margin-bottom: 8px;
	font-size: 0.875rem;
	line-height: 1.5;
}

.woo-sidebar-contact .fa {
	margin-right: 6px;
	color: var(--wc-primary, #a46497);
}

.woo-sidebar-contact a {
	color: inherit;
	text-decoration: none;
}

.woo-sidebar-contact a:hover {
	text-decoration: underline;
}

/* ── Manufacturer logos ────────────────────────────────────── */

.woo-sidebar-manufacturers__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	align-items: center;
}

.woo-sidebar-manufacturers__item {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	border: 1px solid #ebebeb;
	border-radius: 4px;
	transition: border-color 0.2s;
}

.woo-sidebar-manufacturers__item:hover {
	border-color: var(--wc-primary, #a46497);
}

.woo-sidebar-manufacturers__item img {
	max-width: 100%;
	max-height: 48px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(100%);
	opacity: 0.7;
	transition: filter 0.2s, opacity 0.2s;
}

.woo-sidebar-manufacturers__item:hover img {
	filter: grayscale(0%);
	opacity: 1;
}

/* ── Inline breadcrumbs on regular pages ───────────────────────────────────── */
.hv-page-breadcrumbs {
	margin-bottom: 16px;
}

/* ── Product grid: SKU label ────────────────────────────────────────────────── */
.hv-loop-sku {
	display: block;
	font-size: 0.78rem;
	color: #888;
	margin-top: 4px;
}

/* ── WGM combined tax + shipping line ──────────────────────────────────────── */
.wgm-info-combined {
	font-size: 10px;
	line-height: 1.4;
}

.wgm-info-combined a {
	color: inherit;
	text-decoration: underline;
}
