/* ==========================================================================
   Forgotten Tools theme
   ========================================================================== */

:root {
	--ft-ink: #272320;
	--ft-ink-2: #1e1b19;
	--ft-ink-line: #4a443e;
	--ft-cream: #f9f6ef;
	--ft-sand: #f3ecdc;
	--ft-photo: #e4dccb;
	--ft-line: #e6dfd1;
	--ft-white: #fff;
	--ft-yellow: #f5b800;
	--ft-yellow-hover: #e2a900;
	--ft-gold: #8a6a00;
	--ft-text: #272320;
	--ft-muted: #6e675d;
	--ft-on-dark: #e9e4da;
	--ft-green: #2f8a57;

	--ft-display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--ft-body: "Barlow", "Segoe UI", Arial, sans-serif;

	--ft-radius: 4px;
	--ft-container: 1140px;
	--ft-header-h: 72px;
}

/* --- Base ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.ft {
	margin: 0;
	background: var(--ft-cream);
	color: var(--ft-text);
	font-family: var(--ft-body);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

body.ft img { max-width: 100%; height: auto; }

body.ft a { color: inherit; }

body.ft h1, body.ft h2, body.ft h3, body.ft h4, body.ft h5, body.ft h6 {
	font-family: var(--ft-display);
	font-weight: 700;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: .01em;
	color: inherit;
	margin: 0 0 .5em;
}

.ft-sr, .screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap;
}

.ft-skip {
	position: absolute; left: -999px; top: 8px; z-index: 1000;
	background: var(--ft-yellow); color: var(--ft-ink); padding: 8px 14px; font-weight: 600;
}
.ft-skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--ft-yellow); outline-offset: 2px; }

.ft-container {
	width: 100%;
	max-width: var(--ft-container);
	margin: 0 auto;
	padding: 0 24px;
}
.ft-container--prose { max-width: 860px; }

/* --- Type helpers -------------------------------------------------------- */

.ft-eyebrow {
	margin: 0 0 8px;
	font-family: var(--ft-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ft-gold);
}
.ft-hero .ft-eyebrow,
.ft-band .ft-eyebrow,
.ft-panel--dark .ft-eyebrow,
.ft-cat .ft-eyebrow { color: var(--ft-yellow); }

body.ft .ft-heading {
	font-size: clamp(30px, 4vw, 40px);
	line-height: 1;
	margin: 0 0 24px;
}
body.ft .ft-heading--sm { font-size: 28px; }

.ft-lead { max-width: 560px; color: var(--ft-muted); margin: -8px 0 28px; }

.ft-meta { font-size: 13px; color: var(--ft-muted); }

.ft-link {
	font-weight: 600;
	font-size: 15px;
	color: var(--ft-gold) !important;
	text-decoration: none;
	white-space: nowrap;
}
.ft-link:hover { text-decoration: underline; }

/* --- Buttons ------------------------------------------------------------- */

.ft-btn,
body.ft .button,
body.ft button[type="submit"],
body.ft input[type="submit"],
body.ft .hp-form__button,
body.ft .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 44px;
	padding: 10px 20px;
	border: 1.5px solid transparent;
	border-radius: 3px;
	background: var(--ft-yellow);
	color: var(--ft-ink);
	font-family: var(--ft-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.ft-btn:hover,
body.ft .button:hover,
body.ft button[type="submit"]:hover,
body.ft input[type="submit"]:hover,
body.ft .hp-form__button:hover { background: var(--ft-yellow-hover); color: var(--ft-ink); }

.ft-btn--ghost { background: transparent; border-color: var(--ft-yellow); color: var(--ft-white); }
.ft-btn--ghost:hover { background: var(--ft-yellow); color: var(--ft-ink); }

.ft-btn--outline { background: var(--ft-white); border-color: var(--ft-ink); color: var(--ft-ink); }
.ft-btn--outline:hover { background: var(--ft-ink); color: var(--ft-white); }

body.ft .button--secondary,
body.ft .hp-button--wide.button--secondary { background: var(--ft-white); border-color: var(--ft-line); }

/* --- Header -------------------------------------------------------------- */

.ft-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--ft-white);
	border-bottom: 1px solid var(--ft-line);
	transition: box-shadow .2s;
}
.ft-header.is-scrolled { box-shadow: 0 2px 12px rgba(39, 35, 32, .08); }
body.admin-bar .ft-header { top: 32px; }

.ft-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--ft-header-h);
	gap: 24px;
}

.ft-logo {
	font-family: var(--ft-display);
	font-weight: 700;
	font-size: 28px;
	line-height: 1;
	letter-spacing: .02em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ft-ink) !important;
	white-space: nowrap;
}
.ft-logo--light { color: var(--ft-white) !important; font-size: 24px; }

.ft-nav__list {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ft-nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 0;
	font-size: 15px;
	color: #4b453e !important;
	text-decoration: none;
}
.ft-nav__link:hover { color: var(--ft-ink) !important; }
.ft-nav__link.is-active { color: var(--ft-gold) !important; font-weight: 600; }
.ft-nav__link.is-active::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	background: var(--ft-yellow);
}

.ft-badge {
	display: inline-grid;
	place-items: center;
	min-width: 18px; height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--ft-yellow);
	color: var(--ft-ink);
	font-size: 11px;
	font-weight: 700;
}

.ft-header__burger {
	display: none;
	padding: 6px;
	border: 0;
	background: none;
	color: var(--ft-ink);
	cursor: pointer;
}

@media (max-width: 960px) {
	.ft-header__burger { display: inline-flex; }
	.ft-nav {
		position: absolute;
		left: 0; right: 0;
		top: 100%;
		display: none;
		background: var(--ft-white);
		border-bottom: 1px solid var(--ft-line);
		box-shadow: 0 12px 24px rgba(39, 35, 32, .1);
	}
	.ft-nav-open .ft-nav { display: block; }
	.ft-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
	.ft-nav__link { display: flex; padding: 12px 0; border-bottom: 1px solid var(--ft-line); }
	.ft-nav__link.is-active::after { display: none; }
	.ft-nav__cta { padding-top: 16px; }
	.ft-nav__cta .ft-btn { width: 100%; }
}

/* --- Hero ---------------------------------------------------------------- */

