/* ASA product rows — an integrated product story, not a stretched tile.
   Paint follows the editable theme palette; physical scene sides stay explicit. */
.products-grid.products-grid--rows {
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(24px, 3.1vw, 44px);
}
.product-card.blog-card.asa-product-row {
	--row-ink: color-mix(in srgb, var(--accent, var(--primary)) 42%, var(--ink, #1b1f3b));
	--row-wash: color-mix(in srgb, var(--accent, var(--primary)) 9%, var(--surface, #fff));
	--row-line: color-mix(in srgb, var(--accent, var(--primary)) 17%, var(--border, #eceef6));
	--row-shadow: color-mix(in srgb, var(--navy, #0f2350) 12%, transparent);
	--row-paper-edge: color-mix(in srgb, var(--accent, var(--primary)) 58%, var(--ink, #1b1f3b));
	--row-secondary: var(--amber, var(--accent, var(--primary)));
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
	grid-template-areas: 'copy scene';
	direction: ltr;
	align-items: stretch;
	height: auto;
	min-height: clamp(332px, 30vw, 394px);
	border-radius: clamp(24px, 2.7vw, 34px);
	border-color: var(--row-line);
	background: var(--surface, #fff);
	box-shadow: 0 2px 3px color-mix(in srgb, var(--navy, #0f2350) 3%, transparent),
		0 20px 44px -24px var(--row-shadow), inset 0 1px 0 color-mix(in srgb, var(--surface, #fff) 86%, transparent);
	overflow: visible;
}
.product-card.blog-card.asa-product-row.asa-product-row-side--left {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr);
	grid-template-areas: 'scene copy';
}
.product-card.blog-card.asa-product-row::before {
	content: '';
	position: absolute;
	top: 0;
	left: 34px;
	right: 34px;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent, var(--primary)) 62%, transparent) 65%, transparent);
	pointer-events: none;
	z-index: 1;
}
.product-card.blog-card.asa-product-row:hover,
.product-card.blog-card.asa-product-row:focus-within {
	transform: none;
	border-color: color-mix(in srgb, var(--accent, var(--primary)) 33%, var(--border));
	box-shadow: 0 3px 6px color-mix(in srgb, var(--navy, #0f2350) 4%, transparent),
		0 26px 52px -25px color-mix(in srgb, var(--navy, #0f2350) 18%, transparent);
}
.product-card.blog-card.asa-product-row:focus-within {
	outline: 2px solid color-mix(in srgb, var(--accent, var(--primary)) 62%, var(--ink, #1b1f3b));
	outline-offset: 4px;
}
@media (hover: hover) and (pointer: fine) {
	.product-card.blog-card.asa-product-row:hover { transform: translateY(-3px); }
}
.asa-product-row .product-card-body {
	grid-area: copy;
	position: static;
	z-index: 1;
	align-self: center;
	direction: rtl;
	padding: clamp(26px, 3.5vw, 48px);
	padding-inline-end: clamp(24px, 3vw, 43px);
}
html[dir='ltr'] .asa-product-row .product-card-body { direction: ltr; text-align: left; }
.asa-product-row .product-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	margin-bottom: 17px;
	padding: 5px 12px;
	font-size: .77rem;
	font-weight: 800;
	line-height: 1.7;
	background: color-mix(in srgb, var(--accent, var(--primary)) 7%, var(--surface, #fff));
	color: var(--row-ink);
	border: 1px solid var(--row-line);
}
.asa-product-row .product-badge::before {
	content: '';
	flex: 0 0 5px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--accent, var(--primary));
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, var(--primary)) 10%, transparent);
}
.asa-product-row.product-card .product-title {
	font-size: clamp(1.25rem, 2.16vw, 1.88rem);
	font-weight: 850;
	line-height: 1.65;
	letter-spacing: -.025em;
	margin-bottom: 16px;
}
.asa-product-row.product-card .product-text {
	font-size: clamp(.97rem, 1.16vw, 1.065rem);
	line-height: 2.08;
	margin-bottom: 26px;
	max-width: 66ch;
}
.asa-product-row .product-card-footer {
	position: relative;
	justify-content: flex-start;
	border-color: var(--row-line);
	gap: 12px;
	padding-top: 20px;
}
.asa-product-row.product-card .product-link {
	font-size: .88rem;
	gap: 13px;
	min-height: 48px;
	padding: 8px 14px 8px 9px;
	border: 1px solid color-mix(in srgb, var(--primary) 32%, var(--surface, #fff));
	border-radius: 15px;
	color: var(--product-action-ink);
	background: var(--grad-brand);
	box-shadow: 0 8px 18px -10px var(--primary-glow);
}
html[dir='ltr'] .asa-product-row.product-card .product-link { padding-inline: 14px 9px; }
.asa-product-row.product-card .product-arrow {
	width: 31px;
	height: 31px;
	flex-basis: 31px;
	color: inherit;
	background: color-mix(in srgb, var(--surface, #fff) 50%, transparent);
	border: 1px solid color-mix(in srgb, var(--surface, #fff) 60%, transparent);
}
.asa-product-row.product-card:hover .product-arrow,
.asa-product-row.product-card:focus-within .product-arrow {
	color: inherit;
	background: color-mix(in srgb, var(--surface, #fff) 70%, transparent);
}
.asa-product-row .product-card-footer .asa-share--compact {
	position: static;
	flex: 0 1 auto;
	max-width: 100%;
}
.asa-product-row .product-card-footer .asa-share-summary {
	min-height: 48px;
	max-width: 100%;
	padding: 10px 13px;
	font-size: .79rem;
	gap: 8px;
	border-radius: 15px;
	border-color: color-mix(in srgb, var(--primary) 28%, var(--surface, #fff));
	color: var(--primary-d);
	background: var(--primary-soft);
	white-space: normal;
	overflow-wrap: anywhere;
}
.asa-product-row .product-card-footer .asa-share--compact[open] .asa-share-summary {
	color: var(--product-action-ink);
	background: var(--grad-brand);
	border-color: color-mix(in srgb, var(--primary) 48%, var(--surface, #fff));
}
.asa-product-row .product-card-footer .asa-share-summary:hover {
	border-color: color-mix(in srgb, var(--primary) 50%, var(--surface, #fff));
	box-shadow: 0 8px 18px -10px var(--primary-glow);
}
.asa-product-row .product-card-footer .asa-share-popover {
	--asa-share-ideal-width: 340px;
	width: min(var(--asa-share-ideal-width), 100%);
	max-width: 100%;
	max-height: 45vh;
	max-height: min(28rem, 45svh);
	overflow-y: auto;
	overscroll-behavior: contain;
	scroll-padding-block: 12px;
	scrollbar-width: thin;
	inset-inline-start: auto;
	inset-inline-end: 0;
	border-color: var(--row-line);
	background: var(--surface, #fff);
	box-shadow: 0 18px 42px -14px color-mix(in srgb, var(--navy, #0f2350) 26%, transparent);
}
.asa-product-row .product-card-footer .asa-share-actions {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
	align-items: stretch;
}
.asa-product-row .product-card-footer .asa-share-popover .asa-share-button {
	min-height: 48px;
	white-space: normal;
	overflow-wrap: anywhere;
	line-height: 1.5;
}
.asa-product-row .product-card-footer .asa-share-popover .asa-share-button > span { min-width: 0; }
.asa-product-row .product-card-footer .is-viewport-share .asa-share-popover {
	left: var(--asa-share-x, 0px);
	right: auto;
	top: var(--asa-share-y, 0px);
	bottom: auto;
	width: var(--asa-share-width, min(340px, 100%));
	max-height: var(--asa-share-height, 45vh);
	box-sizing: border-box;
}
/* A native disclosure remains fully reachable if JavaScript is unavailable. */
.asa-product-row .product-card-footer .asa-share--compact:not(.is-viewport-share)[open] { flex: 1 1 100%; }
.asa-product-row .product-card-footer .asa-share--compact:not(.is-viewport-share) .asa-share-popover {
	position: static;
	margin-top: 10px;
	max-height: none;
}
.asa-product-row-visual {
	grid-area: scene;
	position: relative;
	z-index: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 280px;
	padding: clamp(15px, 2vw, 26px) clamp(10px, 1.9vw, 26px);
	border-radius: 0 calc(clamp(24px, 2.7vw, 34px) - 1px) calc(clamp(24px, 2.7vw, 34px) - 1px) 0;
	pointer-events: none;
	background: radial-gradient(ellipse at 77% 14%, color-mix(in srgb, var(--accent, var(--primary)) 13%, transparent), transparent 61%),
		linear-gradient(105deg, var(--surface, #fff), var(--row-wash));
}
.asa-product-row-side--left .asa-product-row-visual {
	border-radius: calc(clamp(24px, 2.7vw, 34px) - 1px) 0 0 calc(clamp(24px, 2.7vw, 34px) - 1px);
	background: radial-gradient(ellipse at 23% 14%, color-mix(in srgb, var(--accent, var(--primary)) 13%, transparent), transparent 61%),
		linear-gradient(255deg, var(--surface, #fff), var(--row-wash));
}
.asa-product-row-visual::before {
	content: '';
	position: absolute;
	inset: 10% 8%;
	border-radius: 26px;
	border: 1px solid color-mix(in srgb, var(--accent, var(--primary)) 12%, transparent);
	background: linear-gradient(140deg, color-mix(in srgb, var(--surface, #fff) 64%, transparent), color-mix(in srgb, var(--surface, #fff) 12%, transparent));
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--surface, #fff) 72%, transparent),
		0 16px 30px -23px var(--row-shadow);
	transform: rotate(-3deg);
	pointer-events: none;
}
.asa-product-row-side--left .asa-product-row-visual::before { transform: rotate(3deg); }
.asa-product-row-visual::after {
	content: '';
	position: absolute;
	inset: 7% 6%;
	border-radius: 30px;
	background-image: linear-gradient(color-mix(in srgb, var(--accent, var(--primary)) 11%, transparent) 1px, transparent 1px),
		linear-gradient(90deg, color-mix(in srgb, var(--accent, var(--primary)) 11%, transparent) 1px, transparent 1px);
	background-size: 28px 28px;
	-webkit-mask-image: radial-gradient(ellipse at center, transparent 22%, #000 57%, transparent 83%);
	mask-image: radial-gradient(ellipse at center, transparent 22%, #000 57%, transparent 83%);
	pointer-events: none;
}
.asa-product-row-scene {
	position: relative;
	z-index: 1;
	width: min(100%, 550px);
	color: var(--row-ink);
	filter: drop-shadow(0 15px 14px color-mix(in srgb, var(--navy, #0f2350) 7%, transparent));
}
.asa-row-svg { display: block; width: 100%; height: auto; overflow: visible; }
.asa-row-svg * { transform-box: fill-box; transform-origin: center; }
.asa-row-paper {
	fill: var(--surface, #fff);
	stroke: var(--row-paper-edge);
	stroke-width: 2;
	stroke-linejoin: round;
	filter: drop-shadow(0 2px 0 color-mix(in srgb, var(--accent, var(--primary)) 9%, transparent))
		drop-shadow(0 8px 9px color-mix(in srgb, var(--navy, #0f2350) 6%, transparent));
}
.asa-row-tint { fill: color-mix(in srgb, var(--accent, var(--primary)) 15%, var(--surface, #fff)); }
.asa-row-solid, .asa-row-bar, .asa-row-data, .asa-row-material-packet, .asa-row-pie { fill: var(--accent, var(--primary)); }
.asa-row-muted-line, .asa-row-ink-line, .asa-row-light-line, .asa-row-tick, .asa-row-chart,
.asa-row-route, .asa-row-scan, .asa-row-spark, .asa-row-blueprint {
	fill: none;
	stroke: var(--row-ink);
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.asa-row-muted-line { stroke: color-mix(in srgb, var(--accent, var(--primary)) 45%, var(--surface, #fff)); }
.asa-row-light-line { stroke: var(--surface, #fff); stroke-width: 2; }
.asa-row-tick { stroke: var(--accent, var(--primary)); stroke-width: 4; }
.asa-row-chart { stroke: var(--accent, var(--primary)); stroke-width: 4.5; stroke-dasharray: 410; animation: asa-row-chart 7.2s ease-in-out infinite; }
.asa-row-route { stroke: var(--accent, var(--primary)); stroke-width: 2; stroke-dasharray: 6 10; opacity: .57; animation: asa-row-route 3.5s linear infinite; }
.asa-row-blueprint { stroke: var(--accent, var(--primary)); stroke-width: 1; stroke-dasharray: 2 8; opacity: .105; }
.asa-row-halo { fill: none; stroke: var(--accent, var(--primary)); stroke-width: 1; opacity: .09; }
.asa-row-ground { fill: var(--accent, var(--primary)); opacity: .075; }
.asa-row-spark { stroke: var(--accent, var(--primary)); stroke-width: 2; opacity: .45; }
.asa-row-dot { fill: var(--accent, var(--primary)); opacity: .35; }
.asa-row-float { animation: asa-row-float 7.5s ease-in-out infinite; }
.asa-row-drift { animation: asa-row-float 6.5s ease-in-out infinite reverse; }
.asa-row-breathe { animation: asa-row-breathe 5.5s ease-in-out infinite; }
.asa-row-check { stroke-dasharray: 65; animation: asa-row-check 6.5s ease-in-out infinite; }
.asa-row-scan { stroke: var(--accent, var(--primary)); stroke-width: 3; animation: asa-row-scan 5.8s ease-in-out infinite; }
.asa-row-bar { transform-origin: center bottom; animation: asa-row-bar 6s ease-in-out infinite; }
.asa-row-bar:nth-of-type(2) { animation-delay: -.8s; }
.asa-row-bar:nth-of-type(3) { animation-delay: -1.6s; }
.asa-row-gear { animation: asa-row-gear 26s linear infinite; }
.asa-row-stock { animation: asa-row-stock 7s ease-in-out infinite; }
.asa-row-data { animation: asa-row-data 4.8s ease-in-out infinite; }
.asa-row-material-packet { animation: asa-row-material 6s ease-in-out infinite; }
.asa-row-conveyor { animation: asa-row-conveyor 7s ease-in-out infinite; }
.asa-row-schedule { transform-origin: left center; animation: asa-row-schedule 6.5s ease-in-out infinite; }
.asa-row-ship { animation: asa-row-ship 7.5s ease-in-out infinite; }
.asa-row-pie { animation: asa-row-breathe 6s ease-in-out infinite; }
.asa-row-delay { animation-delay: -2s; }
.asa-row-delay-two { animation-delay: -4s; }
.asa-row-custom-art { display: grid; place-items: center; width: 100%; min-height: 260px; padding: 35px; }
.asa-row-custom-art :is(img, svg) { display: block; width: min(100%, 235px); height: auto; max-height: 250px; object-fit: contain; }
@keyframes asa-row-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes asa-row-breathe { 0%, 100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.045); } }
@keyframes asa-row-route { to { stroke-dashoffset: 32; } }
@keyframes asa-row-chart { 0%, 8% { stroke-dashoffset: 410; } 48%, 90%, 100% { stroke-dashoffset: 0; } }
@keyframes asa-row-check { 0%, 12% { stroke-dashoffset: 65; opacity: .25; } 44%, 91%, 100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes asa-row-scan { 0%, 10% { transform: translateY(0); opacity: 0; } 22% { opacity: .8; } 67% { transform: translateY(88px); opacity: .8; } 82%, 100% { transform: translateY(88px); opacity: 0; } }
@keyframes asa-row-bar { 0%, 100% { transform: scaleY(.83); } 50% { transform: scaleY(1); } }
@keyframes asa-row-gear { to { transform: rotate(360deg); } }
@keyframes asa-row-stock { 0%, 12%, 100% { transform: translateY(0); opacity: 1; } 28%, 45% { transform: translateY(-6px); opacity: .8; } 62% { transform: translateY(0); } }
@keyframes asa-row-data { 0%, 12% { transform: translateX(-16px); opacity: 0; } 24% { opacity: 1; } 76% { transform: translateX(34px); opacity: 1; } 90%, 100% { transform: translateX(34px); opacity: 0; } }
@keyframes asa-row-material { 0%, 12% { transform: translateX(-42px); opacity: 0; } 24% { opacity: 1; } 74% { transform: translateX(150px); opacity: 1; } 90%, 100% { transform: translateX(150px); opacity: 0; } }
@keyframes asa-row-conveyor { 0%, 9% { transform: translateX(0); opacity: 0; } 19% { opacity: 1; } 80% { transform: translateX(245px); opacity: 1; } 91%, 100% { transform: translateX(245px); opacity: 0; } }
@keyframes asa-row-schedule { 0%, 100% { transform: scaleX(.78); } 50% { transform: scaleX(1); } }
@keyframes asa-row-ship { 0%, 100% { transform: translateY(0) rotate(-.5deg); } 50% { transform: translateY(-4px) rotate(.5deg); } }
.asa-product-row.is-scene-paused .asa-product-row-scene * { animation-play-state: paused !important; }
body.asa-motion-disabled .asa-product-row *,
body.asa-motion-disabled .asa-product-row *::before,
body.asa-motion-disabled .asa-product-row *::after { animation: none !important; transition: none !important; }
body.asa-motion-disabled .product-card.blog-card.asa-product-row:hover,
body.asa-motion-disabled .product-card.blog-card.asa-product-row:focus-within { transform: none; }
@media (max-width: 1024px) {
	.asa-product-row .product-card-body { padding: 28px; }
	.asa-product-row-visual { min-height: 250px; }
	.asa-product-row.product-card .product-title { font-size: 1.4rem; }
	.asa-product-row.product-card .product-link { padding-inline: 12px 8px; gap: 9px; }
	.asa-product-row .product-card-footer .asa-share-summary { padding-inline: 11px; }
}
@media (max-width: 700px) {
	.product-card.blog-card.asa-product-row,
	.product-card.blog-card.asa-product-row.asa-product-row-side--left {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: 'scene' 'copy';
		min-height: 0;
		border-radius: 26px;
		background: var(--surface, #fff);
	}
	.products-grid.products-grid--rows { gap: 22px; }
	.asa-product-row-visual,
	.asa-product-row-side--left .asa-product-row-visual {
		min-height: 0;
		padding: 15px 18px 7px;
		border-radius: 25px 25px 0 0;
		background: radial-gradient(ellipse at 70% 15%, color-mix(in srgb, var(--accent, var(--primary)) 11%, transparent), transparent 65%),
			linear-gradient(180deg, var(--row-wash), var(--surface, #fff));
	}
	.asa-product-row-visual::before { inset: 12% 9%; border-radius: 22px; }
	.asa-product-row-scene { width: min(100%, 450px); }
	.asa-product-row .product-card-body { padding: 12px 24px 24px; }
	.asa-product-row .product-badge { margin-bottom: 13px; }
	.asa-product-row.product-card .product-title { font-size: clamp(1.18rem, 4.2vw, 1.42rem); margin-bottom: 11px; }
	.asa-product-row.product-card .product-text { font-size: .97rem; line-height: 2; margin-bottom: 22px; }
	.asa-product-row .product-card-footer { padding-top: 16px; gap: 10px; }
	.asa-row-custom-art { min-height: 240px; padding: 28px; }
}
@media (max-width: 360px) {
	.asa-product-row .product-card-body { padding-inline: 18px; }
	.asa-product-row .product-card-footer .asa-share-summary { padding: 9px 10px; }
	.asa-product-row.product-card .product-link { font-size: .81rem; }
}
@media (prefers-reduced-motion: reduce), print {
	.asa-product-row *, .asa-product-row *::before, .asa-product-row *::after { animation: none !important; transition: none !important; }
	.product-card.blog-card.asa-product-row:hover, .product-card.blog-card.asa-product-row:focus-within { transform: none; }
	.asa-row-chart, .asa-row-check { stroke-dashoffset: 0; opacity: 1; }
	.asa-row-scan, .asa-row-data, .asa-row-material-packet, .asa-row-conveyor { display: none; }
}
@media print {
	.product-card.blog-card.asa-product-row { break-inside: avoid; box-shadow: none; border-color: #b6c4d2; }
	.asa-product-row-visual::before { box-shadow: none; }
}
@media (forced-colors: active) {
	.product-card.blog-card.asa-product-row,
	.asa-product-row .product-badge,
	.asa-product-row .product-card-footer,
	.asa-product-row .product-card-footer .asa-share-summary { border-color: CanvasText; }
	.asa-product-row.product-card .product-link,
	.asa-product-row .product-card-footer .asa-share--compact[open] .asa-share-summary {
		color: ButtonText;
		background: ButtonFace;
		border: 1px solid ButtonText;
	}
	.product-card.blog-card.asa-product-row:focus-within { outline-color: Highlight; }
	.asa-product-row-visual::before, .asa-product-row-visual::after { display: none; }
}
