/* GCF Build Options: product page styles. Colors come from CSS variables so a theme can override them. */
.gcf-bo {
	--gcfbo-accent: #22863a;
	--gcfbo-accent-soft: rgba(34, 134, 58, .18);
	--gcfbo-border: #d5d9de;
	--gcfbo-muted: #5f6b76;
	--gcfbo-radius: 6px;
	--gcfbo-gap: 10px;
	--gcfbo-error: #c62828;
	margin: 0 0 1.25em;
	width: 100%;
}
.gcf-bo .gcf-bo-group,
.gcf-bo .gcf-bo-section { display: flex; flex-wrap: wrap; column-gap: 2%; }
.gcf-bo .gcf-bo-field,
.gcf-bo .gcf-bo-section { width: 100%; margin: 0 0 16px; box-sizing: border-box; }
.gcf-bo .gcf-bo-field.gcf-bo-has-width { flex: 0 0 auto; }
.gcf-bo .gcf-bo-hidden { display: none !important; }
.gcf-bo .gcf-bo-section-title { width: 100%; font-weight: 700; font-size: 1.05em; margin: 4px 0 10px; }

.gcf-bo .gcf-bo-label { margin: 0 0 6px; display: flex; align-items: center; gap: 6px; }
.gcf-bo .gcf-bo-label label { font-weight: 600; margin: 0; cursor: default; }
.gcf-bo .gcf-bo-star { color: var(--gcfbo-error); }
.gcf-bo .gcf-bo-tip { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; background: #e9ecef; color: #333; font-size: 12px; align-items: center; justify-content: center; cursor: help; }
.gcf-bo .gcf-bo-desc { color: var(--gcfbo-muted); font-size: .92em; margin: 6px 0 0; }
.gcf-bo .gcf-bo-hint { color: var(--gcfbo-muted); white-space: nowrap; }

.gcf-bo select.gcf-bo-input,
.gcf-bo input.gcf-bo-input[type="text"],
.gcf-bo input.gcf-bo-input[type="email"],
.gcf-bo input.gcf-bo-input[type="url"],
.gcf-bo input.gcf-bo-input[type="number"],
.gcf-bo textarea.gcf-bo-input {
	width: 100%;
	max-width: 100%;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--gcfbo-border);
	border-radius: var(--gcfbo-radius);
	background-color: #fff;
	color: inherit;
	font-size: 16px;
	line-height: 1.4;
	box-sizing: border-box;
}
.gcf-bo textarea.gcf-bo-input { min-height: 90px; }
.gcf-bo select.gcf-bo-input:focus,
.gcf-bo input.gcf-bo-input:focus,
.gcf-bo textarea.gcf-bo-input:focus { outline: 2px solid var(--gcfbo-accent); outline-offset: 1px; border-color: var(--gcfbo-accent); }

.gcf-bo .gcf-bo-radios,
.gcf-bo .gcf-bo-checkboxes { display: grid; gap: 8px; }
.gcf-bo .gcf-bo-checkboxes { grid-template-columns: repeat(var(--gcfbo-cols, 1), minmax(0, 1fr)); }
.gcf-bo .gcf-bo-check-label { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; margin: 0; font-weight: 400; }
.gcf-bo .gcf-bo-check-label input { margin: 3px 0 0; accent-color: var(--gcfbo-accent); width: 18px; height: 18px; flex: 0 0 18px; }
.gcf-bo .gcf-bo-disabled { opacity: .5; }
.gcf-bo .gcf-bo-disabled label { cursor: not-allowed; }

