/**
 * Contact Us (7217:3871) and Independent Test Results (7219:6075).
 *
 * Layers on figma-home.css, figma-listing.css (hero, breadcrumb, pager,
 * searchbox) and figma-checkout.css (fields, form rows).
 *
 * Rules touching <p> are qualified with .fsx-page: figma-home.css resets
 * `.fsx-page p { margin: 0 }` above a lone class.
 */

/* Contact layout (7217:3945) — 560 / 728 ------------------------------------ */

.fsx-contact {
	padding: 40px 0 60px;
}

.fsx-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
}

.fsx-cinfo,
.fsx-cpanel {
	background: #fff;
	border: 1px solid var(--g200);
	border-radius: 14px;
	padding: 28px;
}

.fsx-cpanel {
	width: 100%;
	max-width: 980px;
	margin-inline: auto;
}

.fsx-cinfo__title {
	margin: 0 0 20px;
	font-family: "Clash Display", "Public Sans", sans-serif;
	font-weight: 600;
	font-size: 24px;
	line-height: 32px;
	color: var(--ink);
}

.fsx-cinfo__row {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 18px 0;
	border-bottom: 1px solid var(--g200);
}

.fsx-cinfo__row--last {
	border-bottom: 0;
	padding-bottom: 0;
}

.fsx-cinfo__row--plain {
	padding-left: 0;
}

.fsx-cinfo__icon {
	/* block, not the default inline: outside a flex row the box would collapse
	   and the width and height below would do nothing. */
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--p50);
	position: relative;
}

/* Drawn rather than exported: these three glyphs are component instances in the
   frame, so no asset came back with the design. */
.fsx-cinfo__icon::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	border: 1.8px solid var(--p500);
	transform: translate(-50%, -50%);
}

.fsx-cinfo__icon--mail::before {
	width: 23px;
	height: 16px;
	border-radius: 3px;
}

.fsx-cinfo__icon--mail::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 14px;
	height: 9px;
	border-left: 1.8px solid var(--p500);
	border-bottom: 1.8px solid var(--p500);
	transform: translate(-50%, -58%) rotate(-45deg);
}

.fsx-cinfo__icon--pin::before {
	width: 16px;
	height: 16px;
	border-radius: 50% 50% 50% 0;
	transform: translate(-50%, -56%) rotate(-45deg);
}

.fsx-cinfo__icon--clock::before {
	width: 20px;
	height: 20px;
	border-radius: 50%;
}

.fsx-cinfo__icon--clock::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 10px;
	height: 10px;
	background:
		linear-gradient(var(--p500), var(--p500)) 4px 0 / 1.8px 6px no-repeat,
		linear-gradient(var(--p500), var(--p500)) 4px 5px / 5px 1.8px no-repeat;
	transform: translate(-10%, -28%);
}

.fsx-page .fsx-cinfo__label {
	font-size: 15px;
	font-weight: 600;
	line-height: 22px;
	color: var(--g800);
}

.fsx-page .fsx-cinfo__value {
	margin-top: 2px;
	font-size: 15px;
	line-height: 22px;
	color: var(--g700);
}

.fsx-cinfo__value a {
	color: var(--p500);
}

.fsx-page .fsx-cinfo__sub {
	margin-top: 4px;
	font-size: 13px;
	line-height: 19px;
	color: var(--g500);
}

