
.amk-product-page {
	background:
		radial-gradient(circle at top right, rgba(36, 53, 90, .04), transparent 34%),
		#f7f8fa;
	padding: 32px 0 90px;
}

.amk-product-page__container {
	width: min(1440px, calc(100% - 40px));
	margin: 0 auto;
}

.amk-product-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	margin-bottom: 28px;
	color: #748096;
	font-size: 13px;
}

.amk-product-breadcrumbs a {
	color: #24355a;
	text-decoration: none;
}

.amk-product-main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr);
	gap: 46px;
	align-items: start;
}

.amk-product-gallery__stage {
	position: relative;
	overflow: hidden;
	min-height: 650px;
	border: 1px solid #e3e7ee;
	border-radius: 22px;
	background:
		radial-gradient(circle at 50% 35%, #fff 0%, #fbfcfd 52%, #f1f4f8 100%);
	box-shadow: 0 18px 50px rgba(31, 41, 55, .07);
}

.amk-product-gallery__stage::before {
	content: "";
	position: absolute;
	inset: 18px;
	border: 1px solid rgba(36, 53, 90, .06);
	border-radius: 16px;
	pointer-events: none;
}

.amk-product-gallery__zoom {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 34px;
	border: 0;
	background: transparent;
	cursor: zoom-in;
}

.amk-product-gallery__main-image {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 580px;
	object-fit: contain;
	transform: scale(1);
	transform-origin: 50% 50%;
	filter: drop-shadow(0 18px 24px rgba(21, 29, 43, .08));
	transition: transform .18s ease;
	will-change: transform, transform-origin;
}

@media (hover: hover) and (pointer: fine) {
	.amk-product-gallery__zoom.is-zooming .amk-product-gallery__main-image {
		transform: scale(2.15);
	}
}

.amk-product-gallery__thumbs {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	margin-top: 14px;
	padding: 4px 2px 8px;
}

.amk-product-gallery__thumb {
	flex: 0 0 112px;
	width: 112px;
	height: 92px;
	padding: 8px;
	overflow: hidden;
	border: 1px solid #dfe4ec;
	border-radius: 12px;
	background: linear-gradient(180deg, #fff 0%, #f7f9fb 100%);
	cursor: pointer;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.amk-product-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.amk-product-gallery__thumb:hover,
.amk-product-gallery__thumb.is-active {
	border-color: #24355a;
	box-shadow: 0 8px 20px rgba(36, 53, 90, .12);
	transform: translateY(-1px);
}

.amk-product-summary {
	padding: 12px 0 0;
}

.amk-product-summary__topline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	margin-bottom: 15px;
}

.amk-product-status {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .07em;
	line-height: 1;
	text-transform: uppercase;
}

.amk-product-status--in_stock {
	background: #eaf6ee;
	color: #27643a;
}

.amk-product-status--on_request {
	background: #fff4df;
	color: #805516;
}

.amk-product-status--out_of_stock {
	background: #eef1f5;
	color: #5f6875;
}

.amk-product-origin {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #667085;
	font-size: 15px;
}

.amk-ua-flag {
	display: inline-block;
	flex: 0 0 auto;
	width: 18px;
	height: 12px;
	overflow: hidden;
	border: 1px solid rgba(31, 41, 55, .12);
	border-radius: 2px;
	background:
		linear-gradient(
			to bottom,
			#1f5fbf 0%,
			#1f5fbf 50%,
			#ffd84d 50%,
			#ffd84d 100%
		);
	box-shadow: 0 1px 2px rgba(31, 41, 55, .08);
	vertical-align: middle;
}

.amk-product-summary h1 {
	margin: 0 0 18px;
	color: #1f2937;
	font-size: clamp(36px, 4.1vw, 58px);
	font-weight: 760;
	line-height: 1.05;
	letter-spacing: -.045em;
}

.amk-product-summary__excerpt {
	max-width: 760px;
	margin-bottom: 28px;
	color: #657184;
	font-size: 17px;
	line-height: 1.65;
}

.amk-product-summary__excerpt p {
	margin: 0;
}

.amk-product-characteristics {
	margin-top: 26px;
	padding-top: 26px;
	border-top: 1px solid #dfe4ec;
}

.amk-product-characteristics h2 {
	margin: 0 0 18px;
	color: #1f2937;
	font-size: 27px;
	font-weight: 740;
	letter-spacing: -.025em;
}

.amk-product-characteristics__list {
	border-top: 1px solid #e6e9ef;
}

.amk-product-characteristic {
	display: grid;
	grid-template-columns: minmax(180px, .85fr) minmax(0, 1.15fr);
	gap: 24px;
	padding: 18px 0;
	border-bottom: 1px solid #e6e9ef;
}

.amk-product-characteristic strong {
	color: #24355a;
	font-size: 14px;
}

.amk-product-characteristic span {
	color: #687386;
	font-size: 15px;
	line-height: 1.55;
}

.amk-product-actions {
	display: grid;
	gap: 12px;
	margin-top: 26px;
}

.amk-product-actions__spec,
.amk-product-actions__offer {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 14px 20px;
	border-radius: 11px;
	font-size: 15px;
	font-weight: 750;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.amk-product-actions__spec {
	gap: 10px;
	border: 1px solid #24355a;
	background: #24355a;
	color: #fff !important;
}

.amk-product-actions__offer {
	border: 2px solid #24355a;
	background: #fff;
	color: #24355a;
}

.amk-product-actions__spec:hover,
.amk-product-actions__offer:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(36, 53, 90, .14);
}

.amk-product-actions__offer:hover {
	background: #24355a;
	color: #fff;
}

.amk-product-actions__spec.is-disabled {
	border-color: #d8dee8;
	background: #eef1f5;
	color: #929baa !important;
	box-shadow: none;
	cursor: not-allowed;
	opacity: .9;
	pointer-events: none;
}

.amk-product-actions__spec.is-disabled:hover {
	transform: none;
	box-shadow: none;
}

.amk-product-actions p {
	margin: 0;
	color: #8790a0;
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
}

.amk-product-description {
	margin-top: 78px;
	padding: 44px 48px;
	border: 1px solid #e2e6ed;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 16px 44px rgba(31, 41, 55, .05);
}

.amk-product-section-kicker {
	display: block;
	width: 46px;
	height: 3px;
	margin-bottom: 17px;
	border-radius: 999px;
	background: #24355a;
}

.amk-product-description h2 {
	margin: 0 0 24px;
	color: #1f2937;
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 750;
	letter-spacing: -.03em;
}

.amk-product-description__content {
	color: #5f6a7c;
	font-size: 17px;
	line-height: 1.8;
}

.amk-product-description__content > *:first-child {
	margin-top: 0;
}

.amk-product-description__content > *:last-child {
	margin-bottom: 0;
}

.amk-product-lightbox[hidden] {
	display: none;
}

.amk-product-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
	background: rgba(8, 14, 27, .92);
}

.amk-product-lightbox img {
	max-width: min(1200px, 92vw);
	max-height: 88vh;
	object-fit: contain;
}

.amk-product-lightbox__close {
	position: absolute;
	top: 22px;
	right: 28px;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255,255,255,.3);
	border-radius: 50%;
	background: rgba(255,255,255,.08);
	color: #fff;
	font-size: 30px;
	cursor: pointer;
}

