/* SiteOrigin Premium Demo Grid
 *
 * Tokens follow the Claude Design handoff (Corp-derived): accent #f14e4e,
 * text #2d2d2d/#626262/#929292, borders #e6e6e6/#d6d6d6, page bg #f9f9f9,
 * radii 6/8/10, transitions .3s. The intro band and grid section break out
 * of the theme's content column to render full width.
 */

.sopdg {
	font-size: 15px;
}

/* Full-width breakout bands inside Corp's boxed content column. */
.sopdg-intro,
.sopdg-addons,
.sopdg-contact {
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	position: relative;
	right: 50%;
	width: 100vw;
}

/* ─── Intro band ─────────────────────────────────────────────────────────── */

.sopdg-intro {
	background: #fff;
	border-bottom: 1px solid #e6e6e6;
}

.sopdg-intro-inner {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	margin: 0 auto;
	max-width: 780px;
	padding: 64px 28px 52px;
	text-align: center;
}

.sopdg-eyebrow {
	color: #f14e4e;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	margin: 0;
	text-transform: uppercase;
}

.sopdg-heading {
	color: #2d2d2d;
	font-family: "Montserrat", sans-serif;
	font-size: 34px;
	font-weight: 600;
	line-height: 1.25;
	margin: 14px 0 0;
	padding: 0;
	text-wrap: balance;
}

.sopdg-lede {
	color: #626262;
	font-size: 15px;
	line-height: 1.7333;
	margin: 14px 0 0;
	max-width: 620px;
	text-wrap: pretty;
}

.sopdg-lede a {
	color: #f14e4e;
	font-weight: 600;
	text-decoration: none;
}

.sopdg-lede a:hover {
	color: rgba(241, 78, 78, 0.85);
}

.sopdg-stats {
	align-items: center;
	color: #929292;
	display: flex;
	flex-wrap: wrap;
	font-size: 13px;
	gap: 10px 14px;
	justify-content: center;
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
}

.sopdg-stats li {
	align-items: center;
	display: flex;
	gap: 14px;
	margin: 0;
}

.sopdg-stats li + li::before {
	background: #d6d6d6;
	border-radius: 50%;
	content: "";
	display: inline-block;
	height: 3px;
	width: 3px;
}

.sopdg-stats strong {
	color: #2d2d2d;
	font-weight: 700;
}

/* ─── Search ─────────────────────────────────────────────────────────────── */

.sopdg-search {
	margin-top: 32px;
	max-width: 560px;
	position: relative;
	width: 100%;
}

.sopdg-search input[type="search"] {
	background: #fff;
	border: 1px solid #d6d6d6;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(45, 45, 45, 0.06);
	box-sizing: border-box;
	color: #2d2d2d;
	font-size: 15px;
	padding: 14px 44px 14px 42px;
	transition: border-color 0.3s;
	width: 100%;
}

.sopdg-search input[type="search"]::placeholder {
	color: #929292;
}

.sopdg-search input[type="search"]:focus {
	border-color: #f14e4e;
	outline: none;
}

.sopdg-search-icon {
	color: #626262;
	height: 15px;
	left: 16px;
	opacity: 0.5;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 15px;
}

.sopdg-kbd {
	background: #f9f9f9;
	border: 1px solid #e6e6e6;
	border-radius: 4px;
	color: #767676;
	font-size: 11px;
	font-weight: 600;
	padding: 1px 7px;
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
}

/* ─── Filter chips ───────────────────────────────────────────────────────── */

.sopdg-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 14px;
}

.sopdg-chip {
	background: #fff;
	border: 1px solid #d6d6d6;
	border-radius: 999px;
	color: #626262;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	padding: 9px 16px;
	text-transform: none;
	transition: all 0.3s;
}

/* Backgrounds are pinned on every chip state — Corp styles `button:hover`
 * globally with its own red background, which must not bleed in here. */
.sopdg-chip:hover {
	background: #fff;
	border-color: #f14e4e;
	color: #f14e4e;
}

.sopdg-chip.is-active,
.sopdg-chip.is-active:hover {
	background: #f14e4e;
	border-color: #f14e4e;
	box-shadow: 0 3px 8px rgba(241, 78, 78, 0.25);
	color: #fff;
}

/* ─── Card grid section ──────────────────────────────────────────────────── */

.sopdg-addons {
	background: #f9f9f9;
}

.sopdg-addons-inner {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 1200px;
	padding: 40px 28px 72px;
}

.sopdg-count {
	color: #6f6f6f;
	font-size: 13px;
	font-weight: 600;
	margin: 0 0 18px;
	text-align: center;
}

.sopdg-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
	margin-top: 20px;
}