.ft-hero {
	background: var(--ft-ink);
	color: var(--ft-white);
	text-align: center;
	padding: 72px 0 80px;
}
.ft-hero--home { padding: 72px 0 72px; }
.ft-hero--compact { padding: 48px 0 52px; }

body.ft .ft-hero__title {
	font-size: clamp(40px, 6vw, 64px);
	line-height: .95;
	margin: 0 auto 16px;
	max-width: 900px;
	color: var(--ft-white);
}
body.ft .ft-hero__title--xl { font-size: clamp(44px, 7.4vw, 78px); }
body.ft .ft-hero--compact .ft-hero__title { font-size: clamp(34px, 5vw, 52px); margin-bottom: 0; }

.ft-hero__sub {
	max-width: 600px;
	margin: 0 auto;
	color: var(--ft-on-dark);
	font-size: 18px;
	line-height: 1.55;
}

.ft-hero__search { max-width: 940px; margin: 32px auto 0; text-align: left; }

.ft-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

.ft-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
}
.ft-pills li {
	padding: 7px 16px;
	border: 1.5px solid var(--ft-yellow);
	border-radius: 999px;
	font-size: 13px;
	color: var(--ft-on-dark);
}

/* Search bar inside hero (HivePress listing/vendor search form) */
.ft-hero__search .hp-form {
	display: flex;
	gap: 8px;
	padding: 8px;
	background: var(--ft-white);
	border-radius: var(--ft-radius);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.ft-hero__search .hp-form__messages:empty { display: none; }
.ft-hero__search .hp-form__fields {
	display: flex;
	flex: 1;
	gap: 8px;
	margin: 0;
	min-width: 0;
}
.ft-hero__search .hp-form__field { flex: 1 1 0; margin: 0 !important; min-width: 0; }
.ft-hero__search .hp-form__field--search { flex: 1.5 1 0; }
.ft-hero__search .hp-form__footer { margin: 0; flex: none; }
.ft-hero__search .hp-form__button { height: 100%; min-width: 120px; }

@media (max-width: 760px) {
	.ft-hero__search .hp-form,
	.ft-hero__search .hp-form__fields { flex-direction: column; }
	.ft-hero__search .hp-form__button { width: 100%; }
}

/* --- Sections ------------------------------------------------------------ */

.ft-section { padding: 72px 0; }
.ft-section--tight { padding-top: 24px; }
.ft-section--sand { background: var(--ft-sand); }
.ft-section--white { background: var(--ft-white); }

.ft-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
}
.ft-section__head .ft-link { margin-bottom: 28px; }

.ft-grid { display: grid; gap: 20px; }
.ft-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ft-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ft-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 960px) {
	.ft-grid--3, .ft-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.ft-grid--2, .ft-grid--3, .ft-grid--4 { grid-template-columns: 1fr; }
	.ft-section { padding: 52px 0; }
}

