.hb-customer-proof {
	scroll-margin-top: 88px;
}

.hb-customer-proof-tabs {
	display: flex;
	gap: 28px;
	margin-top: 18px;
	border-bottom: 1px solid var(--hb-line-strong);
	overflow-x: auto;
	scrollbar-width: none;
}

.hb-customer-proof-tabs::-webkit-scrollbar {
	display: none;
}

.hb-customer-proof-tabs button {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 46px;
	padding: 0 1px;
	border: 0;
	background: transparent;
	color: var(--hb-muted);
	font-size: 14px;
	font-weight: 800;
	white-space: nowrap;
}

.hb-customer-proof-tabs button::after {
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 3px;
	background: transparent;
	content: "";
}

.hb-customer-proof-tabs button[aria-selected="true"] {
	color: var(--hb-text);
}

.hb-customer-proof-tabs button[aria-selected="true"]::after {
	background: var(--hb-blue);
}

.hb-customer-proof-tabs button:focus-visible {
	outline: 2px solid var(--hb-blue);
	outline-offset: 3px;
}

.hb-customer-proof-tabs span {
	color: var(--hb-muted);
	font-size: 12px;
	font-weight: 750;
}

.hb-customer-proof-panel {
	margin-top: 24px;
}

.hb-customer-proof-panel[hidden] {
	display: none;
}

.hb-review-media-field {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 14px;
	border: 1px solid var(--hb-line-strong);
	border-radius: 8px;
	background: #fff;
}

.hb-review-media-field legend {
	padding: 0 4px;
	font-size: 13px;
	font-weight: 800;
}

.hb-review-media-field input[type="file"] {
	max-width: 100%;
	font-size: 13px;
}

.hb-review-media-field input[type="file"]::file-selector-button {
	min-height: 36px;
	margin-right: 10px;
	padding: 0 14px;
	border: 1px solid var(--hb-line-strong);
	border-radius: 7px;
	background: var(--hb-soft);
	color: var(--hb-text);
	font-weight: 800;
	cursor: pointer;
}

.hb-review-media-limits,
.hb-review-media-status {
	margin: 0;
	color: var(--hb-muted);
	font-size: 12px;
}

.hb-review-media-status:empty {
	display: none;
}

.hb-review-clip-link {
	justify-self: start;
	color: var(--hb-blue);
	font-size: 12px;
	font-weight: 800;
}

.hb-review-clip-link:hover {
	text-decoration: underline;
}

.hb-review-media-preview,
.hb-review-media-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, 76px);
	gap: 8px;
}

.hb-review-media-preview[hidden] {
	display: none;
}

.hb-review-media-preview figure {
	position: relative;
	width: 76px;
	margin: 0;
	aspect-ratio: 1;
}

.hb-review-media-preview img,
.hb-review-media-grid img {
	width: 100%;
	height: 100%;
	border-radius: 6px;
	object-fit: cover;
}

.hb-review-media-preview button {
	position: absolute;
	top: 4px;
	right: 4px;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(17, 24, 39, 0.88);
	color: #fff;
	font-size: 18px;
	line-height: 1;
}

.hb-review-media-consent {
	display: grid !important;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: 9px !important;
	margin-top: 2px;
	color: var(--hb-text);
	font-size: 12px !important;
	font-weight: 650 !important;
	line-height: 1.45;
}

.hb-review-media-consent input {
	margin-top: 2px;
}

.hb-review-media-grid {
	margin-top: 5px;
}

.hb-review-media-grid button {
	width: 76px;
	padding: 0;
	border: 1px solid var(--hb-line);
	border-radius: 7px;
	background: var(--hb-soft);
	aspect-ratio: 1;
	overflow: hidden;
}

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

.hb-customer-media-item {
	display: grid;
	min-width: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--hb-line);
	border-radius: 8px;
	background: #fff;
	color: var(--hb-text);
	text-align: left;
	transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.hb-customer-media-item:hover,
.hb-customer-media-item:focus-visible,
.hb-social-proof-item:hover,
.hb-social-proof-item:focus-visible {
	border-color: #bdc7d5;
	box-shadow: 0 8px 22px rgba(16, 24, 40, 0.08);
	transform: translateY(-1px);
}

