/* Merch listing page (page-merch.php) and single (single-merch.php) */


#page {
	width: auto;
	margin-left: auto;
	margin-right: auto;
}

#pg-merch.page-container {
	overflow-x: inherit;
	margin-left: auto;
	margin-right: auto;
}

#pg-merch .merch-grid,
#single-merch .merch-grid {
	gap: 2.5%;
	row-gap: 50px;
}


#pg-merch .merch-card,
#single-merch .merch-card {
	text-decoration: none;
	color: #0f0f0f;
}

#pg-merch .merch-card .merch-card-img,
#single-merch .merch-card .merch-card-img {
	width: 100%;
	aspect-ratio: 4 / 4.8;
	overflow: hidden;
	background: #f3f3f3;
}

#pg-merch .merch-card .merch-card-img img,
#single-merch .merch-card .merch-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .35s ease;
}

#pg-merch .merch-card:hover .merch-card-img img,
#single-merch .merch-card:hover .merch-card-img img {
	transform: scale(1.02);
}

/* Steps section — swiper with connecting horizontal line through the circles */
#pg-merch .merch-steps-wrap {
	--merch-step-circle: 70px;
}

#pg-merch .swiper-container-merch-steps {
	position: relative;
	width: 100%;
	overflow: hidden;
}

#pg-merch .swiper-container-merch-steps .swiper-slide {
	position: relative;
	z-index: 2;
}

#pg-merch .swiper-container-merch-steps .swiper-slide::before {
	content: '';
	position: absolute;
	top: calc(var(--merch-step-circle) / 2);
	left: 0;
	right: 0;
	height: 1px;
	background: #0f0f0f;
	transform: translateY(-0.5px);
	z-index: 1;
	pointer-events: none;
}

#pg-merch .swiper-container-merch-steps .swiper-slide:last-child::before {
	right: calc(100% - var(--merch-step-circle) / 2);
}

#pg-merch .merch-step {
	height: auto;
	box-sizing: border-box;
	padding-right: 24px;
}

#pg-merch .merch-step .merch-step-number {
	width: var(--merch-step-circle);
	height: var(--merch-step-circle);
	border-radius: 50%;
	border: 1px solid #0f0f0f;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	line-height: 1;
	margin-bottom: 28px;
	z-index: 2;
}

#pg-merch .merch-step .merch-step-title {
	font-size: 18px;
	line-height: 1.2;
	margin-bottom: 10px;
}

#pg-merch .merch-step .merch-step-desc {
	font-size: 16px;
	line-height: 1.4;
}

@media (max-width: 768px) {
	#pg-merch .merch-steps-wrap {
		--merch-step-circle: 60px;
	}
	#pg-merch .merch-step .merch-step-number {
		font-size: 26px;
		margin-bottom: 20px;
	}
}

/* Techniques tabbed toggle (left rail + right panel) */
#pg-merch .merch-technique-tabs {
	gap: 14px;
}

#pg-merch .merch-technique-tab {
	display: block;
	color: #0f0f0f;
	text-decoration: none;
	cursor: pointer;
	transition: opacity .2s ease, font-weight .2s ease;
	opacity: .55;
}

#pg-merch .merch-technique-tab:hover,
#pg-merch .merch-technique-tab:focus {
	opacity: 1;
	outline: none;
}

#pg-merch .merch-technique-tab.is-active {
	opacity: 1;
	font-weight: bold;
}

#pg-merch .merch-technique-panel {
	display: none;
}

#pg-merch .merch-technique-panel.is-active {
	display: block;
}

@media (max-width: 768px) {
	#pg-merch .merch-technique-tabs {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 14px 20px;
	}
}

/* ---------- single-merch.php ---------- */

#single-merch .sm-brand {
	line-height: 1;
}

#single-merch .sm-mission-title {
	font-size: 20px;
	line-height: 1.3;
}

#single-merch .sm-mission-body {
	font-size: 20px;
	line-height: 1.3;
}

#single-merch .sm-mission-body p {
	font-size: 20px;
	line-height: 1.3;
}

#single-merch .sm-mission-body p:not(:last-child) {
	margin-bottom: 0.6em;
}

@media (max-width: 1100px) {
	#single-merch .sm-mission-title,
	#single-merch .sm-mission-body,
	#single-merch .sm-mission-body p {
		font-size: 18px;
	}
}