.fsx-cinfo__sub a {
	color: var(--p500);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.fsx-cinfo__links {
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fsx-cinfo__links a {
	font-size: 15px;
	color: var(--p500);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.fsx-page .fsx-cpanel__lede {
	margin: -12px 0 20px;
	font-size: 15px;
	line-height: 22px;
	color: var(--g600);
}

/* The shared checkout fields clear their own margins inside a row. The contact
   form stacks those rows, so it supplies the vertical rhythm between groups. */
.fsx-contactform > .fsx-cform__row,
.fsx-contactform > .fsx-field {
	margin-bottom: 24px;
}

.fsx-contactform textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--g300);
	border-radius: 8px;
	background: #fff;
	font-family: inherit;
	font-size: 15px;
	line-height: 22px;
	color: var(--g800);
	resize: vertical;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.fsx-contactform textarea:focus {
	outline: none;
	border-color: var(--p500);
	box-shadow: 0 0 0 3px rgba(65, 36, 128, 0.12);
}

.fsx-field.is-invalid textarea {
	border-color: #c02626;
}

.fsx-page .fsx-contactform .fsx-cform__secure {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.fsx-lockicon {
	width: 11px;
	height: 9px;
	border: 1.4px solid var(--g500);
	border-radius: 2px;
	position: relative;
}

.fsx-lockicon::before {
	content: "";
	position: absolute;
	left: 2px;
	top: -5px;
	width: 5px;
	height: 5px;
	border: 1.4px solid var(--g500);
	border-bottom: 0;
	border-radius: 3px 3px 0 0;
}

/* Batch lookup (7219:6213) -------------------------------------------------- */

.fsx-verify {
	padding: 40px 0 8px;
}

.fsx-page .fsx-verify__title {
	font-size: 28px;
	line-height: 38px;
}

.fsx-page .fsx-verify__lede {
	margin-top: 6px;
	font-size: 15px;
	color: var(--g600);
}

.fsx-verify__form {
	margin-top: 20px;
	max-width: 560px;
}

.fsx-verify__row {
	display: flex;
	gap: 12px;
}

.fsx-verify__row input {
	flex: 1 1 auto;
	min-width: 0;
	height: 48px;
	padding: 0 16px;
	border: 1px solid var(--g300);
	border-radius: 8px;
	background: #fff;
	font-family: inherit;
	font-size: 15px;
	color: var(--g800);
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.fsx-verify__row input:focus {
	outline: none;
	border-color: var(--p500);
	box-shadow: 0 0 0 3px rgba(65, 36, 128, 0.12);
}

.fsx-page .fsx-verify__row .fsx-btn {
	flex-shrink: 0;
	cursor: pointer;
	font-family: inherit;
}

.fsx-verify__result {
	margin-top: 20px;
	max-width: 720px;
	padding: 22px 24px;
	border-radius: 14px;
	border: 1px solid var(--g200);
	background: #fff;
	animation: fsx-panel-in 240ms ease both;
}

.fsx-verify__result[hidden] {
	display: none;
}

.fsx-verify__result.is-hit {
	border-color: rgba(23, 163, 74, 0.4);
	background: rgba(23, 163, 74, 0.05);
}

.fsx-verify__result.is-miss {
	border-color: rgba(192, 38, 38, 0.35);
	background: rgba(192, 38, 38, 0.05);
}

.fsx-page .fsx-verify__result p {
	font-size: 15px;
	line-height: 22px;
	color: var(--g700);
}

.fsx-page .fsx-verify__result p + p {
	margin-top: 6px;
}

.fsx-page .fsx-verify__status {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.fsx-page .fsx-verify__status--ok {
	background: #17a34a;
	color: #fff;
}

.fsx-page .fsx-verify__note {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--g200);
	font-size: 14px;
	color: var(--g600);
}

.fsx-verify__result h3 {
	margin: 10px 0 0;
	font-family: "Clash Display", "Public Sans", sans-serif;
	font-weight: 600;
	font-size: 22px;
	line-height: 30px;
	color: var(--ink);
}

.fsx-verify__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 14px;
	margin: 16px 0 0;
}

.fsx-verify__facts dt {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--g500);
}

.fsx-verify__facts dd {
	margin: 4px 0 0;
	font-size: 15px;
	font-weight: 500;
	color: var(--g800);
}

/* COA index (7219:6237) ----------------------------------------------------- */

.fsx-coa {
	padding: 32px 0 40px;
}

.fsx-coa__panel {
	background: #fff;
	border: 1px solid var(--g200);
	border-radius: 14px;
	padding: 24px;
}

.fsx-coa__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.fsx-page .fsx-coa__title {
	font-size: 26px;
	line-height: 34px;
}

.fsx-page .fsx-coa__lede {
	margin-top: 4px;
	font-size: 14px;
	color: var(--g600);
}

.fsx-coa__search input {
	width: 280px;
}

.fsx-coa__filters {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--g200);
}

.fsx-coa__filters select {
	height: 38px;
	padding: 0 32px 0 12px;
	border: 1px solid var(--g300);
	border-radius: 8px;
	background: #fff;
	font-family: inherit;
	font-size: 14px;
	color: var(--g700);
	appearance: none;
	-webkit-appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--g600) 50%), linear-gradient(135deg, var(--g600) 50%, transparent 50%);
	background-position: calc(100% - 16px) 16px, calc(100% - 11px) 16px;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	cursor: pointer;
}

