/**
 * Hybrid Programs — front-end (listing + single shortcodes).
 *
 * Selectors are scoped under the component roots (.hp-listing / shortcode
 * wrappers) and interactive colors are stated explicitly (often with
 * !important) so Elementor / theme resets cannot override them. Design is
 * angular: radius 0, with at most 2px on buttons and badges.
 */

/* The wish trigger + drawer are mounted on <body> (outside any .hp-listing),
   so they must carry the palette vars themselves or every var() below
   computes to invalid inside them (transparent CTA, currentColor borders). */
.hp-listing,
.hp-wish-trigger,
.hp-wish-drawer,
.hp-wish-btn {
	--hp-accent: #cf9d27;
	--hp-ink: #000136;
	--hp-border: #e3e4e7;
	--hp-muted: #646970;
	--hp-single-w: 1200px;

	font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	color: #1d2327;
}

.hp-room-table-wrap,
.hp-gallery-grid,
.hp-related-services {
	font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
}

/* ============================ Layout ============================ */

.hp-listing {
	display: grid;
	grid-template-columns: 30% 1fr;
	gap: 28px;
	align-items: start;
}

@media (max-width: 880px) {
	.hp-listing {
		grid-template-columns: 1fr;
	}
}

.hp-listing .hp-listing-filters {
	padding: 20px;
	border: 1px solid var(--hp-border);
	background: #fff;
}

/* Sticky filter is opt-in (sticky="yes") and DESKTOP-ONLY — a sticky sidebar
   wrecks the scroll flow on tablet/mobile, so it's never sticky there. */
@media (min-width: 881px) {
	.hp-listing.hp-sticky-filters .hp-listing-filters {
		position: sticky;
		top: 24px;
	}
}

.hp-listing .hp-filter-title {
	margin: 0 0 18px;
	font-size: 20px;
	font-weight: 700;
	color: #000;
}

.hp-listing .hp-filter {
	margin: 0 0 16px;
}

.hp-listing .hp-filter > label {
	display: block;
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: #000;
}

.hp-listing .hp-filter input,
.hp-listing .hp-filter select,
.hp-listing .hp-filter .ts-wrapper {
	margin: 0;
}

.hp-listing .hp-filter input[type="search"],
.hp-listing .hp-filter input[type="number"] {
	width: 100%;
	min-height: 40px;
	box-sizing: border-box;
	border: 1px solid var(--hp-border);
	border-radius: 0;
	background: #fff;
	color: #1d2327;
	padding: 0 12px;
}

.hp-listing .hp-filter-note {
	display: block;
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: var(--hp-muted);
}

/* ---- Price row ---- */

.hp-listing .hp-price-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.hp-listing .hp-price-row select {
	flex: 1;
	min-height: 40px;
	border: 1px solid var(--hp-border);
	border-radius: 0;
	background: #fff;
	color: #1d2327;
}

/* ---- TomSelect controls (consistent + professional) ---- */

.hp-listing .hp-filter .ts-wrapper {
	width: 100%;
}

.hp-listing .hp-filter .ts-control {
	min-height: 40px;
	border: 1px solid var(--hp-border) !important;
	border-radius: 0 !important;
	padding: 5px 8px !important;
	background: #fff !important;
	color: #1d2327 !important;
}

.hp-listing .hp-filter .ts-control .item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 2px;
	padding: 3px 4px 3px 10px;
	background: #fbf6e8 !important;
	border: 1px solid var(--hp-accent) !important;
	border-radius: 2px !important;
	color: #1d2327 !important;
	font-size: 14px;
}

.hp-listing .hp-filter .ts-control .item .remove {
	border: 0 !important;
	/* The remove_button plugin adds margin-left: 6px on .item .remove; the .item
	   already has a 6px flex gap, so drop the extra margin. */
	margin: 0 !important;
	padding: 0 6px;
	color: var(--hp-accent) !important;
	font-weight: 700;
	text-decoration: none;
}

.hp-listing .hp-filter .ts-control .item .remove:hover {
	background: transparent !important;
	color: var(--hp-ink) !important;
}

.hp-listing .hp-filter .ts-control .ts-more {
	display: inline-flex;
	align-items: center;
	margin: 2px;
	padding: 4px 10px;
	border-radius: 2px;
	background: var(--hp-accent);
	color: var(--hp-ink);
	font-size: 13px;
	font-weight: 700;
	cursor: default;
}

.hp-listing .hp-filter .ts-dropdown {
	border: 1px solid var(--hp-border);
	border-radius: 0;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}

/* Option hover/active: pale gold (not TomSelect's default blue) — matches the
   active-filter badge tint. */
.hp-listing .hp-filter .ts-dropdown .option.active,
.hp-listing .hp-filter .ts-dropdown .option:hover {
	background-color: #fbf6e8;
	color: #1d2327;
}

/* ---- Reset / gold buttons ---- */

.hp-listing .hp-btn {
	display: inline-block;
	padding: 10px 22px;
	background-color: var(--hp-accent) !important;
	font-family: Montserrat, 'Playfair Display', sans-serif;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .3px;
	color: var(--hp-ink) !important;
	fill: var(--hp-ink);
	border: 0 !important;
	border-radius: 2px !important;
	cursor: pointer;
	text-decoration: none;
}

.hp-listing .hp-btn:hover,
.hp-listing .hp-btn:focus {
	color: #fff !important;
}

.hp-listing .hp-filter-reset {
	width: 100%;
	margin-top: 4px;
}

/* ============================ Toolbar (sort left / view right) ============================ */

.hp-listing .hp-listing-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 40px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}

.hp-listing .hp-listing-sort select {
	height: 40px;
	margin: 0;
	padding: 0 36px 0 14px;
	border: 1px solid var(--hp-border) !important;
	border-radius: 0 !important;
	background-color: #fff !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23646970'%3E%3Cpath d='M5 7l5 5 5-5z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 12px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-size: 15px;
	font-weight: 600;
	color: #1d2327 !important;
	cursor: pointer;
}

.hp-listing .hp-view-switch {
	display: inline-flex;
	height: 40px;
	border: 1px solid var(--hp-border);
	border-radius: 0;
	overflow: hidden;
}

.hp-listing .hp-view-switch button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 38px;
	padding: 0;
	border: 0 !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: var(--hp-muted) !important;
	cursor: pointer;
}

.hp-listing .hp-view-switch button + button {
	border-left: 1px solid var(--hp-border) !important;
}

.hp-listing .hp-view-switch button.is-active {
	background: var(--hp-accent) !important;
	color: #fff !important;
}

.hp-listing .hp-view-switch button svg {
	display: block;
	fill: currentColor;
}

/* ============================ Sub-bar (count left / active filters right) ============================ */

.hp-listing .hp-listing-subbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.hp-listing .hp-listing-count {
	flex: none;
	line-height: 1.6;
	color: var(--hp-muted);
	font-size: 14px;
}

.hp-listing .hp-active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	flex: 1 1 auto;
	justify-content: flex-end;
}

.hp-listing .hp-active-filters:empty {
	display: none;
}

.hp-listing .hp-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 12px;
	border: 1px solid var(--hp-border) !important;
	border-radius: 2px !important;
	background: #fbf6e8 !important;
	color: #1d2327 !important;
	font-size: 13px;
	cursor: pointer;
}

