/*
Theme Name: Digital Product Store
Theme URI: https://nsroms.shop
Author: Digital Product Store
Author URI: https://nsroms.shop
Description: A focused single-product storefront. One landing page you control from the admin, a checkout that takes PayPal, and automatic email delivery of digital files with secure re-download links.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digital-product-store
Tags: e-commerce, one-column, custom-menu, custom-logo, featured-images, translation-ready
*/

/* =================================================================
   1. Tokens & reset
   ================================================================= */
:root {
	--dps-brand: #4f46e5;
	--dps-brand-dark: #4338ca;
	--dps-brand-soft: #eef2ff;
	--dps-accent: #16a34a;
	--dps-warn: #b45309;
	--dps-danger: #b91c1c;
	--dps-ink: #0f172a;
	--dps-body: #334155;
	--dps-muted: #64748b;
	--dps-line: #e2e8f0;
	--dps-surface: #f7f8fc;
	--dps-card: #ffffff;
	--dps-radius: 14px;
	--dps-radius-sm: 9px;
	--dps-shadow: 0 18px 40px -24px rgba(15, 23, 42, .35);
	--dps-shadow-sm: 0 6px 18px -12px rgba(15, 23, 42, .4);
	--dps-container: 1140px;
	--dps-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--dps-surface);
	color: var(--dps-body);
	font-family: var(--dps-font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.dps-no-scroll {
	overflow: hidden;
}

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

a {
	color: var(--dps-brand);
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: underline;
}

h1,
h2,
h3,
h4 {
	color: var(--dps-ink);
	line-height: 1.22;
	margin: 0 0 .5em;
	font-weight: 750;
	letter-spacing: -.015em;
}

p {
	margin: 0 0 1em;
}

svg {
	flex: none;
}

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

.dps-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--dps-ink);
	color: #fff;
	padding: 10px 18px;
	z-index: 999;
	border-radius: 0 0 8px 0;
}

.dps-skip-link:focus {
	left: 0;
	color: #fff;
}

/* =================================================================
   2. Layout
   ================================================================= */
.dps-container {
	width: 100%;
	max-width: var(--dps-container);
	margin: 0 auto;
	padding: 0 20px;
}

.dps-narrow {
	max-width: 760px;
}

.dps-main {
	display: block;
	min-height: 40vh;
}

.dps-section {
	padding: 72px 0;
}

.dps-section-alt {
	background: #fff;
	border-top: 1px solid var(--dps-line);
	border-bottom: 1px solid var(--dps-line);
}

.dps-section-title {
	font-size: clamp(24px, 3.4vw, 34px);
	text-align: center;
	margin-bottom: 38px;
}

/* =================================================================
   3. Buttons
   ================================================================= */
.dps-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 13px 22px;
	border-radius: var(--dps-radius-sm);
	border: 1px solid transparent;
	font-weight: 650;
	font-size: 15px;
	line-height: 1.2;
	cursor: pointer;
	transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, color .12s ease;
	text-decoration: none;
	font-family: inherit;
	text-align: center;
}

.dps-btn:hover,
.dps-btn:focus {
	text-decoration: none;
	transform: translateY(-1px);
}

.dps-btn:focus-visible {
	outline: 3px solid rgba(79, 70, 229, .35);
	outline-offset: 2px;
}

.dps-btn-primary {
	background: var(--dps-brand);
	color: #fff;
	box-shadow: 0 10px 22px -14px rgba(79, 70, 229, .9);
}

.dps-btn-primary:hover,
.dps-btn-primary:focus {
	background: var(--dps-brand-dark);
	color: #fff;
}

.dps-btn-ghost {
	background: #fff;
	color: var(--dps-ink);
	border-color: var(--dps-line);
}

.dps-btn-ghost:hover,
.dps-btn-ghost:focus {
	border-color: #cbd5e1;
	color: var(--dps-ink);
}

