/**
 * Strona główna — style uzupełniające (Tailwind CDN).
 */

/* Przyciski — radius/hover jak layout.css (--dk-primary-btn-*) */
.dk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: var(--dk-primary-btn-radius, 0.5rem);
	font-weight: 600;
	transition: var(--dk-primary-btn-transition, background-color 0.15s ease), box-shadow 0.2s ease;
}

.dk-btn--primary {
	background-color: var(--dk-primary-btn-bg, #0a0a0a);
	color: var(--dk-primary-btn-color, #fff);
	padding: 1rem 2rem;
	font-size: 1.125rem;
	box-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.35);
}

.dk-btn--primary:hover {
	background-color: var(--dk-primary-btn-bg-hover, #262626);
	color: var(--dk-primary-btn-color, #fff);
}

.dk-btn--benefits {
	font-size: 1rem;
	padding: 0.875rem 1.75rem;
}

.dk-btn--card {
	width: 100%;
	background-color: var(--dk-primary-btn-bg, #0a0a0a);
	color: var(--dk-primary-btn-color, #fff);
	padding: 0.875rem 1.5rem;
	font-size: 0.9375rem;
}

.dk-btn--card:hover {
	background-color: var(--dk-primary-btn-bg-hover, #262626);
	color: var(--dk-primary-btn-color, #fff);
}

/* Nagłówki sekcji */
.dk-section-title {
	font-size: clamp(1.75rem, 3.5vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #0a0a0a;
	text-wrap: balance;
}

/* Nagłówek filarów — jedna linia na desktopie */
.dk-section-title--oneline {
	text-wrap: nowrap;
	white-space: nowrap;
	font-size: clamp(1.25rem, 2.8vw, 2.75rem);
}

@media (max-width: 639px) {
	.dk-section-title--oneline {
		white-space: normal;
		text-wrap: balance;
		font-size: clamp(1.35rem, 5vw, 1.75rem);
	}
}

/* Sticky stack — filary (spacer tylko na scroll sticky, bez nadmiaru) */
.dk-pillar-stack {
	padding-bottom: 0;
	isolation: isolate;
}

.dk-pillar-stack__spacer {
	height: 2.5rem;
}

@media (min-width: 768px) {
	.dk-pillar-stack__spacer {
		height: 4rem;
	}
}

#pillars {
	padding-bottom: 3rem;
}

@media (min-width: 768px) {
	#pillars {
		padding-bottom: 4rem;
	}
}

.dk-pillar-card {
	overflow: visible;
	border-radius: 1.75rem;
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: #fff;
	box-shadow: 0 10px 36px -18px rgba(0, 0, 0, 0.12);
	transition: opacity 0.35s ease, box-shadow 0.35s ease;
}

.dk-pillar-card__inner {
	overflow: hidden;
	border-radius: inherit;
}

/* Karty „za” stosem — niższy z-index (JS) + mniejsza opacity */
.dk-pillar-card.is-stack-past {
	opacity: 0.72;
	box-shadow: 0 4px 20px -14px rgba(0, 0, 0, 0.06);
}

.dk-pillar-card.is-stack-top {
	opacity: 1;
	box-shadow: 0 10px 36px -18px rgba(0, 0, 0, 0.12);
}

.dk-pillar-card.is-stack-below {
	opacity: 1;
}

/* Mobile — zwykły układ (bez sticky stack); animacja tylko od md */
@media (max-width: 767px) {
	.dk-pillar-stack .dk-pillar-card {
		position: static !important;
		top: auto !important;
		z-index: auto !important;
	}

	.dk-pillar-card.is-stack-past,
	.dk-pillar-card.is-stack-top,
	.dk-pillar-card.is-stack-below {
		opacity: 1;
		box-shadow: 0 10px 36px -18px rgba(0, 0, 0, 0.12);
	}

	.dk-pillar-stack__spacer {
		display: none;
	}
}

/* Produkty — ikona bez tła (strona główna + sklep) */
.dk-product-card {
	text-decoration: none;
	color: inherit;
}

.dk-product-icon {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: auto;
	height: auto;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.dk-product-icon-img {
	display: block;
	width: 5.5rem;
	height: 5.5rem;
	object-fit: contain;
	object-position: left center;
	transition: transform 0.25s ease;
}

.dk-product-card:hover .dk-product-icon-img {
	transform: scale(1.06);
}

.dk-product-link {
	transition: color 0.2s ease;
}

.dk-product-card:hover .dk-product-link {
	color: #525252;
}

/* Hero — opis (jak Elementor: #959595 + słowa kluczowe #000) */
.dk-hero-desc {
	margin-bottom: 2.5rem;
	width: 100%;
	max-width: none;
	color: #959595;
	font-size: 17px;
	font-weight: 500;
	line-height: 32px;
}

@media (min-width: 768px) {
	.dk-hero-desc {
		font-size: 20px;
	}
}

.dk-hero-desc__emph,
.dk-hero-desc strong {
	color: #000000;
	font-weight: 700;
}

/* Hero — pasek Trustpilot / WordPress */
.dk-hero-trust {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	max-width: 28rem;
	border-radius: 1rem;
	border: 1px solid rgba(0, 0, 0, 0.06);
	background: rgba(250, 250, 250, 0.9);
	padding: 0.25rem;
	gap: 0;
}

.dk-hero-trust__item {
	display: grid;
	grid-template-columns: 5.75rem 1fr;
	align-items: center;
	column-gap: 0.75rem;
	padding: 0.625rem 0.875rem;
	border-radius: 0.75rem;
	text-decoration: none;
	color: inherit;
	transition: background-color 0.2s ease;
}

/* Ten sam slot — loga wizualnie równe */
.dk-hero-trust__logo-slot {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 5.75rem;
	height: 1.375rem;
	flex-shrink: 0;
}

.dk-hero-trust__logo {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: left center;
}

.dk-hero-trust__logo-slot .dk-hero-trust__logo {
	height: 1.375rem;
	width: auto;
}

.dk-hero-trust__meta {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.15rem;
	min-width: 0;
}

.dk-hero-trust__stars {
	display: flex;
	gap: 0.125rem;
	line-height: 0;
}

.dk-hero-trust__label {
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.25;
	color: #525252;
	white-space: nowrap;
}

.dk-hero-trust__sep {
	display: block;
	flex-shrink: 0;
	background: rgba(0, 0, 0, 0.07);
}

@media (min-width: 520px) {
	.dk-hero-trust {
		flex-direction: row;
		align-items: stretch;
		justify-content: center;
		width: fit-content;
		max-width: 32rem;
	}

	.dk-hero-trust__item {
		flex: 1 1 0;
		min-width: 0;
		border-radius: 0;
	}

	.dk-hero-trust__item:first-of-type {
		padding-right: 0.75rem;
		margin-right: 0;
		border-right: none;
		border-radius: 0.75rem 0 0 0.75rem;
	}

	.dk-hero-trust__item:last-of-type {
		padding-left: 0.75rem;
		border-radius: 0 0.75rem 0.75rem 0;
	}

	.dk-hero-trust__sep {
		width: 1px;
		height: auto;
		align-self: stretch;
		margin: 0.625rem 0;
	}
}

@media (max-width: 519px) {
	.dk-hero-trust {
		padding: 0;
		overflow: hidden;
	}

	.dk-hero-trust__item {
		width: 100%;
		padding: 0.75rem 0.875rem;
		border-radius: 0;
	}

	.dk-hero-trust__item:first-of-type {
		margin-bottom: 0;
		padding-bottom: 0.75rem;
		border-bottom: none;
	}

	.dk-hero-trust__item:last-of-type {
		padding-top: 0.75rem;
		border-radius: 0;
	}

	.dk-hero-trust__sep {
		width: 100%;
		height: 1px;
		margin: 0;
	}
}

/* ═══════════════════════════════════════════════════════
   Hero Split — 2026 redesign (dot-grid background, no particles)
   ═══════════════════════════════════════════════════════ */

.dk-hero-split {
	position: relative;
	background: #ffffff;
	display: flex;
	align-items: center;
}

@media (min-width: 1024px) {
	.dk-hero-split {
		min-height: 80vh;
	}
}

/* Dot grid — via CSS only, zero JS, fades out towards the left */
.dk-hero-split::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle, #9ca3af 1px, transparent 1px);
	background-size: 22px 22px;
	-webkit-mask-image: radial-gradient(ellipse 90% 100% at 72% 50%, rgba(0, 0, 0, 0.65) 0%, transparent 82%);
	mask-image: radial-gradient(ellipse 90% 100% at 72% 50%, rgba(0, 0, 0, 0.65) 0%, transparent 82%);
	pointer-events: none;
	z-index: 0;
}

.dk-hero-split__container {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	padding-top: 4.5rem;
	padding-bottom: 4.5rem;
	gap: 3rem;
	width: 100%;
	min-width: 0;
}

.dk-hero-split__left,
.dk-hero-split__right {
	min-width: 0;
}

@media (min-width: 1024px) {
	.dk-hero-split__container {
		grid-template-columns: 1.15fr 0.85fr;
		padding-top: 5.5rem;
		padding-bottom: 5.5rem;
		gap: 5rem;
	}
}

/* Tagline */
.dk-hero-split__tagline {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.375rem;
	font-size: 1.0625rem;
	font-weight: 600;
	color: #525252;
}

.dk-hero-split__tagline-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #16a34a;
	box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
	flex-shrink: 0;
	animation: dk-hero-pulse 2.5s ease-in-out infinite;
}

@keyframes dk-hero-pulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2); }
	50%       { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.06); }
}

/* Title */
.dk-hero-split__title {
	font-size: clamp(2.25rem, 3.8vw, 3.75rem);
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: #0a0a0a;
	margin-bottom: 1.5rem;
	text-wrap: balance;
}

/* Description — reuse .dk-hero-desc styles, override bottom margin */
.dk-hero-split__desc {
	margin-bottom: 2.25rem !important;
}

/* CTA */
.dk-hero-split__cta {
	display: inline-flex;
	margin-bottom: 2.25rem;
}

/* RIGHT column — widoczna na wszystkich rozmiarach */
.dk-hero-split__right {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 100%;
}

/* Visual container */
.dk-hero-split__visual {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}

@media (min-width: 640px) and (max-width: 1023px) {
	.dk-hero-split__right {
		justify-content: flex-start;
	}

	.dk-hero-split__visual {
		max-width: 420px;
		margin: 0;
	}
}

@media (min-width: 1024px) {
	.dk-hero-split__visual {
		max-width: 400px;
		margin: 0;
	}
}

/* ───────────────────────────────────────────
   Plugin window mockup — animated task list
   ─────────────────────────────────────────── */

.dk-hero-plugin-win {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 1.125rem;
	box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.16), 0 4px 16px -4px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	animation: dk-win-float 7s ease-in-out infinite;
}

