/**
 * Product detail — SOOQOO-style 50/50 hero + mosaic gallery.
 */

.mkaacf-product-page,
.mkaacf-shop-page {
	clear: both;
	padding: 0 0 clamp(48px, 6vw, 72px);
	background: #fff;
}

.mkaacf-product-body .cmp-experiencefragment--header,
.mkaacf-product-body .primary-nav {
	overflow: visible;
}

body.mkaacf-product-body .container-fluid--upto-xl,
body.mkaacf-product-body .root.container.responsivegrid,
body.mkaacf-product-body .root.container.responsivegrid > .cmp-container {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.mkaacf-product-single__shell {
	width: min(100%, 1820px);
	max-width: calc(100vw - clamp(24px, 3vw, 48px));
	margin: 0 auto;
	padding: 8px clamp(12px, 2vw, 32px) 0;
	box-sizing: border-box;
}

.mkaacf-product-single__breadcrumb {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	font-size: 0.8125rem;
	color: #666;
	white-space: nowrap;
}

.mkaacf-product-single__breadcrumb a {
	color: #111;
	text-decoration: none;
}

.mkaacf-product-single__breadcrumb a:hover {
	text-decoration: underline;
}

.mkaacf-product-single__hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(16px, 2vw, 28px);
	align-items: stretch;
	padding-bottom: clamp(24px, 3vw, 36px);
	border-bottom: 1px solid #ececec;
	overflow: visible;
	position: relative;
	z-index: 1;
}

.mkaacf-product-single__gallery {
	min-width: 0;
	height: auto;
	max-height: none;
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mkaacf-product-single__gallery-wrap {
	position: relative;
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 12px;
	align-items: stretch;
	height: 100%;
	max-height: clamp(420px, 42vw, 620px);
	overflow: visible;
}

.mkaacf-product-single__thumbs {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 72px;
	height: 100%;
	max-height: clamp(420px, 42vw, 620px);
	overflow-x: hidden;
	overflow-y: auto;
	scroll-behavior: smooth;
	overscroll-behavior-y: contain;
	touch-action: pan-y;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: rgba(17, 17, 17, 0.28) transparent;
	padding: 2px;
	box-sizing: border-box;
	z-index: 1;
}

.mkaacf-product-single__thumbs::-webkit-scrollbar {
	width: 4px;
}

.mkaacf-product-single__thumbs::-webkit-scrollbar-thumb {
	background: rgba(17, 17, 17, 0.28);
	border-radius: 999px;
}

.mkaacf-product-single__thumbs:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}

.mkaacf-product-single__thumb {
	flex: 0 0 auto;
	display: block;
	width: 64px;
	height: 64px;
	padding: 0;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	background: #f7f7f7;
	cursor: pointer;
	overflow: hidden;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mkaacf-product-single__thumb img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
	user-select: none;
	-webkit-user-drag: none;
}

.mkaacf-product-single__thumb:hover {
	border-color: #bbb;
}

.mkaacf-product-single__thumb.is-active {
	border-color: #111;
	box-shadow: 0 0 0 1px #111;
}

.mkaacf-product-single__stage {
	position: relative;
	min-width: 0;
	height: 100%;
	max-height: clamp(420px, 42vw, 620px);
	overflow: visible;
	z-index: 3;
}

.mkaacf-product-single__stage-rail {
	display: none;
}

.mkaacf-product-single__stage-frame {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	min-height: inherit;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: #fafafa;
	overflow: hidden;
	cursor: crosshair;
	box-sizing: border-box;
}

.mkaacf-product-single__stage-frame:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}

.mkaacf-product-single__stage-img {
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: cover;
	object-position: center;
	display: block;
	user-select: none;
	-webkit-user-drag: none;
	pointer-events: none;
}

