/* -------------------------------------------
   AGM COMPATIBILITY ENGINE: PREMIUM UI
------------------------------------------- */

/* Typographic & Base Reset */
.agm-search-hub-root,
.agm-compatible-products-root {
	font-family: inherit;
	color: #1a1b1d;
	box-sizing: border-box;
}

.agm-search-hub-root *,
.agm-compatible-products-root * {
	box-sizing: border-box;
}

/* -------------------------------------------
   1. HOMEPAGE SEARCH HUB
------------------------------------------- */
.agm-search-hub-root {
	background: #ffffff;
	border: 1px solid #e2e4e8;
	border-radius: 6px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.02);
	padding: 48px;
	margin: 0 auto 48px auto;
	max-width: 1080px;
}

.agm-hub-header {
	text-align: center;
	margin-bottom: 40px;
}

.agm-hub-title {
	margin: 0 0 12px 0;
	font-size: 2.2em;
	font-weight: 300;
	letter-spacing: -0.5px;
	color: #111;
}

.agm-hub-subtitle {
	margin: 0;
	color: #555960;
	font-size: 1.1em;
	font-weight: 400;
}

/* Transport Type Selector */
.agm-hub-transport-types {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.agm-hub-type-btn {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border: 1px solid #dcdfe4;
	color: #4b5058;
	padding: 14px 28px;
	border-radius: 8px;
	font-size: 0.84rem;
	font-weight: 850;
	text-transform: uppercase;
	letter-spacing: 0;
	cursor: pointer;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.agm-hub-type-btn svg {
	opacity: 0.6;
	transition: opacity 0.25s ease;
}

.agm-hub-type-btn:hover {
	border-color: #242934;
	background: #f7f8fa;
	color: #101216;
	transform: translateY(-1px);
}

.agm-hub-type-btn:hover svg {
	opacity: 0.9;
}

.agm-hub-type-btn.active {
	background: #fff6f6;
	border-color: #b5151c;
	color: #951018;
	box-shadow: inset 0 3px 0 #b5151c;
}

.agm-hub-type-btn.active svg {
	opacity: 1;
}

/* Fields Grid */
.agm-hub-fields {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-bottom: 40px;
}

.agm-hub-fields select {
	width: 100%;
	padding: 18px 24px;
	border: 1px solid #c8ccd4;
	border-radius: 4px;
	background-color: #fff;
	font-size: 1em;
	color: #111;
	appearance: none;
	background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%22%20fill%3D%22none%22%20stroke%3D%22%23111%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 20px;
	transition: all 0.2s ease;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(0,0,0,0.01);
}

.agm-hub-fields select:focus {
	outline: none;
	border-color: #0d47a1;
	box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

.agm-hub-fields select:disabled {
	background-color: #f7f8f9;
	color: #9aa0a6;
	border-color: #e2e4e8;
	cursor: not-allowed;
	background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%22%20fill%3D%22none%22%20stroke%3D%22%239aa0a6%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
}

/* Primary Button */
.agm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	background: #b5151c;
	color: #fff;
	border: 1px solid #b5151c;
	padding: 11px 18px;
	font-size: 0.84rem;
	font-weight: 850;
	text-transform: uppercase;
	letter-spacing: 0;
	line-height: 1.15;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
	text-decoration: none;
	text-align: center;
	box-shadow: 0 10px 18px rgba(181, 21, 28, 0.16);
}

.agm-btn:hover {
	background: #951018;
	border-color: #951018;
	color: #fff;
	box-shadow: 0 14px 24px rgba(181, 21, 28, 0.22);
	transform: translateY(-1px);
}

/* Separator & Alt Search */
.agm-hub-separator {
	display: flex;
	align-items: center;
	text-align: center;
	margin-bottom: 24px;
}

.agm-hub-separator::before,
.agm-hub-separator::after {
	content: '';
	flex: 1;
	border-bottom: 1px solid #e2e4e8;
}

.agm-hub-separator span {
	padding: 0 20px;
	color: #8c929a;
	font-size: 0.85em;
	font-weight: 500;
	letter-spacing: 2px;
}

.agm-hub-alt-text {
	text-align: center;
	margin: 0;
	color: #4b5058;
	font-size: 1.05em;
	font-weight: 400;
}

/* Selected State Box */
.agm-hub-selected-state {
	background: #fdfdfe;
	border: 1px solid #e2e4e8;
	padding: 32px;
	border-radius: 6px;
	text-align: center;
	margin-bottom: 40px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.agm-selected-header {
	color: #6a717a;
	font-size: 0.9em;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 12px;
}

.agm-selected-main {
	font-size: 1.6em;
	color: #111;
	font-weight: 300;
	margin-bottom: 4px;
}

.agm-selected-sub {
	font-size: 1.05em;
	color: #4b5058;
	font-weight: 400;
	margin-bottom: 24px;
}

.agm-selected-actions {
	display: flex;
	justify-content: center;
	gap: 16px;
}

/* Ghost Buttons (for Change/Clear) */
.agm-btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	background: #fff;
	color: #242934;
	border: 1px solid #cfd5dc;
	padding: 10px 18px;
	font-size: 0.84rem;
	font-weight: 850;
	text-transform: uppercase;
	letter-spacing: 0;
	line-height: 1.15;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
	text-decoration: none;
}

.agm-btn-ghost:hover {
	background: #f7f8fa;
	border-color: #242934;
	color: #101216;
	transform: translateY(-1px);
}

.agm-btn-ghost-danger {
	color: #951018;
	border-color: rgba(181, 21, 28, 0.3);
	background: #fffafa;
}

.agm-btn-ghost-danger:hover {
	background: #fff3f3;
	border-color: #b5151c;
	color: #7f0d13;
}

/* Messages (e.g. Data Preparing) */
.agm-hub-message {
	padding: 24px;
	background: #f8f9fa;
	border: 1px solid #e2e4e8;
	border-left: 4px solid #8c929a;
	color: #4b5058;
	border-radius: 4px;
	margin-bottom: 40px;
}

.agm-hub-message-content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	font-size: 1.05em;
}

/* -------------------------------------------
   2. SINGLE PRODUCT PANELS (Premium Alerts)
------------------------------------------- */
.agm-panel-prompt,
.agm-panel-success,
.agm-panel-error {
	padding: 24px 32px;
	border-radius: 4px;
	margin-bottom: 32px;
	font-size: 1em;
	box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}

.agm-panel-prompt {
	background: #fdfdfe;
	border: 1px solid #e2e4e8;
	border-left: 4px solid #0d47a1;
	color: #4b5058;
}

.agm-panel-success {
	background: #f8fcf9;
	border: 1px solid #dcf1e2;
	border-left: 4px solid #1b5e20;
	color: #1b5e20;
}

.agm-panel-error {
	background: #fffcfc;
	border: 1px solid #fbe5e5;
	border-left: 4px solid #c62828;
	color: #c62828;
}

.agm-panel-success h4,
.agm-panel-error h4 {
	margin: 0 0 16px 0;
	font-size: 1.15em;
	font-weight: 500;
}

.agm-check-icon {
	color: #1b5e20;
	font-weight: 600;
	margin-right: 8px;
}

.agm-panel-actions {
	display: flex;
	gap: 12px;
	margin-top: 24px;
}

/* -------------------------------------------
   3. PRODUCT GRID & BADGES
------------------------------------------- */
.agm-results-heading {
	font-size: 1.5em;
	font-weight: 300;
	margin-bottom: 24px;
	color: #111;
	border-bottom: 1px solid #e2e4e8;
	padding-bottom: 16px;
}

.agm-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 32px;
	margin-bottom: 48px;
}

