/* Strona produktu. */

.product__top {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	align-items: start;
	gap: 64px;
}

@media (max-width: 1023px) {
	.product__top {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}

/* Galeria: zdjęcie główne, miniatury pod spodem (desktop i mobile) */

.gallery {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}

@media (max-width: 1023px) {
	.gallery {
		display: block;
		margin: 0 calc(var(--gutter) * -1);
	}
}

/* Pasek z zdjęciami: przewijany poziomo (dotyk, trackpad, przeciąganie
   kursorem — assets/js/modules/product.js), z zatrzaskiwaniem na całych
   zdjęciach, żeby przy przewijaniu było widać kawałek sąsiedniego. */

.gallery__viewport {
	position: relative;
	grid-row: 1;
	grid-column: 1;
}

.gallery__main {
	display: flex;
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	touch-action: pan-y;
	border-radius: var(--radius);
	background: var(--color-surface);
	aspect-ratio: 1;
	cursor: grab;
	scrollbar-width: none;
}

.gallery__main::-webkit-scrollbar {
	display: none;
}

.gallery__main.is-dragging {
	scroll-behavior: auto;
	cursor: grabbing;
}

@media (max-width: 1023px) {
	.gallery__main {
		border-radius: 0;
	}
}

/* Strzałki po bokach zdjęcia — tylko mobile, na desktopie nawigacja jest
   przez miniaturki/przeciąganie. */

.gallery__arrow {
	display: none;
}

@media (max-width: 1023px) {
	.gallery__arrow {
		position: absolute;
		z-index: 2;
		top: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: transparent;
		color: #FFF;
		font-size: 32px;
		font-weight: 400;
		line-height: 1;
		transform: translateY(-50%);
	}

	.gallery__arrow--prev {
		left: 12px;
	}

	.gallery__arrow--next {
		right: 12px;
	}
}

.gallery__slide {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.gallery__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.gallery__thumbs {
	display: flex;
	flex-wrap: wrap;
	grid-row: 2;
	grid-column: 1;
	gap: 4px;
}

@media (max-width: 1023px) {
	.gallery__thumbs {
		display: none;
	}
}

.gallery__thumb {
	flex: 0 0 76px;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: var(--radius-xsmall);
	background: var(--color-surface);
	aspect-ratio: 1;
}

.gallery__thumb[aria-pressed="true"] {
	border-color: var(--color-text);
}

.gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Kropki paginacji jako nakładka na dole zdjęcia (nie pod zdjęciem) —
   zamiast miniaturek, tylko mobile. Aktywna kropka działa na tej samej
   logice co border aktywnej miniaturki (ten sam aria-pressed,
   aktualizowany w czasie rzeczywistym przez setActive() w product.js). */

.gallery__dots {
	display: none;
}

@media (max-width: 1023px) {
	.gallery__dots {
		position: absolute;
		z-index: 2;
		bottom: 8px;
		left: 50%;
		display: flex;
		gap: 10px;
		transform: translateX(-50%);
	}

	.gallery__dot {
		width: 9px;
		height: 9px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: rgb(0, 0, 0, 0.25);
	}

	.gallery__dot[aria-pressed="true"] {
		background: var(--color-primary);
	}
}

/* Opis zakupu */

.product__summary {
	padding-top: 4px;
}

.product__title {
	font-size: 34px;
	font-weight: 700;
}

@media (max-width: 1023px) {
	.product__title {
		font-size: 26px;
	}
}

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

.product__tag {
	padding: 4px 8px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--color-primary) 10%, var(--color-bg));
	color: var(--color-primary);
	font-size: 13px;
	font-weight: 600;
}

.product-rating {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	color: var(--color-muted);
	font-size: 14px;
	text-decoration: none;
}

.product-rating strong {
	color: var(--color-text);
}

.product__price {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
}

.product__price-current {
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 700;
}

.product__price-regular {
	color: var(--color-muted);
	font-size: 16px;
}

.product__submit {
	text-transform: uppercase;
}

.product__excerpt {
	margin-top: 20px;
	color: var(--color-muted);
}

.product__excerpt p + p,
.product__excerpt ul {
	margin-top: 12px;
}

/* Lista punktów z ikonami SVG (krótki opis produktu) */

.icon-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	color: var(--color-text);
	list-style: none;
}

.icon-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 500;
}

