/* Stormhill Simple Popup 1.0.0: structure only. The look (colours, fonts, layout of your HTML) goes in
   Settings → Simple Popup → "Custom CSS". Nothing here locks page scrolling. */

.shsp-overlay {
	position: fixed; inset: 0; z-index: 999999;
	display: flex; align-items: center; justify-content: center;
	padding: 16px; box-sizing: border-box;
	background: rgba(0, 0, 0, .55);
	opacity: 0; transition: opacity .2s ease;
}
.shsp-overlay.shsp-visible { opacity: 1; }
.shsp-dialog {
	position: relative; width: 100%; max-width: 760px; max-height: calc(100vh - 32px); overflow: auto;
	transform: scale(.92); transition: transform .2s ease;
	box-sizing: border-box;
}
.shsp-overlay.shsp-visible .shsp-dialog { transform: scale(1); }
.shsp-close {
	position: absolute; top: 6px; right: 6px; z-index: 2;
	width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
	background: #fff; color: #333; font-size: 28px; line-height: 40px; cursor: pointer;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}
.shsp-close:hover, .shsp-close:focus { background: #eee; color: #000; }
.shsp-content { box-sizing: border-box; }

/* Starter look for the generic default HTML (overridden by Custom CSS). */
.shsp-card { background: #fff; border-radius: 16px; padding: 32px; box-sizing: border-box; }
.shsp-title { margin: 0 0 12px; font-size: 32px; line-height: 1.15; }
.shsp-cta { text-align: center; margin: 20px 0; }
.shsp-button {
	display: inline-block; padding: 16px 24px; border-radius: 16px;
	background: #e91111; color: #fff !important; font-weight: bold; text-decoration: none !important;
}
.shsp-button:hover, .shsp-button:focus { background: #1372d3; }

/* Ribbon */
.shsp-ribbon {
	position: fixed; top: 0; left: 0; right: 0; z-index: 999998;
	display: flex; align-items: center; justify-content: center; gap: 12px;
	padding: 12px 56px 12px 16px; box-sizing: border-box;
	background: #1d4e75; color: #fff; text-align: center;
	transform: translateY(-110%); transition: transform .3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.shsp-ribbon.shsp-visible { transform: translateY(0); }
body.admin-bar .shsp-ribbon { top: 32px; }
@media (max-width: 782px) { body.admin-bar .shsp-ribbon { top: 46px; } }
.shsp-ribbon-inner { line-height: 1.4; }
.shsp-ribbon-inner a { color: inherit; }
.shsp-ribbon-button {
	display: inline-block; margin-left: 8px; padding: 6px 14px; border-radius: 12px;
	background: #e91111; color: #fff !important; text-decoration: none !important; font-weight: bold;
}
.shsp-ribbon-close {
	position: absolute; top: 50%; right: 10px; transform: translateY(-50%);
	width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%;
	background: transparent; color: inherit; font-size: 26px; line-height: 34px; cursor: pointer;
}
.shsp-ribbon-close:hover, .shsp-ribbon-close:focus { background: rgba(255, 255, 255, .15); }

@media (prefers-reduced-motion: reduce) {
	.shsp-overlay, .shsp-dialog, .shsp-ribbon { transition: none; }
}
