/* Sakyo — product showcase promo_side (background + HTML overlay). */

.vn-brand-sakyo .vn-product-showcase--promo-side {
	--vn-showcase-gap: 18px;
	--vn-showcase-header-height: 54px;
	--vn-showcase-toolbar-gap: 16px;
	--vn-layout-gap: 24px;
	--vn-product-card-height: 340px;
	--vn-product-grid-height: calc(var(--vn-product-card-height) * 2 + var(--vn-showcase-gap));
	--vn-showcase-main-height: calc(var(--vn-showcase-header-height) + var(--vn-showcase-toolbar-gap) + var(--vn-product-grid-height));
	--vn-promo-heading-color: #ffffff;
	--vn-promo-accent-color: #e53935;
	--vn-promo-lime: #8dc63f;
	padding-block: clamp(2.5rem, 4vw, 4rem);
}

/* Two-column layout — banner height locked to main column only */
.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--vn-layout-gap);
	align-items: start;
}

.vn-brand-sakyo .vn-product-showcase--promo-side:not(.vn-product-showcase--no-promo) .vn-product-showcase__layout {
	grid-template-columns: minmax(260px, 29.5fr) minmax(0, 70.5fr);
}

.vn-brand-sakyo .vn-product-showcase--promo-side:not(.vn-product-showcase--no-promo)[data-promo-position="right"] .vn-product-showcase__layout {
	grid-template-columns: minmax(0, 70.5fr) minmax(260px, 29.5fr);
}

.vn-brand-sakyo .vn-product-showcase--promo-side:not(.vn-product-showcase--no-promo)[data-promo-position="right"] .vn-product-showcase__promo {
	order: 2;
}