.icon-list li svg {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

.product__form {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 10px;
	margin-top: 28px;
}

.product__form .button {
	grid-column: span 2;
}

.product__form .quantity + .button {
	grid-column: auto;
}

.product__form .button--large {
	min-height: 52px;
	font-size: 17px;
}

/* Fakty zakupowe pod przyciskiem (dostawa, wysyłka, zwrot) */

.purchase-facts {
	display: grid;
	gap: 6px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.purchase-facts__item {
	display: flex;
	align-items: center;
	gap: 6px;
}

.purchase-facts__icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	color: var(--color-muted);
	stroke-width: 2px;
}

.purchase-facts__highlight {
	color: var(--color-success);
	font-weight: 700;
	text-transform: uppercase;
}

.product__payments {
	width: auto;
	max-height: 26px;
	margin: 20px auto 0;
}

.product__phone {
	margin-top: 16px;
	color: var(--color-muted);
	font-size: 14px;
	text-align: center;
}

.product__phone .link {
	color: var(--color-text);
}

/* Przyklejony pasek zakupu */

.has-sticky-buy {
	padding-bottom: 77px;
}

.sticky-buy {
	position: fixed;
	z-index: 40;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 12px 0;
	border-top: 1px solid var(--color-border);
	background: var(--color-bg);
	box-shadow: var(--shadow);
	transform: translateY(100%);
	transition: transform 240ms ease;
	pointer-events: none;
}

.sticky-buy.is-visible {
	transform: translateY(0);
	pointer-events: auto;
}

.sticky-buy__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.sticky-buy__info {
	display: grid;
	min-width: 0;
}

.sticky-buy__name {
	overflow: hidden;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 1023px) {
	.sticky-buy__name {
		font-size: 17px;
	}
}

.sticky-buy__price {
	font-size: 15px;
}

.sticky-buy .button {
	flex-shrink: 0;
}

/* Opis produktu */

.product__content {
	margin-top: 60px;
}

@media (max-width: 1023px) {
	.product__content {
		margin-top: 40px;
	}
}

/* entry-content nie ma już klasy .container — jest pełnej szerokości ekranu,
   żeby tło sekcji (desc-ticker, desc-trust, naprzemienne tła) mogło sięgać
   brzegów. Każdy bezpośredni element sam wyrównuje swoją treść do szerokości
   kontenera strony przez padding (ten sam wzór co .container w base.css),
   zamiast przez max-width + margin: auto — stąd treść ma szerokość
   kontenera, nie węższą. */

.entry-content > section,
.entry-content > p,
.entry-content > ul,
.entry-content > ol {
	padding-right: max(var(--gutter), calc((100% - (var(--container) - var(--gutter) * 2)) / 2));
	padding-left: max(var(--gutter), calc((100% - (var(--container) - var(--gutter) * 2)) / 2));
}

.entry-content > section {
	padding-top: 56px;
	padding-bottom: 56px;
}

@media (max-width: 1023px) {
	.entry-content > section {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}

/* Sekcje opisu (private/*-opis.html, shortcody z description.php) */

.desc-title {
	margin: 0;
	font-size: 38px;
	font-weight: 700;
}

@media (max-width: 1023px) {
	.desc-title {
		font-size: 32px;
	}
}

.desc-lead {
	margin-top: 16px;
	color: var(--color-muted);
	font-size: 18px;
}

@media (max-width: 1023px) {
	.desc-lead {
		font-size: 16px;
	}
}

/* Tło sekcji: wybierane wprost przez klasę na danej sekcji (w treści
   opisu), nie automatycznie po kolejności — przy sekcjach, które czasem
   się nie wyświetlają (np. [top_reviews] bez opinii), automatyczne
   naprzemienne tło po nth-of-type potrafiło się przesunąć na kolejnych
   sekcjach. Działa bezkonfliktowo wszędzie, bo karty/kafelki w środku
   sekcji mają własną ramkę (border), a nie wypełnienie tym samym kolorem
   co tło sekcji. */

.entry-content > section.section--bg {
	background: var(--color-bg);
}

.entry-content > section.section--surface {
	background: var(--color-surface);
}

/* Wspólna ikona w kółku — używana w kafelkach, liście i na dymkach.
   Kolor jest zaszyty w samym SVG (per <path>), więc ten kontener nie
   narzuca fill/stroke z currentColor. */

.desc-icon-circle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--color-primary);
}

