.jcpl,
.jcpl * {
	box-sizing: border-box;
}

.jcpl {
	--jcpl-primary: #0868e8;
	--jcpl-primary-light: #1aa4e8;
	--jcpl-dark: #071f4f;
	--jcpl-text: #536581;
	--jcpl-border: #d9e8fa;
	width: min(100%, 1460px);
	margin: 0 auto;
	padding: clamp(28px, 4vw, 64px) clamp(12px, 3vw, 38px);
	color: var(--jcpl-dark);
	font-family: inherit;
}

.jcpl a {
	color: inherit;
}

.jcpl-hero {
	max-width: 780px;
	margin: 0 auto clamp(28px, 4vw, 50px);
	text-align: center;
}

.jcpl-eyebrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 13px;
	padding: 8px 14px;
	border: 1px solid #cfe2ff;
	border-radius: 999px;
	background: #f7fbff;
	color: var(--jcpl-primary);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .11em;
	line-height: 1;
}

.jcpl-main-title {
	margin: 0;
	color: var(--jcpl-dark);
	font-size: clamp(34px, 5vw, 58px);
	font-weight: 900;
	letter-spacing: -.045em;
	line-height: 1.05;
}

.jcpl-main-title span {
	color: var(--jcpl-primary);
}

.jcpl-hero p {
	max-width: 680px;
	margin: 20px auto 0;
	color: var(--jcpl-text);
	font-size: clamp(15px, 1.4vw, 18px);
	line-height: 1.75;
}

.jcpl-tools {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 22px;
	padding: 12px;
	border: 1px solid var(--jcpl-border);
	border-radius: 20px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 14px 42px rgba(7, 31, 79, .06);
}

.jcpl-nav {
	display: flex;
	flex: 1;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: thin;
}

.jcpl-nav a {
	flex: 0 0 auto;
	padding: 10px 14px;
	border: 1px solid #dce9fa;
	border-radius: 999px;
	background: #f7fbff;
	color: var(--jcpl-dark);
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
	transition: .2s ease;
}

.jcpl-nav a:hover,
.jcpl-nav a:focus-visible {
	border-color: var(--jcpl-primary);
	background: var(--jcpl-primary);
	color: #fff;
	outline: none;
}

.jcpl-search {
	position: relative;
	flex: 0 1 300px;
	min-width: 220px;
}

.jcpl-search svg {
	position: absolute;
	top: 50%;
	left: 15px;
	width: 18px;
	height: 18px;
	fill: none;
	stroke: var(--jcpl-primary);
	stroke-linecap: round;
	stroke-width: 2;
	transform: translateY(-50%);
	pointer-events: none;
}

.jcpl-search input {
	width: 100%;
	height: 44px;
	padding: 0 16px 0 44px;
	border: 1px solid #cfdff4;
	border-radius: 999px;
	background: #fbfdff;
	color: var(--jcpl-dark);
	font: inherit;
	font-size: 14px;
	outline: none;
	transition: .2s ease;
}

.jcpl-search input:focus {
	border-color: var(--jcpl-primary);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--jcpl-primary) 10%, transparent);
}

.jcpl-categories {
	display: grid;
	gap: 30px;
}

.jcpl-category {
	scroll-margin-top: 30px;
	overflow: hidden;
	border: 1px solid var(--jcpl-border);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 18px 54px rgba(7, 31, 79, .075);
}

.jcpl-category[hidden] {
	display: none !important;
}

.jcpl-category-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px clamp(18px, 3vw, 34px);
	background: linear-gradient(120deg, var(--jcpl-primary-light), var(--jcpl-primary));
	color: #fff;
}

.jcpl-category-head > div > span {
	display: block;
	margin-bottom: 4px;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
	opacity: .84;
}

.jcpl-category-head h3 {
	margin: 0;
	color: #fff;
	font-size: clamp(22px, 2.7vw, 34px);
	font-weight: 900;
	letter-spacing: -.025em;
	line-height: 1.15;
}

