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

.phc-wrap {
	--phc-ink: #111111;
	--phc-black: #000000;
	--phc-muted: #737373;
	--phc-line: #e5e5e5;
	--phc-surface: #ffffff;
	--phc-panel: #f7f7f7;
	--phc-panel-strong: #eeeeee;

	font-family: inherit;
	color: var(--phc-ink);

	width: 100%;
	max-width: 100%;
	min-width: 0;

	margin: 32px 0;

	overflow: hidden;
	contain: layout;
}


/* =========================================================
   TOOLBAR
   ========================================================= */

.phc-toolbar {
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 16px;

	margin-bottom: 10px;
}

.phc-wrap.is-scrollable .phc-toolbar {
	display: flex;
}

.phc-toolbar-hint {
	font-size: 12px;
	line-height: 1.4;
	color: var(--phc-muted);
}

.phc-arrows {
	display: flex;
	gap: 6px;
	flex: 0 0 auto;
}

.phc-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 36px;
	height: 36px;

	padding: 0;

	border: 1px solid var(--phc-black);
	border-radius: 0;

	background: var(--phc-surface);
	color: var(--phc-black);

	cursor: pointer;

	transition:
		background-color .25s ease,
		color .25s ease,
		opacity .2s ease;
}

.phc-arrow:hover:not(:disabled) {
	background: var(--phc-black);
	color: #fff;
}

.phc-arrow:disabled {
	opacity: .28;
	cursor: default;
}

.phc-arrow:focus-visible,
.phc-scroll:focus-visible,
.phc-cta:focus-visible {
	outline: 2px solid var(--phc-black);
	outline-offset: 3px;
}


/* =========================================================
   SCROLL
   ========================================================= */

.phc-scroll {
	position: relative;

	overflow-x: auto;
	overflow-y: hidden;

	-webkit-overflow-scrolling: touch;

	scroll-behavior: smooth;
	scrollbar-width: thin;
	scrollbar-color: #bdbdbd transparent;

	cursor: grab;
}

.phc-scroll.is-dragging {
	cursor: grabbing;
	scroll-behavior: auto;
	user-select: none;
}

.phc-scroll::-webkit-scrollbar {
	height: 7px;
}

.phc-scroll::-webkit-scrollbar-thumb {
	background: #bdbdbd;
	border-radius: 0;
}

.phc-scroll::-webkit-scrollbar-track {
	background: transparent;
}


/* =========================================================
   BADGE MASK
   ========================================================= */

.phc-badge-mask {
	position: sticky;

	top: 0;
	left: 0;

	width: 190px;
	height: 30px;

	margin-bottom: -1px;

	background: var(--phc-surface);

	z-index: 8;

	pointer-events: none;
}

.phc-simple-top-space {
	height: 30px;
}


/* =========================================================
   TABLE
   ========================================================= */

.phc-table-frame {
	background: var(--phc-surface);

	border-top: 1px solid var(--phc-line);
	border-left: 1px solid var(--phc-line);
}

.phc-table {
	width: 100%;

	margin: 0;

	border-collapse: separate;
	border-spacing: 0;

	table-layout: fixed;
}

.phc-table-comparison {
	min-width: 860px;
}

.phc-table-simple {
	min-width: 840px;
}


/* =========================================================
   FEATURE COLUMN
   ========================================================= */

.phc-feature-col,
.phc-package-col {
	border-right: 1px solid var(--phc-line);
	border-bottom: 1px solid var(--phc-line);
}

.phc-feature-col {
	position: sticky;

	left: 0;

	z-index: 4;

	padding: 15px 16px;

	background: #fafafa;

	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;

	text-align: left;
	vertical-align: middle;
}

.phc-corner {
	z-index: 6;
	background: var(--phc-panel);
}


/* =========================================================
   PACKAGE COLUMNS
   ========================================================= */

.phc-package-col {
	padding: 15px 16px;

	background: var(--phc-surface);

	font-size: 13px;
	line-height: 1.45;

	text-align: center;
	vertical-align: middle;
}

