/* Product cards. The drawn box, slider and Buy button come from the theme
   (.rhr-products); this adds the brand and price and the other placements. */

.rhr-pc__brand {
	margin: 0.2em 0 -0.15em;
	font-size: 0.6em;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.72;
}

.rhr-pc .rhr-pc__prices {
	justify-content: center;
	margin: 0.1em 0 0;
	font-size: 0.95em;
}

/* Centred between paragraphs. */
.rhr-pc--center {
	float: none;
	clear: both;
	margin: 1.2em auto;
	shape-outside: none;
}

/* Across the text: up to three products side by side. */
.rhr-pc--wide {
	float: none;
	clear: both;
	width: 100%;
	margin: 1.2em 0;
	shape-outside: none;
}

.rhr-products.rhr-pc--wide .rhr-product {
	flex: 0 0 calc(100% / 3);
	padding: 0 0.6em;
	box-sizing: border-box;
}

.rhr-products.rhr-pc--wide:not([data-rhr-slider]) .rhr-product {
	flex-basis: 100%;
	max-width: 22em;
	margin: 0 auto;
}

@media (max-width: 900px) {
	.rhr-pc--wide {
		width: min(100%, 300px);
		margin: 0 auto 1em;
	}

	.rhr-products.rhr-pc--wide .rhr-product {
		flex-basis: 100%;
		padding: 0;
	}
}

/* Without the Real Human Reviews theme: a plain, tidy card. */
body:not([class*="rhr-ctx-"]) .rhr-pc {
	box-sizing: border-box;
	max-width: 320px;
	padding: 1em;
	border: 2px solid currentColor;
	border-radius: 6px 14px 8px 12px;
	text-align: center;
}

body:not([class*="rhr-ctx-"]) .rhr-pc--side {
	float: right;
	margin: 0 0 1em 1.2em;
}

body:not([class*="rhr-ctx-"]) .rhr-pc--center {
	margin: 1.2em auto;
}

body:not([class*="rhr-ctx-"]) .rhr-pc--wide {
	max-width: none;
}

body:not([class*="rhr-ctx-"]) .rhr-pc .rhr-slider__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
}

body:not([class*="rhr-ctx-"]) .rhr-pc .rhr-slider__item {
	flex: 0 0 100%;
	scroll-snap-align: start;
}

body:not([class*="rhr-ctx-"]) .rhr-pc .rhr-slider__arrow {
	display: none;
}

body:not([class*="rhr-ctx-"]) .rhr-pc .rhr-product__image img {
	display: block;
	width: 100%;
	height: auto;
}

.rhr-pc__buy-text {
	display: inline-block;
	padding: 0.35em 1.4em;
	border: 2px solid currentColor;
	border-radius: 999px;
	background: #85bb65;
	color: #111;
	font-weight: 700;
	text-transform: uppercase;
}

/* Several shops without the Real Human Reviews theme. */
body:not([class*="rhr-ctx-"]) .rhr-shops {
	margin: 0.4em 0 0;
	padding: 0;
	list-style: none;
}

body:not([class*="rhr-ctx-"]) .rhr-shop__link {
	display: flex;
	align-items: center;
	gap: 0.5em;
	margin-top: 0.3em;
	text-decoration: none;
}

body:not([class*="rhr-ctx-"]) .rhr-shop__name {
	flex: 1 1 auto;
	text-align: left;
}

body:not([class*="rhr-ctx-"]) .rhr-shop .rhr-pc__buy-text {
	padding: 0.2em 0.9em;
	font-size: 0.85em;
}

/* A used, renewed or open-box row among the shops. */
.rhr-shop__note {
	display: inline-block;
	margin-left: 0.25em;
	padding: 0 0.3em;
	border: 1px solid currentColor;
	border-radius: 0.6em 0.3em 0.7em 0.35em;
	font-size: 0.78em;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	opacity: 0.75;
	white-space: nowrap;
}