.jcpl-category-head p {
	max-width: 740px;
	margin: 8px 0 0;
	color: rgba(255, 255, 255, .88);
	font-size: 13px;
	line-height: 1.6;
}

.jcpl-count {
	flex: 0 0 auto;
	padding: 9px 13px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 999px;
	background: rgba(255, 255, 255, .13);
	font-size: 11px;
	font-weight: 900;
	white-space: nowrap;
}

.jcpl-table-scroll {
	overflow-x: auto;
}

.jcpl-table {
	width: 100%;
	min-width: 720px;
	border-collapse: collapse;
	border-spacing: 0;
}

.jcpl-table th,
.jcpl-table td {
	padding: 18px 20px;
	border-bottom: 1px solid var(--jcpl-border);
	vertical-align: middle;
}

.jcpl-table thead th {
	background: #f4f9ff;
	color: var(--jcpl-primary);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .055em;
	text-align: center;
	text-transform: uppercase;
}

.jcpl-table thead th:first-child {
	min-width: 300px;
	text-align: left;
}

.jcpl-table tbody th {
	font-weight: 400;
	text-align: left;
}

.jcpl-table tbody td {
	min-width: 145px;
	text-align: center;
}

.jcpl-table tbody tr:last-child th,
.jcpl-table tbody tr:last-child td {
	border-bottom: 0;
}

.jcpl-table tbody tr {
	transition: background .2s ease;
}

.jcpl-table tbody tr:hover {
	background: #fbfdff;
}

.jcpl-product {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.jcpl-product-image {
	flex: 0 0 64px;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	overflow: hidden;
	border: 1px solid #e1ecfa;
	border-radius: 16px;
	background: #f8fbff;
}

.jcpl-product-image img {
	display: block;
	width: 100%;
	height: 100%;
	padding: 5px;
	object-fit: contain;
}

.jcpl-product-name {
	display: inline-block;
	color: var(--jcpl-dark);
	font-size: 15px;
	font-weight: 850;
	line-height: 1.4;
	text-decoration: none;
}

.jcpl-product-name:hover {
	color: var(--jcpl-primary);
}

.jcpl-product p {
	max-width: 480px;
	margin: 5px 0 0;
	color: var(--jcpl-text);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.55;
}

.jcpl-price-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 104px;
	min-height: 42px;
	padding: 9px 13px;
	border: 1px solid #b9ddf6;
	border-radius: 12px;
	background: linear-gradient(180deg, #eefaff, #e2f4ff);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
	color: var(--jcpl-primary);
	font-size: 14px;
	font-weight: 900;
	line-height: 1.15;
	white-space: nowrap;
}

.jcpl-price-pill del,
.jcpl-option del {
	margin-right: 5px;
	color: #8c99ad;
	font-size: .82em;
	opacity: .8;
}

.jcpl-price-pill ins,
.jcpl-option ins {
	text-decoration: none;
}

.jcpl-range-separator {
	margin: 0 5px;
	opacity: .6;
}

.jcpl-empty {
	color: #aebace;
	font-weight: 700;
}

.jcpl-list {
	display: grid;
}

.jcpl-list-row {
	display: grid;
	grid-template-columns: minmax(250px, .9fr) minmax(0, 1.6fr);
	gap: 20px;
	align-items: center;
	padding: 19px 24px;
	border-bottom: 1px solid var(--jcpl-border);
}

.jcpl-list-row:last-child {
	border-bottom: 0;
}

.jcpl-list-row:hover {
	background: #fbfdff;
}

.jcpl-options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
	gap: 10px;
}

.jcpl-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 58px;
	padding: 11px 13px;
	border: 1px solid #d6e8fa;
	border-radius: 14px;
	background: linear-gradient(180deg, #fbfdff, #f2f8ff);
}

.jcpl-option > span {
	color: var(--jcpl-text);
	font-size: 11px;
	font-weight: 800;
	line-height: 1.3;
}

