/* Pricing Cards Pro - base structural styles (colors/spacing overridden by Elementor controls) */

.pcp-wrapper {
	width: 100%;
	box-sizing: border-box;
}
.pcp-card a{
    display: inherit !important;
    gap:10px;
}
.pcp-mode-slider .swiper-wrapper .pcp-card{
    margin-top:25px;
}
.pcp-wrapper * { box-sizing: border-box; }

/* Grid mode (default, 3 cards) */
.pcp-grid {
	display: grid;
	align-items: stretch;
}
@media (max-width: 1024px) {
	.pcp-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 680px) {
	.pcp-grid { grid-template-columns: 1fr !important; }
}

/* Slider mode */
.pcp-wrapper.pcp-mode-slider {
	position: relative;
}
.pcp-slider-row {
	display: flex;
	align-items: center;
	gap: 14px;
}
.pcp-swiper {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	padding-top:25px !important;
}
.pcp-swiper .swiper-slide {
	height: auto;
	display: flex;
}
.pcp-swiper-button {
	position: static;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0,0,0,0.12);
	font-size: 14px;
}
.pcp-swiper .swiper-pagination {
	position: static;
	margin-top: 20px;
}
@media (max-width: 680px) {
	.pcp-swiper-button { display: none; }
}

/* In slider mode the badge must stay fully inside the card — anything
   poking outside the card box risks being clipped by Swiper's own
   overflow:hidden, regardless of padding tricks on ancestor elements. */

.pcp-mode-slider .pcp-card.is-highlighted .pcp-card-header {
	margin-top: 0px;
}

/* Card */
.pcp-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	background: #fff;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

/* Badge */
.pcp-badge {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	white-space: nowrap;
	font-weight: 700;
	letter-spacing: .3px;
	text-transform: uppercase;
}

/* Header: icon + title/description */
.pcp-card-header {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 20px;
}
.pcp-icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}
.pcp-heading-text { flex: 1 1 auto; min-width: 0; }
.pcp-title {
	line-height: 1.3;
	margin-bottom: 4px;
}
.pcp-description {
	line-height: 1.45;
}

/* Price */
.pcp-price-row {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 22px;
}
.pcp-price-currency { font-weight: 700; }
.pcp-price-amount { line-height: 1; }
.pcp-price-period { margin-left: 4px; }
.pcp-price-row.pcp-has-discount { margin-bottom: 8px; }

/* Discount row: struck-through original price + discount badge */
.pcp-price-discount-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
}
.pcp-price-original { text-decoration: line-through; }
.pcp-discount-badge {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
}

/* Features */
.pcp-features {
	list-style: none;
	margin: 0 0 12px 0;
	padding: 0;
	flex: 1 1 auto;
}
.pcp-features li {
	display: flex;
	align-items: flex-start;
}
.pcp-features li.pcp-has-link {
	transition: background-color .2s ease;
	cursor: pointer;
}
.pcp-feature-icon {
	flex: 0 0 auto;
	line-height: 1.5;
}
.pcp-feature-text { line-height: 1.5; }
.pcp-feature-link {
	display: contents; /* keeps icon/text as direct flex children of the <li>, so existing gap/alignment controls keep working unchanged */
	text-decoration: none;
	cursor: pointer;
}

/* Expand / Collapse ("View Detail Plan") */
.pcp-features-extra {
	display: none;
	overflow: hidden;
}
.pcp-features-extra.is-open {
	display: block;
}
.pcp-features.pcp-features-more {
	flex: 0 1 auto;
	margin-top: 0;
}
button.pcp-expand-btn:focus{
    background-color: transparent !important;
}
.pcp-expand-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	border: 1px solid transparent;
	background: transparent;
	cursor: pointer;
	font-family: inherit;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.pcp-expand-btn:focus {
	outline: none;
}

/* Expand / Collapse ("View Detail Plan") */
.pcp-features-extra {
	display: none;
	overflow: hidden;
}
.pcp-features-extra.is-open {
	display: block;
}
.pcp-features.pcp-features-more {
	flex: 0 1 auto;
	margin-top: 0;
}
.pcp-expand-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	border: 1px solid transparent;
	background: transparent;
	cursor: pointer;
	font-family: inherit;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.pcp-expand-btn:focus {
	outline: none;
}

/* When expand/collapse is on, cards must size to their OWN content only.
   Left at the default "stretch", CSS Grid rows (and Swiper's own equal-
   slide-height behaviour) match every card in a row to the tallest one —
   so expanding a single card drags its still-collapsed neighbours up to
   the same height, showing as dead space below their content. */
.pcp-wrapper.pcp-has-expand.pcp-mode-grid .pcp-grid {
	align-items: start;
}
.pcp-wrapper.pcp-has-expand .pcp-features {
	flex: 0 1 auto;
}
.pcp-wrapper.pcp-has-expand.pcp-mode-slider .pcp-swiper .swiper-slide {
	height: auto !important;
}

/* Button */
.pcp-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.pcp-button:hover,
.pcp-button:focus {
	text-decoration: none;
}
.pcp-button-icon {
	display: inline-flex;
	align-items: center;
}
.pcp-button-icon i, .pcp-button-icon svg {
	width: 1em;
	height: 1em;
}
