/**
 * HARCHI KOLO Core — responsive listing page layout.
 *
 * Desktop keeps the native HivePress two-column structure. On phones the
 * original sidebar blocks are moved into the content by listing-layout.js.
 */

body.hk-core-listing-layout {
	--hk-listing-green: #123F2F;
	--hk-listing-gold: #C79A2B;
	--hk-listing-text: #173D30;
	--hk-listing-muted: #6E7F78;
	--hk-listing-border: #DCE6E1;
	--hk-listing-soft: #F5F8F6;
	--hk-listing-shadow: 0 10px 28px rgba(18, 63, 47, 0.08);
}

/* Generated elements from experimental 1.6.7–1.6.9 layouts stay disabled. */
body.hk-core-listing-layout .hk-mobile-listing-flow,
body.hk-core-listing-layout .hk-mobile-listing-summary,
body.hk-core-listing-layout .hk-mobile-listing-reply,
body.hk-core-listing-layout .hk-mobile-listing-report {
	display: none !important;
}

@media (max-width: 782px) {
	body.hk-core-listing-layout .hp-page__columns,
	body.hk-core-listing-layout .hp-listing--view-page.hp-row {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 0 !important;
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
	}

	body.hk-core-listing-layout .hp-page__content,
	body.hk-core-listing-layout .hp-page__sidebar {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		flex: 0 0 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	body.hk-core-listing-layout .hp-page__sidebar.hk-mobile-listing-sidebar-empty {
		display: none !important;
	}

	body.hk-core-listing-layout .hp-tabs__nav,
	body.hk-core-listing-layout .hp-tabs > ul,
	body.hk-core-listing-layout .hp-menu--tabbed {
		display: none !important;
	}

	body.hk-core-listing-layout .hp-tabs,
	body.hk-core-listing-layout .hp-tabs__content,
	body.hk-core-listing-layout .hp-listing__content,
	body.hk-core-listing-layout .hp-listing__details,
	body.hk-core-listing-layout .hp-page__header,
	body.hk-core-listing-layout .hp-listing__header {
		width: 100% !important;
		min-width: 0 !important;
		min-height: 0 !important;
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	body.hk-core-listing-layout .hk-context-back-row {
		margin: 0 0 10px !important;
	}

	body.hk-core-listing-layout .hp-listing__title,
	body.hk-core-listing-layout .hp-page__title,
	body.hk-core-listing-layout main h1 {
		min-height: 0 !important;
		margin: 0 0 12px !important;
		font-size: clamp(30px, 8vw, 38px) !important;
		line-height: 1.12 !important;
	}

	body.hk-core-listing-layout .hp-listing__details--primary {
		margin: 0 0 8px !important;
		padding: 0 !important;
	}

	body.hk-core-listing-layout .hp-listing__created-date {
		margin-top: 4px !important;
	}

	body.hk-core-listing-layout .hk-listing-views--public,
	body.hk-core-listing-layout .hk-listing-views--owner-page {
		margin: 8px 0 14px !important;
	}

	body.hk-core-listing-layout .hk-gallery,
	body.hk-core-listing-layout [data-hk-gallery],
	body.hk-core-listing-layout .hp-listing__images {
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 0 14px !important;
	}

	body.hk-core-listing-layout .hk-gallery__thumbs {
		margin-top: 10px !important;
		margin-bottom: 14px !important;
	}

	/* Original HivePress attributes block, moved after the gallery. */
	body.hk-core-listing-layout .hk-mobile-native-attributes,
	body.hk-core-listing-layout .hp-listing__attributes--primary.hk-mobile-native-attributes {
		display: block !important;
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 0 14px !important;
		padding: 0 !important;
		color: var(--hk-listing-text) !important;
		background: #fff !important;
		border: 1px solid var(--hk-listing-border) !important;
		border-radius: 16px !important;
		box-shadow: var(--hk-listing-shadow) !important;
		overflow: hidden !important;
	}

	/* Hide the irregular HivePress source rows only after the clean summary exists. */
	body.hk-core-listing-layout .hk-mobile-native-attributes--summary-ready > :not(.hk-mobile-native-summary) {
		display: none !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-summary {
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 18px !important;
		background: #fff !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-summary__price {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		min-height: 72px !important;
		margin: 0 !important;
		padding: 16px 0 !important;
		color: var(--hk-listing-green) !important;
		border: 0 !important;
		font-size: clamp(28px, 8vw, 36px) !important;
		font-weight: 800 !important;
		line-height: 1.1 !important;
		text-align: center !important;
		font-variant-numeric: tabular-nums;
	}

	body.hk-core-listing-layout .hk-mobile-native-summary__row {
		display: flex !important;
		align-items: baseline !important;
		justify-content: center !important;
		flex-wrap: wrap !important;
		gap: 5px 8px !important;
		min-height: 58px !important;
		margin: 0 !important;
		padding: 15px 0 !important;
		color: var(--hk-listing-text) !important;
		border-top: 1px solid rgba(18, 63, 47, 0.10) !important;
		font-size: 17px !important;
		line-height: 1.35 !important;
		text-align: center !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-summary__label {
		font-weight: 750 !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-summary__value {
		font-weight: 500 !important;
		white-space: nowrap !important;
	}

	body.hk-core-listing-layout .hk-mobile-report-duplicate {
		display: none !important;
	}

	/* Original reply action, moved immediately before the description. */
	body.hk-core-listing-layout .hk-mobile-native-actions {
		display: flex !important;
		flex-direction: column !important;
		gap: 10px !important;
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 0 14px !important;
		padding: 0 !important;
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-actions .button,
	body.hk-core-listing-layout .hk-mobile-native-actions button,
	body.hk-core-listing-layout .hk-mobile-native-actions a.hp-button {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		min-height: 54px !important;
		margin: 0 !important;
		padding: 13px 18px !important;
		color: #fff !important;
		-webkit-text-fill-color: #fff !important;
		background: var(--hk-listing-green) !important;
		border: 1px solid var(--hk-listing-green) !important;
		border-radius: 13px !important;
		font-size: 16px !important;
		font-weight: 750 !important;
		line-height: 1.25 !important;
		text-align: center !important;
		text-decoration: none !important;
	}

	body.hk-core-listing-layout .hp-listing__description {
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 0 14px !important;
		padding: 18px !important;
		color: var(--hk-listing-text) !important;
		background: #fff !important;
		border: 1px solid var(--hk-listing-border) !important;
		border-radius: 16px !important;
		box-shadow: var(--hk-listing-shadow) !important;
	}

	body.hk-core-listing-layout .hp-listing__description::before {
		display: block;
		margin: 0 0 12px;
		color: var(--hk-listing-green);
		font-size: 23px;
		font-weight: 800;
		line-height: 1.2;
		content: "Опис товару";
	}

	body.hk-core-listing-layout .hp-listing__description > :last-child {
		margin-bottom: 0 !important;
	}

	/* Original vendor block, moved after description. */
	body.hk-core-listing-layout .hk-mobile-native-vendor,
	body.hk-core-listing-layout .hp-vendor--view-block.hk-mobile-native-vendor {
		display: grid !important;
		grid-template-columns: 72px minmax(0, 1fr) 46px !important;
		align-items: center !important;
		gap: 12px !important;
		width: 100% !important;
		min-width: 0 !important;
		min-height: 0 !important;
		margin: 0 0 14px !important;
		padding: 15px 16px !important;
		text-align: left !important;
		background: #fff !important;
		border: 1px solid var(--hk-listing-border) !important;
		border-radius: 16px !important;
		box-shadow: var(--hk-listing-shadow) !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-vendor .hp-vendor__header {
		grid-column: 1 !important;
		grid-row: 1 !important;
		width: 72px !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-vendor .hp-vendor__image,
	body.hk-core-listing-layout .hk-mobile-native-vendor .hp-vendor__image a {
		display: block !important;
		width: 72px !important;
		height: 72px !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-vendor .hp-vendor__image img {
		display: block !important;
		width: 72px !important;
		height: 72px !important;
		min-width: 72px !important;
		margin: 0 !important;
		object-fit: cover !important;
		border-radius: 50% !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-vendor .hp-vendor__content {
		grid-column: 2 !important;
		grid-row: 1 !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		text-align: left !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-vendor .hp-vendor__name {
		margin: 0 0 5px !important;
		color: var(--hk-listing-green) !important;
		font-size: 22px !important;
		font-weight: 800 !important;
		line-height: 1.15 !important;
		text-align: left !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-vendor .hp-vendor__details,
	body.hk-core-listing-layout .hk-mobile-native-vendor .hp-vendor__registered-date,
	body.hk-core-listing-layout .hk-mobile-native-vendor time {
		margin: 0 !important;
		color: var(--hk-listing-muted) !important;
		font-size: 13px !important;
		line-height: 1.35 !important;
		text-align: left !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-vendor .hp-vendor__footer {
		grid-column: 3 !important;
		grid-row: 1 !important;
		align-self: center !important;
		justify-self: end !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-vendor .hp-vendor__actions {
		margin: 0 !important;
		padding: 0 !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-vendor a[href*="message"],
	body.hk-core-listing-layout .hk-mobile-native-vendor .hp-button {
		display: inline-grid !important;
		place-items: center !important;
		width: 44px !important;
		height: 44px !important;
		min-width: 44px !important;
		min-height: 44px !important;
		margin: 0 !important;
		padding: 0 !important;
		color: var(--hk-listing-green) !important;
		background: #fff !important;
		border: 1px solid var(--hk-listing-border) !important;
		border-radius: 50% !important;
		box-shadow: 0 5px 14px rgba(18, 63, 47, 0.08) !important;
		font-size: 0 !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-vendor a[href*="message"] i,
	body.hk-core-listing-layout .hk-mobile-native-vendor .hp-icon {
		font-size: 18px !important;
	}

	/* Report link is moved out of the reply widget and placed last. */
	body.hk-core-listing-layout .hk-mobile-native-report {
		display: flex !important;
		justify-content: center !important;
		width: 100% !important;
		margin: 2px 0 18px !important;
		padding: 0 !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-report__action {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 5px 0 !important;
		color: var(--hk-listing-muted) !important;
		-webkit-text-fill-color: var(--hk-listing-muted) !important;
		background: transparent !important;
		border: 0 !important;
		font-size: 14px !important;
		font-weight: 500 !important;
		text-decoration: none !important;
	}
}

@media (max-width: 430px) {
	body.hk-core-listing-layout .hk-mobile-native-summary {
		padding-right: 15px !important;
		padding-left: 15px !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-vendor,
	body.hk-core-listing-layout .hp-vendor--view-block.hk-mobile-native-vendor {
		grid-template-columns: 66px minmax(0, 1fr) 42px !important;
		gap: 10px !important;
		padding: 14px !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-vendor .hp-vendor__header,
	body.hk-core-listing-layout .hk-mobile-native-vendor .hp-vendor__image,
	body.hk-core-listing-layout .hk-mobile-native-vendor .hp-vendor__image a,
	body.hk-core-listing-layout .hk-mobile-native-vendor .hp-vendor__image img {
		width: 66px !important;
		height: 66px !important;
		min-width: 66px !important;
	}
}

/* ==================================================
   Desktop listing page — compact professional sidebar
   ================================================== */

@media (min-width: 1025px) {
	/* Keep the native two-column structure, but make both columns feel related. */
	body.hk-core-listing-layout .hp-page__columns,
	body.hk-core-listing-layout .hp-listing--view-page.hp-row {
		align-items: flex-start !important;
		column-gap: 32px !important;
	}

	body.hk-core-listing-layout .hp-page__content {
		min-width: 0 !important;
	}

	body.hk-core-listing-layout .hp-page__sidebar {
		flex: 0 0 344px !important;
		width: 344px !important;
		max-width: 344px !important;
		min-width: 0 !important;
	}

	/* Remove the unnecessary air before the gallery without touching owner tabs. */
	body.hk-core-listing-layout .hp-listing__header {
		min-height: 0 !important;
		margin-bottom: 8px !important;
		padding-bottom: 0 !important;
	}

	body.hk-core-listing-layout .hp-page__topbar,
	body.hk-core-listing-layout .hp-page__topbar--separate {
		margin-top: 0 !important;
		margin-bottom: 12px !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	body.hk-core-listing-layout .hp-tabs__nav,
	body.hk-core-listing-layout .hp-menu--tabbed {
		margin-top: 0 !important;
		margin-bottom: 10px !important;
	}

	body.hk-core-listing-layout .hp-tabs__content,
	body.hk-core-listing-layout .hp-listing__content {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	body.hk-core-listing-layout .hk-gallery,
	body.hk-core-listing-layout [data-hk-gallery],
	body.hk-core-listing-layout .hp-listing__images {
		margin-top: 0 !important;
	}

	/* One commercial card instead of three unrelated boxes. */
	body.hk-core-listing-layout .hp-listing__attributes--primary {
		display: block !important;
		width: 100% !important;
		margin: 0 0 18px !important;
		padding: 0 !important;
		color: var(--hk-listing-text) !important;
		background: #fff !important;
		border: 1px solid var(--hk-listing-border) !important;
		border-radius: 16px !important;
		box-shadow: var(--hk-listing-shadow) !important;
		overflow: hidden !important;
	}

	body.hk-core-listing-layout .hp-listing__attributes--primary > * {
		display: flex !important;
		align-items: baseline !important;
		justify-content: center !important;
		flex-wrap: wrap !important;
		gap: 5px 7px !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 16px 20px !important;
		color: var(--hk-listing-text) !important;
		background: #fff !important;
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		font-size: 16px !important;
		line-height: 1.35 !important;
		text-align: center !important;
	}

	body.hk-core-listing-layout .hp-listing__attributes--primary > * + * {
		border-top: 1px solid rgba(18, 63, 47, 0.10) !important;
	}

	body.hk-core-listing-layout .hp-listing__attributes--primary > :first-child {
		padding-top: 20px !important;
		padding-bottom: 20px !important;
		color: var(--hk-listing-green) !important;
		font-size: 27px !important;
		font-weight: 800 !important;
		line-height: 1.1 !important;
		font-variant-numeric: tabular-nums;
	}

	body.hk-core-listing-layout .hp-listing__attributes--primary strong,
	body.hk-core-listing-layout .hp-listing__attributes--primary b,
	body.hk-core-listing-layout .hp-listing__attributes--primary .hp-listing__attribute-label {
		font-weight: 750 !important;
	}

	/* Full-width primary action with a quiet report link underneath. */
	body.hk-core-listing-layout .hp-listing__actions--primary {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 9px !important;
		width: 100% !important;
		margin: 0 0 18px !important;
		padding: 0 !important;
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
	}

	body.hk-core-listing-layout .hp-listing__actions--primary .button,
	body.hk-core-listing-layout .hp-listing__actions--primary button,
	body.hk-core-listing-layout .hp-listing__actions--primary a.hp-button {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		min-height: 50px !important;
		margin: 0 !important;
		padding: 12px 16px !important;
		color: #fff !important;
		-webkit-text-fill-color: #fff !important;
		background: var(--hk-listing-green) !important;
		border: 1px solid var(--hk-listing-green) !important;
		border-radius: 12px !important;
		font-size: 15px !important;
		font-weight: 750 !important;
		line-height: 1.25 !important;
		text-align: center !important;
		text-decoration: none !important;
	}

	body.hk-core-listing-layout .hp-listing__actions--primary .button:hover,
	body.hk-core-listing-layout .hp-listing__actions--primary button:hover,
	body.hk-core-listing-layout .hp-listing__actions--primary a.hp-button:hover {
		color: #fff !important;
		-webkit-text-fill-color: #fff !important;
		background: var(--hk-listing-gold) !important;
		border-color: var(--hk-listing-gold) !important;
	}

	body.hk-core-listing-layout .hp-listing__actions--primary a:not(.hp-button),
	body.hk-core-listing-layout .hp-listing__actions--primary [data-component="link"]:not(.hp-button) {
		align-self: center !important;
		margin: 0 !important;
		padding: 4px 0 !important;
		color: var(--hk-listing-muted) !important;
		-webkit-text-fill-color: var(--hk-listing-muted) !important;
		background: transparent !important;
		border: 0 !important;
		font-size: 13px !important;
		font-weight: 500 !important;
		text-decoration: none !important;
	}

	/* Compact seller card: avatar, identity and message action in one row. */
	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block {
		display: grid !important;
		grid-template-columns: 82px minmax(0, 1fr) 44px !important;
		align-items: center !important;
		gap: 14px !important;
		width: 100% !important;
		min-width: 0 !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 18px !important;
		text-align: left !important;
		background: #fff !important;
		border: 1px solid var(--hk-listing-border) !important;
		border-radius: 16px !important;
		box-shadow: var(--hk-listing-shadow) !important;
	}

	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block .hp-vendor__header {
		grid-column: 1 !important;
		grid-row: 1 !important;
		width: 82px !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block .hp-vendor__image,
	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block .hp-vendor__image a,
	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block .hp-vendor__image img {
		display: block !important;
		width: 82px !important;
		height: 82px !important;
		min-width: 82px !important;
		margin: 0 !important;
		padding: 0 !important;
		object-fit: cover !important;
		border-radius: 50% !important;
	}

	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block .hp-vendor__content {
		grid-column: 2 !important;
		grid-row: 1 !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		text-align: left !important;
	}

	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block .hp-vendor__name {
		margin: 0 0 5px !important;
		color: var(--hk-listing-green) !important;
		font-size: 20px !important;
		font-weight: 800 !important;
		line-height: 1.15 !important;
		text-align: left !important;
	}

	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block .hp-vendor__details,
	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block .hp-vendor__registered-date,
	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block time {
		margin: 0 !important;
		color: var(--hk-listing-muted) !important;
		font-size: 12px !important;
		line-height: 1.35 !important;
		text-align: left !important;
	}

	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block .hp-vendor__footer {
		grid-column: 3 !important;
		grid-row: 1 !important;
		align-self: center !important;
		justify-self: end !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block .hp-vendor__actions {
		margin: 0 !important;
		padding: 0 !important;
	}

	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block a[href*="message"],
	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block .hp-button {
		display: inline-grid !important;
		place-items: center !important;
		width: 42px !important;
		height: 42px !important;
		min-width: 42px !important;
		min-height: 42px !important;
		margin: 0 !important;
		padding: 0 !important;
		color: var(--hk-listing-green) !important;
		background: #fff !important;
		border: 1px solid var(--hk-listing-border) !important;
		border-radius: 50% !important;
		box-shadow: 0 5px 14px rgba(18, 63, 47, 0.08) !important;
		font-size: 0 !important;
	}

	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block a[href*="message"]:hover,
	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block .hp-button:hover {
		color: #fff !important;
		background: var(--hk-listing-gold) !important;
		border-color: var(--hk-listing-gold) !important;
	}

	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block a[href*="message"] i,
	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block .hp-icon {
		font-size: 17px !important;
	}
}


/* ==================================================
   Desktop listing page — 1.7.5 corrective pass
   ================================================== */
@media (min-width: 1025px) {
	/* Force the listing heading to use its actual content height. */
	body.hk-core-listing-layout .hp-page__content .hp-listing__header,
	body.hk-core-listing-layout .hp-page__content .hp-page__header,
	body.hk-core-listing-layout .hp-page__content .hp-listing__details--primary {
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		margin-top: 0 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	body.hk-core-listing-layout .hp-page__content .hp-listing__header {
		margin-bottom: 14px !important;
	}

	body.hk-core-listing-layout .hp-page__content .hk-listing-views--public,
	body.hk-core-listing-layout .hp-page__content .hk-listing-views--owner-page {
		margin-bottom: 10px !important;
	}

	body.hk-core-listing-layout .hp-page__content .hp-tabs,
	body.hk-core-listing-layout .hp-page__content .hp-tabs__nav,
	body.hk-core-listing-layout .hp-page__content .hp-menu--tabbed {
		margin-top: 0 !important;
	}

	/* Use one deterministic commercial summary, not four raw HivePress rows. */
	body.hk-core-listing-layout .hp-listing__attributes--primary.hk-desktop-summary-ready > :not(.hk-desktop-native-summary):not(.hk-owner-management-card) {
		display: none !important;
	}

	body.hk-core-listing-layout .hp-listing__attributes--primary > .hk-desktop-native-summary,
	body.hk-core-listing-layout .hk-desktop-native-summary {
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		color: var(--hk-listing-text) !important;
		background: #fff !important;
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		font-size: 16px !important;
		line-height: 1.35 !important;
	}

	body.hk-core-listing-layout .hk-desktop-native-summary__price {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		min-height: 70px !important;
		margin: 0 !important;
		padding: 18px 20px !important;
		color: var(--hk-listing-green) !important;
		background: #fff !important;
		border: 0 !important;
		font-size: 27px !important;
		font-weight: 800 !important;
		line-height: 1.1 !important;
		text-align: center !important;
		font-variant-numeric: tabular-nums;
	}

	body.hk-core-listing-layout .hk-desktop-native-summary__row {
		display: flex !important;
		align-items: baseline !important;
		justify-content: center !important;
		flex-wrap: nowrap !important;
		gap: 7px !important;
		min-height: 55px !important;
		margin: 0 !important;
		padding: 15px 18px !important;
		color: var(--hk-listing-text) !important;
		background: #fff !important;
		border-top: 1px solid rgba(18, 63, 47, 0.10) !important;
		font-size: 15px !important;
		line-height: 1.3 !important;
		text-align: center !important;
	}

	body.hk-core-listing-layout .hk-desktop-native-summary__label {
		font-weight: 750 !important;
		white-space: nowrap !important;
	}

	body.hk-core-listing-layout .hk-desktop-native-summary__value {
		font-weight: 500 !important;
		white-space: nowrap !important;
	}

	/* The reply action is an ordinary link in this HivePress build, not hp-button. */
	body.hk-core-listing-layout .hp-listing__actions--primary a.hk-listing-reply-action,
	body.hk-core-listing-layout .hp-listing__actions--primary button.hk-listing-reply-action,
	body.hk-core-listing-layout .hp-listing__actions--primary [role="button"].hk-listing-reply-action,
	body.hk-core-listing-layout .hp-page__sidebar a.hk-listing-reply-action,
	body.hk-core-listing-layout .hp-page__sidebar button.hk-listing-reply-action,
	body.hk-core-listing-layout .hp-page__sidebar [role="button"].hk-listing-reply-action,
	body.hk-core-listing-layout .hp-listing__actions--primary .hp-listing__action--message,
	body.hk-core-listing-layout .hp-page__sidebar .hp-listing__action--message {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		align-self: stretch !important;
		width: 100% !important;
		min-height: 50px !important;
		margin: 0 !important;
		padding: 12px 16px !important;
		color: #fff !important;
		-webkit-text-fill-color: #fff !important;
		background: var(--hk-listing-green) !important;
		border: 1px solid var(--hk-listing-green) !important;
		border-radius: 12px !important;
		font-size: 15px !important;
		font-weight: 750 !important;
		line-height: 1.25 !important;
		text-align: center !important;
		text-decoration: none !important;
		cursor: pointer !important;
		opacity: 1 !important;
	}

	body.hk-core-listing-layout .hp-listing__actions--primary a.hk-listing-reply-action:hover,
	body.hk-core-listing-layout .hp-listing__actions--primary button.hk-listing-reply-action:hover,
	body.hk-core-listing-layout .hp-listing__actions--primary [role="button"].hk-listing-reply-action:hover,
	body.hk-core-listing-layout .hp-page__sidebar a.hk-listing-reply-action:hover,
	body.hk-core-listing-layout .hp-page__sidebar button.hk-listing-reply-action:hover,
	body.hk-core-listing-layout .hp-page__sidebar [role="button"].hk-listing-reply-action:hover,
	body.hk-core-listing-layout .hp-listing__actions--primary .hp-listing__action--message:hover,
	body.hk-core-listing-layout .hp-page__sidebar .hp-listing__action--message:hover {
		color: #fff !important;
		-webkit-text-fill-color: #fff !important;
		background: var(--hk-listing-gold) !important;
		border-color: var(--hk-listing-gold) !important;
	}

	body.hk-core-listing-layout .hp-listing__actions--primary a.hk-listing-report-action,
	body.hk-core-listing-layout .hp-listing__actions--primary button.hk-listing-report-action,
	body.hk-core-listing-layout .hp-listing__actions--primary [role="button"].hk-listing-report-action,
	body.hk-core-listing-layout .hp-page__sidebar a.hk-listing-report-action,
	body.hk-core-listing-layout .hp-page__sidebar button.hk-listing-report-action,
	body.hk-core-listing-layout .hp-page__sidebar [role="button"].hk-listing-report-action {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		align-self: center !important;
		width: auto !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 5px 0 !important;
		color: var(--hk-listing-muted) !important;
		-webkit-text-fill-color: var(--hk-listing-muted) !important;
		background: transparent !important;
		border: 0 !important;
		font-size: 13px !important;
		font-weight: 500 !important;
		text-decoration: none !important;
	}
}


/* ==================================================
   Desktop listing page — 1.7.6 modal safety
   ================================================== */
@media (min-width: 1025px) {
	/* Action styling is restricted to clickable controls. Modal and form
	 * containers must always keep HivePress' own visibility/layout rules. */
	body.hk-core-listing-layout .hp-modal.hk-listing-reply-action,
	body.hk-core-listing-layout .hp-modal.hk-listing-report-action,
	body.hk-core-listing-layout [role="dialog"].hk-listing-reply-action,
	body.hk-core-listing-layout [role="dialog"].hk-listing-report-action,
	body.hk-core-listing-layout form.hk-listing-reply-action,
	body.hk-core-listing-layout form.hk-listing-report-action {
		display: none !important;
	}
}


/* ==================================================
   Desktop listing page — 1.7.7 gallery lift
   ================================================== */
@media (min-width: 1025px) {
	/* HivePress leaves a large bottom margin after the primary listing details.
	 * Removing that spacer pulls the tabs and gallery upward naturally, without
	 * absolute positioning or negative transforms. */
	body.hk-core-listing-layout .hp-page__content .hp-listing__details--primary {
		margin-bottom: 8px !important;
	}

	body.hk-core-listing-layout .hp-page__content .hp-listing__header {
		margin-bottom: 6px !important;
	}

	body.hk-core-listing-layout .hp-page__content .hp-tabs,
	body.hk-core-listing-layout .hp-page__content .hp-tabs__nav,
	body.hk-core-listing-layout .hp-page__content .hp-menu--tabbed {
		margin-top: 0 !important;
	}

	body.hk-core-listing-layout .hp-page__content .hp-tabs__nav,
	body.hk-core-listing-layout .hp-page__content .hp-menu--tabbed {
		margin-bottom: 8px !important;
	}
}


/* ==================================================
   Desktop listing page — 1.7.8 reply button fallback
   ================================================== */
@media (min-width: 1025px) {
	body.hk-core-listing-layout.hk-desktop-listing-layout-ready
		.hp-page__sidebar :is(a, button, [role="button"], [data-component="modal"])
		.hp-listing__action--message {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		min-height: 50px !important;
		margin: 0 !important;
		padding: 12px 16px !important;
		color: #fff !important;
		-webkit-text-fill-color: #fff !important;
		background: var(--hk-listing-green) !important;
		border: 1px solid var(--hk-listing-green) !important;
		border-radius: 12px !important;
		font-size: 15px !important;
		font-weight: 750 !important;
		line-height: 1.25 !important;
		text-align: center !important;
		text-decoration: none !important;
		cursor: pointer !important;
		opacity: 1 !important;
	}

	/* Some HivePress versions put the message class on the clickable control
	 * itself instead of a child. This selector is the primary fallback. */
	body.hk-core-listing-layout.hk-desktop-listing-layout-ready
		.hp-page__sidebar :is(a, button, [role="button"], [data-component="modal"]).hp-listing__action--message {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		min-height: 50px !important;
		margin: 0 !important;
		padding: 12px 16px !important;
		color: #fff !important;
		-webkit-text-fill-color: #fff !important;
		background: var(--hk-listing-green) !important;
		border: 1px solid var(--hk-listing-green) !important;
		border-radius: 12px !important;
		font-size: 15px !important;
		font-weight: 750 !important;
		line-height: 1.25 !important;
		text-align: center !important;
		text-decoration: none !important;
		cursor: pointer !important;
		opacity: 1 !important;
	}

	body.hk-core-listing-layout.hk-desktop-listing-layout-ready
		.hp-page__sidebar :is(a, button, [role="button"], [data-component="modal"]).hp-listing__action--message:hover,
	body.hk-core-listing-layout.hk-desktop-listing-layout-ready
		.hp-page__sidebar :is(a, button, [role="button"], [data-component="modal"])
		.hp-listing__action--message:hover {
		color: #fff !important;
		-webkit-text-fill-color: #fff !important;
		background: var(--hk-listing-gold) !important;
		border-color: var(--hk-listing-gold) !important;
	}
}


/* ==================================================
   Listing owner view — 1.7.9 buyer actions
   ================================================== */
/* An author must not be able to message or report their own listing.
 * The server adds hk-core-listing-owner only when the current account ID
 * exactly matches the listing post author. Editing and management tabs remain. */
body.hk-core-listing-layout.hk-core-listing-owner .hp-listing__actions--primary,
body.hk-core-listing-layout.hk-core-listing-owner [data-block="listing_actions_primary"],
body.hk-core-listing-layout.hk-core-listing-owner .hk-mobile-native-actions,
body.hk-core-listing-layout.hk-core-listing-owner .hk-mobile-native-report,
body.hk-core-listing-layout.hk-core-listing-owner .hp-listing__action--message,
body.hk-core-listing-layout.hk-core-listing-owner .hp-listing__action--report,
body.hk-core-listing-layout.hk-core-listing-owner .hk-listing-reply-action,
body.hk-core-listing-layout.hk-core-listing-owner .hk-listing-report-action {
	display: none !important;
}


/* ==================================================
   Listing owner view — 1.7.10 vendor message action
   ================================================== */
/* The seller card belongs to the same account as the listing author, so its
 * message shortcut would start a conversation with oneself. Hide only the
 * vendor-card action area; profile identity and owner management remain. */
body.hk-core-listing-layout.hk-core-listing-owner
	.hp-vendor--view-block .hp-vendor__footer,
body.hk-core-listing-layout.hk-core-listing-owner
	.hp-vendor--view-block .hp-vendor__actions {
	display: none !important;
}

@media (max-width: 782px) {
	body.hk-core-listing-layout.hk-core-listing-owner
		.hk-mobile-native-vendor,
	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-vendor--view-block.hk-mobile-native-vendor {
		grid-template-columns: 72px minmax(0, 1fr) !important;
	}
}

@media (min-width: 1025px) {
	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-page__sidebar .hp-vendor--view-block {
		grid-template-columns: 82px minmax(0, 1fr) !important;
	}
}

/* ==================================================
   Listing owner details — 1.8.26 status card
   ================================================== */
body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-vendor-card--hidden {
	display: none !important;
}

body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card {
	display: grid !important;
	gap: 12px !important;
	margin: 18px 0 0 !important;
	padding: 18px 20px !important;
	background: #fff !important;
	border: 1px solid var(--hk-listing-border) !important;
	border-radius: 16px !important;
	box-shadow: var(--hk-listing-shadow) !important;
}

body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card__title {
	margin: 0 !important;
	color: var(--hk-listing-green) !important;
	font-size: 18px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
}

body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card__status,
body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card__review {
	display: grid !important;
	gap: 9px !important;
}

body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card__note,
body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card__review-status {
	margin: 0 !important;
	font-size: 13px !important;
	line-height: 1.5 !important;
	color: var(--hk-listing-muted) !important;
}

body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card__review-status.is-success {
	color: #166534 !important;
}

body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card__review-status.is-error {
	color: #b73b3b !important;
}

body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card__badge {
	display: inline-flex !important;
	justify-self: start !important;
	align-items: center !important;
	padding: 7px 12px !important;
	border-radius: 999px !important;
	background: #eef2f0 !important;
	color: var(--hk-listing-green) !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
}

body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card__badge--published {
	background: #e5f6eb !important;
	color: #166534 !important;
}

body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card__badge--owner-hidden,
body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card__badge--trash {
	background: #f0f1f1 !important;
	color: #5e6762 !important;
}

body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card__badge--pending {
	background: #edf3f0 !important;
	color: var(--hk-listing-green) !important;
}

body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card__badge--moderator-hidden,
body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card__badge--changes-requested {
	background: #fff0cf !important;
	color: #7a5200 !important;
}

body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card__badge--review-requested {
	background: #fff7df !important;
	color: var(--hk-listing-green) !important;
	border: 1px solid rgba(199, 154, 43, 0.42) !important;
}

body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card__button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 44px !important;
	padding: 10px 14px !important;
	border: 1px solid rgba(199, 154, 43, 0.54) !important;
	border-radius: 11px !important;
	background: rgba(199, 154, 43, 0.14) !important;
	color: var(--hk-listing-green) !important;
	-webkit-text-fill-color: var(--hk-listing-green) !important;
	font-size: 14px !important;
	font-weight: 750 !important;
	line-height: 1.25 !important;
	text-align: center !important;
	cursor: pointer !important;
	transition: background-color 0.18s ease, border-color 0.18s ease !important;
}

body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card__button:hover,
body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card__button:focus-visible {
	background: rgba(199, 154, 43, 0.22) !important;
	border-color: rgba(199, 154, 43, 0.72) !important;
	outline: none !important;
}

body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card__button[disabled],
body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card__button.is-sent {
	opacity: 1 !important;
	cursor: default !important;
}

@media (min-width: 1025px) {
	/* Desktop owner page: price, sales data and publication state form one
	 * commercial card. Mobile keeps the existing separate status block. */
	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-listing__attributes--primary.hk-owner-commercial-card {
		margin-bottom: 18px !important;
	}

	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-listing__attributes--primary.hk-owner-commercial-card
		> .hk-owner-management-card--inside-summary {
		display: grid !important;
		align-items: stretch !important;
		justify-content: stretch !important;
		gap: 11px !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 18px 20px 20px !important;
		background: #fff !important;
		border: 0 !important;
		border-top: 1px solid rgba(18, 63, 47, 0.10) !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		text-align: left !important;
	}

	body.hk-core-listing-layout.hk-core-listing-owner
		.hk-owner-management-card--inside-summary .hk-owner-management-card__title {
		font-size: 17px !important;
	}

	/* Keep the tabs distinct from the image instead of overlapping its border. */
	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-page__content .hp-listing__details--primary,
	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-page__content .hp-listing__header {
		margin-bottom: 0 !important;
	}

	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-page__content .hp-tabs__nav,
	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-page__content .hp-menu--tabbed {
		margin-bottom: 8px !important;
	}

	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-page__content .hp-tabs__content .hk-gallery,
	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-page__content .hp-tabs__content [data-hk-gallery],
	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-page__content .hp-tabs__content .hp-listing__images,
	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-page__content > .hk-gallery,
	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-page__content > [data-hk-gallery],
	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-page__content > .hp-listing__images {
		margin-top: 0 !important;
		margin-bottom: 20px !important;
	}

	/* A fixed desktop stage avoids the oversized first screen while preserving
	 * object-fit: contain, zoom, arrows and the lightbox. */
	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-page__content .hk-gallery__stage {
		height: clamp(440px, 56vh, 540px) !important;
		min-height: 0 !important;
		max-height: 540px !important;
		aspect-ratio: auto !important;
	}
}

@media (max-width: 782px) {
	body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card {
		margin: 10px 0 14px !important;
		padding: 16px !important;
		border-radius: 15px !important;
	}

	body.hk-core-listing-layout.hk-core-listing-owner .hk-owner-management-card__title {
		font-size: 17px !important;
	}
}

/* ==================================================
   Desktop listing page — Core 1.7.22 final polish
   ================================================== */
@media (min-width: 1025px) {
	/* The sidebar remains useful while the visitor scrolls through photos and
	 * description, but it is kept below the fixed site header. */
	body.hk-core-listing-layout .hp-page__sidebar {
		position: sticky !important;
		top: 96px !important;
		align-self: flex-start !important;
	}

	/* The report action stays secondary, while remaining clearly readable. */
	body.hk-core-listing-layout .hp-listing__actions--primary a.hk-listing-report-action,
	body.hk-core-listing-layout .hp-listing__actions--primary button.hk-listing-report-action,
	body.hk-core-listing-layout .hp-listing__actions--primary [role="button"].hk-listing-report-action,
	body.hk-core-listing-layout .hp-page__sidebar a.hk-listing-report-action,
	body.hk-core-listing-layout .hp-page__sidebar button.hk-listing-report-action,
	body.hk-core-listing-layout .hp-page__sidebar [role="button"].hk-listing-report-action {
		min-height: 32px !important;
		padding: 6px 10px !important;
		color: #687B73 !important;
		-webkit-text-fill-color: #687B73 !important;
		border: 1px solid transparent !important;
		border-radius: 999px !important;
		font-weight: 600 !important;
		transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease !important;
	}

	body.hk-core-listing-layout .hp-listing__actions--primary a.hk-listing-report-action:hover,
	body.hk-core-listing-layout .hp-listing__actions--primary button.hk-listing-report-action:hover,
	body.hk-core-listing-layout .hp-listing__actions--primary [role="button"].hk-listing-report-action:hover,
	body.hk-core-listing-layout .hp-page__sidebar a.hk-listing-report-action:hover,
	body.hk-core-listing-layout .hp-page__sidebar button.hk-listing-report-action:hover,
	body.hk-core-listing-layout .hp-page__sidebar [role="button"].hk-listing-report-action:hover,
	body.hk-core-listing-layout .hp-listing__actions--primary a.hk-listing-report-action:focus-visible,
	body.hk-core-listing-layout .hp-page__sidebar a.hk-listing-report-action:focus-visible {
		color: var(--hk-listing-gold) !important;
		-webkit-text-fill-color: var(--hk-listing-gold) !important;
		background: rgba(199, 154, 43, 0.08) !important;
		border-color: rgba(199, 154, 43, 0.30) !important;
		outline: none !important;
	}

	/* The profile is the useful secondary seller-card action. Messaging already
	 * has a full-width primary button directly above, so the duplicate bubble is
	 * removed only after a valid profile URL has been detected. */
	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block.hk-vendor-card-enhanced {
		grid-template-columns: 82px minmax(0, 1fr) !important;
		cursor: pointer !important;
		transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease !important;
	}

	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block.hk-vendor-card-enhanced:hover {
		border-color: rgba(199, 154, 43, 0.48) !important;
		box-shadow: 0 14px 34px rgba(18, 63, 47, 0.12) !important;
		transform: translateY(-1px);
	}

	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block.hk-vendor-card-enhanced:focus-visible {
		outline: 3px solid rgba(199, 154, 43, 0.30) !important;
		outline-offset: 3px !important;
	}

	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block.hk-vendor-card-enhanced .hp-vendor__footer,
	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block.hk-vendor-card-enhanced .hp-vendor__actions {
		display: none !important;
	}

	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block .hk-vendor-profile-link {
		grid-column: 1 / -1 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		min-height: 42px !important;
		margin: 2px 0 0 !important;
		padding: 9px 14px !important;
		color: var(--hk-listing-green) !important;
		-webkit-text-fill-color: var(--hk-listing-green) !important;
		background: var(--hk-listing-soft) !important;
		border: 1px solid rgba(18, 63, 47, 0.14) !important;
		border-radius: 11px !important;
		font-size: 14px !important;
		font-weight: 750 !important;
		line-height: 1.2 !important;
		text-align: center !important;
		text-decoration: none !important;
		transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease !important;
	}

	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block .hk-vendor-profile-link:hover,
	body.hk-core-listing-layout .hp-page__sidebar .hp-vendor--view-block .hk-vendor-profile-link:focus-visible {
		color: #fff !important;
		-webkit-text-fill-color: #fff !important;
		background: var(--hk-listing-gold) !important;
		border-color: var(--hk-listing-gold) !important;
		outline: none !important;
	}
}

/* ==================================================
   Desktop listing page — 1.7.23 details below gallery
   ================================================== */
@media (min-width: 1025px) {
	/* A single "Деталі" tab is not navigation. Hide only that lone tab row so
	 * the gallery rises naturally; multi-tab and owner interfaces remain intact. */
	body.hk-core-listing-layout .hp-page__content .hk-desktop-details-tabs-hidden {
		display: none !important;
		height: 0 !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
	}

	body.hk-core-listing-layout .hp-page__content .hp-tabs.hk-desktop-details-tabs-reordered,
	body.hk-core-listing-layout .hp-page__content .hp-tabs.hk-desktop-details-tabs-reordered .hp-tabs__content {
		margin-top: 0 !important;
		padding-top: 0 !important;
		border-top: 0 !important;
	}

	body.hk-core-listing-layout .hp-page__content .hp-tabs.hk-desktop-details-tabs-reordered .hp-tabs__content > :first-child {
		margin-top: 0 !important;
	}

	/* Real semantic heading inserted immediately before the product description,
	 * after the gallery and thumbnails. */
	body.hk-core-listing-layout .hp-page__content .hk-desktop-details-heading {
		position: relative !important;
		display: block !important;
		width: 100% !important;
		margin: 22px 0 16px !important;
		padding: 0 0 11px !important;
		color: var(--hk-listing-green) !important;
		border: 0 !important;
		border-bottom: 1px solid rgba(18, 63, 47, 0.14) !important;
		font-size: 20px !important;
		font-weight: 800 !important;
		line-height: 1.2 !important;
		letter-spacing: 0 !important;
	}

	body.hk-core-listing-layout .hp-page__content .hk-desktop-details-heading::after {
		content: "";
		position: absolute;
		left: 0;
		bottom: -1px;
		width: 52px;
		height: 3px;
		background: var(--hk-listing-gold);
		border-radius: 999px;
	}
}

/* ==================================================
   Mobile listing page — Core 1.7.29 compact vertical rhythm
   ================================================== */
@media (max-width: 782px) {
	/* Blocksy applies a generous global top spacing to the content area. Keep a
	 * deliberate gap under the header, but do not waste almost a full screen row
	 * before the listing starts. This remains scoped to public listing pages. */
	body.hk-core-listing-layout [data-vertical-spacing*="top"] {
		--content-vertical-spacing: 26px !important;
	}

	/* Fallbacks for installations where the Blocksy spacing attribute is placed
	 * on a wrapper other than the main element. */
	body.hk-core-listing-layout main#main.site-main,
	body.hk-core-listing-layout .site-main {
		margin-top: 0 !important;
	}

	body.hk-core-listing-layout .hk-context-back-row {
		margin-bottom: 8px !important;
	}

	body.hk-core-listing-layout .hp-listing__title,
	body.hk-core-listing-layout .hp-page__title,
	body.hk-core-listing-layout main h1 {
		margin-bottom: 9px !important;
	}

	body.hk-core-listing-layout .hp-listing__details--primary {
		margin-bottom: 5px !important;
	}

	body.hk-core-listing-layout .hk-listing-views--public,
	body.hk-core-listing-layout .hk-listing-views--owner-page {
		margin-top: 7px !important;
		margin-bottom: 10px !important;
	}

	/* HivePress keeps a large desktop-oriented bottom reserve in the listing
	 * header. On phones it creates the empty block between views and gallery. */
	body.hk-core-listing-layout .hp-page__content .hp-listing__header,
	body.hk-core-listing-layout .hp-page__content .hp-page__header {
		min-height: 0 !important;
		margin-bottom: 14px !important;
		padding-bottom: 14px !important;
	}

	body.hk-core-listing-layout .hp-page__content .hp-listing__content,
	body.hk-core-listing-layout .hp-page__content .hp-tabs,
	body.hk-core-listing-layout .hp-page__content .hp-tabs__content {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	body.hk-core-listing-layout .hp-page__content .hk-gallery,
	body.hk-core-listing-layout .hp-page__content [data-hk-gallery],
	body.hk-core-listing-layout .hp-page__content .hp-listing__images {
		margin-top: 0 !important;
	}
}

/* ==================================================
   Mobile listing page — Core 1.7.30 gallery lift
   ================================================== */
@media (max-width: 782px) {
	/* Keep the views badge close to the photo. The previous mobile pass still
	 * left the header's divider, bottom padding and tab wrapper reserve active. */
	body.hk-core-listing-layout .hk-listing-views--public,
	body.hk-core-listing-layout .hk-listing-views--owner-page {
		margin-bottom: 2px !important;
	}

	body.hk-core-listing-layout .hp-page__content .hp-listing__header,
	body.hk-core-listing-layout .hp-page__content .hp-page__header {
		margin-bottom: 0 !important;
		padding-bottom: 0 !important;
		border-bottom: 0 !important;
	}

	body.hk-core-listing-layout .hp-page__content .hp-listing__content,
	body.hk-core-listing-layout .hp-page__content .hp-tabs,
	body.hk-core-listing-layout .hp-page__content .hp-tabs__content {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		border-top: 0 !important;
	}

	body.hk-core-listing-layout .hp-page__content .hp-tabs__content > :first-child {
		margin-top: 0 !important;
	}

	/* Empty HivePress service rows must not reserve vertical space before the
	 * gallery on phones. */
	body.hk-core-listing-layout .hp-page__content .hp-page__topbar:empty,
	body.hk-core-listing-layout .hp-page__content .hp-page__topbar--separate:empty,
	body.hk-core-listing-layout .hp-page__content .hp-block:empty,
	body.hk-core-listing-layout .hp-page__content .hp-widget:empty {
		display: none !important;
		height: 0 !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
	}

	body.hk-core-listing-layout .hp-page__content .hk-gallery,
	body.hk-core-listing-layout .hp-page__content [data-hk-gallery],
	body.hk-core-listing-layout .hp-page__content .hp-listing__images {
		margin-top: 0 !important;
	}
}


/* ==================================================
   Mobile listing page — Core 1.7.31 deterministic gallery position
   ================================================== */
@media (max-width: 782px) {
	/* listing-layout.js moves the original gallery directly after the listing
	 * header. Keep only a small deliberate breathing space after the views badge. */
	body.hk-core-listing-layout .hp-page__content .hk-mobile-gallery-lifted {
		display: block !important;
		width: 100% !important;
		min-width: 0 !important;
		margin-top: 6px !important;
		margin-bottom: 14px !important;
		padding-top: 0 !important;
		clear: both !important;
	}

	body.hk-core-listing-layout .hp-page__content .hp-listing__header:has(+ .hk-mobile-gallery-lifted),
	body.hk-core-listing-layout .hp-page__content .hp-page__header:has(+ .hk-mobile-gallery-lifted) {
		margin-bottom: 0 !important;
		padding-bottom: 0 !important;
		border-bottom: 0 !important;
	}
}


/* ==================================================
   Mobile listing page — Core 1.7.32 tighter gallery lift
   ================================================== */
@media (max-width: 782px) {
	/* The gallery now starts almost immediately after the views badge so the
	 * full photo stays inside the first mobile screen more often. */
	body.hk-core-listing-layout .hk-listing-views--public,
	body.hk-core-listing-layout .hk-listing-views--owner-page {
		margin-bottom: 0 !important;
	}

	body.hk-core-listing-layout .hp-page__content .hk-mobile-gallery-lifted {
		margin-top: -8px !important;
		margin-bottom: 12px !important;
	}
}


/* ==================================================
   Mobile listing page — Core 1.7.55 safe cosmetic polish
   ==================================================
   CSS-only, scoped to public listing pages on phones. No DOM, messages,
   gallery behaviour, filters, catalog logic or database data are changed. */
@media (max-width: 782px) {
	/* Keep the gallery close to the metadata without changing its structure. */
	body.hk-core-listing-layout .hp-page__content .hk-mobile-gallery-lifted {
		margin-top: -10px !important;
		margin-bottom: 10px !important;
	}

	/* Make the commercial summary noticeably more compact. */
	body.hk-core-listing-layout .hk-mobile-native-attributes,
	body.hk-core-listing-layout .hp-listing__attributes--primary.hk-mobile-native-attributes {
		margin-bottom: 10px !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-summary {
		padding-right: 16px !important;
		padding-left: 16px !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-summary__price {
		min-height: 62px !important;
		padding: 11px 0 !important;
		font-size: clamp(27px, 7.4vw, 34px) !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-summary__row {
		min-height: 48px !important;
		padding: 10px 0 !important;
		font-size: 16px !important;
		line-height: 1.28 !important;
	}

	/* Primary action stays prominent but loses unnecessary vertical air. */
	body.hk-core-listing-layout .hk-mobile-native-actions {
		margin-bottom: 10px !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-actions .button,
	body.hk-core-listing-layout .hk-mobile-native-actions button,
	body.hk-core-listing-layout .hk-mobile-native-actions a.hp-button {
		min-height: 52px !important;
		padding: 12px 16px !important;
	}

	/* Description card adapts better to short descriptions. */
	body.hk-core-listing-layout .hp-listing__description {
		margin-bottom: 10px !important;
		padding: 15px 16px !important;
	}

	body.hk-core-listing-layout .hp-listing__description::before {
		margin-bottom: 9px !important;
		font-size: 22px !important;
	}

	body.hk-core-listing-layout .hp-listing__description p {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		line-height: 1.45 !important;
	}

	/* Report remains secondary, but is legible rather than disabled-looking. */
	body.hk-core-listing-layout .hk-mobile-native-report {
		margin: 0 0 10px !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-report__action {
		padding: 4px 0 !important;
		color: #667A72 !important;
		-webkit-text-fill-color: #667A72 !important;
		font-size: 13px !important;
		font-weight: 600 !important;
	}

	/* Slightly tighter seller card, preserving the real profile/message nodes. */
	body.hk-core-listing-layout .hk-mobile-native-vendor,
	body.hk-core-listing-layout .hp-vendor--view-block.hk-mobile-native-vendor {
		grid-template-columns: 64px minmax(0, 1fr) 42px !important;
		gap: 10px !important;
		margin-bottom: 10px !important;
		padding: 13px 14px !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-vendor .hp-vendor__header,
	body.hk-core-listing-layout .hk-mobile-native-vendor .hp-vendor__image,
	body.hk-core-listing-layout .hk-mobile-native-vendor .hp-vendor__image a,
	body.hk-core-listing-layout .hk-mobile-native-vendor .hp-vendor__image img {
		width: 64px !important;
		height: 64px !important;
		min-width: 64px !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-vendor .hp-vendor__name {
		margin-bottom: 3px !important;
		font-size: 21px !important;
	}

	body.hk-core-listing-layout .hk-mobile-native-vendor a[href*="message"],
	body.hk-core-listing-layout .hk-mobile-native-vendor .hp-button {
		width: 42px !important;
		height: 42px !important;
		min-width: 42px !important;
		min-height: 42px !important;
	}
}


/* ==================================================
   Mobile listing page — Core 1.7.56 safe spacing lift
   ==================================================
   CSS-only and restricted to public listing pages on phones. This changes
   only two vertical gaps: the start of the listing content and the space
   before the already-working gallery. No DOM, gallery logic, messages,
   catalog, filters or data are touched. */
@media (max-width: 782px) {
	/* Pull the listing content modestly toward the site header while preserving
	 * a clear visual gap, so the title block starts earlier on the first screen. */
	body.hk-core-listing-layout [data-vertical-spacing*="top"] {
		--content-vertical-spacing: 8px !important;
	}

	body.hk-core-listing-layout .hp-page {
		margin-top: -12px !important;
	}

	/* The gallery remains in exactly the same DOM position; only its top margin
	 * is reduced so it sits closer to the views badge. */
	body.hk-core-listing-layout .hp-page__content .hk-mobile-gallery-lifted {
		margin-top: -32px !important;
		margin-bottom: 10px !important;
	}
}


/* ==================================================
   Mobile listing page — Core 1.7.57 final safe spacing lift
   ==================================================
   CSS-only and scoped to public listing pages on phones. This only reduces
   the two remaining vertical gaps noted after 1.7.56. No structure, gallery
   scripts, messages, catalog controls or stored data are changed. */
@media (max-width: 782px) {
	/* Reduce the remaining space below the site header/add-listing area by
	 * roughly another 28px, while retaining a clear separation. */
	body.hk-core-listing-layout .hp-page {
		margin-top: -40px !important;
	}

	/* Bring the already-working gallery about 13px closer to the metadata. */
	body.hk-core-listing-layout .hp-page__content .hk-mobile-gallery-lifted {
		margin-top: -45px !important;
		margin-bottom: 10px !important;
	}
}


/* ==================================================
   Mobile listing page — Core 1.7.58 additional safe lift
   ==================================================
   CSS-only, scoped to listing pages on phones. It only reduces the two
   remaining vertical gaps. No DOM, gallery scripts, messages, catalog
   controls, filters or stored data are changed. */
@media (max-width: 782px) {
    /* Raise the listing content another 18px. */
    body.hk-core-listing-layout .hp-page {
        margin-top: -58px !important;
    }

    /* Raise the gallery another 17px while keeping it in normal document flow. */
    body.hk-core-listing-layout .hp-page__content .hk-mobile-gallery-lifted {
        margin-top: -62px !important;
        margin-bottom: 10px !important;
    }
}


/* ==================================================
   Mobile listing page — Core 1.7.59 clipped back-button correction
   ==================================================
   CSS-only and scoped to listing pages on phones. The listing header is moved
   down 10px so the "До каталогу" button is fully visible. The gallery receives
   an equal compensating offset, so its current position is preserved. */
@media (max-width: 782px) {
    body.hk-core-listing-layout .hp-page {
        margin-top: -48px !important;
    }

    body.hk-core-listing-layout .hp-page__content .hk-mobile-gallery-lifted {
        margin-top: -72px !important;
        margin-bottom: 10px !important;
    }
}


/* ==================================================
   Mobile listing gallery — Core 1.7.65
   ==================================================
   Raises only the existing mobile gallery by another 24px so the thumbnail
   row becomes more visible on the first screen. Gallery dimensions, controls,
   lightbox, listing data, catalog and desktop layout remain unchanged.
 */
@media (max-width: 782px) {
    body.hk-core-listing-layout
        .hp-page__content
        .hk-mobile-gallery-lifted {
        margin-top: -96px !important;
        margin-bottom: 10px !important;
    }
}


/* ==================================================
   Desktop listing gallery lift — Core 1.7.85
   ==================================================
   Desktop only. Moves the existing gallery modestly upward so it visually
   connects with the title/tabs area. Gallery dimensions, controls, thumbnails,
   mobile layout, sidebar, catalog and saved products remain unchanged.
 */
@media (min-width: 1025px) {
	body.hk-core-listing-layout
		.hp-page__content
		.hp-tabs__content
		.hk-gallery,
	body.hk-core-listing-layout
		.hp-page__content
		.hp-tabs__content
		[data-hk-gallery],
	body.hk-core-listing-layout
		.hp-page__content
		.hp-tabs__content
		.hp-listing__images {
		margin-top: -22px !important;
	}

	/* Safe fallback for listing layouts where the gallery sits directly in the
	 * main content rather than inside the tabs-content wrapper. */
	body.hk-core-listing-layout
		.hp-page__content
		> .hk-gallery,
	body.hk-core-listing-layout
		.hp-page__content
		> [data-hk-gallery],
	body.hk-core-listing-layout
		.hp-page__content
		> .hp-listing__images {
		margin-top: -22px !important;
	}
}


/* ==================================================
   Single listing action hierarchy — Core 1.8.07
   ==================================================
   Primary: reply stays filled green.
   Secondary: My Circle is outlined when inactive and gold when active.
   Tertiary: report is a quiet light button.
 */
body.hk-core-listing-layout
	.hp-listing__actions--primary
	.hk-my-circle-toggle--page {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 50px !important;
	margin: 0 !important;
	padding: 12px 16px !important;
	gap: 9px !important;

	background: #ffffff !important;
	border: 1px solid rgba(18, 63, 47, 0.28) !important;
	border-radius: 12px !important;
	color: #123f2f !important;
	-webkit-text-fill-color: #123f2f !important;
	box-shadow: 0 7px 18px rgba(18, 63, 47, 0.07) !important;

	font-size: 15px !important;
	font-weight: 750 !important;
	line-height: 1.25 !important;
	text-align: center !important;
	text-decoration: none !important;
}

body.hk-core-listing-layout
	.hp-listing__actions--primary
	.hk-my-circle-toggle--page:hover,
body.hk-core-listing-layout
	.hp-listing__actions--primary
	.hk-my-circle-toggle--page:focus-visible {
	background: #fff8e6 !important;
	border-color: #c79a2b !important;
	color: #123f2f !important;
	-webkit-text-fill-color: #123f2f !important;
	box-shadow: 0 9px 22px rgba(199, 154, 43, 0.16) !important;
	outline: none !important;
}

body.hk-core-listing-layout
	.hp-listing__actions--primary
	.hk-my-circle-toggle--page.is-active {
	background: #c79a2b !important;
	border-color: #c79a2b !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	box-shadow: 0 10px 24px rgba(199, 154, 43, 0.25) !important;
}

body.hk-core-listing-layout
	.hp-listing__actions--primary
	.hk-my-circle-toggle--page.is-active:hover,
body.hk-core-listing-layout
	.hp-listing__actions--primary
	.hk-my-circle-toggle--page.is-active:focus-visible {
	background: #b88b20 !important;
	border-color: #b88b20 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

body.hk-core-listing-layout
	.hp-listing__actions--primary
	.hk-report-trigger--listing-page {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 50px !important;
	margin: 0 !important;
	padding: 12px 16px !important;
	gap: 8px !important;

	background: #ffffff !important;
	border: 1px solid rgba(18, 63, 47, 0.16) !important;
	border-radius: 12px !important;
	color: #53645b !important;
	-webkit-text-fill-color: #53645b !important;
	box-shadow: none !important;

	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	text-align: center !important;
	text-decoration: none !important;
}

body.hk-core-listing-layout
	.hp-listing__actions--primary
	.hk-report-trigger--listing-page:hover,
body.hk-core-listing-layout
	.hp-listing__actions--primary
	.hk-report-trigger--listing-page:focus-visible {
	background: #fff8e6 !important;
	border-color: #c79a2b !important;
	color: #123f2f !important;
	-webkit-text-fill-color: #123f2f !important;
	box-shadow: 0 8px 20px rgba(199, 154, 43, 0.12) !important;
	transform: translateY(-1px) !important;
	outline: none !important;
}

body.hk-core-listing-layout
	.hp-listing__actions--primary
	.hk-report-trigger--listing-page
	.hk-report-trigger__icon {
	width: 20px !important;
	height: 20px !important;
	flex: 0 0 20px !important;
}

@media (max-width: 700px) {
	body.hk-core-listing-layout
		.hp-listing__actions--primary
		.hk-my-circle-toggle--page,
	body.hk-core-listing-layout
		.hp-listing__actions--primary
		.hk-report-trigger--listing-page {
		min-height: 48px !important;
		padding: 11px 14px !important;
	}
}


/* ==================================================
   Desktop listing details — Core 1.8.28 reference gallery
   ================================================== */
@media (min-width: 1025px) {
	/* Match the compact, balanced gallery used on the approved reference page:
	 * the whole stage and the thumbnail strip remain visible in one desktop
	 * viewport, while portrait and landscape photos stay fully contained. */
	body.hk-core-listing-layout .hp-page__content .hk-gallery,
	body.hk-core-listing-layout .hp-page__content [data-hk-gallery],
	body.hk-core-listing-layout .hp-page__content .hp-listing__images {
		width: 100% !important;
		margin-top: 0 !important;
		margin-bottom: 22px !important;
	}

	body.hk-core-listing-layout .hp-page__content .hk-gallery__stage {
		height: 460px !important;
		min-height: 460px !important;
		max-height: 460px !important;
		aspect-ratio: auto !important;
		background: #f5f8f6 !important;
		border: 1px solid rgba(18, 63, 47, 0.11) !important;
		border-radius: 18px !important;
		box-shadow: 0 12px 32px rgba(18, 63, 47, 0.08) !important;
	}

	body.hk-core-listing-layout .hp-page__content .hk-gallery__main,
	body.hk-core-listing-layout .hp-page__content .hk-gallery__main-image {
		width: 100% !important;
		height: 100% !important;
	}

	body.hk-core-listing-layout .hp-page__content .hk-gallery__main-image {
		object-fit: contain !important;
		object-position: center !important;
		background: #f5f8f6 !important;
	}

	body.hk-core-listing-layout .hp-page__content .hk-gallery__nav {
		width: 46px !important;
		height: 46px !important;
	}

	body.hk-core-listing-layout .hp-page__content .hk-gallery__nav--prev {
		left: 16px !important;
	}

	body.hk-core-listing-layout .hp-page__content .hk-gallery__nav--next {
		right: 16px !important;
	}

	body.hk-core-listing-layout .hp-page__content .hk-gallery__counter {
		left: 16px !important;
		bottom: 16px !important;
	}

	body.hk-core-listing-layout .hp-page__content .hk-gallery__thumbs {
		gap: 10px !important;
		margin-top: 14px !important;
		padding: 2px 2px 8px !important;
	}

	body.hk-core-listing-layout .hp-page__content .hk-gallery__thumb {
		flex: 0 0 96px !important;
		width: 96px !important;
		height: 72px !important;
		min-height: 72px !important;
		aspect-ratio: 4 / 3 !important;
		border-radius: 12px !important;
	}

	/* The owner tabs stay close to the gallery without touching its border. */
	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-page__content .hp-tabs__nav,
	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-page__content .hp-menu--tabbed {
		margin-bottom: 12px !important;
	}
}


/* ==================================================
   Listing owner desktop — Core 1.8.41 gallery lift
   ================================================== */
@media (min-width: 1025px) {
	/* In the owner view portrait images were sitting too low inside an overly
	 * tall stage, which pushed the description far down the page and created a
	 * visual 'cut off' effect. Keep the public layout intact, but make the
	 * owner gallery more compact and visually top-aligned. */
	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-page__content .hk-gallery,
	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-page__content [data-hk-gallery],
	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-page__content .hp-listing__images {
		margin-bottom: 18px !important;
	}

	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-page__content .hk-gallery__stage {
		height: 380px !important;
		min-height: 380px !important;
		max-height: 380px !important;
	}

	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-page__content .hk-gallery__main-image {
		object-position: center top !important;
	}

	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-page__content .hp-tabs__nav,
	body.hk-core-listing-layout.hk-core-listing-owner
		.hp-page__content .hp-menu--tabbed {
		margin-bottom: 8px !important;
	}
}