.sopdg-card {
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(45, 45, 45, 0.05);
	box-sizing: border-box;
	color: inherit;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.sopdg-card:hover,
.sopdg-card:focus-visible {
	border-color: #d6d6d6;
	box-shadow: 0 14px 28px rgba(45, 45, 45, 0.12);
	color: inherit;
	text-decoration: none;
	transform: translateY(-3px);
}

.sopdg-card:focus-visible {
	outline: 2px solid #f14e4e;
	outline-offset: 2px;
}

/* Full-bleed addon banner artwork. */
.sopdg-card-banner {
	background: linear-gradient(180deg, #f5fafd, #e9f2f9);
	border-bottom: 1px solid #e6e6e6;
	display: block;
	height: 116px;
	overflow: hidden;
	position: relative;
}

/* The whole artwork stays visible; the box extends the art's own
 * background color (inline, extracted from the SVG) to full bleed. */
.sopdg-card-banner img {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.sopdg-card-monogram {
	align-items: center;
	background: linear-gradient(160deg, #3ba0dd, #1f78b8);
	border-radius: 12px;
	box-shadow: 0 5px 12px rgba(31, 120, 184, 0.25);
	color: #fff;
	display: flex;
	font-family: "Montserrat", sans-serif;
	font-size: 18px;
	font-weight: 700;
	height: 56px;
	justify-content: center;
	left: 50%;
	letter-spacing: 0.04em;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 56px;
}

.sopdg-live {
	align-items: center;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(241, 78, 78, 0.25);
	border-radius: 999px;
	color: #d63c3f;
	display: flex;
	font-size: 9.5px;
	font-weight: 700;
	gap: 5px;
	letter-spacing: 1px;
	padding: 2px 9px;
	position: absolute;
	right: 10px;
	top: 10px;
}

.sopdg-live-dot {
	background: #f14e4e;
	border-radius: 50%;
	display: inline-block;
	height: 5px;
	width: 5px;
}

.sopdg-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px 20px 16px;
}

.sopdg-card-name {
	color: #2d2d2d;
	font-family: "Montserrat", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

.sopdg-card-desc {
	color: #626262;
	flex: 1;
	font-size: 13px;
	line-height: 1.65;
	margin-top: 7px;
	text-wrap: pretty;
}

.sopdg-card-link {
	align-items: center;
	display: flex;
	font-size: 13px;
	font-weight: 700;
	gap: 6px;
	margin-top: 16px;
}

.sopdg-card-arrow {
	font-size: 14px;
}

.sopdg-link-demo {
	color: #f14e4e;
}

/* AA contrast ~5.9:1 on white — do not lighten. */
.sopdg-link-docs {
	color: #626262;
}

.sopdg-card[hidden] {
	display: none;
}

/* ─── Empty state ────────────────────────────────────────────────────────── */

.sopdg-empty {
	background: #fff;
	border: 1px dashed #d6d6d6;
	border-radius: 10px;
	margin-top: 20px;
	padding: 48px 24px;
	text-align: center;
}

.sopdg-empty-title {
	color: #2d2d2d;
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
	font-weight: 600;
	margin: 0;
}

.sopdg-empty-sub {
	color: #929292;
	font-size: 14px;
	margin: 8px 0 0;
}

.sopdg-empty-clear {
	background: #f14e4e;
	border: 0;
	border-radius: 6px;
	box-shadow: 0 3px 8px rgba(241, 78, 78, 0.28);
	color: #fff;
	cursor: pointer;
	font-size: 13.5px;
	font-weight: 600;
	margin-top: 20px;
	padding: 11px 20px;
	text-transform: none;
	transition: background 0.3s;
}

.sopdg-empty-clear:hover {
	background: rgba(241, 78, 78, 0.85);
}

/* ─── Pre-sale contact strip ─────────────────────────────────────────────── */

.sopdg-contact {
	background: #363a43;
}

.sopdg-contact-inner {
	box-sizing: border-box;
	color: #b4b5b8;
	font-size: 14px;
	margin: 0 auto;
	max-width: 1200px;
	padding: 44px 28px;
	text-align: center;
}

.sopdg-contact-inner a {
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.3s;
}

.sopdg-contact-inner a:hover {
	color: #b4b5b8;
}

/* ─── Header menu button (design-handoff treatment for Corp's menu) ──────── */

#site-navigation.main-navigation ul .menu-button a {
	background: #f14e4e;
	border-radius: 6px;
	box-shadow: 0 3px 8px rgba(241, 78, 78, 0.28);
	color: #fff;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: normal;
	padding: 11px 20px;
	text-transform: none;
	transition: background 0.3s;
}

#site-navigation.main-navigation ul .menu-button a:hover {
	background: rgba(241, 78, 78, 0.85);
	color: #fff;
}

/* ─── Motion preferences ─────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
	.sopdg-card,
	.sopdg-chip,
	.sopdg-empty-clear,
	.sopdg-search input[type="search"] {
		transition: none;
	}

	.sopdg-card:hover,
	.sopdg-card:focus-visible {
		transform: none;
	}
}