.phc-table-simple .phc-package-col {
	text-align: left;
	vertical-align: top;
}

.phc-table thead .phc-package-col {
	position: relative;

	padding: 22px 18px 20px;

	background: var(--phc-panel);

	text-align: center;
	vertical-align: top;

	border-top: 2px solid transparent;
}


/* Alternating rows */

.phc-table tbody tr:nth-child(even) .phc-package-col,
.phc-table tbody tr:nth-child(even) .phc-feature-col {
	background: #fafafa;
}


/* Featured package */
/* 
.phc-package-col.is-featured {
	background: var(--phc-panel-strong);

	border-left: 1px solid var(--phc-black);
	border-right: 1px solid var(--phc-black);
}

.phc-table thead .phc-package-col.is-featured {
	border-top-color: var(--phc-black);
}

.phc-table tbody tr:nth-child(even) .phc-package-col.is-featured {
	background: #e9e9e9;
}

.phc-table tbody tr:last-child .phc-package-col.is-featured {
	border-bottom: 2px solid var(--phc-black);
} */


/* =========================================================
   PACKAGE HEADER
   ========================================================= */

.phc-badge {
	position: absolute;

	top: -22px;
	left: 50%;

	transform: translateX(-50%);

	display: inline-block;

	padding: 6px 10px 5px;

	background: var(--phc-black);
	color: #fff;

	font-size: 9px;
	font-weight: 700;
	line-height: 1.2;

	letter-spacing: .06em;
	text-transform: uppercase;

	white-space: nowrap;

	border-radius: 0;

	z-index: 2;
}

.phc-package-name {
	display: block;

	font-size: 18px;
	font-weight: 700;
	line-height: 1.15;

	letter-spacing: -.01em;

	color: var(--phc-black);
}

.phc-package-price {
	display: block;
	margin-top: 9px;
}

.phc-price-value {
	display: block;

	font-size: 26px;
	font-weight: 700;
	line-height: 1.1;

	letter-spacing: -.025em;

	white-space: nowrap;

	color: var(--phc-black);
}

.phc-price-value small {
	font-size: 9px;
	font-weight: 600;
	line-height: 1;

	letter-spacing: .06em;
	text-transform: uppercase;

	color: var(--phc-muted);
}

.phc-price-unit {
	display: block;

	margin-top: 4px;

	font-size: 9px;
	font-weight: 600;
	line-height: 1.2;

	letter-spacing: .06em;
	text-transform: uppercase;

	color: var(--phc-muted);
}

.phc-package-subtitle {
	display: block;

	max-width: 210px;

	margin: 10px auto 0;

	font-size: 11px;
	font-weight: 400;
	line-height: 1.45;

	color: var(--phc-muted);
}


/* =========================================================
   CELLS
   ========================================================= */

.phc-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	color: var(--phc-black);
}

.phc-dash {
	font-size: 18px;
	line-height: 1;

	color: #bcbcbc;
}

.phc-cell-text,
.phc-simple-cell-text {
	font-size: 12px;
	line-height: 1.45;

	color: var(--phc-ink);
}

.phc-package-col.is-intro .phc-simple-cell-text {
	font-weight: 700;
}


/* =========================================================
   SECTION ROWS
   ========================================================= */

/*
 * Nagłówki sekcji tabeli.
 *
 * Lewa część pozostaje przyklejona tak samo jak feature column,
 * dzięki czemu nazwa sekcji pozostaje widoczna podczas
 * przewijania tabeli w poziomie.
 */

.phc-section-row .phc-section-label,
.phc-section-row .phc-section-fill {
	padding: 15px 18px;

	background: #e9e9e9;
	color: var(--phc-ink);

	border-bottom: 1px solid var(--phc-line);

	font-size: .82rem;
	font-weight: 600;
	line-height: 1.3;

	letter-spacing: .02em;
	text-transform: uppercase;
}