.mkaacf-product-single__zoom-lens {
	position: absolute;
	top: 0;
	left: 0;
	width: 148px;
	height: 148px;
	border: 2px solid rgba(255, 255, 255, 0.95);
	box-shadow:
		0 0 0 1px rgba(17, 17, 17, 0.28),
		inset 0 0 0 999px rgba(255, 255, 255, 0.22);
	pointer-events: none;
	z-index: 2;
	box-sizing: border-box;
}

.mkaacf-product-single__zoom-pane {
	position: absolute;
	left: calc(100% + 16px);
	top: 0;
	width: min(520px, calc(50vw - 40px));
	height: 100%;
	min-height: clamp(320px, 36vw, 520px);
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: 0 0;
	box-shadow: 0 16px 48px rgba(17, 17, 17, 0.14);
	z-index: 30;
	pointer-events: none;
	overflow: hidden;
}

.mkaacf-product-single__stage.is-zooming .mkaacf-product-single__zoom-lens,
.mkaacf-product-single__stage.is-zooming .mkaacf-product-single__zoom-pane {
	display: block;
}

.mkaacf-product-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 14px;
	width: calc(100% - 84px);
	margin-left: 84px;
	padding: 4px 0 0;
	box-sizing: border-box;
}

.mkaacf-product-share__label {
	font-size: 0.875rem;
	font-weight: 600;
	color: #666;
	line-height: 1;
}

.mkaacf-product-share__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.mkaacf-product-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #222;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mkaacf-product-share__btn:hover {
	background: #f2f2f2;
	color: #111;
	transform: translateY(-1px);
}

.mkaacf-product-share__btn:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}

.mkaacf-product-share__btn.is-busy {
	opacity: 0.55;
	pointer-events: none;
}

.mkaacf-product-share__btn svg {
	width: 20px;
	height: 20px;
	display: block;
	flex-shrink: 0;
}

.mkaacf-product-share__status {
	flex: 1 0 100%;
	margin: 0;
	text-align: center;
	font-size: 0.75rem;
	line-height: 1.4;
	color: #1a7f37;
}

.mkaacf-product-share__status.is-error {
	color: #b42318;
}

.mkaacf-product-single__summary {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
	padding: 2px 0 0;
}

.mkaacf-product-single__intro {
	display: block;
}

.mkaacf-product-single__vehicle {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 700;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.mkaacf-product-single__title {
	margin: 0;
	font-size: clamp(1.25rem, 1.7vw, 1.625rem);
	line-height: 1.32;
	font-weight: 700;
	letter-spacing: -0.025em;
	color: #111;
}

.mkaacf-wishlist-btn--gallery {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 6;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
	color: #111;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.mkaacf-wishlist-btn--gallery:hover {
	border-color: #111;
	background: #fff;
	transform: scale(1.04);
}

.mkaacf-wishlist-btn--gallery.is-active {
	color: #e74c3c;
	border-color: #f0c2c2;
	background: #fff5f5;
}

.mkaacf-product-single__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin: 10px 0 0;
	font-size: 0.875rem;
	color: #666;
}

.mkaacf-product-single__meta-item + .mkaacf-product-single__meta-item::before {
	content: '·';
	margin-right: 14px;
	color: #ccc;
}

.mkaacf-product-single__buy,
.mkaacf-product-single__purchase {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 0 0 4px;
	border: 0;
	background: transparent;
	position: static;
}

.mkaacf-product-single__price-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px 16px;
}

.mkaacf-product-single__price {
	margin: 0;
	font-size: clamp(1.75rem, 2.4vw, 2.125rem);
	font-weight: 800;
	color: #111;
	line-height: 1;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}

.mkaacf-product-single__stock {
	margin: 0;
	padding: 5px 10px;
	border-radius: 999px;
	border: 1px solid #b7e0c0;
	background: #f3faf4;
	font-size: 0.75rem;
	font-weight: 700;
	color: #1a7f37;
	line-height: 1;
}

.mkaacf-product-single__stock.is-out-of-stock {
	border-color: #e4e4e4;
	background: #f6f6f6;
	color: #777;
}

.mkaacf-product-single__actions {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas:
		'qty cart'
		'inquire inquire';
	align-items: stretch;
	gap: 10px;
}

