.ant-catalog {
	--catalog-orange: #ff980b;
	--catalog-pink: #bd105b;
	--catalog-paper: #fdfdfd;
	background: var(--catalog-paper);
	color: #333;
	font: 500 clamp(16px, 1.15vw, 22px)/1.55 Quicksand, system-ui, sans-serif;
}

.ant-catalog__hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--catalog-orange);
	color: #fff;
}

.ant-catalog__hero::before,
.ant-catalog__hero::after {
	position: absolute;
	z-index: -1;
	inset: auto 0 -1px;
	height: clamp(40px, 4.2vw, 80px);
	background: var(--catalog-paper);
	mask: url("wave-brush.svg") center / 100% 100% no-repeat;
	transform: rotate(180deg);
	content: "";
}

.ant-catalog__hero::before {
	opacity: .48;
	transform: scaleY(-1);
}

.ant-catalog__hero h1 {
	margin: 0 0 .65em;
	color: inherit;
	font: 700 clamp(25px, 1.6vw, 32px)/1.25 Quicksand, system-ui, sans-serif;
}

.ant-catalog__hero--listing {
	min-height: 306px;
	padding: 76px 20px 108px;
	text-align: center;
}

.ant-catalog__hero--listing p {
	margin: 0;
}

.ant-catalog__search {
	width: min(calc(100% - 40px), 608px);
	margin: 50px auto 60px;
	text-align: center;
}

.ant-catalog__search label {
	display: block;
	margin-bottom: 18px;
	color: #a85600;
	font-size: clamp(18px, 1.3vw, 25px);
	font-weight: 700;
}

.ant-catalog__search-box {
	display: flex;
	min-height: 50px;
	border: 1px solid #666;
	border-radius: 4px;
}

.ant-catalog__search-box input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 7px 18px;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
}

.ant-catalog__search-box button {
	display: grid;
	width: 54px;
	place-items: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: #333;
	cursor: pointer;
}

.ant-catalog__search-box button:hover,
.ant-catalog__search-box button:focus {
	background: #eee;
	color: #333;
}

.ant-catalog__search-box button span {
	position: relative;
	width: 20px;
	height: 20px;
	border: 3px solid currentColor;
	border-radius: 50%;
}

.ant-catalog__search-box button span::after {
	position: absolute;
	top: 13px;
	left: 12px;
	width: 11px;
	height: 3px;
	border-radius: 3px;
	background: currentColor;
	transform: rotate(45deg);
	transform-origin: left center;
	content: "";
}

.ant-catalog__search--detail {
	position: relative;
	width: min(calc(100% - 40px), 660px);
	margin-bottom: 34px;
	text-align: start;
}

.ant-catalog__search--detail label {
	margin-bottom: 10px;
	color: #382100;
	font-size: clamp(18px, 2.3vw, 23px);
}

.ant-catalog__search--detail .ant-catalog__search-box {
	min-height: 56px;
	overflow: hidden;
	border-color: #e2cdb7;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 4px 18px #42220012;
}

.ant-catalog__search--detail .ant-catalog__search-box:focus-within {
	border-color: var(--catalog-pink);
	outline: 2px solid var(--catalog-pink);
	outline-offset: 2px;
}

.ant-catalog__search--detail input[type="search"] {
	font-size: 16px;
}

.ant-catalog__search--detail button {
	flex: 0 0 56px;
	background: var(--catalog-orange);
	color: #382100;
}

.ant-catalog__search--detail button:hover,
.ant-catalog__search--detail button:focus-visible {
	background: #ffb047;
}

.ant-catalog__suggestions {
	position: absolute;
	z-index: 5;
	inset-inline: 0;
	top: 100%;
	max-height: 265px;
	margin: 8px 0 0;
	padding: 6px;
	overflow: auto;
	border: 1px solid #e2cdb7;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 24px #42220020;
	font-size: 16px;
	list-style: none;
}

.ant-catalog__suggestions a {
	display: block;
	padding: 9px 12px;
	border-radius: 6px;
	color: #382100;
	overflow-wrap: anywhere;
	text-decoration: none;
}

.ant-catalog__suggestions a:hover,
.ant-catalog__suggestions a:focus-visible {
	background: #fff3e1;
	text-decoration: underline;
}

.ant-catalog__listing {
	width: min(90%, 1724px);
	margin: 0 auto;
	padding-bottom: 64px;
}

.ant-catalog__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 34px 25px;
}

.ant-catalog__card {
	overflow: hidden;
	border-radius: 20px;
	background: #f3f3f3;
}

.ant-catalog__card a {
	display: block;
	height: 100%;
	color: #555d66;
	text-decoration: none;
}

