:root {
	--hk-identity-green: var(--hk-green, #123F2F);
	--hk-identity-gold: var(--hk-gold, #C79A2B);
	--hk-identity-surface: var(--hk-surface, #fff);
}

.hk-seller-identity {
	display:flex;
	align-items:center;
	gap:12px;
	margin:0 0 14px;
	padding:13px 14px;
	border:1px solid rgba(var(--hk-green-rgb,18,63,47),.13);
	border-radius:16px;
	background:linear-gradient(135deg,#fff 0%,#fffaf0 100%);
	box-shadow:0 8px 24px rgba(var(--hk-green-rgb,18,63,47),.05);
	color:var(--hk-identity-green);
}
.hk-seller-identity__logo {
	flex:0 0 52px;
	width:52px;
	height:52px;
	display:grid;
	place-items:center;
	overflow:hidden;
	border:1px solid rgba(var(--hk-gold-rgb,199,154,43),.28);
	border-radius:14px;
	background:#fff;
}
.hk-seller-identity__logo img { width:100%;height:100%;object-fit:cover;display:block; }
.hk-seller-identity__fallback,
.hk-seller-identity__logo .hk-business-logo-fallback {
	display:grid;
	place-items:center;
	width:100%;height:100%;
	font-family:Georgia,"Times New Roman",serif;
	font-size:24px;font-weight:700;color:var(--hk-identity-green);
}
.hk-seller-identity__body { min-width:0;display:flex;flex-direction:column;align-items:flex-start; }
.hk-seller-identity__eyebrow {
	margin-bottom:3px;
	color:var(--hk-identity-gold);
	font-size:9px;font-weight:850;letter-spacing:.11em;line-height:1.2;
}
.hk-seller-identity__body strong { color:var(--hk-identity-green);font-size:16px;line-height:1.25; }
.hk-seller-identity__body small { margin-top:2px;color:rgba(var(--hk-green-rgb,18,63,47),.62);font-size:11px; }
.hk-seller-identity__body a {
	margin-top:7px;color:var(--hk-identity-green)!important;-webkit-text-fill-color:var(--hk-identity-green)!important;
	font-size:11px;font-weight:800;text-decoration:none!important;
}
.hk-seller-identity__body a:hover,
.hk-seller-identity__body a:focus-visible { color:var(--hk-identity-gold)!important;-webkit-text-fill-color:var(--hk-identity-gold)!important; }

/* Listing form: select is useful only when there is a real choice. */
.hk-seller-identity-field {
	position:relative;
	padding:15px 16px!important;
	border:1px solid rgba(var(--hk-gold-rgb,199,154,43),.25)!important;
	border-radius:15px!important;
	background:linear-gradient(135deg,#fff 0%,#fffaf4 100%)!important;
	box-shadow:0 7px 20px rgba(var(--hk-green-rgb,18,63,47),.035)!important;
}
.hk-seller-identity-field::before {
	content:"ПРОДАВЕЦЬ";
	display:block;
	margin-bottom:7px;
	color:var(--hk-identity-gold);
	font-size:9px;font-weight:850;letter-spacing:.14em;
}
.hk-seller-identity-field .hk-seller-identity-help {
	display:flex;flex-wrap:wrap;gap:6px 10px;margin-top:8px;font-size:11px;line-height:1.4;
}
.hk-seller-identity-field .hk-seller-identity-help a {
	color:var(--hk-identity-green)!important;-webkit-text-fill-color:var(--hk-identity-green)!important;
	font-weight:800;text-decoration:none!important;
}
.hk-seller-identity-field .hk-seller-identity-help a:hover { color:var(--hk-identity-gold)!important;-webkit-text-fill-color:var(--hk-identity-gold)!important; }

/* A select with one option is not a choice. Keep it in the DOM for form
 * integrity/submission, but replace it visually with a clear personal seller card. */
.hk-seller-identity-field--personal-only {
	display:none!important;
}
.hk-seller-personal-card {
	grid-column:1 / -1;
	display:grid;
	grid-template-columns:auto minmax(0,1fr) auto;
	align-items:center;
	gap:12px;
	padding:14px 15px;
	border:1px solid rgba(var(--hk-green-rgb,18,63,47),.13);
	border-radius:15px;
	background:linear-gradient(135deg,#fff 0%,#fffaf4 100%);
	box-shadow:0 7px 20px rgba(var(--hk-green-rgb,18,63,47),.035);
	color:var(--hk-identity-green);
}
.hk-seller-personal-card__icon {
	display:grid;
	place-items:center;
	width:42px;
	height:42px;
	border:1px solid rgba(var(--hk-gold-rgb,199,154,43),.32);
	border-radius:13px;
	background:rgba(var(--hk-gold-rgb,199,154,43),.08);
	color:var(--hk-identity-green);
}
.hk-seller-personal-card__icon svg { width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round; }
.hk-seller-personal-card__body { min-width:0;display:flex;flex-direction:column; }
.hk-seller-personal-card__body span { margin-bottom:2px;color:var(--hk-identity-gold);font-size:8.5px;font-weight:850;letter-spacing:.13em; }
.hk-seller-personal-card__body strong { color:var(--hk-identity-green);font-size:15px;line-height:1.25; }
.hk-seller-personal-card__body small { margin-top:3px;color:rgba(var(--hk-green-rgb,18,63,47),.62);font-size:11.5px;line-height:1.4; }
.hk-seller-personal-card__link {
	align-self:center;
	white-space:nowrap;
	color:var(--hk-identity-green)!important;
	-webkit-text-fill-color:var(--hk-identity-green)!important;
	font-size:11.5px;font-weight:800;text-decoration:none!important;
}
.hk-seller-personal-card__link:hover,
.hk-seller-personal-card__link:focus-visible { color:var(--hk-identity-gold)!important;-webkit-text-fill-color:var(--hk-identity-gold)!important; }

@media (max-width:700px) {
	.hk-seller-identity { gap:10px;padding:12px;border-radius:14px; }
	.hk-seller-identity__logo { flex-basis:46px;width:46px;height:46px;border-radius:12px; }
	.hk-seller-identity-field { padding:13px!important;border-radius:14px!important; }
	.hk-seller-personal-card { grid-template-columns:auto minmax(0,1fr);gap:10px;padding:12px 13px;border-radius:14px; }
	.hk-seller-personal-card__icon { width:38px;height:38px;border-radius:12px; }
	.hk-seller-personal-card__link { grid-column:2;justify-self:start;white-space:normal;margin-top:1px; }
}

/* Core 2.0.98.371 — hide the complete HivePress field chrome when there is
 * no real seller choice. The control remains enabled in the form and submits
 * the signed personal identity value. */
.hk-seller-identity-field--personal-only,
.hk-seller-identity-field--personal-only[hidden] {
	display:none!important;
}
