/* Offcanvas widget — structural styles. Colors/typography/spacing come from
   the widget's style controls (compiled per-instance). */
.ractro-oc-wrap {
	position: relative;
	width: 100%;
}

.ractro-oc-trigger {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border: 0;
	cursor: pointer;
	background: #1a1a1a;
	color: #fff;
	padding: 12px 24px;
	font: inherit;
	line-height: 1;
}

.ractro-oc-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.ractro-oc-icon svg {
	width: 1.2em;
	height: 1.2em;
	display: block;
}

.ractro-oc-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s;
	z-index: 99998;
}

.ractro-oc-panel {
	position: fixed;
	top: 0;
	bottom: 0;
	width: 350px;
	max-width: 90vw;
	background: #ffffff;
	box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
	z-index: 99999;
	overflow-y: auto;
	transition: transform 0.4s ease;
}

.ractro-oc-panel.ractro-oc-dir-right {
	right: 0;
	transform: translateX(100%);
}

.ractro-oc-panel.ractro-oc-dir-left {
	left: 0;
	transform: translateX(-100%);
}

.ractro-oc-wrap.is-open .ractro-oc-overlay {
	opacity: 1;
	visibility: visible;
}

.ractro-oc-wrap.is-open .ractro-oc-panel {
	transform: translateX(0);
}

.ractro-oc-close {
	position: absolute;
	top: 15px;
	right: 20px;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: #333;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.25s ease, background-color 0.2s ease;
}

.ractro-oc-content {
	padding: 40px;
}

.ractro-oc-notice {
	padding: 24px;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	text-align: center;
	color: #94a3b8;
	font-size: 13px;
}

body.ractro-oc-lock {
	overflow: hidden;
}
