/*
Theme Name: WPMinions
Theme URI: https://wpminions.com/
Author: WPMinions
Author URI: https://wpminions.com/
Description: Organization theme for WPMinions, a WordPress software agency building plugins, themes, stores, and custom services.
Version: 1.2.1
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpminions
Tags: custom-logo, one-column, accessibility-ready, responsive-layout, custom-menu
*/

:root {
	--wpm-ink: #14201e;
	--wpm-muted: #65706d;
	--wpm-line: #dce4df;
	--wpm-surface: #ffffff;
	--wpm-soft: #edf7f2;
	--wpm-soft-2: #f8f1df;
	--wpm-brand: #128069;
	--wpm-brand-dark: #0c604f;
	--wpm-accent: #d8523f;
	--wpm-blue: #285d8f;
	--wpm-gold: #c6982c;
	--wpm-radius: 8px;
	--wpm-shadow: 0 24px 70px rgba(20, 32, 30, 0.11);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: #fbfcfb;
	color: var(--wpm-ink);
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.65;
}

a {
	color: var(--wpm-brand-dark);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

img {
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.wpminions-site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.wpm-container {
	width: min(1120px, calc(100% - 40px));
	margin-inline: auto;
}

.wpm-header {
	position: sticky;
	top: 0;
	z-index: 30;
	border-bottom: 1px solid rgba(220, 229, 232, 0.85);
	background: rgba(251, 252, 251, 0.94);
	backdrop-filter: blur(14px);
}

.wpm-header__inner {
	min-height: 78px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.wpm-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--wpm-ink);
	font-weight: 800;
	font-size: 1.08rem;
	letter-spacing: 0;
	text-decoration: none;
}

.wpm-brand a {
	color: inherit;
	text-decoration: none;
}

.wpm-brand .custom-logo {
	display: block;
	max-width: 180px;
	max-height: 42px;
	width: auto;
	height: auto;
}

.wpm-brand__mark {
	width: 38px;
	height: 38px;
	display: inline-grid;
	place-items: center;
	border-radius: 8px;
	background: var(--wpm-ink);
	color: #ffffff;
	font-size: 0.82rem;
	font-weight: 900;
}

.wpm-brand__name {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
}

.wpm-nav {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wpm-nav li {
	position: relative;
}

.wpm-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 12px;
	border-radius: 8px;
	color: var(--wpm-ink);
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
}

.wpm-nav .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 40;
	display: grid;
	min-width: 220px;
	gap: 4px;
	margin: 0;
	padding: 8px;
	border: 1px solid var(--wpm-line);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 18px 48px rgba(20, 32, 30, 0.12);
	list-style: none;
	opacity: 0;
	pointer-events: none;
	transform: translateY(4px);
	transition: opacity 0.16s ease, transform 0.16s ease;
}

.wpm-nav .sub-menu .sub-menu {
	top: -8px;
	left: calc(100% + 8px);
}

.wpm-nav li:hover > .sub-menu,
.wpm-nav li:focus-within > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.wpm-nav .sub-menu a {
	width: 100%;
	justify-content: space-between;
	white-space: nowrap;
}

.wpm-nav a:hover,
.wpm-nav .current-menu-item > a {
	background: var(--wpm-soft);
	color: var(--wpm-brand-dark);
}

.wpm-main {
	flex: 1;
}

.wpm-hero {
	position: relative;
	overflow: hidden;
	padding: 92px 0 76px;
	background:
		linear-gradient(135deg, rgba(238, 246, 245, 0.94), rgba(246, 243, 234, 0.76)),
		linear-gradient(180deg, #ffffff, #f7fbfa);
}

.wpm-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
	align-items: center;
	gap: 56px;
}

.wpm-kicker {
	margin: 0 0 14px;
	color: var(--wpm-brand-dark);
	font-size: 0.82rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.wpm-hero h1,
.wpm-page-hero h1 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(3rem, 8vw, 6.5rem);
	line-height: 0.94;
	letter-spacing: 0;
}

.wpm-hero__lead,
.wpm-page-hero__lead {
	max-width: 690px;
	margin: 24px 0 0;
	color: var(--wpm-muted);
	font-size: clamp(1.08rem, 2vw, 1.35rem);
	line-height: 1.55;
}

