.wpht-app,
.wpht-app * { box-sizing: border-box; }
.wpht-app {
	font-family: var(--wpht-font, inherit);
	font-size: var(--wpht-text-desktop, 16px);
	line-height: 1.5;
	color: var(--wpht-text, #293d35);
	background: var(--wpht-bg, #f4f7f5);
	border: 1px solid var(--wpht-border, #d9e4df);
	border-radius: var(--wpht-radius, 22px);
	padding: var(--wpht-padding, 26px);
	position: relative;
	width: 100%;
	isolation: isolate;
}
.wpht-app button,
.wpht-app input,
.wpht-app select { font: inherit; }
.wpht-header { max-width: 920px; margin: 0 0 24px; }
.wpht-eyebrow { color: var(--wpht-accent, #226b55); font-size: .78em; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.wpht-title { color: var(--wpht-title, #15251f); font-size: var(--wpht-title-desktop, 42px); line-height: 1.08; letter-spacing: -.035em; margin: 0; font-weight: 800; }
.wpht-intro { color: var(--wpht-muted, #687a72); font-size: 1.04em; max-width: 800px; margin: 13px 0 0; }

.wpht-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.wpht-stat { min-width: 0; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 9px; padding: 14px 16px; border-radius: calc(var(--wpht-card-radius, 17px) - 2px); border: 1px solid var(--wpht-border, #d9e4df); background: var(--wpht-card, #fff); }
.wpht-stat-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: var(--wpht-accent, #226b55); background: var(--wpht-accent-soft, #e7f2ed); font-size: 15px; }
.wpht-stat strong { color: var(--wpht-title, #15251f); font-size: 1.35em; line-height: 1; }
.wpht-stat > span:last-child { color: var(--wpht-muted, #687a72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.wpht-filters { display: grid; grid-template-columns: minmax(220px, 1.8fr) minmax(170px, 1fr) minmax(105px, .6fr) minmax(145px, .8fr) minmax(135px, .8fr) auto auto; align-items: end; gap: 11px; padding: 16px; margin-bottom: 18px; background: var(--wpht-filters, #fff); border: 1px solid var(--wpht-border, #d9e4df); border-radius: var(--wpht-card-radius, 17px); }
.wpht-field { min-width: 0; display: grid; gap: 6px; }
.wpht-field > span { color: var(--wpht-muted, #687a72); font-size: .78em; font-weight: 700; }
.wpht-field input,
.wpht-field select { width: 100%; height: 44px; min-width: 0; padding: 0 13px; color: var(--wpht-text, #293d35); background: #fff; border: 1px solid var(--wpht-border, #d9e4df); border-radius: 11px; outline: none; }
.wpht-field input:focus,
.wpht-field select:focus { border-color: var(--wpht-accent, #226b55); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wpht-accent, #226b55) 16%, transparent); }
.wpht-advanced-toggle,
.wpht-reset,
.wpht-load-more { min-height: 44px; border: 0; border-radius: 11px; padding: 0 15px; cursor: pointer; font-weight: 750; transition: transform .15s ease, opacity .15s ease, background .15s ease; }
.wpht-advanced-toggle { color: var(--wpht-accent, #226b55); background: var(--wpht-accent-soft, #e7f2ed); }
.wpht-reset,
.wpht-load-more { color: var(--wpht-button-text, #fff); background: var(--wpht-button, #18382c); }
.wpht-advanced-toggle:hover,
.wpht-reset:hover,
.wpht-load-more:hover { transform: translateY(-1px); }
.wpht-advanced { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr)) 2.3fr; gap: 12px; padding-top: 13px; border-top: 1px dashed var(--wpht-border, #d9e4df); }
.wpht-advanced[hidden] { display: none !important; }
.wpht-checks { display: flex; flex-wrap: wrap; align-content: end; gap: 7px; }
.wpht-check { display: inline-flex; align-items: center; gap: 6px; min-height: 35px; padding: 6px 10px; border: 1px solid var(--wpht-border, #d9e4df); border-radius: 999px; cursor: pointer; background: var(--wpht-card, #fff); color: var(--wpht-text, #293d35); font-size: .83em; }
.wpht-check input { accent-color: var(--wpht-accent, #226b55); }

.wpht-error,
.wpht-warning { margin: 0 0 16px; padding: 13px 15px; border-radius: 12px; border: 1px solid; }
.wpht-error { color: #7a2020; border-color: #e9bcbc; background: #fff2f2; }
.wpht-warning { color: #745510; border-color: #ead39a; background: #fff8e6; }
.wpht-error a { font-weight: 700; }
.wpht-error--standalone { padding: 18px; }

.wpht-layout { display: grid; min-width: 0; gap: 18px; align-items: stretch; }
.wpht-map-right .wpht-map-panel { order: 2; }
.wpht-map-right .wpht-list-panel { order: 1; }
.wpht-map-left .wpht-map-panel { order: 1; }
.wpht-map-left .wpht-list-panel { order: 2; }
.wpht-map-right.wpht-ratio-70-30 .wpht-layout { grid-template-columns: 30fr 70fr; }
.wpht-map-left.wpht-ratio-70-30 .wpht-layout { grid-template-columns: 70fr 30fr; }
.wpht-map-right.wpht-ratio-65-35 .wpht-layout { grid-template-columns: 35fr 65fr; }
.wpht-map-left.wpht-ratio-65-35 .wpht-layout { grid-template-columns: 65fr 35fr; }
.wpht-map-right.wpht-ratio-60-40 .wpht-layout { grid-template-columns: 40fr 60fr; }
.wpht-map-left.wpht-ratio-60-40 .wpht-layout { grid-template-columns: 60fr 40fr; }
.wpht-map-right.wpht-ratio-55-45 .wpht-layout { grid-template-columns: 45fr 55fr; }
.wpht-map-left.wpht-ratio-55-45 .wpht-layout { grid-template-columns: 55fr 45fr; }
.wpht-ratio-50-50 .wpht-layout { grid-template-columns: 1fr 1fr; }
.wpht-map-right.wpht-ratio-45-55 .wpht-layout { grid-template-columns: 55fr 45fr; }
.wpht-map-left.wpht-ratio-45-55 .wpht-layout { grid-template-columns: 45fr 55fr; }
.wpht-map-right.wpht-ratio-40-60 .wpht-layout { grid-template-columns: 60fr 40fr; }
.wpht-map-left.wpht-ratio-40-60 .wpht-layout { grid-template-columns: 40fr 60fr; }
.wpht-list-panel,
.wpht-map-panel { min-width: 0; height: var(--wpht-map-desktop, 690px); background: var(--wpht-panel, #fff); border: 1px solid var(--wpht-border, #d9e4df); border-radius: var(--wpht-card-radius, 17px); overflow: hidden; }
.wpht-list-panel { display: flex; flex-direction: column; }
.wpht-list-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: 0 0 auto; min-height: 58px; padding: 13px 16px; border-bottom: 1px solid var(--wpht-border, #d9e4df); background: var(--wpht-panel, #fff); }
.wpht-list-head strong { color: var(--wpht-title, #15251f); font-size: 1.12em; }
.wpht-data-state { color: var(--wpht-muted, #687a72); font-size: .75em; }
.wpht-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px; scrollbar-color: var(--wpht-accent, #226b55) transparent; }
.wpht-load-more { display: block; width: calc(100% - 24px); margin: 0 12px 12px; flex: 0 0 auto; }
.wpht-load-more[hidden] { display: none; }
.wpht-empty { padding: 28px 18px; text-align: center; color: var(--wpht-muted, #687a72); }

.wpht-card { display: grid; grid-template-columns: 138px minmax(0, 1fr); gap: 0; margin: 0 0 11px; overflow: hidden; background: var(--wpht-card, #fff); border: 1px solid var(--wpht-border, #d9e4df); border-radius: var(--wpht-card-radius, 17px); box-shadow: var(--wpht-card-shadow, none); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.wpht-card--no-media { grid-template-columns: minmax(0, 1fr); }
.wpht-card:last-child { margin-bottom: 0; }
.wpht-card:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--wpht-accent, #226b55) 45%, var(--wpht-border, #d9e4df)); }
.wpht-card.is-active { border-color: var(--wpht-accent, #226b55); box-shadow: 0 0 0 2px color-mix(in srgb, var(--wpht-accent, #226b55) 20%, transparent); }
.wpht-card-media { position: relative; min-height: 100%; background: var(--wpht-accent-soft, #e7f2ed); overflow: hidden; }
.wpht-card-media > img:first-child { width: 100%; height: 100%; object-fit: cover; display: block; }
.wpht-photo-credit { position: absolute; right: 6px; bottom: 6px; z-index: 2; max-width: calc(100% - 12px); overflow: hidden; padding: 3px 6px; border-radius: 5px; color: #fff; background: rgba(0,0,0,.62); font-size: 10px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.wpht-photo-placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 170px; color: var(--wpht-accent, #226b55); font-size: 38px; }
.wpht-card-logo { position: absolute; left: 8px; bottom: 8px; width: 43px !important; height: 43px !important; object-fit: contain !important; padding: 5px; border-radius: 10px; background: rgba(255,255,255,.94); box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.wpht-card-body { min-width: 0; padding: 14px 15px 13px; }
.wpht-card-kicker { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 5px; color: var(--wpht-accent, #226b55); font-size: .72em; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.wpht-card-title-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.wpht-card-logo-inline { flex: 0 0 auto; width: 46px !important; height: 46px !important; object-fit: contain !important; padding: 5px; border: 1px solid var(--wpht-border, #d9e4df); border-radius: 11px; background: #fff; }
.wpht-card h3 { min-width: 0; margin: 0; color: var(--wpht-title, #15251f); font-size: 1.05em; line-height: 1.24; font-weight: 800; }
.wpht-address { margin-top: 5px; color: var(--wpht-muted, #687a72); font-size: .84em; }
.wpht-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.wpht-badge { max-width: 100%; padding: 4px 7px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; border-radius: 999px; color: var(--wpht-text, #293d35); background: var(--wpht-badge, #eef5f1); font-size: .69em; line-height: 1.2; font-weight: 700; }
.wpht-badge--level { color: #8b6410; background: #fff4ce; letter-spacing: .06em; }
.wpht-badge--label { color: var(--wpht-accent, #226b55); background: var(--wpht-accent-soft, #e7f2ed); }
.wpht-card-description { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 8px; color: var(--wpht-muted, #687a72); font-size: .82em; }
.wpht-card-meta { margin-top: 8px; color: var(--wpht-title, #15251f); font-size: .8em; font-weight: 700; }
.wpht-card-actions { display: flex; flex-wrap: wrap; gap: 6px 11px; margin-top: 10px; }
.wpht-card-actions button,
.wpht-card-actions a { appearance: none; padding: 0; border: 0; color: var(--wpht-accent, #226b55); background: transparent; text-decoration: none; cursor: pointer; font-size: .76em; font-weight: 800; }
.wpht-card-actions button:hover,
.wpht-card-actions a:hover { text-decoration: underline; }
.wpht-card-source { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--wpht-border, #d9e4df); color: var(--wpht-muted, #687a72); font-size: .65em; line-height: 1.35; }

.wpht-map-panel { position: relative; }
.wpht-map { width: 100%; height: 100%; background: #e9efec; z-index: 1; }
.wpht-map-notice { position: absolute; z-index: 700; left: 12px; right: 12px; top: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.94); color: var(--wpht-text, #293d35); box-shadow: 0 5px 20px rgba(0,0,0,.13); font-size: .82em; }
.wpht-map-notice.is-error { color: #7a2020; background: #fff2f2; }
.wpht-marker-wrap { background: transparent !important; border: 0 !important; }
.wpht-marker { display: grid; place-items: center; width: 42px; height: 42px; border: 3px solid #fff; border-radius: 50% 50% 50% 14%; transform: rotate(-45deg); color: #fff; background: var(--wpht-accent, #226b55); box-shadow: 0 5px 13px rgba(0,0,0,.28); font-size: 17px; line-height: 1; }
.wpht-marker-content { display: grid; place-items: center; transform: rotate(45deg); }
.wpht-marker--group { border-radius: 50%; transform: none; font-size: 13px; }
.wpht-marker--group .wpht-marker-content { transform: none; }
.leaflet-popup-content-wrapper { border-radius: 14px !important; }
.leaflet-popup-content { margin: 12px !important; }
.wpht-popup { min-width: 220px; color: #263a31; font-family: var(--wpht-font, inherit); }
.wpht-popup-media { position: relative; margin-bottom: 10px; overflow: hidden; border-radius: 10px; }
.wpht-popup-photo { display: block; width: 100%; height: 120px; object-fit: cover; }
.wpht-popup-media .wpht-photo-credit { font-size: 9px; }
.wpht-popup-title { display: flex; gap: 9px; align-items: center; }
.wpht-popup-title strong { display: block; color: #15251f; line-height: 1.25; }
.wpht-popup-title small { display: block; color: #687a72; margin-top: 2px; }
.wpht-popup-logo { width: 42px; height: 42px; object-fit: contain; padding: 4px; border: 1px solid #d9e4df; border-radius: 9px; }
.wpht-popup-rating { color: #8b6410; font-weight: 700; margin-top: 7px; }
.wpht-popup-address { color: #687a72; margin-top: 6px; font-size: 12px; }
.wpht-popup-price { color: #226b55; margin-top: 7px; font-weight: 800; }
.wpht-popup-source { margin-top: 8px; color: #687a72; font-size: 10px; line-height: 1.35; }
.wpht-popup-actions { display: flex; gap: 10px; margin-top: 10px; }
.wpht-popup-actions button,
.wpht-popup-actions a { border: 0; background: transparent; color: #226b55; padding: 0; font-weight: 800; font-size: 12px; cursor: pointer; text-decoration: none; }
.wpht-popup-group { display: grid; gap: 5px; margin-top: 8px; }
.wpht-popup-group button,
.wpht-popup-entry { display: grid; text-align: left; padding: 7px 8px; border: 1px solid #d9e4df; border-radius: 8px; color: #15251f; background: #fff; }
.wpht-popup-group button { cursor: pointer; }
.wpht-popup-group small { color: #687a72; }
.wpht-google-zoom { margin: 12px 10px 0 0; overflow: hidden; border-radius: 9px; box-shadow: 0 2px 7px rgba(0,0,0,.25); }
.wpht-google-zoom button { display: block; width: 42px; height: 40px; border: 0; border-bottom: 1px solid #ddd; color: #222; background: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.wpht-google-zoom button:last-child { border-bottom: 0; }

.wpht-mobile-tabs { display: none; margin-bottom: 12px; padding: 4px; border-radius: 12px; background: var(--wpht-accent-soft, #e7f2ed); }
.wpht-mobile-tab { flex: 1; min-height: 40px; border: 0; border-radius: 9px; color: var(--wpht-accent, #226b55); background: transparent; font-weight: 800; cursor: pointer; }
.wpht-mobile-tab.is-active { color: var(--wpht-button-text, #fff); background: var(--wpht-button, #18382c); }
.wpht-source { display: flex; flex-wrap: wrap; gap: 5px 15px; margin-top: 16px; color: var(--wpht-muted, #687a72); font-size: .72em; }

body.wpht-modal-open { overflow: hidden; }
.wpht-modal[hidden] { display: none !important; }
.wpht-modal { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 24px; }
.wpht-modal-backdrop { position: absolute; inset: 0; background: rgba(10,22,17,.68); backdrop-filter: blur(3px); }
.wpht-modal-dialog { position: relative; z-index: 1; width: min(980px, 100%); max-height: min(92vh, 980px); overflow: auto; border-radius: 22px; color: var(--wpht-text, #293d35); background: var(--wpht-card, #fff); box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.wpht-modal-close { position: sticky; z-index: 5; float: right; top: 12px; margin: 12px 12px -58px 0; width: 42px; height: 42px; border: 0; border-radius: 50%; color: #15251f; background: rgba(255,255,255,.94); box-shadow: 0 4px 18px rgba(0,0,0,.18); font-size: 26px; cursor: pointer; }
.wpht-modal-content { clear: both; }
.wpht-detail-loading { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 260px; color: var(--wpht-muted, #687a72); }
.wpht-spinner { width: 28px; height: 28px; border: 3px solid var(--wpht-border, #d9e4df); border-top-color: var(--wpht-accent, #226b55); border-radius: 50%; animation: wpht-spin .8s linear infinite; }
@keyframes wpht-spin { to { transform: rotate(360deg); } }
.wpht-detail-gallery { background: #111; }
.wpht-detail-hero { position: relative; height: min(52vh, 480px); }
.wpht-detail-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wpht-detail-credit { position: absolute; right: 10px; bottom: 8px; max-width: calc(100% - 20px); padding: 4px 7px; border-radius: 6px; color: #fff; background: rgba(0,0,0,.6); font-size: 11px; }
.wpht-detail-credit:empty { display: none; }
.wpht-detail-thumbs { display: flex; gap: 7px; overflow-x: auto; padding: 8px; }
.wpht-detail-thumbs button { flex: 0 0 82px; height: 59px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 7px; background: #222; cursor: pointer; }
.wpht-detail-thumbs button:focus,
.wpht-detail-thumbs button.is-active { border-color: #fff; }
.wpht-detail-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.wpht-detail-main { padding: 28px; }
.wpht-detail-heading { display: flex; align-items: flex-start; gap: 14px; }
.wpht-detail-logo { width: 68px; height: 68px; object-fit: contain; padding: 6px; border: 1px solid var(--wpht-border, #d9e4df); border-radius: 13px; }
.wpht-detail-type { color: var(--wpht-accent, #226b55); font-size: .75em; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.wpht-detail h2 { margin: 2px 0 0; color: var(--wpht-title, #15251f); font-size: 2em; line-height: 1.12; }
.wpht-detail-address { margin-top: 6px; color: var(--wpht-muted, #687a72); }
.wpht-detail-badges { margin-top: 15px; }
.wpht-detail-facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 9px; margin-top: 19px; }
.wpht-detail-facts > div { display: grid; gap: 3px; padding: 12px; border-radius: 11px; background: var(--wpht-bg, #f4f7f5); }
.wpht-detail-facts span { color: var(--wpht-muted, #687a72); font-size: .72em; }
.wpht-detail-facts strong { color: var(--wpht-title, #15251f); }
.wpht-detail-practical { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wpht-detail-practical > div { display: grid; gap: 3px; padding: 11px 12px; border: 1px solid var(--wpht-border, #d9e4df); border-radius: 10px; background: var(--wpht-bg, #f4f7f5); }
.wpht-detail-practical span { color: var(--wpht-muted, #687a72); font-size: .74em; }
.wpht-detail-practical strong { overflow-wrap: anywhere; color: var(--wpht-title, #15251f); }
.wpht-detail section { margin-top: 23px; }
.wpht-detail h3 { margin: 0 0 9px; color: var(--wpht-title, #15251f); font-size: 1.18em; }
.wpht-detail-description { white-space: normal; }
.wpht-detail-amenities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px 14px; margin: 0; padding: 0; list-style: none; }
.wpht-detail-amenities li { position: relative; padding-left: 18px; }
.wpht-detail-amenities li::before { content: '✓'; position: absolute; left: 0; color: var(--wpht-accent, #226b55); font-weight: 800; }
.wpht-detail-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.wpht-detail-tag { padding: 6px 9px; border: 1px solid var(--wpht-border, #d9e4df); border-radius: 999px; color: var(--wpht-text, #293d35); background: var(--wpht-bg, #f4f7f5); font-size: .82em; }
.wpht-opening-periods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wpht-opening-periods > div { display: grid; gap: 3px; padding: 11px 12px; border: 1px solid var(--wpht-border, #d9e4df); border-radius: 10px; background: var(--wpht-bg, #f4f7f5); }
.wpht-opening-periods span,
.wpht-opening-periods small { color: var(--wpht-muted, #687a72); }
.wpht-opening-periods small { font-size: .76em; }
.wpht-detail-contact { display: flex; flex-wrap: wrap; gap: 8px; }
.wpht-detail-contact a { padding: 9px 12px; border-radius: 9px; color: var(--wpht-button-text, #fff); background: var(--wpht-button, #18382c); text-decoration: none; font-weight: 700; }
.wpht-detail-source { margin-top: 25px; padding-top: 14px; border-top: 1px solid var(--wpht-border, #d9e4df); color: var(--wpht-muted, #687a72); font-size: .75em; }
.wpht-detail-warning { margin: 0 28px 28px; color: #745510; }

@media (max-width: 1180px) {
	.wpht-filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.wpht-field--search { grid-column: span 2; }
	.wpht-advanced { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.wpht-checks { grid-column: 1 / -1; }
	.wpht-card { grid-template-columns: 115px minmax(0, 1fr); }
}
@media (max-width: 1024px) {
	.wpht-app { font-size: var(--wpht-text-tablet, 16px); }
	.wpht-title { font-size: var(--wpht-title-tablet, 36px); }
	.wpht-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wpht-layout { grid-template-columns: 1fr !important; }
	.wpht-list-panel,
	.wpht-map-panel { height: var(--wpht-map-tablet, 560px); order: initial !important; }
	.wpht-map-panel { order: 1 !important; }
	.wpht-list-panel { order: 2 !important; height: auto; max-height: none; }
	.wpht-list { overflow: visible; }
	.wpht-card { grid-template-columns: 180px minmax(0, 1fr); }
	.wpht-photo-placeholder { min-height: 190px; }
	.wpht-load-more { margin-top: 0; }
}
@media (max-width: 767px) {
	.wpht-app { font-size: var(--wpht-text-mobile, 15px); padding: max(14px, calc(var(--wpht-padding, 26px) * .62)); border-radius: min(var(--wpht-radius, 22px), 16px); }
	.wpht-title { font-size: var(--wpht-title-mobile, 29px); }
	.wpht-header { margin-bottom: 18px; }
	.wpht-stats { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
	.wpht-stat { grid-template-columns: auto auto; padding: 11px; }
	.wpht-stat > span:last-child { grid-column: 1 / -1; white-space: normal; }
	.wpht-filters { grid-template-columns: 1fr 1fr; padding: 12px; }
	.wpht-field--search { grid-column: 1 / -1; }
	.wpht-advanced { grid-template-columns: 1fr 1fr; }
	.wpht-checks { grid-column: 1 / -1; }
	.wpht-advanced-toggle,
	.wpht-reset { width: 100%; }
	.wpht-mobile-tabs { display: flex; }
	.wpht-list-panel,
	.wpht-map-panel { height: auto; }
	.wpht-map-panel { height: var(--wpht-map-mobile, 500px); }
	.wpht-mobile-tabs + .wpht-error,
	.wpht-mobile-tabs + .wpht-warning { margin-top: 0; }
	.wpht-mobile-tabs ~ .wpht-layout .wpht-map-panel { display: none; }
	.wpht-mobile-show-map .wpht-mobile-tabs ~ .wpht-layout .wpht-map-panel { display: block; }
	.wpht-mobile-show-map .wpht-mobile-tabs ~ .wpht-layout .wpht-list-panel { display: none; }
	.wpht-mobile-mode-stacked .wpht-mobile-tabs { display: none; }
	.wpht-mobile-mode-stacked .wpht-mobile-tabs ~ .wpht-layout .wpht-map-panel,
	.wpht-mobile-mode-stacked .wpht-mobile-tabs ~ .wpht-layout .wpht-list-panel { display: block; }
	.wpht-card { grid-template-columns: 122px minmax(0, 1fr); }
	.wpht-card-media { min-height: 100%; }
	.wpht-photo-placeholder { min-height: 175px; }
	.wpht-card-description { -webkit-line-clamp: 2; }
	.wpht-source { display: grid; }
	.wpht-modal { padding: 0; align-items: end; }
	.wpht-modal-dialog { width: 100%; max-height: 94vh; border-radius: 19px 19px 0 0; }
	.wpht-detail-main { padding: 20px 17px 26px; }
	.wpht-detail-hero { height: 38vh; }
	.wpht-detail h2 { font-size: 1.55em; }
	.wpht-detail-logo { width: 54px; height: 54px; }
	.wpht-detail-facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.wpht-detail-amenities,
	.wpht-opening-periods { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 480px) {
	.wpht-filters,
	.wpht-advanced { grid-template-columns: 1fr; }
	.wpht-field--search,
	.wpht-checks { grid-column: 1; }
	.wpht-card { grid-template-columns: 1fr; }
	.wpht-card-media { aspect-ratio: 16 / 10; }
	.wpht-media-4-3 { aspect-ratio: 4 / 3; }
	.wpht-media-1-1 { aspect-ratio: 1 / 1; }
	.wpht-photo-placeholder { min-height: 0; }
	.wpht-card-kicker { font-size: .68em; }
	.wpht-detail-amenities,
	.wpht-opening-periods { grid-template-columns: 1fr; }
	.wpht-detail-practical { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.wpht-app *, .wpht-app *::before, .wpht-app *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: .001ms !important; }
}

/* ========================================================================== 
   Version 2.0.0 — géométrie publique carrée et palettes administrables
   ========================================================================== */

/* La géométrie carrée est volontaire et prioritaire sur Elementor/le thème. */
.wpht-app,
.wpht-app :where(div,section,article,header,footer,nav,aside,form,fieldset,label,input,select,textarea,button,a,span,img,ul,ol,li,table,thead,tbody,tr,th,td),
.wpht-app .leaflet-control,
.wpht-app .leaflet-control a,
.wpht-app .leaflet-popup-content-wrapper,
.wpht-app .leaflet-popup-tip,
.wpht-app .leaflet-tooltip,
.wpht-app .leaflet-bar,
.wpht-app .leaflet-bar a,
.wpht-app .gm-style .gm-style-iw,
.wpht-app .gm-style .gm-style-iw-d,
.wpht-app .gm-style button {
	border-radius: 0 !important;
}
.wpht-app .wpht-spinner { border-radius: 50% !important; }

.wpht-app {
	color: var(--wpht-text);
	background: var(--wpht-bg);
	border-color: var(--wpht-border);
}
.wpht-app a { color: var(--wpht-link); }
.wpht-app a:hover { color: var(--wpht-link-hover); }
.wpht-title,
.wpht-card h3,
.wpht-list-head strong { color: var(--wpht-title); }
.wpht-intro,
.wpht-address,
.wpht-data-state,
.wpht-card-description,
.wpht-card-source,
.wpht-source { color: var(--wpht-muted); }

/* Statistiques et messages. */
.wpht-stat { background: var(--wpht-stat-bg); border-color: var(--wpht-border); }
.wpht-stat-icon { color: var(--wpht-stat-icon); background: var(--wpht-stat-icon-bg); }
.wpht-error { color: var(--wpht-error-text); border-color: var(--wpht-error-text); background: var(--wpht-error-bg); }
.wpht-warning { color: var(--wpht-warning-text); border-color: var(--wpht-warning-text); background: var(--wpht-warning-bg); }
.wpht-empty { color: var(--wpht-muted); background: var(--wpht-surface-alt); border: 1px solid var(--wpht-border); }

/* Moteur, champs et facettes. */
.wpht-filters { background: var(--wpht-filters); border-color: var(--wpht-border); }
.wpht-field > span { color: var(--wpht-muted); }
.wpht-field input,
.wpht-field select {
	color: var(--wpht-field-text);
	background: var(--wpht-field-bg);
	border-color: var(--wpht-field-border);
}
.wpht-field input:focus,
.wpht-field select:focus { border-color: var(--wpht-field-focus); box-shadow: 0 0 0 2px color-mix(in srgb, var(--wpht-field-focus) 18%, transparent); }
.wpht-check { color: var(--wpht-check-text); background: var(--wpht-check-bg); border-color: var(--wpht-check-border); }
.wpht-check:has(input:checked) { color: var(--wpht-check-active-text); background: var(--wpht-check-active-bg); border-color: var(--wpht-check-active-bg); }
.wpht-check input { accent-color: var(--wpht-check-active-bg); }
.wpht-advanced-toggle,
.wpht-mobile-tab { color: var(--wpht-secondary-button-text); background: var(--wpht-secondary-button); }
.wpht-reset,
.wpht-load-more,
.wpht-mobile-tab.is-active,
.wpht-card-actions button,
.wpht-card-actions a,
.wpht-detail-contact a {
	color: var(--wpht-button-text);
	background: var(--wpht-button);
	border-color: var(--wpht-button);
}
.wpht-reset:hover,
.wpht-load-more:hover,
.wpht-card-actions button:hover,
.wpht-card-actions a:hover,
.wpht-detail-contact a:hover {
	color: var(--wpht-button-hover-text);
	background: var(--wpht-button-hover);
	border-color: var(--wpht-button-hover);
}

/* Cartes de résultats. */
.wpht-list-panel,
.wpht-map-panel { background: var(--wpht-panel); border-color: var(--wpht-border); }
.wpht-list-head { background: var(--wpht-surface); border-color: var(--wpht-border); }
.wpht-card {
	color: var(--wpht-card-text);
	background: var(--wpht-card);
	border-color: var(--wpht-card-border);
}
.wpht-card:hover { border-color: var(--wpht-card-hover-border); }
.wpht-card h3 { color: var(--wpht-card-title); }
.wpht-card-kicker { color: var(--wpht-type-text); }
.wpht-card-meta,
.wpht-card-source,
.wpht-card-description,
.wpht-address { color: var(--wpht-card-meta); }
.wpht-photo-credit { color: var(--wpht-credit-text); background: var(--wpht-credit-bg); }
.wpht-card-logo,
.wpht-card-logo-inline { background: var(--wpht-surface); border-color: var(--wpht-card-border); }
.wpht-badge { color: var(--wpht-badge-text); background: var(--wpht-badge); }
.wpht-badge--label { color: var(--wpht-label-text); background: var(--wpht-label-bg); }
.wpht-badge--level { color: var(--wpht-level-text); background: var(--wpht-level-bg); }
.wpht-card-meta:has(+ .wpht-card-actions) { color: var(--wpht-price-text); background: var(--wpht-price-bg); display: inline-flex; width: fit-content; padding: 4px 8px; margin-top: 8px; }

/* Vues spécialisées. */
.wpht-no-map .wpht-layout,
.wpht-map-only .wpht-layout { grid-template-columns: 1fr !important; }
.wpht-no-map .wpht-list-panel,
.wpht-view-list .wpht-list-panel,
.wpht-view-grid .wpht-list-panel { height: auto; min-height: 0; overflow: visible; }
.wpht-no-map .wpht-list,
.wpht-view-list .wpht-list,
.wpht-view-grid .wpht-list { overflow: visible; }
.wpht-view-grid .wpht-list {
	display: grid;
	grid-template-columns: repeat(var(--wpht-grid-columns, 3), minmax(0, 1fr));
	gap: 16px;
}
.wpht-view-grid .wpht-card { grid-template-columns: 1fr; margin: 0; }
.wpht-view-grid .wpht-card-media { aspect-ratio: 16 / 10; min-height: 0; }
.wpht-view-grid .wpht-card-media > img:first-child { position: absolute; inset: 0; }
.wpht-view-grid .wpht-photo-placeholder { min-height: 0; }
.wpht-map-only .wpht-map-panel { width: 100%; }
.wpht-map-only .wpht-mobile-tabs,
.wpht-no-map .wpht-mobile-tabs { display: none !important; }

/* Sélections éditoriales. */
.wpht-selection { background: transparent; border: 0; padding: 0; }
.wpht-selection-heading { margin-bottom: 18px; }
.wpht-selection-heading > span { display: block; color: var(--wpht-selection-eyebrow); font-size: .78em; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.wpht-selection-heading h2 { margin: 4px 0 0; color: var(--wpht-selection-heading); font-size: var(--wpht-title-desktop); line-height: 1.08; }
.wpht-selection-heading p { margin: 9px 0 0; color: var(--wpht-selection-intro); }
.wpht-selection-grid {
	display: grid;
	grid-template-columns: repeat(var(--wpht-selection-columns, 3), minmax(0, 1fr));
	gap: 16px;
}
.wpht-selection-card[hidden] { display: none !important; }
.wpht-selection-card {
	position: relative;
	min-height: 360px;
	overflow: hidden;
	background: var(--wpht-selection-bg);
	border: 1px solid var(--wpht-card-border);
	box-shadow: var(--wpht-card-shadow);
}
.wpht-selection-card.is-primary { grid-column: span 2; grid-row: span 2; min-height: 620px; }
.wpht-selection-media,
.wpht-selection-media img,
.wpht-selection-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.wpht-selection-media { overflow: hidden; background: var(--wpht-selection-bg); }
.wpht-selection-media img { object-fit: cover; transition: transform .35s ease; }
.wpht-selection-card:hover .wpht-selection-media img { transform: scale(1.025); }
.wpht-selection-overlay { background: linear-gradient(180deg, color-mix(in srgb, var(--wpht-selection-overlay) 4%, transparent) 5%, color-mix(in srgb, var(--wpht-selection-overlay) 88%, transparent) 100%); }
.wpht-selection-body { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: inherit; height: 100%; padding: 22px; }
.wpht-selection-badge { align-self: flex-start; margin-bottom: 8px; padding: 5px 8px; color: var(--wpht-selection-badge-text); background: var(--wpht-selection-badge-bg); font-size: .72em; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.wpht-selection-type { color: var(--wpht-selection-meta); font-size: .75em; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.wpht-selection-card h3 { margin: 4px 0 0; color: var(--wpht-selection-title); font-size: clamp(1.3rem, 2.3vw, 2.2rem); line-height: 1.08; }
.wpht-selection-meta { margin: 8px 0 0; color: var(--wpht-selection-meta); }
.wpht-selection-excerpt { margin: 9px 0 0; color: var(--wpht-selection-excerpt); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.wpht-selection-price { align-self: flex-start; margin: 10px 0 0; padding: 5px 8px; color: var(--wpht-price-text); background: var(--wpht-price-bg); font-weight: 800; }
.wpht-selection-card .wpht-card-detail { align-self: flex-start; margin-top: 13px; padding: 9px 13px; border: 1px solid var(--wpht-selection-button-bg); color: var(--wpht-selection-button-text); background: var(--wpht-selection-button-bg); font-weight: 800; cursor: pointer; }
.wpht-selection--grille .wpht-selection-card.is-primary,
.wpht-selection--vertical .wpht-selection-card.is-primary,
.wpht-selection--compact .wpht-selection-card.is-primary { grid-column: auto; grid-row: auto; min-height: inherit; }
.wpht-selection--vertical .wpht-selection-grid { grid-template-columns: 1fr; }
.wpht-selection--vertical .wpht-selection-card { min-height: 320px; }
.wpht-selection--compact .wpht-selection-card { min-height: 240px; }
.wpht-selection--preview { pointer-events: none; }
.wpht-admin-diagnostic { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px; border: 1px solid #dba400; background: #fff8d9; color: #5c4700; }

/* Carte Leaflet et popups. */
.wpht-marker-wrap { background: transparent !important; border: 0 !important; }
.wpht-marker { display: grid; place-items: center; width: 38px; height: 38px; color: var(--wpht-map-marker-text); background: var(--wpht-map-marker-bg); border: 3px solid var(--wpht-map-marker-border); box-shadow: 0 5px 15px rgba(0,0,0,.25); }
.wpht-marker--group { font-weight: 900; }
.wpht-app .leaflet-popup-content-wrapper,
.wpht-app .leaflet-popup-tip { background: var(--wpht-map-popup-bg); color: var(--wpht-map-popup-meta); }
.wpht-popup strong,
.wpht-popup-title strong { color: var(--wpht-map-popup-title); }
.wpht-popup small,
.wpht-popup-address,
.wpht-popup-source { color: var(--wpht-map-popup-meta); }
.wpht-popup-actions button,
.wpht-popup-actions a { color: var(--wpht-map-popup-button-text); background: var(--wpht-map-popup-button-bg); border-color: var(--wpht-map-popup-button-bg); }
.wpht-app .leaflet-control,
.wpht-app .leaflet-control a,
.wpht-google-zoom,
.wpht-google-zoom button { color: var(--wpht-map-control-text); background: var(--wpht-map-control-bg); border-color: var(--wpht-border); }

/* Modale, fiche détaillée et galerie. */
.wpht-modal-backdrop { background: color-mix(in srgb, var(--wpht-modal-backdrop) 72%, transparent); }
.wpht-modal-dialog,
.wpht-detail-main { color: var(--wpht-detail-text); background: var(--wpht-detail-bg); }
.wpht-modal-close { color: var(--wpht-detail-title); background: var(--wpht-detail-bg); }
.wpht-detail h2,
.wpht-detail h3,
.wpht-detail-facts strong,
.wpht-detail-practical strong { color: var(--wpht-detail-title); }
.wpht-detail-address,
.wpht-detail-type,
.wpht-detail-facts span,
.wpht-detail-practical span,
.wpht-opening-periods span,
.wpht-opening-periods small,
.wpht-detail-source { color: var(--wpht-detail-muted); }
.wpht-detail-facts > div,
.wpht-detail-practical > div,
.wpht-opening-periods > div { background: var(--wpht-detail-panel-bg); border-color: var(--wpht-detail-panel-border); }
.wpht-detail-gallery { color: var(--wpht-gallery-text); background: var(--wpht-gallery-bg); }
.wpht-detail-thumbs button:focus,
.wpht-detail-thumbs button.is-active { border-color: var(--wpht-gallery-accent); }
.wpht-detail-amenities li { color: var(--wpht-amenity-text); background: var(--wpht-amenity-bg); padding: 7px 8px 7px 26px; }
.wpht-detail-amenities li::before { left: 8px; color: var(--wpht-gallery-accent); }

@media (max-width: 1024px) {
	.wpht-view-grid .wpht-list { grid-template-columns: repeat(min(var(--wpht-grid-columns, 3), 2), minmax(0, 1fr)); }
	.wpht-selection-grid { grid-template-columns: repeat(var(--wpht-selection-columns-tablet, 2), minmax(0, 1fr)); }
	.wpht-selection-card.is-primary { grid-column: auto; grid-row: auto; min-height: 440px; }
	.wpht-selection-heading h2 { font-size: var(--wpht-title-tablet); }
}
@media (max-width: 767px) {
	.wpht-app { border-radius: 0 !important; }
	.wpht-view-grid .wpht-list { grid-template-columns: 1fr; }
	.wpht-selection-grid { grid-template-columns: repeat(var(--wpht-selection-columns-mobile, 1), minmax(0, 1fr)); }
	.wpht-selection-card,
	.wpht-selection-card.is-primary { min-height: 360px; }
	.wpht-selection-heading h2 { font-size: var(--wpht-title-mobile); }
	.wpht-selection-body { padding: 18px; }
	.wpht-map-only .wpht-map-panel { display: block !important; height: var(--wpht-map-mobile); }
}

/* Variables de palette complémentaires : aucun réglage d’apparence sans effet. */
.wpht-success { color: var(--wpht-success-text); border-color: var(--wpht-success-text); background: var(--wpht-success-bg); }
.wpht-card-kicker { display: inline-flex; width: fit-content; padding: 3px 6px; color: var(--wpht-type-text); background: var(--wpht-type-bg); }

/* 2.1.2 — fiche rapide glissante et page permanente. */
.wpht-modal {
	display: flex !important;
	align-items: stretch !important;
	justify-content: flex-end !important;
	padding: 0 !important;
	overflow: hidden !important;
}
.wpht-modal-dialog {
	width: min(820px, 92vw) !important;
	height: 100dvh !important;
	max-height: 100dvh !important;
	margin: 0 !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	border-left: 1px solid var(--wpht-detail-panel-border) !important;
	box-shadow: -24px 0 70px rgba(0, 0, 0, .34) !important;
	animation: wpht-drawer-enter .28s cubic-bezier(.22,.8,.24,1) both;
}
.wpht-modal-close {
	position: sticky !important;
	top: 12px !important;
	right: 12px !important;
	z-index: 30 !important;
}
.wpht-detail-page-action {
	display: flex;
	justify-content: flex-start;
	margin: 18px 0 22px;
}
.wpht-detail-page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 11px 18px;
	border: 1px solid var(--wpht-button);
	background: var(--wpht-button);
	color: var(--wpht-button-text) !important;
	font-weight: 800;
	text-decoration: none !important;
}
.wpht-detail-page-link:hover,
.wpht-detail-page-link:focus-visible {
	background: var(--wpht-button-hover);
	color: var(--wpht-button-hover-text) !important;
}
@keyframes wpht-drawer-enter {
	from { transform: translateX(100%); opacity: .72; }
	to { transform: translateX(0); opacity: 1; }
}
@media (max-width: 767px) {
	.wpht-modal-dialog { width: 100vw !important; }
	.wpht-detail-page-link { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.wpht-modal-dialog { animation: none !important; }
}