.jcpl-option > strong {
	flex: 0 0 auto;
	color: var(--jcpl-primary);
	font-size: 14px;
	font-weight: 900;
	white-space: nowrap;
}

.jcpl-option-single {
	max-width: 220px;
	margin-left: auto;
}

.jcpl-no-results,
.jcpl-message {
	max-width: 900px;
	margin: 24px auto;
	padding: 24px;
	border: 1px solid #dce9fa;
	border-radius: 18px;
	background: #f7fbff;
	color: #60708a;
	font-weight: 700;
	text-align: center;
}

.jcpl [data-jcpl-product][hidden] {
	display: none !important;
}

@media (max-width: 900px) {
	.jcpl-tools {
		align-items: stretch;
		flex-direction: column;
	}

	.jcpl-search {
		flex-basis: auto;
		width: 100%;
	}

	.jcpl-list-row {
		grid-template-columns: 1fr;
	}

	.jcpl-option-single {
		margin-left: 0;
	}
}

@media (max-width: 680px) {
	.jcpl {
		padding-inline: 8px;
	}

	.jcpl-category {
		border-radius: 19px;
	}

	.jcpl-category-head {
		align-items: flex-start;
		flex-direction: column;
		padding: 19px 17px;
	}

	.jcpl-count {
		align-self: flex-start;
	}

	.jcpl-table-scroll {
		overflow: visible;
	}

	.jcpl-table {
		min-width: 0;
	}

	.jcpl-table thead {
		display: none;
	}

	.jcpl-table,
	.jcpl-table tbody,
	.jcpl-table tr,
	.jcpl-table th,
	.jcpl-table td {
		display: block;
		width: 100%;
	}

	.jcpl-table tbody tr {
		padding: 16px;
		border-bottom: 1px solid var(--jcpl-border);
	}

	.jcpl-table tbody tr:last-child {
		border-bottom: 0;
	}

	.jcpl-table th,
	.jcpl-table td {
		padding: 0;
		border: 0;
	}

	.jcpl-table tbody th {
		margin-bottom: 13px;
	}

	.jcpl-table tbody td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		min-width: 0;
		padding: 8px 0;
		text-align: right;
	}

	.jcpl-table tbody td::before {
		content: attr(data-label);
		color: var(--jcpl-text);
		font-size: 11px;
		font-weight: 800;
		text-align: left;
	}

	.jcpl-price-pill {
		min-width: 96px;
	}

	.jcpl-list-row {
		padding: 17px;
	}

	.jcpl-options {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jcpl *,
	.jcpl *::before,
	.jcpl *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

/* Premium visual refresh — v1.1.0 */
.jcpl {
	position: relative;
	isolation: isolate;
}

.jcpl::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 360px;
	background:
		radial-gradient(circle at 12% 20%, rgba(26, 164, 232, .12), transparent 36%),
		radial-gradient(circle at 88% 8%, rgba(8, 104, 232, .10), transparent 32%);
	pointer-events: none;
	z-index: -1;
}

.jcpl-hero {
	position: relative;
	padding: clamp(26px, 4vw, 48px);
	border: 1px solid rgba(217, 232, 250, .9);
	border-radius: 30px;
	background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(244,249,255,.92));
	box-shadow: 0 24px 70px rgba(7, 31, 79, .08);
}

.jcpl-tools {
	position: sticky;
	top: 12px;
	z-index: 20;
	backdrop-filter: blur(14px);
}

.jcpl-category {
	transition: transform .25s ease, box-shadow .25s ease;
}

.jcpl-category:hover {
	transform: translateY(-2px);
	box-shadow: 0 25px 70px rgba(7, 31, 79, .11);
}

.jcpl-category-head {
	position: relative;
	overflow: hidden;
}

.jcpl-category-head::after {
	content: "";
	position: absolute;
	right: -70px;
	top: -95px;
	width: 240px;
	height: 240px;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 50%;
	box-shadow: 0 0 0 35px rgba(255,255,255,.05), 0 0 0 70px rgba(255,255,255,.035);
	pointer-events: none;
}

