/* PHM Shop Sidebar: עמודת הצד בעמודי קטגוריה */
.elementor-widget-wd_sidebar {
	--phs-fg: #111;
	--phs-muted: #6b6b6b;
	--phs-line: #ececec;
	--phs-soft: #f7f5f2;
	--phs-dark: #141414;
	--phs-dark-fg: #f3f1ee;
	--phs-dark-muted: #a9a49d;
	--phs-orange: #ff7a18;
	--phs-orange-soft: #fff1e6;
}

/* כל ווידג׳ט = כרטיס */
.elementor-widget-wd_sidebar .sidebar-widget {
	border: 1px solid var(--phs-line);
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 14px;
	background: #fff;
}
.elementor-widget-wd_sidebar .sidebar-widget .widget-title {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 12px;
	padding: 0;
	text-transform: none;
	letter-spacing: 0;
	color: var(--phs-fg);
}
.elementor-widget-wd_sidebar .sidebar-widget .widget-title::after { display: none; }

/* מחיר, טווחים ותכונות = כרטיס סינון אחד */
.elementor-widget-wd_sidebar :is(.widget_price_filter, .phm-ssb-price, .woodmart-woocommerce-layered-nav) {
	border-radius: 0;
	margin-bottom: 0;
	border-top: 0;
	padding-block: 12px;
}
.elementor-widget-wd_sidebar .widget_price_filter {
	border-top: 1px solid var(--phs-line);
	border-radius: 12px 12px 0 0;
	padding-top: 16px;
}
.elementor-widget-wd_sidebar .phm-ssb-price { padding-top: 0; }
.elementor-widget-wd_sidebar .woodmart-woocommerce-layered-nav::before {
	content: "";
	display: block;
	border-top: 1px solid var(--phs-line);
	margin: -12px 0 12px;
}
.elementor-widget-wd_sidebar :is(.widget_price_filter, .phm-ssb-price, .woodmart-woocommerce-layered-nav):not(:has(+ :is(.widget_price_filter, .phm-ssb-price, .woodmart-woocommerce-layered-nav))) {
	border-radius: 0 0 12px 12px;
	margin-bottom: 14px;
	padding-bottom: 16px;
}
.elementor-widget-wd_sidebar .woodmart-woocommerce-layered-nav .widget-title { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
/* התכונות תמיד פתוחות בעמודה, בלי כפתור קיפול */
.elementor-widget-wd_sidebar .wd-widget-collapse > .widget-title { pointer-events: none; padding-inline-end: 0; margin-bottom: 8px; }
.elementor-widget-wd_sidebar .wd-widget-collapse > .widget-title ~ * { display: block !important; height: auto !important; margin-top: 0; }
.elementor-widget-wd_sidebar .wd-scroll-content { max-height: none; overflow: visible; }

.elementor-widget-wd_sidebar .price_slider_amount .button {
	background: var(--phs-fg);
	color: #fff;
	border-radius: 8px;
	min-height: 32px;
	padding: 0 14px;
	font-size: 13px;
}
.elementor-widget-wd_sidebar .price_slider_amount .price_label { font-size: 13px; color: var(--phs-muted); }
.elementor-widget-wd_sidebar .ui-slider .ui-slider-range { background: var(--phs-fg); }
.elementor-widget-wd_sidebar .ui-slider .ui-slider-handle { border-color: var(--phs-fg); }

/* צ׳יפים: טווחי מחיר + מסנני תכונות */
.phm-ssb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.phm-ssb-chip,
.elementor-widget-wd_sidebar .wd-filter-list > li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid var(--phs-line);
	border-radius: 20px;
	padding: 6px 12px;
	font-size: 13px;
	line-height: 1.3;
	color: var(--phs-fg);
	background: #fff;
	text-decoration: none;
	transition: border-color .15s, background-color .15s;
}
.phm-ssb-chip:hover,
.elementor-widget-wd_sidebar .wd-filter-list > li:hover { border-color: #bdbdbd; color: var(--phs-fg); }
.elementor-widget-wd_sidebar .wd-filter-list .layered-nav-link { display: inline-flex; align-items: center; gap: 6px; color: inherit; padding: 0; }
/* כל הצ׳יפ לחיץ, לא רק הטקסט */
.elementor-widget-wd_sidebar .wd-filter-list > li { position: relative; }
.elementor-widget-wd_sidebar .wd-filter-list .layered-nav-link::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.phm-ssb-chip.is-active,
.elementor-widget-wd_sidebar .wd-filter-list > li.wd-active,
.elementor-widget-wd_sidebar .wd-filter-list > li.chosen {
	background: var(--phs-orange-soft);
	border-color: var(--phs-orange);
	color: #7a3500;
	font-weight: 600;
}
.elementor-widget-wd_sidebar .wd-filter-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
}
.elementor-widget-wd_sidebar .wd-filter-list > li {
	margin: 0;
	width: auto;
}
.elementor-widget-wd_sidebar .wd-filter-list .count,
.phm-ssb-n {
	font-size: 11.5px;
	color: var(--phs-muted);
	background: transparent;
	border: 0;
	padding: 0;
	margin: 0;
	min-width: 0;
	height: auto;
	line-height: inherit;
	font-variant-numeric: tabular-nums;
}
.elementor-widget-wd_sidebar .wd-filter-list .wd-swatch {
	width: 18px;
	height: 18px;
	min-width: 18px;
	margin: 0;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);
}
.elementor-widget-wd_sidebar .wd-filter-list .wd-swatch-bg { border-radius: 50%; }
.elementor-widget-wd_sidebar .wd-filter-list .wd-filter-lable { margin: 0; }