@media (max-width: 639px) {
	.dk-hero-split {
		overflow-x: clip;
	}

	.dk-hero-split__container {
		gap: 2rem;
	}

	.dk-hero-plugin-win {
		border-radius: 0.875rem;
		box-shadow: 0 12px 36px -10px rgba(0, 0, 0, 0.12), 0 2px 8px -2px rgba(0, 0, 0, 0.05);
		animation: none;
	}

	.dk-hero-plugin-win__bar {
		padding: 0.5625rem 0.75rem;
		gap: 0.3125rem;
	}

	.dk-hero-plugin-win__dot {
		width: 8px;
		height: 8px;
	}

	.dk-hero-plugin-win__bar-title {
		margin-left: 0.375rem;
		font-size: 0.6875rem;
	}

	.dk-hero-plugin-win__body {
		padding: 0.75rem;
		gap: 0.375rem;
	}

	.dk-hero-plugin-win__row {
		gap: 0.4375rem;
		padding: 0.4375rem 0.5625rem;
		font-size: 0.75rem;
		border-radius: 0.5rem;
	}

	.dk-hero-plugin-win__row-icon svg {
		width: 13px;
		height: 13px;
	}

	.dk-hero-plugin-win__row-check {
		font-size: 0.75rem;
	}

	.dk-hero-plugin-win__row-loader {
		width: 2.75rem;
		height: 3px;
	}

	.dk-hero-plugin-win__footer {
		padding: 0.5rem 0.75rem;
		font-size: 0.6875rem;
	}

	.dk-hero-plugin-win__status-dot {
		width: 6px;
		height: 6px;
	}
}

