/* 0.3.50: compact browsing controls. The existing grid and photo crop stay in charge. */
.ttcjp-wrap [hidden] { display: none !important; }

.ttcjp-wrap .ttcjp-b-refine {
	min-width: 0;
	margin: 16px 5px 0;
	border-top: 1px solid #d9e3e9;
	border-bottom: 1px solid #d9e3e9;
}
.ttcjp-wrap .ttcjp-b-refine > summary {
	display: flex;
	align-items: center;
	gap: 7px;
	min-height: 44px;
	padding: 12px 2px;
	color: #28495f;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
}
.ttcjp-wrap .ttcjp-b-refine > summary::-webkit-details-marker,
.ttcjp-wrap .ttcjp-sort-menu > summary::-webkit-details-marker { display: none; }
.ttcjp-wrap .ttcjp-b-refine > summary::after {
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	margin: -3px 3px 0 auto;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	content: "";
}
.ttcjp-wrap .ttcjp-b-refine[open] > summary::after { margin-top: 3px; transform: rotate(225deg); }
.ttcjp-wrap .ttcjp-b-refine > summary:focus-visible,
.ttcjp-wrap .ttcjp-sort-menu > summary:focus-visible { outline: 3px solid #193b4d; outline-offset: 3px; }
.ttcjp-wrap .ttcjp-b-refine .ttcjp-refine-count,
.ttcjp-wrap [data-ttcjp-refine-count] { padding: 1px 6px; border-radius: 10px; background: #e1eaf0; color: #4c687a; font-size: 11px; }
.ttcjp-wrap .ttcjp-refine-form { min-width: 0; margin: 0; padding: 1px 2px 14px; }
.ttcjp-wrap .ttcjp-refine-form label:not(.ttcjp-include-unspecified) { display: block; min-width: 0; margin: 0 0 12px; }
.ttcjp-wrap .ttcjp-refine-form label > span,
.ttcjp-wrap .ttcjp-year-range legend { display: block; margin: 0 0 5px; padding: 0; color: #3e5c6e; font-size: 12px; font-weight: 700; line-height: 1.4; }
.ttcjp-wrap .ttcjp-refine-form input:not([type="checkbox"]):not([type="hidden"]),
.ttcjp-wrap .ttcjp-refine-form select {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 38px;
	margin: 0;
	padding: 7px 8px;
	border: 1px solid #cbd9e2;
	border-radius: 4px;
	background: #fff;
	color: #395568;
	font: inherit;
	font-size: 13px;
	line-height: 1.35;
}
.ttcjp-wrap .ttcjp-refine-form input::placeholder { color: #728593; opacity: 1; }
.ttcjp-wrap .ttcjp-refine-form small { display: block; margin-top: 4px; color: #667f8e; font-size: 11px; font-weight: 400; line-height: 1.4; }
.ttcjp-wrap .ttcjp-year-range { min-width: 0; margin: 0 0 12px; padding: 0; border: 0; }
.ttcjp-wrap .ttcjp-year-range > div { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ttcjp-wrap .ttcjp-year-range > div > label,
.ttcjp-wrap .ttcjp-year-range > div > input { flex: 1 1 0; min-width: 0; margin: 0; }
.ttcjp-wrap .ttcjp-year-range > div > span { flex: 0 0 auto; color: #718795; font-size: 12px; }
.ttcjp-wrap .ttcjp-include-unspecified { display: flex; align-items: flex-start; gap: 7px; margin: 0; color: #536f80; font-size: 12px; line-height: 1.45; cursor: pointer; }
.ttcjp-wrap .ttcjp-include-unspecified input[type="checkbox"] { flex: 0 0 15px; width: 15px; height: 15px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: #264f68; }
.ttcjp-wrap .ttcjp-include-unspecified > span { margin: 0; color: inherit; font-size: inherit; font-weight: 400; }
body.ttcjp-page .ttcjp-wrap .ttcjp-refine-apply {
	display: block;
	width: 100%;
	min-height: 40px;
	margin: 12px 0 0;
	padding: 9px 10px;
	border: 1px solid #264f68;
	border-radius: 4px;
	background: #264f68;
	color: #fff !important;
	font: inherit;
	font-size: 12px;
	font-weight: 750;
	line-height: 1.35;
	text-align: center;
	cursor: pointer;
}
body.ttcjp-page .ttcjp-wrap .ttcjp-refine-apply:hover { background: #173d55; }
.ttcjp-wrap .ttcjp-refine-form .ttcjp-clear,
.ttcjp-wrap .ttcjp-refine-form .ttcjp-clear-filters { display: block; width: fit-content; max-width: 100%; margin: 8px auto 0; padding: 5px 3px; color: #526f81; font-size: 11px; text-decoration: underline; text-underline-offset: 2px; }
.ttcjp-wrap .ttcjp-filter-error { margin: 10px 0 0; color: #9e3528; font-size: 12px; line-height: 1.45; }

.ttcjp-wrap .ttcjp-saved-shortlist { min-width: 0; margin: 12px 5px 0; }
.ttcjp-wrap .ttcjp-saved-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	min-height: 36px;
	margin: 0;
	padding: 6px 2px;
	border: 0;
	background: transparent;
	color: #315368;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}
.ttcjp-wrap .ttcjp-saved-toggle > span:first-child { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.ttcjp-wrap .ttcjp-saved-toggle .classifieds-save-icon { flex: 0 0 22px; width: 22px; height: 22px; }
.ttcjp-wrap .ttcjp-saved-toggle [data-ttcjp-saved-count] { flex: 0 0 auto; min-width: 22px; padding: 2px 6px; border-radius: 12px; background: #e2eaf0; color: #526d7e; font-size: 11px; font-weight: 650; line-height: 1.4; text-align: center; }
.ttcjp-wrap .ttcjp-saved-toggle:hover,
.ttcjp-wrap .ttcjp-saved-toggle[aria-pressed="true"],
.ttcjp-wrap .ttcjp-saved-toggle[aria-current="page"] { color: #855f25; }
body.ttcjp-page .ttcjp-wrap .ttcjp-saved-shortlist p,
.ttcjp-wrap [data-ttcjp-saved-hint] { margin: 3px 2px 0; color: #627d8d; font-size: 11px; line-height: 1.45; }
.ttcjp-wrap .ttcjp-sidebar-help { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 14px 7px 0; padding: 12px 0 0; border-top: 1px solid #d9e3e9; color: #526f81; font-size: 12px; line-height: 1.4; text-decoration: none; }
.ttcjp-wrap .ttcjp-sidebar-help:hover { text-decoration: underline; text-underline-offset: 2px; }

.ttcjp-wrap .ttcjp-b-results-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin: 0 0 12px; }
.ttcjp-wrap .ttcjp-b-results-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-width: 0; }
body.ttcjp-page .ttcjp-wrap .ttcjp-b-results-title h2 { margin: 0; color: #1d3444; font-size: 17px; font-weight: 750; line-height: 1.35; letter-spacing: 0; }
body.ttcjp-page .ttcjp-wrap .ttcjp-b-results-title .ttcjp-results-count { margin: 0; color: #647987; font-size: 12px; font-weight: 400; }
.ttcjp-wrap .ttcjp-b-sort { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; margin: 0 0 0 auto; }
.ttcjp-wrap .ttcjp-sort-menu { position: relative; min-width: 0; margin: 0; }
.ttcjp-wrap .ttcjp-sort-menu > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 138px; min-height: 36px; padding: 8px 10px; border: 1px solid #d4dfe6; border-radius: 4px; background: #fff; color: #526b7b; font-size: 12px; line-height: 1.35; list-style: none; cursor: pointer; }
.ttcjp-wrap .ttcjp-sort-menu > summary::after { flex: 0 0 auto; width: 5px; height: 5px; margin: -3px 2px 0 0; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); content: ""; }
.ttcjp-wrap .ttcjp-sort-menu > form,
.ttcjp-wrap .ttcjp-sort-menu > div { position: absolute; top: calc(100% + 5px); right: 0; z-index: 20; display: grid; gap: 0; width: 170px; max-width: calc(100vw - 40px); margin: 0; padding: 5px; border: 1px solid #d3dfe6; border-radius: 4px; background: #fff; box-shadow: 0 8px 22px #16384d1f; }
.ttcjp-wrap .ttcjp-sort-menu > div form { margin: 0; padding: 0; }
body.ttcjp-page .ttcjp-wrap .ttcjp-sort-menu button,
.ttcjp-wrap .ttcjp-sort-menu > div > a { display: block; width: 100%; min-height: 38px; margin: 0; padding: 9px 10px; border: 0; border-radius: 2px; background: #fff; color: #34566d; font: inherit; font-size: 13px; font-weight: 500; line-height: 1.4; text-align: left; text-decoration: none; cursor: pointer; }
body.ttcjp-page .ttcjp-wrap .ttcjp-sort-menu button:hover,
body.ttcjp-page .ttcjp-wrap .ttcjp-sort-menu button[aria-current="true"],
.ttcjp-wrap .ttcjp-sort-menu > div > a:hover,
.ttcjp-wrap .ttcjp-sort-menu > div > a[aria-current="true"] { background: #eef4f7; }
.ttcjp-wrap .ttcjp-reset-order { display: inline-block; padding: 5px 0; border: 0; background: transparent; color: #7c6846; font-size: 11px; line-height: 1.4; text-decoration: underline; text-underline-offset: 2px; }
.ttcjp-wrap .ttcjp-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; }
.ttcjp-wrap .ttcjp-active-filters > a,
.ttcjp-wrap .ttcjp-active-filters > button { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; min-height: 31px; padding: 6px 9px; border: 1px solid #d5e1e9; border-radius: 4px; background: #f0f5f8; color: #47687d; font: inherit; font-size: 11px; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; cursor: pointer; }
.ttcjp-wrap .ttcjp-active-filters > a:hover { border-color: #adc4d3; background: #e6eff5; }
.ttcjp-wrap .ttcjp-active-filters > a > span[aria-hidden="true"] { flex: 0 0 auto; color: #688395; font-size: 16px; line-height: 1; }
.ttcjp-wrap .ttcjp-active-filters > .ttcjp-clear,
.ttcjp-wrap .ttcjp-active-filters > .ttcjp-clear-filters { border-color: transparent; background: none; text-decoration: underline; text-underline-offset: 2px; }

.ttcjp-wrap .ttcjp-card { position: relative; }
.ttcjp-wrap .ttcjp-grid > .ttcjp-empty { grid-column: 1 / -1; }
body.ttcjp-page .ttcjp-wrap .ttcjp-save-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	min-height: 40px;
	margin: 0;
	padding: 6px;
	border: 1px solid #d0dce3;
	border-radius: 4px;
	background: #fffffff2;
	box-shadow: 0 1px 4px #0e263215;
	color: #31536b;
	font: inherit;
	line-height: 1;
	cursor: pointer;
}
.ttcjp-wrap .ttcjp-card .ttcjp-save-button { position: absolute; top: 9px; right: 9px; z-index: 2; }
.ttcjp-wrap .ttcjp-save-button .classifieds-save-icon { display: block; width: 28px; height: 28px; pointer-events: none; }
body.ttcjp-page .ttcjp-wrap .ttcjp-save-button:hover { border-color: #8aa2b2; background: #fff; }
body.ttcjp-page .ttcjp-wrap .ttcjp-save-button[aria-pressed="true"] { border-color: #d5bb8f; background: #fff9ee; color: #252a2e; }
.ttcjp-wrap .classifieds-save-icon { fill: none; stroke: currentColor; stroke-linejoin: round; }
.ttcjp-wrap .save-sign-diamond { fill: none; stroke: currentColor; stroke-width: 1.8; }
.ttcjp-wrap .save-sign-border { fill: none; stroke: currentColor; stroke-width: 1; }
.ttcjp-wrap .save-sign-arrows { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.ttcjp-wrap [aria-pressed="true"] > .classifieds-save-icon,
.ttcjp-wrap .ttcjp-saved-toggle[aria-pressed="true"] .classifieds-save-icon { color: #252a2e; }
.ttcjp-wrap [aria-pressed="true"] .save-sign-diamond { fill: #f5d84d; }
.ttcjp-wrap [aria-pressed="true"] .save-sign-arrows { fill: currentColor; stroke-width: .5; }

.ttcjp-wrap .ttcjp-load-more-area { margin: 24px 0 0; text-align: center; }
body.ttcjp-page .ttcjp-wrap .ttcjp-shown-count,
.ttcjp-wrap [data-ttcjp-shown-count] { margin: 0 0 10px; color: #647987; font-size: 12px; line-height: 1.45; text-align: center; }
body.ttcjp-page .ttcjp-wrap .ttcjp-load-more { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 180px; max-width: 100%; min-height: 42px; margin: 0; padding: 10px 20px; border: 1px solid #b9cbd7; border-radius: 4px; background: #f3f7fa; color: #264f68 !important; font: inherit; font-size: 13px; font-weight: 700; line-height: 1.4; text-decoration: none !important; cursor: pointer; }
body.ttcjp-page .ttcjp-wrap .ttcjp-load-more:hover { border-color: #7e9daf; background: #eaf1f6; }
.ttcjp-wrap .ttcjp-load-more[aria-disabled="true"] { opacity: .65; cursor: progress; }
.ttcjp-wrap .ttcjp-browse-status:not(.screen-reader-text):not(.ttcjp-sr-only) { margin: 10px 0 0; color: #526f81; font-size: 12px; line-height: 1.45; }
.ttcjp-wrap .ttcjp-browse-status.screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.ttcjp-wrap .ttcjp-browse-tools { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 20px; margin: 14px 0 20px; }
.ttcjp-wrap .ttcjp-browse-tools .ttcjp-b-refine { flex: 1 1 280px; max-width: 460px; margin: 0; padding: 0 12px; border: 1px solid #d9e3e9; border-radius: 4px; background: #f4f7f9; }
.ttcjp-wrap .ttcjp-browse-tools .ttcjp-saved-shortlist { flex: 0 1 250px; margin: 0; }

@media (max-width: 900px) {
	.ttcjp-wrap .ttcjp-b-results-title { display: block; }
	body.ttcjp-page .ttcjp-wrap .ttcjp-b-results-title .ttcjp-results-count { margin-top: 3px; }
}

@media (max-width: 620px) {
	.ttcjp-wrap .ttcjp-b-refine { margin: 0 0 12px; padding: 0 12px; border: 1px solid #dce5eb; border-radius: 4px; background: #f4f7f9; }
	.ttcjp-wrap .ttcjp-b-refine > summary { min-height: 44px; padding: 11px 0; }
	.ttcjp-wrap .ttcjp-refine-form { padding: 1px 0 13px; }
	.ttcjp-wrap .ttcjp-refine-form input:not([type="checkbox"]):not([type="hidden"]),
	.ttcjp-wrap .ttcjp-refine-form select { min-height: 42px; font-size: 16px; }
	.ttcjp-wrap .ttcjp-include-unspecified { gap: 9px; font-size: 13px; }
	.ttcjp-wrap .ttcjp-include-unspecified input[type="checkbox"] { flex-basis: 18px; width: 18px; height: 18px; margin-top: 1px; }
	body.ttcjp-page .ttcjp-wrap .ttcjp-refine-apply { min-height: 44px; font-size: 13px; }
	.ttcjp-wrap .ttcjp-saved-shortlist { margin: 0 0 15px; }
	.ttcjp-wrap .ttcjp-saved-toggle { width: fit-content; max-width: 100%; min-height: 40px; gap: 14px; padding: 4px 0; font-size: 13px; }
	body.ttcjp-page .ttcjp-wrap .ttcjp-saved-shortlist p,
	.ttcjp-wrap [data-ttcjp-saved-hint] { max-width: 100%; margin-top: 0; font-size: 11px; }
	.ttcjp-classifieds--b .ttcjp-sidebar-help { display: none; }
	.ttcjp-wrap .ttcjp-b-results-heading { align-items: flex-start; gap: 10px; }
	.ttcjp-wrap .ttcjp-b-sort { gap: 5px 8px; }
	.ttcjp-wrap .ttcjp-sort-menu > summary { min-width: 124px; min-height: 40px; padding: 9px; font-size: 12px; }
	.ttcjp-wrap .ttcjp-reset-order { flex-basis: 100%; text-align: right; }
	.ttcjp-wrap .ttcjp-active-filters { gap: 5px; }
	.ttcjp-wrap .ttcjp-active-filters > a,
	.ttcjp-wrap .ttcjp-active-filters > button { min-height: 34px; }
	body.ttcjp-page .ttcjp-wrap .ttcjp-save-button { width: 44px; height: 44px; min-height: 44px; padding: 8px; }
	.ttcjp-wrap .ttcjp-load-more-area { margin-top: 20px; }
	body.ttcjp-page .ttcjp-wrap .ttcjp-load-more { min-height: 44px; }
	.ttcjp-wrap .ttcjp-browse-tools { display: block; margin: 12px 0 17px; }
	.ttcjp-wrap .ttcjp-browse-tools .ttcjp-b-refine { width: 100%; max-width: none; margin-bottom: 11px; }
	.ttcjp-wrap .ttcjp-browse-tools .ttcjp-saved-shortlist { margin-bottom: 0; }
}