@media (max-width: 1050px) {
	.amk-product-main {
		grid-template-columns: 1fr;
	}

	.amk-product-gallery__stage {
		min-height: 560px;
	}

	.amk-product-summary {
		padding-top: 4px;
	}
}

@media (max-width: 650px) {
	.amk-product-page {
		padding: 20px 0 60px;
	}

	.amk-product-page__container {
		width: min(100% - 24px, 1440px);
	}

	.amk-product-gallery__stage {
		min-height: 430px;
		border-radius: 16px;
	}

	.amk-product-gallery__zoom {
		padding: 22px;
	}


	.amk-product-gallery__thumb {
		flex-basis: 88px;
		width: 88px;
		height: 76px;
	}

	.amk-product-summary h1 {
		font-size: 38px;
	}

	.amk-product-characteristic {
		grid-template-columns: 1fr;
		gap: 7px;
	}

	.amk-product-description {
		margin-top: 54px;
		padding: 30px 22px;
		border-radius: 14px;
	}
}

.amk-ua-round-flag{display:inline-block;width:21px;height:21px;border-radius:50%;background:linear-gradient(to bottom,#2f62bc 0 50%,#ffd84d 50% 100%);box-shadow:0 0 0 1px rgba(31,41,55,.06)}.amk-doc-icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.amk-product-actions__spec{justify-content:flex-start;width:max-content;min-width:340px;padding:15px 24px}.amk-product-actions__spec.is-disabled{background:#e9edf3!important;color:#929aa7!important;border-color:#dbe0e8!important}.amk-product-actions__offer{width:100%}
@media(max-width:600px){.amk-product-actions__spec{width:100%;min-width:0;justify-content:center}}


/* =========================================================
   AMK 0.6.2 — SKU CHARACTERISTIC
   ========================================================= */

.amk-product-characteristic--sku span {
	color: #24355a;
	font-weight: 760;
	letter-spacing: 0.035em;
}


/* =========================================================
   AMK 0.6.3 — SKU value: regular weight
   ========================================================= */

.amk-product-characteristic--sku span {
	color: inherit !important;
	font-weight: 400 !important;
	letter-spacing: 0 !important;
}


/* =========================================================
   AMK 0.6.4 — BREADCRUMBS / STATUS / GALLERY STRIP
   ========================================================= */

/* Breadcrumbs */
.amk-product-breadcrumbs {
	display: inline-flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px !important;
	max-width: 100%;
	margin: 0 0 28px !important;
	padding: 7px 9px !important;
	border: 1px solid rgba(36,53,90,.08);
	border-radius: 999px;
	background: rgba(255,255,255,.72);
	box-shadow:
		0 7px 22px rgba(31,41,55,.035),
		inset 0 1px 0 rgba(255,255,255,.9);
	backdrop-filter: blur(10px);
	font-size: 12px !important;
}

.amk-product-breadcrumbs__link,
.amk-product-breadcrumbs__current {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 10px;
	border-radius: 999px;
	text-decoration: none !important;
	white-space: nowrap;
}

.amk-product-breadcrumbs__link {
	color: #34476d !important;
	font-weight: 650;
	transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.amk-product-breadcrumbs__link:hover {
	background: rgba(36,53,90,.065);
	color: #1e2d4d !important;
	transform: translateY(-1px);
}

.amk-product-breadcrumbs__home {
	gap: 7px;
}

.amk-product-breadcrumbs__home svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.amk-product-breadcrumbs__separator {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	color: #a5adba;
}

.amk-product-breadcrumbs__separator svg {
	width: 12px;
	height: 12px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.amk-product-breadcrumbs__current {
	max-width: min(440px, 42vw);
	overflow: hidden;
	color: #838d9d;
	text-overflow: ellipsis;
}

/* Status pills — одна система з категоріями/артикулом */
.amk-product-status {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center;
	gap: 8px;
	min-height: 30px !important;
	padding: 0 11px !important;
	border: 1px solid rgba(36,53,90,.12) !important;
	border-radius: 999px !important;
	background: rgba(255,255,255,.92) !important;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.92),
		0 4px 12px rgba(31,41,55,.025);
	font-size: 9px !important;
	font-weight: 700 !important;
	letter-spacing: .055em !important;
	line-height: 1 !important;
	text-transform: uppercase;
}

.amk-product-status::before {
	width: 7px;
	height: 7px;
	flex: 0 0 7px;
	content: "";
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 4px rgba(36,53,90,.05);
}

.amk-product-status--in_stock {
	color: #3e7d50 !important;
	border-color: rgba(62,125,80,.18) !important;
	background: rgba(248,252,249,.96) !important;
}

.amk-product-status--on_request {
	color: #98722d !important;
	border-color: rgba(152,114,45,.20) !important;
	background: rgba(255,252,246,.96) !important;
}

.amk-product-status--out_of_stock {
	color: #9a4d56 !important;
	border-color: rgba(154,77,86,.20) !important;
	background: rgba(255,248,249,.96) !important;
}

/* Галерея під основним фото */
.amk-product-gallery__thumbs {
	position: relative;
	display: flex !important;
	align-items: center;
	gap: 10px !important;
	margin-top: 14px !important;
	padding: 14px 2px 6px !important;
	overflow-x: auto;
	scrollbar-width: thin;
}

.amk-product-gallery__thumbs::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 1px;
	content: "";
	background: linear-gradient(90deg, transparent, rgba(36,53,90,.12), transparent);
}

.amk-product-gallery__thumb {
	position: relative;
	flex: 0 0 96px !important;
	width: 96px !important;
	height: 78px !important;
	padding: 7px !important;
	border: 1px solid rgba(36,53,90,.10) !important;
	border-radius: 12px !important;
	background:
		radial-gradient(circle at 50% 38%, #fff 0%, #f8fafc 68%, #f1f4f8 100%) !important;
	box-shadow: 0 7px 18px rgba(31,41,55,.035);
	transition:
		transform .25s cubic-bezier(.22,.61,.36,1),
		border-color .25s ease,
		box-shadow .25s ease !important;
}

.amk-product-gallery__thumb::after {
	position: absolute;
	right: 12px;
	bottom: -1px;
	left: 12px;
	height: 2px;
	content: "";
	border-radius: 999px;
	background: #24355a;
	opacity: 0;
	transform: scaleX(.45);
	transition: opacity .25s ease, transform .25s ease;
}

.amk-product-gallery__thumb:hover,
.amk-product-gallery__thumb.is-active {
	border-color: rgba(36,53,90,.28) !important;
	box-shadow: 0 12px 24px rgba(36,53,90,.09) !important;
	transform: translateY(-2px) !important;
}

.amk-product-gallery__thumb.is-active::after {
	opacity: 1;
	transform: scaleX(1);
}

.amk-product-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

/* Mobile breadcrumbs */
@media (max-width: 600px) {
	.amk-product-breadcrumbs {
		display: flex !important;
		width: 100%;
		border-radius: 15px;
		overflow-x: auto;
		flex-wrap: nowrap;
	}

	.amk-product-breadcrumbs__current {
		max-width: 240px;
	}

	.amk-product-gallery__thumb {
		flex-basis: 82px !important;
		width: 82px !important;
		height: 70px !important;
	}
}


/* =========================================================
   AMK 0.6.5 — CATALOG BREADCRUMB ICON
   ========================================================= */

.amk-product-breadcrumbs__catalog {
	gap: 7px;
}

.amk-product-breadcrumbs__catalog svg {
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.55;
	stroke-linecap: round;
	stroke-linejoin: round;
}


/* =========================================================
   AMK 0.6.6 — GALLERY EXPERIENCE
   ========================================================= */

.amk-product-gallery {
	min-width: 0;
}

.amk-product-gallery__thumbs {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
	align-items: stretch;
	width: 100% !important;
	gap: 12px !important;
	margin-top: 16px !important;
	padding: 14px 0 4px !important;
	overflow: visible !important;
}

.amk-product-gallery__thumb {
	width: 100% !important;
	height: 112px !important;
	min-width: 0 !important;
	flex: none !important;
	padding: 9px !important;
	border-radius: 14px !important;
}

.amk-product-gallery__thumb img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
}

.amk-product-gallery__main-image {
	opacity: 1;
	transition:
		transform .18s ease,
		opacity .18s ease,
		filter .28s ease !important;
}

.amk-product-gallery__main-image.is-switching {
	opacity: .38;
	filter: blur(2px) drop-shadow(0 18px 24px rgba(21,29,43,.05));
}

.amk-product-gallery__main-image.is-switched {
	animation: amk-gallery-image-in .32s cubic-bezier(.22,.61,.36,1);
}

@keyframes amk-gallery-image-in {
	from {
		opacity: .45;
		transform: scale(.985);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@media (max-width: 900px) {
	.amk-product-gallery__thumbs {
		grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)) !important;
	}

	.amk-product-gallery__thumb {
		height: 96px !important;
	}
}

@media (max-width: 600px) {
	.amk-product-gallery__thumbs {
		display: flex !important;
		overflow-x: auto !important;
		padding-bottom: 8px !important;
		scroll-snap-type: x proximity;
	}

	.amk-product-gallery__thumb {
		flex: 0 0 112px !important;
		width: 112px !important;
		height: 88px !important;
		scroll-snap-align: start;
	}
}