.dps-btn-sm {
	padding: 9px 16px;
	font-size: 14px;
}

.dps-btn-lg {
	padding: 16px 28px;
	font-size: 16.5px;
}

.dps-btn-block {
	width: 100%;
}

/* =================================================================
   4. Header
   ================================================================= */
.dps-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--dps-line);
}

.dps-header-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 72px;
}

.dps-brand-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--dps-ink);
	font-weight: 750;
	font-size: 17px;
	text-decoration: none;
}

.dps-brand-link:hover {
	text-decoration: none;
}

.dps-brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--dps-brand);
	color: #fff;
}

.dps-brand-mark svg {
	width: 18px;
	height: 18px;
}

.dps-nav {
	flex: 1 1 auto;
}

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

.dps-nav-list a {
	color: var(--dps-body);
	font-size: 15px;
	font-weight: 550;
	text-decoration: none;
}

.dps-nav-list a:hover {
	color: var(--dps-brand);
}

.dps-header-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
}

.dps-header-price {
	display: inline-flex;
	align-items: baseline;
	gap: 7px;
	font-size: 15px;
	color: var(--dps-muted);
}

.dps-header-price strong {
	color: var(--dps-ink);
	font-size: 17px;
}

.dps-header-back {
	font-size: 14px;
	font-weight: 550;
}

@media (max-width: 900px) {
	.dps-nav {
		display: none;
	}
}

@media (max-width: 560px) {
	.dps-header-price {
		display: none;
	}
}

/* =================================================================
   5. Hero
   ================================================================= */
.dps-hero {
	background:
		radial-gradient(1000px 420px at 12% -10%, rgba(79, 70, 229, .16), transparent 60%),
		radial-gradient(760px 380px at 92% 0%, rgba(22, 163, 74, .12), transparent 62%),
		#fff;
	border-bottom: 1px solid var(--dps-line);
	padding: 68px 0 76px;
}

.dps-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	gap: 54px;
	align-items: center;
}

@media (max-width: 980px) {
	.dps-hero-inner {
		grid-template-columns: 1fr;
		gap: 38px;
	}
}

.dps-eyebrow {
	display: inline-block;
	background: var(--dps-brand-soft);
	color: var(--dps-brand-dark);
	border-radius: 999px;
	padding: 5px 14px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	margin-bottom: 18px;
}

.dps-hero-title {
	font-size: clamp(30px, 4.6vw, 50px);
	margin-bottom: 16px;
}

.dps-hero-sub {
	font-size: 18px;
	color: var(--dps-muted);
	max-width: 56ch;
	margin-bottom: 22px;
}

.dps-badges {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	display: grid;
	gap: 9px;
}

.dps-badges li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 15px;
	color: var(--dps-body);
}

.dps-badges svg {
	width: 18px;
	height: 18px;
	color: var(--dps-accent);
	margin-top: 3px;
}

.dps-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.dps-hero-note {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	font-size: 13.5px;
	color: var(--dps-muted);
}

.dps-hero-note svg {
	width: 16px;
	height: 16px;
	color: var(--dps-accent);
}

/* Price block */
.dps-price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 6px;
}

.dps-price-was {
	color: var(--dps-muted);
	text-decoration: line-through;
	font-size: 17px;
}

.dps-price-now {
	font-size: 34px;
	font-weight: 800;
	color: var(--dps-ink);
	letter-spacing: -.02em;
}

.dps-price-code {
	font-size: 13px;
	color: var(--dps-muted);
	font-weight: 600;
}

.dps-price-save {
	background: #dcfce7;
	color: #166534;
	border-radius: 999px;
	padding: 3px 11px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}

/* Product card */
.dps-product-card {
	background: var(--dps-card);
	border: 1px solid var(--dps-line);
	border-radius: var(--dps-radius);
	box-shadow: var(--dps-shadow);
	overflow: hidden;
}

