:root {
	--ttcjp-ink: #17242d;
	--ttcjp-muted: #5b6972;
	--ttcjp-navy: #17384f;
	--ttcjp-navy-dark: #0f293b;
	--ttcjp-gold: #c98a2e;
	--ttcjp-gold-text: #8a5b15;
	--ttcjp-border: #d7dee3;
	--ttcjp-soft: #f3f6f8;
	--ttcjp-white: #fff;
	--ttcjp-success: #176a35;
	--ttcjp-danger: #a72c32;
}

/* The plugin owns these routes, so Hueman's empty two/three-column rails are removed only here. */
body.ttcjp-page .main-inner {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

body.ttcjp-page .main-inner::before,
body.ttcjp-page .main-inner::after {
	display: none !important;
	content: none !important;
}

body.ttcjp-page .container-inner > .main::before,
body.ttcjp-page .container-inner > .main::after {
	display: none !important;
	content: none !important;
}

body.ttcjp-page .main-inner > .content {
	float: none !important;
	width: 100% !important;
}

body.ttcjp-page .main-inner .sidebar {
	display: none !important;
}

body.ttcjp-page .main-inner > .content > .pad,
body.ttcjp-page .main-inner > .content > .hu-pad {
	padding-right: 0;
	padding-left: 0;
}

body.ttcjp-page .page-title {
	display: none;
}

.ttcjp-wrap,
.ttcjp-wrap * { box-sizing: border-box; }

.ttcjp-wrap {
	width: min(1180px, calc(100% - 32px));
	margin: 32px auto 56px;
	color: var(--ttcjp-ink);
	font-size: 17px;
	line-height: 1.55;
}

/* A real inset prevents the taxonomy hero's top margin collapsing outside its white main. */
.ttcjp-category-main { display: flow-root; padding-top: 32px; }
.ttcjp-category-main > .ttcjp-wrap { margin-top: 0; }

.ttcjp-wrap h1,
.ttcjp-wrap h2,
.ttcjp-wrap h3 { color: var(--ttcjp-ink); line-height: 1.16; }

.ttcjp-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

body.ttcjp-page .ttcjp-wrap :where(a, button, input, select, textarea):focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
	box-shadow: 0 0 0 6px #111827;
}

body.ttcjp-page .ttcjp-eyebrow {
	margin: 0 0 8px;
	color: var(--ttcjp-gold-text);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.ttcjp-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	gap: 48px;
	align-items: center;
	padding: clamp(28px, 5vw, 64px);
	border-radius: 16px;
	background: linear-gradient(135deg, var(--ttcjp-navy-dark), var(--ttcjp-navy));
	box-shadow: 0 14px 35px rgba(15, 41, 59, .15);
	color: #fff;
}

.ttcjp-hero h1 {
	max-width: 760px;
	margin: 0 0 16px;
	color: #fff;
	font-size: clamp(34px, 4.7vw, 54px);
}

