/* =========================================================
 * SO - Sidebar halaman kategori & Toko (gaya bumijo.id)
 * VARIABEL: ubah ukuran/warna di sini
 * ========================================================= */
.shop-page{
	--so-sb-lebar: 290px;                          /* lebar sidebar kiri */
	--so-sb-garis: #e6e7ea;
	--so-sb-merah: var(--rwot-main-color, #e31e24);
	--so-sb-teks: #414346;
}

@media (min-width: 992px){
	body.archive .shop-page{ gap: 32px; }

	/* Sidebar mulai sejajar bagian atas banner */
	.shop-page #sidebar.widget-area-sidebar{
		flex: 0 0 var(--so-sb-lebar);
		width: var(--so-sb-lebar) !important;
		margin-top: 0 !important;
		padding: var(--padding-large, 24px) 0 var(--padding-large, 24px) !important;
		border-radius: 0;
	}

	/* Setiap widget = kotak putih */
	.shop-page #sidebar.widget-area-sidebar aside{
		margin: 0 0 20px !important;
		padding: 0 20px 20px !important;
		border: 1px solid var(--so-sb-garis) !important;
		border-radius: 12px;
		background: #fff;
		box-shadow: 0 2px 10px rgba(0,0,0,.04);
	}
	.shop-page #sidebar.widget-area-sidebar aside:last-child{
		margin-bottom: 0 !important;
		padding-bottom: 20px !important;
	}
	/* Judul kotak: "Kategori", "Filter by Price", dst. */
	.shop-page #sidebar.widget-area-sidebar aside > .widget-title,
	.shop-page #sidebar.widget-area-sidebar aside > h2:first-child,
	.shop-page #sidebar.widget-area-sidebar aside > h3:first-child,
	.shop-page #sidebar.widget-area-sidebar aside .wp-block-heading:first-child{
		margin: 0 -20px 16px !important;
		padding: 16px 20px 14px !important;
		border-bottom: 1px solid var(--so-sb-garis);
		font-size: 18px !important;
		font-weight: 700 !important;
		line-height: 1.3;
		color: #1f2122;
	}
}

/* Laptop kecil: sidebar sedikit lebih ramping */
@media (min-width: 992px) and (max-width: 1199.98px){
	.shop-page{ --so-sb-lebar: 250px; }
	body.archive .shop-page{ gap: 24px; }
}