/* Category cards */
.ft-cat {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	min-height: 196px;
	padding: 28px 14px 20px;
	border-radius: var(--ft-radius);
	background: var(--ft-ink);
	color: var(--ft-white) !important;
	text-align: center;
	text-decoration: none;
	transition: transform .15s, box-shadow .15s;
}
.ft-cat:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(39, 35, 32, .25); }
.ft-cat__icon { color: var(--ft-yellow); margin-bottom: auto; padding-bottom: 18px; }
.ft-cat__count { font-size: 12px; font-weight: 600; color: var(--ft-yellow); }
.ft-cat__name { font-family: var(--ft-display); font-weight: 700; font-size: 26px; line-height: 1.05; text-transform: uppercase; margin: 2px 0 6px; }
.ft-cat__desc { font-size: 12px; color: #d8d1c4; }

/* Maker chips */
.ft-makers { margin-top: 56px; }
.ft-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.ft-chip {
	display: inline-block;
	padding: 9px 18px;
	border: 1px solid var(--ft-line);
	border-radius: 999px;
	background: var(--ft-white);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: border-color .15s, background-color .15s;
}
.ft-chip:hover { border-color: var(--ft-ink); }
.ft-chip--accent { background: var(--ft-yellow); border-color: var(--ft-yellow); font-weight: 600; }
.ft-chip--accent:hover { background: var(--ft-yellow-hover); border-color: var(--ft-yellow-hover); }

.ft-recent { margin-top: 64px; }

/* Trust section */
.ft-trust { display: grid; grid-template-columns: 1fr 1.45fr; gap: 48px; align-items: start; }
.ft-trust__intro p { color: #4b453e; max-width: 360px; margin: 0 0 24px; }
.ft-trust__panel { background: var(--ft-white); border: 1px solid var(--ft-line); border-radius: var(--ft-radius); padding: 16px; }
.ft-trust__sellers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ft-trust__tips { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--ft-line); font-size: 13px; color: #4b453e; }

.ft-seller-mini {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px;
	border: 1px solid var(--ft-line);
	border-radius: var(--ft-radius);
	text-decoration: none;
	transition: border-color .15s;
}
.ft-seller-mini:hover { border-color: var(--ft-ink); }
.ft-seller-mini__name { font-family: var(--ft-display); font-size: 22px; text-transform: uppercase; line-height: 1.05; }

.ft-rating { font-size: 14px; font-weight: 600; color: var(--ft-gold); }
.ft-stars { letter-spacing: 1px; }

.ft-tag {
	display: inline-block;
	align-self: flex-start;
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--ft-sand);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #5a5348;
}
.ft-tag--outline { background: transparent; border: 1.5px solid var(--ft-yellow); }

@media (max-width: 900px) {
	.ft-trust { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 520px) {
	.ft-trust__sellers { grid-template-columns: 1fr; }
}

/* Dark CTA bands */
.ft-band {
	background: var(--ft-ink);
	color: var(--ft-on-dark);
	border-radius: var(--ft-radius);
	padding: 48px 56px;
}
.ft-band p { margin: 0 0 20px; font-size: 16px; }
body.ft .ft-band__title { color: var(--ft-white); font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 8px; }
body.ft .ft-band__title--lg { font-size: clamp(32px, 4.4vw, 46px); }

.ft-band--split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.ft-band--row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ft-band--row p { margin: 0; }
.ft-band--center { text-align: center; margin-top: 72px; }
.ft-band--center p { max-width: 520px; margin: 0 auto; }

.ft-band__box { border: 1px solid var(--ft-ink-line); border-radius: var(--ft-radius); padding: 24px 28px; }
.ft-steps-plain { margin: 0; padding-left: 20px; color: var(--ft-white); }
.ft-steps-plain li { padding: 4px 0; }

.ft-band-wrap { margin: 24px auto 72px; }

@media (max-width: 860px) {
	.ft-band { padding: 36px 28px; }
	.ft-band--split { grid-template-columns: 1fr; gap: 28px; }
	.ft-band--row { flex-direction: column; align-items: flex-start; }
}

/* Story */
.ft-story { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.ft-story__media {
	display: grid;
	place-items: center;
	aspect-ratio: 3 / 2;
	padding: 32px;
	background: var(--ft-sand);
	border-radius: var(--ft-radius);
}
.ft-story__media img { max-height: 100%; width: auto; mix-blend-mode: multiply; }
.ft-story__text p { color: #4b453e; margin: 0 0 14px; }
@media (max-width: 860px) {
	.ft-story { grid-template-columns: 1fr; gap: 28px; }
}

/* --- How it Works ------------------------------------------------------- */

.ft-panel { padding: 36px 40px; border-radius: var(--ft-radius); }
.ft-panel--sand { background: var(--ft-sand); }
.ft-panel--dark { background: var(--ft-ink); color: var(--ft-on-dark); }
.ft-panel--dark .ft-heading { color: var(--ft-white); }
.ft-panel__note { font-weight: 600; font-size: 14px; margin: 24px 0 12px; }
.ft-panel--dark .ft-panel__note { color: var(--ft-white); }

.ft-steps { list-style: none; counter-reset: ft-step; margin: 0; padding: 0; }
.ft-steps li {
	position: relative;
	counter-increment: ft-step;
	padding: 4px 0 14px 46px;
	min-height: 40px;
}
.ft-steps li::before {
	content: counter(ft-step);
	position: absolute;
	left: 0; top: 0;
	display: grid;
	place-items: center;
	width: 30px; height: 30px;
	border-radius: 50%;
	background: var(--ft-yellow);
	color: var(--ft-ink);
	font-family: var(--ft-display);
	font-weight: 700;
	font-size: 16px;
}

.ft-card {
	background: var(--ft-white);
	border: 1px solid var(--ft-line);
	border-radius: var(--ft-radius);
	padding: 32px;
}
body.ft .ft-card__title { font-size: 26px; margin-bottom: 20px; }

.ft-checks { list-style: none; margin: 0 0 16px; padding: 0; }
.ft-checks li { position: relative; padding: 5px 0 5px 32px; font-size: 15px; }
.ft-checks li::before {
	content: "";
	position: absolute;
	left: 0; top: 7px;
	width: 20px; height: 20px;
	border-radius: 50%;
	background: var(--ft-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.ft-checks--open li::before { background: transparent; border: 2px solid var(--ft-yellow); }

.ft-feature {
	background: var(--ft-cream);
	border: 1px solid var(--ft-line);
	border-radius: var(--ft-radius);
	padding: 24px;
}
.ft-feature p { font-size: 14px; color: var(--ft-muted); margin: 0; }
.ft-feature__icon {
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	margin-bottom: 18px;
	border: 2px solid var(--ft-yellow);
	border-radius: 50%;
	color: var(--ft-gold);
}
body.ft .ft-feature__title { font-size: 22px; margin-bottom: 8px; }

.ft-tips { list-style: none; margin: 0; padding: 0; counter-reset: ft-tip; }
.ft-tip {
	position: relative;
	counter-increment: ft-tip;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 20px 20px 20px 66px;
	background: var(--ft-white);
	border: 1px solid var(--ft-line);
	border-radius: var(--ft-radius);
}
.ft-tip::before {
	content: counter(ft-tip);
	position: absolute;
	left: 20px; top: 20px;
	display: grid;
	place-items: center;
	width: 30px; height: 30px;
	border-radius: 50%;
	background: var(--ft-yellow);
	font-family: var(--ft-display);
	font-weight: 700;
}
.ft-tip span { font-size: 14px; color: var(--ft-muted); }

.ft-faq { max-width: 760px; margin: 72px auto 0; }
.ft-faq__item {
	margin-bottom: 10px;
	background: var(--ft-white);
	border: 1px solid var(--ft-line);
	border-radius: var(--ft-radius);
}
.ft-faq__item summary {
	position: relative;
	padding: 18px 56px 18px 20px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.ft-faq__item summary::-webkit-details-marker { display: none; }
.ft-faq__item summary::after {
	content: "+";
	position: absolute;
	right: 20px; top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	font-weight: 400;
	color: var(--ft-gold);
}
.ft-faq__item[open] summary::after { content: "\2212"; }
.ft-faq__answer { padding: 0 20px 18px; color: #4b453e; font-size: 15px; }
.ft-faq__answer a { color: var(--ft-gold); font-weight: 600; }

/* --- Footer -------------------------------------------------------------- */

.ft-footer { background: var(--ft-ink-2); color: #cfc8bb; padding: 56px 0 24px; }
.ft-footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.ft-footer__brand p { margin: 12px 0 0; font-size: 14px; }
body.ft .ft-footer__title {
	font-family: var(--ft-body);
	font-size: 15px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	color: var(--ft-yellow);
	margin: 0 0 10px;
}
.ft-footer__links { list-style: none; margin: 0; padding: 0; }
.ft-footer__links a { display: inline-block; padding: 3px 0; font-size: 14px; color: #e9e4da !important; text-decoration: none; }
.ft-footer__links a:hover { color: var(--ft-yellow) !important; }
.ft-footer__base { margin-top: 40px; padding-top: 20px; border-top: 1px solid #39342f; font-size: 13px; color: #8f877b; }
.ft-footer__base p { margin: 0; }

@media (max-width: 760px) {
	.ft-footer__inner { grid-template-columns: 1fr 1fr; }
	.ft-footer__brand { grid-column: 1 / -1; }
}

/* --- Page content (block editor) ---------------------------------------- */

.ft-prose { font-size: 17px; line-height: 1.7; }
.ft-prose > *:first-child { margin-top: 0; }
.ft-prose h2 { font-size: 34px; margin-top: 1.4em; }
.ft-prose h3 { font-size: 26px; margin-top: 1.3em; }
.ft-prose a { color: var(--ft-gold); font-weight: 600; }
.ft-prose .alignwide { margin-left: -80px; margin-right: -80px; }
@media (max-width: 1000px) { .ft-prose .alignwide { margin-left: 0; margin-right: 0; } }
.ft-prose__image { margin: 0 0 32px; }
.ft-post-item { padding: 28px 0; border-bottom: 1px solid var(--ft-line); }

/* ==========================================================================
   HivePress
   ========================================================================== */

/* Page frame */
body.ft .content-area > .hp-page {
	max-width: var(--ft-container);
	margin: 0 auto;
	padding: 48px 24px 24px;
}
body.ft .hp-page__header:empty { display: none; }

body.ft .hp-page__title,
body.ft .hp-section__title { font-size: clamp(32px, 4vw, 44px); }
body.ft .hp-page__title::before,
body.ft .hp-section__title::before { display: none; }

/* Forms & fields */
body.ft input[type="text"],
body.ft input[type="search"],
body.ft input[type="email"],
body.ft input[type="url"],
body.ft input[type="tel"],
body.ft input[type="number"],
body.ft input[type="password"],
body.ft input[type="date"],
body.ft select,
body.ft textarea,
body.ft .select2-container--default .select2-selection--single,
body.ft .select2-container--default .select2-selection--multiple {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid #ddd5c6;
	border-radius: 3px;
	background: var(--ft-white);
	color: var(--ft-text);
	font-family: var(--ft-body);
	font-size: 15px;
	line-height: 1.4;
	box-shadow: none;
}
body.ft textarea { min-height: 120px; }
body.ft input:focus,
body.ft select:focus,
body.ft textarea:focus { border-color: var(--ft-ink); outline: none; box-shadow: 0 0 0 3px rgba(245, 184, 0, .35); }

body.ft .select2-container--default .select2-selection--single { display: flex; align-items: center; }
body.ft .select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.4; color: var(--ft-text); }
body.ft .select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; right: 8px; }
body.ft .select2-dropdown { border-color: #ddd5c6; border-radius: 3px; font-family: var(--ft-body); }
body.ft .select2-container--default .select2-results__option--highlighted[aria-selected],
body.ft .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--ft-yellow); color: var(--ft-ink); }

body.ft .hp-form__field { margin-bottom: 18px; }
body.ft .hp-form__label,
body.ft .hp-field__label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #4b453e;
}
body.ft .hp-form__label small { letter-spacing: 0; text-transform: none; color: var(--ft-muted); }

body.ft .hp-field--location { position: relative; }
body.ft .hp-field--location > a { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--ft-muted); }
body.ft .hp-field--location input { padding-right: 36px; }

body.ft .hp-field input[type="checkbox"] + span::before,
body.ft .hp-field input[type="radio"] + span::before { border-color: #c9c0ae; }
body.ft .hp-field input[type="checkbox"]:checked + span::before,
body.ft .hp-field input[type="radio"]:checked + span::before { background-color: var(--ft-yellow); border-color: var(--ft-yellow); }

body.ft .hp-field--number-range .ui-slider-range { background: var(--ft-yellow); }
body.ft .hp-field--number-range .ui-slider-handle { border: 2px solid var(--ft-yellow); border-radius: 50%; background: var(--ft-white); }

body.ft .hp-form__messages .hp-form__message,
body.ft .hp-form__message { border-radius: 3px; }

/* Sidebar / filter panel */
body.ft .hp-page__sidebar .widget,
body.ft .hp-page__sidebar .hp-widget {
	background: var(--ft-white);
	border: 1px solid var(--ft-line);
	border-radius: var(--ft-radius);
	padding: 24px;
	margin-bottom: 20px;
}
body.ft .hp-page__sidebar .ft-filter-heading + .hp-widget { border-top: 0; border-radius: 0 0 var(--ft-radius) var(--ft-radius); padding-top: 4px; }

.ft-filter-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	background: var(--ft-white);
	border: 1px solid var(--ft-line);
	border-bottom: 0;
	border-radius: var(--ft-radius) var(--ft-radius) 0 0;
	padding: 24px 24px 12px;
}
body.ft .ft-filter-heading h3 { font-size: 28px; margin: 0; }
.ft-filter-heading a { font-size: 13px; color: #4b453e; }
body.ft .hp-widget--listing-filter .hp-form__button { width: 100%; }

/* No category chosen yet: show category links instead of an empty filter form */
.ft-filter-cats {
	background: var(--ft-white);
	border: 1px solid var(--ft-line);
	border-top: 0;
	border-radius: 0 0 var(--ft-radius) var(--ft-radius);
	padding: 0 24px 20px;
	margin-bottom: 20px;
}
.ft-filter-cats__label { margin: 0 0 12px; font-size: 14px; color: var(--ft-muted); }
.ft-filter-cats ul { list-style: none; margin: 0; padding: 0; }
.ft-filter-cats a {
	display: flex;
	justify-content: space-between;
	padding: 9px 0;
	border-bottom: 1px solid var(--ft-line);
	font-weight: 500;
	text-decoration: none;
}
.ft-filter-cats li:last-child a { border-bottom: 0; }
.ft-filter-cats a:hover { color: var(--ft-gold); }
.ft-filter-cats__count { color: var(--ft-muted); font-weight: 400; font-size: 14px; }
body.ft.ft-no-category .hp-page__sidebar .hp-widget--listing-filter { display: none; }

/* Gap under hero: HivePress reserves space for an (empty on desktop) page header */
body.ft .hp-page__header:not(:last-child) { margin-bottom: 0; }
@media (max-width: 767px) { body.ft .hp-page__header:not(:last-child) { margin-bottom: 24px; } }

/* Vendors page: no filter sidebar in the design, so results go full width */
body.ft.hp-template--vendors-view-page .hp-page__sidebar,
body.ft.hp-template--vendors-view-page .hp-button--vendor-filter { display: none !important; }
body.ft.hp-template--vendors-view-page .hp-page__content { flex-basis: 100%; max-width: 100%; }

@media (max-width: 767px) {
	.ft-filter-heading { display: none; }
}

/* Toolbar */
body.ft .hp-page__topbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-bottom: 20px;
}
body.ft .hp-result-count {
	margin-right: auto;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #5a5348;
}
body.ft .hp-form--listing-sort,
body.ft .hp-form--vendor-sort { margin: 0; min-width: 200px; }
body.ft .hp-form--pivot .hp-form__field { margin: 0; }
body.ft .hp-form--pivot .hp-form__label { display: none; }

.ft-toggle {
	display: inline-flex;
	border: 1.5px solid var(--ft-ink);
	border-radius: 999px;
	overflow: hidden;
}
.ft-toggle__item {
	padding: 8px 20px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	color: var(--ft-ink) !important;
	background: var(--ft-white);
}
.ft-toggle__item.is-active { background: var(--ft-ink); color: var(--ft-white) !important; }

/* Grid of results */
body.ft .hp-listings .hp-grid__item,
body.ft .hp-vendors .hp-grid__item { margin-bottom: 24px; }

/* Listing card */
body.ft .hp-listing--view-block {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--ft-white);
	border: 1px solid var(--ft-line);
	border-radius: var(--ft-radius);
	overflow: hidden;
	transition: box-shadow .15s, transform .15s;
}
body.ft .hp-listing--view-block:hover { box-shadow: 0 10px 24px rgba(39, 35, 32, .1); transform: translateY(-2px); }
body.ft .hp-listing--view-block.hp-listing--featured { border: 2px solid var(--ft-yellow); }

body.ft .hp-listing--view-block .hp-listing__header { position: relative; margin: 0; }
body.ft .hp-listing--view-block .hp-listing__image,
body.ft .hp-listing--view-block .hp-listing__image a { display: block; }
body.ft .hp-listing--view-block .hp-listing__image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: var(--ft-photo);
	border-radius: 0;
}

body.ft .hp-listing--view-block .hp-listing__featured-badge {
	position: absolute;
	top: 14px;
	left: 0;
	z-index: 3;
	width: auto;
	height: auto;
	padding: 5px 12px;
	border-radius: 0;
	background: var(--ft-yellow);
	color: var(--ft-ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	line-height: 1.2;
	box-shadow: none;
}
body.ft .hp-listing--view-block .hp-listing__featured-badge .hp-icon { display: none; }
body.ft .hp-listing--view-block .hp-listing__featured-badge::after { content: "FEATURED"; position: static; transform: none; background: none; width: auto; padding: 0; text-indent: 0; }

body.ft .hp-listing--view-block .hp-listing__content {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	gap: 0 6px;
	padding: 16px 18px 0;
	flex: 1;
	font-size: 13px;
	color: var(--ft-muted);
}
/* Flatten details so category can sit above the title and location/date share a line. */
body.ft .hp-listing--view-block .hp-listing__content .hp-listing__details--primary { display: contents; }
body.ft .hp-listing--view-block .hp-listing__content .hp-listing__categories { order: -2; flex-basis: 100%; margin: 0 0 4px; }
body.ft .hp-listing--view-block .hp-listing__content .hp-listing__title { order: -1; flex-basis: 100%; }
body.ft .hp-listing--view-block .hp-listing__content .hp-listing__location { order: 1; }
body.ft .hp-listing--view-block .hp-listing__content .hp-listing__date { order: 2; display: inline; font-size: 13px; }
body.ft .hp-listing--view-block .hp-listing__content .hp-listing__location ~ .hp-listing__date::before { content: "· "; }
body.ft .hp-listing__categories { margin: 0 0 4px; }
body.ft .hp-listing--view-block .hp-listing__categories a {
	padding: 0;
	background: none;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ft-muted);
	text-decoration: none;
}
body.ft .hp-listing--view-block .hp-listing__title {
	font-size: 22px;
	line-height: 1.05;
	margin: 0 0 6px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
body.ft .hp-listing--view-block .hp-listing__title a { text-decoration: none; }
body.ft .hp-listing--view-block .hp-listing__details--primary {
	display: flex;
	flex-wrap: wrap;
	gap: 0 6px;
	margin: 0;
	font-size: 13px;
	color: var(--ft-muted);
}
body.ft .hp-listing--view-block .hp-listing__details--primary > * { margin: 0; color: inherit; font-size: inherit; }
body.ft .hp-listing--view-block .hp-listing__location + .hp-listing__date::before { content: "· "; }
body.ft .hp-listing__attributes--ternary { display: none; }

body.ft .hp-listing--view-block .hp-listing__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 14px 18px 0;
	padding: 12px 0 16px;
	border-top: 1px solid var(--ft-line);
	background: none;
}
body.ft .hp-listing--view-block .hp-listing__attributes--primary { margin: 0; }
body.ft .hp-listing__attribute--price,
body.ft .hp-listing--view-block .hp-listing__attributes--primary .hp-listing__attribute--price {
	font-family: var(--ft-display);
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
	color: var(--ft-ink);
}
body.ft .hp-listing--view-block .hp-listing__action--message { display: none; }
body.ft .hp-listing--view-block .hp-listing__action--favorite {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--ft-white);
	color: var(--ft-ink);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
	text-decoration: none;
}
body.ft .hp-listing--view-block .hp-listing__action--favorite:hover,
body.ft .hp-listing--view-block .hp-listing__action--favorite.hp-state-active { color: #c0392b; }

/* Pagination */
body.ft .hp-pagination .nav-links,
body.ft .ft-pagination .nav-links { display: flex; justify-content: center; gap: 8px; margin: 24px 0; }
body.ft .hp-pagination .page-numbers,
body.ft .ft-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--ft-line);
	border-radius: 3px;
	background: var(--ft-white);
	font-weight: 600;
	text-decoration: none;
}
body.ft .hp-pagination .page-numbers.current,
body.ft .ft-pagination .page-numbers.current { background: var(--ft-ink); border-color: var(--ft-ink); color: var(--ft-white); }

/* Vendor card */
body.ft .hp-vendor--view-block {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 28px 24px 24px;
	background: var(--ft-white);
	border: 1px solid var(--ft-line);
	border-radius: var(--ft-radius);
	text-align: center;
}
body.ft .hp-vendor--view-block .hp-vendor__header { margin: 0 0 14px; display: flex; justify-content: center; }
body.ft .hp-vendor--view-block .hp-vendor__image,
body.ft .hp-vendor--view-block .hp-vendor__image a { display: block; width: 96px; height: 96px; }
body.ft .hp-vendor--view-block .hp-vendor__image img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.ft-avatar {
	display: grid;
	place-items: center;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: var(--ft-photo);
	color: #5a5348;
	font-family: var(--ft-display);
	font-weight: 700;
	font-size: 36px;
}
body.ft .hp-vendor--view-block .hp-vendor__content { display: flex; flex-direction: column; flex: 1; padding: 0; }
body.ft .hp-vendor--view-block .hp-vendor__name { font-size: 26px; margin: 0 0 4px; }
body.ft .hp-vendor--view-block .hp-vendor__name a { text-decoration: none; }
body.ft .hp-vendor--view-block .hp-vendor__details--primary { justify-content: center; font-size: 14px; color: var(--ft-muted); margin: 0; }
body.ft .hp-vendor--view-block .hp-vendor__footer { display: none; }
body.ft .hp-vendor__verified-badge { color: var(--ft-green); }

.ft-vendor-new { margin: 10px 0 0; }
.ft-vendor-stats {
	display: flex;
	justify-content: center;
	margin: 16px 0;
	padding: 12px 0;
	border-top: 1px solid var(--ft-line);
	border-bottom: 1px solid var(--ft-line);
}
.ft-vendor-stats div { display: flex; flex-direction: column; }
.ft-vendor-stats strong { font-family: var(--ft-display); font-size: 28px; line-height: 1; }
.ft-vendor-stats span { font-size: 13px; color: var(--ft-muted); }
.ft-vendor-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.ft-vendor-buttons .ft-btn { padding: 10px 8px; white-space: nowrap; }
body.ft .hp-vendor__image a,
body.ft .hp-vendor__image a:hover { text-decoration: none; }

/* Single listing / vendor pages */
body.ft .hp-listing--view-page .hp-listing__title,
body.ft .hp-vendor--view-page .hp-vendor__name { font-size: clamp(26px, 3vw, 38px); overflow-wrap: anywhere; hyphens: none; line-height: 1.05; }
body.ft .hp-listing--view-page .hp-listing__categories a {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--ft-sand);
	color: #5a5348;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
}
body.ft .hp-listing--view-page .hp-listing__images img,
body.ft .hp-listing__images-carousel img { border-radius: var(--ft-radius); }
body.ft .hp-listing__images-carousel .slick-current img { border-color: var(--ft-yellow); }
body.ft .hp-page__sidebar .hp-listing__attribute--price { font-size: 40px; }
body.ft .hp-listing__attributes--secondary .hp-listing__attribute,
body.ft .hp-listing--view-page .hp-listing__attributes .hp-listing__attribute { border-color: var(--ft-line); }
body.ft .hp-listing__attributes--secondary .hp-listing__attribute strong { font-weight: 600; }

body.ft .hp-vendor--view-block .hp-vendor__registered-date,
body.ft .hp-meta { color: var(--ft-muted); }

/* Account menu */
body.ft .hp-menu--user-account .hp-menu__item a { text-decoration: none; }
body.ft .hp-menu--user-account .hp-menu__item--current a { color: var(--ft-gold); font-weight: 600; }

/* Modals (sign in, register, etc.) */
body.ft .hp-modal {
	padding: 36px 32px;
	max-width: 440px;
	border-radius: 6px;
	background: var(--ft-white);
	font-family: var(--ft-body);
}
body.ft .hp-modal__title { font-size: 32px; text-align: center; margin-bottom: 20px; }
body.ft .hp-modal .hp-form__button { width: 100%; }
body.ft .hp-modal .hp-form__actions a,
body.ft .hp-modal a { color: var(--ft-gold); }

/* Map */
body.ft [data-component="map"] { border-radius: var(--ft-radius); min-height: 320px; }
.ft-view-grid .hp-page__sidebar [data-component="map"] { display: none; }

/* Map view: list on the left, large map on the right */
body.ft.ft-view-map .content-area > .hp-page { max-width: none; padding: 0; }
body.ft.ft-view-map .hp-page > .hp-row,
body.ft.ft-view-map .content-area > .hp-page > .hp-row {
	display: grid;
	grid-template-columns: minmax(320px, 38%) 1fr;
	margin: 0;
}
body.ft.ft-view-map .hp-page__sidebar,
body.ft.ft-view-map .hp-page__content { max-width: none; flex-basis: auto; padding: 0; }
body.ft.ft-view-map .hp-page__sidebar {
	order: 2;
	position: sticky !important;
	top: var(--ft-header-h);
	height: calc(100vh - var(--ft-header-h));
}
body.ft.ft-view-map .hp-page__sidebar .widget { padding: 0; border: 0; border-radius: 0; margin: 0; background: none; }
body.ft.ft-view-map .hp-page__sidebar .ft-filter-heading,
body.ft.ft-view-map .hp-page__sidebar .hp-widget--listing-filter { display: none; }
body.ft.ft-view-map .hp-page__sidebar [data-component="map"] { height: calc(100vh - var(--ft-header-h)) !important; min-height: 420px; border-radius: 0; }
body.ft.ft-view-map .hp-page__content { order: 1; padding: 24px; background: var(--ft-white); border-right: 1px solid var(--ft-line); }
body.ft.ft-view-map .hp-listings .hp-grid__item { margin-bottom: 0; }
body.ft.ft-view-map .hp-listing--view-block {
	flex-direction: row;
	align-items: center;
	gap: 16px;
	padding: 16px 0;
	border: 0;
	border-bottom: 1px solid var(--ft-line);
	border-radius: 0;
}
body.ft.ft-view-map .hp-listing--view-block:hover { transform: none; box-shadow: none; }
body.ft.ft-view-map .hp-listing--view-block.hp-listing--featured { border: 0; border-bottom: 1px solid var(--ft-line); }
body.ft.ft-view-map .hp-listing--view-block .hp-listing__header { flex: none; width: 112px; }
body.ft.ft-view-map .hp-listing--view-block .hp-listing__image img { aspect-ratio: 1; border-radius: 3px; }
body.ft.ft-view-map .hp-listing--view-block .hp-listing__featured-badge,
body.ft.ft-view-map .hp-listing--view-block .hp-listing__action--favorite,
body.ft.ft-view-map .hp-listing--view-block .hp-listing__categories { display: none; }
body.ft.ft-view-map .hp-listing--view-block .hp-listing__content { padding: 0; }
body.ft.ft-view-map .hp-listing--view-block .hp-listing__title { font-size: 20px; }
body.ft.ft-view-map .hp-listing--view-block .hp-listing__footer { position: absolute; left: 128px; bottom: 16px; margin: 0; padding: 0; border: 0; }
body.ft.ft-view-map .hp-listing--view-block .hp-listing__content { padding-bottom: 30px; }
body.ft.ft-view-map .hp-listing__attribute--price { font-family: var(--ft-body); font-size: 18px; }

@media (max-width: 860px) {
	body.ft.ft-view-map .hp-page > .hp-row,
	body.ft.ft-view-map .content-area > .hp-page > .hp-row { grid-template-columns: 1fr; }
	body.ft.ft-view-map .hp-page__sidebar { order: 0; position: relative !important; top: 0; height: 55vh; }
}

/* Google Maps info window content */
.hp-listing--map-block .hp-listing__title { font-family: var(--ft-display); font-size: 18px; text-transform: uppercase; margin: 0; }
.hp-listing--map-block a { color: var(--ft-ink); text-decoration: none; }

/* Notices / empty states */
body.ft .hp-page__content > p:only-child,
body.ft .hp-no-results { padding: 32px; background: var(--ft-white); border: 1px solid var(--ft-line); border-radius: var(--ft-radius); }

/* Breadcrumbs */
body.ft .hp-menu--breadcrumb { font-size: 13px; color: var(--ft-muted); margin-bottom: 12px; }
body.ft .hp-menu--breadcrumb a { text-decoration: none; }

/* WooCommerce basics (cart / checkout / my account) */
body.ft .woocommerce table.shop_table { border-color: var(--ft-line); border-radius: var(--ft-radius); background: var(--ft-white); }
body.ft .woocommerce-message,
body.ft .woocommerce-info { border-top-color: var(--ft-yellow); background: var(--ft-white); }
body.ft .woocommerce-message::before,
body.ft .woocommerce-info::before { color: var(--ft-yellow); }

/* --- Refinements after first preview ------------------------------------ */
body.ft .hp-listing--view-block .hp-listing__title,
body.ft .hp-listing--view-block .hp-listing__title a { color: var(--ft-ink); }
body.ft.ft-view-map .ft-filter-cats { display: none; }
body.ft .hp-widget--listing-filter .hp-modal--mobile { padding: 0; margin: 0; background: none; box-shadow: none; max-width: none; }

/* --- Forgotten Tools Core (sold / ratings) integration ------------------ */
.ft-vendor-stats { gap: 48px; }
body.ft .hp-listing--view-block .hp-listing__actions--primary { margin: 0; }
body.ft .hp-listing--view-block .ftc-card-rating { font-size: 13px; }
body.ft .hp-vendor--view-block .ftc-vendor-rating { margin-top: 10px; }
body.ft.ft-view-map .hp-listing--view-block .ftc-card-rating { display: none; }
body.ft .hp-vendor--view-page .ftc-rating-summary { border-top-color: var(--ft-line); }
body.ft .ftc-section-title,
body.ft .ftc-sold-card__title { font-family: var(--ft-display); text-transform: uppercase; }
body.ft .ftc-section-title { font-size: 32px; }
body.ft .hp-page__content > .ftc-tabs:first-child { margin-top: 0; }

/* --- Package choice (Add listing → Select package, and account Packages) ------------------ */

body.ft .hp-listing-packages .hp-row { row-gap: 22px; }
body.ft .hp-listing-packages .hp-grid__item { display: flex; }
body.ft .hp-listing-package--view-block {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	background: #fff;
	border: 1px solid var(--ft-line);
	border-radius: 8px;
	padding: 26px 22px 22px;
	text-align: center;
	box-shadow: 0 1px 2px rgba(39, 35, 32, .04);
	transition: box-shadow .15s ease, transform .15s ease;
}
body.ft .hp-listing-package--view-block:hover { box-shadow: 0 8px 24px rgba(39, 35, 32, .1); transform: translateY(-2px); }
body.ft .hp-listing-package--primary { border: 2px solid var(--ft-yellow); }
body.ft .hp-listing-package--primary::before {
	content: "Recommended";
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--ft-yellow);
	color: var(--ft-ink);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	padding: 3px 12px;
	border-radius: 999px;
}
body.ft .hp-listing-package__primary-badge { display: none; }
body.ft .hp-listing-package__header { margin: 0 0 12px; }
body.ft .hp-listing-package__name { font-size: 22px; margin: 0 0 8px; }
body.ft .hp-listing-package__price,
body.ft .hp-listing-package__price .amount {
	font-family: var(--ft-display);
	font-weight: 700;
	font-size: 40px;
	line-height: 1;
	color: var(--ft-ink);
}
body.ft .hp-listing-package__content { flex: 1 1 auto; color: var(--ft-muted); font-size: 15px; line-height: 1.5; }
body.ft .hp-listing-package__content p { margin: 0 0 16px; }
body.ft .hp-listing-package__footer { margin-top: auto; }
body.ft .hp-listing-package__button { width: 100%; }