.agm-product-card {
	border: 1px solid #e2e4e8;
	border-radius: 6px;
	padding: 24px;
	text-align: center;
	background: #fff;
	transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
	position: relative;
}

.agm-product-card:hover {
	box-shadow: 0 12px 32px rgba(0,0,0,0.08);
	border-color: #c8ccd4;
	transform: translateY(-2px);
}

.agm-product-card img {
	max-width: 100%;
	height: auto;
	margin-bottom: 20px;
}

.agm-role-tag {
	display: inline-block;
	background: #f1f3f5;
	color: #4b5058;
	padding: 4px 10px;
	border-radius: 2px;
	font-size: 0.75em;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 12px;
}

.agm-product-card h4 {
	font-size: 1.15em;
	font-weight: 400;
	margin: 0 0 16px 0;
	color: #111;
}

.agm-results-group-heading {
	font-size: 1em;
	font-weight: 700;
	margin: 28px 0 14px;
	color: #151922;
	text-transform: uppercase;
}

.agm-product-specs {
	color: #5b626d;
	font-size: 0.9em;
	line-height: 1.45;
	margin: -6px 0 16px;
}

.agm-start-stop-prompt h4 {
	margin-top: 0;
}

.agm-product-card .price {
	font-size: 1.25em;
	font-weight: 500;
	color: #0d47a1;
	margin-bottom: 24px;
}

/* Subtle Badge */
.agm-loop-badge-container {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 10;
}

.agm-badge-success {
	display: inline-block;
	background: rgba(232, 245, 233, 0.95);
	color: #1b5e20;
	border: 1px solid rgba(27, 94, 32, 0.15);
	padding: 6px 10px;
	border-radius: 4px;
	font-size: 0.7em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	backdrop-filter: blur(4px);
}

/* -------------------------------------------
   RESPONSIVE SCALING
------------------------------------------- */
@media (max-width: 1024px) {
	.agm-hub-fields {
		grid-template-columns: repeat(2, 1fr);
	}
	.agm-search-hub-root {
		padding: 40px 32px;
	}
}

@media (max-width: 768px) {
	.agm-search-hub-root {
		padding: 32px 24px;
	}
	.agm-hub-title {
		font-size: 1.8em;
	}
	.agm-hub-transport-types {
		flex-direction: column;
		gap: 12px;
	}
	.agm-hub-type-btn {
		width: 100%;
		justify-content: center;
	}
	.agm-selected-actions {
		flex-direction: column;
	}
	.agm-panel-actions {
		flex-direction: column;
	}
	.agm-btn, .agm-btn-ghost {
		width: 100%;
		margin: 0;
	}
}

@media (max-width: 430px) {
	.agm-hub-fields {
		grid-template-columns: 1fr;
	}
	.agm-search-hub-root {
		padding: 24px 16px;
	}
	.agm-hub-title {
		font-size: 1.5em;
	}
	.agm-hub-subtitle {
		font-size: 1em;
	}
}