.ant-catalog__card a:focus-visible {
	outline-offset: -4px;
}

.ant-catalog__card a:hover {
	color: var(--catalog-pink);
}

.ant-catalog__card-image {
	overflow: hidden;
	aspect-ratio: 412 / 500;
	background: #ebebeb;
}

.ant-catalog__card-image img,
.ant-catalog__preview img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.ant-catalog__card-caption {
	padding: clamp(18px, 2.1vw, 41px) clamp(16px, 1.65vw, 31px) clamp(24px, 3.4vw, 65px);
}

.ant-catalog__card-caption h2 {
	display: -webkit-box;
	overflow: hidden;
	min-height: 2.5em;
	margin: 0;
	color: inherit;
	font: 700 clamp(16px, 1.17vw, 23px)/1.25 Quicksand, system-ui, sans-serif;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.ant-catalog__card-caption::after {
	display: block;
	height: 2px;
	margin-top: clamp(16px, 1.7vw, 33px);
	background: var(--catalog-pink);
	content: "";
}

.ant-catalog__empty,
.ant-catalog .pagination {
	text-align: center;
}

.ant-catalog .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
}

.ant-catalog .page-numbers {
	display: inline-block;
	min-width: 42px;
	padding: 6px 11px;
	border: 1px solid #e4e4e4;
	border-radius: 4px;
	color: #333;
	text-decoration: none;
}

.ant-catalog .page-numbers.current,
.ant-catalog a.page-numbers:hover {
	border-color: var(--catalog-pink);
	background: var(--catalog-pink);
	color: #fff;
}

.ant-catalog__container {
	width: min(90%, 1200px);
	margin-inline: auto;
}

.ant-catalog__hero--detail {
	padding: clamp(34px, 3.85vw, 74px) 0 clamp(70px, 6.2vw, 119px);
}

.ant-catalog__intro,
.ant-catalog__details {
	display: grid;
	align-items: start;
	gap: 30px;
}

.ant-catalog__intro--with-image {
	grid-template-columns: minmax(0, 1.33fr) minmax(0, 1fr);
}

.ant-catalog__preview {
	overflow: hidden;
	aspect-ratio: 620 / 952;
}

.ant-catalog__code strong + strong {
	margin-left: 1em;
}

.ant-catalog__intro h2,
.ant-catalog__categories h2 {
	margin: 1em 0 .75em;
	color: inherit;
	font: 700 clamp(19px, 1.3vw, 25px)/1.3 Quicksand, system-ui, sans-serif;
}

.ant-catalog__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px clamp(18px, 4.1vw, 80px);
	margin-top: clamp(24px, 3vw, 56px);
}

.ant-catalog__actions a {
	padding: .45em 1.15em;
	border-radius: 4px;
	background: var(--catalog-pink);
	box-shadow: 0 2px 12px #823c5166;
	color: #fff;
	font-size: clamp(15px, 1.3vw, 25px);
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

.ant-catalog__actions a:hover,
.ant-catalog__actions a:focus-visible {
	background: #990d49;
	color: #fff;
}

.ant-catalog__details {
	grid-template-columns: minmax(0, 1fr) minmax(0, 26%);
	padding: 28px 0 64px;
}

.ant-catalog__content {
	min-width: 0;
	overflow-wrap: anywhere;
}

.ant-catalog__content > :first-child {
	margin-top: 0;
}

.ant-catalog__content img,
.ant-catalog__content iframe {
	max-width: 100%;
}

.ant-catalog__categories {
	padding: 24px 19px 30px;
	border-radius: 7px;
	background: var(--catalog-orange);
	color: #382100;
}

.ant-catalog__categories h2 {
	margin: 0 0 12px;
	padding-bottom: 12px;
	border-bottom: 2px solid currentColor;
}

.ant-catalog__categories ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ant-catalog__categories li + li {
	margin-top: .65em;
}

.ant-catalog__categories a {
	color: inherit;
	text-decoration: none;
}

.ant-catalog__categories a::before {
	margin-right: .35em;
	content: "›";
}

.ant-catalog__categories a:hover,
.ant-catalog__categories a:focus-visible {
	text-decoration: underline;
}

@media (max-width: 1050px) {
	.ant-catalog__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.ant-catalog__hero--listing {
		min-height: 0;
		padding-top: 52px;
		padding-bottom: 75px;
	}

	.ant-catalog__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px 14px;
	}

	.ant-catalog__intro--with-image,
	.ant-catalog__details {
		grid-template-columns: minmax(0, 1fr);
	}

	.ant-catalog__preview {
		max-height: 650px;
	}

	.ant-catalog__search {
		margin-block: 34px;
	}
}