.wpm-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.wpm-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 11px 18px;
	border: 1px solid var(--wpm-line);
	border-radius: 8px;
	background: #ffffff;
	color: var(--wpm-ink);
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(16, 33, 40, 0.06);
}

.wpm-button:hover {
	border-color: var(--wpm-brand);
	color: var(--wpm-brand-dark);
}

.wpm-button--primary {
	border-color: var(--wpm-brand);
	background: var(--wpm-brand);
	color: #ffffff;
}

.wpm-button--primary:hover {
	background: var(--wpm-brand-dark);
	color: #ffffff;
}

.wpm-product-panel {
	padding: 18px;
	border: 1px solid rgba(220, 229, 232, 0.88);
	border-radius: var(--wpm-radius);
	background: rgba(255, 255, 255, 0.78);
	box-shadow: var(--wpm-shadow);
}

.wpm-dashboard {
	overflow: hidden;
	border: 1px solid var(--wpm-line);
	border-radius: var(--wpm-radius);
	background: #ffffff;
}

.wpm-dashboard__bar {
	height: 48px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 16px;
	border-bottom: 1px solid var(--wpm-line);
	background: #f7faf9;
}

.wpm-dot {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: var(--wpm-accent);
}

.wpm-dot:nth-child(2) {
	background: #e5b847;
}

.wpm-dot:nth-child(3) {
	background: var(--wpm-brand);
}

.wpm-dashboard__body {
	display: grid;
	grid-template-columns: 0.42fr 1fr;
	min-height: 310px;
}

.wpm-dashboard__rail {
	padding: 18px;
	border-right: 1px solid var(--wpm-line);
	background: #f8fbfa;
}

.wpm-rail-line,
.wpm-card-line {
	display: block;
	height: 10px;
	margin-bottom: 12px;
	border-radius: 99px;
	background: #d9e8e5;
}

.wpm-rail-line:nth-child(1) {
	width: 80%;
	background: var(--wpm-brand);
}

.wpm-rail-line:nth-child(2) {
	width: 62%;
}

.wpm-rail-line:nth-child(3) {
	width: 74%;
}

.wpm-dashboard__content {
	padding: 20px;
}

.wpm-mini-card {
	padding: 16px;
	margin-bottom: 14px;
	border: 1px solid var(--wpm-line);
	border-radius: 8px;
	background: #ffffff;
}

.wpm-mini-card strong {
	display: block;
	margin-bottom: 8px;
}

.wpm-card-line {
	width: 100%;
	background: #edf2f1;
}

.wpm-card-line.short {
	width: 58%;
}

.wpm-band {
	padding: 72px 0;
}

.wpm-band--white {
	background: #ffffff;
}

.wpm-section-heading {
	max-width: 720px;
	margin-bottom: 32px;
}

.wpm-section-heading h2 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.2rem);
	line-height: 1.05;
	letter-spacing: 0;
}

.wpm-section-heading p {
	margin: 14px 0 0;
	color: var(--wpm-muted);
}

.wpm-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.wpm-card {
	min-height: 100%;
	padding: 24px;
	border: 1px solid var(--wpm-line);
	border-radius: var(--wpm-radius);
	background: var(--wpm-surface);
	box-shadow: 0 16px 45px rgba(16, 33, 40, 0.06);
}

.wpm-card h3 {
	margin: 0 0 10px;
	font-size: 1.25rem;
	line-height: 1.25;
}

.wpm-card p {
	margin: 0;
	color: var(--wpm-muted);
}

.wpm-card--link {
	display: block;
	color: inherit;
	text-decoration: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.wpm-card--link:hover {
	border-color: rgba(18, 128, 105, 0.38);
	color: inherit;
	box-shadow: 0 20px 55px rgba(20, 32, 30, 0.1);
	transform: translateY(-2px);
}

.wpm-product-row {
	display: grid;
	grid-template-columns: 0.72fr 1fr;
	gap: 36px;
	align-items: center;
	padding: 32px;
	border: 1px solid var(--wpm-line);
	border-radius: var(--wpm-radius);
	background: var(--wpm-soft);
}

.wpm-product-row h2 {
	margin: 0 0 14px;
	font-size: clamp(2rem, 4vw, 3.4rem);
	line-height: 1.03;
}

.wpm-feature-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.wpm-feature-list li {
	padding: 12px 14px;
	border: 1px solid rgba(0, 154, 136, 0.22);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.72);
	font-weight: 750;
}