/* ניווט */
.phm-ssb-up {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--phs-muted);
	margin-bottom: 10px;
	text-decoration: none;
}
.phm-ssb-up svg { width: 14px; height: 14px; flex: none; }
.phm-ssb-up:hover { color: var(--phs-fg); }
.phm-ssb-h { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.phm-ssb-tree, .phm-ssb-tree ul { list-style: none; margin: 0; padding: 0; }
.phm-ssb-tree { display: grid; gap: 2px; }
.phm-ssb-tree a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	padding: 9px 12px;
	border-radius: 8px;
	color: var(--phs-fg);
	font-size: 14px;
	line-height: 1.35;
	text-decoration: none;
}
.phm-ssb-tree a:hover { background: var(--phs-soft); color: var(--phs-fg); }
.phm-ssb-tree .phm-ssb-n {
	background: var(--phs-soft);
	border-radius: 20px;
	padding: 1px 8px;
	min-width: 24px;
	text-align: center;
	flex: none;
}
.phm-ssb-tree > li.is-open > a { font-weight: 600; }
.phm-ssb-tree li.is-current > a { background: var(--phs-dark); color: var(--phs-dark-fg); font-weight: 600; }
.phm-ssb-tree li.is-current > a .phm-ssb-n { background: var(--phs-orange); color: #1b0d00; }
.phm-ssb-tree ul {
	display: grid;
	gap: 2px;
	margin: 2px 14px 4px 0;
	padding-right: 10px;
	border-right: 2px solid var(--phs-line);
}
.phm-ssb-tree ul a { font-size: 13.5px; padding: 7px 10px; }

/* כרטיס יבוא רשמי */
.elementor-widget-wd_sidebar .sidebar-widget.phm-ssb-trust {
	background: var(--phs-dark);
	border-color: var(--phs-dark);
	color: var(--phs-dark-fg);
	padding: 18px;
	display: grid;
	gap: 14px;
}
.phm-ssb-tt { display: flex; gap: 10px; align-items: center; }
.phm-ssb-tt b { display: block; font-size: 15px; line-height: 1.3; color: var(--phs-dark-fg); }
.phm-ssb-tt small { color: var(--phs-dark-muted); font-size: 12px; }
.phm-ssb-badge {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--phs-orange);
	color: #1b0d00;
	display: grid;
	place-items: center;
	flex: none;
}
.phm-ssb-badge svg { width: 20px; height: 20px; }
.phm-ssb-trust ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13.5px; line-height: 1.4; }
.phm-ssb-trust li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.phm-ssb-trust li > svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--phs-orange); }
.phm-ssb-trust li small { display: block; color: var(--phs-dark-muted); font-size: 12px; }
.phm-ssb-trust li a { color: var(--phs-dark-fg); text-decoration: underline; text-underline-offset: 3px; }
.phm-ssb-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phm-ssb-btn {
	border-radius: 8px;
	padding: 9px 10px;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	line-height: 1.3;
}
.phm-ssb-btn.is-wa { background: var(--phs-orange); color: #1b0d00; }
.phm-ssb-btn.is-tel { color: var(--phs-dark-fg); box-shadow: inset 0 0 0 1px #3a3734; }
.phm-ssb-btn:hover { opacity: .9; }
.phm-ssb-btn.is-wa:hover { color: #1b0d00; }
.phm-ssb-btn.is-tel:hover { color: #fff; }

/* מדריך מבערים */
.elementor-widget-wd_sidebar .sidebar-widget.phm-ssb-tip {
	background: var(--phs-soft);
	border-color: var(--phs-soft);
	display: grid;
	gap: 8px;
}
.phm-ssb-tip-h { font-size: 14.5px; }
.phm-ssb-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phm-ssb-vs div { background: #fff; border-radius: 8px; padding: 8px 10px; font-size: 12.5px; line-height: 1.4; color: var(--phs-muted); }
.phm-ssb-vs b { display: block; font-size: 13px; color: var(--phs-fg); }
.phm-ssb-tip p { margin: 0; font-size: 12.5px; color: var(--phs-muted); line-height: 1.5; }

/* נצפו לאחרונה */
.elementor-widget-wd_sidebar .widget_recently_viewed_products ul.product_list_widget li { padding: 0 0 10px; margin: 0 0 10px; border-bottom: 1px solid var(--phs-line); }
.elementor-widget-wd_sidebar .widget_recently_viewed_products ul.product_list_widget li:last-child { border: 0; margin: 0; padding: 0; }
.elementor-widget-wd_sidebar .widget_recently_viewed_products img { border-radius: 8px; border: 1px solid var(--phs-line); }
.elementor-widget-wd_sidebar .widget_recently_viewed_products .wd-entities-title { font-size: 12.5px; line-height: 1.35; }

/* הטקסט שעבר מתחת לגריד */
.phm-ssb-about { max-width: 75ch; margin-top: 10px; color: var(--phs-muted, #6b6b6b); font-size: 14px; line-height: 1.7; }
.phm-ssb-about h2 { font-size: 18px; margin: 0 0 6px; color: #111; }
.phm-ssb-about p { margin: 0 0 8px; }

.phm-ssb a:focus-visible,
.phm-ssb-chip:focus-visible { outline: 2px solid var(--phs-orange); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	.phm-ssb-chip, .elementor-widget-wd_sidebar .wd-filter-list .layered-nav-link { transition: none; }
}