.jcpl-table tbody tr:nth-child(even),
.jcpl-list-row:nth-child(even) {
	background: rgba(247, 251, 255, .62);
}

.jcpl-product-image {
	box-shadow: 0 8px 24px rgba(7, 31, 79, .08);
	transition: transform .2s ease;
}

.jcpl-product:hover .jcpl-product-image {
	transform: scale(1.04);
}

.jcpl-price-pill,
.jcpl-option > strong {
	font-variant-numeric: tabular-nums;
}

@media (max-width: 680px) {
	.jcpl-hero { border-radius: 22px; }
	.jcpl-tools { top: 6px; }
}

/* Category showcase cards and stable toolbar — v1.1.1 */
.jcpl,
.jcpl-tools,
.jcpl-nav,
.jcpl-search {
	min-width: 0;
	max-width: 100%;
}

.jcpl-tools {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	width: 100%;
	overflow: hidden;
	backdrop-filter: none;
}

.jcpl-nav {
	max-width: 100%;
}

.jcpl-search {
	width: min(320px, 100%);
	max-width: 320px;
	flex: 0 1 320px;
}

.jcpl-category-showcase {
	padding: 0;
	background: #fff;
}

.jcpl-category-showcase .jcpl-category-head {
	background: #fff;
	color: var(--jcpl-dark);
	border-bottom: 0;
	padding-bottom: 8px;
}

.jcpl-category-showcase .jcpl-category-head::after {
	display: none;
}

.jcpl-category-showcase .jcpl-category-head > div > span {
	color: var(--jcpl-primary);
	opacity: 1;
}

.jcpl-category-showcase .jcpl-category-head h3 {
	color: #262626;
}

.jcpl-category-showcase .jcpl-category-head p {
	color: var(--jcpl-text);
}

.jcpl-category-showcase .jcpl-count {
	border-color: var(--jcpl-border);
	background: #f7fbff;
	color: var(--jcpl-primary);
}

.jcpl-showcase-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
	gap: 18px;
	justify-content: start;
	padding: 12px clamp(18px, 3vw, 34px) 28px;
}

.jcpl-showcase-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid #cfe2ff;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(7, 31, 79, .05);
	transition: transform .2s ease, box-shadow .2s ease;
}

.jcpl-showcase-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 44px rgba(7, 31, 79, .10);
}

.jcpl-showcase-image {
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 1.35 / 1;
	padding: 14px;
	background: #fff;
	text-decoration: none;
}

.jcpl-showcase-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.jcpl-showcase-placeholder {
	display: grid;
	place-items: center;
	width: 110px;
	height: 110px;
	border-radius: 50%;
	background: #eef7ff;
	color: var(--jcpl-primary);
	font-size: 34px;
	font-weight: 900;
}

.jcpl-showcase-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 0 14px 14px;
}

.jcpl-showcase-content h4 {
	margin: 0 0 14px;
	color: var(--jcpl-dark);
	font-size: 16px;
	font-weight: 900;
	line-height: 1.25;
	text-align: center;
	text-transform: uppercase;
}

.jcpl-showcase-content h4 a {
	text-decoration: none;
}

.jcpl-showcase-content p {
	margin: -4px 0 14px;
	color: var(--jcpl-text);
	font-size: 13px;
	line-height: 1.55;
	text-align: center;
}

.jcpl-quote-button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	margin-top: auto;
	padding: 10px 18px;
	border-radius: 999px;
	background: linear-gradient(180deg, #1c7cff, #0868e8);
	box-shadow: 0 8px 20px rgba(8, 104, 232, .20);
	color: #fff !important;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .01em;
	text-align: center;
	text-decoration: none;
}

.jcpl-quote-button:hover,
.jcpl-quote-button:focus-visible {
	filter: brightness(.96);
	outline: none;
}

@media (max-width: 900px) {
	.jcpl-tools {
		overflow: visible;
	}

	.jcpl-search {
		width: 100%;
		max-width: none;
		flex-basis: auto;
	}
}