/* -------------------------------------------
   AGM.lt FRONTEND MODERNIZATION: PHASE 1
------------------------------------------- */
:root {
	--agm-red: #d71920;
	--agm-red-dark: #aa1218;
	--agm-button-red: #b5151c;
	--agm-button-red-hover: #951018;
	--agm-button-red-pressed: #7f0d13;
	--agm-button-shadow: 0 10px 18px rgba(181, 21, 28, 0.16);
	--agm-button-shadow-hover: 0 14px 24px rgba(181, 21, 28, 0.22);
	--agm-button-focus: 0 0 0 3px rgba(181, 21, 28, 0.2);
	--agm-graphite: #17191d;
	--agm-ink: #242830;
	--agm-muted: #68707c;
	--agm-border: #e1e4e8;
	--agm-soft: #f6f7f8;
	--agm-success: #147a3d;
}

.agm-search-hub-root,
.agm-compatible-products-root {
	color: var(--agm-ink);
}

.agm-search-hub-root {
	max-width: 1180px;
	padding: 30px;
	margin: 0 auto 28px;
	border: 1px solid var(--agm-border);
	border-top: 4px solid var(--agm-red);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 18px 42px rgba(23, 25, 29, 0.08);
}

.agm-hub-header {
	text-align: left;
	margin-bottom: 22px;
}