.fsx-coa__filters select:focus {
	outline: none;
	border-color: var(--p500);
}

.fsx-coa__reset {
	margin-left: auto;
	border: 0;
	background: none;
	padding: 0;
	font-family: inherit;
	font-size: 14px;
	color: var(--p500);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Six columns is wide; scroll the table rather than the page. */
.fsx-coa__scroll {
	overflow-x: auto;
}

.fsx-coatable {
	width: 100%;
	min-width: 900px;
	border-collapse: collapse;
}

.fsx-coatable th {
	text-align: left;
	padding: 14px 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--g500);
	border-bottom: 1px solid var(--g200);
	white-space: nowrap;
}

.fsx-coatable td {
	padding: 14px 12px;
	font-size: 14px;
	line-height: 20px;
	color: var(--g700);
	border-bottom: 1px solid var(--g100, #f4f4f5);
}

.fsx-coatable tbody tr:hover td {
	background: var(--g50);
}

.fsx-coatable__product {
	font-weight: 500;
	color: var(--g800);
	min-width: 220px;
}

.fsx-coatable code {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 13px;
	color: var(--g800);
	white-space: nowrap;
}

.fsx-page .fsx-coatable a {
	color: var(--p500);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.fsx-page .fsx-coatable a:hover {
	text-decoration-thickness: 2px;
}

.fsx-coatable__cert {
	font-weight: 500;
}

.fsx-coatable__view {
	text-align: right;
	white-space: nowrap;
}

/* Lookup hits ---------------------------------------------------------------
   A lot number answers with one certificate; a product name can answer with
   several, so the result is always a list. */

.fsx-verify__hits {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.fsx-verify__hits > li {
	padding: 16px;
	border: 1px solid var(--g200);
	border-radius: 12px;
	background: #fff;
}

.fsx-page .fsx-verify__hits h3 {
	margin: 0;
	font-family: "Clash Display", "Public Sans", sans-serif;
	font-weight: 600;
	font-size: 19px;
	line-height: 26px;
	color: var(--ink);
}

.fsx-page .fsx-verify__hits a {
	color: var(--p500);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.fsx-page .fsx-verify__open {
	margin-top: 16px;
	text-decoration: none;
}

/* Screen-reader-only, for the download column's header. */
.fsx-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.fsx-page .fsx-coa__none {
	padding: 40px 0;
	text-align: center;
	font-size: 15px;
	color: var(--g600);
}

.fsx-coa__none[hidden] {
	display: none;
}

.fsx-coa__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 18px;
}

.fsx-page .fsx-coa__count {
	font-size: 14px;
	color: var(--g600);
}

/* Help (7219:6571) ---------------------------------------------------------- */

/*
 * One panel, halved by a hairline — not two cards. Offsets below are the
 * frame's own: icon 48 at y=32, heading block at y=96, button at y=178,
 * tip rows 22 tall on a 34 pitch, rule inset 24 top and bottom.
 */

.fsx-coahelp {
	padding: 24px 0 56px;
}

.fsx-coahelp__card {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	background: var(--media);
	border: 1px solid var(--p50);
	border-radius: 16px;
}

.fsx-coahelp__intro {
	padding: 32px;
}

.fsx-coahelp__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--p500);
	color: #fff;
}

.fsx-coahelp__card h3 {
	margin: 16px 0 0;
	font-family: "Clash Display", "Public Sans", sans-serif;
	font-weight: 600;
	font-size: 28px;
	line-height: 38px;
	color: var(--ink);
}

.fsx-page .fsx-coahelp__card p {
	margin: 6px 0 0;
	font-size: 15px;
	line-height: 22px;
	color: var(--g600);
}

.fsx-page .fsx-coahelp__intro .fsx-btn {
	margin-top: 16px;
}

.fsx-coahelp__tips {
	position: relative;
	margin: 0;
	padding: 32px;
	list-style: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
}

/* The divider is a child of the panel in the frame, inset from both ends —
   a border-left would run the full height. */
.fsx-coahelp__tips::before {
	content: "";
	position: absolute;
	left: 0;
	top: 24px;
	bottom: 24px;
	width: 1px;
	background: var(--p50);
}

.fsx-coahelp__tips li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 15px;
	line-height: 22px;
	color: var(--g700);
}