@media (max-width: 680px) {
	.jcpl-showcase-grid {
		grid-template-columns: 1fr;
		padding-inline: 14px;
	}
}

/* Complete category navigation + compact sticky toolbar — v1.1.2 */
.jcpl-tools {
	position: sticky !important;
	top: max(8px, env(safe-area-inset-top)) !important;
	z-index: 999;
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 100%;
	padding: 9px 10px;
	overflow: visible;
	background: rgba(255,255,255,.96);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.admin-bar .jcpl-tools {
	top: 40px !important;
}

.jcpl-nav {
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
}

.jcpl-search {
	flex: 0 0 245px;
	width: 245px;
	max-width: 245px;
	min-width: 190px;
}

.jcpl-search input {
	height: 40px;
	font-size: 13px;
}

.jcpl-empty-category {
	display: grid;
	place-items: center;
	gap: 6px;
	min-height: 150px;
	padding: 28px;
	background: linear-gradient(180deg, #fff, #f7fbff);
	color: var(--jcpl-text);
	text-align: center;
}

.jcpl-empty-category strong {
	color: var(--jcpl-dark);
	font-size: 17px;
}

.jcpl-empty-category span {
	font-size: 13px;
}

@media (max-width: 900px) {
	.jcpl-tools {
		flex-direction: row;
		align-items: center;
		gap: 8px;
	}

	.jcpl-nav {
		flex: 1 1 auto;
	}

	.jcpl-search {
		flex: 0 0 205px;
		width: 205px;
		max-width: 205px;
		min-width: 160px;
	}
}

@media (max-width: 680px) {
	.jcpl-tools {
		top: max(4px, env(safe-area-inset-top)) !important;
		flex-wrap: wrap;
		padding: 8px;
		border-radius: 16px;
	}

	.admin-bar .jcpl-tools {
		top: 50px !important;
	}

	.jcpl-nav {
		flex: 1 1 100%;
		order: 1;
	}

	.jcpl-search {
		flex: 1 1 100%;
		order: 2;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.jcpl-search input {
		height: 38px;
	}
}

/* Single-category tab view — v1.1.3 */
.jcpl-nav a.is-active,
.jcpl-nav a[aria-selected="true"] {
	border-color: var(--jcpl-primary);
	background: linear-gradient(180deg, var(--jcpl-primary-light), var(--jcpl-primary));
	color: #fff;
	box-shadow: 0 7px 18px rgba(8, 104, 232, .2);
}

.jcpl-category[hidden] {
	display: none !important;
}

.jcpl-category.is-active {
	animation: jcplCategoryIn .22s ease both;
}

@keyframes jcplCategoryIn {
	from { opacity: 0; transform: translateY(5px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 680px) {
	.jcpl-tools {
		max-height: none;
	}
	.jcpl-nav a {
		padding: 9px 12px;
		font-size: 11px;
	}
}

/* v1.1.4: bottom shortcut back to the sticky category selector */
.jcpl-back-to-categories {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	margin: 28px auto 4px;
	padding: 10px 18px;
	border: 1px solid var(--jcpl-border);
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(7, 31, 79, .08);
	color: var(--jcpl-dark);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.jcpl-category > .jcpl-back-to-categories { display: flex; width: max-content; }
.jcpl-back-to-categories svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.jcpl-back-to-categories:hover,
.jcpl-back-to-categories:focus-visible { transform: translateY(-2px); border-color: var(--jcpl-primary); box-shadow: 0 12px 30px rgba(8, 104, 232, .15); color: var(--jcpl-primary); }
html { scroll-behavior: smooth; }
@media (max-width: 767px) {
	.jcpl-back-to-categories { width: 100%; max-width: 320px; }
}

/* v1.1.5: reliable back-to-category scrolling on all devices */
.jcpl-tools { scroll-margin-top: 12px; }
.jcpl-back-to-categories { cursor: pointer; }