.mkaacf-product-single__qty {
	display: inline-flex;
	align-items: center;
	grid-area: qty;
	flex: 0 0 auto;
	height: 52px;
	border: 1px solid #dcdcdc;
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}

.mkaacf-product-single__qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: #111;
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.mkaacf-product-single__qty-btn:hover {
	background: #f4f4f4;
}

.mkaacf-product-single__qty-btn:active {
	background: #ebebeb;
}

.mkaacf-product-single__qty-input {
	width: 44px;
	height: 100%;
	padding: 0;
	border: 0;
	border-left: 1px solid #ececec;
	border-right: 1px solid #ececec;
	background: #fff;
	color: #111;
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.mkaacf-product-single__qty-input:focus {
	outline: none;
}

.mkaacf-product-single__qty-input::-webkit-outer-spin-button,
.mkaacf-product-single__qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.mkaacf-product-single__specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}

.mkaacf-product-single__spec {
	display: grid;
	gap: 6px;
	padding: 14px 18px;
	background: transparent;
	border: 0;
	border-radius: 0;
	min-height: 0;
	box-sizing: border-box;
}

.mkaacf-product-single__spec + .mkaacf-product-single__spec {
	border-left: 1px solid #e8e8e8;
}

.mkaacf-product-single__spec dt {
	margin: 0;
	font-size: 0.6875rem;
	font-weight: 700;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.mkaacf-product-single__spec dd {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #111;
	line-height: 1.4;
}

.mkaacf-product-single__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	min-width: 0;
	width: 100%;
	padding: 0 18px;
	border: 1.5px solid transparent;
	border-radius: 10px;
	background: #111;
	color: #fff;
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	white-space: nowrap;
	box-sizing: border-box;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mkaacf-product-single__cta:hover {
	background: #2a2a2a;
	color: #fff;
}

.mkaacf-product-single__cta--cart {
	grid-area: cart;
}

.mkaacf-product-single__cta--cart.is-added {
	background: #1a7f37;
}

.mkaacf-product-single__cta--inquire {
	grid-area: inquire;
	background: #fff;
	color: #111;
	border-color: #111;
}

.mkaacf-product-single__cta--inquire:hover {
	background: #111;
	color: #fff;
}

.mkaacf-product-single__details {
	margin-top: clamp(28px, 3.5vw, 40px);
}

.mkaacf-product-overview--sidebar {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	flex: 0 0 auto;
	min-height: 0;
}

.mkaacf-product-overview--sidebar .mkaacf-product-overview__block {
	margin: 0;
	padding: 16px 20px 18px;
	background: #fff;
	border: 0;
	border-bottom: 1px solid #efefef;
	border-radius: 0;
}

.mkaacf-product-overview--sidebar .mkaacf-product-overview__block:last-child {
	border-bottom: 0;
}

.mkaacf-product-overview--sidebar .mkaacf-product-overview__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	font-family: var(--mkaacf-font-sans, Helvetica, "Helvetica Neue", Arial, sans-serif);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #111;
}

.mkaacf-product-overview--sidebar .mkaacf-product-overview__title::before {
	content: '';
	width: 14px;
	height: 2px;
	background: #111;
	flex: 0 0 auto;
}

.mkaacf-product-overview--sidebar .mkaacf-product-overview__text {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.65;
	color: #444;
	display: block;
	-webkit-line-clamp: unset;
	overflow: visible;
}

.mkaacf-product-tabs {
	border: 1px solid #d9d9d9;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
}

.mkaacf-product-tabs__nav {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	border-bottom: 1px solid #d9d9d9;
	scrollbar-width: none;
}

.mkaacf-product-tabs__nav::-webkit-scrollbar {
	display: none;
}