/* --- Seller account pages ------------------------------------------------------------------- */

body.ft .hp-menu--user-account ul { list-style: none; margin: 0; padding: 0; }
body.ft .hp-menu--user-account .hp-menu__item { margin: 0; }
body.ft .hp-menu--user-account .hp-menu__item a {
	display: block;
	padding: 10px 14px;
	border-radius: 6px;
	color: var(--ft-ink);
	font-weight: 500;
}
body.ft .hp-menu--user-account .hp-menu__item a:hover { background: var(--ft-cream); }
body.ft .hp-menu--user-account .hp-menu__item--current a { background: var(--ft-sand); color: var(--ft-ink); font-weight: 700; box-shadow: inset 3px 0 0 var(--ft-yellow); }
body.ft .hp-page__sidebar .hp-menu--user-account { padding: 10px; }
body.ft .hp-page__sidebar .widget:has(.hp-menu--user-account) { padding: 12px; }

body.ft table.hp-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	border: 1px solid var(--ft-line);
	border-radius: 8px;
	overflow: hidden;
}
body.ft table.hp-table td, body.ft table.hp-table th { padding: 14px 16px; border-bottom: 1px solid var(--ft-line); vertical-align: middle; text-align: left; }
body.ft table.hp-table tr:last-child td { border-bottom: 0; }
body.ft table.hp-table .hp-listing__title a, body.ft table.hp-table .hp-user-listing-package__name { font-weight: 600; text-decoration: none; color: var(--ft-ink); }
body.ft td.hp-status { background: none !important; border-radius: 0; }
body.ft .hp-status > span { display: inline-block; border: 1px solid #f0d98a; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; white-space: nowrap; background: #fdf3d0; color: #7a5c00; }
body.ft .hp-user-listing-package__submit-limit { font-family: var(--ft-display); font-size: 26px; font-weight: 700; text-align: center !important; }
body.ft .hp-user-listing-package__submit-limit::after { content: " left"; font-family: var(--ft-body); font-size: 13px; font-weight: 500; color: var(--ft-muted); }
body.ft .hp-user-listing-package__categories { color: var(--ft-muted); font-size: 14px; }
@media (max-width: 760px) {
	body.ft table.hp-table--stack td { display: block; border-bottom: 0; padding: 4px 16px; }
	body.ft table.hp-table--stack tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--ft-line); }
}