.hp-listing .hp-chip:hover {
	border-color: var(--hp-accent) !important;
}

.hp-listing .hp-chip .hp-chip-x {
	font-size: 15px;
	line-height: 1;
	color: var(--hp-muted);
}

.hp-listing .hp-chip-clear {
	background: transparent !important;
	border-style: dashed !important;
	color: var(--hp-muted) !important;
}

/* ============================ Grid + cards ============================ */

.hp-listing .hp-listing-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, 1fr);
}

.hp-listing .hp-cols-1 { grid-template-columns: 1fr; }
.hp-listing .hp-cols-2 { grid-template-columns: repeat(2, 1fr); }
.hp-listing .hp-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1100px) {
	.hp-listing .hp-listing-grid:not(.hp-view-list) { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
	.hp-listing .hp-listing-grid:not(.hp-view-list) { grid-template-columns: 1fr; }
}

.hp-listing .hp-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--hp-border);
	border-radius: 0;
	overflow: hidden;
	background: #fff;
	transition: box-shadow .15s ease, transform .15s ease;
}

.hp-listing .hp-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
	transform: translateY(-2px);
}

.hp-listing .hp-card.is-featured {
	border-color: var(--hp-accent);
}

.hp-listing .hp-card-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
}

.hp-listing .hp-card-img {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
}

/* Single corner badge (regio / varos / helyszin-tipusa), top-left of the
   media. Shown in card, list and slide views; omitted when the field is empty. */
.hp-listing .hp-card-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	max-width: calc(100% - 16px);
	padding: 4px 9px;
	background: var(--hp-accent);
	color: var(--hp-ink);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
	letter-spacing: .3px;
	border-radius: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hp-listing .hp-card-img--empty {
	background: linear-gradient(135deg, #eceef0, #f6f7f7);
}

.hp-listing .hp-card-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px 16px;
}

.hp-listing .hp-card-title {
	margin: 0;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 700;
	color: #000;
}

.hp-listing .hp-card-title a {
	text-decoration: none;
	color: inherit !important;
}

.hp-listing .hp-card-loc,
.hp-listing .hp-card-type {
	font-size: 13px;
	color: var(--hp-muted);
}

.hp-listing .hp-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 8px;
	padding-top: 10px;
	border-top: 1px solid var(--hp-border);
}

.hp-listing .hp-card-cap {
	font-weight: 600;
	font-size: 14px;
}

.hp-listing .hp-card-price {
	color: var(--hp-accent);
	font-weight: 700;
	letter-spacing: 1px;
}

.hp-listing .hp-no-results {
	grid-column: 1 / -1;
	padding: 40px;
	text-align: center;
	color: var(--hp-muted);
}

/* ============================ List view (35 / 65) ============================ */

.hp-listing .hp-listing-grid.hp-view-list {
	grid-template-columns: 1fr;
	gap: 16px;
}

.hp-listing .hp-card-list {
	flex-direction: row;
}

.hp-listing .hp-card-list .hp-card-media {
	flex: 0 0 35%;
	max-width: 35%;
	align-self: stretch;
	aspect-ratio: auto;
}

.hp-listing .hp-card-list .hp-card-img {
	height: 100%;
	min-height: 210px;
}

.hp-listing .hp-card-list .hp-card-body {
	flex: 1 1 65%;
	justify-content: center;
	gap: 10px;
	padding: 20px 22px;
}

.hp-listing .hp-card-summary {
	margin: 0;
	color: var(--hp-muted);
	line-height: 1.5;
}

.hp-listing .hp-card-metarow {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 2px;
}

.hp-listing .hp-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 16px;
	font-weight: 600;
	color: #1d2327;
}

.hp-listing .hp-meta-item .hp-ic {
	width: 18px;
	height: 18px;
	fill: var(--hp-accent);
	flex: none;
}

/* Details link reuses the gold .hp-btn look; keep it inline-left in the
   list-card flex column instead of stretching to full width. */
.hp-listing .hp-card-btn {
	align-self: flex-start;
	margin-top: 4px;
}

/* List-card action row: Details + optional "request a quote" button side by side. */
.hp-listing .hp-card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	align-self: flex-start;
	margin-top: 4px;
}
.hp-listing .hp-card-actions .hp-card-btn { margin-top: 0; }

@media (max-width: 560px) {
	.hp-listing .hp-card-list {
		flex-direction: column;
	}
	.hp-listing .hp-card-list .hp-card-media {
		flex-basis: auto;
		max-width: 100%;
	}
}

/* ============================ Skeleton ============================ */

.hp-listing .hp-skeleton .hp-skel-media {
	aspect-ratio: 16 / 10;
}

.hp-listing .hp-skel-media,
.hp-listing .hp-skel-line {
	background: linear-gradient(90deg, #eceef0 25%, #f6f7f7 37%, #eceef0 63%);
	background-size: 400% 100%;
	animation: hp-shimmer 1.3s ease infinite;
}

.hp-listing .hp-skel-line {
	height: 14px;
	margin: 14px 16px 0;
}

.hp-listing .hp-skel-line.short {
	width: 55%;
	margin-bottom: 18px;
}

@keyframes hp-shimmer {
	0% { background-position: 100% 0; }
	100% { background-position: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
	.hp-listing .hp-skel-media,
	.hp-listing .hp-skel-line { animation: none; }
}

/* ============================ Pagination (explicit colors — no white-on-white) ============================ */

.hp-listing .hp-listing-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	margin-top: 28px;
}

.hp-listing .hp-listing-pagination .hp-page {
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--hp-border) !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: #1d2327 !important;
	font-size: 14px;
	line-height: 38px;
	cursor: pointer;
}

.hp-listing .hp-listing-pagination .hp-page:hover:not(:disabled) {
	border-color: var(--hp-accent) !important;
	color: var(--hp-ink) !important;
}

.hp-listing .hp-listing-pagination .hp-page.is-current {
	background: var(--hp-accent) !important;
	border-color: var(--hp-accent) !important;
	color: #fff !important;
}

.hp-listing .hp-listing-pagination .hp-page:disabled {
	opacity: .4;
	cursor: default;
}

/* ============================ Single: room table ============================ */

/* Card-styled table matching the single design: rounded frame, ink header
   band, hairline row separators + zebra stripes instead of a full grid. */
.hp-room-table-wrap {
	overflow-x: auto;
}

.hp-room-table-wrap .hp-room-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 14px;
	background: #fff;
	border: 1px solid var(--hp-border, #e3e4e7);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(0, 1, 54, 0.06);
}