.agm-hub-eyebrow {
	display: inline-flex;
	align-items: center;
	margin-bottom: 9px;
	color: var(--agm-red);
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.agm-hub-title {
	margin: 0 0 8px;
	color: var(--agm-graphite);
	font-size: 1.9rem;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: 0;
}

.agm-hub-subtitle {
	max-width: 720px;
	color: var(--agm-muted);
	font-size: 1rem;
	line-height: 1.5;
}

.agm-hub-transport-types {
	justify-content: flex-start;
	gap: 10px;
	margin-bottom: 22px;
}

.agm-hub-type-btn {
	min-height: 46px;
	padding: 10px 14px;
	border-radius: 7px;
	border-color: var(--agm-border);
	color: var(--agm-ink);
	background: #fff;
	font-size: 0.83rem;
	letter-spacing: 0.02em;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.agm-hub-type-btn:hover {
	border-color: #c7ccd3;
	transform: translateY(-1px);
}

.agm-hub-type-btn.active {
	background: #fff7f7;
	border-color: var(--agm-red);
	color: var(--agm-red-dark);
	box-shadow: inset 0 3px 0 var(--agm-red), 0 8px 18px rgba(215, 25, 32, 0.08);
}

.agm-hub-type-btn svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
	opacity: 0.8;
}

.agm-hub-type-btn small {
	display: block;
	margin-top: 1px;
	color: var(--agm-muted);
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}

.agm-hub-fields {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 18px;
}

.agm-hub-field-step {
	min-width: 0;
}

.agm-hub-field-step label {
	display: flex;
	align-items: center;
	gap: 0;
	margin-bottom: 7px;
	color: var(--agm-graphite);
	font-size: 0.82rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.agm-hub-field-step.agm-is-hidden {
	display: none;
}

.agm-hub-fields select {
	min-height: 48px;
	padding: 12px 42px 12px 13px;
	border: 1px solid #cfd4da;
	border-radius: 7px;
	color: var(--agm-graphite);
	background-color: #fff;
	font-size: 0.95rem;
	box-shadow: 0 1px 0 rgba(23, 25, 29, 0.03);
	transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.agm-hub-fields select:focus {
	border-color: var(--agm-red);
	box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.12);
}

.agm-hub-fields select:disabled {
	background-color: #f3f4f5;
	color: #9aa1aa;
}

.agm-btn,
.agm-btn-ghost {
	min-height: 44px;
	border-radius: 7px;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.agm-btn {
	background: var(--agm-button-red);
	border-color: var(--agm-button-red);
	color: #fff;
	box-shadow: var(--agm-button-shadow);
}

.agm-btn:hover {
	background: var(--agm-button-red-hover);
	border-color: var(--agm-button-red-hover);
	color: #fff;
	box-shadow: var(--agm-button-shadow-hover);
	transform: translateY(-1px);
}

.agm-btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 16px;
	border: 1px solid #cfd4da;
	color: var(--agm-ink);
	background: #fff;
}

.agm-btn-ghost:hover {
	border-color: var(--agm-graphite);
	color: var(--agm-graphite);
	background: #f7f8fa;
	transform: translateY(-1px);
}

.agm-btn-ghost-danger {
	border-color: #e3b8bb;
	color: var(--agm-button-red-hover);
}

.agm-hub-alt-action {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-top: 12px;
	padding-top: 0;
	border-top: 0;
	color: var(--agm-muted);
}

.agm-parameter-toggle {
	width: auto;
	border-color: var(--agm-button-red);
	background: var(--agm-button-red);
	color: #fff;
	box-shadow: var(--agm-button-shadow);
}

.agm-parameter-toggle:hover {
	border-color: var(--agm-button-red-hover);
	background: var(--agm-button-red-hover);
	color: #fff;
	box-shadow: var(--agm-button-shadow-hover);
}

.agm-parameter-toggle small {
	display: none;
}

.agm-loading-state,
.agm-panel-prompt,
.agm-panel-success,
.agm-panel-error {
	border-radius: 8px;
	box-shadow: none;
}

.agm-loading-state {
	display: grid;
	gap: 10px;
	padding: 22px;
	border: 1px solid var(--agm-border);
	background: var(--agm-soft);
}

.agm-loading-state span {
	display: block;
	height: 10px;
	border-radius: 999px;
	background: linear-gradient(90deg, #e7e9ec, #f9fafb, #e7e9ec);
	background-size: 220% 100%;
	animation: agmPulse 1.4s ease-in-out infinite;
}

.agm-loading-state span:nth-child(1) {
	width: 68%;
}

.agm-loading-state span:nth-child(2) {
	width: 86%;
}

.agm-loading-state span:nth-child(3) {
	width: 44%;
}

.agm-loading-state p {
	margin: 2px 0 0;
	color: var(--agm-muted);
}

@keyframes agmPulse {
	0% { background-position: 0 0; }
	100% { background-position: -220% 0; }
}

.agm-panel-prompt {
	border: 1px solid var(--agm-border);
	border-left: 4px solid var(--agm-red);
	background: #fff;
	color: var(--agm-ink);
}

.agm-panel-success {
	border: 1px solid #cfe8d8;
	border-left: 4px solid var(--agm-success);
	background: #f7fbf8;
	color: #115d31;
}

.agm-panel-error {
	border: 1px solid #f0c8cb;
	border-left: 4px solid var(--agm-red);
	background: #fff8f8;
	color: var(--agm-red-dark);
}

.agm-start-stop-prompt h4,
.agm-panel-prompt h4 {
	margin: 0 0 8px;
	color: var(--agm-graphite);
	font-size: 1.05rem;
	font-weight: 800;
}

.agm-start-stop-prompt p,
.agm-panel-prompt p {
	margin: 0;
	color: var(--agm-muted);
	line-height: 1.5;
}

.agm-panel-actions {
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.agm-vehicle-card {
	display: grid;
	gap: 8px;
	padding: 18px;
	border: 1px solid #d8dde2;
	border-radius: 8px;
	background: linear-gradient(180deg, #fff, #fafbfc);
	box-shadow: 0 10px 24px rgba(23, 25, 29, 0.06);
	text-align: left;
}

.agm-vehicle-card-compact {
	margin-bottom: 18px;
}

.agm-vehicle-active-badge {
	width: fit-content;
	padding: 4px 8px;
	border-radius: 999px;
	background: #fff0f1;
	color: var(--agm-red-dark);
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.agm-vehicle-title {
	color: var(--agm-graphite);
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.25;
}

.agm-vehicle-meta,
.agm-vehicle-engine,
.agm-vehicle-start-stop {
	color: var(--agm-muted);
	font-size: 0.94rem;
	line-height: 1.35;
}

.agm-vehicle-start-stop {
	color: var(--agm-red-dark);
	font-weight: 800;
}

.agm-fitment-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.agm-fitment-trust span {
	padding: 6px 9px;
	border-radius: 999px;
	border: 1px solid #d9eadf;
	background: #f8fcfa;
	color: var(--agm-success);
	font-size: 0.76rem;
	font-weight: 700;
}

.agm-selected-actions {
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 4px;
}

.agm-results-intro {
	margin: 16px 0 18px;
	padding: 18px;
	border: 1px solid var(--agm-border);
	border-radius: 8px;
	background: #fff;
}

.agm-results-heading {
	margin: 0 0 12px;
	padding: 0;
	border: 0;
	color: var(--agm-graphite);
	font-size: 1.35rem;
	font-weight: 800;
}

.agm-results-selected-state {
	margin-bottom: 16px;
}

.agm-results-group-heading {
	margin: 26px 0 12px;
	text-transform: none;
}

.agm-results-group-heading h4 {
	margin: 0 0 4px;
	color: var(--agm-graphite);
	font-size: 1.15rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.agm-results-group-heading p {
	margin: 0;
	color: var(--agm-muted);
	font-size: 0.92rem;
	line-height: 1.45;
}

.agm-products-grid {
	grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
	gap: 18px;
	margin-bottom: 34px;
}

.agm-product-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	border: 1px solid var(--agm-border);
	border-radius: 8px;
	background: #fff;
	text-align: left;
	box-shadow: 0 8px 22px rgba(23, 25, 29, 0.05);
	transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.agm-product-card:hover {
	border-color: #c8ced5;
	box-shadow: 0 14px 30px rgba(23, 25, 29, 0.09);
	transform: translateY(-2px);
}

.agm-card-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.agm-fit-badge,
.agm-rec-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	position: relative;
	overflow: hidden;
	min-height: 24px;
	padding: 5px 9px;
	border: 1px solid rgba(16, 18, 22, 0.12);
	border-radius: 9px;
	clip-path: none;
	font-size: 0.7rem;
	font-weight: 820;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0;
	box-shadow: 0 1px 2px rgba(16, 18, 22, 0.04);
	transition: transform 170ms ease, background-color 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.agm-fit-badge {
	background: #f4fbf7;
	border: 1px solid #cfe8d8;
	color: var(--agm-success);
}

.agm-rec-badge {
	background: #fff3f4;
	border-color: #f2c7ca;
	color: var(--agm-red-dark);
}

.agm-rec-geresnis-upgrade-variantas {
	background: #182338;
	border-color: #edd49d;
	color: #fff;
}

.agm-products-rekomenduojami {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 405px));
	justify-content: center;
	gap: 22px;
}

.agm-products-geresnis-upgrade-variantas {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
}

.agm-product-card-recommended,
.agm-products-rekomenduojami .agm-product-card {
	padding: 20px;
	border-color: #aebfd4;
	background: linear-gradient(145deg, #edf4fc 0%, #dce9f7 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 16px 38px rgba(54, 80, 110, 0.18);
}

.agm-product-card-premium,
.agm-products-geresnis-upgrade-variantas .agm-product-card {
	background: #fff;
}

.agm-product-card-recommended .agm-product-media,
.agm-products-rekomenduojami .agm-product-card .agm-product-media {
	aspect-ratio: 4 / 3;
	padding: 20px;
}

.agm-product-card-recommended .agm-price,
.agm-product-card-recommended .agm-price-current,
.agm-products-rekomenduojami .agm-price,
.agm-products-rekomenduojami .agm-price-current {
	font-size: 1.48rem;
}

.agm-product-media {
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3;
	padding: 10px;
	border-radius: 7px;
	background: #f7f8f9;
}

.agm-product-card img {
	max-width: 100%;
	max-height: 160px;
	object-fit: contain;
	margin: 0;
}

.agm-product-card h4 {
	margin: 0;
	color: var(--agm-graphite);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.28;
}

.agm-product-card h4 a {
	color: inherit;
	text-decoration: none;
}

.agm-product-card h4 a:hover {
	color: var(--agm-red);
}

.agm-product-brand {
	min-height: 18px;
	color: var(--agm-muted);
	font-size: 0.82rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.agm-product-specs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 7px 10px;
	margin: 0;
	padding: 12px;
	border-radius: 7px;
	background: var(--agm-soft);
	color: var(--agm-ink);
	font-size: 0.85rem;
	line-height: 1.25;
}

.agm-product-specs dt {
	margin: 0;
	color: var(--agm-muted);
	font-weight: 600;
}

.agm-product-specs dd {
	margin: 0;
	color: var(--agm-graphite);
	font-weight: 800;
	text-align: right;
}

.agm-price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	color: var(--agm-red);
	font-size: 1.25rem;
	font-weight: 900;
}

.agm-price-old {
	color: #8f96a1;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: line-through;
}

.agm-price-current {
	color: var(--agm-red);
	font-size: 1.35rem;
	font-weight: 900;
}

.agm-stock {
	color: var(--agm-success);
	font-size: 0.84rem;
	font-weight: 800;
}

.agm-card-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 9px;
}

.agm-card-actions .agm-btn,
.agm-card-actions .agm-btn-ghost {
	width: 100%;
	padding: 10px 12px;
}

.agm-parameter-search-card {
	max-width: 1180px;
	margin: 0 auto 24px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.agm-parameter-heading {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto;
	min-height: 44px;
	margin: 0;
	padding: 11px 18px;
	border: 1px solid var(--agm-button-red);
	border-radius: 8px;
	background: var(--agm-button-red);
	color: #fff;
	box-shadow: var(--agm-button-shadow);
	cursor: pointer;
}

.agm-parameter-heading span {
	color: inherit;
	font-weight: 900;
	letter-spacing: 0;
}

.agm-parameter-heading small {
	display: none;
}

.agm-parameter-search-card > :not(.agm-parameter-heading) {
	margin-top: 12px;
	padding: 16px;
	border: 1px solid var(--agm-border);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 8px 20px rgba(23, 25, 29, 0.04);
}

.agm-parameter-search-card :where(.wpfMainWrapper) {
	display: grid;
	grid-template-columns: repeat(4, minmax(150px, 1fr));
	gap: 12px;
	align-items: end;
}

.agm-parameter-search-card :where(.wpfFilterWrapper, .wpfFilterContent) {
	min-width: 0;
	width: 100% !important;
}

.agm-parameter-search-card.agm-parameter-collapsed > :not(.agm-parameter-heading) {
	display: none !important;
}

.agm-general-catalog-panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1180px;
	margin: 22px auto;
	padding: 16px;
	border: 1px solid var(--agm-border);
	border-radius: 8px;
	background: #fff;
}

.agm-general-catalog-panel strong {
	display: block;
	color: var(--agm-graphite);
	font-size: 1rem;
}

.agm-general-catalog-panel span {
	display: block;
	color: var(--agm-muted);
	font-size: 0.88rem;
}

.agm-general-catalog-hidden {
	display: none !important;
}

.agm-badge-success {
	background: #f4fbf7;
	color: var(--agm-success);
	border-color: #cfe8d8;
}

body.agm-has-finder-results ul.products.agm-general-catalog-grid {
	margin-top: 16px;
}

@media (max-width: 900px) {
	.agm-search-hub-root {
		padding: 24px;
	}

	.agm-hub-fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.agm-search-hub-root {
		padding: 20px;
		margin-bottom: 22px;
	}

	.agm-hub-header {
		margin-bottom: 18px;
	}

	.agm-hub-transport-types {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.agm-hub-type-btn {
		width: 100%;
		justify-content: center;
		padding: 10px;
	}

	.agm-hub-fields {
		grid-template-columns: 1fr;
		gap: 11px;
	}

	.agm-hub-alt-action,
	.agm-general-catalog-panel {
		align-items: stretch;
		flex-direction: column;
	}

	.agm-selected-actions,
	.agm-panel-actions,
	.agm-card-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.agm-btn,
	.agm-btn-ghost {
		width: 100%;
	}

	.agm-products-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.agm-product-specs {
		grid-template-columns: minmax(0, 1fr);
	}

	.agm-product-specs dd {
		text-align: left;
	}

}

@media (max-width: 430px) {
	.agm-search-hub-root,
	.agm-parameter-search-card,
	.agm-results-intro,
	.agm-vehicle-card,
	.agm-product-card {
		border-radius: 7px;
	}

	.agm-hub-title {
		font-size: 1.38rem;
	}

	.agm-hub-transport-types {
		grid-template-columns: 1fr;
	}
}

/* -------------------------------------------
   AGM.lt FRONTEND POLISH: RC4.0
   Scoped presentation refinements only.
------------------------------------------- */
.agm-search-hub-root,
.agm-compatible-products-root,
.agm-parameter-search-card,
.agm-general-catalog-panel {
	width: min(1180px, calc(100vw - 32px));
}

.agm-search-hub-root {
	padding: 24px;
	margin-bottom: 24px;
	border-radius: 8px;
	box-shadow: 0 14px 36px rgba(23, 25, 29, 0.07);
}

.agm-hub-header {
	margin-bottom: 18px;
}

.agm-hub-eyebrow {
	margin-bottom: 6px;
	font-size: 0.72rem;
	letter-spacing: 0.07em;
}

.agm-hub-title {
	max-width: 780px;
	font-size: 1.62rem;
	line-height: 1.18;
}

.agm-hub-subtitle {
	font-size: 0.94rem;
	line-height: 1.42;
}

.agm-hub-transport-types {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-bottom: 18px;
}

.agm-hub-type-btn {
	justify-content: center;
	min-height: 42px;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 8px;
	font-size: 0.78rem;
	line-height: 1.15;
}

.agm-hub-type-btn svg {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

.agm-hub-type-btn small {
	margin-left: 2px;
	padding: 2px 6px;
	border-radius: 999px;
	background: #f0f2f4;
	font-size: 0.64rem;
	line-height: 1.2;
	white-space: nowrap;
}

.agm-hub-fields {
	grid-template-columns: 1.02fr 1.08fr 0.78fr 1.32fr;
	gap: 10px;
	margin-bottom: 14px;
	align-items: end;
}

.agm-hub-field-step label {
	margin-bottom: 5px;
	font-size: 0.75rem;
	letter-spacing: 0.025em;
}

.agm-hub-fields select {
	min-height: 44px;
	padding: 10px 38px 10px 12px;
	border-radius: 8px;
	font-size: 0.91rem;
	line-height: 1.25;
	text-overflow: ellipsis;
}

.agm-btn,
.agm-btn-ghost {
	min-height: 40px;
	border-radius: 8px;
	font-size: 0.78rem;
}

.agm-hub-alt-action {
	margin-top: 8px;
	padding-top: 0;
}

.agm-parameter-toggle {
	width: auto;
	justify-content: center;
	text-align: left;
}

.agm-parameter-toggle span,
.agm-parameter-toggle small {
	min-width: 0;
}

.agm-results-intro,
.agm-vehicle-card,
.agm-panel-prompt,
.agm-panel-success,
.agm-panel-error {
	padding: 16px;
	border-radius: 8px;
}

.agm-results-intro {
	margin: 14px auto 16px;
}

.agm-results-heading {
	margin-bottom: 10px;
	font-size: 1.22rem;
	line-height: 1.22;
}

.agm-results-group-heading {
	margin: 22px 0 10px;
}

.agm-results-group-heading h4 {
	font-size: 1rem;
	line-height: 1.25;
}

.agm-products-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	width: 100%;
	margin-bottom: 28px;
}

.agm-product-card {
	min-width: 0;
	min-height: 100%;
	gap: 10px;
	padding: 14px;
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(23, 25, 29, 0.045);
}

.agm-product-card:hover {
	box-shadow: 0 12px 26px rgba(23, 25, 29, 0.085);
}

.agm-card-badges {
	min-height: 24px;
	gap: 6px;
}

.agm-fit-badge,
.agm-rec-badge,
.agm-role-tag,
.agm-badge-success {
	border-radius: 6px;
	font-size: 0.66rem;
	line-height: 1.2;
	letter-spacing: 0.035em;
}

.agm-fit-badge {
	border-color: rgba(22, 128, 67, 0.36);
	background: #f1fbf5;
	color: #24683f;
}

.agm-fit-badge-rich::before {
	content: none;
}

.agm-fit-thumb {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	position: relative;
	width: 22px;
	height: 22px;
	margin: -3px 0 -3px -4px;
	border: 1px solid #bcdcc8;
	border-radius: 6px;
	clip-path: none;
	background: #e5f6ec;
	box-shadow: none;
	transition: transform 170ms ease, box-shadow 170ms ease;
}

.agm-fit-thumb::before {
	content: "";
	width: 13px;
	height: 13px;
	background: #103623;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M7.2 15.2H4.1V7.8h3.1v7.4zm1.2-.1V7.4l2.4-4.8c.2-.5.8-.7 1.3-.5.8.3 1.1 1.2.8 2l-.8 2.2h3.1c.9 0 1.6.8 1.4 1.7l-1.1 5.7c-.2.8-.8 1.4-1.6 1.4H8.4z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M7.2 15.2H4.1V7.8h3.1v7.4zm1.2-.1V7.4l2.4-4.8c.2-.5.8-.7 1.3-.5.8.3 1.1 1.2.8 2l-.8 2.2h3.1c.9 0 1.6.8 1.4 1.7l-1.1 5.7c-.2.8-.8 1.4-1.6 1.4H8.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.agm-product-card:hover .agm-fit-thumb {
	box-shadow: none;
	transform: translateY(-2px);
}

.agm-product-card-premium .agm-fit-badge {
	min-height: 25px;
	padding: 5px 9px;
}

.agm-product-media {
	aspect-ratio: 5 / 3.45;
	padding: 8px;
	border-radius: 8px;
}

.agm-product-card img {
	max-height: 132px;
}

.agm-product-card h4 {
	min-height: 2.55em;
	font-size: 0.95rem;
	line-height: 1.28;
}

.agm-product-brand {
	min-height: 17px;
	font-size: 0.75rem;
	line-height: 1.25;
}

.agm-product-specs {
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	gap: 6px 8px;
	padding: 10px;
	border-radius: 8px;
	font-size: 0.78rem;
}

.agm-product-specs dt,
.agm-product-specs dd {
	min-width: 0;
	overflow-wrap: anywhere;
}

.agm-price {
	gap: 6px;
	font-size: 1.08rem;
	line-height: 1.1;
}

.agm-price-current {
	font-size: 1.18rem;
}

.agm-stock {
	min-height: 1.25em;
	font-size: 0.78rem;
}

.agm-card-actions {
	gap: 8px;
	margin-top: 2px;
}

.agm-card-actions .agm-btn,
.agm-card-actions .agm-btn-ghost {
	min-height: 38px;
	padding: 9px 10px;
}

.agm-parameter-search-card {
	margin-bottom: 24px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	box-shadow: none;
}

.agm-parameter-heading {
	margin: 0;
}

@media (max-width: 1024px) {
	.agm-parameter-search-card :where(.wpfMainWrapper) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.agm-parameter-search-card :where(.wpfMainWrapper) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.agm-parameter-search-card :where(.wpfMainWrapper) {
		grid-template-columns: 1fr;
	}

	.agm-parameter-heading,
	.agm-parameter-toggle {
		width: 100%;
	}
}

.agm-general-catalog-panel {
	margin: 18px auto;
	padding: 14px 16px;
	border-radius: 8px;
}

@media (max-width: 1279px) {
	.agm-products-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.agm-search-hub-root,
	.agm-compatible-products-root,
	.agm-parameter-search-card,
	.agm-general-catalog-panel {
		width: min(100%, calc(100vw - 28px));
	}

	.agm-hub-fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.agm-products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.agm-hub-transport-types {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.agm-search-hub-root {
		padding: 18px;
	}

	.agm-hub-title {
		font-size: 1.34rem;
	}

	.agm-hub-fields {
		grid-template-columns: 1fr;
	}

	.agm-product-card h4 {
		min-height: 0;
	}

}

@media (max-width: 460px) {
	.agm-search-hub-root,
	.agm-compatible-products-root,
	.agm-parameter-search-card,
	.agm-general-catalog-panel {
		width: min(100%, calc(100vw - 20px));
	}

	.agm-hub-transport-types,
	.agm-products-grid,
	.agm-card-actions {
		grid-template-columns: 1fr;
	}

	.agm-product-specs {
		grid-template-columns: minmax(0, 1fr);
	}

	.agm-product-specs dd {
		text-align: left;
	}
}

/* -------------------------------------------
   AGM.lt PRODUCT PRESENTATION SYSTEM
------------------------------------------- */
.agm-product-media,
.agm-woo-product-media {
	position: relative;
	min-height: 190px;
	aspect-ratio: 4 / 3;
	padding: 0;
}

.agm-product-media img,
.agm-woo-product-media img {
	display: block;
	position: absolute;
	inset: 18px;
	width: calc(100% - 36px) !important;
	height: calc(100% - 36px) !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: contain !important;
	object-position: center center !important;
	margin: auto !important;
	transform-origin: center center;
}

.agm-product-card:hover .agm-product-media img,
.agm-woo-card:hover .agm-woo-product-media img {
	transform: none;
}

ul.products li.product.agm-woo-card {
	float: none;
	display: flex !important;
	flex-direction: column;
	min-width: 0;
	padding: 0 !important;
	border: 1px solid var(--agm-border);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 8px 22px rgba(23, 25, 29, 0.05);
	overflow: hidden;
	transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

ul.products li.product.agm-woo-card:hover {
	border-color: #c8ced5;
	box-shadow: 0 14px 30px rgba(23, 25, 29, 0.09);
	transform: translateY(-2px);
}

ul.products li.product.agm-woo-card > a.woocommerce-LoopProduct-link,
ul.products li.product.agm-woo-card > a.button,
ul.products li.product.agm-woo-card > button.button,
ul.products li.product.agm-woo-card > .agm-loop-badge-container {
	display: none !important;
}

ul.products li.product.agm-woo-card a.button:not(.agm-btn):not(.agm-btn-ghost),
ul.products li.product.agm-woo-card button.button:not(.agm-btn):not(.agm-btn-ghost) {
	display: none !important;
}

.agm-woo-card-shell {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 12px;
	padding: 14px;
	text-align: left;
}

.agm-woo-card-badges {
	min-height: 26px;
}

.agm-sale-badge {
	border-color: #ead8ad;
	background: #fff7df;
	color: #79521a;
}

.agm-tech-badge,
.agm-start-stop-badge {
	border-color: #d9dee6;
	background: #f5f7fa;
	color: var(--agm-graphite);
}

.agm-sale-badge,
.agm-tech-badge,
.agm-start-stop-badge,
.agm-fit-badge,
.agm-rec-badge,
.agm-badge-success {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	position: relative;
	overflow: hidden;
	min-height: 24px;
	padding: 5px 9px;
	border-width: 1px;
	border-style: solid;
	border-radius: 9px;
	font-size: 0.66rem;
	font-weight: 850;
	line-height: 1;
	letter-spacing: 0;
	text-transform: uppercase;
	box-shadow: 0 1px 2px rgba(16, 18, 22, 0.04);
	transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.agm-sale-badge::before,
.agm-tech-badge::before,
.agm-start-stop-badge::before {
	content: "";
	flex: 0 0 auto;
	width: 11px;
	height: 11px;
	background: currentColor;
	-webkit-mask: var(--agm-badge-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M9.2 1 3 9h4l-1 6 7-9H9.2z'/%3E%3C/svg%3E")) center / contain no-repeat;
	mask: var(--agm-badge-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M9.2 1 3 9h4l-1 6 7-9H9.2z'/%3E%3C/svg%3E")) center / contain no-repeat;
	opacity: 0.84;
}

.agm-product-card:hover .agm-card-badges > *,
ul.products li.product.agm-woo-card:hover .agm-card-badges > *,
body.single-product .agm-single-hero-badges > *:hover {
	box-shadow: 0 3px 8px rgba(16, 18, 22, 0.07);
	transform: translateY(-2px);
}

.agm-tech-agm {
	border-color: #2f3540;
	background: #242934;
	color: #fff;
}

.agm-tech-efb {
	border-color: #bfd8f6;
	background: #edf6ff;
	color: #245b86;
}

.agm-tech-sli,
.agm-tech-sfb,
.agm-tech-gel {
	border-color: #cfe6d6;
	background: #f0faf3;
	color: #27643f;
}

.agm-start-stop-badge {
	--agm-badge-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12.8 5.2A5.2 5.2 0 0 0 3.1 4.4M3.2 10.8a5.2 5.2 0 0 0 9.7.8M12.8 2v3.2H9.6M3.2 14v-3.2h3.2'/%3E%3C/svg%3E");
	border-color: #efd3ad;
	background: #fff4e6;
	color: #86531d;
}

.agm-sale-badge {
	--agm-badge-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.8 2.5 8.1 2l6.1 6.1-6.1 6.1L2 8.1l-.2-5.6zm4 3a1.3 1.3 0 1 0-2.6 0 1.3 1.3 0 0 0 2.6 0z'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
	.agm-sale-badge,
	.agm-tech-badge,
	.agm-start-stop-badge,
	.agm-fit-badge,
	.agm-rec-badge {
		transition: none;
	}
}

@media (max-width: 520px) {
	.agm-sale-badge,
	.agm-tech-badge,
	.agm-start-stop-badge,
	.agm-fit-badge,
	.agm-rec-badge {
		min-height: 23px;
		padding: 5px 8px;
		font-size: 0.62rem;
		letter-spacing: 0.025em;
	}
}

.agm-woo-title-link {
	display: grid;
	gap: 3px;
	color: var(--agm-graphite);
	text-decoration: none;
}

.agm-woo-title-link:hover {
	color: var(--agm-red);
}

.agm-card-title-main {
	display: block;
	color: inherit;
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.25;
	letter-spacing: 0;
}

.agm-card-title-sub {
	display: block;
	color: var(--agm-muted);
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1.3;
}

.agm-product-specs-compact {
	grid-template-columns: 1fr 1fr;
	padding: 10px;
	font-size: 0.82rem;
}

.agm-woo-price {
	margin-top: auto;
}

.agm-woo-card-actions {
	margin-top: 2px;
}

.agm-woo-card-actions .agm-btn,
.agm-woo-card-actions .agm-btn-ghost {
	min-height: 42px;
}

ul.products li.product.agm-woo-card .screen-reader-text,
.price .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}


body.search ul.products,
body.archive ul.products {
	align-items: stretch;
}

body.search ul.products,
body.archive ul.products,
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products {
	max-width: 1180px;
	margin-left: auto !important;
	margin-right: auto !important;
}

@media (max-width: 768px) {
	.agm-product-media,
	.agm-woo-product-media {
		min-height: 168px;
	}

	.agm-product-media img,
	.agm-woo-product-media img {
		inset: 14px;
		width: calc(100% - 28px) !important;
		height: calc(100% - 28px) !important;
	}




}

@media (max-width: 430px) {
	ul.products {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 14px !important;
	}

	ul.products li.product.agm-woo-card {
		width: 100% !important;
		margin: 0 !important;
	}

	.agm-woo-card-shell {
		padding: 12px;
	}

	.agm-product-media,
	.agm-woo-product-media {
		min-height: 150px;
	}
}