.phc-section-row .phc-section-label {
	position: sticky;

	left: 0;

	z-index: 7;

	min-width: 0;

	text-align: left;

	border-right: 1px solid var(--phc-line);

}

.phc-section-row .phc-section-fill {
	padding-left: 0;
	padding-right: 0;
}

.phc-section-row:first-child .phc-section-label,
.phc-section-row:first-child .phc-section-fill {
	border-top: 0;
}


/* =========================================================
   FEATURE COLUMN WIDTH
   ========================================================= */

/*
 * Desktop:
 * pierwsza kolumna zajmuje 24%.
 *
 * Im mniejszy ekran, tym węższa pierwsza kolumna.
 * Minimalna obsługiwana szerokość ekranu: 360px.
 */

.phc-table-comparison col.phc-feature-col-width {
	width: 24%;
}


/* =========================================================
   NOTE ROW
   ========================================================= */

.phc-note-row .phc-package-col,
.phc-note-row .phc-package-col.is-featured {
	padding-top: 14px;
	padding-bottom: 14px;

	background: #fff;

	font-size: 11px;
	font-style: italic;
	font-weight: 400;
	line-height: 1.4;

	color: var(--phc-muted);
}


/* =========================================================
   CTA
   ========================================================= */

.phc-cta-wrap {
	display: flex;
	justify-content: center;

	margin-top: 22px;
}

.phc-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 42px;

	padding: 13px 24px 12px;

	border: 2px solid var(--phc-black);
	border-radius: 0;

	background: var(--phc-black);
	color: #fff !important;

	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;

	letter-spacing: .04em;
	text-transform: uppercase;

	text-decoration: none !important;

	transition:
		background-color .35s ease,
		color .35s ease;
}

.phc-cta:hover {
	background: #fff;
	color: var(--phc-black) !important;
}


/* =========================================================
   NOTE
   ========================================================= */

.phc-note {
	margin: 12px 0!important;
	font-size: 12px!important;
	line-height: 1.45!important;
	text-align: center;
	color: var(--phc-muted)!important;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.phc-wrap .screen-reader-text {
	position: absolute !important;

	width: 1px !important;
	height: 1px !important;

	padding: 0 !important;
	margin: -1px !important;

	overflow: hidden !important;

	clip: rect(0, 0, 0, 0) !important;

	white-space: nowrap !important;

	border: 0 !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 768px) {

	.phc-table-comparison col.phc-feature-col-width {
		width: 150px;
	}

	.phc-feature-col,
	.phc-section-row .phc-section-label {
		padding-left: 12px;
		padding-right: 12px;
	}

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.phc-wrap {
		margin: 24px 0;
	}

	.phc-toolbar-hint {
		font-size: 11px;
	}

	.phc-feature-col {
		padding: 13px 12px;

		font-size: 12px;
	}

	.phc-package-col {
		padding: 13px 12px;
	}

	.phc-table thead .phc-package-col {
		padding: 18px 12px 16px;
	}

	.phc-package-name {
		font-size: 16px;
	}

	.phc-price-value {
		font-size: 22px;
	}

	.phc-package-subtitle {
		font-size: 10px;
	}

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

	.phc-table-comparison col.phc-feature-col-width {
		width: 125px;
	}

	.phc-feature-col,
	.phc-section-row .phc-section-label {
		padding-left: 10px;
		padding-right: 10px;

		font-size: .8rem;
	}

}


/* =========================================================
   360PX MOBILE
   ========================================================= */

@media (max-width: 380px) {

	.phc-table-comparison col.phc-feature-col-width {
		width: 115px;
	}

	.phc-feature-col,
	.phc-section-row .phc-section-label {
		padding-left: 8px;
		padding-right: 8px;

		font-size: .76rem;
		line-height: 1.3;
	}

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

	.phc-scroll {
		scroll-behavior: auto;
	}

	.phc-arrow,
	.phc-cta {
		transition: none;
	}

}