/**
 * HamanTech Market — shared front-end styles.
 *
 * Fonts are inherited from the theme on purpose: Woodmart already loads the
 * site's Persian family, so the market only controls weight, size and rhythm.
 * Every colour is a variable, so a single Elementor colour control can retheme
 * a whole widget.
 */

.htm-hero,
.htm-buy,
.htm-specs,
.htm-features,
.htm-changelog,
.htm-faq,
.htm-gallery,
.htm-tabs,
.htm-author,
.htm-related,
.htm-placeholder {
	--htm-ink: #131722;
	--htm-body: #4a5164;
	--htm-muted: #7b8296;
	--htm-line: #e5e8f0;
	--htm-surface: #ffffff;
	--htm-surface-2: #f6f7fb;
	--htm-accent: #4b36cd;
	--htm-accent-soft: #efecff;
	--htm-ok: #10894f;
	--htm-ok-soft: #e6f6ee;
	--htm-warn: #d4443c;
	--htm-warn-soft: #fdeceb;
	--htm-radius: 14px;

	box-sizing: border-box;
	color: var(--htm-body);
	line-height: 1.9;
}

.htm-hero *,
.htm-buy *,
.htm-specs *,
.htm-features *,
.htm-changelog *,
.htm-faq *,
.htm-gallery *,
.htm-tabs *,
.htm-author *,
.htm-related *,
.htm-placeholder * {
	box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Editor placeholder
   -------------------------------------------------------------------------- */

.htm-placeholder {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 18px 20px;
	border: 1px dashed var(--htm-line);
	border-radius: var(--htm-radius);
	background: var(--htm-surface-2);
	color: var(--htm-muted);
	font-size: 14px;
}

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

.htm-hero {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.htm-hero__icon {
	flex: 0 0 auto;
	width: 88px;
	height: 88px;
	overflow: hidden;
	border: 1px solid var(--htm-line);
	border-radius: 20px;
	background: var(--htm-surface);
}

.htm-hero__icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.htm-hero__body {
	min-width: 0;
	flex: 1 1 auto;
}

.htm-hero__eyebrow {
	margin-bottom: 6px;
	font-size: 13px;
	color: var(--htm-muted);
}

.htm-hero__eyebrow a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.htm-hero__eyebrow a:hover {
	color: var(--htm-accent);
	border-bottom-color: currentColor;
}

.htm-hero__title {
	margin: 0 0 8px;
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 800;
	line-height: 1.5;
	color: var(--htm-ink);
}

.htm-hero__tagline {
	margin: 0 0 14px;
	font-size: 15px;
	color: var(--htm-body);
}

.htm-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.htm-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 11px;
	border-radius: 999px;
	background: var(--htm-surface-2);
	color: var(--htm-body);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.htm-badge small {
	font-weight: 400;
	color: var(--htm-muted);
}

.htm-badge--rating .htm-badge__star {
	color: #f5a623;
	font-size: 15px;
	line-height: 1;
}

.htm-badge--free {
	background: var(--htm-ok-soft);
	color: var(--htm-ok);
}

.htm-badge--license {
	background: var(--htm-accent-soft);
	color: var(--htm-accent);
}

/* The version strip: the one line that tells a developer whether this plugin
   fits their site. Kept LTR-friendly for version numbers. */
.htm-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding-top: 12px;
	border-top: 1px solid var(--htm-line);
	font-size: 13px;
	color: var(--htm-muted);
}

.htm-strip__version {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 6px;
	background: var(--htm-ink);
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.htm-strip__dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.5;
}

/* --------------------------------------------------------------------------
   Purchase box
   -------------------------------------------------------------------------- */

.htm-buy {
	padding: 22px;
	border: 1px solid var(--htm-line);
	border-radius: 18px;
	background: var(--htm-surface);
}

.htm-buy.is-sticky {
	position: sticky;
	top: 24px;
}

@media (max-width: 1024px) {
	.htm-buy.is-sticky {
		position: static;
	}
}

.htm-buy__price-row {
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.htm-buy__price {
	font-size: 26px;
	font-weight: 800;
	color: var(--htm-ink);
}

.htm-buy__price del {
	margin-inline-start: 6px;
	font-size: 16px;
	font-weight: 500;
	color: var(--htm-muted);
}

.htm-buy__price ins {
	text-decoration: none;
}

.htm-buy__discount {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--htm-warn-soft);
	color: var(--htm-warn);
	font-size: 13px;
	font-weight: 700;
}

.htm-buy__owned {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 16px;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--htm-ok-soft);
	font-size: 14px;
	color: var(--htm-ok);
}

