/* Scope the correction to notifications; the cart keeps its own drawer layout. */
html body .sc-notif-offcanvas .sc-notif-panel {
	bottom: auto;
	width: 360px;
	max-width: calc(100vw - 24px);
	max-height: calc(100dvh - 32px);
	margin: 12px;
	top: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 16px;
	background: var(--pt-surface, #fff) !important;
	color: var(--pt-text, #253b49);
	border: 1px solid var(--pt-border, #e5edf0);
}
html body.admin-bar .sc-notif-offcanvas .sc-notif-panel {
	top: 32px;
	margin-top: 12px;
	max-height: calc(100dvh - 64px);
}
html body .sc-notif-panel .sc-notif-header {
	padding: 16px 20px;
	gap: 16px;
	flex-shrink: 0;
	border-color: var(--pt-border, #e5edf0);
}
html body .sc-notif-panel .sc-notif-title {
	color: var(--pt-text-strong, #253b49);
	font-size: 17px;
	font-weight: 700;
}
html body .sc-notif-panel button.sc-notif-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	width: 40px;
	min-width: 40px;
	height: 40px;
	padding: 0 !important;
	margin: 0;
	line-height: 1;
	border: 1px solid var(--pt-border, #e5edf0) !important;
	border-radius: 10px;
	background: var(--pt-surface-soft, #f3f7f8) !important;
	color: var(--pt-text, #253b49) !important;
	box-shadow: none !important;
	font-size: 24px;
}
html body .sc-notif-panel button.sc-notif-close:hover {
	background: var(--pt-accent, #f4ac64) !important;
	color: var(--pt-on-accent, #253b49) !important;
}
html body .sc-notif-panel button.sc-notif-close:focus-visible {
	outline: 2px solid var(--pt-accent, #f4ac64);
	outline-offset: 2px;
}
html body .sc-notif-panel .sc-notif-body {
	height: auto;
	min-height: 0;
	padding: 16px 20px;
	overflow-y: auto;
	overscroll-behavior: contain;
}
html body .sc-notif-panel .studi_notification_content {
	height: auto;
	margin: 0;
	gap: 20px;
	justify-content: flex-start;
}
html body .sc-notif-panel ul.sc_notifs_holder {
	margin: 0;
	padding: 0;
}
html body .sc-notif-panel ul.sc_notifs_holder li {
	margin: 0 0 12px;
	padding: 14px 16px;
	border-radius: 10px;
	background: var(--pt-surface-soft, #f3f7f8);
}
html body .sc-notif-panel .sc_notif_subtitle {
	white-space: normal;
	line-height: 1.9;
}
html body .sc-notif-panel .studi_empty_notif {
	padding: 20px 0;
	color: var(--pt-muted, #526b7a);
	text-align: center;
}
html body .sc-notif-panel .studi_empty_notif_img {
	width: 96px;
	max-width: 100%;
	margin: 0 auto 16px;
}
@media (max-width: 782px) {
	html body.admin-bar .sc-notif-offcanvas .sc-notif-panel {
		top: 46px;
		max-height: calc(100dvh - 78px);
	}
}
