.kpe-ptabs { width: 100%; font-family: 'Poppins', sans-serif; }
.kpe-ptabs *, .kpe-ptabs *::before, .kpe-ptabs *::after { box-sizing: border-box; }

.kpe-ptabs__wrap {
	--kpe-header-w: 310px;
	display: grid;
	grid-template-columns: var(--kpe-header-w) minmax(0, 1fr);
	grid-template-areas: "header nav" "header panels";
	grid-template-rows: auto 1fr;
	column-gap: 36px;
	row-gap: 18px;
	padding: 28px;
	background: #e9f8f6;
	border: 1px solid #cfece7;
	border-radius: 28px;
}
.kpe-ptabs__header { grid-area: header; align-self: center; }
.kpe-ptabs__nav    { grid-area: nav; }
.kpe-ptabs__panels { grid-area: panels; min-width: 0; }

/* header */
.kpe-ptabs__eyebrow { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #0e2a63; }
.kpe-ptabs__title { margin: 0 0 14px; font-size: 32px; font-weight: 800; line-height: 1.15; color: #0e2a63; }
.kpe-ptabs__desc { margin: 0; font-size: 15px; line-height: 1.55; color: #4f8f93; }

/* tabs */
.kpe-ptabs__nav { display: flex; gap: 12px; justify-content: flex-end; }
.kpe-ptabs__tab {
	flex: 1 1 0; min-width: 0; margin: 0; padding: 12px 18px; border: 0; border-radius: 999px;
	background: #d4ecee; color: #123a5c; font-size: 14px; font-weight: 600; line-height: 1.2;
	text-align: center; cursor: pointer; transition: background-color .2s ease, color .2s ease;
	-webkit-appearance: none; appearance: none; box-shadow: none; text-transform: none; letter-spacing: 0;
}
.kpe-ptabs__tab:hover { background: #c3e3e6; color: #123a5c; }
.kpe-ptabs__tab.is-active, .kpe-ptabs__tab.is-active:hover { background: #0e9494; color: #fff; }
.kpe-ptabs__tab:focus-visible, .kpe-ptabs__btn:focus-visible { outline: 3px solid #0e2a63; outline-offset: 2px; }

/* panels */
.kpe-ptabs__panel[hidden] { display: none !important; }
.kpe-ptabs__card {
	display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 26px;
	padding: 14px; background: #fcfffe; border-radius: 26px; box-shadow: 0 8px 26px rgba(14, 42, 99, .05);
}
.kpe-ptabs__image { position: relative; min-height: 320px; overflow: hidden; border-radius: 20px; }
.kpe-ptabs__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.kpe-ptabs__body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 10px 12px 10px 0; min-width: 0; }
.kpe-ptabs__pkg-title { margin: 0 0 12px; font-size: 22px; font-weight: 700; line-height: 1.2; color: #0e2a63; }
.kpe-ptabs__price { display: inline-block; margin-bottom: 16px; padding: 4px 16px; border-radius: 999px; background: #f0307e; color: #fff; font-size: 15px; font-weight: 800; line-height: 1.3; }
.kpe-ptabs__features { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 9px; width: 100%; }
.kpe-ptabs__features li { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 13px; line-height: 1.4; color: #2d4760; }
.kpe-ptabs__check { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; margin-top: 1px; border-radius: 50%; background: #0e9a8f; color: #fff; flex-shrink: 0; }
.kpe-ptabs__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px 20px; border-radius: 999px; background: #f0307e; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; box-shadow: 0 8px 18px rgba(240, 48, 126, .22); transition: background-color .25s ease, transform .2s ease; }
.kpe-ptabs__btn:hover { background: #d81c68; color: #fff; transform: translateY(-2px); }

/* tablet */
@media (max-width: 1024px) {
	.kpe-ptabs__wrap { column-gap: 24px; padding: 24px; }
	.kpe-ptabs__title { font-size: 30px; }
	.kpe-ptabs__image { min-height: 280px; }
}

/* mobile: header / tabs / card stacked */
@media (max-width: 767px) {
	.kpe-ptabs__wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "header" "nav" "panels"; grid-template-rows: auto; row-gap: 16px; padding: 16px; border-radius: 20px; }
	.kpe-ptabs__title { font-size: 28px; margin-bottom: 0; }
	.kpe-ptabs--hide-desc-mobile .kpe-ptabs__desc { display: none; }
	.kpe-ptabs--hide-desc-mobile .kpe-ptabs__title { margin-bottom: 0; }
	.kpe-ptabs__desc { margin-top: 10px; }
	.kpe-ptabs__nav { gap: 8px; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.kpe-ptabs__nav::-webkit-scrollbar { display: none; }
	.kpe-ptabs__tab { flex: 1 0 auto; padding: 10px; font-size: 12px; white-space: nowrap; }
	.kpe-ptabs__card { grid-template-columns: minmax(0, 1fr); padding: 12px 12px 16px; border-radius: 20px; row-gap: 14px; }
	.kpe-ptabs__image { min-height: 190px; border-radius: 16px; }
	.kpe-ptabs__body { padding: 0 4px; justify-content: flex-start; }
	.kpe-ptabs__pkg-title { font-size: 20px; margin-bottom: 10px; }
	.kpe-ptabs__features li { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) { .kpe-ptabs__tab, .kpe-ptabs__btn { transition: none; transform: none !important; } }