.hb-customer-media-item:focus-visible,
.hb-social-proof-item:focus-visible,
.hb-review-media-grid button:focus-visible {
	outline: 2px solid var(--hb-blue);
	outline-offset: 2px;
}

.hb-customer-media-image {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--hb-soft);
}

.hb-customer-media-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 180ms ease;
}

.hb-customer-media-item:hover .hb-customer-media-image img {
	transform: scale(1.025);
}

.hb-customer-media-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: var(--hb-muted);
}

.hb-customer-media-placeholder .hb-icon {
	width: 34px;
	height: 34px;
}

.hb-customer-media-play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	color: var(--hb-text);
	box-shadow: 0 5px 18px rgba(16, 24, 40, 0.18);
	transform: translate(-50%, -50%);
}

.hb-customer-media-play .hb-icon {
	width: 18px;
	height: 18px;
}

.hb-proof-studio-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	padding: 5px 7px;
	border-radius: 5px;
	background: rgba(17, 24, 39, 0.86);
	color: #fff;
	font-size: 10px;
	font-weight: 850;
	text-transform: uppercase;
}

.hb-customer-media-copy {
	display: grid;
	gap: 3px;
	min-width: 0;
	padding: 12px 13px 14px;
}

.hb-customer-media-copy small {
	color: var(--hb-muted);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.hb-customer-media-copy strong {
	overflow: hidden;
	font-size: 13px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hb-social-proof-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.hb-social-proof-item {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	min-height: 132px;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--hb-line);
	border-radius: 8px;
	background: #fff;
	color: var(--hb-text);
	text-align: left;
	transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.hb-social-proof-item > img {
	width: 112px;
	height: 100%;
	min-height: 132px;
	object-fit: cover;
}

.hb-social-proof-item:not(.has-image) {
	grid-template-columns: minmax(0, 1fr);
}

.hb-social-proof-copy {
	display: grid;
	align-content: center;
	gap: 8px;
	min-width: 0;
	padding: 15px 17px;
}

.hb-proof-studio-label {
	justify-self: start;
	padding: 4px 6px;
	border-radius: 5px;
	background: #fff3cd;
	color: #6c4b00;
	font-size: 10px;
	font-weight: 850;
	text-transform: uppercase;
}

.hb-social-proof-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	font-size: 12px;
}

.hb-social-proof-meta strong {
	color: var(--hb-blue);
}

.hb-social-proof-meta span {
	overflow: hidden;
	color: var(--hb-muted);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hb-social-proof-quote {
	display: -webkit-box;
	overflow: hidden;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.hb-social-proof-action {
	color: var(--hb-muted);
	font-size: 11px;
	font-weight: 750;
}

.hb-customer-proof-empty {
	display: grid;
	justify-items: center;
	gap: 5px;
	min-height: 190px;
	padding: 44px 20px;
	border: 1px dashed var(--hb-line-strong);
	border-radius: 8px;
	background: var(--hb-soft);
	text-align: center;
}

.hb-customer-proof-empty strong {
	font-size: 15px;
}

.hb-customer-proof-empty p {
	margin: 0;
	color: var(--hb-muted);
	font-size: 13px;
}

.hb-video-modal--content .hb-video-modal__body {
	height: min(760px, calc(100vh - 48px));
	max-height: 760px;
	aspect-ratio: auto;
	background: #fff;
}

@media (max-width: 980px) {
	.hb-customer-media-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.hb-social-proof-list {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 680px) {
	.hb-customer-proof-tabs {
		gap: 22px;
	}

	.hb-customer-proof-panel {
		margin-top: 18px;
	}

	.hb-customer-media-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.hb-customer-media-copy {
		padding: 10px 11px 12px;
	}

	.hb-social-proof-item {
		grid-template-columns: 92px minmax(0, 1fr);
		min-height: 112px;
	}

	.hb-social-proof-item > img {
		width: 92px;
		min-height: 112px;
	}

	.hb-social-proof-copy {
		padding: 12px 13px;
	}

	.hb-review-form-actions {
		align-items: flex-start;
		flex-direction: column;
	}

	.hb-video-modal--content .hb-video-modal__body {
		height: min(82vh, 720px);
	}
}