/* --- Cart / checkout / WooCommerce account: full width -------------------------------------- */
body.ft .ft-shop .wp-block-woocommerce-checkout, body.ft .ft-shop .wp-block-woocommerce-cart { max-width: none; }
body.ft .ft-shop .ft-prose .alignwide, body.ft .ft-shop .alignwide { margin-left: 0; margin-right: 0; max-width: none; }
body.ft .wc-block-components-checkout-place-order-button,
body.ft .wc-block-cart__submit-button,
body.ft .woocommerce a.button, body.ft .woocommerce button.button {
	background: var(--ft-yellow);
	color: var(--ft-ink);
	border: 0;
	border-radius: var(--ft-radius);
	font-weight: 700;
	min-height: 52px;
}
body.ft .wc-block-components-checkout-place-order-button:hover,
body.ft .wc-block-cart__submit-button:hover { background: var(--ft-yellow-hover); color: var(--ft-ink); }
body.ft .wc-block-components-order-summary-item__image:has(img[src*="placeholder"]) { display: none; }
body.ft .wc-block-components-sidebar .wc-block-components-panel, body.ft .wp-block-woocommerce-checkout-order-summary-block { background: #fff; border-radius: 8px; }
body.ft table.hp-table .hp-listing__title { font-weight: 600; }
/* My Listings: small photo beside each title so look-alike listings can be told apart. */
body.ft table.hp-table .ft-mylisting__link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ft-ink); }
body.ft table.hp-table .ft-mylisting__thumb { width: 56px; height: 56px; flex: 0 0 56px; object-fit: cover; border-radius: 6px; border: 1px solid var(--ft-line); background: var(--ft-sand); }
body.ft table.hp-table .ft-mylisting__name { flex: 1 1 auto; min-width: 0; word-break: normal; overflow-wrap: break-word; line-height: 1.35; }
body.ft table.hp-table .ft-mylisting__name .hp-icon { margin-right: 6px; }
body.ft table.hp-table .ft-mylisting__meta { display: block; margin-top: 3px; font-weight: 400; font-size: 13px; color: var(--ft-muted); }
/* Category and date now sit under the title, so their own columns are hidden. */
body.ft .hp-listing--edit-block td.hp-listing__categories, body.ft .hp-listing--edit-block td.hp-listing__created-date { display: none; }
body.ft .hp-page__content { min-width: 0; }
body.ft table.hp-table .hp-listing__actions { white-space: normal; }
body.ft table.hp-table .hp-listing__actions--primary a, body.ft table.hp-table .hp-listing__actions--primary .hp-link { margin: 2px 6px 2px 0; display: inline-block; }