.ttcjp-hero p:not(.ttcjp-eyebrow) { max-width: 780px; margin: 0; color: #e8f0f5; font-size: 19px; }
body.ttcjp-page .ttcjp-hero .ttcjp-eyebrow { color: #f1bd6f; }
.ttcjp-hero-actions { display: grid; gap: 12px; align-items: start; }
.ttcjp-list-action { display: grid; gap: 7px; min-width: 0; }
body.ttcjp-page .ttcjp-wrap .ttcjp-offer-note { margin: 0; color: var(--ttcjp-muted); font-size: 14px; line-height: 1.45; text-align: center; }
body.ttcjp-page .ttcjp-hero .ttcjp-offer-note { color: #e8f0f5; }

body.ttcjp-page .ttcjp-wrap .ttcjp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 11px 18px;
	border: 2px solid var(--ttcjp-navy);
	border-radius: 7px;
	background: #fff;
	color: var(--ttcjp-navy) !important;
	font-weight: 750;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
}

body.ttcjp-page .ttcjp-wrap .ttcjp-button:hover,
body.ttcjp-page .ttcjp-wrap .ttcjp-button:focus-visible { background: #eaf0f4; }

body.ttcjp-page .ttcjp-wrap .ttcjp-button--primary { border-color: var(--ttcjp-gold); background: var(--ttcjp-gold); color: #17242d !important; }
body.ttcjp-page .ttcjp-wrap .ttcjp-button--primary:hover,
body.ttcjp-page .ttcjp-wrap .ttcjp-button--primary:focus-visible { background: #dc9b3c; }
body.ttcjp-page .ttcjp-wrap .ttcjp-button--small { min-height: 44px; padding: 8px 16px; }
body.ttcjp-page .ttcjp-wrap .ttcjp-button--link { border-color: transparent; padding-inline: 0; background: transparent; justify-content: flex-start; }

body.ttcjp-page .ttcjp-trust-points {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--ttcjp-border);
	border-top: 0;
	border-radius: 0 0 10px 10px;
	background: var(--ttcjp-border);
	list-style: none;
}

body.ttcjp-page .ttcjp-trust-points > li {
	position: relative;
	margin: 0;
	padding: 15px 18px 15px 43px;
	background: #fff;
	color: var(--ttcjp-navy);
	font-size: 14px;
	font-weight: 750;
	list-style: none;
}

body.ttcjp-page .ttcjp-trust-points a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.ttcjp-trust-points li::before {
	position: absolute;
	top: 14px;
	left: 18px;
	content: "\2713";
	color: var(--ttcjp-success);
	font-weight: 900;
}

.ttcjp-type-section { padding-top: 48px; }
.ttcjp-type-section .ttcjp-section-heading { margin-bottom: 18px; }
.ttcjp-type-grid { display: grid; gap: 18px; }
.ttcjp-type-grid--primary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ttcjp-type-grid--secondary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ttcjp-type-more { margin-top: 30px; }
.ttcjp-type-more h3 { margin: 0 0 14px; font-size: 22px; }

.ttcjp-type-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "art" "content" "count";
	grid-template-rows: auto minmax(0, 1fr) auto;
	gap: 14px;
	min-height: 360px;
	padding: 23px;
	border: 1px solid var(--ttcjp-border);
	border-top: 4px solid var(--ttcjp-gold);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 5px 18px rgba(23, 36, 45, .06);
	color: var(--ttcjp-ink) !important;
	text-decoration: none !important;
	transition: transform .18s ease, box-shadow .18s ease;
}

.ttcjp-type-card:hover,
.ttcjp-type-card:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(23, 36, 45, .12); }
.ttcjp-type-card__content { grid-area: content; display: grid; align-content: start; gap: 8px; }
.ttcjp-type-card__content strong { color: var(--ttcjp-navy); font-size: 22px; line-height: 1.15; }
.ttcjp-type-card__content span { color: var(--ttcjp-muted); font-size: 15px; line-height: 1.5; }
.ttcjp-type-card__count { grid-area: count; align-self: end; color: var(--ttcjp-gold-text); font-size: 14px; font-weight: 800; }
.ttcjp-type-card--compact { min-height: 320px; padding: 19px; }
.ttcjp-type-card--compact .ttcjp-type-card__content strong { font-size: 19px; }
.ttcjp-type-card--compact .ttcjp-type-card__content span { font-size: 14px; }

.ttcjp-equipment-art {
	display: grid;
	overflow: hidden;
	place-items: center;
	border: 1px solid #e0e6e9;
	border-radius: 9px;
	background: #f7f9fa;
}

.ttcjp-equipment-art--card {
	grid-area: art;
	width: 100%;
	max-width: 420px;
	aspect-ratio: 3 / 2;
	padding: 12px;
	justify-self: center;
}

.ttcjp-type-card--compact .ttcjp-equipment-art--card { padding: 9px; }

body.ttcjp-page .ttcjp-equipment-art img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ttcjp-equipment-art__monogram {
	display: grid;
	width: clamp(52px, 22%, 76px);
	aspect-ratio: 1;
	place-items: center;
	border-radius: 10px;
	background: var(--ttcjp-navy);
	color: #fff;
	font-size: clamp(17px, 2vw, 25px);
	font-weight: 900;
	letter-spacing: -.04em;
}

.ttcjp-type-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 36px;
	align-items: end;
	padding: clamp(26px, 4vw, 48px);
	border-top: 5px solid var(--ttcjp-gold);
	border-radius: 12px;
	background: var(--ttcjp-soft);
}

.ttcjp-type-hero__main { min-width: 0; }
.ttcjp-type-hero__main--has-art { display: grid; grid-template-columns: clamp(180px, 24vw, 290px) minmax(0, 1fr); gap: clamp(22px, 3vw, 38px); align-items: center; }
.ttcjp-type-hero__copy { min-width: 0; }
.ttcjp-equipment-art--hero { width: 100%; aspect-ratio: 3 / 2; padding: 14px; background: #fff; }
.ttcjp-type-hero h1 { margin: 6px 0 10px; font-size: clamp(36px, 5vw, 56px); }
.ttcjp-type-hero p:not(.ttcjp-eyebrow) { max-width: 760px; margin: 0; color: var(--ttcjp-muted); }
.ttcjp-type-back { display: inline-block; margin-bottom: 18px; font-size: 14px; font-weight: 700; }
.ttcjp-type-hero-actions { display: grid; gap: 12px; align-items: start; width: 250px; min-width: 0; max-width: 100%; }

.ttcjp-browse { padding-top: 54px; scroll-margin-top: 24px; }
.ttcjp-section-heading { display: flex; gap: 24px; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.ttcjp-section-heading h2 { margin: 0; font-size: clamp(28px, 3.5vw, 42px); }

.ttcjp-filters {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1.4fr auto;
	gap: 12px;
	align-items: end;
	padding: 18px;
	border: 1px solid var(--ttcjp-border);
	border-radius: 10px;
	background: var(--ttcjp-soft);
}
.ttcjp-filters--type { grid-template-columns: 1fr 1.4fr auto; }

.ttcjp-filters label span,
.ttcjp-field > label,
.ttcjp-field-label { display: block; margin-bottom: 6px; color: var(--ttcjp-ink); font-size: 14px; font-weight: 750; }
.ttcjp-filters input,
.ttcjp-filters select,
.ttcjp-form input:not([type="checkbox"]):not([type="file"]),
.ttcjp-form select,
.ttcjp-form textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #aeb9c1;
	border-radius: 5px;
	background: #fff;
	color: var(--ttcjp-ink);
	font: inherit;
}

.ttcjp-form textarea { min-height: 150px; resize: vertical; }
.ttcjp-filters input:focus,
.ttcjp-filters select:focus,
.ttcjp-form input:focus,
.ttcjp-form select:focus,
.ttcjp-form textarea:focus { border-color: var(--ttcjp-gold); }
.ttcjp-clear { align-self: center; grid-column: 1 / -1; font-size: 14px; }
.ttcjp-results-count { margin: 20px 0 12px; color: var(--ttcjp-muted); font-size: 14px; font-weight: 650; }

.ttcjp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ttcjp-card { display: flex; overflow: hidden; height: 100%; margin: 0; flex-direction: column; border: 1px solid var(--ttcjp-border); border-radius: 10px; background: #fff; box-shadow: 0 5px 18px rgba(23, 36, 45, .07); overflow-wrap: anywhere; }
.ttcjp-card-image { display: block; flex: 0 0 auto; aspect-ratio: 4 / 3; overflow: hidden; background: #dce4e8; }
.ttcjp-card-image:focus-visible { outline-offset: -4px; box-shadow: inset 0 0 0 7px #111827; }
body.ttcjp-page .ttcjp-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.ttcjp-card:hover .ttcjp-card-image img { transform: scale(1.025); }
.ttcjp-no-photo { display: grid; place-items: center; width: 100%; height: 100%; color: var(--ttcjp-muted); font-weight: 700; }
.ttcjp-card-body { display: flex; flex: 1 1 auto; min-height: 0; padding: 18px; flex-direction: column; }
.ttcjp-card-topline { display: flex; gap: 12px; justify-content: space-between; color: var(--ttcjp-navy); font-size: 14px; }
.ttcjp-card-topline > * { min-width: 0; }
.ttcjp-type { color: var(--ttcjp-gold-text); font-weight: 800; }
.ttcjp-card h3 { margin: 8px 0; font-size: 21px; }
.ttcjp-card h3 a { color: inherit; text-decoration: none; }
body.ttcjp-page .ttcjp-location { margin: 0 0 6px; color: var(--ttcjp-muted); }
body.ttcjp-page .ttcjp-confirmed { margin: 0; color: var(--ttcjp-muted); font-size: 14px; line-height: 1.45; }
body.ttcjp-page .ttcjp-card-link { align-self: flex-start; margin-top: auto; padding-top: 17px; color: var(--ttcjp-navy); font-size: 14px; font-weight: 800; text-decoration: none; }
.ttcjp-card-link:hover,
.ttcjp-card-link:focus-visible { text-decoration: underline; }

.ttcjp-empty { margin-top: 22px; padding: clamp(28px, 5vw, 54px); border: 2px dashed #bdc8cf; border-radius: 12px; background: var(--ttcjp-soft); text-align: center; }
.ttcjp-empty h3 { margin-top: 0; font-size: 27px; }
.ttcjp-sales-prompt { display: flex; gap: 28px; align-items: center; justify-content: space-between; margin-top: 36px; padding: 24px 28px; border: 1px solid var(--ttcjp-border); border-radius: 10px; background: var(--ttcjp-soft); }
.ttcjp-sales-prompt > div { min-width: 0; }
.ttcjp-sales-prompt h2 { margin: 0 0 7px; font-size: 24px; }
body.ttcjp-page .ttcjp-sales-prompt p { margin: 0; color: var(--ttcjp-muted); font-size: 16px; }
.ttcjp-sales-prompt .ttcjp-button { flex-shrink: 0; }
.ttcjp-pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.ttcjp-pagination .page-numbers { display: inline-grid; min-width: 44px; min-height: 44px; place-items: center; padding: 7px; border: 1px solid var(--ttcjp-border); border-radius: 5px; text-decoration: none; }
.ttcjp-pagination .current { background: var(--ttcjp-navy); color: #fff; }

.ttcjp-form-wrap { max-width: 900px; }
.ttcjp-form-intro { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 4px solid var(--ttcjp-gold); }
.ttcjp-form-intro h1 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 46px); }
.ttcjp-offer-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; margin: 18px 0; padding: 13px 18px; border: 1px solid #dfcaa8; border-left: 4px solid var(--ttcjp-gold); border-radius: 7px; background: #fff7e9; }
.ttcjp-offer-summary__price { display: grid; gap: 3px; }
.ttcjp-offer-summary__price > strong { color: var(--ttcjp-navy); font-size: 22px; line-height: 1.2; white-space: nowrap; }
.ttcjp-offer-summary__price > span { color: var(--ttcjp-muted); font-size: 14px; }
body.ttcjp-page .ttcjp-offer-summary__details p { margin: 0; font-size: 15px; line-height: 1.5; }
body.ttcjp-page .ttcjp-offer-summary__details p + p { margin-top: 3px; color: var(--ttcjp-muted); font-size: 13px; }
.ttcjp-form { display: grid; gap: 28px; counter-reset: ttcjp-step; }
.ttcjp-form fieldset { margin: 0; padding: 22px; border: 1px solid var(--ttcjp-border); border-radius: 9px; background: #fff; }
.ttcjp-form fieldset { counter-increment: ttcjp-step; }
.ttcjp-form legend { padding: 0 8px; color: var(--ttcjp-navy); font-size: 21px; font-weight: 800; }
.ttcjp-form legend::before { display: inline-grid; width: 29px; height: 29px; margin-right: 9px; place-items: center; border-radius: 50%; background: var(--ttcjp-navy); color: #fff; content: counter(ttcjp-step); font-size: 14px; vertical-align: 2px; }
.ttcjp-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.ttcjp-field--full { grid-column: 1 / -1; margin-top: 18px; }
.ttcjp-country-fields [data-ttcjp-country-other] { margin-top: 12px; }
.ttcjp-country-fields [data-ttcjp-country-other][hidden] { display: none !important; }
body.ttcjp-page .ttcjp-help { margin: 6px 0 0; color: var(--ttcjp-muted); font-size: 14px; line-height: 1.5; }
.ttcjp-required-note { color: var(--ttcjp-muted); font-size: 14px; }
.ttcjp-account-email { display: block; min-height: 44px; padding: 10px 12px; border: 1px solid var(--ttcjp-border); border-radius: 5px; background: var(--ttcjp-soft); overflow-wrap: anywhere; }
.ttcjp-form input[type="file"] { max-width: 100%; }
.ttcjp-field--disabled { opacity: .58; }
.ttcjp-field--disabled input { cursor: not-allowed; }
.ttcjp-photo-preview { display: flex; gap: 14px; align-items: center; margin-top: 15px; padding: 12px; border: 1px solid var(--ttcjp-border); border-radius: 8px; background: var(--ttcjp-soft); color: var(--ttcjp-muted); font-size: 13px; font-weight: 700; }
.ttcjp-photo-preview[hidden] { display: none !important; }
.ttcjp-photo-preview img { width: 110px; height: 82px; border-radius: 6px; object-fit: cover; }
.ttcjp-photo-preview span { min-width: 0; overflow-wrap: anywhere; }
.ttcjp-check { display: flex; gap: 10px; align-items: flex-start; padding: 17px; border-radius: 7px; background: var(--ttcjp-soft); }
.ttcjp-check input { flex: 0 0 auto; margin-top: 5px; }
.ttcjp-payment-note { margin: 0; padding: 14px 16px; border-left: 4px solid var(--ttcjp-gold); background: #fff7e9; }
.ttcjp-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Seller-account screens reuse the public visual system without inheriting wp-admin styling. */
.ttcjp-account,
.ttcjp-my-listings { max-width: 960px; }
.ttcjp-account-panels {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	align-items: start;
}
.ttcjp-account-panel,
.ttcjp-account-summary {
	padding: clamp(20px, 3vw, 30px);
	border: 1px solid var(--ttcjp-border);
	border-top: 4px solid var(--ttcjp-gold);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 5px 18px rgba(23, 36, 45, .06);
}
.ttcjp-account-panel--single { max-width: 720px; margin-inline: auto; }
.ttcjp-account-panel h2,
.ttcjp-account-summary h2 { margin-top: 0; }
.ttcjp-account-summary dl {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 1px;
	overflow: hidden;
	margin: 20px 0;
	border: 1px solid var(--ttcjp-border);
	border-radius: 8px;
	background: var(--ttcjp-border);
}
.ttcjp-account-summary dl div { padding: 13px 15px; background: var(--ttcjp-soft); }
.ttcjp-account-summary dt { color: var(--ttcjp-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.ttcjp-account-summary dd { margin: 3px 0 0; overflow-wrap: anywhere; font-weight: 700; }
.ttcjp-account-form { display: grid; gap: 22px; max-width: 720px; }
.ttcjp-account-form input:not([type="checkbox"]):not([type="file"]),
.ttcjp-account-form select,
.ttcjp-account-form textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #aeb9c1;
	border-radius: 5px;
	background: #fff;
	color: var(--ttcjp-ink);
	font: inherit;
}
.ttcjp-account-form textarea { min-height: 150px; resize: vertical; }
.ttcjp-account-form input:focus,
.ttcjp-account-form select:focus,
.ttcjp-account-form textarea:focus { border-color: var(--ttcjp-gold); }
.ttcjp-password-feedback { display: grid; gap: 4px; margin-top: -10px; }
.ttcjp-password-feedback p { margin: 0; }
.ttcjp-password-status,
.ttcjp-password-match { min-height: 1.4em; font-size: 13px; font-weight: 700; }
.ttcjp-password-status--neutral { color: var(--ttcjp-muted); }
.ttcjp-password-status--weak,
.ttcjp-password-match--bad { color: var(--ttcjp-danger); }
.ttcjp-password-status--good,
.ttcjp-password-status--strong,
.ttcjp-password-match--good { color: var(--ttcjp-success); }
.ttcjp-actions,
.ttcjp-account-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ttcjp-seller-listings { display: grid; gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.ttcjp-seller-listing { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 22px; align-items: center; margin: 0; padding: 20px; border: 1px solid var(--ttcjp-border); border-radius: 9px; background: #fff; list-style: none; }
.ttcjp-seller-listing__summary { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center; min-width: 0; }
.ttcjp-seller-listing__summary h2 { margin: 6px 0; overflow-wrap: anywhere; font-size: 22px; }
.ttcjp-seller-listing__summary p { margin: 3px 0; color: var(--ttcjp-muted); font-size: 14px; }
.ttcjp-seller-listing__image { overflow: hidden; aspect-ratio: 4 / 3; border-radius: 7px; background: var(--ttcjp-soft); }
body.ttcjp-page .ttcjp-seller-listing__image img { width: 100%; height: 100%; object-fit: cover; }
.ttcjp-seller-listing__status { justify-self: end; padding: 5px 10px; border-radius: 999px; background: var(--ttcjp-soft); color: var(--ttcjp-navy); font-size: 13px; font-weight: 800; }
.ttcjp-seller-listing__photos { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; padding-top: 16px; border-top: 1px solid var(--ttcjp-border); }
.ttcjp-seller-listing__photos > div { min-width: 0; }
body.ttcjp-page .ttcjp-seller-listing__photos img { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 6px; object-fit: cover; }
.ttcjp-seller-listing__photos form { margin-top: 5px; }
.ttcjp-seller-photo-form { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: end; padding: 16px; border-radius: 8px; background: var(--ttcjp-soft); }
.ttcjp-seller-photo-form .ttcjp-help { grid-column: 1 / -1; }
.ttcjp-review-intro { max-width: 75ch; }
.ttcjp-listing-review-details,
.ttcjp-listing-review-photos-heading { grid-column: 1 / -1; margin: 0; }
.ttcjp-listing-review-details { min-width: 0; padding-top: 16px; border-top: 1px solid var(--ttcjp-border); }
.ttcjp-listing-review-details h3 { margin: 0 0 12px; }
.ttcjp-listing-review-details dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px 22px; margin: 0 0 22px; }
.ttcjp-listing-review-details dl div { min-width: 0; }
.ttcjp-listing-review-details dt { color: var(--ttcjp-muted); font-size: 13px; font-weight: 700; }
.ttcjp-listing-review-details dd { margin: 3px 0 0; overflow-wrap: anywhere; }
.ttcjp-listing-review-description { white-space: pre-line; overflow-wrap: anywhere; }
.ttcjp-seller-listing > .ttcjp-payment-panel { grid-column: 1 / -1; min-width: 0; padding-top: 18px; border-top: 1px solid var(--ttcjp-border); }
.ttcjp-seller-listing > .ttcjp-payment-panel h3 { margin-top: 0; }

.ttcjp-alert { margin: 20px 0; padding: 16px 18px; border-left: 5px solid var(--ttcjp-navy); border-radius: 5px; background: #edf4f8; }
.ttcjp-alert ul { margin: 0; padding-left: 20px; }
.ttcjp-alert--success { border-color: var(--ttcjp-success); background: #eaf7ee; }
.ttcjp-alert--error { border-color: var(--ttcjp-danger); background: #fff0f1; }
.ttcjp-alert--status { border-color: var(--ttcjp-gold); background: #fff7e9; }

.ttcjp-single { padding-top: 22px; padding-bottom: 64px; }
.ttcjp-back { margin-bottom: 24px; }
.ttcjp-single-header { display: flex; gap: 30px; justify-content: space-between; align-items: end; padding-bottom: 22px; border-bottom: 1px solid var(--ttcjp-border); }
.ttcjp-single-header > div { min-width: 0; }
.ttcjp-single-header h1 { margin: 8px 0; font-size: clamp(34px, 5vw, 56px); }
.ttcjp-badges { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.ttcjp-status { display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.ttcjp-status--active { background: #dff4e5; color: #145f2c; }
.ttcjp-status--sold { background: #e3e7ea; color: #303a42; }
.ttcjp-status--expired { background: #fff0d7; color: #794500; }
.ttcjp-single-price { flex: 0 0 auto; color: var(--ttcjp-navy); font-size: clamp(25px, 4vw, 38px); font-weight: 850; }

.ttcjp-single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px 40px; align-items: start; margin-top: 28px; }
.ttcjp-single-layout--has-gallery { grid-template-areas: "gallery contact" "specs contact" "description contact"; }
.ttcjp-single-layout--no-gallery { grid-template-areas: "specs contact" "description contact"; }
.ttcjp-gallery { grid-area: gallery; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: minmax(120px, 220px); gap: 10px; margin: 0; }
.ttcjp-gallery a { position: relative; display: block; overflow: hidden; border-radius: 7px; background: #dce4e8; cursor: zoom-in; }
body.ttcjp-page .ttcjp-gallery img { width: 100%; height: 100%; object-fit: cover; }
.ttcjp-gallery-expand {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: inline-flex;
	gap: 7px;
	align-items: center;
	padding: 7px 10px;
	border: 1px solid rgba(255, 255, 255, .58);
	border-radius: 999px;
	background: rgba(15, 41, 59, .88);
	box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	pointer-events: none;
}
.ttcjp-gallery-expand::before { content: "\2922"; font-size: 15px; }
.ttcjp-gallery-thumb .ttcjp-gallery-expand span { display: none; }

body.ttcjp-lightbox-open { overflow: hidden; }
.ttcjp-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: grid;
	place-items: center;
	padding: 24px;
}
.ttcjp-lightbox[hidden] { display: none !important; }
.ttcjp-lightbox__backdrop { position: absolute; inset: 0; background: rgba(7, 17, 24, .94); }
.ttcjp-lightbox__panel {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) 64px;
	align-items: center;
	width: min(1500px, 100%);
	height: min(960px, 100%);
}
.ttcjp-lightbox figure {
	display: grid;
	gap: 10px;
	place-items: center;
	max-width: 100%;
	max-height: 100%;
	margin: 0;
	min-width: 0;
	min-height: 0;
}
body.ttcjp-page .ttcjp-lightbox img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: calc(100vh - 110px);
	border-radius: 6px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .42);
	object-fit: contain;
}
.ttcjp-lightbox figcaption { color: #fff; font-size: 14px; font-weight: 700; text-align: center; }
body.ttcjp-page .ttcjp-lightbox button {
	display: grid;
	width: 50px;
	height: 50px;
	place-items: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .52);
	border-radius: 50%;
	background: rgba(15, 41, 59, .82);
	color: #fff;
	font-family: inherit;
	font-size: 38px;
	line-height: 1;
	cursor: pointer;
}
body.ttcjp-page .ttcjp-lightbox button:hover { background: var(--ttcjp-gold); color: var(--ttcjp-ink); }
.ttcjp-lightbox__previous { justify-self: start; }
.ttcjp-lightbox__next { justify-self: end; }
body.ttcjp-page .ttcjp-lightbox .ttcjp-lightbox__close {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	width: 46px;
	height: 46px;
	font-size: 32px;
}
.ttcjp-gallery-main { grid-row: span 2; }
.ttcjp-gallery--count-1 { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
.ttcjp-gallery--count-1 .ttcjp-gallery-main { grid-row: auto; aspect-ratio: 16 / 10; background: #eef2f4; }
body.ttcjp-page .ttcjp-gallery--count-1 img { object-fit: contain; }
.ttcjp-gallery--count-2 { grid-template-columns: 2fr 1fr; grid-auto-rows: clamp(220px, 31vw, 430px); }
.ttcjp-gallery--count-2 .ttcjp-gallery-main { grid-row: auto; }
.ttcjp-gallery--count-3 { grid-template-columns: 2fr 1fr; grid-auto-rows: clamp(145px, 17vw, 215px); }
.ttcjp-gallery--count-4 { grid-template-columns: 2fr 1fr; grid-auto-rows: clamp(105px, 12vw, 145px); }
.ttcjp-gallery--count-4 .ttcjp-gallery-main { grid-row: span 3; }
.ttcjp-gallery--count-many { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; }
.ttcjp-gallery--count-many .ttcjp-gallery-main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
.ttcjp-gallery--count-many .ttcjp-gallery-thumb { aspect-ratio: 4 / 3; }
.ttcjp-specs { grid-area: specs; }
.ttcjp-description { grid-area: description; }
.ttcjp-contact-card { grid-area: contact; }
.ttcjp-specs h2,
.ttcjp-description h2,
.ttcjp-contact-card h2 { font-size: 25px; }
.ttcjp-specs dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--ttcjp-border); border-radius: 8px; background: var(--ttcjp-border); }
.ttcjp-specs dl div { padding: 14px; background: #fff; }
.ttcjp-specs dt { color: var(--ttcjp-muted); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.ttcjp-specs dd { margin: 4px 0 0; font-weight: 700; }
.ttcjp-description { margin-top: 0; }
.ttcjp-contact-card { position: sticky; top: 24px; padding: 24px; border: 1px solid var(--ttcjp-border); border-top: 5px solid var(--ttcjp-gold); border-radius: 9px; background: var(--ttcjp-soft); }
.ttcjp-contact-card h2 { margin-top: 0; }
.ttcjp-contact-actions { display: grid; gap: 9px; }
.ttcjp-contact-card hr { margin: 22px 0; border: 0; border-top: 1px solid var(--ttcjp-border); }
.ttcjp-disclaimer { color: var(--ttcjp-muted); font-size: 12px; }
.ttcjp-single h1,
.ttcjp-seller,
.ttcjp-contact-actions .ttcjp-button,
.ttcjp-specs dd { overflow-wrap: anywhere; }

@media (max-width: 900px) {
	.ttcjp-hero { grid-template-columns: 1fr; gap: 28px; }
	.ttcjp-hero-actions { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
	.ttcjp-type-grid--primary,
	.ttcjp-type-grid--secondary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ttcjp-type-card { min-height: 0; }
	.ttcjp-account-panels { grid-template-columns: 1fr; }
	.ttcjp-type-hero { grid-template-columns: 1fr; align-items: start; }
	.ttcjp-type-hero-actions { width: 100%; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
	.ttcjp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ttcjp-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ttcjp-single-layout,
	.ttcjp-single-layout--has-gallery,
	.ttcjp-single-layout--no-gallery { grid-template-columns: 1fr; grid-template-areas: "gallery" "contact" "specs" "description"; }
	.ttcjp-single-layout--no-gallery { grid-template-areas: "contact" "specs" "description"; }
	.ttcjp-contact-card { position: static; }
}

@media (max-width: 620px) {
	.ttcjp-wrap { width: min(100% - 20px, 1180px); margin-top: 18px; font-size: 16px; }
	.ttcjp-category-main { padding-top: 18px; }
	.ttcjp-single { padding-top: 14px; padding-bottom: 42px; }
	.ttcjp-hero { padding: 27px 20px; border-radius: 10px; }
	.ttcjp-hero-actions,
	.ttcjp-trust-points,
	.ttcjp-type-hero-actions,
	.ttcjp-grid,
	.ttcjp-filters,
	.ttcjp-fields { grid-template-columns: 1fr; }
	body.ttcjp-page .ttcjp-trust-points { grid-template-columns: 1fr; border-top: 1px solid var(--ttcjp-border); }
	.ttcjp-type-grid--primary,
	.ttcjp-type-grid--secondary { grid-template-columns: 1fr; }
	.ttcjp-type-card { grid-template-columns: clamp(76px, 24vw, 112px) minmax(0, 1fr); grid-template-areas: "art content" "art count"; grid-template-rows: auto auto; gap: 9px 14px; padding: 17px; }
	.ttcjp-type-card .ttcjp-equipment-art--card { align-self: center; padding: 5px; }
	.ttcjp-type-card__content strong { font-size: 19px; }
	.ttcjp-type-card__content span { font-size: 14px; }
	.ttcjp-type-card__count { align-self: start; }
	.ttcjp-type-hero__main--has-art { grid-template-columns: 1fr; }
	.ttcjp-equipment-art--hero { width: min(100%, 320px); }
	.ttcjp-section-heading,
	.ttcjp-single-header { align-items: flex-start; flex-direction: column; }
	.ttcjp-form fieldset { padding: 18px 14px; }
	.ttcjp-offer-summary { grid-template-columns: 1fr; gap: 5px; padding: 12px 14px; }
	.ttcjp-sales-prompt { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; }
	.ttcjp-account-actions,
	.ttcjp-account-gate__actions { align-items: stretch; flex-direction: column; }
	.ttcjp-account-actions .ttcjp-button,
	.ttcjp-account-gate__actions .ttcjp-button { width: 100%; }
	.ttcjp-seller-listing { grid-template-columns: 1fr; }
	.ttcjp-seller-listing__summary { grid-template-columns: 90px minmax(0, 1fr); }
	.ttcjp-seller-listing__status { justify-self: start; }
	.ttcjp-seller-photo-form { grid-template-columns: 1fr; }
	.ttcjp-seller-photo-form .ttcjp-help { grid-column: auto; }
	.ttcjp-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
	.ttcjp-gallery--count-1 { grid-template-columns: 1fr; grid-auto-rows: auto; }
	.ttcjp-gallery-main { grid-column: 1 / -1; grid-row: auto; }
	.ttcjp-gallery--count-2 { grid-template-columns: 1fr; grid-auto-rows: auto; }
	.ttcjp-gallery--count-2 a { aspect-ratio: 4 / 3; }
	.ttcjp-gallery--count-3,
	.ttcjp-gallery--count-4,
	.ttcjp-gallery--count-many { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
	.ttcjp-gallery--count-3 .ttcjp-gallery-main,
	.ttcjp-gallery--count-4 .ttcjp-gallery-main,
	.ttcjp-gallery--count-many .ttcjp-gallery-main { grid-row: auto; aspect-ratio: 16 / 10; }
	.ttcjp-gallery--count-3 .ttcjp-gallery-thumb,
	.ttcjp-gallery--count-4 .ttcjp-gallery-thumb,
	.ttcjp-gallery--count-many .ttcjp-gallery-thumb { aspect-ratio: 4 / 3; }
	.ttcjp-specs dl { grid-template-columns: 1fr; }
	.ttcjp-lightbox { padding: 10px; }
	.ttcjp-lightbox__panel { grid-template-columns: 44px minmax(0, 1fr) 44px; }
	body.ttcjp-page .ttcjp-lightbox button { width: 38px; height: 38px; font-size: 30px; }
	body.ttcjp-page .ttcjp-lightbox .ttcjp-lightbox__close { top: 5px; right: 5px; width: 40px; height: 40px; }
	body.ttcjp-page .ttcjp-lightbox img { max-height: calc(100vh - 90px); }
	.ttcjp-gallery-expand { right: 8px; bottom: 8px; }
	.ttcjp-gallery-expand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.ttcjp-card-image img,
	.ttcjp-type-card { transition: none; }
}