.mkaacf-product-tabs__tab {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	padding: 15px 12px;
	border: 0;
	border-right: 1px solid #d9d9d9;
	background: #f3f3f3;
	color: #111;
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.02em;
	text-align: center;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.mkaacf-product-tabs__tab:last-child {
	border-right: 0;
}

.mkaacf-product-tabs__tab:hover {
	background: #ececec;
}

.mkaacf-product-tabs__tab.is-active {
	background: #fff;
	box-shadow: inset 0 -2px 0 #111;
}

.mkaacf-product-tabs__body {
	padding: clamp(20px, 2.5vw, 28px);
}

.mkaacf-product-tabs__panel[hidden] {
	display: none;
}

.mkaacf-product-tabs__text {
	font-size: 0.9375rem;
	line-height: 1.75;
	color: #444;
	max-width: 90ch;
}

.mkaacf-product-tabs__cta-wrap,
.mkaacf-product-accordion__cta-wrap {
	margin: 20px 0 0;
}

.mkaacf-product-tabs__cta-wrap .mkaacf-product-single__cta,
.mkaacf-product-accordion__cta-wrap .mkaacf-product-single__cta {
	width: auto;
	min-width: 0;
	min-height: 42px;
	padding: 0 22px;
	font-size: 0.75rem;
}

.mkaacf-product-tabs__link {
	color: #111;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mkaacf-product-tabs__link:hover {
	color: #333;
}

@media (max-width: 1200px) {
	.mkaacf-product-single__actions {
		grid-template-columns: auto minmax(0, 1fr);
	}
}

@media (max-width: 900px) {
	.mkaacf-product-single__hero {
		grid-template-columns: 1fr;
	}

	.mkaacf-product-single__gallery-wrap {
		max-height: none;
		grid-template-columns: 1fr;
		grid-template-rows: auto minmax(280px, 72vw) auto;
		gap: 12px;
	}

	.mkaacf-product-single__thumbs {
		width: 100%;
		max-height: none;
		height: auto;
		flex-direction: row;
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-x: contain;
		touch-action: pan-x;
		scrollbar-width: thin;
		padding-bottom: 4px;
	}

	.mkaacf-product-single__thumbs::-webkit-scrollbar {
		height: 4px;
		width: auto;
	}

	.mkaacf-product-single__thumb {
		width: 64px;
		height: 64px;
	}

	.mkaacf-product-single__stage {
		max-height: clamp(280px, 72vw, 480px);
		min-height: clamp(280px, 72vw, 480px);
	}

	.mkaacf-product-single__stage-frame {
		cursor: zoom-in;
	}

	.mkaacf-product-single__zoom-lens,
	.mkaacf-product-single__zoom-pane {
		display: none !important;
	}

	.mkaacf-product-single__stage-img {
		max-height: none;
	}

	.mkaacf-product-single__gallery {
		max-height: none;
	}

	.mkaacf-product-share {
		width: 100%;
		margin-left: 0;
	}

	.mkaacf-product-single__summary {
		min-height: 0;
	}

	.mkaacf-product-tabs__tab {
		min-width: 120px;
		flex: 0 0 auto;
	}
}

@media (max-width: 640px) {
	.mkaacf-product-single__shell {
		padding-inline: 16px;
	}

	.mkaacf-product-single__specs {
		grid-template-columns: 1fr;
	}

	.mkaacf-product-single__spec + .mkaacf-product-single__spec {
		border-left: 0;
		border-top: 1px solid #e8e8e8;
	}

	.mkaacf-product-single__actions {
		grid-template-columns: 1fr;
		grid-template-areas:
			'qty'
			'cart'
			'inquire';
	}

	.mkaacf-product-single__qty {
		width: 100%;
		justify-content: center;
		grid-area: qty;
	}

	.mkaacf-product-single__qty-input {
		flex: 1;
		max-width: 80px;
	}

	.mkaacf-product-single__cta--cart {
		grid-area: cart;
	}

	.mkaacf-product-single__cta--inquire {
		grid-area: inquire;
	}

	.mkaacf-product-single__cta {
		width: 100%;
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mkaacf-product-single__thumbs {
		scroll-behavior: auto;
	}
}