.htm-buy__owned-mark {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-top: 4px;
	border-radius: 50%;
	background: var(--htm-ok);
	color: #fff;
	font-size: 12px;
	line-height: 20px;
	text-align: center;
}

.htm-buy__owned a {
	display: block;
	color: var(--htm-ok);
	font-weight: 700;
	text-decoration: underline;
}

.htm-buy__cta {
	display: block;
	width: 100%;
	padding: 14px 20px;
	border: 0;
	border-radius: 12px;
	background: var(--htm-accent);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.htm-buy__cta:hover,
.htm-buy__cta:focus {
	color: #fff;
	filter: brightness(1.06);
	box-shadow: 0 10px 24px -12px var(--htm-accent);
	transform: translateY(-1px);
}

.htm-buy__cta:focus-visible {
	outline: 2px solid var(--htm-ink);
	outline-offset: 3px;
}

.htm-buy__secondary {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}

.htm-buy__ghost {
	flex: 1 1 0;
	padding: 10px 12px;
	border: 1px solid var(--htm-line);
	border-radius: 10px;
	color: var(--htm-body);
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.htm-buy__ghost:hover {
	border-color: var(--htm-accent);
	color: var(--htm-accent);
}

/* Domain slots — the visual answer to "how many sites can I use this on?" */
.htm-buy__slots {
	margin-top: 20px;
	padding: 14px;
	border-radius: 12px;
	background: var(--htm-surface-2);
}

.htm-buy__slots-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 14px;
	color: var(--htm-muted);
}

.htm-buy__slots-head strong {
	color: var(--htm-ink);
}

.htm-buy__pips {
	display: flex;
	gap: 6px;
	margin: 10px 0;
}

.htm-buy__pip {
	height: 6px;
	flex: 1 1 0;
	max-width: 44px;
	border-radius: 999px;
	background: var(--htm-accent);
	opacity: 0.85;
}

.htm-buy__slots-note {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.8;
	color: var(--htm-muted);
}

.htm-buy__terms,
.htm-buy__assurances {
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.htm-buy__terms li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 0;
	font-size: 14px;
	color: var(--htm-body);
	border-bottom: 1px dashed var(--htm-line);
}

.htm-buy__terms li:last-child {
	border-bottom: 0;
}

.htm-buy__terms .dashicons {
	color: var(--htm-accent);
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.htm-buy__assurances li {
	position: relative;
	padding-inline-start: 22px;
	font-size: 13.5px;
	color: var(--htm-muted);
}

.htm-buy__assurances li::before {
	content: "✓";
	position: absolute;
	inset-inline-start: 0;
	color: var(--htm-ok);
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   Small screens
   -------------------------------------------------------------------------- */

@media (max-width: 600px) {
	.htm-hero {
		gap: 14px;
	}

	.htm-hero__icon {
		width: 64px;
		height: 64px;
		border-radius: 16px;
	}

	.htm-buy {
		padding: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.htm-buy__cta,
	.htm-buy__ghost,
	.htm-hero__eyebrow a {
		transition: none;
	}

	.htm-buy__cta:hover {
		transform: none;
	}
}

/* --------------------------------------------------------------------------
   Shared section heading
   -------------------------------------------------------------------------- */

.htm-specs__heading,
.htm-features__heading,
.htm-changelog__heading,
.htm-faq__heading {
	margin-bottom: 16px;
	color: var(--htm-ink);
	font-size: 1.15em;
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   Spec table
   -------------------------------------------------------------------------- */

.htm-specs__body {
	overflow: hidden;
	border: 1px solid var(--htm-line);
	border-radius: var(--htm-radius);
	background: var(--htm-surface);
}

.htm-specs__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--htm-line);
	font-size: 0.94em;
}

.htm-specs__row:last-child {
	border-bottom: 0;
}

.htm-specs.is-striped .htm-specs__row:nth-child(even) {
	background: var(--htm-surface-2);
}

.htm-specs__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--htm-muted);
}

.htm-specs__label .dashicons {
	width: 18px;
	height: 18px;
	color: var(--htm-accent);
	font-size: 18px;
}

.htm-specs__value {
	color: var(--htm-ink);
	font-weight: 600;
	text-align: end;
}

.htm-specs--grid .htm-specs__body {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--htm-line);
	border: 1px solid var(--htm-line);
}

