/* The Lighterhouse, global search. Charcoal on white, Flame Orange only for focus and hover. */

/* Header icon: mirrors the wishlist heart next to it (24 px button, 18 px line icon, white, orange on hover). */
.tlh-search-icon,
button.tlh-search-icon {
	width: 24px; height: 24px; padding: 0 !important; margin: 0 !important; border: 0 !important;
	background: transparent !important; box-shadow: none !important; color: #fff !important;
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
	-webkit-appearance: none; appearance: none; line-height: 1; vertical-align: middle; transition: color .2s ease;
}
.tlh-search-icon:hover, .tlh-search-icon:focus-visible { color: #FE5000 !important; outline: none; }
.tlh-search-icon svg, .tlh-search-bar svg { width: 18px; height: 18px; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

/* Menu field ([tlh_search_bar]): looks like a search box, opens the same panel. */
.tlh-search-bar,
button.tlh-search-bar {
	display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; min-height: 46px; padding: 0 16px !important;
	background: transparent !important; color: inherit !important; border: 1px solid currentColor !important; border-radius: 0 !important;
	font: inherit; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; text-align: left; cursor: pointer; opacity: .85;
	-webkit-appearance: none; appearance: none; box-shadow: none !important;
}
.tlh-search-bar:hover { opacity: 1; }

/* ------------------------------------------------------------------ panel */
.tlhs {
	--ink: var(--e-global-color-text, #252527); --mist: #F0F0F1; --flame: #FE5000; --line: #e4e4e6; --soft: #6b6b70;
	--head: var(--e-global-typography-primary-font-family, "Shippori Mincho B1"), "Shippori Mincho", Georgia, serif;
	--body: var(--e-global-typography-text-font-family, "Shippori Mincho"), Georgia, serif;
	position: fixed; inset: 0; z-index: 100000; color: var(--ink); font-family: var(--body);
}
.tlhs[hidden], .tlhs [hidden] { display: none !important; }
.tlhs * { box-sizing: border-box; }
/* The theme styles every button and input (pink hover, borders, padding): neutralise inside the panel. */
.tlhs button, .tlhs button:hover, .tlhs button:focus, .tlhs input, .tlhs input:focus {
	font-family: inherit; letter-spacing: inherit; text-transform: none; margin: 0; box-shadow: none !important; outline: none !important;
	min-height: 0; min-width: 0; border-radius: 0; background: none !important; background-color: transparent !important; color: inherit; line-height: normal; font-weight: 400;
}
.tlhs .tlhs__chip, .tlhs .tlhs__chip:hover, .tlhs .tlhs__chip:focus { background: #fff !important; border: 1px solid #d6d6da !important; border-radius: 999px; padding: 0 16px; font-size: 14px; }
.tlhs .tlhs__chip:hover, .tlhs .tlhs__chip:focus-visible { border-color: var(--flame) !important; color: var(--flame) !important; }
.tlhs .tlhs__btn:hover, .tlhs .tlhs__btn:focus-visible { background: #000 !important; color: #fff !important; }
.tlhs__backdrop { position: absolute; inset: 0; background: rgba(37, 37, 39, .38); opacity: 0; transition: opacity .25s ease; }
.tlhs__panel {
	position: absolute; left: 0; right: 0; top: 0; max-height: 100%; overflow-y: auto; overscroll-behavior: contain;
	background: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
	transform: translateY(-16px); opacity: 0; transition: transform .28s cubic-bezier(.16, 1, .3, 1), opacity .2s ease;
}
.tlhs.is-open .tlhs__backdrop { opacity: 1; }
.tlhs.is-open .tlhs__panel { transform: none; opacity: 1; }

.tlhs__top {
	position: sticky; top: 0; z-index: 2; background: #fff; border-bottom: 1px solid var(--line);
	display: grid; grid-template-columns: 1fr minmax(0, 760px) 1fr; align-items: center; gap: 16px;
	min-height: var(--tlhs-top, 100px); padding: 12px 24px;
}
.tlhs__form { grid-column: 2; position: relative; display: flex; align-items: center; border: 1px solid var(--ink); height: 50px; margin: 0; }
.tlhs__form svg { width: 18px; height: 18px; margin: 0 4px 0 16px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.tlhs .tlhs__q {
	flex: 1; min-width: 0; height: 100% !important; border: 0 !important; -webkit-appearance: none; appearance: none; outline: 0; background: transparent !important; box-shadow: none !important;
	padding: 0 12px !important; margin: 0; font-family: var(--body); font-size: 18px; color: var(--ink) !important; border-radius: 0;
}
.tlhs__q::placeholder { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: #8a8a90; }
.tlhs__q::-webkit-search-cancel-button { display: none; }
.tlhs__form:focus-within { border-color: var(--flame); }
.tlhs .tlhs__clear {
	flex: none; border: 0 !important; background: none; padding: 0 16px !important; height: 100%; cursor: pointer; color: var(--soft);
	font: 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase;
}
.tlhs .tlhs__clear { color: var(--soft) !important; }
.tlhs .tlhs__clear:hover, .tlhs .tlhs__clear:focus-visible { color: var(--flame) !important; }
.tlhs .tlhs__close { color: var(--ink) !important; }
.tlhs .tlhs__close {
	grid-column: 3; justify-self: start; width: 40px; height: 40px; border: 0 !important; background: none; cursor: pointer; color: var(--ink);
	display: inline-flex; align-items: center; justify-content: center; padding: 0 !important;
}
.tlhs__close svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.4; fill: none; }
.tlhs .tlhs__close:hover, .tlhs .tlhs__close:focus-visible { color: var(--flame) !important; }

.tlhs__body { max-width: 1440px; margin: 0 auto; padding: 22px 48px 48px; }
.tlhs__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 34px; }
.tlhs__chips-label { width: 100%; text-align: center; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--soft); margin-bottom: 2px; }
.tlhs__chip {
	display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border: 1px solid #d6d6da; border-radius: 999px;
	font-size: 14px; color: var(--ink) !important; text-decoration: none !important; background: #fff; cursor: pointer; font-family: var(--body);
	transition: border-color .15s ease, color .15s ease;
}
.tlhs__chip:hover, .tlhs__chip:focus-visible { border-color: var(--flame); color: var(--flame) !important; outline: none; }

.tlhs__h {
	font-family: var(--head); font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--ink); margin: 0 0 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.tlhs__h a { font-family: var(--body); font-size: 12px; font-weight: 400; letter-spacing: .16em; color: var(--ink) !important; text-decoration: underline; text-underline-offset: 4px; }
.tlhs__h a:hover { color: var(--flame) !important; }

/* idle: explore tiles, spark, customer service */
.tlhs__idle { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.tlhs__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tlhs__tile { text-decoration: none !important; color: var(--ink) !important; display: block; }
.tlhs__tile-img { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--mist); }
.tlhs__tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.tlhs__tile:hover img { transform: scale(1.04); }
.tlhs__tile-l { display: block; text-align: center; margin-top: 10px; font-size: 15px; }
.tlhs__tile-n { display: block; text-align: center; font-size: 12px; color: var(--soft); margin-top: 2px; }
.tlhs__tile:hover .tlhs__tile-l { color: var(--flame); }

.tlhs__list { list-style: none; margin: 0; padding: 0 0 0 20px; border-left: 1px solid var(--ink); }
.tlhs__list li { margin: 0 0 16px; }
.tlhs__list a { display: flex; align-items: center; justify-content: space-between; gap: 14px; text-decoration: none !important; color: var(--ink) !important; font-size: 15px; line-height: 1.35; }
.tlhs__list a:hover { color: var(--flame) !important; }
.tlhs__list small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); margin-bottom: 3px; }
.tlhs__chev { flex: none; width: 8px; height: 8px; border-right: 1.3px solid currentColor; border-top: 1.3px solid currentColor; transform: rotate(45deg); margin-right: 4px; }
.tlhs__list mark, .tlhs__card-t mark { background: none; color: inherit; font-weight: 700; }

.tlhs__all { display: inline-block; margin-top: 4px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink) !important; text-decoration: underline; text-underline-offset: 4px; }
.tlhs__all:hover { color: var(--flame) !important; }
.tlhs__service { background: var(--mist); padding: 10px 22px; }
.tlhs__service a { display: flex; align-items: center; gap: 16px; padding: 12px 0; text-decoration: none !important; color: var(--ink) !important; font-size: 15px; }
.tlhs__service a + a { border-top: 1px solid #e2e2e5; }
.tlhs__service a:hover { color: var(--flame) !important; }
.tlhs__service svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* results */
.tlhs__results { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
.tlhs__results[hidden], .tlhs__idle[hidden] { display: none; }
.tlhs__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; }
.tlhs__card { text-decoration: none !important; color: var(--ink) !important; display: block; }
.tlhs__card-img { display: block; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.tlhs__card-img img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.tlhs__card:hover .tlhs__card-img img { transform: scale(1.03); }
.tlhs__card-t { display: block; text-align: center; font-size: 13px; line-height: 1.45; letter-spacing: .06em; text-transform: uppercase; margin-top: 10px; }
.tlhs__card-m { display: block; text-align: center; font-size: 12px; color: var(--soft); margin-top: 4px; }
.tlhs__card-p { display: block; text-align: center; font-size: 14px; margin-top: 6px; color: var(--ink); }
.tlhs__card-p.is-sold { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); }
.tlhs__card:hover .tlhs__card-t { color: var(--flame); }
.tlhs__more { text-align: center; margin-top: 32px; }
.tlhs__btn {
	display: inline-block; background: #fff; color: #000 !important; border: 1px solid #000; border-radius: 0; padding: 16px 36px;
	font: 500 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none !important; cursor: pointer;
}
.tlhs__btn:hover { background: #000; color: #fff !important; }
.tlhs__side > div + div { margin-top: 36px; }
.tlhs__side .tlhs__list a { font-size: 14px; }
.tlhs__n { color: var(--soft); font-size: 12px; margin-left: 6px; white-space: nowrap; }
.tlhs__empty { grid-column: 1 / -1; text-align: center; padding: 20px 0 10px; }
.tlhs__empty p { font-size: 17px; margin: 0 0 18px; }
.tlhs__empty .tlhs__chips { margin-bottom: 26px; }
.tlhs__near { margin-top: 40px; text-align: left; }
.tlhs__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

html.tlhs-lock, html.tlhs-lock body { overflow: hidden !important; }

@media (max-width: 1180px) {
	.tlhs__idle { grid-template-columns: 1fr 1fr; }
	.tlhs__idle > :first-child { grid-column: 1 / -1; }
	.tlhs__results { grid-template-columns: 1fr; gap: 40px; }
	.tlhs__side { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
	.tlhs__side > div + div { margin-top: 0; }
}
@media (max-width: 767px) {
	.tlhs__panel { bottom: 0; }
	.tlhs__top { grid-template-columns: minmax(0, 1fr) auto; min-height: var(--tlhs-top, 64px); padding: 10px 12px 10px 16px; gap: 8px; }
	.tlhs__form { grid-column: 1; height: 46px; }
	.tlhs .tlhs__close { grid-column: 2; }
	.tlhs__q { font-size: 16px; }
	.tlhs__body { padding: 18px 16px 40px; }
	.tlhs__chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 -16px 26px; padding: 0 16px 4px; scrollbar-width: none; }
	.tlhs__chips::-webkit-scrollbar { display: none; }
	.tlhs__chips-label { display: none; }
	.tlhs__chip { flex: none; }
	.tlhs__idle { grid-template-columns: 1fr; gap: 36px; }
	.tlhs__tiles { display: flex; overflow-x: auto; gap: 12px; margin: 0 -16px; padding: 0 16px 4px; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; }
	.tlhs__tiles::-webkit-scrollbar { display: none; }
	.tlhs__tile { flex: 0 0 42%; scroll-snap-align: start; }
	.tlhs__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
	.tlhs__side { grid-template-columns: 1fr; gap: 32px; }
	.tlhs__empty .tlhs__chips { flex-wrap: wrap; justify-content: center; margin: 0 0 22px; overflow: visible; }
}
@media (prefers-reduced-motion: reduce) {
	.tlhs__panel, .tlhs__backdrop, .tlhs__tile img, .tlhs__card-img img { transition: none; }
}