.dps-product-image {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	background: var(--dps-surface);
}

.dps-product-placeholder {
	aspect-ratio: 16 / 10;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #eef2ff, #e0e7ff);
	color: var(--dps-brand);
}

.dps-product-placeholder svg {
	width: 62px;
	height: 62px;
}

.dps-product-card-body {
	padding: 24px 24px 26px;
}

.dps-product-name {
	font-size: 21px;
	margin-bottom: 6px;
}

.dps-product-tagline {
	color: var(--dps-muted);
	font-size: 14.5px;
	margin-bottom: 16px;
}

.dps-product-meta {
	list-style: none;
	margin: 20px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--dps-line);
	display: grid;
	gap: 10px;
}

.dps-product-meta li {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 14px;
	color: var(--dps-muted);
}

.dps-product-meta svg {
	width: 17px;
	height: 17px;
	color: var(--dps-brand);
}

/* =================================================================
   6. Feature grid
   ================================================================= */
.dps-grid {
	display: grid;
	gap: 20px;
}

.dps-grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
	.dps-grid-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.dps-grid-3 {
		grid-template-columns: 1fr;
	}
}

.dps-feature {
	background: var(--dps-card);
	border: 1px solid var(--dps-line);
	border-radius: var(--dps-radius);
	padding: 24px;
}

.dps-feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--dps-brand-soft);
	color: var(--dps-brand);
	margin-bottom: 14px;
}

.dps-feature h3 {
	font-size: 17px;
	margin-bottom: 6px;
}

.dps-feature p {
	margin: 0;
	font-size: 14.5px;
	color: var(--dps-muted);
}

/* =================================================================
   7. Split: description + includes
   ================================================================= */
.dps-split {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
	gap: 44px;
	align-items: start;
}

@media (max-width: 900px) {
	.dps-split {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}

.dps-split-main .dps-section-title {
	text-align: left;
}

.dps-richtext {
	font-size: 16.5px;
}

.dps-richtext h2,
.dps-richtext h3 {
	margin-top: 1.4em;
}

.dps-richtext ul,
.dps-richtext ol {
	padding-left: 22px;
}

.dps-includes-card {
	background: var(--dps-card);
	border: 1px solid var(--dps-line);
	border-radius: var(--dps-radius);
	padding: 26px;
	position: sticky;
	top: 94px;
	box-shadow: var(--dps-shadow-sm);
}

.dps-includes-card h3 {
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--dps-muted);
	margin-bottom: 16px;
}

.dps-includes {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: grid;
	gap: 11px;
}

.dps-includes li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 15px;
}

.dps-includes svg {
	width: 18px;
	height: 18px;
	color: var(--dps-accent);
	margin-top: 3px;
}

/* =================================================================
   8. Gallery
   ================================================================= */
.dps-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.dps-gallery-item {
	padding: 0;
	border: 1px solid var(--dps-line);
	border-radius: var(--dps-radius);
	overflow: hidden;
	background: #fff;
	cursor: zoom-in;
	transition: box-shadow .15s ease, transform .15s ease;
}

.dps-gallery-item:hover {
	transform: translateY(-2px);
	box-shadow: var(--dps-shadow-sm);
}

.dps-gallery-item img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.dps-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(8, 12, 24, .88);
	padding: 30px;
}

.dps-lightbox.is-open {
	display: flex;
}

.dps-lightbox img {
	max-width: 92vw;
	max-height: 88vh;
	border-radius: 12px;
	box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8);
}

.dps-lightbox-close {
	position: absolute;
	top: 18px;
	right: 22px;
	background: transparent;
	border: 0;
	color: #fff;
	font-size: 40px;
	line-height: 1;
	cursor: pointer;
}

/* =================================================================
   9. Testimonials, guarantee, FAQ
   ================================================================= */
.dps-testimonial {
	margin: 0;
	background: var(--dps-card);
	border: 1px solid var(--dps-line);
	border-radius: var(--dps-radius);
	padding: 24px;
}

