/* ==========================================================================
   GTL Business Directory Pro — front-end styles
   Image-free design system: monograms, tokens, cards.
   ========================================================================== */

.gtl-bd {
	--gtl-accent: #1a73e8;
	--gtl-accent-dark: #1557b0;
	--gtl-ink: #101828;
	--gtl-body: #475467;
	--gtl-muted: #667085;
	--gtl-line: #e4e7ec;
	--gtl-bg: #f9fafb;
	--gtl-card: #ffffff;
	--gtl-radius: 14px;
	--gtl-radius-sm: 9px;
	--gtl-shadow: 0 1px 2px rgba(16,24,40,.05);
	--gtl-shadow-lg: 0 12px 32px rgba(16,24,40,.10);
	--gtl-cols: 3;

	color: var(--gtl-body);
	font-size: 16px;
	line-height: 1.6;
	box-sizing: border-box;

	/* Never exceed the theme column that contains us (fixes sideways scroll
	   when the theme has its own right sidebar). */
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow-wrap: break-word;
}
.gtl-bd *, .gtl-bd *::before, .gtl-bd *::after { box-sizing: inherit; }

/* Nothing inside the directory may push the page wider than its container. */
.gtl-bd img,
.gtl-bd table,
.gtl-bd input,
.gtl-bd select,
.gtl-bd textarea,
.gtl-bd iframe { max-width: 100%; }

.gtl-bd > *,
.gtl-bd-auth > *,
.gtl-bd-single > *,
.gtl-bd-archive > * { min-width: 0; }