@keyframes dk-win-float {
	0%, 100% { transform: translateY(0); }
	50%       { transform: translateY(-9px); }
}

/* Title bar */
.dk-hero-plugin-win__bar {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.8125rem 1rem;
	background: #f9fafb;
	border-bottom: 1px solid #f0f0f0;
}

.dk-hero-plugin-win__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
}

.dk-hero-plugin-win__dot--r { background: #ff5f57; }
.dk-hero-plugin-win__dot--y { background: #febc2e; }
.dk-hero-plugin-win__dot--g { background: #28c840; }

.dk-hero-plugin-win__bar-title {
	margin-left: 0.5rem;
	font-size: 0.75rem;
	font-weight: 500;
	color: #9ca3af;
	letter-spacing: 0.01em;
}

/* Body */
.dk-hero-plugin-win__body {
	padding: 1.125rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

/* Individual row */
.dk-hero-plugin-win__row {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.625rem 0.875rem;
	background: #f9fafb;
	border: 1px solid #f3f4f6;
	border-radius: 0.625rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #374151;
	opacity: 0;
	transform: translateY(6px);
}

.dk-hero-plugin-win__row-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #6b7280;
}

.dk-hero-plugin-win__row-icon svg {
	display: block;
}

.dk-hero-plugin-win__row-label {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Check mark (rows 1–3) */
.dk-hero-plugin-win__row-check {
	font-size: 0.875rem;
	font-weight: 700;
	color: #16a34a;
	flex-shrink: 0;
	opacity: 0;
	transform: scale(0.5);
}

/* Indeterminate loader (row 4) */
.dk-hero-plugin-win__row-loader {
	width: 72px;
	height: 4px;
	background: #e5e7eb;
	border-radius: 999px;
	overflow: hidden;
	flex-shrink: 0;
}

.dk-hero-plugin-win__row-bar {
	display: block;
	width: 40%;
	height: 100%;
	background: linear-gradient(90deg, #6366f1, #818cf8);
	border-radius: 999px;
	animation: dk-bar-slide 1.6s ease-in-out infinite;
}

@keyframes dk-bar-slide {
	0%   { transform: translateX(-100%); }
	100% { transform: translateX(250%); }
}

/* ─── Staggered row animations (12s loop) ──
   Baked into @keyframes so the stagger holds
   on every iteration — no animation-delay needed. */

.dk-hero-plugin-win__row--1 { animation: dk-row-1 12s ease-in-out infinite; }
.dk-hero-plugin-win__row--2 { animation: dk-row-2 12s ease-in-out infinite; }
.dk-hero-plugin-win__row--3 { animation: dk-row-3 12s ease-in-out infinite; }
.dk-hero-plugin-win__row--4 { animation: dk-row-4 12s ease-in-out infinite; }

.dk-hero-plugin-win__row--1 .dk-hero-plugin-win__row-check { animation: dk-check-1 12s ease-in-out infinite; }
.dk-hero-plugin-win__row--2 .dk-hero-plugin-win__row-check { animation: dk-check-2 12s ease-in-out infinite; }
.dk-hero-plugin-win__row--3 .dk-hero-plugin-win__row-check { animation: dk-check-3 12s ease-in-out infinite; }

@keyframes dk-row-1 {
	0%    { opacity: 0; transform: translateY(6px); }
	5%    { opacity: 1; transform: translateY(0); }
	80%   { opacity: 1; transform: translateY(0); }
	88%   { opacity: 0; transform: translateY(0); }
	100%  { opacity: 0; }
}

@keyframes dk-row-2 {
	0%    { opacity: 0; }
	13%   { opacity: 0; transform: translateY(6px); }
	18%   { opacity: 1; transform: translateY(0); }
	80%   { opacity: 1; }
	88%   { opacity: 0; }
	100%  { opacity: 0; }
}

@keyframes dk-row-3 {
	0%    { opacity: 0; }
	26%   { opacity: 0; transform: translateY(6px); }
	31%   { opacity: 1; transform: translateY(0); }
	80%   { opacity: 1; }
	88%   { opacity: 0; }
	100%  { opacity: 0; }
}

@keyframes dk-row-4 {
	0%    { opacity: 0; }
	39%   { opacity: 0; transform: translateY(6px); }
	44%   { opacity: 1; transform: translateY(0); }
	80%   { opacity: 1; }
	88%   { opacity: 0; }
	100%  { opacity: 0; }
}

@keyframes dk-check-1 {
	0%    { opacity: 0; transform: scale(0.5); }
	5%    { opacity: 0; transform: scale(0.5); }
	7%    { opacity: 1; transform: scale(1.2); }
	8.5%  { opacity: 1; transform: scale(1); }
	80%   { opacity: 1; }
	88%   { opacity: 0; }
	100%  { opacity: 0; }
}

@keyframes dk-check-2 {
	0%    { opacity: 0; }
	18%   { opacity: 0; transform: scale(0.5); }
	20%   { opacity: 1; transform: scale(1.2); }
	21.5% { opacity: 1; transform: scale(1); }
	80%   { opacity: 1; }
	88%   { opacity: 0; }
	100%  { opacity: 0; }
}

@keyframes dk-check-3 {
	0%    { opacity: 0; }
	31%   { opacity: 0; transform: scale(0.5); }
	33%   { opacity: 1; transform: scale(1.2); }
	34.5% { opacity: 1; transform: scale(1); }
	80%   { opacity: 1; }
	88%   { opacity: 0; }
	100%  { opacity: 0; }
}

/* Footer */
.dk-hero-plugin-win__footer {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.625rem 1.125rem;
	background: #f9fafb;
	border-top: 1px solid #f0f0f0;
	font-size: 0.75rem;
	font-weight: 500;
	color: #6b7280;
}

.dk-hero-plugin-win__status-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #16a34a;
	box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
	flex-shrink: 0;
	animation: dk-hero-pulse 2.5s ease-in-out infinite;
}

/* Reveal on scroll */
.dk-reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.dk-reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* Opinie — nagłówek jak na karcie produktu */
.dk-home-reviews__intro {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
	margin-bottom: 2rem;
}

.dk-home-reviews__intro-row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.25rem;
	width: 100%;
}

.dk-home-reviews__sub {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #525252;
}

.dk-home-reviews__sub p {
	margin: 0;
}

.dk-home-reviews__trust.dk-hero-trust {
	margin: 0;
	width: fit-content;
	max-width: 32rem;
	align-self: flex-start;
	justify-content: flex-start;
	background: #fff;
	border-color: #ebebeb;
}

@media (min-width: 1024px) {
	.dk-home-reviews__title.dk-section-title {
		text-wrap: nowrap;
		white-space: nowrap;
	}

	.dk-home-reviews__intro-row {
		flex-direction: row;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 2rem;
	}

	.dk-home-reviews__sub {
		flex: 1 1 auto;
		min-width: 0;
		max-width: 42rem;
	}

	.dk-home-reviews__trust.dk-hero-trust {
		flex: 0 0 auto;
		align-self: flex-start;
	}
}

/* Opinie — strzałki po bokach slajdera (także mobile) */
.dk-reviews-section {
	position: relative;
}

.dk-reviews-carousel {
	position: relative;
	padding-left: 0;
	padding-right: 0;
}

@media (min-width: 768px) {
	.dk-reviews-carousel {
		padding-left: 3.25rem;
		padding-right: 3.25rem;
	}
}

.dk-reviews-nav {
	position: absolute;
	top: 50%;
	z-index: 10;
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	margin: 0;
	padding: 0;
	border: 1px solid #e5e5e5;
	border-radius: 9999px;
	background: #fff;
	color: #262626;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dk-reviews-nav-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	line-height: 0;
}

.dk-reviews-nav-icon svg {
	display: block;
	width: 1.125rem;
	height: 1.125rem;
}

.dk-reviews-nav:hover {
	background: #0a0a0a;
	border-color: #0a0a0a;
	color: #fff;
}

.dk-reviews-nav:focus,
.dk-reviews-nav:focus-visible {
	outline: none;
}

@media (min-width: 768px) {
	.dk-reviews-nav {
		display: flex;
	}
}

/* Mobile: swipe zamiast strzałek */
@media (max-width: 767px) {
	.dk-reviews-viewport {
		touch-action: pan-y;
	}
}

.dk-reviews-nav--prev {
	left: 0;
}

.dk-reviews-nav--next {
	right: 0;
}

/* Track — przesuwanie zamiast x-show (bez konfliktów z x-cloak) */
.dk-reviews-viewport {
	--pv: 1;
	--card-w: 100%;
}

.dk-reviews-track {
	display: flex;
	align-items: stretch;
	gap: 1.5rem;
	will-change: transform;
}

.dk-reviews-viewport {
	align-self: stretch;
}

.dk-reviews-track--ready {
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.dk-reviews-track .dk-review-card {
	display: flex;
	flex-direction: column;
	width: var(--card-w);
	flex: 0 0 var(--card-w);
	max-width: var(--card-w);
	height: auto;
	align-self: stretch;
}

.dk-review-card__text {
	flex: 1;
	overflow: visible;
}

/* Mobile: jedna karta — wszystkie slajdy tej samej wysokości (najwyższa opinia) */
@media (max-width: 639px) {
	.dk-reviews-viewport {
		min-height: var(--reviews-row-h, auto);
	}

	.dk-reviews-track .dk-review-card {
		min-height: var(--reviews-row-h, auto);
	}
}

/* Fallback szerokości przed pomiarem Alpine */
.dk-reviews-track:not(.dk-reviews-track--ready) .dk-review-card {
	width: 100%;
	flex: 0 0 100%;
	max-width: 100%;
}

@media (min-width: 640px) {
	.dk-reviews-track:not(.dk-reviews-track--ready) .dk-review-card {
		width: calc((100% - 1.5rem) / 2);
		flex: 0 0 calc((100% - 1.5rem) / 2);
		max-width: calc((100% - 1.5rem) / 2);
	}
}

@media (min-width: 1024px) {
	.dk-reviews-track:not(.dk-reviews-track--ready) .dk-review-card {
		width: calc((100% - 3rem) / 3);
		flex: 0 0 calc((100% - 3rem) / 3);
		max-width: calc((100% - 3rem) / 3);
	}
}