.desc-icon-circle svg {
	width: 28px;
	height: 28px;
}

/* Lista z haczykami (✓) — używana w treści sekcji media+tekst */

.entry-content .desc-list {
	display: grid;
	gap: 10px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.entry-content .desc-list li {
	margin: 0;
	font-weight: 400;
}

.entry-content .desc-list li strong {
	font-weight: 700;
}

.entry-content .desc-list li::before {
	content: "✓ ";
	flex-shrink: 0;
	color: var(--color-primary);
	font-weight: 700;
}

/* ===== Pasek zaufania (sekcja 1b): delikatny, bez ramek/kafelków — tylko
   ikona + dwie linie tekstu w rzędzie. Tło sekcji zostaje jasne, bierze je
   z naprzemiennego tła sekcji wyżej (patrz reguła nth-of-type). ===== */

.desc-trustbar__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 14px;
	background-color: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 22px;
	list-style: none;
}

.desc-trustbar__item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 12px;
	align-items: center;
	padding: 12px;
	border: 1px solid var(--color-border);
	background-color: var(--color-bg);
	border-radius: var(--radius);
}

.desc-trustbar__icon {
	grid-row: 1 / 3;
	width: 28px;
	height: 28px;
	flex-shrink: 0;
}

.desc-trustbar__title {
	grid-column: 2;
	font-size: 15px;
	font-weight: 700;
}

.desc-trustbar__text {
	grid-column: 2;
	color: var(--color-muted);
	font-size: 13px;
}

@media (max-width: 1023px) {
	.desc-trustbar__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.desc-trustbar__item {
		padding: 10px;
	}

	.desc-trustbar__icon {
		width: 22px;
		height: 22px;
	}
}

/* ===== Badania naukowe: duże animowane liczby + cytowane źródło ===== */

.desc-stats__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.desc-stat {
	text-align: center;
	background: #FFF;
    padding: 12px;
    border-radius: var(--radius);
}

.desc-stat__value {
	display: block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 40px;
	color: var(--color-primary);
}

.desc-stat__text {
	font-size: 14px;
}

.desc-stat__source {
	display: block;
	margin-top: 10px;
	font-size: 12px;
	font-style: normal;
}

.desc-stat__source a {
	color: var(--color-muted);
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (max-width: 1023px) {
	.desc-stats__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.desc-stat__value {
		font-size: 34px;
	}
}

/* ===== Media + tekst (naprzemiennie): sekcje 1, 2, 7, 8 ===== */

.desc-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 64px;
}

@media (max-width: 1023px) {
	.desc-split {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
}

.desc-split--reverse .desc-split__media {
	order: 2;
}

@media (max-width: 1023px) {
	.desc-split--reverse .desc-split__media {
		order: 0;
	}
}

.desc-split__media {
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--color-surface);
}

.desc-split__media img,
.desc-split__media video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.01);
}

/* Miejsce na zdjęcie, które jeszcze nie zostało wgrane — duży, przygaszony
   ikonowy placeholder zamiast pustego/zepsutego obrazka. */

.desc-split__media--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
}

.desc-split__media--placeholder svg {
	width: 25%;
	height: 25%;
	opacity: 0.3;
}

/* Kontener placeholdera ma zawsze jasne tło (--color-surface, patrz
   .desc-split__media), nawet na .section--black/.section--black — bez tej
   poprawki ikona (stroke="currentColor") dziedziczyłaby jasny kolor
   tekstu sekcji i zlałaby się z jasnym tłem kontenera. */

.section--black .desc-split__media--placeholder {
	color: var(--color-dark);
}

.desc-split__content > * + * {
	margin-top: 16px;
}

.desc-split__content p {
	color: var(--color-muted);
}

.desc-split__steps {
	display: grid;
	gap: 22px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.desc-split__step {
	display: flex;
	gap: 16px;
	margin: 0;
}

.desc-split__step-num {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--color-text);
	color: var(--color-bg);
	font-weight: 700;
	font-size: 16px;
}

/* Na .section--black "--color-text" i "--color-bg" są
   oba jasne (karty mają zostać świetliste na ciemnym tle), więc powyższa
   kombinacja zlałaby się w jasne na jasnym — tu wracamy do wyraźnego
   kontrastu: jasne kółko, ciemna cyfra. */

.section--black .desc-split__step-num {
	background: var(--color-primary);
	color: var(--color-text);
}

