

:root {
	--navy: #172a3f;
	--brown: #80634f;
	--muted: #6d625a;
	--paper: #f7f2e9;
	--paper-2: #fbf8f2;
	--blue-paper: #dce4ec;
	--line: #c9b7a4;
	--dot-line: #d7c9bb;
	--shadow: 0 16px 46px rgba(62, 45, 31, 0.08);
	--radius: 24px;
	--board-max: 1680px;
}

* {
	box-sizing: border-box;
}

html {
	background: transparent;
}

body {
	margin: 0;
	color: var(--navy);
	background: transparent;
}

img {
	display: block;
	max-width: 100%;
}

.product-board {
	position: relative;
	margin: 0 auto;
	overflow: hidden;
	background: transparent;
	box-shadow: none;
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	height: 168px;
	display: grid;
	place-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, .18);
	background: transparent;
}

.hero__fabric {
	position: absolute;
	inset: 0 auto auto 0;
	width: 535px;
	height: 168px;
	object-fit: cover;
	object-position: left top;
	z-index: -1;
}

.hero__title-wrap {
	text-align: center;
	transform: translateY(-2px);
}

.hero h1,
.panel h2,
.panel h3 {
	font-family: inherit;
	font-weight: 700;
}

.hero h1 {
	margin: 0;
	font-size: clamp(62px, 6vw, 88px);
	line-height: .92;
	letter-spacing: 0;
	color: inherit;
}

.hero__title-wrap>p {
	margin: 10px 0 0;
	font-size: 14px;
	letter-spacing: 0;
	color: inherit;
}

.hero__rule {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin: 9px auto 0;
	width: 288px;
}

.hero__rule span {
	flex: 1;
	height: 1px;
	background: #d0b58c;
}

.hero__rule i {
	width: 7px;
	height: 7px;
	border: 0;
	border-radius: 50%;
	background: #d0b58c;
}

.hero__decor {
	position: absolute;
	right: 64px;
	top: 30px;
	width: 370px;
	height: 76px;
	opacity: .24;
}

.hero__decor span {
	position: absolute;
	inset-inline: 0;
	height: 24px;
	border-top: 1px solid #9b745d;
	border-radius: 50%;
	transform: rotate(-4deg);
}

.hero__decor span:nth-child(2) {
	top: 18px;
	transform: rotate(2deg);
}

.hero__decor span:nth-child(3) {
	top: 37px;
	transform: rotate(-1deg);
}

/* ---------- Main 3-column structure ---------- */
.content-grid {
	display: grid;
	grid-template-columns: 30% 37.5% 32.5%;
	min-height: 658px;
}

.panel {
	position: relative;
	padding: 48px 42px 38px;
}

.panel--craft,
.panel--material {
	background: #f4ece6;
}

.panel--category {
	background: #3E3228;
	border-left: 1px dashed #b6a491;
	border-right: 1px dashed #b6a491;
	border-radius: 0;
}

.panel--category .section-heading h2,
.panel--category .product-card h3 {
	color: #f4ece6;
}

.panel--category .section-heading p {
	color: #d6bba3;
}

.panel--category .heading-line p::before,
.panel--category .heading-line p::after,
.panel--category .product-rule span {
	border-color: #9f8673;
	background: #9f8673;
}

.panel--category .product-rule i {
	background: #b99a7f;
}

/* ---------- Section headings ---------- */
.section-heading {
	display: block;
	margin-bottom: 28px;
	text-align: center;
}

.section-heading img {
	display: none;
}

.section-heading h2 {
	margin: 0;
	font-size: 40px;
	line-height: 1;
	letter-spacing: 0;
}

.section-heading p {
	margin: 8px 0 0;
	font-size: 20px;
	font-style: normal;
	color: #846856;
}

.section-heading--center {
	margin-top: -5px;
	margin-bottom: 24px;
}

.section-heading--left,
.section-heading--material {
	text-align: center;
}

.section-heading--center img,
.section-heading--left img,
.section-heading--material img {
	display: none;
}

.heading-line {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: 0;
	text-align: center;
	padding-top: 0;
	min-width: 0;
}

.heading-line>span {
	display: none;
}

.heading-line h2 {
	font-size: 38px;
}

.heading-line p {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
	font-size: 18px;
	white-space: nowrap;
}

.heading-line p::before,
.heading-line p::after {
	content: "";
	width: clamp(28px, 3vw, 52px);
	border-top: 1px solid #8b7c6c;
}

.section-heading--left .heading-line>span,
.section-heading--material .heading-line>span {
	width: clamp(28px, 3vw, 52px);
}

.section-heading--material {
	margin: 0 0 20px;
}

.section-heading--material h2 {
	font-size: 38px;
}

.section-heading--material p {
	font-size: 18px;
}

/* ---------- Craft ---------- */
.craft-row {
	display: grid;
	grid-template-columns: 196px 1fr;
	align-items: center;
	gap: 26px;
	margin: 10px 0 18px;
}

.round-photo {
	width: 152px;
	aspect-ratio: 1;
	border-radius: 50%;
	object-fit: cover;
	background: #f1ede6;
	border: 7px solid #fff;
	box-shadow: 0 1px 0 rgba(81, 60, 44, .18), 0 7px 18px rgba(57, 44, 32, .06);
}

.round-photo--large {
	width: 194px;
}

.craft-copy h3 {
	margin: 0 0 9px;
	font-size: 20px;
}

.craft-copy p,
.material-item p {
	margin: 0;
	color: #4f5358;
	font-size: 15px;
	line-height: 1.45;
}

.mini-rule {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-bottom: 13px;
	color: #7e6654;
}

.mini-rule span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #876e5c;
	font-size: 0;
}

.mini-rule i {
	width: 80px;
	height: 1px;
	background: #a88e77;
}

