/* Product-page comments frame (template: product-feedback.php), embedded as an iframe in the main site; loads after comments.css */

html {
	font-size: 62.5%;
}

html,
body {
	background: transparent;
}

body {
	margin: 0;
	padding: 0;
	color: var(--c-text);
	font-family: 'Open Sans', 'Open Sans Fallback', Arial, sans-serif;
	font-size: 1.5rem;
	line-height: 1.6;
}

/* Room around the cards for their shadows: the iframe clips anything outside it (the host page pulls the iframe out by the same amount) */
.comments {
	padding: 4px 28px 36px;
}

@media (max-width: 520px) {
	.comments { padding: 4px 12px 30px; }
}

/* Comment submission error (wp_die page) */
.commentNotice {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 14px 18px;
	border: 1px solid color-mix(in srgb, #d97706 55%, var(--c-border));
	border-radius: 14px;
	background: color-mix(in srgb, #d97706 10%, transparent);
}

.commentNoticeIcon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #d97706;
	color: #fff;
	font-size: 1.6rem;
	font-weight: 700;
}

.commentNotice h3 {
	margin: 0 0 4px;
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--c-text);
}

.commentNotice p {
	margin: 0 0 10px;
	font-size: 1.4rem;
	color: var(--c-text);
}

.commentNoticeBack {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 999px;
	background: var(--c-accent);
	color: #fff !important;
	font-size: 1.3rem;
	font-weight: 700;
	text-decoration: none !important;
}

body.dark .commentNoticeBack {
	background: #f1f1f3;
	color: #111 !important;
}
