/* Store v2, served as a static file (see \IPS\dayzpanel\Store\View). Loaded only on store pages, and only when Store v2 is active or the
   visitor is a previewer (see \IPS\dayzpanel\Store\Version). Everything is scoped
   under body.dzStore2 or the preview pill, so the classic store is untouched.
   Tokens match the homepage (#dzLanding). */

body.dzStore2 {
	--dz-bg: #12151d;
	--dz-bg-2: #181c25;
	--dz-card: rgba(25, 30, 41, 0.92);
	--dz-card-2: rgba(31, 37, 50, 0.96);
	--dz-border: rgba(255, 255, 255, 0.08);
	--dz-border-strong: rgba(255, 255, 255, 0.14);
	--dz-text: #f4f7fb;
	--dz-muted: #9aa3b6;
	--dz-soft: #c7cfdd;
	--dz-orange: #ff8a24;
	--dz-orange-2: #ffb15d;
	--dz-green: #35d07f;
	--dz-blue: #49a4ff;
	--dz-red: #ff4d5e;
	--dz-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
	--dz-radius: 20px;
}

/* Preview switch: bottom left, clear of the chat button on the right, and above the
   cookie notice so staff can always reach it */
.dzStorePill {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 2147483000;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: calc(100vw - 32px);
	padding: 8px 8px 8px 14px;
	border-radius: 999px;
	background: rgba(25, 30, 41, 0.92);
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	color: #f4f7fb;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
}

.dzStorePill_dot {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #9aa3b6;
}

.dzStorePill_v2 .dzStorePill_dot {
	background: #ff8a24;
	box-shadow: 0 0 12px rgba(255, 138, 36, 0.65);
}

.dzStorePill_label {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

a.dzStorePill_switch,
a.dzStorePill_switch:visited {
	flex: none;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #f4f7fb;
	text-decoration: none;
	font-weight: 700;
}

a.dzStorePill_switch:hover,
a.dzStorePill_switch:focus-visible {
	background: linear-gradient(135deg, #ff8a24, #ffb15d);
	color: #15100b;
	text-decoration: none;
}

.dzStorePill_classic a.dzStorePill_switch {
	background: linear-gradient(135deg, #ff8a24, #ffb15d);
	color: #15100b;
}

@media (max-width: 480px) {
	.dzStorePill {
		left: 12px;
		bottom: 12px;
		font-size: 12px;
	}
}

/* ---------------------------------------------------------------- Landing (/store/) */

/* The landing page has its own reviews; the store's footer widget area would repeat them */
body.dzStore2Landing [data-role='widgetReceiver'][data-widgetArea='footer'] {
	display: none;
}

.dzS2 {
	color: var(--dz-text);
	max-width: 1180px;
	margin: 0 auto;
	padding: 8px 0 40px;
}

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

.dzS2 a {
	color: inherit;
}

.dzS2_hero {
	position: relative;
	padding: 44px 40px 36px;
	border-radius: calc(var(--dz-radius) + 8px);
	background:
		radial-gradient(circle at 85% 10%, rgba(255, 138, 36, 0.20), transparent 42%),
		linear-gradient(180deg, var(--dz-card-2), var(--dz-card));
	border: 1px solid var(--dz-border);
	box-shadow: var(--dz-shadow);
	overflow: hidden;
}

.dzS2_kicker {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 138, 36, 0.12);
	border: 1px solid rgba(255, 138, 36, 0.25);
	color: var(--dz-orange-2);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.dzS2_heroTitle {
	margin: 16px 0 10px;
	font-size: clamp(30px, 4.4vw, 48px);
	line-height: 1.08;
	font-weight: 900;
	color: var(--dz-text);
}

.dzS2_heroText {
	max-width: 640px;
	margin: 0;
	color: var(--dz-soft);
	font-size: 16px;
	line-height: 1.65;
}

.dzS2_ratingChip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--dz-border-strong);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.dzS2_ratingChip:hover {
	border-color: rgba(255, 138, 36, 0.45);
	text-decoration: none;
}

.dzS2_stars {
	display: inline-flex;
	gap: 1px;
	color: rgba(255, 255, 255, 0.18);
	letter-spacing: 0;
	line-height: 1;
}

.dzS2_stars .dzS2_starOn {
	color: #ffc04d;
}

.dzS2_trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.dzS2_trust li {
	padding: 8px 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--dz-border);
	color: var(--dz-soft);
	font-size: 13px;
	font-weight: 600;
}

.dzS2_trust li::before {
	content: "✓";
	margin-right: 8px;
	color: var(--dz-green);
	font-weight: 900;
}

.dzS2_section {
	margin-top: 44px;
}

.dzS2_sectionHead {
	margin-bottom: 18px;
}

.dzS2_sectionHead h2 {
	margin: 0 0 6px;
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 900;
	color: var(--dz-text);
}

.dzS2_sectionHead p {
	margin: 0;
	color: var(--dz-muted);
	font-size: 15px;
	line-height: 1.6;
}

/* Plans */
.dzS2_plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 18px;
	align-items: stretch;
}