.fsx-coahelp__tick {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	margin-top: 3px;
	border-radius: 4px;
	background: rgba(65, 36, 128, 0.1);
	color: var(--p500);
}

.fsx-page .fsx-lhero__cta {
	margin-top: 20px;
	cursor: pointer;
}

/* Responsive --------------------------------------------------------------- */

@media (max-width: 1100px) {
	.fsx-contact__grid,
	.fsx-coahelp__card {
		grid-template-columns: 1fr;
	}

	/* Stacked, the rule belongs across the top of the tips, not down its side. */
	.fsx-coahelp__tips {
		padding-top: 0;
	}

	.fsx-coahelp__tips::before {
		left: 32px;
		right: 32px;
		top: 0;
		bottom: auto;
		width: auto;
		height: 1px;
	}
}

@media (max-width: 640px) {
	.fsx-coa__search input {
		width: 100%;
	}

	.fsx-verify__row {
		flex-direction: column;
	}

	.fsx-page .fsx-verify__row .fsx-btn {
		width: 100%;
	}
}

/* Defined here as well as on the product page: figma-product.css is not
   loaded on these two templates. */
@keyframes fsx-panel-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* Submitted state ---------------------------------------------------------- */

.fsx-csent {
	padding: 32px 24px;
	border: 1px solid rgba(23, 163, 74, 0.35);
	border-radius: 12px;
	background: rgba(23, 163, 74, 0.05);
	text-align: center;
	animation: fsx-panel-in 240ms ease both;
}

.fsx-csent__tick {
	width: 44px;
	height: 44px;
	margin: 0 auto;
	border-radius: 50%;
	background: #17a34a;
	position: relative;
}

.fsx-csent__tick::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 9px;
	height: 17px;
	border: solid #fff;
	border-width: 0 2.5px 2.5px 0;
	transform: translateY(-2px) rotate(45deg);
}

.fsx-csent h3 {
	margin: 16px 0 0;
	font-family: "Clash Display", "Public Sans", sans-serif;
	font-weight: 600;
	font-size: 22px;
	line-height: 30px;
	color: var(--ink);
}

.fsx-page .fsx-csent p {
	margin: 8px auto 0;
	max-width: 420px;
	font-size: 15px;
	line-height: 22px;
	color: var(--g600);
}

.fsx-page .fsx-csent .fsx-btn {
	margin-top: 20px;
}

.fsx-csent__again {
	display: block;
	margin: 14px auto 0;
	border: 0;
	background: none;
	padding: 0;
	font-family: inherit;
	font-size: 14px;
	color: var(--g600);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}