.wpm-page-hero {
	padding: 70px 0 56px;
	background: linear-gradient(135deg, var(--wpm-soft), #ffffff 64%, var(--wpm-soft-2));
}

.wpm-content {
	width: min(860px, calc(100% - 40px));
	margin: 0 auto;
	padding: 56px 0 80px;
}

.wpm-content > *:first-child {
	margin-top: 0;
}

.wpm-content h1,
.wpm-content h2,
.wpm-content h3 {
	line-height: 1.15;
	letter-spacing: 0;
}

.wpm-content h1 {
	font-size: clamp(2.3rem, 5vw, 4rem);
}

.wpm-content h2 {
	margin-top: 42px;
	font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.wpm-event-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.52fr);
	gap: 34px;
	align-items: start;
}

.wpm-event-sidebar {
	position: sticky;
	top: 104px;
	padding: 22px;
	border: 1px solid var(--wpm-line);
	border-radius: var(--wpm-radius);
	background: #ffffff;
	box-shadow: 0 16px 45px rgba(16, 33, 40, 0.06);
}

.wpm-stat-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 28px;
}

.wpm-stat {
	padding: 18px;
	border: 1px solid var(--wpm-line);
	border-radius: var(--wpm-radius);
	background: #ffffff;
}

.wpm-stat strong {
	display: block;
	font-size: 1.75rem;
	line-height: 1;
}

.wpm-stat span {
	display: block;
	margin-top: 8px;
	color: var(--wpm-muted);
	font-size: 0.95rem;
}

.wpm-footer {
	padding: 34px 0;
	border-top: 1px solid var(--wpm-line);
	background: #102128;
	color: rgba(255, 255, 255, 0.78);
}

.wpm-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.wpm-footer a {
	color: #ffffff;
}

.wpm-studio-board {
	overflow: hidden;
	border: 1px solid rgba(220, 228, 223, 0.95);
	border-radius: var(--wpm-radius);
	background: #ffffff;
	box-shadow: var(--wpm-shadow);
}

.wpm-studio-board__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 56px;
	padding: 0 18px;
	border-bottom: 1px solid var(--wpm-line);
	background: #f8fbf7;
	font-weight: 900;
}

.wpm-studio-board__header strong {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: var(--wpm-ink);
	color: #ffffff;
	font-size: 0.82rem;
}

.wpm-studio-board__grid {
	display: grid;
	gap: 14px;
	padding: 18px;
}

.wpm-studio-item {
	position: relative;
	display: grid;
	gap: 4px;
	padding: 18px;
	border: 1px solid var(--wpm-line);
	border-radius: 8px;
	background: #ffffff;
}

.wpm-studio-item::before {
	content: "";
	position: absolute;
	inset: 14px auto 14px 0;
	width: 4px;
	border-radius: 99px;
	background: var(--wpm-blue);
}

.wpm-studio-item--active::before {
	background: var(--wpm-accent);
}

.wpm-studio-item span {
	color: var(--wpm-muted);
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
}

.wpm-studio-item strong {
	font-size: 1.08rem;
	line-height: 1.25;
}

.wpm-studio-item small {
	color: var(--wpm-muted);
	font-size: 0.92rem;
}

.wpm-band--dark {
	background: var(--wpm-ink);
	color: #ffffff;
}

.wpm-band--dark .wpm-access-form,
.wpm-band--dark .wpm-access-alert {
	color: var(--wpm-ink);
}

.wpm-access-form {
	display: grid;
	grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
	gap: 28px;
	align-items: center;
	padding: 28px;
	border: 1px solid rgba(220, 228, 223, 0.92);
	border-radius: var(--wpm-radius);
	background: #ffffff;
	box-shadow: 0 18px 48px rgba(20, 32, 30, 0.12);
}

.wpm-access-form__copy h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 4vw, 3.2rem);
	line-height: 1.04;
	letter-spacing: 0;
}

.wpm-access-form__copy p {
	margin: 12px 0 0;
	color: var(--wpm-muted);
}