.htm-specs--grid .htm-specs__row {
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	border: 0;
	background: var(--htm-surface);
}

.htm-specs--chips .htm-specs__body {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	border: 0;
	background: transparent;
}

.htm-specs--chips .htm-specs__row {
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid var(--htm-line);
	border-radius: 999px;
	background: var(--htm-surface);
	font-size: 0.86em;
}

/* --------------------------------------------------------------------------
   Features
   -------------------------------------------------------------------------- */

.htm-features__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.htm-features__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.htm-features--card .htm-features__item {
	padding: 18px;
	border: 1px solid var(--htm-line);
	border-radius: var(--htm-radius);
	background: var(--htm-surface);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.htm-features--card .htm-features__item:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(19, 23, 34, 0.07);
}

.htm-features__icon.dashicons {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	color: var(--htm-accent);
	font-size: 24px;
}

.htm-features--list .htm-features__grid {
	grid-template-columns: 1fr;
	gap: 10px;
}

.htm-features--list .htm-features__icon.dashicons {
	width: 20px;
	height: 20px;
	color: var(--htm-ok);
	font-size: 20px;
}

.htm-features__title {
	color: var(--htm-ink);
	font-weight: 700;
	line-height: 1.7;
}

.htm-features__text {
	margin-top: 4px;
	color: var(--htm-body);
	font-size: 0.92em;
}

.htm-features__text p:last-child {
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Changelog
   -------------------------------------------------------------------------- */

.htm-changelog__list {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.htm-changelog--timeline .htm-changelog__list {
	position: relative;
	padding-inline-start: 22px;
}

.htm-changelog--timeline .htm-changelog__list::before {
	content: "";
	position: absolute;
	inset-block: 6px;
	inset-inline-start: 5px;
	width: 2px;
	background: var(--htm-line);
}

.htm-changelog--timeline .htm-changelog__item {
	position: relative;
}

.htm-changelog--timeline .htm-changelog__item::before {
	content: "";
	position: absolute;
	inset-inline-start: -21px;
	top: 9px;
	width: 12px;
	height: 12px;
	border: 2px solid var(--htm-surface);
	border-radius: 50%;
	background: var(--htm-accent);
	box-shadow: 0 0 0 2px var(--htm-line);
}

.htm-changelog__head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.htm-changelog__version {
	color: var(--htm-ink);
	font-weight: 700;
}

.htm-changelog__date {
	color: var(--htm-muted);
	font-size: 0.85em;
}

.htm-changelog__current {
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--htm-ok-soft);
	color: var(--htm-ok);
	font-size: 0.75em;
	font-weight: 700;
}

.htm-changelog__items {
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.htm-changelog__line {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 4px 0;
	font-size: 0.92em;
}

.htm-changelog__tag {
	flex: 0 0 auto;
	padding: 1px 8px;
	border-radius: 6px;
	background: var(--htm-surface-2);
	color: var(--htm-muted);
	font-size: 0.78em;
	font-weight: 700;
	line-height: 1.9;
}

.htm-changelog__line.is-added .htm-changelog__tag {
	background: var(--htm-ok-soft);
	color: var(--htm-ok);
}

.htm-changelog__line.is-fixed .htm-changelog__tag {
	background: var(--htm-warn-soft);
	color: var(--htm-warn);
}

.htm-changelog__line.is-changed .htm-changelog__tag {
	background: var(--htm-accent-soft);
	color: var(--htm-accent);
}

.htm-changelog--accordion .htm-changelog__item {
	padding: 14px 16px;
	border: 1px solid var(--htm-line);
	border-radius: var(--htm-radius);
	background: var(--htm-surface);
}

.htm-changelog--accordion .htm-changelog__head {
	cursor: pointer;
	list-style: none;
}

.htm-changelog--accordion .htm-changelog__head::-webkit-details-marker {
	display: none;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.htm-faq__item {
	margin-bottom: 10px;
	border: 1px solid var(--htm-line);
	border-radius: var(--htm-radius);
	background: var(--htm-surface);
	overflow: hidden;
}

.htm-faq__item[open] {
	border-color: var(--htm-accent);
}

.htm-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	color: var(--htm-ink);
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.htm-faq__q::-webkit-details-marker {
	display: none;
}

.htm-faq__chev {
	flex: 0 0 auto;
	color: var(--htm-muted);
	transition: transform 0.2s ease;
}

.htm-faq__item[open] .htm-faq__chev {
	transform: rotate(180deg);
	color: var(--htm-accent);
}

.htm-faq__a {
	padding: 0 18px 16px;
	color: var(--htm-body);
	font-size: 0.94em;
}

.htm-faq__a p:last-child {
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
	.htm-features__grid {
		grid-template-columns: 1fr;
	}

	.htm-specs--grid .htm-specs__body {
		grid-template-columns: 1fr;
	}

	.htm-specs__row {
		font-size: 0.9em;
	}
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.htm-gallery__heading,
.htm-related__heading {
	margin-bottom: 16px;
	color: var(--htm-ink);
	font-size: 1.15em;
	font-weight: 700;
}

.htm-gallery__stage {
	position: relative;
	height: 420px;
	overflow: hidden;
	border: 1px solid var(--htm-line);
	border-radius: var(--htm-radius);
	background: var(--htm-surface-2);
}

.htm-gallery__slide {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease;
}

.htm-gallery__slide.is-active {
	opacity: 1;
	visibility: visible;
}

.htm-gallery__slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.htm-gallery[data-lightbox="1"] .htm-gallery__slide,
.htm-gallery[data-lightbox="1"] .htm-gallery__cell {
	cursor: zoom-in;
}

.htm-gallery__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--htm-line);
	border-radius: 50%;
	background: var(--htm-surface);
	color: var(--htm-ink);
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease;
}

.htm-gallery__nav:hover {
	background: var(--htm-accent);
	color: #fff;
}

.htm-gallery__nav--prev {
	inset-inline-start: 12px;
}

.htm-gallery__nav--next {
	inset-inline-end: 12px;
}

.htm-gallery__thumbs {
	display: flex;
	gap: 10px;
	margin-top: 12px;
	overflow-x: auto;
	padding-bottom: 4px;
}

.htm-gallery__thumb {
	flex: 0 0 auto;
	width: 84px;
	height: 60px;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 10px;
	background: var(--htm-surface-2);
	cursor: pointer;
}

.htm-gallery__thumb.is-active {
	border-color: var(--htm-accent);
}

.htm-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.htm-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.htm-gallery__cell {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--htm-line);
	border-radius: var(--htm-radius);
	background: var(--htm-surface-2);
}

.htm-gallery__cell img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.htm-gallery__cell:hover img {
	transform: scale(1.04);
}

/* Lightbox */

body.htm-lightbox-open {
	overflow: hidden;
}

.htm-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(9, 11, 18, 0.86);
}