.desc-split__step-title {
	margin-top: 0;
	margin-bottom: 4px;
	font-size: 18px;
}

.desc-split__step-text {
	margin: 0;
	color: var(--color-muted);
}

/* ===== Wyśrodkowane kroki, każdy z własnym filmem 1:1 (sekcja "Jak
   stosować") — bez bocznej, wspólnej grafiki jak w .desc-split. ===== */

.desc-steps {
	text-align: center;
}

.desc-steps__lead {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.desc-steps__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	max-width: 900px;
	margin: 40px auto 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 1023px) {
	.desc-steps__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		margin-top: 40px !important;
		max-width: 360px;
	}
}

.desc-steps__media {
	margin: 0 auto;
	max-width: 240px;
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: var(--radius);
	background: var(--color-surface);
}

.desc-steps__media video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.desc-steps__media--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
}

.desc-steps__media--placeholder svg {
	width: 25%;
	height: 25%;
	opacity: 0.3;
}

.desc-steps__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin: 0 auto;
	border-radius: 50%;
	background: var(--color-primary);
	color: var(--color-bg);
	font-weight: 700;
	font-size: 16px;
}

.desc-steps__title {
	margin: 14px 0 4px;
	font-size: 22px;
}

.desc-steps__text {
	margin: 0 auto 10px;
	max-width: 230px;
	color: var(--color-muted);
}

/* Ta sama poprawka kontrastu co przy .desc-split__step-num/
   --placeholder, na wypadek gdyby ta sekcja kiedyś trafiła na
   .section--black. */

.section--black .desc-steps__num {
	background: var(--color-primary);
	color: var(--color-text);
}

.section--black .desc-steps__media--placeholder {
	color: var(--color-dark);
}

/* ===== Filmy od klientów: sekcja 2-kolumnowa jak .desc-split (tekst +
   przycisk po jednej stronie, pozioma karuzela kadrów 9:16 po drugiej).
   Desktop: widać 2,5 filmu. Mobile (sekcja chowa się do jednej kolumny):
   1,5 filmu — jeden cały plus kawałek kolejnego, żeby było widać, że da
   się przewinąć dalej. ===== */

.desc-video-reviews__cta {
	margin-top: 20px;
}

.desc-video-reviews__list {
	display: flex;
	gap: 16px;
	padding: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	cursor: grab;
	list-style: none;
	scrollbar-width: none;
	/* Prawa krawędź (tam, gdzie zawsze widać tylko kawałek kolejnego
	   filmu) rozmywa się do przezroczystości zamiast nagle ucinać kadr. */
	mask-image: linear-gradient(to right, #000 calc(100% - 36px), rgba(0, 0, 0, 0.5) calc(100% - 18px), transparent);
	-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), rgba(0, 0, 0, 0.5) calc(100% - 18px), transparent);
}

.desc-video-reviews__list::-webkit-scrollbar {
	display: none;
}

.desc-video-reviews__list.is-dragging {
	scroll-behavior: auto;
	cursor: grabbing;
}

.desc-video-reviews__item {
	flex: 0 0 auto;
	width: calc((100% - 32px) / 2.5);
	aspect-ratio: 9 / 16;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--color-surface);
	scroll-snap-align: start;
}

.desc-video-reviews__item video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.desc-video-reviews__item--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
}

.desc-video-reviews__item--placeholder svg {
	width: 25%;
	height: 25%;
	opacity: 0.3;
}

@media (max-width: 1023px) {
	.desc-video-reviews__item {
		width: calc((100% - 16px) / 1.5);
	}
}

/* ===== Kafelki z kolorową ikoną: sekcje 4 (obok grafiki), 5, 10 ===== */

.entry-content .desc-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.entry-content .desc-tiles--cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 40px;
}