.hp-room-table-wrap .hp-room-table th,
.hp-room-table-wrap .hp-room-table td {
	padding: 12px 14px;
	border: none;
	border-bottom: 1px solid var(--hp-border, #e3e4e7);
	text-align: center;
	color: #1d2327;
}

.hp-room-table-wrap .hp-room-table thead th {
	background: var(--hp-ink, #000136);
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-bottom: none;
	white-space: nowrap;
}

.hp-room-table-wrap .hp-room-table tbody th {
	text-align: left;
	background: transparent;
	font-weight: 700;
	color: var(--hp-ink, #000136);
}

.hp-room-table-wrap .hp-room-table tbody tr:nth-child(even) { background: #fafbfc; }
.hp-room-table-wrap .hp-room-table tbody tr:hover { background: #fbf6e8; }
.hp-room-table-wrap .hp-room-table tbody tr:last-child th,
.hp-room-table-wrap .hp-room-table tbody tr:last-child td { border-bottom: none; }

/* Total line as a small gold chip (also used by the single-headcount note). */
.hp-room-table-wrap .hp-room-table-total,
.hp-capacity-single-note {
	display: inline-block;
	margin: 12px 0 0;
	padding: 9px 14px;
	background: #fbf6e8;
	border: 1px solid #ead9a6;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--hp-ink, #000136);
}
.hp-room-table-wrap .hp-room-table-total:first-child { margin: 0 0 12px; }

/* ============================ Single: gallery ============================ */

.hp-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 10px;
}

.hp-gallery-grid .hp-gallery-item img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 0;
	display: block;
}

/* ============================ Single: related services ============================ */

.hp-related-services {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hp-related-services .hp-related-service a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px 8px 8px;
	border: 1px solid #e3e4e7;
	border-radius: 2px;
	text-decoration: none;
	color: #1d2327;
}

.hp-related-services .hp-related-service a:hover {
	border-color: #cf9d27;
}

.hp-related-services .hp-related-icon img {
	width: 32px;
	height: 32px;
	object-fit: cover;
	border-radius: 0;
	display: block;
}

/* ============================ Single-column modes ============================ */

/* No filter sidebar (filters="no" / related) or the slider template: drop the
   30% / 1fr grid and let the results span the full width. */
.hp-listing.hp-filter-only,
.hp-listing.hp-no-filters,
.hp-listing.hp-related,
.hp-listing.hp-template-slide {
	display: block;
}

.hp-listing.hp-filter-only .hp-listing-filters {
	width: 100%;
}

/* No filter UI → no results-count / active-filter subbar either. */
.hp-listing.hp-no-filters .hp-listing-subbar {
	display: none;
}

/* ============================ Standalone filter ([hp_filter]) ============================ */

.hp-filter-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.hp-listing .hp-btn-ghost {
	background-color: transparent !important;
	/* The Elementor kit paints a gold linear-gradient background-IMAGE on every
	   bare <button>; background-color alone can never clear it. */
	background-image: none !important;
	border: 1px solid var(--hp-accent) !important;
	color: var(--hp-accent) !important;
}

.hp-listing .hp-btn-ghost:hover,
.hp-listing .hp-btn-ghost:focus {
	background-color: var(--hp-accent) !important;
	color: #fff !important;
}

/* ============================ Slider template ============================ */

/* The results container is a grid by default; the slider manages its own
   horizontal layout, so switch it to block in slide mode. */
.hp-listing.hp-template-slide .hp-listing-grid {
	display: block;
}

.hp-slider {
	position: relative;
}

.hp-slider-track {
	display: flex;
	gap: 16px;
	flex: 1 1 auto;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 4px 2px 16px;
	cursor: grab;
}

/* While dragging (desktop): kill snapping/smoothness so the drag tracks 1:1. */
.hp-slider-track.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	scroll-behavior: auto;
	user-select: none;
}

/* Desktop (fine pointer): no scrollbar — navigate via drag + arrows. On touch
   devices the native auto/overlay scrollbar stays (appears on interaction). */
@media (hover: hover) and (pointer: fine) {
	.hp-slider-track,
	.hp-gx-thumbs {
		scrollbar-width: none;
		-ms-overflow-style: none;
	}
	.hp-slider-track::-webkit-scrollbar,
	.hp-gx-thumbs::-webkit-scrollbar {
		width: 0;
		height: 0;
	}
}

.hp-slide {
	flex: 0 0 calc((100% - 48px) / 4); /* 4 visible on desktop (3 × 16px gap) */
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--hp-border);
	border-radius: 2px;
	overflow: hidden;
}

.hp-slide.is-featured {
	border-color: var(--hp-accent);
}

.hp-slide-media {
	display: block;
}

.hp-slide-media .hp-card-img {
	display: block;
	width: 100%;
	height: 220px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.hp-slide-media .hp-card-img--empty {
	background-color: #f0f0f1;
}

.hp-slide-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 16px 18px 20px;
}

.hp-slide-title {
	margin: 0;
	font-size: 18px;
	line-height: 1.3;
}

.hp-slide-title a {
	color: #1d2327 !important;
	text-decoration: none;
}

.hp-slide-sub {
	color: var(--hp-muted);
	font-size: 14px;
}

/* Arrows overlay the slider (absolute) so they never reserve layout width. */
.hp-slider-nav {
	position: absolute;
	top: 114px; /* vertical middle of the 220px media (+4px track padding) */
	transform: translateY(-50%);
	z-index: 3;
	width: 40px;
	height: 40px;
	border: 1px solid var(--hp-border) !important;
	background: #fff !important;
	color: var(--hp-ink) !important;
	font-size: 22px;
	line-height: 1;
	border-radius: 2px;
	cursor: pointer;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
}

.hp-slider-prev { left: 6px; }
.hp-slider-next { right: 6px; }

/* Hidden when there's nothing to scroll (set from JS on no overflow). */
.hp-slider-nav[hidden] { display: none !important; }

.hp-slider-nav:hover,
.hp-slider-nav:focus {
	background: var(--hp-accent) !important;
	color: #fff !important;
}

@media (max-width: 880px) {
	.hp-slide { flex-basis: calc((100% - 16px) / 2); }
}

@media (max-width: 560px) {
	.hp-slide { flex-basis: 85%; }
}

@media (prefers-reduced-motion: reduce) {
	.hp-slider-track { scroll-behavior: auto; }
}

/* ============================ Gallery showcase ([hp_gallery_showcase]) ============================ */

.hp-gx {
	font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.hp-gx-main {
	position: relative;
	display: block;
	cursor: zoom-in;
	background: #f0f0f1;
	border-radius: 2px;
	overflow: hidden;
	/* Fixed frame: the main image area never resizes between images, whatever
	   their real dimensions/orientation are. */
	aspect-ratio: 16 / 10;
}

.hp-gx-main img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Secondary slider: a single scrollable row (mouse drag + native touch) with
   its own little pager. Exactly 4 thumbs visible on desktop, 2 on
   tablet/mobile; the pager buttons appear only when the strip overflows
   (gallery.js adds .hp-gx-thumbwrap--paged). */
.hp-gx-thumbwrap {
	position: relative;
	margin-top: 10px;
}

.hp-gx-thumbs {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow-x: auto;
	scroll-behavior: smooth;
	cursor: grab;
}

.hp-gx-thumbs.is-dragging {
	cursor: grabbing;
	scroll-behavior: auto;
	user-select: none;
}

.hp-gx-thumb {
	display: block;
	flex: 0 0 calc((100% - 24px) / 4); /* 4 visible (3 × 8px gap) */
	aspect-ratio: 16 / 10;
	border: 2px solid transparent;
	border-radius: 2px;
	overflow: hidden;
	cursor: pointer;
	opacity: .72;
	transition: opacity .15s ease, border-color .15s ease;
}

/* The strip's own pager: small chevrons OVERLAYING the two edge thumbnails
   (no side gutters — they'd waste strip width; covering a thumb corner is
   fine, the thumb stays clickable around them). Hidden until gallery.js
   confirms the strip overflows. (.hp-gx-scoped so the theme/kit
   `button { display: … }` reset can't reveal them early.) */
.hp-gx .hp-gx-tnav {
	display: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0 !important;
	min-height: 0 !important;
	border: 1px solid var(--hp-border, #e3e4e7) !important;
	background: rgba(255, 255, 255, 0.92) !important;
	color: #000136 !important;
	font-size: 16px;
	line-height: 1;
	border-radius: 2px !important;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
}
.hp-gx .hp-gx-thumbwrap--paged .hp-gx-tnav { display: inline-flex; }
.hp-gx-tnav:hover,
.hp-gx-tnav:focus {
	background: #cf9d27 !important;
	color: #fff !important;
}
.hp-gx-tprev { left: 6px; }
.hp-gx-tnext { right: 6px; }

/* Prev/next arrows over the main image, vertically centered. */
.hp-gx-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 40px;
	height: 40px;
	border: 1px solid var(--hp-border, #e3e4e7) !important;
	background: rgba(255, 255, 255, 0.92) !important;
	color: #000136 !important;
	font-size: 22px;
	line-height: 1;
	border-radius: 2px;
	cursor: pointer;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
}

.hp-gx-nav:hover,
.hp-gx-nav:focus {
	background: #cf9d27 !important;
	color: #fff !important;
}

.hp-gx-prev { left: 8px; }
.hp-gx-next { right: 8px; }

.hp-gx-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	-webkit-user-drag: none;
	user-select: none;
	pointer-events: none;
}

.hp-gx-thumb:hover,
.hp-gx-thumb:focus {
	opacity: 1;
}

.hp-gx-thumb.is-active {
	opacity: 1;
	border-color: #cf9d27;
}

@media (max-width: 1024px) {
	/* Tablet/mobile: exactly 2 thumbnails at once (1 × 8px gap). */
	.hp-gx-thumb { flex-basis: calc((100% - 8px) / 2); }
}

/* ============================ Quote form ([hp_quote_form]) ============================ */

/* The form root borrows .hp-listing for vars/.hp-btn, but must not be a grid. */
.hp-quote.hp-listing { display: block; }

.hp-qf { max-width: 100%; }
.hp-qf-title { margin: 0 0 16px; font-size: 22px; font-weight: 700; color: #000; }

.hp-qf-section {
	border: 1px solid var(--hp-border);
	border-radius: 2px;
	padding: 14px 18px 18px;
	margin: 0 0 18px;
}

.hp-qf-section > legend {
	padding: 0 8px;
	font-weight: 700;
	color: var(--hp-ink);
	font-size: 15px;
}

.hp-qf-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}
/* Compact ("single scenario") form — narrow aside column, one field per row. */
.hp-quote--compact .hp-qf-grid { grid-template-columns: 1fr; }
.hp-quote--compact .hp-qf-services { grid-template-columns: 1fr; }

.hp-qf-field { display: block; margin: 0 0 14px; }
.hp-qf-field > span,
.hp-qf-label { display: block; margin: 0 0 5px; font-weight: 600; font-size: 14px; color: #1d2327; }

.hp-qf input[type="text"],
.hp-qf input[type="email"],
.hp-qf input[type="tel"],
.hp-qf input[type="number"],
.hp-qf input[type="date"],
.hp-qf input[type="search"],
.hp-qf textarea {
	width: 100%;
	min-height: 40px;
	padding: 8px 10px;
	border: 1px solid var(--hp-border) !important;
	border-radius: 2px !important;
	background: #fff !important;
	color: #1d2327 !important;
	font-size: 15px;
	box-sizing: border-box;
}

.hp-qf textarea { resize: vertical; }

.hp-qf-check { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; cursor: pointer; }
.hp-qf-counter { display: block; margin-top: 4px; font-size: 12px; color: var(--hp-muted); text-align: right; }

/* Button-style service checkboxes — two columns so the images get more room. */
.hp-qf-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.hp-qf-chip { position: relative; display: flex; cursor: pointer; }
.hp-qf-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.hp-qf-chip-inner {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 9px 12px;
	border: 1px solid var(--hp-border);
	border-radius: 2px;
	background: #fff;
	font-size: 14px;
	transition: border-color .15s, background .15s;
}
.hp-qf-chip input:checked + .hp-qf-chip-inner { border-color: var(--hp-accent); background: #fbf6e8; }
.hp-qf-chip input:focus-visible + .hp-qf-chip-inner { outline: 2px solid var(--hp-accent); outline-offset: 2px; }
.hp-qf-chip-ico { flex: none; }
.hp-qf-chip-ico img { display: block; width: 40px; height: 40px; object-fit: cover; border-radius: 2px; }

@media (max-width: 600px) {
	.hp-qf-services { grid-template-columns: 1fr; }
}

.hp-qf-radios { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hp-qf-radio { display: inline-flex; align-items: center; gap: 6px; }
.hp-qf-other { margin-top: 10px; }

.hp-qf-help { margin: 0 0 10px; color: var(--hp-muted); }
/* The city sits below the two-column contact grid (right under the phone, which
   is always the grid's last cell) — keep it one column wide so it doesn't stretch
   across the whole form. */
.hp-qf-city { margin-top: 14px; max-width: calc(50% - 7px); }
@media (max-width: 640px) { .hp-qf-city { max-width: 100%; } }
.hp-quote--compact .hp-qf-city { max-width: 100%; }

/* The venue-derived quick picks sit under the service picker — give them air. */
.hp-qf-section--services .hp-qf-services-wrap { margin-top: 16px; }

/* Venue search + results */
.hp-qf-venue-search { position: relative; }
.hp-qf-results {
	position: absolute;
	z-index: 5;
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid var(--hp-border);
	border-top: 0;
	max-height: 320px;
	overflow-y: auto;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .1);
}
.hp-qf-result {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 8px 10px;
	border: 0 !important;
	border-bottom: 1px solid var(--hp-border) !important;
	border-radius: 0 !important;
	/* It's a <button>: neutralize the theme's button styling (often orange). */
	background: #fff !important;
	color: #1d2327 !important;
	box-shadow: none !important;
	cursor: pointer;
	text-align: left;
}
.hp-qf-result:hover,
.hp-qf-result:focus { background: #fbf6e8 !important; }
.hp-qf-result.is-added { opacity: .5; }

.hp-qf-selected { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hp-qf-venue {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border: 1px solid var(--hp-border);
	border-radius: 2px;
	background: #fff;
}
.hp-qf-venue.is-locked { border-color: var(--hp-accent); background: #fbf6e8; }
.hp-qf-venue-img { flex: none; width: 46px; height: 46px; border-radius: 2px; background: #eceef0 center/cover no-repeat; }
/* Service "icons" are logos/illustrations — fit them instead of cropping. */
.hp-qf-venue-img--contain { background-color: #fff; background-size: contain; }
.hp-qf-venue-body { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.hp-qf-venue-name { font-weight: 600; color: #1d2327; }
.hp-qf-venue-meta { font-size: 13px; color: var(--hp-muted); }
.hp-qf-venue-x { flex: none; border: 0; background: transparent; font-size: 22px; line-height: 1; color: var(--hp-muted); cursor: pointer; }
.hp-qf-venue-x:hover { color: #b32d2e; }

.hp-qf-submit { margin-top: 6px; }
.hp-qf-submit[disabled] { opacity: .6; cursor: default; }

/* Popup: the submit button spans the full dialog width; the gold background
   makes the theme's default dark label hard to read, so force white text. */
.hp-quote-dialog .hp-qf-submit {
	display: block;
	width: 100%;
	color: #fff !important;
	fill: #fff;
}

.hp-qf-feedback { margin: 0 0 16px; padding: 12px 14px; border-radius: 2px; font-size: 14px; }
.hp-qf-feedback ul { margin: 0; padding-left: 18px; }
.hp-qf-feedback.is-error { background: #fcf0f1; border: 1px solid #f0c3c5; color: #8a1f1f; }
.hp-qf-feedback.is-success { background: #edfaef; border: 1px solid #b6e2bf; color: #15642a; }

/* Popup modal */
body.hp-quote-lock { overflow: hidden; }
.hp-quote-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-start; justify-content: center; padding: 4vh 16px; overflow-y: auto; }
/* The form toggles whole sections and fields with the `hidden` attribute, and
   several of them carry a class that sets `display` — which would win over the
   UA sheet. Pin it once for the entire widget. */
.hp-quote [hidden] { display: none !important; }

/* Must beat the display:flex above so the hidden attribute actually hides it
   (otherwise the popup is always visible — can't close / shows in the editor). */
.hp-quote-modal[hidden] { display: none !important; }
.hp-quote-backdrop { position: fixed; inset: 0; background: rgba(0, 1, 54, .55); }
.hp-quote-dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 760px;
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 4px;
	padding: 22px 22px 24px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.hp-quote-x { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; font-size: 28px; line-height: 1; color: var(--hp-muted); cursor: pointer; z-index: 2; }
.hp-quote-x:hover { color: var(--hp-ink); }

/* Honeypot — visually removed but present in the DOM for bots. */
.hp-qf-hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Venue results: open upward when there's little room below. */
.hp-qf-results { top: calc(100% + 2px); }
.hp-qf-results.hp-qf-results--up {
	top: auto;
	bottom: calc(100% + 2px);
	border-top: 1px solid var(--hp-border);
	border-bottom: 0;
	box-shadow: 0 -8px 22px rgba(0, 0, 0, .1);
}

@media (max-width: 600px) {
	.hp-qf-grid { grid-template-columns: 1fr; }
}

/* Computed event duration */
.hp-qf-days { margin: 4px 0 14px; font-weight: 700; color: var(--hp-accent); }

/* Fancy (custom) checkboxes + radios */
.hp-qf-check input[type="checkbox"],
.hp-qf-radio input[type="radio"] {
	appearance: none;
	-webkit-appearance: none;
	flex: none;
	position: relative;
	width: 22px;
	height: 22px;
	margin: 0;
	border: 2px solid var(--hp-border) !important;
	background: #fff !important;
	cursor: pointer;
	transition: border-color .15s, background .15s, box-shadow .15s;
}
.hp-qf-radio input[type="radio"] { border-radius: 50%; }
.hp-qf-check input[type="checkbox"] { border-radius: 5px; }
.hp-qf-check input[type="checkbox"]:hover,
.hp-qf-radio input[type="radio"]:hover { border-color: var(--hp-accent) !important; }
.hp-qf-check input[type="checkbox"]:checked,
.hp-qf-radio input[type="radio"]:checked {
	border-color: var(--hp-accent) !important;
	background: var(--hp-accent) !important;
}
.hp-qf-check input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 2px;
	width: 6px;
	height: 11px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.hp-qf-radio input[type="radio"]:checked::after {
	content: "";
	position: absolute;
	inset: 4px;
	border-radius: 50%;
	background: #fff;
}
.hp-qf-check input:focus-visible,
.hp-qf-radio input:focus-visible { outline: 2px solid var(--hp-accent); outline-offset: 2px; }

/* Thank-you panel (success) */
.hp-qf-thanks { text-align: center; padding: 26px 16px; }
.hp-qf-thanks-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 0 12px;
	border-radius: 50%;
	background: #edfaef;
	color: #15642a;
	font-size: 28px;
}
.hp-qf-thanks-text { margin: 0 0 18px; font-size: 18px; font-weight: 600; color: #1d2327; }

/* ============================ Related-services tag (list format) ============================ */

.hp-related-list {
	margin: 0 !important;
	padding: 0 !important;
	/* Kill the native bullet/indent (themes often force ul{list-style:disc}). */
	list-style: none !important;
}

.hp-related-list li {
	display: flex;
	align-items: center;
	list-style: none !important;
	gap: 6px; /* icon ↔ text */
}

.hp-related-list li + li {
	margin-top: 6px;
}

/* Row direction: items side by side. */
.hp-related-list--row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.hp-related-list--row li + li {
	margin-top: 0;
}

.hp-related-ico-wrap,
.hp-related-ico {
	display: inline-flex;
	align-items: center;
	flex: none;
}

.hp-related-ico-wrap svg,
.hp-related-ico svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* =========================================================================
   Wishlist ("gyűjtőlista"): floating trigger + left drawer + toggle buttons
   ========================================================================= */

body.hp-wish-lock { overflow: hidden; }

/* ---- Floating trigger (fixed, bottom-left) ---- */
.hp-wish-trigger {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 99990;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 56px !important;
	height: 56px !important;
	min-height: 0 !important;
	padding: 0 !important;
	/* Elementor / themes style bare <button> aggressively — pin the essentials.
	   Square (not round) design; colours are admin-configurable via CSS vars. */
	border: none !important;
	border-radius: 12px !important;
	background: var(--hp-wish-trigger-bg, #0d1a2d) !important;
	color: var(--hp-wish-trigger-icon, #fff) !important;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(0, 1, 54, 0.25);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hp-wish-trigger.hp-wish--right { left: auto; right: 20px; }
.hp-wish-trigger:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 1, 54, 0.32); }
.hp-wish-trigger:focus-visible { outline: 2px solid var(--hp-wish-trigger-icon, #fff); outline-offset: 2px; }
.hp-wish-trigger-ico { display: inline-flex; }
.hp-wish-trigger-ico svg { display: block; fill: currentColor; }
.hp-wish-count {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 11px;
	/* White badge + dark count: reads better on the dark trigger. */
	background: #fff;
	color: var(--hp-ink);
	box-shadow: 0 1px 4px rgba(0, 1, 54, 0.25);
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
	box-sizing: border-box;
}
.hp-wish-count[hidden] { display: none; }

/* ---- Drawer ---- */
.hp-wish-drawer[hidden] { display: none; }
.hp-wish-drawer {
	position: fixed;
	inset: 0;
	z-index: 99991;
}
.hp-wish-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 1, 54, 0.45);
}
.hp-wish-panel {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: var(--hp-wish-w, 380px);
	max-width: 90vw;
	display: flex;
	flex-direction: column;
	background: var(--hp-wish-bg, #fff);
	color: var(--hp-wish-text, #000136);
	box-shadow: 4px 0 30px rgba(0, 1, 54, 0.25);
	animation: hp-wish-in 0.25s ease;
}
/* Right-hand placement: anchor to the right edge, slide in from the right. */
.hp-wish--right .hp-wish-panel {
	left: auto;
	right: 0;
	box-shadow: -4px 0 30px rgba(0, 1, 54, 0.25);
	animation-name: hp-wish-in-right;
}
@keyframes hp-wish-in { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes hp-wish-in-right { from { transform: translateX(100%); } to { transform: translateX(0); } }
/* Mobile: fixed 80% width regardless of the desktop setting. */
@media (max-width: 600px) {
	.hp-wish-panel { width: 80vw !important; }
}
.hp-wish-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--hp-border);
}
.hp-wish-title {
	margin: 0;
	font-family: 'Open Sans', sans-serif !important;
	font-size: 22px !important;
	font-weight: 700;
	color: inherit !important;
}
/* Bare <button>s — the Elementor kit styles button elements with higher
   specificity (bg, padding, radius), so pin the essentials (same approach
   as .hp-wish-trigger). */
.hp-wish-x {
	border: none !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	min-height: 0 !important;
	font-size: 28px !important;
	line-height: 1 !important;
	color: inherit !important;
	opacity: 0.55;
	cursor: pointer;
}
.hp-wish-x:hover { opacity: 1; }
/* ---- Drawer tab bar: Helyszínek / Szolgáltatások ----
   The drawer is mounted on <body>, so every property the Elementor kit sets on a
   bare <button> must be pinned here (background-image included — the kit paints a
   gold gradient on buttons, which background-color alone cannot clear). */
.hp-wish-tabs {
	display: flex;
	flex: 0 0 auto;
	gap: 0;
	border-bottom: 1px solid var(--hp-border);
}
.hp-wish-tab {
	flex: 1 1 0;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 7px;
	box-sizing: border-box;
	margin: 0 !important;
	padding: 13px 10px !important;
	min-height: 0 !important;
	border: 0 !important;
	border-bottom: 2px solid transparent !important;
	border-radius: 0 !important;
	background: none !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.02em;
	text-transform: none !important;
	color: inherit !important;
	opacity: 0.55;
	cursor: pointer;
	transition: opacity 0.12s ease, border-color 0.12s ease;
}
.hp-wish-tab:hover { opacity: 0.85; }
.hp-wish-tab.is-active {
	opacity: 1;
	border-bottom-color: var(--hp-accent) !important;
}
.hp-wish-tab:focus-visible { outline: 2px solid var(--hp-accent); outline-offset: -2px; }
.hp-wish-tab-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	box-sizing: border-box;
	border-radius: 10px;
	background: var(--hp-border);
	color: inherit;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}
.hp-wish-tab.is-active .hp-wish-tab-count {
	background: var(--hp-accent);
	color: var(--hp-ink);
}

.hp-wish-list {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 12px 20px;
}
.hp-wish-empty {
	margin: 24px 0;
	color: inherit;
	opacity: 0.75;
	font-family: 'Open Sans', sans-serif;
	text-align: center;
}
.hp-wish-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--hp-border);
}
.hp-wish-item-img {
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 6px;
	background: #f0f1f3 center/cover no-repeat;
	display: block;
}
.hp-wish-item-body { flex: 1 1 auto; min-width: 0; }
.hp-wish-item-name {
	display: block;
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	color: inherit !important;
	text-decoration: none;
}
.hp-wish-item-name:hover { color: var(--hp-accent) !important; }
.hp-wish-item-meta {
	display: block;
	font-size: 13px;
	color: inherit;
	opacity: 0.7;
}
.hp-wish-item-x {
	flex: none;
	border: none !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	min-height: 0 !important;
	font-size: 22px !important;
	line-height: 1 !important;
	color: inherit !important;
	opacity: 0.55;
	cursor: pointer;
}
.hp-wish-item-x:hover { opacity: 1; color: #c0392b !important; }
.hp-wish-skeleton .hp-wish-item-img { animation: hp-wish-pulse 1.2s ease-in-out infinite; }
.hp-wish-skeleton .hp-wish-item-name { width: 60%; height: 14px; background: #f0f1f3; border-radius: 4px; animation: hp-wish-pulse 1.2s ease-in-out infinite; }
@keyframes hp-wish-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.hp-wish-foot { padding: 16px 20px; border-top: 1px solid var(--hp-border); }
.hp-wish-foot:empty { display: none; }
.hp-wish-cta {
	display: block;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
	background-color: var(--hp-accent) !important;
	color: var(--hp-ink) !important;
	border: none !important;
	border-radius: 6px;
	padding: 12px 16px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	text-decoration: none !important;
}
.hp-wish-cta:hover { filter: brightness(0.95); color: var(--hp-ink) !important; }

/* ---- Add/remove toggle button ([hp_wish_button]) ---- */
.hp-wish-toggle { cursor: pointer; }
.hp-wish-toggle .hp-wish-toggle-ico { display: inline-flex; margin-right: 6px; vertical-align: middle; }
.hp-wish-toggle .hp-wish-toggle-ico svg { display: block; opacity: 0.55; }
.hp-wish-toggle.is-wished .hp-wish-toggle-ico svg { opacity: 1; }

/* =========================================================================
   [hp_wish_button] / [hp_wish_service_button] — the standalone shortcode button
   =========================================================================
   This one is dropped ANYWHERE (typically an Elementor single template), so
   unlike every other listing style it must be fully self-contained:
     - it carries the palette vars itself (see the var block at the top of this
       file) — outside .hp-listing a var() would compute to invalid;
     - it must NOT rely on `.hp-listing .hp-btn`, which never matches out there;
     - the selector is `button.hp-wish-btn.hp-wish-toggle` (0,2,1) so it already
       outranks the Elementor kit's `.elementor-kit-N button` (0,1,1) on
       specificity alone, and every property the kit touches is ALSO pinned with
       !important — belt and braces, because kit CSS is regenerated by Elementor
       whenever Site Settings change and its selectors can grow.
     - background-image is pinned too: the kit paints a gold linear-gradient
       IMAGE on bare buttons, which background-color can never clear.
   Width is always 100% — the button is a block-level action wherever it lands. */
button.hp-wish-btn.hp-wish-toggle,
.hp-wish-btn.hp-wish-toggle {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 13px 18px !important;
	min-height: 0 !important;
	border: 0 !important;
	border-radius: 2px !important;
	background-color: var(--hp-accent) !important;
	background-image: none !important;
	box-shadow: none !important;
	font-family: 'Montserrat', 'Playfair Display', sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.25 !important;
	letter-spacing: .3px !important;
	text-transform: uppercase !important;
	text-align: center !important;
	text-decoration: none !important;
	color: var(--hp-ink) !important;
	fill: var(--hp-ink) !important;
	cursor: pointer !important;
	transition: filter .12s ease !important;
}
button.hp-wish-btn.hp-wish-toggle:hover,
button.hp-wish-btn.hp-wish-toggle:focus,
.hp-wish-btn.hp-wish-toggle:hover,
.hp-wish-btn.hp-wish-toggle:focus {
	background-color: var(--hp-accent) !important;
	background-image: none !important;
	color: var(--hp-ink) !important;
	filter: brightness(0.94) !important;
}
button.hp-wish-btn.hp-wish-toggle:focus-visible {
	outline: 2px solid var(--hp-ink) !important;
	outline-offset: 2px !important;
}
/* The label span is the only child that ever holds text; keep the kit from
   inheriting a different colour or line-height into it. */
button.hp-wish-btn.hp-wish-toggle .hp-wish-toggle-label {
	color: inherit !important;
	font: inherit !important;
	letter-spacing: inherit !important;
	text-transform: inherit !important;
}
/* The icon span is empty for this variant — collapse it so the flex gap above
   doesn't add a phantom leading space next to the label. */
button.hp-wish-btn.hp-wish-toggle .hp-wish-toggle-ico:empty {
	display: none !important;
	margin: 0 !important;
}

/* ---- Labeled "add to list" button on grid + list cards ---- */
/* Secondary to the gold "Részletek" action, so it uses the ghost look; when the
   venue IS on the list the button fills gold and its label flips to the remove
   wording (wish.js swaps data-label <-> data-added-label). */
.hp-listing .hp-card-wish-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	text-align: center;
	line-height: 1.25;
	font-size: 13px;
}
/* Grid card: full-width, last thing in the body. */
.hp-listing .hp-card:not(.hp-card-list) .hp-card-wish-btn {
	width: 100%;
	margin-top: 10px;
}
/* List card: sits inline in the action row next to Részletek / Ajánlatkérés. */
.hp-listing .hp-card-actions .hp-card-wish-btn { margin-top: 0; }
/* Not on the list yet: white, ink outline, ink label — secondary to the gold
   "Részletek" action and legible. background-image MUST be cleared: the
   Elementor kit gradients every bare <button>, which otherwise shows through
   (gold-on-gold) no matter what background-color says. */
.hp-listing .hp-card-wish-btn:not(.is-wished) {
	background-color: #fff !important;
	background-image: none !important;
	border: 1px solid var(--hp-ink) !important;
	color: var(--hp-ink) !important;
}
.hp-listing .hp-card-wish-btn:not(.is-wished):hover,
.hp-listing .hp-card-wish-btn:not(.is-wished):focus {
	background-color: var(--hp-ink) !important;
	color: #fff !important;
}
/* On the list: keeps the site's gold button look, label flips to the remove wording. */
.hp-listing .hp-card-wish-btn.is-wished {
	background-color: var(--hp-accent) !important;
	border: 0 !important;
	color: var(--hp-ink) !important;
}
.hp-listing .hp-card-wish-btn:focus-visible { outline: 2px solid var(--hp-ink); outline-offset: 2px; }
/* The shared .hp-wish-toggle-ico rule dims the icon; keep it in step with the
   ghost/filled text color instead of its own opacity ramp. */
.hp-listing .hp-card-wish-btn .hp-wish-toggle-ico svg { opacity: 1; }
.hp-listing .hp-card-wish-btn .hp-wish-toggle-ico { flex: 0 0 auto; }

/* ---- Icon-only toggle overlaid on listing cards ---- */
.hp-card,
.hp-card-list,
.hp-slide { position: relative; }
/* Used by the slide template only (grid/list cards get the labeled button above).
   Same hardening as .hp-wish-btn: a compound `button.` selector plus !important on
   every box property, because the theme/Elementor `button` rules (0,1,1) otherwise
   beat a plain `.hp-card-wish` (0,1,0) — they were turning this 38px circle into a
   52x38 rounded rect with a stray 1px #cc3366 border. */
button.hp-card-wish.hp-wish-toggle,
.hp-card-wish {
	position: absolute !important;
	top: 10px;
	right: 10px;
	z-index: 3;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	width: 38px !important;
	height: 38px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background-color: rgba(255, 255, 255, 0.92) !important;
	background-image: none !important;
	color: var(--hp-muted) !important;
	cursor: pointer !important;
	box-shadow: 0 2px 8px rgba(0, 1, 54, 0.18) !important;
	transition: transform 0.12s ease, color 0.12s ease !important;
}
.hp-card-wish .hp-wish-toggle-ico { margin: 0 !important; }
button.hp-card-wish.hp-wish-toggle:hover { transform: scale(1.08); color: var(--hp-ink) !important; }
button.hp-card-wish.hp-wish-toggle.is-wished { color: var(--hp-accent) !important; }
button.hp-card-wish.hp-wish-toggle:focus-visible { outline: 2px solid var(--hp-accent) !important; outline-offset: 2px !important; }

.hp-listing .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* =========================================================================
   Built-in single venue template (Settings → Helyszín oldal)
   ========================================================================= */
.hp-single {
	width: 100%;
	margin: 0 auto;
	padding: 40px 20px 60px;
	box-sizing: border-box;
	font-family: 'Open Sans', sans-serif;
	color: var(--hp-ink);
}
/* The wrapper carries .hp-listing only for the CSS custom properties — it must
   NOT become the listing's 30%/1fr grid (same escape hatch as .hp-quote). */
.hp-single.hp-listing { display: block; }
.hp-single-title {
	/* h2 (was h1 — the user found the kit-styled h1 too big); the size is
	   pinned so the Elementor kit's h2 rule can't inflate it either. */
	margin: 0 0 4px;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 24px !important;
	line-height: 1.2;
	color: var(--hp-ink);
}
.hp-single-section .hp-single-desc + .hp-single-desc { margin-top: 18px; }
.hp-single-sub { margin: 0 0 16px; color: var(--hp-muted); font-size: 14px; }
/* Simple, bullet-proof flexbox: 1 row, two children at calc(30%/70% - 10px)
   with a 15px gap (30-10 + 70-10 + 15 = 100% - 5px, so it never overflows). */
.hp-single-grid {
	/* width:100% capped by max-width == min(var,100%), but survives CSS
	   minifiers that mangle min(). */
	width: 100%;
	max-width: var(--hp-single-w, 1200px);
	margin: 0 auto;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	align-items: flex-start;
}
.hp-single-grid > .hp-single-aside,
.hp-single-grid > .hp-single-main {
	min-width: 0;
	float: none;
	box-sizing: border-box;
}
.hp-single-aside {
	flex: 0 0 calc(30% - 10px);
	max-width: calc(30% - 10px);
	position: sticky;
	top: 32px;
}
/* With the inline quote form in the aside the column grows taller than the
   viewport — a pinned sticky column would hide its lower fields, so sticky
   is off when the form is present. */
.hp-single-aside.hp-aside-has-form { position: static; }
.hp-single-main {
	flex: 0 0 calc(70% - 10px);
	max-width: calc(70% - 10px);
	overflow-wrap: break-word;
}
.hp-single-main img { max-width: 100%; height: auto; }
.hp-single-main table { max-width: 100%; }
.hp-single-main .hp-room-table-wrap { overflow-x: auto; }
.hp-single-card {
	border: 1px solid var(--hp-border);
	border-radius: 10px;
	padding: 20px 22px 22px;
	background: #fff;
	box-shadow: 0 4px 18px rgba(0, 1, 54, 0.06);
}
.hp-single-card-title {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 700;
	color: var(--hp-ink);
}
.hp-single-meta { list-style: none; margin: 0; padding: 0; }
.hp-single-meta li {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 10px 0;
	border-bottom: 1px solid var(--hp-border);
	font-size: 14px;
}
.hp-single-meta li:last-child { border-bottom: none; }
.hp-single-meta .hp-si-label { color: var(--hp-muted); flex: none; }
.hp-single-meta .hp-si-val { text-align: right; font-weight: 600; }
.hp-single-meta .hp-si-val a { color: var(--hp-accent); text-decoration: none; word-break: break-word; }
.hp-single-price { color: var(--hp-accent); letter-spacing: 2px; font-size: 16px; }
.hp-single-cta { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.hp-single-cta .hp-btn,
.hp-single-cta .hp-wish-toggle {
	width: 100%;
	justify-content: center;
	box-sizing: border-box;
	text-align: center;
}
.hp-single-quote {
	display: block;
	padding: 13px 18px;
	background-color: var(--hp-accent);
	color: var(--hp-ink);
	border: none;
	border-radius: 8px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	text-decoration: none;
}
.hp-single-quote:hover { filter: brightness(0.96); }
/* Paint lives on .hp-wish-btn (below) — this only stacks the CTA column. Do NOT
   add colours here: two competing sources for one button is what made the single's
   wish button ignore this block for weeks (.hp-listing .hp-btn wins with !important). */
.hp-single-cta .hp-wish-toggle { align-self: stretch; }
.hp-single-main > * + * { margin-top: 34px; }
.hp-single-desc { font-size: 16px; line-height: 1.7; }
.hp-single-desc :first-child { margin-top: 0; }
.hp-single-video {
	position: relative;
	padding-top: 56.25%;
	border-radius: 10px;
	overflow: hidden;
	background: #000;
}
.hp-single-video iframe,
.hp-single-video video,
.hp-single-video embed {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}
.hp-single-h2 {
	margin: 0 0 16px;
	font-size: 22px;
	font-weight: 700;
	color: var(--hp-ink);
}
/* "Helyszíni szolgáltatások" checklist (hp_venue_service) — 3/row desktop, 2 tablet, 1 phone. */
.hp-vsvc-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px 18px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
/* The Elementor kit styles bare <li> — keep the marker off and the box clean. */
.hp-vsvc-list .hp-vsvc {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	font-size: 15px;
	line-height: 1.45;
	color: #1d2327;
}
.hp-vsvc-list .hp-vsvc::marker,
.hp-vsvc-list .hp-vsvc::before { content: none !important; }
.hp-vsvc-list .hp-vsvc-ico {
	flex: 0 0 auto;
	display: block;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	color: var(--hp-accent);
}
.hp-vsvc-list .hp-vsvc-name { min-width: 0; word-break: break-word; }
@media (max-width: 1024px) {
	.hp-vsvc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.hp-vsvc-list { grid-template-columns: minmax(0, 1fr); }
}
.hp-single-aside > * + * { margin-top: 20px; }
/* "Megközelítés" — a main-column section since 1.0.65 (sits above the on-site
   services checklist); the body keeps the venue's own line breaks. */
.hp-single-directions-body { font-size: 16px; line-height: 1.7; }
/* Aside promo box ("szeretné itt látni a helyszínét?") — the one deliberately
   dark-blue block on the page, so it reads as a highlight next to the white
   cards. Fixed white text: the background is not admin-configurable, so the
   contrast can't be broken from the settings screen. */
.hp-single-promo {
	background: var(--hp-promo-bg, #153a8f) !important;
	border-color: transparent !important;
	color: #fff;
}
.hp-single-promo .hp-single-promo-text {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #fff;
}
.hp-single-promo .hp-single-promo-mail {
	display: inline-block;
	margin-top: 10px;
	font-size: 15px;
	font-weight: 700;
	color: #fff !important;
	text-decoration: underline;
	text-underline-offset: 3px;
	word-break: break-word;
}
.hp-single-promo .hp-single-promo-mail:hover,
.hp-single-promo .hp-single-promo-mail:focus { color: var(--hp-accent) !important; }
/* Quick-quote popup button — secondary look next to the gold redirect CTA. */
.hp-single-cta .hp-quote { width: 100%; }
.hp-single-cta .hp-quote-open {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 12px 18px;
	background: #fff !important;
	color: var(--hp-ink) !important;
	border: 1px solid var(--hp-ink) !important;
	border-radius: 8px !important;
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	text-align: center;
	cursor: pointer;
}
.hp-single-cta .hp-quote-open:hover { background: var(--hp-ink) !important; color: #fff !important; }
/* Share row */
.hp-single-share { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hp-border); }
.hp-single-share-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--hp-muted); margin-bottom: 8px; }
.hp-single-share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-share-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: #f0f1f3; color: var(--hp-ink); text-decoration: none; transition: background 0.12s ease, color 0.12s ease, transform 0.12s ease; }
.hp-share-btn:hover { background: var(--hp-ink); color: #fff; transform: translateY(-1px); }
.hp-share-btn svg { display: block; }
/* Inline quote-form box at the bottom of the main column */
.hp-single-quickform {
	border: 1px solid var(--hp-border);
	border-radius: 10px;
	padding: 24px;
	background: #fff;
	box-shadow: 0 4px 18px rgba(0, 1, 54, 0.06);
}
.hp-single-quickform .hp-qf-title { margin-top: 0; }
@media (max-width: 900px) {
	.hp-single-grid { gap: 24px; }
	.hp-single-grid > .hp-single-aside,
	.hp-single-grid > .hp-single-main { flex: 0 0 100%; max-width: 100%; }
	.hp-single-aside { position: static; }
}

/* ==================== Service listing ([hp_services]) ====================
   Services carry far less data than venues — often no icon at all, just a name
   and a few lines of copy. Their cards therefore lead with text, and drop the
   media block entirely when there is no picture (.hp-card--noimg) instead of
   showing an empty grey placeholder. */

/* No media: the body is the whole card, so give it the media block's breathing
   room back at the top. */
.hp-listing .hp-card--noimg .hp-card-body {
	padding-top: 18px;
}

/* List view without a picture: the body is the only child, so let it span the
   full row rather than keeping the 65% track the media half left behind. */
.hp-listing .hp-card-list.hp-card--noimg .hp-card-body {
	flex: 1 1 100%;
	max-width: 100%;
}

/* Grid cards stretch to the tallest in the row; clamping the summary keeps the
   rhythm even, and margin-top:auto pins the actions to the bottom edge so
   "Részletek" lines up across the row whatever the copy length. */
.hp-listing .hp-card-service:not(.hp-card-list) .hp-card-summary {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

/* The body must own the leftover height for margin-top:auto to have anything
   to push against — without this the body is only as tall as its text and the
   card keeps a ragged gap under the buttons. */
.hp-listing .hp-card-service:not(.hp-card-list) .hp-card-body {
	flex: 1 1 auto;
}

.hp-listing .hp-card-service:not(.hp-card-list) .hp-card-btn {
	margin-top: auto;
}