.wpm-access-form__fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr) auto;
	gap: 10px;
}

.wpm-access-form input {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--wpm-line);
	border-radius: 8px;
	background: #fbfcfb;
	color: var(--wpm-ink);
	font: inherit;
}

.wpm-access-form input:focus {
	outline: 3px solid rgba(18, 128, 105, 0.18);
	border-color: var(--wpm-brand);
}

.wpm-access-alert {
	margin: 0 0 18px;
	padding: 14px 16px;
	border: 1px solid rgba(18, 128, 105, 0.25);
	border-radius: var(--wpm-radius);
	background: #edf7f2;
	color: var(--wpm-ink);
	font-weight: 800;
}

.wpm-access-alert--error {
	border-color: rgba(216, 82, 63, 0.3);
	background: #fff1ee;
}

.wpm-access-page {
	max-width: 980px;
}

.wpm-claim-result {
	padding: 32px;
	border: 1px solid var(--wpm-line);
	border-radius: var(--wpm-radius);
	background: #ffffff;
	box-shadow: 0 18px 48px rgba(20, 32, 30, 0.08);
}

.wpm-claim-result h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 4vw, 3.2rem);
	line-height: 1.05;
	letter-spacing: 0;
}

.wpm-claim-result p:not(.wpm-kicker) {
	max-width: 660px;
	color: var(--wpm-muted);
}

.wpm-product-grid {
	display: grid;
	gap: 22px;
}

.wpm-solution-card {
	display: grid;
	grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
	gap: 28px;
	align-items: stretch;
	padding: 22px;
	border: 1px solid var(--wpm-line);
	border-radius: var(--wpm-radius);
	background: #ffffff;
	box-shadow: 0 16px 45px rgba(20, 32, 30, 0.06);
}

.wpm-solution-card h2 {
	margin: 0 0 12px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.8rem, 3vw, 2.8rem);
	line-height: 1.05;
	letter-spacing: 0;
}

.wpm-solution-card p:not(.wpm-kicker) {
	margin: 0;
	color: var(--wpm-muted);
}

.wpm-image-placeholder {
	min-height: 260px;
	display: grid;
	place-items: center;
	overflow: hidden;
	border: 1px dashed rgba(18, 128, 105, 0.35);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(237, 247, 242, 0.9), rgba(248, 241, 223, 0.78)),
		repeating-linear-gradient(45deg, rgba(20, 32, 30, 0.045) 0 1px, transparent 1px 13px);
	color: var(--wpm-brand-dark);
	text-align: center;
	font-size: 0.86rem;
	font-weight: 900;
	text-transform: uppercase;
}

.wpm-image-placeholder span {
	max-width: 16ch;
}

.wpm-service-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.wpm-service-card {
	padding: 22px;
	border: 1px solid var(--wpm-line);
	border-radius: var(--wpm-radius);
	background: #ffffff;
	box-shadow: 0 16px 45px rgba(20, 32, 30, 0.055);
}

.wpm-service-card h3 {
	margin: 0 0 10px;
	font-size: 1.12rem;
	line-height: 1.25;
}

.wpm-service-card p {
	margin: 0;
	color: var(--wpm-muted);
	font-size: 0.98rem;
}

.wpm-about-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.84fr) minmax(320px, 0.58fr);
	gap: 42px;
	align-items: start;
}

.wpm-about-layout h2 {
	margin: 0 0 16px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1.06;
	letter-spacing: 0;
}

.wpm-about-layout p:not(.wpm-kicker) {
	margin: 0;
	color: var(--wpm-muted);
}

.wpm-about-points {
	display: grid;
	gap: 12px;
}

.wpm-about-points div {
	display: grid;
	gap: 5px;
	padding: 16px;
	border: 1px solid var(--wpm-line);
	border-radius: var(--wpm-radius);
	background: #ffffff;
}

.wpm-about-points span {
	color: var(--wpm-muted);
}

.wpm-store-shell {
	display: grid;
	gap: 24px;
	padding: clamp(18px, 3vw, 30px);
	border: 1px solid var(--wpm-line);
	border-radius: var(--wpm-radius);
	background: #ffffff;
	box-shadow: 0 18px 54px rgba(20, 32, 30, 0.08);
}