/* The line about real people under the first card on a page. */
.rhr-pc__people {
	margin: 0.6em 0.4em 0.1em;
	font-size: 0.68em;
	line-height: 1.35;
	text-align: center;
	opacity: 0.8;
}

/* Under a deal: the verdict from its review. */
.rhr-deal-verdict {
	margin: 0.3em 0.4em 0;
	font-size: 0.72em;
	line-height: 1.15;
	text-align: center;
}

.rhr-deal-verdict a {
	color: inherit;
	text-decoration: none;
}

.rhr-deal-verdict a:hover,
.rhr-deal-verdict a:focus-visible {
	color: var(--ink-blue, #2ca9e1);
	text-decoration: underline;
}

/* "Check used prices": a small handwritten link under a card or deal. */
.rhr-used-check {
	margin: 0.35em 0 0;
	text-align: center;
	line-height: 1.1;
}

.rhr-used-check__button {
	padding: 0.1em 0.2em;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-size: 0.68em;
	text-transform: uppercase;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.2em;
	cursor: pointer;
}

.rhr-used-check__button:hover,
.rhr-used-check__button:focus-visible {
	color: var(--ink-blue, #2ca9e1);
}

.rhr-deal-grid__item .rhr-used-check {
	margin-top: 0.15em;
}

/* The box. */
.rhr-used {
	box-sizing: border-box;
	width: min(34rem, calc(100vw - 32px));
	max-height: calc(100vh - 48px);
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ink, #0a0c12);
	overflow: visible;
}

.rhr-used::backdrop {
	background: rgba(10, 12, 18, 0.45);
}

.rhr-used__sheet {
	position: relative;
	box-sizing: border-box;
	max-height: calc(100vh - 48px);
	padding: 1.1rem 1.25rem 1.2rem;
	border: 3px solid currentColor;
	border-radius: 255px 14px 225px 14px / 14px 225px 14px 255px;
	background: var(--paper-bg, #fffdf6);
	font-family: var(--hand, inherit);
	font-size: 1.25rem;
	overflow-y: auto;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.rhr-used__close {
	position: absolute;
	top: 0.35rem;
	right: 0.55rem;
	width: 2.2rem;
	height: 2.2rem;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-size: 1.8rem;
	line-height: 1;
	cursor: pointer;
}

.rhr-used__close:hover,
.rhr-used__close:focus-visible {
	color: var(--ink-blue, #2ca9e1);
}

.rhr-used__kicker {
	margin: 0;
	font-size: 0.7em;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.72;
}

.rhr-used__title {
	margin: 0.05em 2rem 0.4em 0;
	font-size: 1.35em;
	line-height: 1.1;
	text-transform: uppercase;
}

.rhr-used__section:not([hidden]) ~ .rhr-used__section {
	margin-top: 0.9em;
	padding-top: 0.7em;
	border-top: 2px solid currentColor;
}

.rhr-used__heading {
	margin: 0 0 0.3em;
	font-size: 0.95em;
	text-transform: uppercase;
}

.rhr-used__group + .rhr-used__group {
	margin-top: 0.7em;
}

.rhr-used__group-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0 0.6em;
	margin: 0;
	font-size: 0.85em;
	text-transform: uppercase;
}

.rhr-used__from {
	font-size: 1.05em;
	white-space: nowrap;
}

.rhr-used__note,
.rhr-used__loading,
.rhr-used__hint {
	margin: 0.1em 0 0;
	font-size: 0.68em;
}

.rhr-used__items {
	margin: 0.35em 0 0;
	padding: 0;
	list-style: none;
}

.rhr-used__item + .rhr-used__item {
	margin-top: 0.3em;
}

.rhr-used__item-link {
	display: flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.25em 0.4em;
	border: 1.5px solid currentColor;
	border-radius: 12px 4px 10px 5px;
	background: var(--field-soft, rgba(255, 253, 246, 0.85));
	color: inherit;
	text-decoration: none;
}

.rhr-used__item-link:hover,
.rhr-used__item-link:focus-visible {
	border-color: var(--ink-blue, #2ca9e1);
	color: var(--ink-blue, #2ca9e1);
}

.rhr-used__thumb {
	flex: 0 0 auto;
	width: 2.4em;
	height: 2.4em;
	border-radius: 4px;
	background: #fff;
	object-fit: contain;
}

.rhr-used__item-text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	font-family: Georgia, "Times New Roman", serif;
	-webkit-text-stroke: 0;
}

.rhr-used__item-title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 0.62em;
	line-height: 1.3;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.rhr-used__item-meta {
	font-size: 0.55em;
	opacity: 0.75;
}

.rhr-used__item-price {
	flex: 0 0 auto;
	font-size: 0.9em;
}

.rhr-used__more,
.rhr-used__plain {
	margin: 0.3em 0 0;
	font-size: 0.75em;
}

.rhr-used__more {
	text-align: right;
}

.rhr-used__more a,
.rhr-used__plain a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.18em;
}

.rhr-used__more a:hover,
.rhr-used__plain a:hover,
.rhr-used__more a:focus-visible,
.rhr-used__plain a:focus-visible {
	color: var(--ink-blue, #2ca9e1);
}

.rhr-used__checked {
	margin: 0.6em 0 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.55em;
	opacity: 0.7;
	-webkit-text-stroke: 0;
}

.rhr-used__fb {
	margin: 0 0 0.45em;
}

.rhr-used__cl {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.3em 0.6em;
}

.rhr-used__cl .rhr-used__hint {
	flex-basis: 100%;
}

.rhr-used__button {
	display: inline-block;
	padding: 0.15em 0.8em 0.2em;
	border: 2.5px solid currentColor;
	border-radius: 15px 225px 15px 255px / 255px 15px 225px 15px;
	color: inherit;
	font-size: 0.75em;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.12s ease, transform 0.15s ease;
}

.rhr-used__button:hover,
.rhr-used__button:focus-visible {
	color: var(--ink-blue, #2ca9e1);
	transform: rotate(-1deg);
}

.rhr-used__area {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	font-size: 0.75em;
	text-transform: uppercase;
}

.rhr-used__area-select {
	max-width: 13em;
	padding: 0.2em 0.4em;
	border: 2px solid currentColor;
	border-radius: 255px 12px 225px 12px / 12px 225px 12px 255px;
	background: var(--field, #fffdf6);
	color: inherit;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px; /* Phones zoom in on anything smaller. */
	-webkit-text-stroke: 0;
}

@media (max-width: 600px) {
	.rhr-used__sheet {
		padding: 0.9rem 0.9rem 1rem;
		font-size: 1.1rem;
	}
}

/* Amazon Renewed and Best Buy open-box rows. */
.rhr-used__shop-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rhr-used__shop + .rhr-used__shop {
	margin-top: 0.3em;
}

.rhr-used__shop-link {
	display: flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.3em 0.6em;
	border: 1.5px solid currentColor;
	border-radius: 12px 4px 10px 5px;
	background: var(--field-soft, rgba(255, 253, 246, 0.85));
	color: inherit;
	text-decoration: none;
}

.rhr-used__shop-link:hover,
.rhr-used__shop-link:focus-visible {
	border-color: var(--ink-blue, #2ca9e1);
	color: var(--ink-blue, #2ca9e1);
}

.rhr-used__shop-text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
}

.rhr-used__shop-name {
	font-size: 0.8em;
	text-transform: uppercase;
}

.rhr-used__shop-note {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.55em;
	opacity: 0.75;
	-webkit-text-stroke: 0;
}

.rhr-used__shop-price {
	flex: 0 0 auto;
	font-size: 0.9em;
	white-space: nowrap;
}