@media (max-width: 1023px) {
	.entry-content .desc-tiles--cols-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.desc-tile {
	margin: 0;
	padding: 20px;
	background-color: #FFF;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-large);
}

.desc-tile .desc-icon-circle {
	margin-bottom: 14px;
}

.desc-tile__title {
	margin: 0 0 4px 0;
	font-size: 18px;
	font-weight: 700;
}

.desc-tile__text {
	color: var(--color-muted);
}

/* Wariant 2-kolumnowy (.desc-tiles bez --cols-4, sekcja "Dlaczego warto")
   bez białej karty — sama ikona + tytuł + tekst, lepiej wygląda i zajmuje
   mniej miejsca przy wąskim układzie na mobile. */

.desc-tiles:not(.desc-tiles--cols-4) .desc-tile {
	padding: 0;
	background: none;
	border: 0;
}

/* .desc-tile ma stałe białe tło niezależnie od sekcji — na .section--black
   tytuł i tekst dziedziczyłyby jasny (rescoped) kolor i zlewałyby się
   z białą kartą. Wymuszamy tu zawsze ciemny tekst, tak jak na jasnych
   sekcjach. */

.section--black .desc-tile__title {
	color: #FFF;
}

.section--black .desc-tile__text {
	color: var(--color-muted);
}

/* .section--black: bez rażącej białej karty — ikona + tytuł + tekst
   siedzą wprost na czarnym tle, jak w sekcji "Co kryje się pod
   powierzchnią" (numerowane kroki). Tytuł/tekst zostają jasne —
   dziedziczą już poprawnie rescoped --color-text/--color-muted
   z .section--black, bo nie ma tu białej karty, z którą by się zlewały. */

.section--black .desc-tile {
	padding: 0;
	background: none;
	border: 0;
}

/* ===== "Dla kogo" (sekcja 5): nagłówek + kafelki na całą szerokość ===== */

.desc-audience__lead {
	max-width: 640px;
}

/* ===== Versus — porównanie z innymi metodami (sekcja 6) =====
   Desktop i mobile: to samo, zwykła tabela — tylko na mobile bardzo
   stłoczona (mała czcionka, wąskie kolumny, krótkie etykiety w HTML),
   żeby 4 kolumny zmieściły się bez przewijania w poziomie. */

.entry-content .desc-versus__table {
	width: 100%;
	margin-top: 32px;
	border-collapse: collapse;
	background: var(--color-bg);
	border-radius: var(--radius);
	font-size: 15px;
	table-layout: fixed;
	overflow: hidden;
}

.desc-versus__table thead th:not(:first-child) {
	width: 150px;
}

.entry-content .desc-versus__table th,
.entry-content .desc-versus__table td {
	padding: 14px;
	border-bottom: 1px solid var(--color-border);
	text-align: center;
	font-weight: 400;
	line-height: 1.3;
	vertical-align: middle;
}

.entry-content .desc-versus__table th[scope="row"] {
	font-weight: 500;
	text-align: left;
}

.entry-content .desc-versus__table thead th {
	font-weight: 700;
}

.entry-content .desc-versus__table .desc-versus__ours {
	background: #000;
	color: var(--color-on-dark);
	border-left: 1px solid var(--color-border);
	border-right: 1px solid var(--color-border);
	font-weight: 700;
}

.entry-content .desc-versus__table thead .desc-versus__ours {
	border-top: 1px solid var(--color-border);
}

/* Na czarnym tle kolumny "Atamaru" ciemne kółko ✓ (domyślnie
   background: var(--color-text), prawie czarne) zlałoby się z tłem —
   tu odwracamy kontrast: jasne kółko, ciemny checkmark. */

.entry-content .desc-versus__table .desc-versus__ours .desc-yes {
	background: var(--color-bg);
	color: #000;
}

@media (max-width: 1023px) {
	.entry-content .desc-versus__table {
		font-size: 11px;
	}

	.desc-versus__table thead th:not(:first-child) {
		width: 23%;
	}

	.entry-content .desc-versus__table th,
	.entry-content .desc-versus__table td {
		padding: 6px;
	}

	.entry-content .desc-versus__table th[scope="row"] {
		font-size: 10px;
		line-height: 1.25;
	}
}

.desc-yes,
.desc-no {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	font-size: 13px;
	font-weight: 700;
}

.desc-yes {
	background: var(--color-text);
	color: var(--color-bg);
}

.desc-no {
	background: var(--color-border);
	color: var(--color-muted);
}

@media (max-width: 1023px) {
	.desc-no {
		background: #FFF;
	}
}

/* ===== Zamówienie telefoniczne (sekcja 3): ramka ma zostać szerokości
   kontenera, a nie rozciągać się na cały ekran — inaczej obramowanie
   dotykałoby brzegów. ===== */

.entry-content > section.desc-phone {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	width: calc(100% - (var(--gutter) * 2));
	max-width: var(--container);
	margin: 40px auto;
	padding: 40px 48px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}

@media (max-width: 1023px) {
	.entry-content > section.desc-phone {
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
		padding: 28px 24px;
	}
}

.desc-phone__content > * + * {
	margin-top: 8px;
}

.desc-phone__content p {
	color: var(--color-muted);
}

.entry-content .desc-phone__button {
	flex-shrink: 0;
	width: auto;
	color: var(--color-on-primary);
	text-decoration: none;
}

@media (max-width: 1023px) {
	.entry-content .desc-phone__button {
		width: 100%;
	}
}

.desc-phone__hours {
	font-size: 14px;
}

/* ===== Opinie klientów (sekcja 9): karta z grafiką produktu ===== */

.entry-content .desc-reviews__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 1023px) {
	.entry-content .desc-reviews__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		margin-top: 28px;
	}
}

