/**
 * Novo Price List — premium card + "View Details" + "WhatsApp Us" styling.
 *
 * PURE STYLING for the Price List (Packages) cards. Scoped to `.price-list`
 * (and the injected `.ptcf-wa-btn`) so nothing else is affected. Does NOT touch
 * the parent theme or the PT / Novo shortcodes plugin.
 *
 * Loaded after the plugin CSS, so same-specificity rules here win by order.
 */

/* Shared luxury gold gradient (matches the portfolio filter tabs). */
:root {
	--ptcf-pl-gold: linear-gradient(
		135deg,
		#f9edc0 0%,
		#e9cd7d 32%,
		#caa14a 58%,
		#b8863a 76%,
		#e9cd7d 100%
	);
	--ptcf-pl-gold-line: rgba(212, 175, 55, 0.30);
	--ptcf-pl-ink: #1c1608;
}

/* -------------------------------------------------------------------------
 * Premium card
 * ---------------------------------------------------------------------- */
.price-list .item {
	border-radius: 16px;
	/* No `overflow: hidden` here — it would clip the details panel when it
	 * expands upward. border-radius still rounds the background image, and we
	 * round the `.options` bottom corners below to keep the card clean. */
	border: 1px solid var(--ptcf-pl-gold-line);
	background-size: cover;
	background-position: center;
	box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
	transition:
		transform 0.4s ease,
		box-shadow 0.4s ease,
		border-color 0.4s ease;
}

.price-list .item:hover {
	transform: translateY(-6px);
	border-color: rgba(212, 175, 55, 0.6);
	box-shadow:
		0 26px 60px rgba(0, 0, 0, 0.5),
		0 0 0 1px rgba(212, 175, 55, 0.25);
}

/* Card height is auto-managed by the theme JS as (tallest details list + 130px).
 * Instead of forcing a fixed height (which clips the details inside the Owl
 * carousel), we COMPACT the details list further below — the theme then
 * naturally computes a shorter card, and all content stays visible. */

/* Package name — elegant, legible over the photo. */
.price-list .item .h {
	position: relative;
	z-index: 2;
	color: #ffffff;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

/* -------------------------------------------------------------------------
 * Bottom action area (holds View Details + WhatsApp) with a soft scrim so the
 * buttons stay readable over the photo. When "active", the plugin paints its
 * own solid overlay (kept intact).
 * ---------------------------------------------------------------------- */
.price-list .item .options {
	z-index: 2;
	text-align: center;
	border-bottom-left-radius: 16px;
	border-bottom-right-radius: 16px;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.75) 0%,
		rgba(0, 0, 0, 0.38) 55%,
		rgba(0, 0, 0, 0) 100%
	);
}

/* NOTE: The details list (`.wrap`) is shown/hidden by the theme's native
 * jQuery slideDown()/slideUp() (inline display) — we must NOT force its display
 * here or it fights the animation. */

/* -------------------------------------------------------------------------
 * "View Details" button — gold gradient pill (matches the gallery tabs)
 * ---------------------------------------------------------------------- */
.price-list .item .options .button-style1 {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: min(230px, 80%);
	margin: 0 auto;
	padding: 12px 24px;
	border: 0 !important;
	border-radius: 999px;
	background: var(--ptcf-pl-gold) !important;
	color: var(--ptcf-pl-ink) !important;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1;
	box-shadow:
		0 0 20px rgba(212, 175, 55, 0.4),
		0 8px 20px rgba(201, 162, 75, 0.32);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.price-list .item .options .button-style1:hover,
.price-list .item .options .button-style1.active {
	color: var(--ptcf-pl-ink) !important;
	transform: translateY(-2px);
	box-shadow:
		0 0 28px rgba(212, 175, 55, 0.6),
		0 10px 26px rgba(201, 162, 75, 0.45);
}

/* The +/- indicator lines: keep them dark on the gold, hover-safe. */
.price-list .item .options .button-style1 span,
.price-list .item .options .button-style1 span:after,
.price-list .item .options .button-style1:hover span,
.price-list .item .options .button-style1:hover span:after {
	background: var(--ptcf-pl-ink) !important;
}

/* -------------------------------------------------------------------------
 * Details panel — compact + premium (so all content shows, card stays short)
 * ---------------------------------------------------------------------- */

/* Trim the empty space above the heading so the card is shorter. */
.price-list .item {
	padding-top: 32px;
}

/* Tighter overall padding on the action/details area. */
.price-list .item .options {
	padding: 16px 16px 20px;
	margin-top: 0;
}

.price-list .item .options .wrap {
	padding-bottom: 12px;
}

/* "Session Parameters:" style sub-heading. */
.price-list .item .heading-decor {
	margin-bottom: 10px;
}

.price-list .item .heading-decor h5,
.price-list .item .heading-decor h4,
.price-list .item .heading-decor h6 {
	margin: 0;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #e9cd7d; /* gold accent */
}

/* Each feature line — smaller, tighter, elegant. */
.price-list .item .o-row {
	font-size: 12.5px;
	font-weight: 300;
	line-height: 1.4;
	margin: 0;
}

/* Compact the divider between rows (was a big 20px gap). */
.price-list .item .o-row:not(:last-of-type) {
	margin-bottom: 0;
}

.price-list .item .o-row:not(:last-of-type):after {
	width: 14px;
	margin: 6px auto;
	opacity: 0.28;
}

/* -------------------------------------------------------------------------
 * "WhatsApp Us" button
 * ---------------------------------------------------------------------- */
.ptcf-wa-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	margin: 14px 0 0;
	padding: 13px 20px;
	border: 0;
	border-radius: 999px;
	background: #25d366;
	color: #ffffff !important;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
	transition:
		background 0.3s ease,
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.ptcf-wa-btn:hover,
.ptcf-wa-btn:focus {
	background: #1ebe5b;
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
}

.ptcf-wa-btn:active {
	transform: translateY(0);
}

.ptcf-wa-btn:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.ptcf-wa-btn .ptcf-wa-icon {
	display: inline-flex;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
}

.ptcf-wa-btn .ptcf-wa-icon svg {
	width: 100%;
	height: 100%;
	fill: #ffffff;
	display: block;
}

.ptcf-wa-btn .ptcf-wa-label {
	position: relative;
	top: 1px;
}

/* Inside a price-list card, match the WhatsApp button to the gold pill width
 * and sit it neatly under "View Details". */
.price-list .item .options .ptcf-wa-btn {
	width: min(230px, 80%);
	margin: 12px auto 0;
}

/* -------------------------------------------------------------------------
 * Responsive
 * ---------------------------------------------------------------------- */
@media screen and (max-width: 600px) {
	.price-list .item .options .button-style1,
	.price-list .item .options .ptcf-wa-btn {
		width: min(260px, 90%);
	}

	.ptcf-wa-btn {
		padding: 12px 18px;
	}
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
	.price-list .item,
	.price-list .item .options .button-style1,
	.ptcf-wa-btn {
		transition: none;
	}
}