.dps-stars {
	display: flex;
	gap: 3px;
	color: #f59e0b;
	margin-bottom: 12px;
}

.dps-stars svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
	stroke: currentColor;
}

.dps-testimonial blockquote {
	margin: 0 0 16px;
	font-size: 15.5px;
	color: var(--dps-body);
}

.dps-testimonial blockquote::before {
	content: "“";
	font-size: 42px;
	line-height: 0;
	color: var(--dps-brand);
	vertical-align: -12px;
	margin-right: 4px;
}

.dps-testimonial figcaption {
	display: flex;
	flex-direction: column;
	font-size: 14px;
}

.dps-testimonial figcaption span {
	color: var(--dps-muted);
	font-size: 13px;
}

.dps-guarantee {
	display: flex;
	align-items: flex-start;
	gap: 22px;
	background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
	border: 1px solid #bbf7d0;
	border-radius: var(--dps-radius);
	padding: 30px 32px;
}

.dps-guarantee-icon {
	flex: none;
	width: 50px;
	height: 50px;
	border-radius: 14px;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--dps-accent);
	box-shadow: var(--dps-shadow-sm);
}

.dps-guarantee h2 {
	font-size: 20px;
	margin-bottom: 6px;
}

.dps-guarantee p {
	margin: 0;
	color: #14532d;
}

@media (max-width: 620px) {
	.dps-guarantee {
		flex-direction: column;
		padding: 24px;
	}
}

.dps-faq {
	display: grid;
	gap: 10px;
}

.dps-faq-item {
	background: var(--dps-card);
	border: 1px solid var(--dps-line);
	border-radius: var(--dps-radius-sm);
	overflow: hidden;
}

.dps-faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 17px 20px;
	cursor: pointer;
	font-weight: 650;
	color: var(--dps-ink);
	list-style: none;
}

.dps-faq-item summary::-webkit-details-marker {
	display: none;
}

.dps-faq-marker {
	position: relative;
	flex: none;
	width: 16px;
	height: 16px;
}

.dps-faq-marker::before,
.dps-faq-marker::after {
	content: "";
	position: absolute;
	background: var(--dps-brand);
	border-radius: 2px;
	transition: transform .16s ease;
}

.dps-faq-marker::before {
	top: 7px;
	left: 0;
	width: 16px;
	height: 2px;
}

.dps-faq-marker::after {
	top: 0;
	left: 7px;
	width: 2px;
	height: 16px;
}

.dps-faq-item[open] .dps-faq-marker::after {
	transform: scaleY(0);
}

.dps-faq-answer {
	padding: 0 20px 18px;
	color: var(--dps-body);
	font-size: 15px;
}

.dps-faq-answer p:last-child {
	margin-bottom: 0;
}

/* =================================================================
   10. Final CTA
   ================================================================= */
.dps-cta {
	background: var(--dps-ink);
	color: #cbd5e1;
	padding: 60px 0;
}

.dps-cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 34px;
	flex-wrap: wrap;
}

.dps-cta h2 {
	color: #fff;
	font-size: clamp(22px, 3vw, 30px);
	margin-bottom: 6px;
}

.dps-cta p {
	margin: 0;
	color: #94a3b8;
}

.dps-cta-action {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.dps-cta .dps-price-now {
	color: #fff;
}

.dps-cta .dps-price-was {
	color: #94a3b8;
}

/* =================================================================
   11. Cards, forms, checkout
   ================================================================= */
.dps-card {
	background: var(--dps-card);
	border: 1px solid var(--dps-line);
	border-radius: var(--dps-radius);
	padding: 32px;
	box-shadow: var(--dps-shadow-sm);
}

.dps-checkout {
	padding: 52px 0 76px;
}

.dps-checkout-grid {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: 30px;
	align-items: start;
}

@media (max-width: 940px) {
	.dps-checkout-grid {
		grid-template-columns: 1fr;
	}
}

.dps-checkout-product {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--dps-line);
}