/* Add listing: the package picked earlier, shown on the details step. */
.ftc-chosen-package { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; background: var(--ft-sand); border-left: 4px solid var(--ft-yellow); border-radius: 0 var(--ft-radius) var(--ft-radius) 0; padding: 12px 16px; margin: 0 0 22px; }
.ftc-chosen-package__note { color: var(--ft-muted); font-size: 14px; }
.ftc-chosen-package a { margin-left: auto; font-weight: 600; color: var(--ft-ink); text-decoration: underline; }
.ftc-package-intro { margin: -8px 0 26px; color: var(--ft-muted); font-size: 17px; }

/* Home: featured category (Axes) - dark panel beside three listings. */
.ft-feature-cat__grid { display: grid; grid-template-columns: minmax(260px, 1fr) 3fr; gap: 28px; align-items: stretch; }
.ft-feature-cat__panel { background: var(--ft-ink); color: var(--ft-on-dark); border-radius: var(--ft-radius); padding: 34px 30px; display: flex; flex-direction: column; align-items: flex-start; }
.ft-feature-cat__icon { color: var(--ft-yellow); margin-bottom: 22px; }
.ft-feature-cat__panel .ft-eyebrow { color: var(--ft-yellow); margin: 0 0 6px; }
.ft-feature-cat__title { font-family: var(--ft-display); font-weight: 700; text-transform: uppercase; color: var(--ft-white); font-size: clamp(40px, 4.4vw, 56px); line-height: .95; margin: 0 0 14px; }
.ft-feature-cat__desc { margin: 0 0 18px; line-height: 1.55; }
.ft-feature-cat__count { margin: auto 0 18px; padding-top: 6px; font-weight: 600; color: var(--ft-yellow); }
.ft-feature-cat__listings { min-width: 0; }
.ft-feature-cat__listings .hp-listings, .ft-feature-cat__listings .hp-grid { margin-bottom: 0; }
@media (max-width: 960px) {
	.ft-feature-cat__grid { grid-template-columns: 1fr; }
	.ft-feature-cat__count { margin-top: 0; }
}

/* Listing page photos: show the whole photo (no cropping), on a soft background. Thumbnails stay filled. */
body.ft .hp-listing--view-page .hp-listing__images-slider .slick-slide > div { height: 100%; }
body.ft .hp-listing--view-page .hp-listing__images-slider img,
body.ft .hp-listing--view-page .hp-listing__images-slider video { width: 100%; height: 100%; object-fit: contain; background: var(--ft-photo); }
body.ft .hp-listing--view-page .hp-listing__images .hp-listing__images-carousel img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
/* A listing with only one photo (no slider). */
body.ft .hp-listing--view-page .hp-listing__images:not(.slick-initialized) > img { width: 100%; height: 100%; object-fit: contain; background: var(--ft-photo); }