.wpm-store-shell__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--wpm-line);
}

.wpm-store-shell__head h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.9rem, 4vw, 3rem);
	line-height: 1.05;
	letter-spacing: 0;
}

.wpm-store-shell__head p:not(.wpm-kicker) {
	max-width: 650px;
	margin: 12px 0 0;
	color: var(--wpm-muted);
}

.wpm-store-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.wpm-store-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 12px;
	border: 1px solid var(--wpm-line);
	border-radius: 8px;
	background: var(--wpm-soft);
	color: var(--wpm-ink);
	font-weight: 850;
	text-decoration: none;
}

.wpm-store-links a:hover {
	border-color: var(--wpm-brand);
	color: var(--wpm-brand-dark);
}

.wpm-store-fallback {
	padding: 20px;
	border: 1px dashed rgba(18, 128, 105, 0.35);
	border-radius: var(--wpm-radius);
	background: var(--wpm-soft);
	color: var(--wpm-ink);
	font-weight: 800;
}

.wpm-store-catalog-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
	gap: 22px;
	align-items: start;
}

.wpm-store-catalog-grid__cart {
	position: sticky;
	top: 104px;
}

.wpm-account-shell {
	overflow-x: clip;
	overflow-y: visible;
	padding: 0;
}

.wpm-account-frame {
	display: grid;
	grid-template-columns: minmax(0, min(340px, 36%)) minmax(0, 1fr);
	align-items: stretch;
	min-height: 560px;
}

.wpm-account-frame__aside {
	display: grid;
	align-content: start;
	gap: 18px;
	padding: clamp(24px, 3vw, 34px);
	border-right: 1px solid rgba(220, 228, 223, 0.8);
	background:
		linear-gradient(160deg, rgba(16, 33, 40, 0.96), rgba(12, 96, 79, 0.92)),
		var(--wpm-ink);
	color: #ffffff;
}

.wpm-account-frame__aside .wpm-kicker {
	color: #cfeee5;
}

.wpm-account-frame__aside h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.9rem, 3vw, 2.8rem);
	line-height: 1.06;
	letter-spacing: 0;
}

.wpm-account-frame__aside p:not(.wpm-kicker) {
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
}

.wpm-account-links {
	display: grid;
	gap: 8px;
	margin-top: 10px;
}

.wpm-account-links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 42px;
	padding: 9px 12px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	font-weight: 850;
	text-decoration: none;
}

.wpm-account-links a:hover {
	border-color: rgba(255, 255, 255, 0.42);
	background: rgba(255, 255, 255, 0.14);
}

.wpm-account-links a::after {
	content: ">";
	color: #cfeee5;
	font-weight: 900;
}

.wpm-account-frame__main {
	min-width: 0;
	padding: clamp(22px, 4vw, 38px);
	background:
		linear-gradient(180deg, rgba(251, 252, 251, 0.9), rgba(255, 255, 255, 0.98)),
		#ffffff;
	container-type: inline-size;
	container-name: wpm-account-main;
}

.wpm-store-shell :where(.digisell-storefront-root, .dsm-store, .dsm-block) {
	--dsm-font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--dsm-surface: #ffffff;
	--dsm-surface-muted: #f5f8f6;
	--dsm-surface-raised: #fbfcfb;
	--dsm-text: var(--wpm-ink);
	--dsm-text-body: #33423e;
	--dsm-muted: var(--wpm-muted);
	--dsm-border: var(--wpm-line);
	--dsm-border-soft: #e7eee9;
	--dsm-primary: var(--wpm-brand);
	--dsm-primary-hover: var(--wpm-brand-dark);
	--dsm-primary-soft: var(--wpm-soft);
	--dsm-primary-contrast: #ffffff;
	--dsm-accent: var(--wpm-accent);
	--dsm-radius: 8px;
	--dsm-radius-lg: 8px;
	--dsm-shadow: 0 16px 45px rgba(20, 32, 30, 0.07);
	--dsm-ring: 0 0 0 3px rgba(18, 128, 105, 0.18);
	color-scheme: light;
	font-family: var(--dsm-font-sans);
}

