#rfs-ecatalog-widget {
	position: fixed;
	top: 0;
	bottom: 0;
	z-index: 9999;
	font-family: Helvetica, Arial, sans-serif;
	pointer-events: none;
}

.rfs-ecatalog-right {
	right: 0;
}

.rfs-ecatalog-left {
	left: 0;
}

#rfs-ecatalog-tab {
	position: fixed;
	background: #005cb9;
	color: #fff;
	border: none;
	padding: 18px 10px;
	font-size: 13px;
	font-weight: bold;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	writing-mode: vertical-rl;
	text-orientation: mixed;
	letter-spacing: 0.5px;
	transition: right 0.25s ease, left 0.25s ease;
	pointer-events: auto;
	z-index: 2;
}

.rfs-ecatalog-right #rfs-ecatalog-tab {
	right: 0;
	border-radius: 6px 0 0 6px;
}

.rfs-ecatalog-left #rfs-ecatalog-tab {
	left: 0;
	border-radius: 0 6px 6px 0;
}

.rfs-ecatalog-right.is-open #rfs-ecatalog-tab {
	right: 20%;
}

.rfs-ecatalog-left.is-open #rfs-ecatalog-tab {
	left: 20%;
}

#rfs-ecatalog-panel {
	position: fixed;
	top: 0;
	bottom: 0;
	background: #fff;
	padding: 16px;
	width: 20%;
	overflow-y: auto;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
	font-size: 13px;
	transition: transform 0.25s ease;
	pointer-events: auto;
}

.rfs-ecatalog-right #rfs-ecatalog-panel {
	right: 0;
	border-left: 1px solid #ddd;
	transform: translateX(100%);
}

.rfs-ecatalog-left #rfs-ecatalog-panel {
	left: 0;
	border-right: 1px solid #ddd;
	transform: translateX(-100%);
}

.is-open #rfs-ecatalog-panel {
	transform: translateX(0);
}

#rfs-ecatalog-panel p {
	margin: 0 0 10px;
}

.rfs-ecatalog-item {
	padding: 10px 12px;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	margin-bottom: 8px;
	background: #fafafa;
}

.rfs-ecatalog-item:last-child {
	margin-bottom: 0;
}

.rfs-ecatalog-item-title {
	font-weight: bold;
	margin-bottom: 4px;
}

.rfs-ecatalog-item-desc {
	color: #555;
	font-size: 11px;
	line-height: 1.4;
	margin-bottom: 6px;
}

.rfs-ecatalog-item a {
	color: #005cb9;
	text-decoration: none;
	font-size: 11px;
}

.rfs-ecatalog-item a:hover {
	text-decoration: underline;
}

.rfs-ecatalog-empty {
	color: #888;
	font-style: italic;
}

#rfs-ecatalog-panel button {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 8px;
	cursor: pointer;
	font-size: 12px;
	border: 1px solid #ccc;
	background: #f5f5f5;
}

#rfs-ecatalog-panel button[data-ecatalog-download] {
	background: #005cb9;
	color: #fff;
	border-color: #005cb9;
}
