/* Guide cards: product cards in the guides and the fixed bar of the content pages. White and cool light grey only. */
.gc-card, .guide-sticky, .guide-about {
	--gc-ink: #151515;
	--gc-muted: #5f6368;
	--gc-line: #e3e5e8;
	--gc-soft: #f4f5f7;
	--gc-r: 10px;
}
.gc-card {
	margin: 2rem 0;
	padding: 1rem;
	border: 1px solid var(--gc-line);
	border-radius: var(--gc-r);
	background: #fff;
	color: var(--gc-ink);
	font-size: 0.9375rem;
	line-height: 1.45;
}
.gc-card p, .gc-card ul { margin: 0; padding: 0; list-style: none; }
.gc-label { margin-bottom: 0.75rem !important; color: var(--gc-muted); font-size: 0.8125rem; font-weight: 600; }
.gc-bag { display: flex; gap: 1rem; align-items: flex-start; min-width: 0; }
.gc-media { flex: 0 0 180px; display: block; border-radius: var(--gc-r); background: var(--gc-soft); overflow: hidden; }
.gc-media img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; margin: 0; }
.gc-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.gc-name { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.gc-name a { color: inherit; text-decoration: none; }
.gc-name a:hover { text-decoration: underline; }
.gc-price { font-weight: 700; }
.gc-price del { font-weight: 400; color: var(--gc-muted); margin-right: 0.35rem; }
.gc-price ins { text-decoration: none; }
.gc-fact { color: var(--gc-muted); }
.gc-colors { display: flex; flex-wrap: wrap; gap: 0.35rem 0.85rem; font-size: 0.8125rem; color: var(--gc-muted); }
.gc-colors li { display: inline-flex; align-items: center; gap: 0.35rem; }
.gc-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.18); }
.gc-offers { display: grid; gap: 0.3rem; font-size: 0.875rem; }
.gc-offers li { display: flex; gap: 0.4rem; align-items: flex-start; }
.gc-ico { flex: 0 0 1rem; width: 1rem; height: 1rem; margin-top: 0.15rem; fill: currentColor; }
.gc-button, .guide-sticky__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 1.25rem;
	border-radius: var(--gc-r);
	background: var(--gc-ink);
	color: #fff !important;
	font-weight: 600;
	font-size: 0.9375rem;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none !important;
	white-space: nowrap;
}
button.guide-sticky__button { border: 0; font-family: inherit; line-height: 1.2; cursor: pointer; }
.gc-button { align-self: flex-start; margin-top: 0.25rem; }
.gc-button:hover, .guide-sticky__button:hover { background: #000; }
.gc-card--both .gc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gc-card--both .gc-bag { flex-direction: column; }
.gc-card--both .gc-media { flex: none; width: 100%; max-width: 220px; }
.gc-set {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-top: 1rem !important;
	padding: 0.75rem 1rem;
	border-radius: var(--gc-r);
	background: var(--gc-soft);
	font-size: 0.875rem;
	font-weight: 600;
}
.gc-set a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gc-ink); text-decoration: underline; }
@media (max-width: 767px) {
	.gc-media { flex-basis: 112px; }
	.gc-button { align-self: stretch; }
	.gc-card--both .gc-cols { grid-template-columns: 1fr; }
	.gc-card--both .gc-bag { flex-direction: row; }
	.gc-card--both .gc-media { width: auto; flex: 0 0 112px; }
}

/* Lead photo of a guide, with a caption that says the image is AI-generated (05/11/2026). */
.guide-lead { margin: 1.5rem 0 2rem; }
.guide-lead img { display: block; width: 100%; height: auto; }
.guide-lead figcaption { margin: 0.5rem 0 0; color: #5f6368; font-size: 0.8125rem; line-height: 1.4; text-align: left; }

/* « About this guide » box (added to the guides by the content agents). */
.guide-about {
	margin: 2rem 0;
	padding: 1.25rem;
	border-radius: var(--gc-r);
	background: var(--gc-soft);
	font-size: 0.9375rem;
	line-height: 1.5;
}
.guide-about h2 { margin: 0 0 0.5rem; font-size: 1.125rem; }
.guide-about > :last-child { margin-bottom: 0; }
.guide-author { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 0.75rem; }
.guide-author-initial {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: var(--gc-r);
	background: var(--gc-ink);
	color: #fff;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1;
}

/* Bar that follows the scroll: same look as the product pages' fixed add to cart bar. Phones only
   until 05/11/2026, every screen size since (on a computer its content lines up with the header). */
.guide-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: var(--maleable-consent-offset, 0px);
	z-index: 45;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.625rem 0.5rem 0.625rem var(--m-gutter, 1rem);
	padding-bottom: calc(0.625rem + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--gc-line);
	background: #fff;
	color: var(--gc-ink);
	transform: translateY(100%);
	visibility: hidden;
	transition: transform 200ms ease-out, visibility 0s linear 200ms;
}
.guide-sticky.is-visible { transform: none; visibility: visible; transition: transform 200ms ease-out; }
body:has(dialog[open]) .guide-sticky { visibility: hidden; }
.guide-sticky__media { flex: 0 0 48px; height: 48px; overflow: hidden; border-radius: var(--gc-r); background: var(--gc-soft); }
.guide-sticky__media img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.guide-sticky__info { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; line-height: 1.3; }
.guide-sticky__title { overflow: hidden; font-size: 0.8125rem; text-overflow: ellipsis; white-space: nowrap; }
.guide-sticky__price { font-size: 0.875rem; font-weight: 700; white-space: nowrap; }
.guide-sticky__price del { display: none; }
.guide-sticky__price .maleable-compare { display: none; } /* Same rule for the theme's "Compare at" wrapper. */
.guide-sticky__price ins { text-decoration: none; }
.guide-sticky__button { flex: 0 0 auto; }
.guide-sticky[data-gc-start] { padding-right: var(--m-gutter, 1rem); } /* The set's bar has no close button. */
.guide-sticky__close {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--gc-muted);
	cursor: pointer;
}
.guide-sticky__close svg { width: 18px; height: 18px; fill: currentColor; }
@media (min-width: 768px) {
	/* Same edges as the header: the theme's wide container (--m-wide, 1280px) inside --m-gutter. */
	.guide-sticky {
		gap: 1rem;
		padding-top: 0.75rem;
		padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
		padding-left: max(var(--m-gutter, 2rem), calc((100% - var(--m-wide, 1280px)) / 2));
		padding-right: max(var(--m-gutter, 2rem), calc((100% - var(--m-wide, 1280px)) / 2));
	}
	.guide-sticky__media { flex: 0 0 56px; height: 56px; }
	.guide-sticky__title { font-size: 0.9375rem; font-weight: 600; }
	.guide-sticky__price { font-size: 0.9375rem; }
	.guide-sticky__button { min-width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
	.guide-sticky, .guide-sticky.is-visible { transition: none; }
}
/* On a phone a wide table scrolls inside itself, never the whole page. */
@media (max-width: 600px) {
	.entry-content > table { display: block; max-width: 100%; overflow-x: auto; }
	.entry-content > table > tbody { display: table; width: 100%; }
}
