/* Service cards and filters. Colours follow the Elementor kit when present. */

.pt-list,
.pt-filters {
	--pt-brand: var(--e-global-color-primary, #f1b61b);
	--pt-ink: #1d1d1b;
	--pt-muted: #6b6b66;
	--pt-radius: 20px;
	font-family: var(--e-global-typography-text-font-family, inherit), sans-serif;
}

.pt-list__count {
	margin: 0 0 0.75rem;
	font-weight: 600;
}

.pt-list__empty {
	padding: 2rem;
	border-radius: var(--pt-radius);
	background: #fff;
	text-align: center;
}

.pt-list *,
.pt-filters *,
.pt-filters *::before,
.pt-filters *::after {
	box-sizing: border-box;
}

/* Grid */

.pt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
	gap: 24px;
}

.pt-grid--transfer {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
}

.pt-card[hidden] {
	display: none;
}

/* Car / tour card */

.pt-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--pt-radius);
	background: #fff;
	color: var(--pt-ink);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.2s, transform 0.2s;
}

.pt-card:hover {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

.pt-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	margin: 10px 10px 0;
	overflow: hidden;
	border-radius: calc(var(--pt-radius) - 8px);
	background: #f4f4f1;
}

.pt-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pt-grid--rental .pt-card__media img {
	object-fit: contain;
}

.pt-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.5rem;
	padding: 16px 20px 20px;
}

.pt-card .pt-card__title {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.25;
}

.pt-card__title a {
	color: var(--pt-brand);
	text-decoration: none;
}

.pt-card__title a:hover {
	text-decoration: underline;
}

.pt-card__meta {
	margin: 0;
	color: var(--pt-muted);
	font-size: 0.85rem;
}

.pt-card__specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 12px;
	margin: 0.25rem 0;
	padding: 0;
	list-style: none;
	font-size: 0.9rem;
}

.pt-card__specs li {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.pt-card__specs .pt-icon {
	flex: 0 0 auto;
	color: var(--pt-brand);
}

.pt-card__perk {
	display: flex;
	gap: 6px;
	margin: 0;
	font-size: 0.8rem;
	line-height: 1.35;
}

.pt-card__perk .pt-icon {
	flex: 0 0 auto;
	color: #2e7d32;
}

.pt-card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 0.5rem;
}

.pt-card__price {
	margin: 0;
}

.pt-card__price strong {
	font-size: 1.5rem;
	line-height: 1;
}

.pt-card__price span {
	color: var(--pt-muted);
	font-size: 0.85rem;
}

.pt-card__cta,
.pt-filters__apply {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: var(--pt-brand);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
}

.pt-card__cta:hover,
.pt-filters__apply:hover {
	background: var(--pt-ink);
	color: #fff;
}

/* Transfer card: photo with text over it */

.pt-tcard {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 340px;
	overflow: hidden;
	border-radius: var(--pt-radius);
	background: var(--pt-ink);
	color: #fff;
	text-align: center;
}

.pt-tcard img.pt-tcard__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.55;
	transition: transform 0.4s, opacity 0.4s;
}

.pt-tcard:hover .pt-tcard__img {
	opacity: 0.45;
	transform: scale(1.03);
}

.pt-tcard__body {
	position: relative;
	width: 100%;
	padding: 24px;
}

.pt-tcard .pt-tcard__title {
	margin: 0 0 0.35rem;
	color: #fff;
	font-weight: 700;
	font-size: 1.25rem;
}

.pt-tcard__title a {
	color: inherit;
	text-decoration: none;
}

/* Whole card clickable through the title link. */
.pt-tcard__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.pt-tcard__text {
	margin: 0 0 0.35rem;
}

.pt-tcard__cta {
	color: var(--pt-brand);
	font-weight: 700;
	text-transform: uppercase;
}

.pt-tcard:focus-within {
	outline: 3px solid var(--pt-brand);
	outline-offset: 2px;
}

/* Filters */

.pt-filters {
	display: grid;
	gap: 1.25rem;
	color: var(--pt-ink);
}

.pt-filters__group {
	display: grid;
	gap: 0.35rem;
	margin: 0;
	padding: 0 0 1.25rem;
	border: 0;
	border-bottom: 1px solid #e6e6e0;
}

.pt-filters__group:last-of-type {
	padding-bottom: 0;
	border-bottom: 0;
}

.pt-filters legend {
	margin-bottom: 0.4rem;
	padding: 0;
	color: var(--pt-brand);
	font-size: 1.05rem;
	font-weight: 600;
}

.pt-filters .pt-filters__check {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 30px;
	margin: 0;
	line-height: 1.3;
	cursor: pointer;
}

.pt-filters__check input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--pt-brand);
}

.pt-filters__range {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.pt-filters__range label {
	flex: 1;
}

.pt-filters input[type="number"],
.pt-filters select {
	width: 100%;
	min-height: 40px;
	padding: 0.35rem 0.6rem;
	border: 1px solid #d6d6cf;
	border-radius: 8px;
	background: #fff;
	font: inherit;
}

.pt-filters__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.pt-filters.is-live .pt-filters__apply {
	display: none;
}

.pt-filters__reset {
	color: var(--pt-muted);
	font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
	.pt-card,
	.pt-tcard__img {
		transition: none;
	}
}
