/**
 * Wallxer Pricing Tabs widget. The plan cards themselves are styled in pricing.css.
 */

.wlx-ptabs {
	--wlx-ptabs-pad-y: clamp(56px, 7vw, 96px);
	--wlx-ptabs-bar: #f3f4fb;
	--wlx-ptabs-ink: var(--wlx-muted-2, #5a5a6e);
	--wlx-ptabs-active-bg: #ffffff;
	--wlx-ptabs-active-ink: var(--wlx-ink, #14141c);
	--wlx-plan-accent: var(--wlx-brand, #5b63d3);
	--wlx-plan-dark: var(--wlx-ink, #14141c);

	background-color: var(--wlx-bg, #ffffff);
}

.wlx-ptabs__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: var(--wlx-ptabs-pad-y) 20px;
}

.wlx-ptabs .wlx-head {
	margin-bottom: clamp(24px, 3.5vw, 36px);
}

.wlx-ptabs .wlx-head__eyebrow {
	background-color: #ffffff;
}

.wlx-ptabs .wlx-head .wlx-head__title {
	margin-bottom: 14px;
	font-size: clamp(27px, 3.6vw, 40px);
	letter-spacing: -0.01em;
}

.wlx-ptabs .wlx-head .wlx-head__text {
	font-size: 17px;
}

/* Tab bar ------------------------------------------------------------------ */

.wlx-ptabs__bar {
	display: flex;
	overflow-x: auto;
	gap: 6px;
	width: max-content;
	max-width: 100%;
	margin: 0 auto 20px;
	padding: 6px;
	border: 1px solid var(--wlx-line, #e6e7f2);
	border-radius: 999px;
	background: var(--wlx-ptabs-bar);
	scrollbar-width: none;
}

.wlx-ptabs__bar::-webkit-scrollbar {
	display: none;
}

.wlx-ptabs .wlx-ptabs__tab {
	flex: none;
	margin: 0;
	padding: 10px 18px;
	border: 0;
	border-radius: 999px;
	font-family: inherit;
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--wlx-ptabs-ink);
	white-space: nowrap;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

.wlx-ptabs .wlx-ptabs__tab:hover {
	color: var(--wlx-ptabs-active-ink);
	background: transparent;
}

.wlx-ptabs .wlx-ptabs__tab[aria-selected="true"] {
	color: var(--wlx-ptabs-active-ink);
	background: var(--wlx-ptabs-active-bg);
	box-shadow: 0 4px 12px rgba(20, 20, 40, 0.08);
}

.wlx-ptabs .wlx-ptabs__tab:focus-visible {
	outline: 2px solid var(--wlx-brand-dark, #4a52c4);
	outline-offset: 2px;
}

.wlx-ptabs .wlx-ptabs__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	justify-content: center;
	margin: 0 0 clamp(28px, 4vw, 44px);
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--wlx-meta, #6a6a7e);
}

.wlx-ptabs__legend b {
	font-weight: 700;
	color: var(--wlx-ink-2, #26263a);
}

/* Panels ------------------------------------------------------------------- */

.wlx-ptabs__panel[hidden] {
	display: none;
}

.wlx-ptabs__panel:focus-visible {
	outline: 2px solid var(--wlx-brand-dark, #4a52c4);
	outline-offset: 8px;
	border-radius: 12px;
}

.wlx-ptabs .wlx-plans--single {
	max-width: 560px;
	margin-right: auto;
	margin-left: auto;
}

.wlx-ptabs .wlx-ptabs__subtitle {
	margin: 0 0 18px;
	font-family: var(--wlx-font-heading, "Anek Bangla", "Hind Siliguri", sans-serif);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0;
	color: var(--wlx-ink, #14141c);
	text-align: center;
}

.wlx-ptabs .wlx-ptabs__note {
	margin: 24px 0 0;
	font-size: 15px;
	line-height: 1.7;
	color: var(--wlx-meta, #6a6a7e);
	text-align: center;
	text-wrap: pretty;
}

/* Price table -------------------------------------------------------------- */

.wlx-ptabs__table-wrap {
	overflow: hidden;
	max-width: 760px;
	margin: 0 auto clamp(40px, 5vw, 56px);
}

.wlx-ptabs .wlx-ptabs__table {
	overflow: hidden;
	width: 100%;
	margin: 0;
	border: 1px solid var(--wlx-line, #e6e7f2);
	border-spacing: 0;
	border-collapse: separate;
	border-radius: 20px;
	background: #ffffff;
	table-layout: fixed;
}

.wlx-ptabs__table caption {
	margin-bottom: 14px;
	font-family: var(--wlx-font-heading, "Anek Bangla", "Hind Siliguri", sans-serif);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--wlx-ink, #14141c);
	text-align: center;
	caption-side: top;
}

.wlx-ptabs .wlx-ptabs__table th,
.wlx-ptabs .wlx-ptabs__table td {
	padding: 18px clamp(12px, 3vw, 28px);
	border: 0;
	border-top: 1px solid var(--wlx-line-soft, #ecedf5);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--wlx-muted, #4e4e63);
	text-align: left;
	vertical-align: middle;
	background: transparent;
}

.wlx-ptabs .wlx-ptabs__table thead th {
	padding-top: 12px;
	padding-bottom: 12px;
	border-top: 0;
	font-size: 14px;
	color: var(--wlx-muted-2, #5a5a6e);
	background: #f6f7fd;
}

.wlx-ptabs .wlx-ptabs__table tbody th,
.wlx-ptabs .wlx-ptabs__table tbody td:nth-child(2) {
	font-family: var(--wlx-font-accent, "Baloo Da 2", "Anek Bangla", sans-serif);
	font-size: 20px;
	font-weight: 700;
	color: var(--wlx-ink, #14141c);
}

.wlx-ptabs .wlx-ptabs__table tbody th {
	font-size: 22px;
}

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

	.wlx-ptabs .wlx-ptabs__tab {
		transition: none !important;
	}
}