.htm-lightbox img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 10px;
}

.htm-lightbox__close {
	position: absolute;
	top: 18px;
	inset-inline-end: 18px;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

/* --------------------------------------------------------------------------
   Tabs
   -------------------------------------------------------------------------- */

.htm-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.htm-tabs__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--htm-surface-2);
	color: var(--htm-body);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.htm-tabs__btn .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
}

.htm-tabs__btn:hover {
	color: var(--htm-accent);
}

.htm-tabs__btn.is-active {
	background: var(--htm-accent);
	color: #fff;
}

.htm-tabs--underline .htm-tabs__nav {
	gap: 0;
	border-bottom: 1px solid var(--htm-line);
}

.htm-tabs--underline .htm-tabs__btn {
	border-radius: 0;
	background: transparent;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}

.htm-tabs--underline .htm-tabs__btn.is-active {
	background: transparent;
	border-bottom-color: var(--htm-accent);
	color: var(--htm-accent);
}

.htm-tabs--boxed .htm-tabs__btn {
	border-radius: 10px;
	border-color: var(--htm-line);
	background: var(--htm-surface);
}

.htm-tabs--boxed .htm-tabs__btn.is-active {
	border-color: var(--htm-accent);
	background: var(--htm-accent-soft);
	color: var(--htm-accent);
}

.htm-tabs__panel {
	display: none;
	padding: 22px;
	border: 1px solid var(--htm-line);
	border-radius: var(--htm-radius);
	background: var(--htm-surface);
	color: var(--htm-body);
}

.htm-tabs__panel.is-active {
	display: block;
}

