/**
 * HARCHI KOLO — «Є сьогодні»
 * Compact freshness signal and owner control.
 */

.hk-available-today {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: fit-content;
	max-width: 100%;
	color: #123f2f;
	background: rgba(199, 154, 43, 0.11);
	border: 1px solid rgba(199, 154, 43, 0.44);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.01em;
	white-space: nowrap;
	box-shadow: 0 4px 14px rgba(18, 63, 47, 0.06);
}

.hk-available-today--card {
	margin: 3px 0 4px;
	padding: 7px 10px;
}

.hk-available-today--page {
	margin: 5px 0 8px;
	padding: 8px 12px;
	font-size: 13px;
}

.hk-available-today__icon {
	width: 15px;
	height: 15px;
	flex: 0 0 15px;
	fill: none;
	stroke: #c79a2b;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Owner panel ------------------------------------------------------------ */
.hk-available-owner {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 20px;
	padding: 16px 18px 14px;
	background:
		linear-gradient(135deg, rgba(199, 154, 43, 0.055), rgba(255, 255, 255, 0) 42%),
		#fff;
	border: 1px solid rgba(18, 63, 47, 0.12);
	border-radius: 15px;
	box-shadow: 0 8px 24px rgba(18, 63, 47, 0.06);
	overflow: hidden;
}

.hk-available-owner::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	background: #123f2f;
	transition: background-color 0.2s ease;
}

.hk-available-owner.is-active::before {
	background: #c79a2b;
}

.hk-available-owner__heading {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
}

.hk-available-owner__icon {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	color: #123f2f;
	background: rgba(18, 63, 47, 0.065);
	border: 1px solid rgba(18, 63, 47, 0.11);
	border-radius: 50%;
}

.hk-available-owner__icon .hk-available-today__icon {
	width: 18px;
	height: 18px;
	stroke: currentColor;
}

.hk-available-owner__copy h3 {
	margin: 0 0 2px;
	color: #123f2f;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
}

.hk-available-owner__copy p {
	margin: 0;
	color: #617069;
	font-size: 12.5px;
	line-height: 1.4;
}

.hk-available-owner__status {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #66736d;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
	white-space: nowrap;
}

.hk-available-owner__status::before {
	content: "";
	width: 7px;
	height: 7px;
	flex: 0 0 7px;
	background: #9ba8a2;
	border-radius: 50%;
	box-shadow: 0 0 0 3px rgba(18, 63, 47, 0.055);
}

.hk-available-owner.is-active .hk-available-owner__status {
	color: #123f2f;
}

.hk-available-owner.is-active .hk-available-owner__status::before {
	background: #c79a2b;
	box-shadow: 0 0 0 3px rgba(199, 154, 43, 0.13);
}

.hk-available-owner__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 230px;
	min-height: 42px;
	margin: 12px 0 0 48px;
	padding: 9px 16px;
	color: #fff;
	background: #123f2f;
	border: 1px solid #123f2f;
	border-radius: 10px;
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(18, 63, 47, 0.12);
	transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.hk-available-owner__toggle:hover,
.hk-available-owner__toggle:focus-visible {
	color: #123f2f;
	background: #c79a2b;
	border-color: #c79a2b;
	transform: translateY(-1px);
	box-shadow: 0 8px 19px rgba(199, 154, 43, 0.18);
	outline: none;
}

.hk-available-owner__toggle.is-active {
	color: #123f2f;
	background: #fff;
	border-color: #c79a2b;
	box-shadow: 0 5px 15px rgba(199, 154, 43, 0.1);
}

.hk-available-owner__toggle.is-active:hover,
.hk-available-owner__toggle.is-active:focus-visible {
	background: rgba(199, 154, 43, 0.1);
	color: #123f2f;
}

.hk-available-owner__toggle:disabled {
	cursor: wait;
	opacity: 0.7;
	transform: none;
}

.hk-available-owner__button-icon {
	display: inline-grid;
	place-items: center;
}

.hk-available-owner__button-icon .hk-available-today__icon {
	width: 16px;
	height: 16px;
	stroke: currentColor;
}

.hk-available-owner__note {
	margin: 7px 0 0 48px;
	max-width: 650px;
	color: #74807b;
	font-size: 11.5px;
	line-height: 1.4;
}

.hk-available-owner__feedback {
	min-height: 0;
	margin: 4px 0 0 48px;
	color: #123f2f;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.35;
}

.hk-available-owner__feedback:empty {
	display: none;
}

.hk-available-owner__feedback.is-error {
	color: #9b2c2c;
}

@media (max-width: 768px) {
	.hk-available-today--card {
		padding: 6px 9px;
		font-size: 11px;
	}

	.hk-available-today--page {
		padding: 7px 10px;
		font-size: 12px;
	}

	.hk-available-owner {
		margin-bottom: 18px;
		padding: 15px 14px 14px;
		border-radius: 14px;
	}

	.hk-available-owner__heading {
		grid-template-columns: 34px minmax(0, 1fr);
		gap: 10px;
	}

	.hk-available-owner__icon {
		width: 34px;
		height: 34px;
	}

	.hk-available-owner__copy h3 {
		font-size: 17px;
	}

	.hk-available-owner__copy p {
		font-size: 12px;
	}

	.hk-available-owner__status {
		grid-column: 2;
		justify-self: start;
		margin-top: 3px;
		font-size: 11.5px;
	}

	.hk-available-owner__toggle {
		width: 100%;
		min-width: 0;
		min-height: 48px;
		margin: 13px 0 0;
	}

	.hk-available-owner__note,
	.hk-available-owner__feedback {
		margin-left: 0;
	}
}
