/* Extra tjänster (metall/mugg/t-shirt) — заготовка страницы, 2026-09-02.
   Раздел клиентской галереи (мотокросс) сознательно одноязычный (sv),
   см. CLAUDE.md раздел 14. */

#merch-intro {
	/* Было width:100% — секция шла во всю ширину экрана без отступов от
	   края на мобильном (тот же баг, что чинили на clients_gallery.php,
	   см. CLAUDE.md раздел 14). Без width:100% секция получает тот же
	   отступ, что и обычная секция сайта (main.css: section{width:95%}).
	   max-width был 900px (произвольный выбор для "уютной" ширины текста
	   на момент первой сборки заготовки) — на широких экранах это делало
	   страницу заметно уже шапки/меню сайта (1200px). Приведено к тому
	   же 1200px, что и везде на сайте — единообразие важнее компактного
	   чтения, тем более что контент — карточки в сетку, не сплошной текст. */
	padding-top: 30px;
	max-width: 1200px;
	margin: 0 auto;
}

.merch-back {
	display: inline-block;
	font-family: 'Roboto', sans-serif;
	font-size: 13px;
	color: #8a7157;
	text-decoration: none;
	margin: 0 0 16px;
}
.merch-back:hover { color: #4B1E00; }

.merch-hero {
	position: relative;
	background: #fff;
	border: 1px solid rgba(75,30,0,.14);
	border-radius: 4px;
	padding: 28px 28px 24px;
}
.merch-badge {
	display: inline-block;
	background: rgba(75,30,0,.08);
	color: #4B1E00;
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	font-size: 10.5px;
	letter-spacing: .05em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 3px;
	margin: 0 0 12px;
}
.merch-hero h1 {
	font-family: 'PT Serif Caption', serif;
	font-size: 26px;
	line-height: 1.15;
	margin: 0 0 12px;
	color: #2b2016;
	font-weight: 700;
	text-align: left;
	text-shadow: none;
	width: auto;
}
.merch-lede {
	margin: 0;
	color: #8a7157;
	font-size: 15px;
	line-height: 1.6;
	max-width: 60ch;
}

/* ---- продукты ---- */
.merch-products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin: 18px 0 0;
}
@media screen and (max-width: 720px) {
	.merch-products { grid-template-columns: 1fr; }
}
.merch-product {
	background: #fff;
	border: 1px solid rgba(75,30,0,.14);
	border-radius: 4px;
	padding: 20px 18px;
	text-align: center;
}
.merch-product-ic {
	width: 44px;
	height: 44px;
	margin: 0 auto 10px;
	border-radius: 50%;
	background: rgba(75,30,0,.07);
	color: #4B1E00;
	display: flex;
	align-items: center;
	justify-content: center;
}
.merch-product-ic svg { width: 22px; height: 22px; }
.merch-product h3 {
	font-family: 'PT Serif Caption', serif;
	font-size: 16px;
	color: #2b2016;
	margin: 0 0 6px;
	font-weight: 700;
}
.merch-product p {
	font-family: 'Roboto', sans-serif;
	font-size: 12.5px;
	color: #8a7157;
	line-height: 1.5;
	margin: 0 0 10px;
}
.merch-price {
	display: inline-block;
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: #4B1E00;
	background: rgba(75,30,0,.07);
	padding: 5px 10px;
	border-radius: 3px;
}

/* ---- галерея-заготовка (пусто, пока нет реальных фото/видео) ---- */
.merch-gallery { margin: 30px 0 0; }
.merch-gallery h3 {
	font-family: 'PT Serif Caption', serif;
	font-size: 19px;
	color: #2b2016;
	margin: 0 0 12px;
	font-weight: 700;
	text-align: left;
}
.merch-gallery-empty {
	border: 1px dashed rgba(75,30,0,.25);
	border-radius: 4px;
	padding: 30px 20px;
	text-align: center;
	font-family: 'Roboto', sans-serif;
	font-size: 13px;
	color: #8a7157;
	background: #faf7f2;
}
.merch-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
}
.merch-gallery-item {
	border: 1px solid rgba(75,30,0,.14);
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
	aspect-ratio: 1 / 1;
}
.merch-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ---- CTA внизу ---- */
.merch-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	background: #4B1E00;
	color: #fff;
	border-radius: 4px;
	padding: 22px 26px;
	margin: 24px 0 40px;
}
.merch-cta-text b {
	font-family: 'PT Serif Caption', serif;
	font-size: 16px;
	display: block;
	margin-bottom: 3px;
}
.merch-cta-text span {
	font-family: 'Roboto', sans-serif;
	font-size: 13px;
	color: rgba(255,255,255,.78);
}
.merch-cta-btn {
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: #4B1E00;
	background: #fff;
	border: 1px solid #fff;
	padding: 11px 20px;
	text-decoration: none;
	white-space: nowrap;
}
.merch-cta-btn:hover { background: transparent; color: #fff; }