/* Swatches */
.gcf-bo .gcf-bo-swatches { display: grid; gap: var(--gcfbo-gap); grid-template-columns: repeat(var(--gcfbo-cols, 3), minmax(0, 1fr)); }
.gcf-bo .gcf-bo-swatches--text,
.gcf-bo .gcf-bo-swatches--color { display: flex; flex-wrap: wrap; }
.gcf-bo .gcf-bo-swatch { position: relative; }
.gcf-bo .gcf-bo-swatch label { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; margin: 0; cursor: pointer; text-align: center; font-weight: 400; }
.gcf-bo .gcf-bo-swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.gcf-bo .gcf-bo-pick { width: 100%; border: 2px solid var(--gcfbo-border); border-radius: var(--gcfbo-radius); padding: 4px; background: #fff; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.gcf-bo .gcf-bo-pick img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; border-radius: calc(var(--gcfbo-radius) - 2px); }
.gcf-bo .gcf-bo-noimg { display: block; width: 100%; aspect-ratio: 1 / 1; background: #f1f3f5; }
.gcf-bo .gcf-bo-swatch-label { font-size: .95em; line-height: 1.3; }
.gcf-bo .gcf-bo-swatch--image .gcf-bo-swatch-label .gcf-bo-hint { display: block; font-size: .92em; }
.gcf-bo .gcf-bo-swatch:hover .gcf-bo-pick { border-color: #9aa5b1; }
.gcf-bo .gcf-bo-swatch.gcf-bo-checked .gcf-bo-pick { border-color: var(--gcfbo-accent); box-shadow: 0 0 0 2px var(--gcfbo-accent-soft); }
.gcf-bo .gcf-bo-swatch input:focus-visible + .gcf-bo-pick,
.gcf-bo .gcf-bo-swatch input:focus-visible + .gcf-bo-swatch-label,
.gcf-bo .gcf-bo-swatch input:focus-visible + .gcf-bo-color { outline: 2px solid var(--gcfbo-accent); outline-offset: 2px; }

.gcf-bo .gcf-bo-swatches--text .gcf-bo-swatch label { flex-direction: row; padding: 9px 14px; border: 2px solid var(--gcfbo-border); border-radius: var(--gcfbo-radius); background: #fff; }
.gcf-bo .gcf-bo-swatches--text .gcf-bo-swatch.gcf-bo-checked label { border-color: var(--gcfbo-accent); background: #eef7f0; }

.gcf-bo .gcf-bo-color { border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--gcfbo-border); }
.gcf-bo .gcf-bo-swatches--color .gcf-bo-swatch.gcf-bo-checked .gcf-bo-color { box-shadow: 0 0 0 3px var(--gcfbo-accent); }

/* Errors */
.gcf-bo .gcf-bo-error { color: var(--gcfbo-error); font-size: .92em; margin-top: 6px; }
.gcf-bo .gcf-bo-has-error select.gcf-bo-input,
.gcf-bo .gcf-bo-has-error input.gcf-bo-input,
.gcf-bo .gcf-bo-has-error .gcf-bo-pick { border-color: var(--gcfbo-error); }

/* Totals */
.gcf-bo .gcf-bo-totals { margin: 6px 0 0; }
.gcf-bo .gcf-bo-totals-inner { border-top: 1px solid var(--gcfbo-border); padding-top: 10px; }
.gcf-bo .gcf-bo-totals-inner > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.gcf-bo .gcf-bo-total--grand { font-weight: 700; font-size: 1.1em; }

.gcf-bo .gcf-bo-paragraph > :last-child { margin-bottom: 0; }
.gcf-bo .gcf-bo-image img { max-width: 100%; height: auto; }

@media (max-width: 600px) {
	.gcf-bo .gcf-bo-swatches { grid-template-columns: repeat(min(var(--gcfbo-cols, 3), 3), minmax(0, 1fr)); }
	.gcf-bo .gcf-bo-field.gcf-bo-has-width { width: 100% !important; }
}

/* Spec lists from the shortcodes. */
.gcf-bo-specs { margin: 0 0 1em; }
.gcf-bo-specs--list { list-style: none; padding: 0; margin-left: 0; }
.gcf-bo-specs--list li { padding: 4px 0; }
.gcf-bo-specs--list .gcf-bo-spec-label { font-weight: 700; }
.gcf-bo-specs--list .gcf-bo-spec-upto { color: #5f6b76; }
.gcf-bo-specs--table { width: 100%; border-collapse: collapse; }
.gcf-bo-specs--table th,
.gcf-bo-specs--table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #e3e6e9; vertical-align: top; }
.gcf-bo-specs--table .gcf-bo-spec-upto { display: block; color: #5f6b76; font-size: .92em; }

/* FPS table */
.gcf-fps {
	container-type: inline-size;
	--gcfps-accent: #22863a;
	--gcfps-border: #e1e5ea;
	--gcfps-muted: #5f6b76;
	margin: 24px 0;
	width: 100%;
	clear: both;
}
.gcf-fps-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 12px; }
.gcf-fps-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.gcf-fps .gcf-fps-restoggle { display: none; }
.gcf-fps .gcf-fps-title { margin: 0; padding: 0; font-size: 1.25em; line-height: 1.3; }
.gcf-fps-toggle { display: inline-flex; border: 1px solid var(--gcfps-accent); border-radius: 999px; overflow: hidden; }
.gcf-fps .gcf-fps-btn { appearance: none; border: 0; margin: 0; padding: 8px 16px; background: #fff; color: var(--gcfps-accent); font-size: 15px; font-weight: 600; line-height: 1.2; cursor: pointer; border-radius: 0; }
.gcf-fps .gcf-fps-btn + .gcf-fps-btn { border-left: 1px solid var(--gcfps-accent); }
.gcf-fps .gcf-fps-btn[aria-pressed="true"] { background: var(--gcfps-accent); color: #fff; }
.gcf-fps .gcf-fps-btn:focus-visible { outline: 2px solid var(--gcfps-accent); outline-offset: 2px; }
.gcf-fps-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gcf-fps-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 0; font-size: 15px; line-height: 1.35; border: 0; }
.gcf-fps-table thead th:first-child { width: 36%; }
.gcf-fps-table th,
.gcf-fps-table td { padding: 9px 10px; border: 0; border-bottom: 1px solid var(--gcfps-border); text-align: left; vertical-align: top; }
.gcf-fps-table td { padding-left: 4px; padding-right: 4px; }
.gcf-fps-table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--gcfps-muted); font-weight: 700; border-bottom: 2px solid var(--gcfps-border); }
.gcf-fps-table thead th:not(:first-child),
.gcf-fps-table td { text-align: center; }
.gcf-fps-table .gcf-fps-group th { padding-top: 16px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--gcfps-accent); font-weight: 700; }
.gcf-fps-table tbody th { font-weight: 600; }
.gcf-fps-game { display: block; }
.gcf-fps-preset { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 400; font-size: 12px; line-height: 1.35; color: var(--gcfps-muted); }
.gcf-fps-main { display: block; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gcf-fps-sub { display: block; font-size: 12px; color: var(--gcfps-muted); white-space: nowrap; }
.gcf-fps-tag { display: inline-block; margin-top: 2px; padding: 0 6px; border-radius: 8px; background: var(--gcfps-accent); color: #fff; font-size: 11px; line-height: 16px; text-transform: uppercase; letter-spacing: .03em; }
.gcf-fps-cell.gcf-fps-hi { background: #e9f6ed; }
.gcf-fps-cell.gcf-fps-hi .gcf-fps-main { color: #17692e; }
.gcf-fps-cell.gcf-fps-low { background: #fff6e5; }
.gcf-fps-cell.gcf-fps-low .gcf-fps-main { color: #8a5a00; }
.gcf-fps-cell.gcf-fps-bad { background: #fdecea; }
.gcf-fps-cell.gcf-fps-bad .gcf-fps-main { color: #a12622; }
.gcf-fps-table .gcf-fps-hl { box-shadow: inset 0 0 0 9999px rgba(34, 134, 58, .05); }
.gcf-fps-table thead .gcf-fps-hl { color: var(--gcfps-accent); }
.gcf-fps-note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--gcfps-muted); }
.gcf-fps.gcf-fps-updated .gcf-fps-cell { transition: background-color .2s; }
/* Narrow spaces (phones, a product page side column): one resolution at a time. */
@container (max-width: 440px) {
	.gcf-fps .gcf-fps-restoggle { display: inline-flex; }
	.gcf-fps-table { table-layout: auto; }
	.gcf-fps-table thead th:first-child { width: 62%; }
	.gcf-fps-table .gcf-fps-r0,
	.gcf-fps-table .gcf-fps-r1,
	.gcf-fps-table .gcf-fps-r2 { display: none; }
	.gcf-fps[data-res="0"] .gcf-fps-table .gcf-fps-r0,
	.gcf-fps[data-res="1"] .gcf-fps-table .gcf-fps-r1,
	.gcf-fps[data-res="2"] .gcf-fps-table .gcf-fps-r2 { display: table-cell; }
	.gcf-fps-table .gcf-fps-group th { padding-top: 12px; }
	.gcf-fps .gcf-fps-btn { padding: 7px 12px; font-size: 14px; }
}
@media (max-width: 600px) {
	.gcf-fps-table { font-size: 14px; }
	.gcf-fps-table th,
	.gcf-fps-table td { padding: 8px 6px; }
}