.wpm-store-shell :where(.dsm-product-grid-filters) {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	gap: 12px;
	padding: 14px;
	margin-bottom: 18px;
	border: 1px solid var(--wpm-line);
	border-radius: 8px;
	background: #f8fbf8;
}

.wpm-store-shell :where(.dsm-product-grid-filters label) {
	display: grid;
	gap: 5px;
	min-width: 180px;
	color: var(--wpm-muted);
	font-size: 0.86rem;
	font-weight: 850;
}

.wpm-store-shell :where(.dsm-product-grid-filters input, .dsm-product-grid-filters select) {
	min-height: 42px;
	padding: 8px 10px;
	border: 1px solid var(--wpm-line);
	border-radius: 8px;
	background: #ffffff;
	color: var(--wpm-ink);
	font: inherit;
}

.wpm-store-shell :where(.dsm-product-grid, .dsm-product-list) {
	gap: 18px;
}

.wpm-store-shell :where(.dsm-product-card, .dsm-cart-sidebar, .dsm-checkout-section, .dsm-order-card, .dsm-empty-panel, .dsm-receipt-main, .dsm-lookup-panel, .dsm-order-row, .dsm-download-row) {
	border-radius: 8px;
	box-shadow: 0 14px 38px rgba(20, 32, 30, 0.06);
}

.wpm-store-shell :where(.dsm-product-card) {
	overflow: hidden;
	border: 1px solid var(--wpm-line);
	background: #ffffff;
}

.wpm-store-shell :where(.dsm-product-card-body) {
	padding: 16px;
}

.wpm-store-shell :where(.dsm-page-head h2, .dsm-product-title, .dsm-product-card-title, .dsm-section-head h3) {
	letter-spacing: 0;
}

.wpm-store-shell :where(.dsm-btn-primary, .dsm-cart-sidebar-primary, .dsm-product-grid-filters button, .dsm-purchase-form button) {
	background: var(--wpm-brand) !important;
	border-color: var(--wpm-brand) !important;
	color: #ffffff !important;
}

.wpm-store-shell :where(.dsm-btn-primary, .dsm-cart-sidebar-primary, .dsm-product-grid-filters button, .dsm-purchase-form button):hover {
	background: var(--wpm-brand-dark) !important;
	border-color: var(--wpm-brand-dark) !important;
}

.wpm-store-shell :where(.dsm-purchase-message.has-actions) {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	align-items: center;
}

.wpm-store-shell :where(.dsm-purchase-message.has-actions a) {
	color: var(--wpm-brand-dark);
	font-weight: 850;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.wpm-store-shell :where(.dsm-product-card-placeholder, .dsm-card-placeholder, .dsm-product-detail-placeholder) {
	background:
		linear-gradient(135deg, rgba(237, 247, 242, 0.95), rgba(248, 241, 223, 0.9)),
		repeating-linear-gradient(45deg, rgba(20, 32, 30, 0.05) 0 1px, transparent 1px 12px) !important;
	border: 1px dashed rgba(18, 128, 105, 0.28) !important;
}

.wpm-account-shell .dsm-account-page {
	gap: 24px;
}

.wpm-account-shell .dsm-account-page .dsm-page-head {
	display: grid;
	gap: 8px;
	max-width: 760px;
}

.wpm-account-shell .dsm-account-page .dsm-page-head h2 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: 0;
}

.wpm-account-shell .dsm-account-page .dsm-page-head p {
	color: var(--wpm-muted);
	font-size: 1rem;
	line-height: 1.6;
}

.wpm-account-shell .dsm-account-page .dsm-eyebrow {
	color: var(--wpm-brand-dark);
	letter-spacing: 0.08em;
}

.wpm-account-shell .dsm-account-page .dsm-login-panel {
	width: min(100%, 520px);
	max-width: none;
	gap: 16px;
	padding: clamp(22px, 4vw, 30px);
	border: 1px solid var(--wpm-line);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 18px 54px rgba(20, 32, 30, 0.08);
}

.wpm-account-shell .dsm-account-page .dsm-field {
	gap: 7px;
	color: var(--wpm-muted);
	font-size: 0.84rem;
	font-weight: 900;
}

.wpm-account-shell .dsm-account-page .dsm-field input {
	min-height: 48px;
	border: 1px solid var(--wpm-line);
	border-radius: 8px;
	background: #fbfcfb;
	color: var(--wpm-ink);
	font: inherit;
	box-shadow: none;
}