.dps-checkout-product img {
	width: 68px;
	height: 68px;
	border-radius: 10px;
	object-fit: cover;
	flex: none;
}

.dps-checkout-product h2 {
	font-size: 18px;
	margin-bottom: 4px;
}

.dps-checkout-product p {
	margin: 0;
	font-size: 14px;
	color: var(--dps-muted);
}

.dps-summary {
	display: grid;
	gap: 8px;
	margin: 0 0 8px;
}

.dps-summary-total {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--dps-line);
}

.dps-summary-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-size: 15px;
}

.dps-summary-grand strong {
	font-size: 20px;
	color: var(--dps-ink);
}

.dps-summary-discount {
	color: var(--dps-accent);
}

.dps-form {
	display: grid;
	gap: 16px;
	margin-top: 8px;
}

.dps-field {
	display: grid;
	gap: 6px;
}

.dps-field > span {
	font-size: 14px;
	font-weight: 650;
	color: var(--dps-ink);
}

.dps-field > span em {
	font-style: normal;
	font-weight: 500;
	color: var(--dps-muted);
}

.dps-field input[type="text"],
.dps-field input[type="email"],
.dps-field input[type="url"],
.dps-field input[type="number"] {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid var(--dps-line);
	border-radius: var(--dps-radius-sm);
	font-size: 16px;
	font-family: inherit;
	background: #fff;
	color: var(--dps-ink);
	transition: border-color .12s ease, box-shadow .12s ease;
}

.dps-field input:focus {
	outline: none;
	border-color: var(--dps-brand);
	box-shadow: 0 0 0 3px rgba(79, 70, 229, .16);
}

.dps-coupon-hint {
	margin: -6px 0 0;
	font-size: 13.5px;
	color: var(--dps-muted);
	min-height: 18px;
}

.dps-coupon-hint.is-valid {
	color: var(--dps-accent);
}

.dps-coupon-hint.is-invalid {
	color: var(--dps-danger);
}

.dps-methods {
	border: 0;
	margin: 4px 0 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.dps-methods legend {
	font-size: 14px;
	font-weight: 650;
	color: var(--dps-ink);
	padding: 0 0 8px;
}

.dps-method {
	display: block;
	cursor: pointer;
}

.dps-method input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.dps-method-box {
	display: flex;
	flex-direction: column;
	gap: 2px;
	border: 1px solid var(--dps-line);
	border-radius: var(--dps-radius-sm);
	padding: 13px 16px;
	transition: border-color .12s ease, box-shadow .12s ease;
}

.dps-method input:checked + .dps-method-box {
	border-color: var(--dps-brand);
	box-shadow: 0 0 0 3px rgba(79, 70, 229, .14);
}

.dps-method input:focus-visible + .dps-method-box {
	outline: 3px solid rgba(79, 70, 229, .3);
	outline-offset: 2px;
}

.dps-method-box strong {
	font-size: 15.5px;
	color: var(--dps-ink);
}

.dps-method-box span {
	font-size: 13.5px;
	color: var(--dps-muted);
}

.dps-paypal-blue {
	color: #003087;
}

.dps-secure-note {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--dps-muted);
}

.dps-secure-note svg {
	width: 15px;
	height: 15px;
	color: var(--dps-accent);
}

/* Alerts */
.dps-alert {
	border-radius: var(--dps-radius-sm);
	padding: 15px 18px;
	margin: 0 0 22px;
	font-size: 15px;
	border: 1px solid transparent;
}

.dps-alert-error {
	background: #fef2f2;
	border-color: #fecaca;
	color: #991b1b;
}

.dps-alert-warning {
	background: #fffbeb;
	border-color: #fde68a;
	color: #92400e;
}