/* ---------- Category ---------- */
.category-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px 17px;
	padding: 0 10px;
}

@media (min-width: 981px) {
	.panel--craft {
		display: flex;
		flex-direction: column;
	}

	.panel--craft .section-heading {
		margin-bottom: 38px;
	}

	.panel--craft .craft-row {
		margin: 0;
	}

	.panel--craft .craft-row+.craft-row {
		margin-top: 72px;
	}

	.category-grid {
		margin-top: 52px;
		row-gap: 62px;
	}
}

.product-card {
	text-align: center;
}

.product-card .round-photo {
	margin: 0 auto;
}

.product-card h3 {
	margin: 9px 0 5px;
	font-size: 16px;
	line-height: 1.08;
}

.product-rule {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 78px;
	margin: 0 auto;
}

.product-rule span {
	width: 32px;
	height: 1px;
	background: #8e8174;
}

.product-rule i {
	width: 6px;
	height: 6px;
	margin: 0 3px;
	border-radius: 50%;
	background: #876e5c;
}

/* ---------- Material ---------- */
.material-list {
	max-width: 520px;
	margin: 0 auto;
}

.material-item {
	display: grid;
	grid-template-columns: 98px minmax(250px, 1fr);
	align-items: center;
	gap: 22px;
	min-height: 111px;
	border-bottom: 1px dashed var(--dot-line);
}

.material-item>img {
	justify-self: center;
	border-radius: 50%;
	width: 80px;
	height: 80px;
	object-fit: contain;
	border: 5px solid #fff;
	background: #f4efe7;
}

.material-item>div {
	min-width: 0;
}

.material-item h3 {
	margin: 0 0 7px;
	font-size: 24px;
	line-height: 1.04;
	white-space: nowrap;
}

.material-item p {
	max-width: 285px;
	line-height: 1.42;
}

.material-item--blend {
	position: relative;
	grid-template-columns: 98px minmax(250px, 1fr);
	gap: 22px;
	padding-top: 4px;
	border-bottom: 0;
}

.material-item--blend>img {
	width: 80px;
	height: 80px;
}

.blend-copy p {
	max-width: 285px;
	font-size: 13px;
}

.blend-cards {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	width: 100%;
	margin-left: 0;
}

.blend-card {
	display: grid;
	place-items: center;
	padding: 8px 10px;
	min-width: 0;
	background: rgba(255, 255, 255, .65);
	border: 1px solid rgba(183, 158, 139, .34);
	border-radius: 13px;
	box-shadow: 0 3px 10px rgba(64, 45, 30, .045);
}

.blend-card strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.08;
	text-align: center;
}

.blend-dot {
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #8b6f5b;
}

/* ---------- Footer ---------- */
.board-footer {
	display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
	.panel {
		padding-inline: 28px;
	}

	.craft-row {
		grid-template-columns: 160px 1fr;
		gap: 20px;
	}

	.round-photo--large {
		width: 160px;
	}

	.round-photo {
		width: 132px;
	}

	.material-item--blend {
		grid-template-columns: 94px 1fr;
	}

	.blend-cards {
		grid-column: 1 / -1;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 0 0 8px;
		margin-left: 0;
	}
}

@media (max-width: 980px) {
	.hero {
		height: 150px;
	}

	.hero__fabric {
		width: 390px;
		height: 150px;
	}

	.hero__decor {
		display: none;
	}

	.content-grid {
		grid-template-columns: 1fr;
	}

	.panel {
		padding: 42px clamp(22px, 6vw, 70px);
	}

	.panel--category {
		border: 0;
		border-top: 1px dashed #b6a491;
		border-bottom: 1px dashed #b6a491;
		border-radius: 0;
	}

	.craft-row {
		max-width: 610px;
		margin-inline: auto;
		grid-template-columns: 190px 1fr;
	}

	.round-photo--large {
		width: 184px;
	}

	.category-grid {
		max-width: 700px;
		margin-inline: auto;
	}

	.material-list {
		max-width: 650px;
	}
}

@media (max-width: 620px) {
	.hero {
		height: 180px;
		align-items: end;
		padding-bottom: 22px;
	}

	.hero__fabric {
		width: 100%;
		height: 180px;
		opacity: .28;
	}

	.hero h1 {
		font-size: 56px;
	}

	.hero__title-wrap>p {
		font-size: 11px;
		letter-spacing: 0;
	}

	.hero__rule {
		width: 220px;
	}

	.section-heading {
		justify-content: center;
		text-align: center;
	}

	.section-heading img {
		width: 70px;
		height: 70px;
	}

	.section-heading h2,
	.heading-line h2,
	.section-heading--material h2 {
		font-size: 34px;
	}

	.section-heading p,
	.heading-line p,
	.section-heading--material p {
		font-size: 16px;
		white-space: normal;
	}

	.heading-line>span {
		display: none;
	}

	.craft-row {
		grid-template-columns: 120px 1fr;
		gap: 17px;
	}

	.round-photo--large {
		width: 120px;
	}

	.craft-copy h3 {
		font-size: 18px;
	}

	.craft-copy p {
		font-size: 13px;
	}

	.category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 10px;
		padding: 0;
	}

	.round-photo {
		width: 124px;
	}

	.product-card h3 {
		font-size: 18px;
	}

	.material-item {
		grid-template-columns: 86px 1fr;
		min-height: 102px;
	}

	.material-item>img {
		width: 70px;
		height: 70px;
	}

	.material-item h3 {
		font-size: 23px;
	}

	.material-item p {
		font-size: 13px;
	}

	.material-item--blend {
		grid-template-columns: 86px 1fr;
	}

	.blend-cards {
		grid-template-columns: 1fr;
	}

	.board-footer p {
		font-size: 23px;
	}
}