.wpm-account-shell .dsm-account-page .dsm-field input:focus {
	border-color: var(--wpm-brand);
	box-shadow: 0 0 0 3px rgba(18, 128, 105, 0.18);
	outline: 0;
}

.wpm-account-shell .dsm-account-page .dsm-btn-primary,
.wpm-account-shell .dsm-account-page .dsm-btn-secondary {
	min-height: 46px;
	border-radius: 8px;
	font-weight: 900;
	text-decoration: none;
	transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.wpm-account-shell .dsm-account-page .dsm-btn-primary {
	border-color: var(--wpm-brand);
	background: var(--wpm-brand);
	color: #ffffff;
}

.wpm-account-shell .dsm-account-page .dsm-btn-primary:hover,
.wpm-account-shell .dsm-account-page .dsm-btn-primary:focus {
	border-color: var(--wpm-brand-dark);
	background: var(--wpm-brand-dark);
	color: #ffffff;
}

.wpm-account-shell .dsm-account-page .dsm-btn-secondary {
	border-color: var(--wpm-line);
	background: #ffffff;
	color: var(--wpm-ink);
}

.wpm-account-shell .dsm-account-page .dsm-btn-secondary:hover,
.wpm-account-shell .dsm-account-page .dsm-btn-secondary:focus {
	border-color: var(--wpm-brand);
	color: var(--wpm-brand-dark);
}

.wpm-account-shell .dsm-account-page .dsm-account-hero {
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--wpm-line);
}

.wpm-account-shell .dsm-account-page .dsm-account-actions {
	justify-content: flex-end;
	padding: 10px;
	border: 1px solid var(--wpm-line);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 12px 30px rgba(20, 32, 30, 0.05);
}

