.nd-platform-payload-image {
	max-width: 100%;
	height: auto;
	object-fit: contain;
	pointer-events: none;
}

.nd-platform-payload-configurator {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.nd-platform-compliance-switcher {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	align-self: flex-start;
	color: var(--nd-ph-muted, #D7E1E6);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
}

.nd-platform-compliance-switcher .nd-product-price-switcher__button {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 6.4rem;
	min-height: 2.25rem;
	padding: 0.42rem 0.8rem;
	border: 1px solid rgba(156, 177, 190, 0.28);
	border-radius: 0.45rem;
	background: rgba(255, 255, 255, 0.035);
	box-shadow: none;
	color: inherit;
	cursor: pointer;
	font: inherit;
	transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.nd-platform-compliance-switcher .nd-product-price-switcher__button.is-active {
	border-color: var(--nd-ph-accent, #13BFE9);
	color: var(--nd-ph-accent, #13BFE9);
}

.nd-platform-payload-switcher {
	display: block;
	margin: 0 0 10px;
	max-width: 440px;
	padding: 0;
	width: 100%;
}

.nd-platform-payload-dropdown {
	position: relative;
	width: 100%;
}

.nd-platform-payload-dropdown.is-open {
	z-index: 100;
}

.nd-platform-payload-dropdown__trigger {
	align-items: center;
	appearance: none;
	-webkit-appearance: none;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(156, 177, 190, 0.28);
	border-radius: 8px;
	color: inherit;
	cursor: pointer;
	display: grid;
	font: inherit;
	grid-template-columns: minmax(0, 1fr) auto;
	min-height: 58px;
	padding: 8px 42px 8px 12px;
	position: relative;
	text-align: left;
	width: 100%;
}

.nd-platform-payload-dropdown__trigger:hover,
.nd-platform-payload-dropdown__trigger:focus-visible,
.nd-platform-payload-dropdown.is-open .nd-platform-payload-dropdown__trigger {
	border-color: var(--nd-ph-accent, #13BFE9);
	outline: none;
}

.nd-platform-payload-dropdown__meta {
	color: var(--nd-ph-muted, #D7E1E6);
	font-size: 10px;
	font-weight: 700;
	grid-column: 1;
	letter-spacing: 0.05em;
	line-height: 1.2;
	text-transform: uppercase;
}

.nd-platform-payload-dropdown__selected {
	color: var(--nd-ph-accent, #13BFE9);
	font-size: 17px;
	font-weight: 700;
	grid-column: 1;
	line-height: 1.15;
	margin-top: 3px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nd-platform-payload-dropdown__arrow {
	color: var(--nd-ph-accent, #13BFE9);
	font-size: 12px;
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	transition: transform 0.16s ease;
}

.nd-platform-payload-dropdown.is-open .nd-platform-payload-dropdown__arrow {
	transform: translateY(-50%) rotate(180deg);
}

.nd-platform-payload-dropdown__menu {
	background: rgba(5, 20, 29, 0.98);
	border: 1px solid rgba(19, 191, 233, 0.35);
	border-radius: 10px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
	display: flex;
	flex-wrap: nowrap;
	gap: 22px;
	left: 0;
	margin-top: 6px;
	max-height: min(320px, 52vh);
	overflow-x: auto;
	overflow-y: auto;
	padding: 12px;
	position: absolute;
	top: 100%;
	width: min(900px, calc(100vw - 32px));
	z-index: 100;
}

.nd-platform-payload-dropdown__menu[hidden] {
	display: none;
}

.nd-platform-payload-dropdown__group {
	align-self: start;
	flex: 1 0 150px;
	min-width: 150px;
}

.nd-platform-payload-dropdown__manufacturer {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--nd-ph-muted, #D7E1E6);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.07em;
	margin-bottom: 4px;
	padding: 2px 8px 6px;
	text-transform: uppercase;
}

.nd-platform-payload-dropdown__option {
	align-items: center;
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: 0;
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	display: flex;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	gap: 8px;
	justify-content: space-between;
	line-height: 1.25;
	padding: 8px;
	text-align: left;
	width: 100%;
}

.nd-platform-payload-dropdown__option:hover,
.nd-platform-payload-dropdown__option:focus-visible,
.nd-platform-payload-dropdown__option.is-active {
	background: rgba(19, 191, 233, 0.12);
	color: var(--nd-ph-accent, #13BFE9);
	outline: none;
}

.nd-platform-payload-dropdown__check {
	opacity: 0;
}

.nd-platform-payload-dropdown__option.is-active .nd-platform-payload-dropdown__check {
	opacity: 1;
}

.nd-platform-dynamic-slot > .nd-specs-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 0 0 12px;
	max-width: 720px;
	padding: 0;
	width: 100%;
}

.nd-platform-dynamic-slot > .nd-specs-grid > .nd-spec {
	border-left: 1px solid rgba(255, 255, 255, 0.14);
	box-sizing: border-box;
	grid-column: auto;
	margin: 0;
	min-width: 0;
	padding: 0 12px;
	position: relative;
}

.nd-platform-dynamic-slot > .nd-specs-grid > .nd-spec:first-child {
	border-left: 0;
	padding-left: 0;
}

.nd-platform-dynamic-slot > .nd-specs-grid .nd-spec__value {
	color: var(--nd-ph-accent, #13BFE9);
	display: block;
	font-size: clamp(16px, 1.1vw, 20px);
	font-weight: 700;
	line-height: 1.05;
	margin: 0 0 3px;
	max-width: 100%;
	white-space: normal;
}

.nd-platform-dynamic-slot > .nd-specs-grid .nd-spec__label {
	color: var(--nd-ph-muted, #D7E1E6);
	display: block;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.28;
	margin: 0;
	max-width: 100%;
	white-space: normal;
}

.nd-platform-payload-specs .nd-platform-status .nd-spec__value {
	font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.nd-platform-status--confirmed .nd-spec__value,
.nd-platform-status--theoretically_compatible .nd-spec__value {
	color: #16845b;
}

.nd-platform-status--unknown .nd-spec__value {
	color: #9a6a13;
}

.nd-platform-status--incompatible .nd-spec__value,
.nd-platform-config-price--incompatible strong {
	color: #b42318;
}

.nd-platform-config-price {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.nd-platform-config-price__label {
	font-size: 0.875rem;
	opacity: 0.78;
}

.nd-platform-config-price strong {
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	line-height: 1.05;
}

.nd-platform-config-price__prefix {
	font-size: 0.5em;
	font-weight: 600;
}

.nd-platform-manufacturer {
	color: var(--nd-ph-muted, #D7E1E6);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.nd-platform-manufacturer--hero {
	margin: 0 0 0.35rem;
}

.nd-platform-product-card .nd-drone-card__heading-row {
	align-items: flex-start;
	flex-wrap: wrap;
}

.nd-platform-product-card .nd-platform-manufacturer {
	flex-basis: 100%;
	margin: 0 0 0.25rem;
}

.nd-platform-product-card .nd-drone-card__payload-select-wrap {
	position: relative;
	display: block;
	width: 100%;
}

.nd-platform-product-card .nd-drone-card__payload-arrow {
	position: absolute;
	top: 50%;
	right: 0.875rem;
	font-size: 0.75rem;
	line-height: 1;
	pointer-events: none;
	transform: translateY(-50%);
}

.nd-platform-product-card [data-nd-platform-card-specs]:empty {
	display: none;
}

.nd-drone-card__media { position: relative; }
.nd-solution-status { align-items:center; border:1px solid currentColor; border-radius:999px; display:inline-flex; font-size:.66rem; font-weight:800; letter-spacing:.08em; line-height:1; padding:.45rem .6rem; text-transform:uppercase; }
.nd-drone-card__media > .nd-solution-status { left:.75rem; position:absolute; top:.75rem; z-index:2; }
.nd-solution-status--verified { background:var(--nd-ph-accent, #13bfe9); border-color:var(--nd-ph-accent, #13bfe9); box-shadow:0 4px 14px rgba(19,191,233,.22); color:#06212c; }
.nd-solution-status--review { background:var(--nd-drone-catalog-chip-bg, rgba(245,251,255,.92)); border-color:var(--nd-ph-accent, #13bfe9); color:var(--nd-drone-catalog-heading, #102a3a); }
.nd-solution-status__notice { color:var(--nd-ph-muted,#D7E1E6); font-size:.82rem; line-height:1.4; margin:.55rem 0 0; }
.nd-solution-status-row { align-items:center; display:flex; flex-wrap:wrap; gap:.5rem; margin:0 0 .35rem; }
.nd-solution-status-row .nd-platform-manufacturer--hero { margin:0; }
[data-nd-platform-hero-status], [data-npc-hero-status] { display:inline-flex; margin:0; }

.nd-platform-composite {
	display: block;
	position: relative;
	width: 100%;
}

@media (min-width: 768px) {
	.nd-product-hero__visual > .nd-platform-dynamic-slot--image {
		transform: translateY(-40px);
	}
}

.nd-platform-composite__platform {
	display: block;
	height: auto;
	width: 100%;
}

.nd-platform-composite__payload-slot {
	height: var(--nd-platform-slot-height);
	left: var(--nd-platform-slot-x);
	pointer-events: none;
	position: absolute;
	top: calc(var(--nd-platform-slot-y) + var(--nd-platform-slot-offset-y, 0px));
	transform: translate(-50%, -50%) scale(var(--nd-platform-payload-scale, 1));
	transform-origin: center center;
	width: var(--nd-platform-slot-width);
}

body.nd-platform-popup-open .nd-platform-hero--dynamic.nd-platform-popup-visible {
	isolation: isolate;
	overflow: visible !important;
	position: relative !important;
	z-index: 1000000 !important;
}

body.nd-platform-popup-open .nd-platform-hero--dynamic.nd-platform-popup-visible .nd-product-hero__layout,
body.nd-platform-popup-open .nd-platform-hero--dynamic.nd-platform-popup-visible .nd-product-hero__content,
body.nd-platform-popup-open .nd-platform-hero--dynamic.nd-platform-popup-visible .nd-platform-payload-configurator,
body.nd-platform-popup-open .nd-platform-hero--dynamic.nd-platform-popup-visible .nd-platform-payload-switcher,
body.nd-platform-popup-open .nd-platform-hero--dynamic.nd-platform-popup-visible .nd-platform-payload-dropdown {
	overflow: visible !important;
}

body.nd-platform-popup-open .nd-platform-hero--dynamic.nd-platform-popup-visible .nd-product-hero__content {
	position: relative !important;
	z-index: 1000001 !important;
}

body.nd-platform-popup-open .nd-platform-payload-dropdown.is-open {
	position: relative;
	z-index: 1000002 !important;
}

body.nd-platform-popup-open .nd-platform-payload-dropdown.is-open .nd-platform-payload-dropdown__menu {
	z-index: 1000003 !important;
}

@media (max-width: 767px) {
	body.nd-platform-popup-open {
		overflow: hidden;
	}

	.nd-platform-payload-dropdown.is-open {
		z-index: 100000;
	}

	.nd-platform-hero--dynamic.nd-platform-popup-visible .nd-product-hero__content {
		position: relative !important;
		z-index: 99999 !important;
	}

	.nd-platform-payload-dropdown.is-open::before {
		background: rgba(0, 8, 14, 0.74);
		content: '';
		inset: 0;
		position: fixed;
		z-index: 99998;
	}

	.nd-platform-payload-dropdown.is-open .nd-platform-payload-dropdown__menu {
		left: 50%;
		margin-top: 0;
		max-height: min(78vh, 560px);
		max-height: min(78dvh, 560px);
		position: fixed;
		top: 50%;
		transform: translate(-50%, -50%);
		width: min(92vw, 560px);
		z-index: 999999;
	}

	.nd-platform-hero--dynamic .nd-product-hero__layout {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		padding: 30px 18px 18px !important;
	}

	.nd-platform-hero--dynamic .nd-product-hero__content {
		display: contents !important;
	}

	.nd-platform-hero--dynamic .nd-product-hero__content > h1,
	.nd-platform-hero--dynamic .nd-product-hero__content > .wp-block-heading:first-child {
		order: 5;
	}

	.nd-platform-hero--dynamic .nd-product-hero__content > .wp-block-separator {
		order: 20;
	}

	.nd-platform-hero--dynamic .nd-product-hero__content > p:first-of-type,
	.nd-platform-hero--dynamic .nd-product-hero__content > .wp-block-paragraph:first-of-type {
		order: 10;
	}

	.nd-platform-hero--dynamic .nd-product-hero__content > .nd-solution-status-row {
		order: 1;
	}

	.nd-platform-hero--dynamic .nd-product-hero__visual {
		min-height: 0 !important;
		order: 15;
		padding: 4px 0 18px !important;
	}

	.nd-platform-hero--dynamic [data-nd-platform-block="image"] {
		grid-column: 1;
		order: 15;
	}

	.nd-platform-hero--dynamic .nd-product-hero__content > [data-nd-platform-block="specs"] {
		order: 50;
	}

	.nd-platform-hero--dynamic .nd-product-hero__content > .nd-platform-payload-configurator {
		order: 60;
		box-sizing: border-box;
		gap: 12px;
		grid-column: 1;
		min-height: max-content;
		position: relative !important;
		width: 100%;
		z-index: 5;
	}

	.nd-platform-hero--dynamic .nd-product-hero__content > [data-nd-platform-block="price"] {
		box-sizing: border-box;
		grid-column: 1;
		margin: 16px 0 0;
		order: 70;
		position: relative !important;
		width: 100%;
		z-index: 5;
	}

	.nd-platform-hero--dynamic .nd-platform-payload-switcher,
	.nd-platform-hero--dynamic .nd-platform-payload-dropdown,
	.nd-platform-hero--dynamic .nd-platform-config-price,
	.nd-platform-hero--dynamic .nd-solution-status__notice {
		box-sizing: border-box;
		min-height: max-content;
		position: relative !important;
		width: 100%;
	}

	.nd-platform-hero--dynamic .nd-platform-payload-switcher {
		margin: 0;
	}

	.nd-product-hero .nd-platform-payload-configurator {
		display: flex !important;
		flex-direction: column !important;
	}

	.nd-product-hero .nd-platform-payload-configurator > * {
		flex: 0 0 auto;
	}

	.nd-product-hero .nd-platform-payload-dropdown:not(.is-open) {
		position: static !important;
	}

	.nd-product-hero .nd-platform-payload-dropdown.is-open {
		position: static !important;
	}

	.nd-product-hero .nd-platform-payload-dropdown.is-open::before {
		display: none;
	}

	.nd-product-hero .nd-platform-payload-dropdown.is-open .nd-platform-payload-dropdown__menu {
		box-sizing: border-box;
		left: auto;
		margin-top: 8px;
		max-height: min(360px, 48dvh);
		position: static !important;
		transform: none;
		width: 100%;
		z-index: auto !important;
	}

	.nd-platform-hero--dynamic .nd-platform-config-price {
		gap: 6px;
		margin: 0;
	}

	.nd-product-hero .nd-platform-config-price strong {
		display: block;
		line-height: 1.1;
		margin: 0;
	}

	.nd-platform-hero--dynamic .nd-solution-status__notice {
		margin: 0;
	}

	.nd-platform-hero--dynamic .nd-product-hero__content > p:not(:first-of-type),
	.nd-platform-hero--dynamic .nd-product-hero__content > .wp-block-paragraph:not(:first-of-type) {
		order: 80;
	}

	.nd-platform-hero--dynamic .nd-product-hero__content > * {
		order: 80;
		position: relative;
		z-index: 5;
	}

	.nd-platform-hero--dynamic .nd-product-hero__content > .nd-callback-request,
	.nd-platform-hero--dynamic .nd-product-hero__content > .nonadrone-project-form {
		order: 90;
	}

	.nd-platform-hero--dynamic .nd-product-hero__content > .nd-compare-current {
		order: 95;
	}

	.nd-platform-dynamic-slot > .nd-specs-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nd-platform-dynamic-slot > .nd-specs-grid > .nd-spec {
		border-left: 1px solid rgba(255, 255, 255, 0.1);
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		margin: 0;
		padding: 12px 14px;
	}

	.nd-platform-dynamic-slot > .nd-specs-grid > .nd-spec:nth-child(odd) {
		border-left: 0;
		padding-left: 0;
	}

	.nd-platform-dynamic-slot > .nd-specs-grid > .nd-spec:nth-child(-n + 2) {
		border-top: 0;
		padding-top: 0;
	}

	.nd-platform-payload-dropdown__menu {
		display: grid;
		grid-template-columns: 1fr;
		max-height: min(360px, 55vh);
		overflow-x: hidden;
		width: 100%;
	}
}

.nd-platform-composite__payload {
	animation: nd-hero-zoom 12s ease-in-out infinite alternate;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
	transform-origin: center center;
	width: 100%;
}

@media (prefers-reduced-motion: reduce) {
	.nd-platform-composite__payload {
		animation: none;
	}
}