/* Promo column — equals header + grid, not footer */
.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__promo {
	display: block;
	min-width: 0;
	height: var(--vn-showcase-main-height);
	max-height: var(--vn-showcase-main-height);
	overflow: hidden;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__promo[data-promo-layout="stacked"] {
	display: grid;
	grid-template-rows: minmax(0, 1.8fr) minmax(0, 1fr);
	gap: var(--vn-showcase-gap);
	height: var(--vn-showcase-main-height);
	max-height: var(--vn-showcase-main-height);
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-promo-card-wrap {
	height: 100%;
	min-height: 0;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-promo-card {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	overflow: hidden;
	border-radius: 12px;
	color: inherit;
	text-decoration: none;
	background: #f3f4f2;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-promo-card__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	margin: 0;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-promo-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--vn-promo-object-position, center center);
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-promo-card__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: var(--vn-promo-overlay, transparent);
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-promo-card__overlay--clear {
	background: transparent;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-promo-card__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: var(--vn-promo-vertical-align, center);
	align-items: var(--vn-promo-horizontal-align, flex-start);
	width: min(78%, 360px);
	max-width: 360px;
	height: 100%;
	padding: var(--vn-promo-padding-y, 40px) var(--vn-promo-padding-x, 36px);
	color: var(--vn-promo-text-color, var(--vn-promo-heading-color));
	text-align: var(--vn-promo-text-align, left);
	box-sizing: border-box;
	transform: translateY(-6%);
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-promo-card__eyebrow {
	display: block;
	margin: 0 0 0.5rem;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	line-height: 1.3;
	color: #ffffff;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-promo-card__heading {
	margin: 0 0 0.65rem;
	font-size: clamp(1.35rem, 2.2vw, 2rem);
	line-height: 1.2;
	font-weight: 700;
	font-family: inherit;
	color: #ffffff;
	hanging-punctuation: first last;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-promo-card__description {
	margin: 0;
	font-size: clamp(0.95rem, 1.4vw, 1.15rem);
	font-weight: 700;
	color: #e53935;
	line-height: 1.3;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-promo-card__button {
	display: inline-block;
	margin-top: 1rem;
	padding: 0.45rem 1.1rem;
	border: 1px solid #ffffff;
	border-radius: 999px;
	background: transparent;
	color: #ffffff;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-promo-card:hover .vn-product-promo-card__button,
.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-promo-card:focus-within .vn-product-promo-card__button {
	background: var(--vn-promo-lime, #8dc63f);
	border-color: var(--vn-promo-lime, #8dc63f);
	color: #ffffff;
}

/* Product content column */
.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__content {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 0;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__main {
	display: flex;
	flex-direction: column;
	height: var(--vn-showcase-main-height);
	min-height: var(--vn-showcase-main-height);
	max-height: var(--vn-showcase-main-height);
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
	flex: 0 0 var(--vn-showcase-header-height);
	min-height: var(--vn-showcase-header-height);
	margin: 0 0 var(--vn-showcase-toolbar-gap);
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__header {
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
	text-align: left;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__header .vn-section__title {
	margin: 0;
	font-size: clamp(1rem, 1.8vw, 1.35rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #1a361a;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__tabs.vn-filter-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 0.5rem;
	flex: 0 1 auto;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__tabs .vn-filter-btn {
	padding: 0.45rem 1rem;
	border: none;
	border-radius: 999px;
	background: transparent;
	color: #666;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	line-height: 1.2;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__tabs .vn-filter-btn:hover,
.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__tabs .vn-filter-btn.is-active {
	background: var(--vn-sakyo-accent, #1b5e20);
	color: #fff;
	box-shadow: none;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__tabs .vn-filter-btn .vn-filter-count {
	color: inherit;
	opacity: 0.92;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid-wrap {
	position: relative;
	flex: 1 1 auto;
	height: var(--vn-product-grid-height);
	min-height: var(--vn-product-grid-height);
	max-height: var(--vn-product-grid-height);
	overflow: hidden;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: repeat(var(--vn-ps-cols-desktop, 3), minmax(0, 1fr));
	grid-template-rows: repeat(var(--vn-ps-rows-desktop, 2), var(--vn-product-card-height));
	gap: var(--vn-showcase-gap);
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid .vn-product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	border: 1px solid #ececec;
	border-radius: 10px;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
	background: #fff;
	overflow: hidden;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid .vn-product-card__img-wrap {
	position: relative;
	flex: 0 0 58%;
	min-height: 0;
	max-height: 58%;
	background: #f5f5f5;
	overflow: hidden;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid .vn-product-card__img,
.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid .vn-product-card__img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid .vn-product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
	padding: 10px 10px 12px;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid .vn-product-card__badges {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid .vn-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	min-height: 32px;
	padding: 0 5px;
	border-radius: 50%;
	font-size: 9px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid .vn-badge--sale {
	background: #e53935;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid .vn-badge--new {
	display: none;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid .vn-product-card__wish {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid .vn-product-card__rating,
.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid .vn-product-rating-summary {
	margin-bottom: 4px;
	font-size: 11px;
	flex-shrink: 0;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid .vn-product-card__title {
	font-size: 12px;
	line-height: 1.4;
	margin: 0 0 6px;
	min-height: 2.6em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex-shrink: 0;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid .vn-product-card__price {
	display: flex;
	align-items: baseline;
	flex-wrap: nowrap;
	gap: 8px;
	margin-top: auto;
	padding-top: 2px;
	flex-shrink: 0;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid .vn-price-sale {
	font-size: 14px;
	font-weight: 700;
	color: #e53935;
	white-space: nowrap;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid .vn-price-regular {
	font-size: 12px;
	color: #999;
	text-decoration: line-through;
	white-space: nowrap;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid .vn-price-off {
	font-size: 12px;
	color: #999;
	white-space: nowrap;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid .vn-price-only {
	font-size: 14px;
	font-weight: 700;
	color: #111;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid .vn-price-contact {
	font-size: 12px;
	color: #666;
}

/* Footer — outside banner height */
.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1rem;
	flex-shrink: 0;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin: 0;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__pager-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid #ddd;
	border-radius: 50%;
	background: #fff;
	color: #333;
	cursor: pointer;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__pager-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__pager-status {
	font-size: 0.875rem;
	color: #666;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-products__more {
	margin: 0;
	text-align: center;
}

.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid-wrap.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

/* Tablet */
@media (max-width: 1199px) {
	.vn-brand-sakyo .vn-product-showcase--promo-side {
		--vn-product-card-height: 300px;
	}

	.vn-brand-sakyo .vn-product-showcase--promo-side:not(.vn-product-showcase--no-promo) .vn-product-showcase__layout {
		grid-template-columns: minmax(220px, 34fr) minmax(0, 66fr);
	}

	.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid {
		grid-template-columns: repeat(var(--vn-ps-cols-tablet, 2), minmax(0, 1fr));
		grid-template-rows: repeat(3, var(--vn-product-card-height));
	}

	.vn-brand-sakyo .vn-product-showcase--promo-side {
		--vn-product-grid-height: calc(var(--vn-product-card-height) * 3 + var(--vn-showcase-gap) * 2);
	}
}

/* Mobile */
@media (max-width: 767px) {
	.vn-brand-sakyo .vn-product-showcase--promo-side {
		--vn-product-card-height: 280px;
		--vn-product-grid-height: auto;
		--vn-showcase-main-height: auto;
		--vn-layout-gap: 18px;
	}

	.vn-brand-sakyo .vn-product-showcase--promo-side:not(.vn-product-showcase--no-promo) .vn-product-showcase__layout {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__main {
		height: auto;
		min-height: 0;
		max-height: none;
	}

	.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__promo {
		height: auto;
		max-height: none;
	}

	.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__promo--mobile-hidden {
		display: none !important;
	}

	.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__promo--mobile-top {
		order: -1;
	}

	.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__promo--mobile-bottom {
		order: 2;
	}

	.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__promo[data-promo-layout="single"] .vn-product-promo-card-wrap {
		aspect-ratio: 4 / 5;
		max-height: 420px;
		height: auto;
	}

	.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__promo[data-promo-layout="stacked"] {
		aspect-ratio: 4 / 5;
		max-height: 420px;
		height: auto;
	}

	.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-promo-card__content {
		transform: translateY(-4%);
		width: min(84%, 320px);
	}

	.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid-wrap {
		height: auto;
		min-height: 0;
		max-height: none;
	}

	.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid {
		position: static;
		grid-template-columns: repeat(var(--vn-ps-cols-mobile, 2), minmax(0, 1fr));
		grid-template-rows: none;
		height: auto;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid:not(.is-active) {
		display: none;
	}

	.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid .vn-product-card {
		height: auto;
		min-height: 280px;
	}

	.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid .vn-product-card__img-wrap {
		flex: 0 0 auto;
		aspect-ratio: 1;
		max-height: none;
	}

	.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__toolbar {
		flex-direction: column;
		align-items: flex-start;
		height: auto;
		min-height: 0;
	}

	.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__tabs.vn-filter-bar {
		justify-content: flex-start;
		width: 100%;
	}
}

@media (max-width: 479px) {
	.vn-brand-sakyo .vn-product-showcase--promo-side .vn-product-showcase__grid {
		grid-template-columns: 1fr;
	}
}