.htm-tabs__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.htm-tabs__list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 6px 0;
}

.htm-tabs__list .dashicons {
	flex: 0 0 auto;
	color: var(--htm-accent);
}

.htm-tabs__release {
	padding: 14px 0;
	border-bottom: 1px dashed var(--htm-line);
}

.htm-tabs__release:last-child {
	border-bottom: 0;
}

.htm-tabs__release-head {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--htm-ink);
}

.htm-tabs__release-head span {
	color: var(--htm-muted);
	font-size: 0.85em;
}

.htm-tabs__release ul {
	margin: 8px 0 0;
	padding-inline-start: 18px;
	font-size: 0.93em;
}

.htm-tabs__release li.is-added {
	color: var(--htm-ok);
}

.htm-tabs__release li.is-fixed {
	color: var(--htm-warn);
}

.htm-tabs__release li.is-changed {
	color: var(--htm-accent);
}

/* --------------------------------------------------------------------------
   Author box
   -------------------------------------------------------------------------- */

.htm-author {
	padding: 22px;
	border: 1px solid var(--htm-line);
	border-radius: var(--htm-radius);
	background: var(--htm-surface);
}

.htm-author__head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.htm-author__logo {
	width: 62px;
	height: 62px;
	object-fit: cover;
	border-radius: 16px;
	border: 1px solid var(--htm-line);
}

.htm-author__name {
	color: var(--htm-ink);
	font-size: 1.08em;
	font-weight: 700;
}

.htm-author__role,
.htm-author__count {
	color: var(--htm-muted);
	font-size: 0.86em;
}

.htm-author__about {
	margin: 14px 0 0;
	color: var(--htm-body);
	font-size: 0.93em;
}

.htm-author__assurances {
	margin: 14px 0 0;
	padding: 14px 0 0;
	border-top: 1px dashed var(--htm-line);
	list-style: none;
}

.htm-author__assurances li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px 0;
	color: var(--htm-body);
	font-size: 0.9em;
}

.htm-author__assurances .dashicons {
	color: var(--htm-ok);
}

.htm-author__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.htm-author__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
	border: 1px solid var(--htm-accent);
	border-radius: 10px;
	background: var(--htm-accent);
	color: #fff;
	font-size: 0.9em;
	font-weight: 700;
	text-decoration: none;
	transition: opacity 0.18s ease;
}

.htm-author__btn:hover {
	opacity: 0.9;
	color: #fff;
}

.htm-author__btn--ghost {
	background: transparent;
	color: var(--htm-accent);
}

.htm-author__btn--ghost:hover {
	background: var(--htm-accent-soft);
	color: var(--htm-accent);
}

/* --------------------------------------------------------------------------
   Related products
   -------------------------------------------------------------------------- */

.htm-related__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.htm-related__card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	border: 1px solid var(--htm-line);
	border-radius: var(--htm-radius);
	background: var(--htm-surface);
	color: inherit;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.htm-related__card:hover {
	transform: translateY(-3px);
	border-color: var(--htm-accent);
	box-shadow: 0 12px 28px rgba(19, 23, 34, 0.08);
	color: inherit;
}

.htm-related__thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 10px;
	background: var(--htm-surface-2);
}

.htm-related__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.htm-related__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.htm-related__title {
	color: var(--htm-ink);
	font-weight: 700;
	line-height: 1.7;
}

.htm-related__tagline {
	color: var(--htm-muted);
	font-size: 0.85em;
}

.htm-related__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 2px;
}

.htm-related__chip {
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--htm-surface-2);
	color: var(--htm-muted);
	font-size: 0.75em;
}

.htm-related__rating {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: #e8a300;
	font-size: 0.82em;
	font-weight: 700;
}

.htm-related__rating .dashicons {
	width: 15px;
	height: 15px;
	font-size: 15px;
}

.htm-related__price {
	color: var(--htm-accent);
	font-weight: 700;
}

.htm-related__price del {
	color: var(--htm-muted);
	font-weight: 400;
	font-size: 0.85em;
}

@media (max-width: 767px) {
	.htm-gallery__grid,
	.htm-related__grid {
		grid-template-columns: 1fr;
	}

	.htm-gallery__stage {
		height: 240px;
	}

	.htm-tabs__nav {
		overflow-x: auto;
		flex-wrap: nowrap;
	}

	.htm-tabs__btn {
		white-space: nowrap;
	}
}