.dzS2_plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 24px;
	border-radius: var(--dz-radius);
	background: var(--dz-card);
	border: 1px solid var(--dz-border);
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
	transition: transform 0.18s ease, border-color 0.18s ease;
}

.dzS2_plan:hover {
	transform: translateY(-3px);
	border-color: var(--dz-border-strong);
}

.dzS2_planHighlight {
	border-color: rgba(255, 138, 36, 0.55);
	box-shadow: 0 20px 50px rgba(255, 138, 36, 0.14), 0 16px 34px rgba(0, 0, 0, 0.28);
}

.dzS2_planHighlight:hover {
	border-color: rgba(255, 138, 36, 0.8);
}

/* Sits on the card's top edge so it never crowds the plan name */
.dzS2_badge {
	position: absolute;
	top: -12px;
	left: 24px;
	padding: 6px 10px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--dz-orange), var(--dz-orange-2));
	color: #15100b;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.dzS2_planTop {
	display: flex;
	align-items: center;
	gap: 14px;
}

.dzS2_planIcon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 16px;
	background: rgba(255, 138, 36, 0.10);
	border: 1px solid rgba(255, 138, 36, 0.20);
	overflow: hidden;
}

.dzS2_planIcon img {
	max-width: 52px;
	max-height: 52px;
}

.dzS2_planName {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
}

.dzS2_planName a {
	text-decoration: none;
}

.dzS2_players {
	display: inline-block;
	margin-top: 4px;
	color: var(--dz-orange-2);
	font-size: 13px;
	font-weight: 700;
}

.dzS2_tagline {
	margin: 16px 0 0;
	color: var(--dz-muted);
	font-size: 14px;
	line-height: 1.6;
}

.dzS2_price {
	margin: 18px 0 4px;
	font-size: 15px;
	color: var(--dz-soft);
}

.dzS2_price .cNexusPrice {
	display: block;
	color: var(--dz-text);
	font-size: 30px;
	font-weight: 900;
	line-height: 1.15;
}

.dzS2_price .cNexusPrice s {
	margin-left: 6px;
	color: var(--dz-muted);
	font-size: 16px;
	font-weight: 600;
}

.dzS2_term {
	color: var(--dz-muted);
	font-size: 13px;
}

.dzS2_features {
	flex: 1;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.dzS2_features li {
	position: relative;
	padding: 6px 0 6px 24px;
	color: var(--dz-soft);
	font-size: 14px;
	line-height: 1.45;
}

.dzS2_features li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 6px;
	color: var(--dz-green);
	font-weight: 900;
}

.dzS2_planFoot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--dz-border);
}

.dzS2_planRating {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--dz-muted);
	font-size: 13px;
}

.dzS2_planSoldOut .dzS2_planTop,
.dzS2_planSoldOut .dzS2_price {
	opacity: 0.6;
}

/* Buttons */
.dzS2 .dzS2_btn,
.dzS2 .dzS2_btn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 20px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--dz-border-strong);
	color: var(--dz-text);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.dzS2 .dzS2_btn:hover,
.dzS2 .dzS2_btn:focus-visible {
	background: rgba(255, 255, 255, 0.10);
	text-decoration: none;
}

.dzS2 .dzS2_btnPrimary,
.dzS2 .dzS2_btnPrimary:visited {
	background: linear-gradient(135deg, var(--dz-orange), var(--dz-orange-2));
	border-color: transparent;
	color: #15100b;
	box-shadow: 0 14px 34px rgba(255, 138, 36, 0.28);
}

.dzS2 .dzS2_btnPrimary:hover,
.dzS2 .dzS2_btnPrimary:focus-visible {
	background: linear-gradient(135deg, var(--dz-orange), var(--dz-orange-2));
	box-shadow: 0 18px 42px rgba(255, 138, 36, 0.38);
	transform: translateY(-1px);
}

.dzS2 .dzS2_btnDisabled {
	opacity: 0.55;
	cursor: not-allowed;
}

/* Comparison */
.dzS2_compare {
	margin-top: 20px;
	border-radius: var(--dz-radius);
	background: var(--dz-card);
	border: 1px solid var(--dz-border);
}

.dzS2_compare > summary,
.dzS2_faq summary {
	cursor: pointer;
	list-style: none;
}