@media (max-width: 760px) {
	#single-merch .sm-mission-title,
	#single-merch .sm-mission-body,
	#single-merch .sm-mission-body p {
		font-size: 17px;
	}
}

#single-merch .sm-hero-image img {
	width: 100%;
	height: auto;
	display: block;
}

#single-merch .sm-products {
	gap: 2.5%;
	row-gap: 40px;
}

/* Featured composition: 2 small stacked on left + 1 big on right.
   Both columns stretch to the same height; the big image flex-grows so its
   bottom edge lines up with the bottom edge of the lower small image. */
#single-merch .sm-featured {
	gap: 2.5%;
	align-items: stretch;
}

#single-merch .sm-featured-col-small {
	gap: 30px;
}

#single-merch .sm-featured-col-small .sm-product {
	width: 100%;
	margin-bottom: 0;
}

#single-merch .sm-featured-col-small .sm-product .sm-product-img {
	aspect-ratio: 4 / 4.8;
}

#single-merch .sm-featured-col-big {
	display: flex;
	flex-direction: column;
}

#single-merch .sm-featured-col-big .sm-product {
	width: 100%;
	margin-bottom: 0;
	flex: 1;
	display: flex;
	flex-direction: column;
}

#single-merch .sm-featured-col-big .sm-product .sm-product-img {
	aspect-ratio: auto;
	flex: 1;
	min-height: 0;
}

#single-merch .sm-product {
	text-decoration: none;
	color: #0f0f0f;
}

#single-merch .sm-product .sm-product-img {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f3f3f3;
}

#single-merch .sm-product .sm-product-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

#single-merch .sm-product-name {
	font-size: 18px;
	line-height: 1.2;
}

#single-merch .sm-product-technique {
	font-size: 13px;
	line-height: 1.2;
}

#single-merch .sm-product-meta {
	color: #555;
	font-size: 14px;
}

@media (max-width: 1100px) {
	#single-merch .sm-product-name {
		font-size: 18px;
	}
	#single-merch .sm-product-technique {
		font-size: 13px;
	}
}

@media (max-width: 760px) {
	#single-merch .sm-product-name {
		font-size: 17px;
	}
	#single-merch .sm-product-technique {
		font-size: 13px;
	}
}

#single-merch .sm-bullets {
	list-style: none;
	padding: 0;
	margin: 0 0 0.6em;
	font-size: 1rem;
}

#single-merch .closing-approach {
	font-size: 24px;
}

#single-merch .sm-bullets li {
	position: relative;
	padding-left: 0.6em;
	margin-bottom: 0.25em;
	font-size: 18px;
}

#single-merch .sm-bullets li::before {
	content: "•";
	position: absolute;
	left: 0;
	top: 0;
}

#single-merch .sm-cta-btn {
	display: inline-block;
	background: #0f0f0f;
	color: #fff;
	padding: 14px 28px;
	font-weight: bold;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .2s ease;
	margin-right: auto;
}

#single-merch .sm-cta-btn:hover {
	background: #333;
}

#single-merch .sm-quote {
	line-height: 1.25;
}

@media (max-width: 768px) {
	#single-merch .fs-xl {
    font-size: 26px;
}

#single-merch .closing-approach {
	font-size: 18px;
}



	#pg-merch .merch-grid,
	#single-merch .merch-grid,
	#single-merch .sm-products {
		row-gap: 30px;
	}

	#single-merch .sm-cta-btn {
		display: block;
		text-align: center;
		margin-right: 0;
	}

	/* Stacked on mobile — give the big image a real aspect ratio again */
	#single-merch .sm-featured-col-big .sm-product .sm-product-img {
		aspect-ratio: 4 / 4.8;
		flex: initial;
	}
}

#single-merch .fs-xl {
    font-size: 48px;
    line-height: 1.2;
}


.merch-technique-container {
	padding: 110px 0 20px;
	background-color: #EEE;
	margin-bottom: 100px;
	position: relative;
}

#pg-merch .merch-card .fs-mdm {
	font-size: 18px;
}

.fs-merch-name {
	font-size: 18px;
}

.w-75 {
	width: 75%;
}

@media only screen and (max-width: 755px) {
	.w-75.mob-w-100 {
		width: 100%;
	}

	.merch-technique-tabs {
		justify-content: center;
	}
}

.merch-absolute-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 110%;
	margin-left: -5%;
	height: 100%;
	background-color: #EEE;
	z-index: -1;
}