.wpm-account-shell .dsm-account-page .dsm-user-name {
	max-width: 220px;
	overflow: hidden;
	color: var(--wpm-ink);
	font-weight: 850;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wpm-account-shell .dsm-account-page .dsm-account-summary {
	gap: 14px;
}

.wpm-account-shell .dsm-account-page .dsm-account-summary article {
	border: 1px solid var(--wpm-line);
	border-left: 4px solid var(--wpm-brand);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 12px 34px rgba(20, 32, 30, 0.055);
}

.wpm-account-shell .dsm-account-page .dsm-account-summary span {
	color: var(--wpm-muted);
	letter-spacing: 0.08em;
}

.wpm-account-shell .dsm-account-page .dsm-account-summary strong {
	color: var(--wpm-ink);
	font-size: 1.45rem;
	line-height: 1.1;
}

.wpm-account-shell .dsm-account-page .dsm-account-tabs {
	width: 100%;
	padding: 5px;
	border: 1px solid var(--wpm-line);
	border-radius: 8px;
	background: #edf7f2;
}

.wpm-account-shell .dsm-account-page .dsm-account-tabs button {
	flex: 1;
	min-height: 42px;
	border-radius: 8px;
	color: var(--wpm-muted);
	font-weight: 900;
}

.wpm-account-shell .dsm-account-page .dsm-account-tabs button.active {
	background: #ffffff;
	color: var(--wpm-brand-dark);
	box-shadow: 0 8px 20px rgba(20, 32, 30, 0.08);
}

.wpm-account-shell .dsm-account-page .dsm-account-layout {
	grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
	gap: 20px;
}

/* Stack orders + detail when the *main column* is narrow (not only viewport). */
@container wpm-account-main (max-width: 720px) {
	.wpm-account-shell .dsm-account-page .dsm-account-layout {
		grid-template-columns: 1fr;
		gap: clamp(16px, 4cqi, 22px);
	}

	.wpm-account-shell .dsm-account-page .dsm-order-detail {
		position: static;
	}
}

.wpm-account-shell .dsm-account-page .dsm-account-panel,
.wpm-account-shell .dsm-account-page .dsm-order-detail,
.wpm-account-shell .dsm-account-page .dsm-empty-panel,
.wpm-account-shell .dsm-account-page .dsm-payment-row,
.wpm-account-shell .dsm-account-page .dsm-download-row {
	border: 1px solid var(--wpm-line);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 14px 38px rgba(20, 32, 30, 0.055);
}

.wpm-account-shell .dsm-account-page .dsm-order-row,
.wpm-account-shell .dsm-account-page .dsm-detail-line {
	border-color: var(--wpm-line);
	border-radius: 8px;
	background: #fbfcfb;
}

.wpm-account-shell .dsm-account-page .dsm-order-row.active {
	border-color: rgba(18, 128, 105, 0.46);
	background: #edf7f2;
}

.wpm-account-shell .dsm-account-page .dsm-order-pick strong,
.wpm-account-shell .dsm-account-page .dsm-payment-row h4,
.wpm-account-shell .dsm-account-page .dsm-download-row h4,
.wpm-account-shell .dsm-account-page .dsm-order-detail h3 {
	color: var(--wpm-ink);
}

.wpm-account-shell .dsm-account-page .dsm-status-pill {
	border-radius: 999px;
	font-weight: 900;
}

.wpm-account-shell .dsm-account-page .dsm-link {
	color: var(--wpm-brand-dark);
	text-decoration: underline;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

.wpm-account-shell .dsm-account-page .dsm-alert {
	padding: 12px 14px;
	border: 1px solid rgba(216, 82, 63, 0.3);
	border-radius: 8px;
	background: #fff1ee;
	color: #9d3123;
	font-weight: 800;
}

@media (max-width: 860px) {
	.wpm-header__inner,
	.wpm-footer__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.wpm-nav {
		flex-wrap: wrap;
	}

	.wpm-nav .sub-menu,
	.wpm-nav .sub-menu .sub-menu {
		position: static;
		display: none;
		width: 100%;
		min-width: 0;
		box-shadow: none;
		opacity: 1;
		pointer-events: auto;
		transform: none;
	}

	.wpm-nav li:hover > .sub-menu,
	.wpm-nav li:focus-within > .sub-menu {
		display: grid;
	}

	.wpm-hero {
		padding-top: 58px;
	}

	.wpm-hero__grid,
	.wpm-product-row,
	.wpm-event-layout,
	.wpm-access-form,
	.wpm-solution-card,
	.wpm-about-layout {
		grid-template-columns: 1fr;
	}

	.wpm-card-grid,
	.wpm-feature-list,
	.wpm-stat-grid,
	.wpm-service-grid {
		grid-template-columns: 1fr;
	}

	.wpm-event-sidebar {
		position: static;
	}

	.wpm-store-shell__head {
		flex-direction: column;
	}

	.wpm-store-catalog-grid {
		grid-template-columns: 1fr;
	}

	.wpm-store-catalog-grid__cart {
		position: static;
	}

	.wpm-account-frame,
	.wpm-account-shell .dsm-account-page .dsm-account-hero {
		grid-template-columns: 1fr;
	}

	/* Fallback when container queries are unavailable: mirror layout stack on small viewports. */
	@supports not (container-type: inline-size) {
		.wpm-account-shell .dsm-account-page .dsm-account-layout {
			grid-template-columns: 1fr;
		}

		.wpm-account-shell .dsm-account-page .dsm-order-detail {
			position: static;
		}
	}

	.wpm-account-frame__aside {
		border-right: 0;
		border-bottom: 1px solid rgba(220, 228, 223, 0.8);
	}

	.wpm-account-shell .dsm-account-page .dsm-account-actions {
		justify-content: flex-start;
	}

	.wpm-store-links {
		justify-content: flex-start;
	}
}

@media (max-width: 560px) {
	body {
		font-size: 16px;
	}

	.wpm-container,
	.wpm-content {
		width: min(100% - 28px, 1120px);
	}

	.wpm-dashboard__body {
		grid-template-columns: 1fr;
	}

	.wpm-dashboard__rail {
		border-right: 0;
		border-bottom: 1px solid var(--wpm-line);
	}

	.wpm-product-row {
		padding: 22px;
	}

	.wpm-access-form {
		padding: 20px;
	}

	.wpm-access-form__fields {
		grid-template-columns: 1fr;
	}

	.wpm-account-frame__main {
		padding: 18px;
	}

	.wpm-account-shell .dsm-account-page .dsm-login-panel {
		width: 100%;
	}
}