/* ------------------------------- Buttons -------------------------------- */
.gtl-bd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 18px;
	border: 1px solid transparent;
	border-radius: var(--gtl-radius-sm);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
	transition: all .18s ease;
	white-space: nowrap;
}
.gtl-bd-btn.is-primary { background: var(--gtl-accent); color: #fff; }
.gtl-bd-btn.is-primary:hover { background: var(--gtl-accent-dark); transform: translateY(-1px); }
.gtl-bd-btn.is-ghost { background: #fff; color: var(--gtl-ink); border-color: var(--gtl-line); }
.gtl-bd-btn.is-ghost:hover { border-color: var(--gtl-accent); color: var(--gtl-accent); }
.gtl-bd-btn.is-wa { background: #25d366; color: #fff; }
.gtl-bd-btn.is-wa:hover { background: #1eb955; }
.gtl-bd-btn.is-lg { padding: 13px 26px; font-size: 15.5px; }
.gtl-bd-btn.is-block { display: flex; width: 100%; }

/* ------------------------------ Monogram -------------------------------- */
.gtl-bd-monogram {
	--mono: var(--gtl-accent);
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	font-weight: 800;
	font-size: 21px;
	line-height: 1;
	color: var(--mono);
	background: color-mix(in srgb, var(--mono) 12%, #fff);
	border: 1px solid color-mix(in srgb, var(--mono) 22%, #fff);
}
.gtl-bd-monogram.is-lg { flex-basis: 76px; width: 76px; height: 76px; font-size: 34px; border-radius: 16px; }

/* -------------------------------- Badges -------------------------------- */
.gtl-bd-badge {
	display: inline-block;
	padding: 3px 9px;
	border-radius: 20px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
	margin-right: 5px;
}
.gtl-bd-badge.is-verified { background: #ecfdf3; color: #027a48; }
.gtl-bd-badge.is-claimed  { background: #eff8ff; color: #175cd3; }
.gtl-bd-badge.is-featured { background: #fffaeb; color: #b54708; }

/* -------------------------------- Stars --------------------------------- */
.gtl-bd-stars { display: inline-flex; gap: 1px; font-size: 15px; line-height: 1; }
.gtl-bd-stars i { font-style: normal; color: #d0d5dd; }
.gtl-bd-stars i.is-full { color: #f79009; }
.gtl-bd-stars i.is-half { background: linear-gradient(90deg,#f79009 50%,#d0d5dd 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gtl-bd-rating-num { font-weight: 700; color: var(--gtl-ink); font-size: 14px; }
.gtl-bd-rating-wrap { display: inline-flex; align-items: center; gap: 6px; }

/* -------------------------------- Hero ---------------------------------- */
.gtl-bd-hero {
	background: linear-gradient(135deg, #f7f9fc, #eef4ff);
	border: 1px solid var(--gtl-line);
	border-radius: var(--gtl-radius);
	padding: 40px 32px;
	text-align: center;
	margin-bottom: 32px;
}
.gtl-bd-hero-title { margin: 0 0 8px; font-size: 30px; color: var(--gtl-ink); line-height: 1.25; }
.gtl-bd-hero-sub { margin: 0 0 22px; color: var(--gtl-muted); }
.gtl-bd-hero-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 860px; margin: 0 auto; }
.gtl-bd-hero-form input, .gtl-bd-hero-form select {
	flex: 1 1 190px; min-width: 0; padding: 12px 14px;
	border: 1px solid var(--gtl-line); border-radius: var(--gtl-radius-sm);
	background: #fff; font-size: 15px; color: var(--gtl-ink);
}
.gtl-bd-hero-form button {
	padding: 12px 28px; border: 0; border-radius: var(--gtl-radius-sm);
	background: var(--gtl-accent); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer;
}
.gtl-bd-hero-form button:hover { background: var(--gtl-accent-dark); }

/* ------------------------------- Toolbar -------------------------------- */
.gtl-bd-toolbar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 12px; padding: 14px 16px; margin-bottom: 22px;
	background: var(--gtl-card); border: 1px solid var(--gtl-line); border-radius: var(--gtl-radius);
	box-shadow: var(--gtl-shadow);
}
.gtl-bd-search-wrap { display: flex; gap: 8px; flex: 1 1 380px; }
.gtl-bd-search-wrap input {
	flex: 1; padding: 10px 14px; border: 1px solid var(--gtl-line);
	border-radius: var(--gtl-radius-sm); font-size: 15px;
}
.gtl-bd-toolbar-right { display: flex; align-items: center; gap: 10px; }
.gtl-bd-sort { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--gtl-muted); }
.gtl-bd-sort select { padding: 9px 12px; border: 1px solid var(--gtl-line); border-radius: var(--gtl-radius-sm); font-size: 14px; background: #fff; }
.gtl-bd-toggle-filters { display: none; }

/* -------------------------------- Layout -------------------------------- */
.gtl-bd-layout { display: grid; grid-template-columns: 1fr; gap: 26px; }
.gtl-bd-archive.has-sidebar .gtl-bd-layout {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}
.gtl-bd-archive.has-sidebar .gtl-bd-layout > .gtl-bd-sidebar { flex: 1 1 240px; min-width: 0; }
.gtl-bd-archive.has-sidebar .gtl-bd-layout > .gtl-bd-results { flex: 3 1 400px; min-width: 0; }

@supports ( container-type: inline-size ) {
	.gtl-bd-archive { container-type: inline-size; }
	@container ( min-width: 860px ) {
		.gtl-bd-archive.has-sidebar .gtl-bd-layout > .gtl-bd-sidebar { flex: 0 0 268px; }
	}
}

.gtl-bd-sidebar {
	align-self: start;
	position: sticky; top: 24px;
	background: var(--gtl-card); border: 1px solid var(--gtl-line);
	border-radius: var(--gtl-radius); padding: 20px; box-shadow: var(--gtl-shadow);
}
.gtl-bd-facet { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--gtl-line); }
.gtl-bd-facet:last-of-type { border-bottom: 0; }
.gtl-bd-facet h4 { margin: 0 0 9px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--gtl-ink); font-weight: 700; }
.gtl-bd-facet select {
	width: 100%; padding: 9px 11px; border: 1px solid var(--gtl-line);
	border-radius: var(--gtl-radius-sm); font-size: 14px; background: #fff;
}
.gtl-bd-facet-summary { margin: 8px 0 0; font-size: 12.5px; color: var(--gtl-muted); line-height: 1.5; font-style: italic; }
.gtl-bd-check { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 6px 0; cursor: pointer; }
.gtl-bd-check input { margin: 0; flex: 0 0 auto; }
.gtl-bd-clear { display: block; text-align: center; margin-top: 12px; font-size: 13.5px; color: var(--gtl-muted); }

/* -------------------------------- Results ------------------------------- */
.gtl-bd-resultbar {
	display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
	margin-bottom: 16px; font-size: 14.5px; color: var(--gtl-muted);
}
.gtl-bd-resultbar strong { color: var(--gtl-ink); font-size: 17px; }
.gtl-bd-chip { background: #eef4ff; color: #175cd3; padding: 3px 10px; border-radius: 20px; font-size: 12.5px; }

/* auto-fit means cards reflow to the CONTAINER, never overflow a narrow column */
.gtl-bd-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
	gap: 18px;
}
.gtl-bd-grid.is-list { grid-template-columns: 1fr; }

@supports ( container-type: inline-size ) {
	.gtl-bd-results, .gtl-bd-archive { container-type: inline-size; }
	@container ( min-width: 900px ) {
		.gtl-bd-grid:not(.is-list) { grid-template-columns: repeat(var(--gtl-cols), minmax(0,1fr)); }
	}
}

/* --------------------------------- Card --------------------------------- */
.gtl-bd-card {
	position: relative;
	display: flex; flex-direction: column; gap: 10px;
	padding: 20px; background: var(--gtl-card);
	border: 1px solid var(--gtl-line); border-radius: var(--gtl-radius);
	box-shadow: var(--gtl-shadow);
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.gtl-bd-card:hover { box-shadow: var(--gtl-shadow-lg); transform: translateY(-3px); border-color: #d0d5dd; }
.gtl-bd-card.is-featured { border-color: #fec84b; background: linear-gradient(180deg,#fffcf5,#fff); }
.gtl-bd-ribbon {
	position: absolute; top: 12px; right: 12px;
	background: #f79009; color: #fff; font-size: 10.5px; font-weight: 700;
	letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 5px;
}
.gtl-bd-card-head { display: flex; gap: 13px; align-items: flex-start; }
.gtl-bd-card-headings { min-width: 0; }
.gtl-bd-card-title { margin: 0 0 3px; font-size: 17.5px; line-height: 1.3; font-weight: 700; }
.gtl-bd-card-title a { color: var(--gtl-ink); text-decoration: none; }
.gtl-bd-card-title a:hover { color: var(--gtl-accent); }
.gtl-bd-card-tagline { margin: 0 0 6px; font-size: 13.5px; color: var(--gtl-muted); }
.gtl-bd-card-badges { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.gtl-bd-card-cats { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--gtl-muted); }
.gtl-bd-card-cats a { color: inherit; text-decoration: none; }
.gtl-bd-card-cats a:hover { color: var(--gtl-accent); }
.gtl-bd-card-cats .sep { margin: 0 6px; opacity: .5; }
.gtl-bd-card-excerpt { margin: 0; font-size: 14.5px; color: var(--gtl-body); }

.gtl-bd-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.gtl-bd-tags li {
	background: var(--gtl-bg); border: 1px solid var(--gtl-line);
	padding: 4px 10px; border-radius: 20px; font-size: 12.5px; color: var(--gtl-body);
}
.gtl-bd-tags.is-lg li { font-size: 14px; padding: 7px 14px; }

.gtl-bd-card-meta { list-style: none; margin: 2px 0 0; padding: 0; font-size: 14px; }
.gtl-bd-card-meta li { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.gtl-bd-card-meta a { color: var(--gtl-accent); text-decoration: none; }
.gtl-bd-ico { color: var(--gtl-muted); flex: 0 0 auto; }

.gtl-bd-card-foot { margin-top: auto; padding-top: 12px; display: flex; gap: 8px; }
.gtl-bd-card-foot .gtl-bd-btn { flex: 1; padding: 9px 14px; font-size: 14px; }

/* ------------------------------- Empty ---------------------------------- */
.gtl-bd-empty {
	grid-column: 1 / -1; text-align: center; padding: 48px 24px;
	background: var(--gtl-bg); border: 1px dashed var(--gtl-line); border-radius: var(--gtl-radius);
}
.gtl-bd-empty strong { display: block; font-size: 17px; color: var(--gtl-ink); margin-bottom: 6px; }
.gtl-bd-empty p { margin: 0 0 16px; color: var(--gtl-muted); }

/* ----------------------------- Pagination ------------------------------- */
.gtl-bd-pagination { margin-top: 30px; }
.gtl-bd-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; justify-content: center; }
.gtl-bd-pagination a, .gtl-bd-pagination span {
	display: inline-block; padding: 9px 15px; border: 1px solid var(--gtl-line);
	border-radius: var(--gtl-radius-sm); text-decoration: none; color: var(--gtl-ink);
	font-size: 14.5px; background: #fff;
}
.gtl-bd-pagination a:hover { border-color: var(--gtl-accent); color: var(--gtl-accent); }
.gtl-bd-pagination .current { background: var(--gtl-accent); color: #fff; border-color: var(--gtl-accent); }

/* ----------------------------- Terms grid ------------------------------- */
.gtl-bd-terms-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 18px;
}
.gtl-bd-term-card {
	padding: 20px; background: var(--gtl-card); border: 1px solid var(--gtl-line);
	border-radius: var(--gtl-radius); box-shadow: var(--gtl-shadow); transition: all .2s ease;
}
.gtl-bd-term-card:hover { box-shadow: var(--gtl-shadow-lg); transform: translateY(-3px); }
.gtl-bd-term-head { display: flex; align-items: center; gap: 13px; text-decoration: none; margin-bottom: 10px; }
.gtl-bd-term-icon {
	flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px;
	display: grid; place-items: center; font-size: 22px;
	background: #eef4ff; color: var(--gtl-accent); font-weight: 700;
}
.gtl-bd-term-title { display: flex; flex-direction: column; }
.gtl-bd-term-title strong { color: var(--gtl-ink); font-size: 16.5px; line-height: 1.3; }
.gtl-bd-term-title em { font-style: normal; font-size: 12.5px; color: var(--gtl-muted); }
.gtl-bd-term-summary { margin: 0 0 12px; font-size: 14px; color: var(--gtl-body); }
.gtl-bd-term-subs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.gtl-bd-term-subs a {
	display: inline-flex; align-items: center; gap: 5px;
	background: var(--gtl-bg); border: 1px solid var(--gtl-line);
	padding: 4px 10px; border-radius: 20px; font-size: 12.5px;
	color: var(--gtl-body); text-decoration: none;
}
.gtl-bd-term-subs a:hover { background: #eef4ff; border-color: var(--gtl-accent); color: var(--gtl-accent); }
.gtl-bd-subcount { opacity: .55; font-size: 11px; }
.gtl-bd-term-subs .is-more a { background: transparent; border-style: dashed; }

/* --------------------------- Archive header ----------------------------- */
.gtl-bd-archive-wrap { max-width: 1200px; margin: 0 auto; padding: 32px 20px 60px; }
.gtl-bd-breadcrumbs { font-size: 13.5px; color: var(--gtl-muted); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.gtl-bd-breadcrumbs a { color: var(--gtl-muted); text-decoration: none; }
.gtl-bd-breadcrumbs a:hover { color: var(--gtl-accent); }
.gtl-bd-breadcrumbs .current { color: var(--gtl-ink); font-weight: 600; }

.gtl-bd-archive-header {
	background: linear-gradient(135deg,#f7f9fc,#eef4ff);
	border: 1px solid var(--gtl-line); border-radius: var(--gtl-radius);
	padding: 28px 30px; margin-bottom: 24px;
}
.gtl-bd-archive-title-row { display: flex; align-items: flex-start; gap: 16px; }
.gtl-bd-archive-icon {
	flex: 0 0 60px; width: 60px; height: 60px; border-radius: 14px;
	display: grid; place-items: center; font-size: 28px; background: #fff; border: 1px solid var(--gtl-line);
}
.gtl-bd-archive-h1 { margin: 0 0 6px; font-size: 30px; line-height: 1.22; color: var(--gtl-ink); }
.gtl-bd-archive-summary { margin: 0; font-size: 16px; color: var(--gtl-body); max-width: 780px; }
.gtl-bd-archive-stats { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font-size: 14px; color: var(--gtl-muted); }
.gtl-bd-archive-stats strong { color: var(--gtl-ink); }

.gtl-bd-subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.gtl-bd-subnav a {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 15px; background: #fff; border: 1px solid var(--gtl-line);
	border-radius: 24px; font-size: 14px; color: var(--gtl-body); text-decoration: none;
}
.gtl-bd-subnav a:hover { border-color: var(--gtl-accent); color: var(--gtl-accent); }
.gtl-bd-subnav a span { background: var(--gtl-bg); border-radius: 12px; padding: 1px 7px; font-size: 11.5px; }

.gtl-bd-archive-intro { margin-bottom: 26px; }
.gtl-bd-prose { color: var(--gtl-body); line-height: 1.72; }
.gtl-bd-prose h2, .gtl-bd-prose h3 { color: var(--gtl-ink); margin-top: 1.4em; }
.gtl-bd-prose p { margin: 0 0 1em; }
.gtl-bd-prose ul, .gtl-bd-prose ol { margin: 0 0 1em 1.3em; }

/* --------------------------- Single landing ----------------------------- */
.gtl-bd-single { max-width: 1180px; margin: 0 auto; }
.gtl-bd-hero-card {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
	background: var(--gtl-card); border: 1px solid var(--gtl-line);
	border-radius: var(--gtl-radius); padding: 28px 30px; box-shadow: var(--gtl-shadow); margin-bottom: 18px;
}
.gtl-bd-hero-main { display: flex; align-items: center; gap: 20px; min-width: 0; }
.gtl-bd-hero-h1 { margin: 0 0 5px; font-size: 30px; line-height: 1.2; color: var(--gtl-ink); }
.gtl-bd-hero-tagline { margin: 0 0 9px; font-size: 16px; color: var(--gtl-muted); }
.gtl-bd-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.gtl-bd-hero-cat a { font-size: 13px; color: var(--gtl-accent); text-decoration: none; margin-right: 8px; }
.gtl-bd-hero-actions { display: flex; flex-wrap: wrap; gap: 9px; }

.gtl-bd-stats {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 12px; margin-bottom: 26px;
}
.gtl-bd-stat {
	background: var(--gtl-card); border: 1px solid var(--gtl-line);
	border-radius: var(--gtl-radius-sm); padding: 14px 16px; text-align: center;
}
.gtl-bd-stat span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--gtl-muted); margin-bottom: 4px; }
.gtl-bd-stat strong { font-size: 18px; color: var(--gtl-ink); }

.gtl-bd-single-layout {
	display: flex;
	flex-wrap: wrap;
	gap: 26px;
	align-items: flex-start;
}
.gtl-bd-single-layout > .gtl-bd-single-main { flex: 3 1 440px; min-width: 0; }
.gtl-bd-single-layout > .gtl-bd-single-side { flex: 1 1 290px; min-width: 0; }
.gtl-bd-block {
	background: var(--gtl-card); border: 1px solid var(--gtl-line);
	border-radius: var(--gtl-radius); padding: 26px 28px; margin-bottom: 20px; box-shadow: var(--gtl-shadow);
}
.gtl-bd-block h2 { margin: 0 0 16px; font-size: 21px; color: var(--gtl-ink); }

.gtl-bd-single-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.gtl-bd-panel-card {
	background: var(--gtl-card); border: 1px solid var(--gtl-line);
	border-radius: var(--gtl-radius); padding: 22px; box-shadow: var(--gtl-shadow);
}
.gtl-bd-panel-card h3 { margin: 0 0 14px; font-size: 16px; color: var(--gtl-ink); }
.gtl-bd-panel-card.is-cta { background: linear-gradient(135deg,#eef4ff,#f7f9fc); border-color: #c7d7fe; }
.gtl-bd-panel-card.is-cta p { font-size: 14px; margin: 0 0 14px; }

.gtl-bd-contact { list-style: none; margin: 0 0 14px; padding: 0; }
.gtl-bd-contact li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--gtl-line); font-size: 14.5px; }
.gtl-bd-contact li:last-child { border-bottom: 0; }
.gtl-bd-contact li > span:first-child { flex: 0 0 86px; color: var(--gtl-muted); font-size: 13px; }
.gtl-bd-contact a { color: var(--gtl-accent); text-decoration: none; word-break: break-word; }
.gtl-bd-addr { color: var(--gtl-body); }

.gtl-bd-social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.gtl-bd-social a {
	display: inline-block; padding: 7px 14px; background: var(--gtl-bg);
	border: 1px solid var(--gtl-line); border-radius: 20px;
	font-size: 13.5px; color: var(--gtl-body); text-decoration: none;
}
.gtl-bd-social a:hover { border-color: var(--gtl-accent); color: var(--gtl-accent); }
.gtl-bd-linklist { list-style: none; margin: 0; padding: 0; }
.gtl-bd-linklist li { padding: 6px 0; border-bottom: 1px solid var(--gtl-line); }
.gtl-bd-linklist li:last-child { border-bottom: 0; }
.gtl-bd-linklist a { color: var(--gtl-accent); text-decoration: none; font-size: 14.5px; }

.gtl-bd-hours-table { width: 100%; border-collapse: collapse; }
.gtl-bd-hours-table th, .gtl-bd-hours-table td { padding: 11px 4px; border-bottom: 1px solid var(--gtl-line); text-align: left; font-size: 14.5px; font-weight: 500; }
.gtl-bd-hours-table th { color: var(--gtl-body); width: 55%; }
.gtl-bd-hours-table tr.is-today { background: #f7fbff; }
.gtl-bd-hours-table tr.is-today th { font-weight: 700; color: var(--gtl-ink); }
.gtl-bd-hours-table em { font-style: normal; font-size: 11px; background: var(--gtl-accent); color: #fff; padding: 1px 7px; border-radius: 10px; margin-left: 7px; }
.gtl-bd-closed { color: #d92d20; }

/* --------------------------------- FAQ ---------------------------------- */
.gtl-bd-faq { margin-top: 36px; }
.gtl-bd-faq h2 { font-size: 24px; color: var(--gtl-ink); margin-bottom: 16px; }
.gtl-bd-faq-item {
	background: var(--gtl-card); border: 1px solid var(--gtl-line);
	border-radius: var(--gtl-radius-sm); padding: 16px 20px; margin-bottom: 10px;
}
.gtl-bd-faq-item summary { cursor: pointer; font-weight: 600; color: var(--gtl-ink); font-size: 15.5px; }
.gtl-bd-faq-item p { margin: 10px 0 0; font-size: 14.5px; }

/* --------------------------------- CTA ---------------------------------- */
.gtl-bd-cta-band {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
	margin-top: 40px; padding: 30px 34px;
	background: linear-gradient(135deg,#101828,#1d2939); border-radius: var(--gtl-radius); color: #fff;
}
.gtl-bd-cta-band h2 { margin: 0 0 6px; font-size: 23px; color: #fff; }
.gtl-bd-cta-band p { margin: 0; color: #d0d5dd; font-size: 15px; }

/* -------------------------------- Forms --------------------------------- */
.gtl-bd-auth { max-width: 1060px; margin: 0 auto; width: 100%; }
.gtl-bd-auth.is-narrow { max-width: 480px; }

/* Flex + wrap so it reflows to the CONTAINER width, not the viewport.
   Works inside narrow theme columns that have their own sidebar. */
.gtl-bd-auth-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 26px;
	align-items: flex-start;
}
.gtl-bd-auth-grid > .gtl-bd-auth-aside { flex: 1 1 260px; min-width: 0; order: 2; }
.gtl-bd-auth-grid > .gtl-bd-auth-card  { flex: 3 1 420px; min-width: 0; order: 1; }

/* Wide enough for two columns → benefits panel returns to the left. */
@supports ( container-type: inline-size ) {
	.gtl-bd-auth { container-type: inline-size; }
	@container ( min-width: 820px ) {
		.gtl-bd-auth.is-auto .gtl-bd-auth-grid > .gtl-bd-auth-aside { order: 1; flex: 0 0 300px; }
		.gtl-bd-auth.is-auto .gtl-bd-auth-grid > .gtl-bd-auth-card  { order: 2; }
	}
}

/* layout="stacked" — always one column: form first, benefits underneath. */
.gtl-bd-auth.is-stacked .gtl-bd-auth-grid { flex-direction: column; }
.gtl-bd-auth.is-stacked .gtl-bd-auth-grid > * { flex: 1 1 100%; width: 100%; }
.gtl-bd-auth-card {
	background: var(--gtl-card); border: 1px solid var(--gtl-line);
	border-radius: var(--gtl-radius); padding: 32px; box-shadow: var(--gtl-shadow-lg);
}
.gtl-bd-auth-title { margin: 0 0 6px; font-size: 25px; color: var(--gtl-ink); }
.gtl-bd-auth-sub { margin: 0 0 22px; color: var(--gtl-muted); font-size: 15px; }
.gtl-bd-auth-aside {
	background: linear-gradient(160deg,#eef4ff,#f7f9fc);
	border: 1px solid #c7d7fe; border-radius: var(--gtl-radius); padding: 26px;
}
.gtl-bd-auth-aside h3 { margin: 0 0 16px; font-size: 18px; color: var(--gtl-ink); }
.gtl-bd-benefits { list-style: none; margin: 0; padding: 0; }
.gtl-bd-benefits li { padding: 0 0 16px 26px; position: relative; font-size: 14px; color: var(--gtl-body); }
.gtl-bd-benefits li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #12b76a; font-weight: 800; }
.gtl-bd-benefits strong { display: block; color: var(--gtl-ink); font-size: 14.5px; margin-bottom: 2px; }
.gtl-bd-auth-alt { margin: 18px 0 0; font-size: 14.5px; color: var(--gtl-muted); text-align: center; }
.gtl-bd-auth-alt a { color: var(--gtl-accent); font-weight: 600; text-decoration: none; }
.gtl-bd-auth-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.gtl-bd-form .gtl-bd-field { margin-bottom: 16px; }
.gtl-bd-form label { display: block; font-size: 14px; font-weight: 600; color: var(--gtl-ink); margin-bottom: 6px; }
.gtl-bd-form .req { color: #d92d20; }
.gtl-bd-form input[type="text"], .gtl-bd-form input[type="email"], .gtl-bd-form input[type="url"],
.gtl-bd-form input[type="tel"], .gtl-bd-form input[type="password"], .gtl-bd-form input[type="number"],
.gtl-bd-form input[type="time"], .gtl-bd-form input[type="search"], .gtl-bd-form select, .gtl-bd-form textarea {
	width: 100%; padding: 11px 13px; border: 1px solid var(--gtl-line);
	border-radius: var(--gtl-radius-sm); font-size: 15px; font-family: inherit;
	color: var(--gtl-ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.gtl-bd-form input:focus, .gtl-bd-form select:focus, .gtl-bd-form textarea:focus {
	outline: none; border-color: var(--gtl-accent); box-shadow: 0 0 0 3px rgba(26,115,232,.12);
}
.gtl-bd-form small { display: block; margin-top: 5px; font-size: 12.5px; color: var(--gtl-muted); }
.gtl-bd-form .gtl-bd-check label { font-weight: 400; }
/* Form rows collapse based on available width, not viewport width */
.gtl-bd-form-row { display: grid; gap: 14px; }
.gtl-bd-form-row.is-2col { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.gtl-bd-form-row.is-3col { grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr)); }
.gtl-bd-inline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gtl-bd-link { color: var(--gtl-accent); font-size: 14px; text-decoration: none; }
.gtl-bd-sep { border: 0; border-top: 1px solid var(--gtl-line); margin: 22px 0; }
.gtl-bd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.gtl-bd-submit { max-width: 860px; margin: 0 auto; }
.gtl-bd-submit-head { margin-bottom: 24px; }
.gtl-bd-submit-head h2 { margin: 0 0 6px; font-size: 27px; color: var(--gtl-ink); }
.gtl-bd-submit-head p { margin: 0; color: var(--gtl-muted); }
.gtl-bd-fieldset {
	border: 1px solid var(--gtl-line); border-radius: var(--gtl-radius);
	padding: 24px 26px; margin: 0 0 20px; background: var(--gtl-card);
}
.gtl-bd-fieldset legend { padding: 0 10px; font-size: 15px; font-weight: 700; color: var(--gtl-accent); }
.gtl-bd-hours-grid { display: flex; flex-direction: column; gap: 9px; }
.gtl-bd-hours-row { display: grid; grid-template-columns: 110px 1fr auto 1fr auto; align-items: center; gap: 9px; }
.gtl-bd-hours-row .gtl-bd-day { font-size: 14px; font-weight: 600; color: var(--gtl-ink); }
.gtl-bd-form-note { text-align: center; font-size: 13.5px; color: var(--gtl-muted); margin-top: 12px; }

/* ------------------------------- Notices -------------------------------- */
.gtl-bd-notice { padding: 14px 18px; border-radius: var(--gtl-radius-sm); margin-bottom: 20px; font-size: 14.5px; border: 1px solid; }
.gtl-bd-notice.is-error   { background: #fef3f2; border-color: #fda29b; color: #b42318; }
.gtl-bd-notice.is-success { background: #ecfdf3; border-color: #6ce9a6; color: #027a48; }
.gtl-bd-notice.is-info    { background: #eff8ff; border-color: #b2ddff; color: #175cd3; }
.gtl-bd-notice ul { margin: 8px 0 0 18px; }

/* ------------------------------ Dashboard ------------------------------- */
.gtl-bd-dashboard { max-width: 1060px; margin: 0 auto; }
.gtl-bd-dash-head {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
	padding-bottom: 20px; margin-bottom: 22px; border-bottom: 1px solid var(--gtl-line);
}
.gtl-bd-dash-head h2 { margin: 0 0 4px; font-size: 25px; color: var(--gtl-ink); }
.gtl-bd-dash-head p { margin: 0; color: var(--gtl-muted); }
.gtl-bd-dash-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.gtl-bd-dash-h3 { font-size: 18px; color: var(--gtl-ink); margin: 28px 0 14px; }
.gtl-bd-table-wrap { overflow-x: auto; border: 1px solid var(--gtl-line); border-radius: var(--gtl-radius); background: #fff; }
.gtl-bd-dash-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.gtl-bd-dash-table th, .gtl-bd-dash-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--gtl-line); font-size: 14.5px; }
.gtl-bd-dash-table thead th { background: var(--gtl-bg); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--gtl-muted); }
.gtl-bd-dash-table tbody tr:last-child td { border-bottom: 0; }
.gtl-bd-dash-sub { font-size: 12.5px; color: var(--gtl-muted); margin-top: 2px; }
.gtl-bd-dash-links a { color: var(--gtl-accent); text-decoration: none; margin-right: 12px; font-weight: 600; }
.gtl-bd-status { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.gtl-bd-status.is-publish { background: #ecfdf3; color: #027a48; }
.gtl-bd-status.is-draft { background: #f2f4f7; color: #475467; }
.gtl-bd-status.is-pending, .gtl-bd-status.is-gtl_pending { background: #fffaeb; color: #b54708; }

.gtl-bd-section-title { font-size: 24px; color: var(--gtl-ink); margin: 0 0 18px; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1024px) {
	.gtl-bd-sidebar { position: static; display: none; }
	.gtl-bd-sidebar.is-open { display: block; }
	.gtl-bd-toggle-filters { display: inline-flex; }
	.gtl-bd-single-side { position: static; }
	.gtl-bd { --gtl-cols: 2; }
}
@media (max-width: 680px) {
	.gtl-bd { --gtl-cols: 1; }
	.gtl-bd-grid, .gtl-bd-terms-grid { grid-template-columns: 1fr; }
	.gtl-bd-form-row.is-2col, .gtl-bd-form-row.is-3col { grid-template-columns: 1fr; }
	.gtl-bd-hero-card { flex-direction: column; align-items: flex-start; }
	.gtl-bd-hero-main { flex-direction: column; align-items: flex-start; gap: 14px; }
	.gtl-bd-hero-actions { width: 100%; }
	.gtl-bd-hero-actions .gtl-bd-btn { flex: 1; }
	.gtl-bd-hero-h1, .gtl-bd-archive-h1 { font-size: 24px; }
	.gtl-bd-block, .gtl-bd-auth-card, .gtl-bd-fieldset { padding: 20px; }
	.gtl-bd-hours-row { grid-template-columns: 1fr; gap: 5px; }
	.gtl-bd-cta-band { flex-direction: column; align-items: flex-start; }
}

/* --------------- Suppress any stray featured-image markup ---------------- */
.gtl-bd-single-page .post-thumbnail,
.gtl-bd-single-page .wp-post-image,
.gtl-bd-single-page .entry-thumbnail,
.gtl-bd-single-page .featured-image,
.gtl-bd-archive-page .wp-post-image,
.gtl-bd-archive-page .post-thumbnail { display: none !important; }

/* ==========================================================================
   v3.0 — Theme adaptation, sponsored listings, boost page
   ========================================================================== */

/* Inherit the theme's typography when enabled */
.gtl-bd-inherit-font .gtl-bd,
.gtl-bd-inherit-font .gtl-bd input,
.gtl-bd-inherit-font .gtl-bd select,
.gtl-bd-inherit-font .gtl-bd textarea,
.gtl-bd-inherit-font .gtl-bd button { font-family: inherit; }

.gtl-bd h1, .gtl-bd h2, .gtl-bd h3, .gtl-bd h4 { font-family: inherit; }

/* Respect the theme's content width instead of forcing our own */
.gtl-bd-archive-wrap,
.gtl-bd-single,
.gtl-bd-auth,
.gtl-bd-dashboard,
.gtl-bd-submit,
.gtl-bd-boost { max-width: var(--gtl-max, 1200px); }

/* Card style variants */
.gtl-bd-style-flat .gtl-bd-card,
.gtl-bd-style-flat .gtl-bd-term-card,
.gtl-bd-style-flat .gtl-bd-block,
.gtl-bd-style-flat .gtl-bd-panel-card { box-shadow: none; }

.gtl-bd-style-bordered .gtl-bd-card,
.gtl-bd-style-bordered .gtl-bd-term-card { box-shadow: none; border-width: 2px; }

.gtl-bd-style-elevated .gtl-bd-card,
.gtl-bd-style-elevated .gtl-bd-term-card { box-shadow: 0 6px 20px rgba(16,24,40,.09); border-color: transparent; }

/* Accent-aware button text (readable on light accents like yellow) */
.gtl-bd-btn.is-primary { color: var(--gtl-accent-ink, #fff); }
.gtl-bd-hero-form button { color: var(--gtl-accent-ink, #fff); }
.gtl-bd-pagination .current { color: var(--gtl-accent-ink, #fff); }

/* Accent tints derived from the theme colour */
.gtl-bd-term-icon { background: color-mix(in srgb, var(--gtl-accent) 12%, #fff); color: var(--gtl-accent); }
.gtl-bd-term-subs a:hover { background: color-mix(in srgb, var(--gtl-accent) 10%, #fff); }
.gtl-bd-hero,
.gtl-bd-archive-header { background: linear-gradient(135deg, color-mix(in srgb, var(--gtl-accent) 5%, #fff), color-mix(in srgb, var(--gtl-accent) 11%, #fff)); }
.gtl-bd-auth-aside { background: linear-gradient(160deg, color-mix(in srgb, var(--gtl-accent) 10%, #fff), color-mix(in srgb, var(--gtl-accent) 4%, #fff)); border-color: color-mix(in srgb, var(--gtl-accent) 28%, #fff); }
.gtl-bd-panel-card.is-cta { background: linear-gradient(135deg, color-mix(in srgb, var(--gtl-accent) 10%, #fff), #fff); border-color: color-mix(in srgb, var(--gtl-accent) 30%, #fff); }
.gtl-bd-chip { background: color-mix(in srgb, var(--gtl-accent) 12%, #fff); color: var(--gtl-accent-dark); }
.gtl-bd-hours-table tr.is-today { background: color-mix(in srgb, var(--gtl-accent) 6%, #fff); }
.gtl-bd-hours-table em { background: var(--gtl-accent); color: var(--gtl-accent-ink, #fff); }

/* ------------------------------ Sponsored -------------------------------- */
.gtl-bd-badge.is-sponsored {
	background: linear-gradient(135deg,#f79009,#dc6803);
	color: #fff;
	box-shadow: 0 1px 3px rgba(220,104,3,.35);
}

.gtl-bd-card.is-sponsored {
	border-color: #fdb022;
	border-width: 2px;
	background: linear-gradient(180deg,#fffcf5 0%,#fff 62%);
	box-shadow: 0 6px 22px rgba(247,144,9,.16);
}
.gtl-bd-card.is-sponsored:hover { box-shadow: 0 12px 32px rgba(247,144,9,.24); }

.gtl-bd-ribbon.is-sponsored { background: linear-gradient(135deg,#f79009,#dc6803); }

/* A subtle "Sponsored results" separator above the pinned block */
.gtl-bd-sponsored-note {
	grid-column: 1 / -1;
	display: flex; align-items: center; gap: 10px;
	font-size: 12px; text-transform: uppercase; letter-spacing: .07em;
	color: #b54708; font-weight: 700; margin: 0 0 -4px;
}
.gtl-bd-sponsored-note::after { content: ""; flex: 1; height: 1px; background: #fedf89; }

/* ------------------------------ Boost page ------------------------------- */
.gtl-bd-boost { margin: 0 auto; }
.gtl-bd-boost-head { text-align: center; margin-bottom: 30px; }
.gtl-bd-boost-eyebrow {
	display: inline-block; padding: 5px 14px; border-radius: 20px;
	background: linear-gradient(135deg,#f79009,#dc6803); color: #fff;
	font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px;
}
.gtl-bd-boost-head h2 { margin: 0 0 10px; font-size: 30px; color: var(--gtl-ink); line-height: 1.22; }
.gtl-bd-boost-head p { margin: 0 auto; max-width: 620px; color: var(--gtl-muted); font-size: 16px; }

.gtl-bd-boost-benefits {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,215px),1fr));
	gap: 14px; margin-bottom: 32px;
}
.gtl-bd-boost-benefit {
	display: flex; gap: 12px; align-items: flex-start;
	background: var(--gtl-card); border: 1px solid var(--gtl-line);
	border-radius: var(--gtl-radius); padding: 18px;
}
.gtl-bd-boost-ico {
	flex: 0 0 34px; width: 34px; height: 34px; border-radius: 9px;
	display: grid; place-items: center; font-size: 16px; font-weight: 700;
	background: #fffaeb; color: #b54708;
}
.gtl-bd-boost-benefit strong { display: block; color: var(--gtl-ink); font-size: 14.5px; margin-bottom: 3px; }
.gtl-bd-boost-benefit p { margin: 0; font-size: 13.5px; color: var(--gtl-muted); line-height: 1.5; }

.gtl-bd-boost-picker {
	background: var(--gtl-card); border: 1px solid var(--gtl-line);
	border-radius: var(--gtl-radius); padding: 20px 22px; margin-bottom: 26px;
}
.gtl-bd-boost-picker-row { display: flex; gap: 10px; margin-top: 8px; }
.gtl-bd-boost-picker select { flex: 1; }

.gtl-bd-boost-preview { margin-bottom: 30px; }
.gtl-bd-boost-preview-label {
	display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
	color: var(--gtl-muted); font-weight: 700; margin-bottom: 10px;
}

.gtl-bd-plans {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,255px),1fr));
	gap: 18px; margin-bottom: 22px; align-items: start;
}
.gtl-bd-plan {
	position: relative; display: flex; flex-direction: column;
	background: var(--gtl-card); border: 1px solid var(--gtl-line);
	border-radius: var(--gtl-radius); padding: 26px 22px;
	box-shadow: var(--gtl-shadow); transition: all .2s ease;
}
.gtl-bd-plan:hover { box-shadow: var(--gtl-shadow-lg); transform: translateY(-3px); }
.gtl-bd-plan.is-best { border-color: #fdb022; border-width: 2px; background: linear-gradient(180deg,#fffcf5,#fff); }
.gtl-bd-plan-badge {
	position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
	background: linear-gradient(135deg,#f79009,#dc6803); color: #fff;
	font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	padding: 4px 13px; border-radius: 20px; white-space: nowrap;
}
.gtl-bd-plan h3 { margin: 0 0 12px; font-size: 17px; color: var(--gtl-ink); }
.gtl-bd-plan-price { display: flex; align-items: baseline; gap: 3px; margin-bottom: 10px; flex-wrap: wrap; }
.gtl-bd-plan-cur { font-size: 20px; font-weight: 700; color: var(--gtl-ink); }
.gtl-bd-plan-amt { font-size: 40px; font-weight: 800; line-height: 1; color: var(--gtl-ink); letter-spacing: -.02em; }
.gtl-bd-plan-per { font-size: 13.5px; color: var(--gtl-muted); margin-left: 4px; }
.gtl-bd-plan-desc { font-size: 13.5px; color: var(--gtl-muted); margin: 0 0 14px; }
.gtl-bd-plan-list { list-style: none; margin: 0 0 18px; padding: 0; }
.gtl-bd-plan-list li { position: relative; padding: 0 0 8px 22px; font-size: 14px; color: var(--gtl-body); }
.gtl-bd-plan-list li::before { content: "✓"; position: absolute; left: 0; color: #12b76a; font-weight: 800; }
.gtl-bd-plan form { margin-top: auto; }

.gtl-bd-boost-secure {
	text-align: center; font-size: 13px; color: var(--gtl-muted);
	max-width: 560px; margin: 0 auto 34px; line-height: 1.6;
}

@media (max-width: 680px) {
	.gtl-bd-boost-head h2 { font-size: 24px; }
	.gtl-bd-plan-amt { font-size: 34px; }
	.gtl-bd-boost-picker-row { flex-direction: column; }
}

/* ========================================================================
   v4.0 — Reviews, ratings & invoices
   ===================================================================== */

.gtl-bd-reviews {
	margin-top: 32px;
	padding-top: 28px;
	border-top: 1px solid var(--gtl-line, #e5e7eb);
	container-type: inline-size;
}

.gtl-bd-reviews__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.gtl-bd-reviews__head .gtl-bd-section-title { margin: 0; }

/* ------------------------------ Summary ------------------------------ */

.gtl-bd-rating-summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 24px;
	align-items: center;
	padding: 20px;
	margin-bottom: 24px;
	border: 1px solid var(--gtl-line, #e5e7eb);
	border-radius: var(--gtl-radius, 14px);
	background: color-mix(in srgb, var(--gtl-accent) 4%, #fff);
}

.gtl-bd-rating-score { text-align: center; }

.gtl-bd-rating-big {
	display: block;
	font-size: clamp(38px, 9cqi, 54px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.03em;
	color: var(--gtl-accent);
}

.gtl-bd-rating-out {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #6b7280;
	margin-top: 4px;
}

.gtl-bd-rating-score .gtl-bd-stars {
	display: block;
	margin: 8px 0 4px;
	font-size: 20px;
	letter-spacing: 2px;
	color: #f59e0b;
}

.gtl-bd-rating-count { font-size: 13px; color: #6b7280; }

.gtl-bd-rating-bars { display: grid; gap: 7px; }

.gtl-bd-rating-bar {
	display: grid;
	grid-template-columns: 34px 1fr 28px;
	align-items: center;
	gap: 10px;
	font-size: 13px;
}

.gtl-bd-rating-bar__label { color: #6b7280; white-space: nowrap; }

.gtl-bd-rating-bar__track {
	height: 8px;
	border-radius: 99px;
	background: #e5e7eb;
	overflow: hidden;
}

.gtl-bd-rating-bar__fill {
	display: block;
	height: 100%;
	border-radius: 99px;
	background: #f59e0b;
	transition: width .4s ease;
}

.gtl-bd-rating-bar__n { text-align: right; color: #6b7280; font-variant-numeric: tabular-nums; }

.gtl-bd-rating-link {
	margin-left: 8px;
	font-size: 13px;
	text-decoration: underline;
	color: #6b7280;
}

/* ---------------------------- Star picker ---------------------------- */

.gtl-bd-starpick {
	display: inline-flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 2px;
}

.gtl-bd-starpick input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.gtl-bd-starpick label {
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	color: #d1d5db;
	transition: color .12s ease, transform .12s ease;
	user-select: none;
}

.gtl-bd-starpick label:hover,
.gtl-bd-starpick label:hover ~ label,
.gtl-bd-starpick input:checked ~ label {
	color: #f59e0b;
}

.gtl-bd-starpick label:hover { transform: scale(1.12); }

.gtl-bd-starpick input:focus-visible + label {
	outline: 2px solid var(--gtl-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

/* ------------------------------- Form -------------------------------- */

.gtl-bd-review-form {
	padding: 22px;
	margin-bottom: 28px;
	border: 1px solid var(--gtl-line, #e5e7eb);
	border-radius: var(--gtl-radius, 14px);
	background: #fff;
}

.gtl-bd-review-form h3 { margin: 0 0 16px; font-size: 17px; }
.gtl-bd-review-form.is-hidden { display: none; }

.gtl-bd-review-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.gtl-bd-review-msg { font-size: 14px; }
.gtl-bd-review-msg.is-ok { color: #166534; }
.gtl-bd-review-msg.is-err { color: #b91c1c; }

.gtl-bd-req { color: #dc2626; }

.gtl-bd-review-gate {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	padding: 18px 20px;
	margin-bottom: 24px;
	border: 1px dashed var(--gtl-line, #d1d5db);
	border-radius: var(--gtl-radius, 14px);
	background: #fafafa;
}

.gtl-bd-review-gate p { margin: 0; flex: 1 1 220px; font-size: 14px; }

/* ------------------------------- List -------------------------------- */

.gtl-bd-review-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 18px;
}

.gtl-bd-review {
	padding: 18px 20px;
	border: 1px solid var(--gtl-line, #e5e7eb);
	border-radius: var(--gtl-radius, 14px);
	background: #fff;
}

.gtl-bd-review__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.gtl-bd-review__avatar {
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	font-weight: 700;
	font-size: 16px;
	color: var(--gtl-accent-ink, #fff);
	background: var(--gtl-accent);
}

.gtl-bd-review__who { flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.gtl-bd-review__author { display: block; font-weight: 600; }
.gtl-bd-review__date { font-size: 12px; color: #6b7280; }

.gtl-bd-review__stars {
	font-size: 16px;
	letter-spacing: 1px;
	color: #f59e0b;
	white-space: nowrap;
}

.gtl-bd-review__title { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
.gtl-bd-review__body { font-size: 15px; line-height: 1.65; }
.gtl-bd-review__body p:last-child { margin-bottom: 0; }

.gtl-bd-review__foot { margin-top: 12px; }

.gtl-bd-helpful {
	background: none;
	border: 1px solid var(--gtl-line, #e5e7eb);
	border-radius: 99px;
	padding: 5px 14px;
	font-size: 13px;
	cursor: pointer;
	color: #4b5563;
	transition: border-color .15s ease, color .15s ease;
}

.gtl-bd-helpful:hover { border-color: var(--gtl-accent); color: var(--gtl-accent); }
.gtl-bd-helpful.is-voted { border-color: var(--gtl-accent); color: var(--gtl-accent); cursor: default; }
.gtl-bd-helpful__n { font-variant-numeric: tabular-nums; }

.gtl-bd-review__reply {
	margin-top: 14px;
	padding: 14px 16px;
	border-left: 3px solid var(--gtl-accent);
	border-radius: 0 8px 8px 0;
	background: color-mix(in srgb, var(--gtl-accent) 5%, #fff);
	font-size: 14px;
}

.gtl-bd-review__reply strong {
	display: block;
	margin-bottom: 5px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--gtl-accent);
}

.gtl-bd-review__reply p:last-child { margin-bottom: 0; }

/* ----------------------------- Invoices ------------------------------ */

.gtl-bd-inv-status {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 99px;
	font-size: 12px;
	font-weight: 700;
	text-transform: capitalize;
}

.gtl-bd-inv-status.is-paid { background: #dcfce7; color: #166534; }
.gtl-bd-inv-status.is-pending { background: #fef3c7; color: #92400e; }
.gtl-bd-inv-status.is-refunded { background: #fee2e2; color: #991b1b; }

.gtl-bd-btn--tiny {
	padding: 4px 12px !important;
	font-size: 12px !important;
	border-radius: 7px !important;
}

/* Narrow-column adaptations */
@container (max-width: 520px) {
	.gtl-bd-rating-summary { grid-template-columns: 1fr; gap: 16px; }
	.gtl-bd-review__stars { width: 100%; }
	.gtl-bd-starpick label { font-size: 26px; }
}
