/* Animal filter buttons */
.amg-animal-filter {
	display: flex;
	gap: 8px;
	margin: 0 0 20px;
	flex-wrap: wrap;
}
.amg-animal-filter__btn {
	padding: 8px 20px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	font-size: 14px;
	font-weight: 500;
	color: #374151;
	cursor: pointer;
	transition: all 0.15s;
}
.amg-animal-filter__btn:hover {
	border-color: #f59e0b;
	color: #f59e0b;
}
.amg-animal-filter__btn.active {
	background: #f59e0b;
	border-color: #f59e0b;
	color: #fff;
}
/* Brand subcategory tiles — auto-pulled product image per bucket */
.amg-brand-subcats {
	margin: 0 0 24px;
}
.amg-brand-subcats__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.amg-brand-subcats__item {
	margin: 0;
	padding: 0;
	list-style: none;
}
.amg-brand-subcat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 14px 10px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	text-decoration: none;
	color: #1f2937;
	transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.amg-brand-subcat:hover {
	border-color: #f59e0b;
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(245, 158, 11, 0.12);
	color: #1f2937;
	text-decoration: none;
}
.amg-brand-subcat__img {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: #fff7ed;
	box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.1);
	overflow: hidden;
}
.amg-brand-subcat__img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 10px;
	mix-blend-mode: multiply;
}
.amg-brand-subcat__label {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	color: #1f2937;
}
.amg-brand-subcat__species {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	font-weight: 400;
	color: #6b7280;
}
@media (max-width: 600px) {
	.amg-brand-subcats__list {
		grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
		gap: 8px;
	}
	.amg-brand-subcat {
		padding: 10px 6px 10px;
	}
	.amg-brand-subcat__img {
		width: 72px;
		height: 72px;
	}
	.amg-brand-subcat__label {
		font-size: 13px;
	}
	.amg-brand-subcat__species {
		font-size: 11.5px;
	}
}
/* Brand SEO block — article-style layout, full-width prose */
.amg-brand-seo-block {
	margin: 48px 0 24px;
	padding: 36px 40px 40px;
	background: #fafafa;
	border-radius: 12px;
	border: 1px solid #eceff2;
}
.amg-brand-seo-image {
	float: right;
	width: 140px;
	margin: 0 0 16px 24px;
}
.amg-brand-seo-image img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	object-fit: contain;
}
.amg-brand-seo-text {
	/* Fill the block width; readability comes from the parent block padding
	   (36px 40px) + floated brand image pushing first paragraphs to ~1140px.
	   Previous 780px cap left a big empty gutter on desktop. */
	max-width: none;
}
.amg-brand-seo-text h2 {
	margin: 36px 0 12px;
	font-size: 20px;
	line-height: 1.35;
	font-weight: 600;
	color: #1f2937;
	letter-spacing: -0.005em;
}
.amg-brand-seo-text h2:first-child {
	margin-top: 0;
	font-size: 24px;
	line-height: 1.25;
}
.amg-brand-seo-text h3 {
	margin: 22px 0 8px;
	font-size: 16px;
	line-height: 1.4;
	font-weight: 600;
	color: #374151;
}
.amg-brand-seo-text p {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.65;
	color: #374151;
}
.amg-brand-seo-text ul {
	margin: 8px 0 18px;
	padding-left: 22px;
}
.amg-brand-seo-text ul li {
	margin-bottom: 8px;
	font-size: 15px;
	line-height: 1.6;
	color: #374151;
}
.amg-brand-seo-text ul li strong {
	color: #111827;
}
/* FAQ cards — visually distinct Q/A blocks */
.amg-brand-seo-text .amg-faq {
	margin-top: 16px;
}
.amg-brand-seo-text .amg-faq h3 {
	margin: 10px 0 0;
	padding: 14px 18px 6px;
	background: #fffbeb;
	border-left: 3px solid #f59e0b;
	border-radius: 6px 6px 0 0;
	font-size: 15.5px;
	line-height: 1.4;
	font-weight: 600;
	color: #1f2937;
	position: relative;
	padding-left: 44px;
}
.amg-brand-seo-text .amg-faq h3:first-child {
	margin-top: 0;
}
.amg-brand-seo-text .amg-faq h3::before {
	content: "?";
	position: absolute;
	left: 14px;
	top: 13px;
	width: 22px;
	height: 22px;
	background: #f59e0b;
	color: #fff;
	border-radius: 50%;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}
.amg-brand-seo-text .amg-faq h3 + p {
	margin: 0 0 0;
	padding: 0 18px 16px 44px;
	background: #fffbeb;
	border-left: 3px solid #f59e0b;
	border-radius: 0 0 6px 6px;
	font-size: 14.5px;
	line-height: 1.65;
	color: #4b5563;
}
@media (max-width: 768px) {
	.amg-brand-seo-text .amg-faq h3 {
		padding-left: 40px;
		font-size: 14.5px;
	}
	.amg-brand-seo-text .amg-faq h3::before {
		left: 12px;
		width: 20px;
		height: 20px;
		font-size: 12px;
	}
	.amg-brand-seo-text .amg-faq h3 + p {
		padding-left: 40px;
		font-size: 14px;
	}
}
@media (max-width: 768px) {
	.amg-brand-seo-block {
		padding: 24px 20px 28px;
		margin: 32px 0 16px;
	}
	.amg-brand-seo-image {
		float: none;
		width: 110px;
		margin: 0 0 16px;
	}
	.amg-brand-seo-text h2 {
		font-size: 17px;
	}
	.amg-brand-seo-text h2:first-child {
		font-size: 21px;
	}
	.amg-brand-seo-text p,
	.amg-brand-seo-text ul li {
		font-size: 14.5px;
	}
	.amg-brand-seo-text summary {
		font-size: 14.5px;
		padding: 12px 16px 12px 16px;
		padding-right: 38px;
	}
}