.dzS2_compare > summary::-webkit-details-marker,
.dzS2_faq summary::-webkit-details-marker {
	display: none;
}

.dzS2_compare > summary {
	padding: 18px 22px;
	font-size: 15px;
	font-weight: 800;
}

.dzS2_compare > summary::after,
.dzS2_faq summary::after {
	content: "+";
	float: right;
	color: var(--dz-orange);
	font-weight: 900;
}

.dzS2_compare[open] > summary::after,
.dzS2_faq details[open] summary::after {
	content: "–";
}

.dzS2_compareScroll {
	overflow-x: auto;
	padding: 0 12px 16px;
}

.dzS2_compareTable {
	width: 100%;
	min-width: 620px;
	border-collapse: collapse;
	font-size: 14px;
}

.dzS2_compareTable th,
.dzS2_compareTable td {
	padding: 12px 10px;
	border-top: 1px solid var(--dz-border);
	text-align: left;
	vertical-align: top;
	color: var(--dz-soft);
}

.dzS2_compareTable thead th {
	border-top: 0;
	color: var(--dz-text);
	font-weight: 800;
}

.dzS2_compareTable tbody th {
	color: var(--dz-muted);
	font-weight: 700;
	width: 24%;
}

.dzS2_compareTable .dzS2_colHighlight {
	background: rgba(255, 138, 36, 0.06);
}

.dzS2_yes {
	color: var(--dz-green);
	font-weight: 900;
}

.dzS2_no {
	color: var(--dz-muted);
}

/* Locations */
.dzS2_locations {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dzS2_location {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 16px;
	background: var(--dz-card);
	border: 1px solid var(--dz-border);
}

.dzS2_locFlag {
	font-size: 22px;
	line-height: 1;
}

.dzS2_locName {
	flex: 1;
	font-weight: 700;
	font-size: 14px;
}

.dzS2_locPrice {
	color: var(--dz-muted);
	font-weight: 600;
	font-size: 12px;
}

.dzS2_locStatus {
	padding: 4px 9px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
	color: var(--dz-green);
	background: rgba(53, 208, 127, 0.12);
}

.dzS2_location_few .dzS2_locStatus {
	color: var(--dz-orange-2);
	background: rgba(255, 138, 36, 0.14);
}

.dzS2_location_out {
	opacity: 0.65;
}

.dzS2_location_out .dzS2_locStatus {
	color: var(--dz-muted);
	background: rgba(255, 255, 255, 0.06);
}

/* Reviews */
.dzS2_reviews {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 16px;
}

.dzS2_review {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 22px;
	border-radius: var(--dz-radius);
	background: var(--dz-card);
	border: 1px solid var(--dz-border);
}

.dzS2_review blockquote {
	flex: 1;
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--dz-soft);
	font-size: 14px;
	line-height: 1.65;
}

.dzS2_review figcaption {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}

.dzS2_review figcaption strong {
	display: block;
	color: var(--dz-text);
}

.dzS2_reviewMeta {
	color: var(--dz-muted);
	font-size: 12px;
}

/* FAQ */
.dzS2_faq {
	display: grid;
	gap: 10px;
}

.dzS2_faq details {
	border-radius: 16px;
	background: var(--dz-card);
	border: 1px solid var(--dz-border);
}

.dzS2_faq summary {
	padding: 16px 20px;
	font-weight: 800;
	font-size: 15px;
}

.dzS2_faq details p {
	margin: 0;
	padding: 0 20px 18px;
	color: var(--dz-soft);
	font-size: 14px;
	line-height: 1.65;
}

/* Closing call to action */
.dzS2_cta {
	margin-top: 48px;
	padding: 34px 28px;
	border-radius: calc(var(--dz-radius) + 8px);
	text-align: center;
	background:
		radial-gradient(circle at 50% 0%, rgba(255, 138, 36, 0.18), transparent 55%),
		var(--dz-card);
	border: 1px solid var(--dz-border);
}

.dzS2_cta h2 {
	margin: 0 0 8px;
	font-size: clamp(22px, 2.6vw, 28px);
	font-weight: 900;
}

.dzS2_cta p {
	margin: 0 0 20px;
	color: var(--dz-muted);
}

@media (max-width: 760px) {
	.dzS2_hero {
		padding: 30px 20px 24px;
	}

	.dzS2_trust {
		gap: 8px;
	}

	.dzS2_trust li {
		padding: 6px 10px;
		font-size: 12px;
	}

	.dzS2_plan {
		padding: 20px;
	}

	.dzS2_section {
		margin-top: 34px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dzS2_plan,
	.dzS2 .dzS2_btn {
		transition: none;
	}

	.dzS2_plan:hover,
	.dzS2 .dzS2_btnPrimary:hover {
		transform: none;
	}
}