.entry-content .desc-review {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 20px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-large);
}

.desc-review__media {
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: var(--radius);
	background: var(--color-surface);
}

.desc-review__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.desc-review__title {
	margin: 0;
	font-size: 16px;
}

.entry-content .desc-review__text {
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--color-text);
}

.desc-review__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	color: var(--color-muted);
	font-size: 13px;
}

.desc-review__meta strong {
	color: var(--color-text);
}

.desc-review__verified {
	color: var(--color-success);
}

/* ===== Wszystkie opinie i formularz Site Reviews (description_reviews_form()):
   odstępy między tytułem, listą opinii i formularzem — listę opinii renderuje
   wtyczka, ale pola i przycisk formularza dodania opinii stylujemy jak resztę
   sklepu (te same tokeny co .input/.button w base.css). Celujemy w zwykłe
   tagi (input/textarea/button), nie w klasy wtyczki, żeby działało niezależnie
   od tego, jak Site Reviews nazywa swoje elementy. ===== */

.desc-reviews-full > * + * {
	margin-top: 36px;
}

.desc-reviews-form {
	padding: 32px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-large);
	background: var(--color-bg);
}

@media (max-width: 1023px) {
	.desc-reviews-form {
		padding: 24px;
	}
}

.desc-reviews-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 700;
}

.desc-reviews-form p,
.desc-reviews-form fieldset {
	margin: 0 0 20px;
	padding: 0;
	border: 0;
}

.desc-reviews-form input[type="text"],
.desc-reviews-form input[type="email"],
.desc-reviews-form input[type="url"],
.desc-reviews-form textarea,
.desc-reviews-form select {
	width: 100%;
	min-height: 52px;
	padding: 0 16px;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--radius);
	background-color: var(--color-bg);
	font-family: inherit;
	font-size: 16px;
}

.desc-reviews-form textarea {
	min-height: 120px;
	padding: 14px 16px;
}

.desc-reviews-form input:focus,
.desc-reviews-form textarea:focus,
.desc-reviews-form select:focus {
	border-color: var(--color-text);
	outline: none;
}

.desc-reviews-form input[type="radio"],
.desc-reviews-form input[type="checkbox"] {
	accent-color: var(--color-primary);
}

.desc-reviews-form button,
.desc-reviews-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 28px;
	border: 1px solid var(--color-primary);
	border-radius: var(--radius-xsmall);
	background: var(--color-primary);
	color: var(--color-on-primary);
	font-weight: 700;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.desc-reviews-form button:hover,
.desc-reviews-form input[type="submit"]:hover {
	opacity: 0.88;
}

/* ===== FAQ (sekcja 11): <details name="..."> — tylko jeden rozwinięty
   naraz, natywnie, bez JS. Strzałka obraca się razem ze stanem. ===== */

.entry-content .desc-faq__list {
	margin: 32px 0 0;
	padding: 0;
}

.desc-faq__item {
	padding: 14px 0;
	border-bottom: 1px solid var(--color-border);
	overflow: hidden;
}

.desc-faq__item + .desc-faq__item {
	margin-top: 12px;
}

.desc-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	cursor: pointer;
	list-style: none;
	font-weight: 700;
	font-size: 16px;
}

.desc-faq__item summary::-webkit-details-marker {
	display: none;
}

.desc-faq__item summary::after {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--color-surface);
	color: var(--color-text);
	font-weight: 400;
	font-size: 18px;
	line-height: 24px;
	text-align: center;
	content: "+";
}

.desc-faq__item[open] summary::after {
	content: "–";
}

.desc-faq__item p {
	margin-top: 12px;
	color: var(--color-muted);
}