.dps-alert-success {
	background: #f0fdf4;
	border-color: #bbf7d0;
	color: #166534;
}

/* =================================================================
   12. Payment & success steps
   ================================================================= */
.dps-step-badge {
	display: inline-block;
	background: var(--dps-brand-soft);
	color: var(--dps-brand-dark);
	border-radius: 999px;
	padding: 4px 13px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	margin-bottom: 14px;
}

.dps-lead {
	font-size: 16.5px;
	color: var(--dps-muted);
	margin-bottom: 24px;
}

.dps-panel {
	border: 1px solid var(--dps-line);
	border-radius: var(--dps-radius);
	padding: 24px;
	background: var(--dps-surface);
}

.dps-panel-head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 20px;
}

.dps-panel-head strong {
	display: block;
	color: var(--dps-ink);
	font-size: 16px;
}

.dps-panel-head span {
	font-size: 14px;
	color: var(--dps-muted);
}

.dps-paypal-mark {
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #003087;
	color: #fff;
	font-weight: 800;
	font-size: 20px;
	font-style: italic;
}

.dps-payment-status {
	margin-top: 14px;
	font-size: 14.5px;
	min-height: 20px;
}

.dps-payment-status.is-error {
	color: var(--dps-danger);
}

.dps-payment-status.is-ok {
	color: var(--dps-accent);
}

.dps-instructions {
	background: #fff;
	border: 1px solid var(--dps-line);
	border-radius: var(--dps-radius-sm);
	padding: 18px;
	margin-bottom: 16px;
	font-size: 15px;
	white-space: pre-wrap;
}

.dps-instructions p:last-child {
	margin-bottom: 0;
}

.dps-success {
	text-align: center;
}

.dps-success-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: #dcfce7;
	color: var(--dps-accent);
	margin-bottom: 18px;
}

.dps-success-icon svg {
	width: 34px;
	height: 34px;
}

.dps-success .dps-summary {
	text-align: left;
	max-width: 460px;
	margin: 26px auto;
	background: var(--dps-surface);
	border: 1px solid var(--dps-line);
	border-radius: var(--dps-radius-sm);
	padding: 18px 20px;
}

.dps-delivery {
	display: grid;
	gap: 10px;
	max-width: 460px;
	margin: 0 auto 22px;
}

.dps-delivery h2 {
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--dps-muted);
	margin-bottom: 4px;
}

.dps-note {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	justify-content: center;
	font-size: 14px;
	color: var(--dps-muted);
	max-width: 520px;
	margin: 18px auto;
	text-align: left;
}

.dps-note svg {
	width: 17px;
	height: 17px;
	color: var(--dps-brand);
	margin-top: 3px;
}

.dps-success-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.dps-pill {
	display: inline-block;
	background: var(--dps-brand-soft);
	color: var(--dps-brand-dark);
	border-radius: 999px;
	padding: 2px 10px;
	font-size: 12px;
	font-weight: 700;
	margin-left: 6px;
}

/* =================================================================
   13. Download page & 404
   ================================================================= */
.dps-download-page {
	padding: 56px 0 80px;
}

.dps-404 {
	text-align: center;
	margin: 60px 0;
}

.dps-404-code {
	display: block;
	font-size: 64px;
	font-weight: 800;
	color: var(--dps-brand);
	line-height: 1;
	margin-bottom: 10px;
}

.dps-404-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	margin: 22px 0;
}

/* =================================================================
   14. Content, archives
   ================================================================= */
.dps-single-page {
	padding: 56px 0 80px;
}

.dps-entry-title {
	font-size: clamp(26px, 4vw, 38px);
}

.dps-entry-meta {
	font-size: 13.5px;
	color: var(--dps-muted);
	text-transform: uppercase;
	letter-spacing: .04em;
	margin-bottom: 10px;
}

.dps-entry-thumb {
	margin: 0 0 26px;
	border-radius: var(--dps-radius);
	overflow: hidden;
}

