/* Product and guide directories. Global nav rules float every li and
   paint every li a white, so these overrides stay under .catalog. */
.catalog {
	max-width: var(--content-max);
	margin: 0 auto;
	padding: 36px 20px 64px;
	box-sizing: border-box;
	text-align: left;
	color: #28211d;
}

.catalog h1 {
	margin: 0 0 12px;
	font-size: 32px;
	line-height: 1.2;
}

.catalog-intro {
	margin: 0 0 12px;
	font-size: 20px;
	line-height: 1.45;
	color: #63666A;
}

.catalog-intro a {
	color: #2e7d32;
	padding: 0;
	text-align: left;
}

.catalog-intro a:hover {
	color: #1b5e20;
	background: transparent;
}

.catalog-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: auto;
	margin: 24px 0 0;
	padding: 0;
	overflow: visible;
	list-style: none;
}

.catalog-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
	float: none;
	width: 100%;
	box-sizing: border-box;
	position: relative;
	margin: 0;
	padding: 16px;
	border: 1px solid rgba(40, 33, 29, 0.15);
	border-radius: 8px;
	background: #fff;
}

.catalog-photo {
	flex: 0 0 180px;
	width: 180px;
	margin: 0;
}

.catalog-photo img {
	display: block;
	width: 100%;
	height: 135px;
	object-fit: cover;
	border-radius: 4px;
}

.catalog-copy {
	flex: 1 1 auto;
	min-width: 0;
}

.catalog-copy h2 {
	margin: 0 0 6px;
	font-size: 22px;
	line-height: 1.3;
}

.catalog-copy h2 a {
	color: #28211d;
	padding: 0;
	text-align: left;
	text-decoration: none;
}

.catalog-copy h2 a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.catalog-copy p {
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.45;
	color: #63666A;
}

.catalog-price {
	font-weight: 700;
	color: #28211d;
}

.catalog-button {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 44px;
	margin-top: 4px;
	padding: 12px 24px;
	border-radius: 8px;
	background: #4CAF50;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

.catalog-button:hover {
	background: #3d8b40;
	color: #fff;
}

@media only screen and (max-width: 700px) {
	.catalog-row {
		flex-direction: column;
		align-items: stretch;
	}

	.catalog-photo {
		flex-basis: auto;
		width: 100%;
	}

	.catalog-photo img {
		height: 200px;
	}
}
