/* Login XB storefront — bundled styles for the [loginxb_product] shortcode.
   Self-contained, responsive, no external assets. Uses inherited theme
   fonts and a small set of variables so it sits comfortably in light
   and dark themes. */

.loginxb-store {
	--nx-accent: #3b6fe0;
	--nx-accent-dark: #2f5cc0;
	--nx-border: rgba(127, 140, 160, 0.35);
	--nx-card-bg: rgba(127, 140, 160, 0.07);
	--nx-muted: #6b7686;
	max-width: 1080px;
	margin: 0 auto;
	padding: 8px 4px 24px;
	line-height: 1.55;
	box-sizing: border-box;
}

.loginxb-store *, .loginxb-store *::before, .loginxb-store *::after { box-sizing: inherit; }

/* Hero */
.loginxb-hero { text-align: center; padding: 32px 12px 8px; }
.loginxb-hero-title { font-size: 2.4rem; line-height: 1.15; margin: 0 0 10px; }
.loginxb-hero-tagline { font-size: 1.2rem; color: var(--nx-muted); margin: 0 0 14px; }
.loginxb-hero-desc { max-width: 720px; margin: 0 auto 10px; }
.loginxb-hero-actions { margin-top: 14px; }

/* Buttons */
.loginxb-btn {
	display: inline-block;
	padding: 10px 22px;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.loginxb-btn-primary { background: var(--nx-accent); color: #fff; }
.loginxb-btn-primary:hover, .loginxb-btn-primary:focus { background: var(--nx-accent-dark); color: #fff; }
.loginxb-btn-secondary { background: transparent; color: inherit; border-color: var(--nx-border); }
.loginxb-btn-secondary:hover, .loginxb-btn-secondary:focus { border-color: var(--nx-accent); color: inherit; }
.loginxb-btn:focus-visible { outline: 2px solid var(--nx-accent); outline-offset: 2px; }

/* Screenshots */
.loginxb-shots {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	margin: 26px 0 6px;
}
.loginxb-shot { margin: 0; }
.loginxb-shot img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 10px;
	border: 1px solid var(--nx-border);
}

/* Features */
.loginxb-features { margin: 30px 0 6px; }
.loginxb-features h2, .loginxb-pricing h2 { text-align: center; margin-bottom: 14px; }
.loginxb-features ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 10px 22px;
}
.loginxb-features li { padding-left: 26px; position: relative; }
.loginxb-features li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--nx-accent);
	font-weight: 700;
}

/* Pricing */
.loginxb-pricing { margin: 34px 0 6px; }
.loginxb-pricing-note { text-align: center; color: var(--nx-muted); max-width: 680px; margin: 0 auto 20px; }
.loginxb-plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 14px;
}
.loginxb-plan {
	background: var(--nx-card-bg);
	border: 1px solid var(--nx-border);
	border-radius: 12px;
	padding: 18px 14px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}
.loginxb-plan-name { margin: 0; font-size: 1.05rem; }
.loginxb-plan-code { margin: 0; color: var(--nx-muted); font-size: 0.8rem; letter-spacing: 0.06em; }
.loginxb-plan-price { margin: 6px 0 10px; font-size: 1.5rem; font-weight: 700; }
.loginxb-plan .loginxb-btn { margin-top: auto; width: 100%; text-align: center; }
.loginxb-plan-notice { margin: auto 0 0; font-size: 0.85rem; color: var(--nx-muted); }

/* Footer */
.loginxb-store-foot {
	margin-top: 30px;
	text-align: center;
	color: var(--nx-muted);
	font-size: 0.92rem;
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 560px) {
	.loginxb-hero-title { font-size: 1.8rem; }
	.loginxb-hero-tagline { font-size: 1.05rem; }
	.loginxb-plans { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}