.dps-entry-content {
	font-size: 17px;
}

.dps-entry-content img {
	border-radius: var(--dps-radius-sm);
}

.dps-post-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin: 40px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--dps-line);
	font-size: 15px;
}

.dps-archive {
	padding: 56px 0 80px;
}

.dps-archive-title {
	font-size: clamp(24px, 3.6vw, 34px);
	margin-bottom: 28px;
}

.dps-post-list {
	display: grid;
	gap: 18px;
}

.dps-post-card {
	background: var(--dps-card);
	border: 1px solid var(--dps-line);
	border-radius: var(--dps-radius);
	padding: 24px;
}

.dps-post-card h2 {
	font-size: 19px;
	margin-bottom: 4px;
}

.dps-post-meta {
	font-size: 13px;
	color: var(--dps-muted);
	margin-bottom: 10px;
}

/* Comment form */
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--dps-line);
	border-radius: var(--dps-radius-sm);
	font-family: inherit;
	font-size: 15px;
}

/* =================================================================
   15. Footer
   ================================================================= */
.dps-footer {
	background: #0b1220;
	color: #94a3b8;
	padding: 58px 0 26px;
	margin-top: 0;
}

.dps-footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
	gap: 36px;
}

@media (max-width: 900px) {
	.dps-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.dps-footer-grid {
		grid-template-columns: 1fr;
	}
}

.dps-footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-weight: 750;
	font-size: 17px;
	margin-bottom: 12px;
}

.dps-footer-about p {
	font-size: 14.5px;
	max-width: 42ch;
}

.dps-footer-support a {
	color: #a5b4fc;
}

.dps-footer-col h3 {
	color: #fff;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .06em;
	margin-bottom: 14px;
}

.dps-footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 9px;
}

.dps-footer-col a {
	color: #94a3b8;
	font-size: 14.5px;
}

.dps-footer-col a:hover {
	color: #fff;
}

.dps-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 44px;
	padding-top: 22px;
	border-top: 1px solid rgba(148, 163, 184, .2);
	font-size: 13.5px;
}

.dps-footer-bottom p {
	margin: 0;
}

.dps-footer-pay {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.dps-footer-pay svg {
	width: 15px;
	height: 15px;
	color: var(--dps-accent);
}

/* =================================================================
   16. Sticky buy bar
   ================================================================= */
.dps-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 50;
	background: rgba(15, 23, 42, .97);
	color: #e2e8f0;
	padding: 12px 0;
	transform: translateY(120%);
	transition: transform .22s ease;
	box-shadow: 0 -12px 30px -18px rgba(0, 0, 0, .7);
}

.dps-sticky.is-visible {
	transform: translateY(0);
}

.dps-sticky-inner {
	max-width: var(--dps-container);
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	gap: 20px;
}

.dps-sticky-copy {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
}

.dps-sticky-copy strong {
	color: #fff;
	font-size: 15.5px;
}

.dps-sticky-copy span {
	font-size: 13px;
	color: #94a3b8;
}

.dps-sticky-price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-size: 13px;
	color: #94a3b8;
}

.dps-sticky-price strong {
	color: #fff;
	font-size: 19px;
}

@media (max-width: 680px) {
	.dps-sticky-copy span,
	.dps-sticky-price s {
		display: none;
	}

	.dps-sticky-inner {
		gap: 12px;
	}
}

/* =================================================================
   17. WordPress defaults
   ================================================================= */
.alignwide {
	margin-left: -40px;
	margin-right: -40px;
	max-width: 1200px;
}

.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	font-size: 13px;
	color: var(--dps-muted);
	text-align: center;
}

.screen-reader-text:focus {
	display: block;
	left: 6px;
	top: 7px;
	width: auto;
	height: auto;
	clip: auto;
	background: #fff;
	padding: 10px 16px;
	z-index: 100000;
}
