/* AGM.LT product page v2 */
.agm-pdp {
	--pdp-red: #c50237;
	--pdp-red-2: #e3063f;
	--pdp-ink: #16161d;
	--pdp-ink-2: #2a2a33;
	--pdp-muted: #6b6b76;
	--pdp-line: #e9e9ee;
	--pdp-soft: #f6f6f9;
	--pdp-green: #11a35a;
	--pdp-green-soft: #e8f8ef;
	--pdp-radius: 18px;
	--pdp-shadow: 0 10px 30px rgba(22, 22, 29, .07);
	max-width: 1280px;
	margin: 0 auto;
	padding: 18px 24px 110px;
	color: var(--pdp-ink);
	font-size: 16px;
	line-height: 1.55;
}
.agm-pdp *, .agm-pdp *::before, .agm-pdp *::after { box-sizing: border-box; }
.agm-pdp h1, .agm-pdp h2, .agm-pdp h3, .agm-pdp button, .agm-pdp a, .agm-pdp summary, .agm-pdp strong, .agm-pdp span, .agm-pdp small { text-transform: none; letter-spacing: normal; }
.agm-pdp h2 { font-size: 22px; line-height: 1.25; margin: 0 0 14px; font-weight: 800; color: var(--pdp-ink); }
.agm-pdp h3 { font-size: 16px; margin: 22px 0 6px; font-weight: 700; color: var(--pdp-ink); }
.agm-pdp a { color: var(--pdp-red); }

/* breadcrumbs */
.agm-pdp .agm-pdp__crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--pdp-muted); margin: 0 0 16px; }
.agm-pdp .agm-pdp__crumbs a { color: var(--pdp-muted); text-decoration: none; }
.agm-pdp .agm-pdp__crumbs a:hover { color: var(--pdp-red); }
.agm-pdp .agm-pdp__crumbs [aria-current] { color: var(--pdp-ink); font-weight: 600; }
.agm-pdp .agm-pdp__crumb-sep { opacity: .5; }

/* hero */
.agm-pdp .agm-pdp__hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: start; }

/* gallery */
.agm-pdp .agm-pdp__gallery { position: sticky; top: calc(var(--agm-top, 0px) + 20px); }
.agm-pdp .agm-pdp__stage {
	position: relative; aspect-ratio: 1 / 1; border-radius: 24px; overflow: hidden; cursor: zoom-in;
	background: radial-gradient(120% 90% at 50% 20%, #fff 0%, #f3f3f7 60%, #ececf2 100%);
	border: 1px solid var(--pdp-line);
}
.agm-pdp .agm-pdp__stage::after { /* soft red glow */
	content: ""; position: absolute; inset: auto -20% -45% -20%; height: 70%; pointer-events: none;
	background: radial-gradient(closest-side, rgba(197, 2, 55, .12), transparent 70%);
}
.agm-pdp .agm-pdp__slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 8%; opacity: 0; transform: scale(.97); transition: opacity .35s ease, transform .5s ease; }
.agm-pdp .agm-pdp__slide.is-active { opacity: 1; transform: none; z-index: 1; }
.agm-pdp .agm-pdp__slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(22, 22, 29, .18)); transition: transform .2s ease-out; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.agm-pdp .agm-pdp__stage.is-zoom .agm-pdp__slide.is-active img { transform: scale(1.9); filter: none; }
.agm-pdp .agm-pdp__badges { position: absolute; top: 16px; left: 16px; z-index: 3; display: flex; gap: 8px; }
.agm-pdp .agm-pdp__badge { font-size: 12px; font-weight: 800; padding: 6px 11px; border-radius: 999px; background: var(--pdp-ink); color: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }
.agm-pdp .agm-pdp__badge--sale { background: var(--pdp-red); }
.agm-pdp .agm-pdp__badge.agm-tech-agm { background: linear-gradient(135deg, #1b1b24, #3a3a48); }
.agm-pdp .agm-pdp__badge.agm-tech-efb { background: linear-gradient(135deg, #0f5ea8, #1c86d6); }
.agm-pdp .agm-pdp__zoom-hint { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; color: var(--pdp-ink-2); background: rgba(255, 255, 255, .85); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--pdp-line); }
.agm-pdp .agm-pdp__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.agm-pdp .agm-pdp__thumb { flex: 0 0 76px; height: 76px; padding: 6px; border-radius: 14px; border: 2px solid var(--pdp-line); background: #fff; cursor: pointer; transition: border-color .2s, transform .2s; }
.agm-pdp .agm-pdp__thumb:hover { transform: translateY(-2px); }
.agm-pdp .agm-pdp__thumb.is-active { border-color: var(--pdp-red); }
.agm-pdp .agm-pdp__thumb img { width: 100%; height: 100%; object-fit: contain; }

/* buy box */
.agm-pdp .agm-pdp__buy { min-width: 0; }
.agm-pdp .agm-pdp__eyebrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; }
.agm-pdp .agm-pdp__brand { font-size: 12px; font-weight: 800; letter-spacing: .12em !important; text-transform: uppercase !important; color: var(--pdp-red); background: rgba(197, 2, 55, .08); padding: 5px 10px; border-radius: 8px; }
.agm-pdp .agm-pdp__sku { display: inline-flex; gap: 6px; align-items: center; font: inherit; font-size: 13px; color: var(--pdp-muted); background: none; border: 1px dashed #cfcfd8; border-radius: 8px; padding: 4px 9px; cursor: pointer; transition: border-color .2s, color .2s; }
.agm-pdp .agm-pdp__sku:hover { border-color: var(--pdp-red); color: var(--pdp-ink); }
.agm-pdp .agm-pdp__sku strong { color: var(--pdp-ink); font-weight: 700; }
.agm-pdp .agm-pdp__title { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; font-weight: 800; margin: 0 0 18px; color: var(--pdp-ink); }
.agm-pdp .agm-pdp__title span { color: var(--pdp-muted); font-weight: 600; font-size: .62em; display: block; margin-top: 4px; }

.agm-pdp .agm-pdp__keyspecs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.agm-pdp .agm-pdp__kspec { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 12px 11px; border-radius: 14px; background: var(--pdp-soft); border: 1px solid var(--pdp-line); transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.agm-pdp .agm-pdp__kspec:hover { transform: translateY(-3px); box-shadow: var(--pdp-shadow); border-color: #dcdce4; }
.agm-pdp .agm-pdp__kspec-ico { width: 26px; height: 26px; color: var(--pdp-red); margin-bottom: 4px; }
.agm-pdp .agm-pdp__kspec-ico svg { width: 100%; height: 100%; }
.agm-pdp .agm-pdp__kspec strong { font-size: 22px; line-height: 1.1; font-weight: 800; color: var(--pdp-ink); white-space: nowrap; }
.agm-pdp .agm-pdp__kspec strong small { font-size: 13px; font-weight: 700; color: var(--pdp-muted); }
.agm-pdp .agm-pdp__kspec > span:last-child { font-size: 12px; color: var(--pdp-muted); }
.agm-pdp .agm-pdp__kspec--pol strong { font-size: 16px; }
.agm-pdp .agm-pdp__pol { width: 58px; height: 30px; margin-bottom: 2px; }
.agm-pdp .agm-pdp__pol rect:first-child { fill: #fff; stroke: var(--pdp-ink-2); stroke-width: 2; }
.agm-pdp .agm-pdp__pol .is-plus { fill: var(--pdp-red); }
.agm-pdp .agm-pdp__pol .is-minus { fill: #444; }
.agm-pdp .agm-pdp__pol text { font: 800 13px/1 system-ui, sans-serif; fill: var(--pdp-ink); }
.agm-pdp .agm-pdp__subline { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.agm-pdp .agm-pdp__subline span { font-size: 13px; font-weight: 600; color: var(--pdp-ink-2); background: #fff; border: 1px solid var(--pdp-line); padding: 4px 10px; border-radius: 999px; }

.agm-pdp .agm-pdp__pricebox { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 18px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(135deg, #fff 0%, #fff6f8 100%); border: 1px solid #f3d9e0; margin-bottom: 14px; }
.agm-pdp .agm-pdp__price { display: flex; align-items: baseline; gap: 8px; font-size: 34px; font-weight: 900; color: var(--pdp-ink); line-height: 1; }
.agm-pdp .agm-pdp__price del { font-size: 18px; color: var(--pdp-muted); font-weight: 600; }
.agm-pdp .agm-pdp__price ins { text-decoration: none; color: var(--pdp-red); }
.agm-pdp .agm-pdp__price small { font-size: 12px; font-weight: 600; color: var(--pdp-muted); }
.agm-pdp .agm-pdp__stock { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.agm-pdp .agm-pdp__stock.is-in { color: var(--pdp-green); }
.agm-pdp .agm-pdp__stock.is-out { color: #b45309; }
.agm-pdp .agm-pdp__dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: agmPdpPulse 2s infinite; }
@keyframes agmPdpPulse { 0% { box-shadow: 0 0 0 0 rgba(17, 163, 90, .5); } 70% { box-shadow: 0 0 0 9px rgba(17, 163, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(17, 163, 90, 0); } }

/* add to cart form */
body.single-product .agm-pdp .agm-pdp__atc form.cart { display: flex !important; grid-template-columns: none !important; width: 100%; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; gap: 10px; align-items: stretch; margin: 0 0 16px !important; flex-wrap: nowrap; }
body.single-product .agm-pdp .agm-pdp__atc .stock { display: none !important; }
body.single-product .agm-pdp .agm-pdp__atc form.cart .quantity { display: flex; align-items: center; border: 2px solid var(--pdp-line); border-radius: 14px; background: #fff; overflow: hidden; margin: 0 !important; flex: 0 0 auto; display: flex !important; }
body.single-product .agm-pdp .agm-pdp__atc form.cart .quantity input.qty { width: 46px !important; min-height: 0 !important; height: 54px; border: 0 !important; border-radius: 0 !important; text-align: center; font-size: 17px; font-weight: 800; background: transparent; -moz-appearance: textfield; padding: 0 !important; box-shadow: none !important; }
.agm-pdp .agm-pdp__atc .quantity input.qty::-webkit-outer-spin-button, .agm-pdp .agm-pdp__atc .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.agm-pdp .agm-pdp__qbtn { width: 38px; height: 54px; border: 0; background: none; font-size: 20px; font-weight: 700; color: var(--pdp-ink); cursor: pointer; padding: 0; }
.agm-pdp .agm-pdp__qbtn:hover { color: var(--pdp-red); background: var(--pdp-soft); }
body.single-product .agm-pdp .agm-pdp__atc form.cart .single_add_to_cart_button {
	position: relative; overflow: hidden; flex: 1 1 auto; min-height: 58px; border: 0 !important; border-radius: 14px !important;
	background: linear-gradient(135deg, var(--pdp-red) 0%, var(--pdp-red-2) 100%) !important; color: #fff !important;
	font-size: 17px !important; font-weight: 800 !important; letter-spacing: .01em; text-transform: none !important; padding: 0 22px !important;
	box-shadow: 0 12px 26px rgba(197, 2, 55, .32); transition: transform .2s, box-shadow .2s; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: auto !important;
}
body.single-product .agm-pdp .agm-pdp__atc form.cart .single_add_to_cart_button::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h3l2.6 12.2a1.5 1.5 0 0 0 1.5 1.2h8.7a1.5 1.5 0 0 0 1.5-1.2L21 7H6'/%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 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h3l2.6 12.2a1.5 1.5 0 0 0 1.5 1.2h8.7a1.5 1.5 0 0 0 1.5-1.2L21 7H6'/%3E%3C/svg%3E") center / contain no-repeat; }
body.single-product .agm-pdp .agm-pdp__atc form.cart .single_add_to_cart_button::after { /* shine sweep */
	content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg);
	animation: agmPdpShine 3.6s ease-in-out infinite;
}
@keyframes agmPdpShine { 0%, 55% { left: -60%; } 80%, 100% { left: 130%; } }
body.single-product .agm-pdp .agm-pdp__atc form.cart .single_add_to_cart_button:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(197, 2, 55, .4); }
body.single-product .agm-pdp .agm-pdp__atc form.cart .single_add_to_cart_button.is-loading { pointer-events: none; opacity: .85; }
body.single-product .agm-pdp .agm-pdp__atc form.cart .single_add_to_cart_button.is-loading::before { -webkit-mask: none; mask: none; border: 2.5px solid rgba(255, 255, 255, .5); border-top-color: #fff; border-radius: 50%; animation: agmPdpSpin .7s linear infinite; background: none; }
body.single-product .agm-pdp .agm-pdp__atc form.cart .single_add_to_cart_button.is-added { background: linear-gradient(135deg, #0e9451, #16b766) !important; box-shadow: 0 12px 26px rgba(17, 163, 90, .35); }
@keyframes agmPdpSpin { to { transform: rotate(360deg); } }

/* perks */
.agm-pdp .agm-pdp__perks { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.agm-pdp .agm-pdp__perks li { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: 14px; border: 1px solid var(--pdp-line); background: #fff; margin: 0; }
.agm-pdp .agm-pdp__perks li.is-pickup { border-color: #bfe9d2; background: var(--pdp-green-soft); }
.agm-pdp .agm-pdp__perks li.is-pickup .agm-pdp__perk-ico { color: var(--pdp-green); background: #fff; }
.agm-pdp .agm-pdp__perk-ico { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--pdp-red); background: rgba(197, 2, 55, .07); }
.agm-pdp .agm-pdp__perk-ico svg { width: 19px; height: 19px; }
.agm-pdp .agm-pdp__perks strong { display: block; font-size: 14px; line-height: 1.3; }
.agm-pdp .agm-pdp__perks small { display: block; font-size: 12.5px; color: var(--pdp-muted); line-height: 1.4; margin-top: 2px; }
.agm-pdp .agm-pdp__perks small a { color: var(--pdp-ink-2); text-decoration: underline; text-underline-offset: 2px; }
.agm-pdp .agm-pdp__perks .is-free { color: var(--pdp-green); font-style: normal; }
.agm-pdp .agm-pdp__perks .woocommerce-Price-amount { font-weight: 800; }
.agm-pdp .agm-pdp__fit:empty { display: none; }

/* section nav */
.agm-pdp .agm-pdp__nav { position: sticky; top: var(--agm-top, 0px); transition: top .2s; z-index: 30; margin: 34px -24px 22px; padding: 0 24px; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--pdp-line); }
.agm-pdp .agm-pdp__nav-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.agm-pdp .agm-pdp__nav-inner::-webkit-scrollbar { display: none; }
.agm-pdp .agm-pdp__nav a { position: relative; flex: 0 0 auto; padding: 15px 14px; font-size: 14.5px; font-weight: 700; color: var(--pdp-muted); text-decoration: none; white-space: nowrap; transition: color .2s; }
.agm-pdp .agm-pdp__nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--pdp-red); transform: scaleX(0); transition: transform .25s ease; }
.agm-pdp .agm-pdp__nav a:hover { color: var(--pdp-ink); }
.agm-pdp .agm-pdp__nav a.is-active { color: var(--pdp-ink); }
.agm-pdp .agm-pdp__nav a.is-active::after { transform: scaleX(1); }

/* body */
.agm-pdp .agm-pdp__body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.agm-pdp .agm-pdp__aside { position: sticky; top: calc(var(--agm-top, 0px) + 72px); transition: top .2s; }
.agm-pdp .agm-pdp__mini { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--pdp-radius); background: #fff; border: 1px solid var(--pdp-line); box-shadow: var(--pdp-shadow); }
.agm-pdp .agm-pdp__mini-img { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--pdp-soft); border-radius: 12px; overflow: hidden; }
.agm-pdp .agm-pdp__mini-img img { max-width: 80%; max-height: 90%; object-fit: contain; }
.agm-pdp .agm-pdp__mini-name { font-size: 15px; line-height: 1.3; }
.agm-pdp .agm-pdp__mini-price { font-size: 26px; font-weight: 900; line-height: 1; }
.agm-pdp .agm-pdp__mini-price del { font-size: 14px; color: var(--pdp-muted); font-weight: 600; }
.agm-pdp .agm-pdp__mini-price ins { text-decoration: none; color: var(--pdp-red); }
.agm-pdp .agm-pdp__mini .agm-pdp__stock { font-size: 13px; }
.agm-pdp .agm-pdp__mini-btn { width: 100%; padding: 14px; font-size: 16px; }
.agm-pdp .agm-pdp__mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 13.5px; color: var(--pdp-ink-2); }
.agm-pdp .agm-pdp__mini-list li { margin: 0; padding-left: 22px; position: relative; }
.agm-pdp .agm-pdp__mini-list li::before { content: "✓"; position: absolute; left: 0; color: var(--pdp-green); font-weight: 900; }
.agm-pdp .agm-pdp__mini-call { font-size: 13px; font-weight: 700; color: var(--pdp-ink-2); text-decoration: none; border-top: 1px solid var(--pdp-line); padding-top: 10px; }
.agm-pdp .agm-pdp__mini-call:hover { color: var(--pdp-red); }
@media (max-width: 1100px) { .agm-pdp .agm-pdp__body { grid-template-columns: minmax(0, 1fr); } .agm-pdp .agm-pdp__aside { display: none; } }
.agm-pdp [data-agm-section] { scroll-margin-top: calc(var(--agm-top, 0px) + 64px); }
.agm-pdp .agm-pdp__lead { font-size: 17px; color: var(--pdp-ink-2); margin-bottom: 22px; padding-left: 16px; border-left: 4px solid var(--pdp-red); }
.agm-pdp .agm-pdp__lead p { margin: 0 0 8px; }
.agm-pdp .agm-pdp__card { background: #fff; border: 1px solid var(--pdp-line); border-radius: var(--pdp-radius); padding: 26px 28px; margin-bottom: 18px; box-shadow: 0 2px 0 rgba(22, 22, 29, .02); }
.agm-pdp .agm-pdp__card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.agm-pdp .agm-pdp__count { font-size: 13px; font-weight: 700; color: var(--pdp-red); background: rgba(197, 2, 55, .07); padding: 4px 10px; border-radius: 999px; }
.agm-pdp .agm-pdp__muted { color: var(--pdp-muted); font-size: 14px; margin: 0 0 12px; }
.agm-pdp .agm-pdp__note { margin: 14px 0 0; font-size: 13.5px; color: var(--pdp-muted); padding: 10px 12px; background: var(--pdp-soft); border-radius: 10px; }

.agm-pdp .agm-pdp__spec { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 0; }
.agm-pdp .agm-pdp__spec div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--pdp-line); }
.agm-pdp .agm-pdp__spec dt { color: var(--pdp-muted); font-weight: 500; margin: 0; }
.agm-pdp .agm-pdp__spec dd { margin: 0; font-weight: 700; text-align: right; }

/* vehicles */
.agm-pdp .agm-pdp__search { display: flex; align-items: center; gap: 8px; border: 2px solid var(--pdp-line); border-radius: 12px; padding: 0 12px; margin-bottom: 14px; color: var(--pdp-muted); transition: border-color .2s; background: #fff; }
.agm-pdp .agm-pdp__search:focus-within { border-color: var(--pdp-red); }
.agm-pdp .agm-pdp__search input { flex: 1; border: 0 !important; outline: 0; height: 46px; font-size: 15px; background: none; box-shadow: none !important; padding: 0 !important; }
.agm-pdp .agm-pdp__makes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: start; }
.agm-pdp .agm-pdp__make { border: 1px solid var(--pdp-line); border-radius: 12px; background: var(--pdp-soft); overflow: hidden; }
.agm-pdp .agm-pdp__make[open] { grid-column: 1 / -1; background: #fff; box-shadow: var(--pdp-shadow); }
.agm-pdp .agm-pdp__make summary { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; cursor: pointer; list-style: none; font-size: 15px; }
.agm-pdp .agm-pdp__make summary::-webkit-details-marker { display: none; }
.agm-pdp .agm-pdp__make summary span { font-size: 12px; font-weight: 700; color: var(--pdp-muted); background: #fff; border: 1px solid var(--pdp-line); border-radius: 999px; padding: 2px 9px; }
.agm-pdp .agm-pdp__make summary::after { content: "+"; font-weight: 800; color: var(--pdp-red); margin-left: 8px; }
.agm-pdp .agm-pdp__make[open] summary::after { content: "−"; }
.agm-pdp .agm-pdp__make ul { list-style: none; margin: 0; padding: 4px 14px 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 18px; }
.agm-pdp .agm-pdp__make li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--pdp-line); font-size: 14px; }
.agm-pdp .agm-pdp__make li a { color: var(--pdp-ink); text-decoration: none; font-weight: 600; }
.agm-pdp .agm-pdp__make li a:hover { color: var(--pdp-red); }
.agm-pdp .agm-pdp__make li small { color: var(--pdp-muted); white-space: nowrap; }
.agm-pdp .agm-pdp__make li[hidden], .agm-pdp .agm-pdp__make[hidden] { display: none; }

/* codes */
.agm-pdp .agm-pdp__codes { display: grid; gap: 8px; }
.agm-pdp .agm-pdp__codegroup { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 0; border-bottom: 1px dashed var(--pdp-line); }
.agm-pdp .agm-pdp__codebrand { flex: 0 0 150px; font-weight: 800; font-size: 13px; color: var(--pdp-ink); }
.agm-pdp .agm-pdp__code { font: 600 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 7px 10px; border-radius: 8px; background: var(--pdp-soft); border: 1px solid var(--pdp-line); color: var(--pdp-ink-2); cursor: copy; transition: background .15s, border-color .15s, transform .15s; }
.agm-pdp .agm-pdp__code:hover { background: #fff; border-color: var(--pdp-red); transform: translateY(-1px); }
.agm-pdp .agm-pdp__code.is-copied, .agm-pdp .agm-pdp__sku.is-copied { background: var(--pdp-green-soft); border-color: var(--pdp-green); color: var(--pdp-green); }
.agm-pdp .agm-pdp__sku-line { margin-top: 14px; }

/* description */
.agm-pdp .agm-pdp__prose { position: relative; color: var(--pdp-ink-2); }
.agm-pdp .agm-pdp__prose h2 { font-size: 19px; margin: 18px 0 8px; }
.agm-pdp .agm-pdp__prose h2:first-child { margin-top: 0; }
.agm-pdp .agm-pdp__prose img { max-width: 100%; height: auto; border-radius: 12px; }
.agm-pdp .agm-pdp__prose.is-collapsed { max-height: 360px; overflow: hidden; }
.agm-pdp .agm-pdp__prose.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, #fff); }
.agm-pdp .agm-pdp__more { margin-top: 10px; font: inherit; font-weight: 700; color: var(--pdp-red); background: none; border: 2px solid rgba(197, 2, 55, .2); border-radius: 12px; padding: 9px 16px; cursor: pointer; }
.agm-pdp .agm-pdp__more:hover { border-color: var(--pdp-red); }
.agm-pdp .agm-pdp__more[hidden] { display: none; }

/* warranty */
.agm-pdp .agm-pdp__warranty { display: flex; gap: 20px; align-items: center; margin-bottom: 14px; }
.agm-pdp .agm-pdp__warranty p { margin: 0 0 8px; color: var(--pdp-ink-2); }
.agm-pdp .agm-pdp__warranty-big { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--pdp-ink), #3a3a48); }
.agm-pdp .agm-pdp__warranty-big strong { font-size: 42px; line-height: 1; font-weight: 900; }
.agm-pdp .agm-pdp__warranty-big span { font-size: 13px; line-height: 1.2; font-weight: 700; opacity: .9; }
.agm-pdp .agm-pdp__link { font-weight: 700; text-decoration: none; }
.agm-pdp .agm-tips { margin: 0; }

/* FAQ */
.agm-pdp .agm-pdp__faq details { border-bottom: 1px solid var(--pdp-line); }
.agm-pdp .agm-pdp__faq summary { position: relative; padding: 15px 36px 15px 0; cursor: pointer; font-weight: 700; list-style: none; }
.agm-pdp .agm-pdp__faq summary::-webkit-details-marker { display: none; }
.agm-pdp .agm-pdp__faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--pdp-red); border-bottom: 2.5px solid var(--pdp-red); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.agm-pdp .agm-pdp__faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.agm-pdp .agm-pdp__faq p { margin: 0 0 16px; color: var(--pdp-ink-2); }

/* related */
.agm-pdp .agm-pdp__related { margin-top: 30px; }
.agm-pdp .agm-pdp__related-head { display: flex; justify-content: space-between; align-items: center; }
.agm-pdp .agm-pdp__related-arrows { display: flex; gap: 8px; }
.agm-pdp .agm-pdp__related-arrows button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--pdp-line); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--pdp-ink); padding: 0; }
.agm-pdp .agm-pdp__related-arrows button:hover { border-color: var(--pdp-red); color: var(--pdp-red); }
.agm-pdp .agm-pdp__rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 14px; }
.agm-pdp .agm-pdp__rail::-webkit-scrollbar { display: none; }
.agm-pdp .agm-pdp__rcard { scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 16px; border: 1px solid var(--pdp-line); background: #fff; text-decoration: none; color: var(--pdp-ink); transition: transform .25s, box-shadow .25s; }
.agm-pdp .agm-pdp__rcard:hover { transform: translateY(-4px); box-shadow: var(--pdp-shadow); }
.agm-pdp .agm-pdp__rimg { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--pdp-soft); border-radius: 12px; overflow: hidden; }
.agm-pdp .agm-pdp__rimg img { max-width: 88%; max-height: 88%; object-fit: contain; }
.agm-pdp .agm-pdp__rname { font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.agm-pdp .agm-pdp__rchip { align-self: flex-start; font-size: 11.5px; font-weight: 700; color: var(--pdp-green); background: var(--pdp-green-soft); padding: 3px 8px; border-radius: 999px; }
.agm-pdp .agm-pdp__rprice { font-weight: 900; font-size: 17px; margin-top: auto; }
.agm-pdp .agm-pdp__rprice del { font-size: 13px; color: var(--pdp-muted); font-weight: 600; }
.agm-pdp .agm-pdp__rprice ins { text-decoration: none; color: var(--pdp-red); }

/* sticky buy bar */
.agm-pdp .agm-pdp__bar { position: fixed; left: 50%; bottom: 16px; z-index: 60; width: max-content; max-width: min(520px, calc(100% - 24px)); display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 8px; border-radius: 16px; background: rgba(22, 22, 29, .94); backdrop-filter: blur(10px); color: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); transform: translate(-50%, 160%); transition: transform .35s cubic-bezier(.2, .9, .3, 1.2); }
.agm-pdp .agm-pdp__bar.is-visible { transform: translate(-50%, 0); }
.agm-pdp .agm-pdp__bar-info { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 auto; }
.agm-pdp .agm-pdp__bar-info img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 10px; padding: 3px; flex: 0 0 auto; }
.agm-pdp .agm-pdp__bar-info > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.agm-pdp .agm-pdp__bar-info strong { font-size: 13.5px; font-weight: 700; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 300px; }
.agm-pdp .agm-pdp__bar-info em { font-style: normal; font-weight: 800; font-size: 16px; white-space: nowrap; }
.agm-pdp .agm-pdp__bar-info em * { white-space: nowrap; }
.agm-pdp .agm-pdp__bar-info em del { opacity: .6; font-size: 12px; margin-right: 4px; }
.agm-pdp .agm-pdp__bar-info em ins { text-decoration: none; }
/* desktop has the sticky side card with its own button */
@media (min-width: 1101px) { .agm-pdp .agm-pdp__bar { display: none; } }
.agm-pdp .agm-pdp__bar-btn { flex: 0 0 auto; border: 0; border-radius: 12px; padding: 12px 20px; white-space: nowrap; font: inherit; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--pdp-red), var(--pdp-red-2)); cursor: pointer; box-shadow: 0 8px 20px rgba(197, 2, 55, .4); }

/* lightbox */
.agm-pdp .agm-pdp__lightbox { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; background: rgba(12, 12, 16, .92); animation: agmPdpFade .2s ease; }
.agm-pdp .agm-pdp__lightbox[hidden] { display: none; }
.agm-pdp .agm-pdp__lightbox img { max-width: 88vw; max-height: 86vh; object-fit: contain; background: #fff; border-radius: 16px; padding: 3%; }
.agm-pdp .agm-pdp__lb-close, .agm-pdp .agm-pdp__lb-nav { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; padding: 0; }
.agm-pdp .agm-pdp__lb-close { top: 18px; right: 18px; }
.agm-pdp .agm-pdp__lb-nav.is-prev { left: 18px; }
.agm-pdp .agm-pdp__lb-nav.is-next { right: 18px; }
@keyframes agmPdpFade { from { opacity: 0; } }

/* toast */
.agm-pdp-toast { position: fixed; top: 20px; left: 50%; z-index: 100001; transform: translate(-50%, -140%); display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px; border-radius: 14px; background: #fff; color: var(--pdp-ink, #16161d); box-shadow: 0 18px 40px rgba(0, 0, 0, .18); border: 1px solid #bfe9d2; font-weight: 700; transition: transform .35s cubic-bezier(.2, .9, .3, 1.2); }
.agm-pdp-toast.is-visible { transform: translate(-50%, 0); }
.agm-pdp-toast::before { content: "✓"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #11a35a; color: #fff; font-size: 14px; }
.agm-pdp-toast a { color: #c50237; text-decoration: none; font-weight: 800; margin-left: 6px; }

/* reveal */
.agm-pdp .agm-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.agm-pdp .agm-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.agm-pdp .agm-reveal { opacity: 1; transform: none; transition: none; }
	body.single-product .agm-pdp .agm-pdp__atc form.cart .single_add_to_cart_button::after, .agm-pdp .agm-pdp__dot { animation: none; }
}

/* responsive */
@media (max-width: 1024px) {
	.agm-pdp .agm-pdp__hero { grid-template-columns: 1fr 1fr; gap: 24px; }
	.agm-pdp .agm-pdp__keyspecs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.agm-pdp .agm-pdp__perks { grid-template-columns: 1fr; }
	.agm-pdp .agm-pdp__makes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.agm-pdp .agm-pdp__make ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.agm-pdp .agm-pdp__rail { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
}
@media (max-width: 767px) {
	.agm-pdp { padding: 10px 16px 110px; font-size: 15px; }
	.agm-pdp .agm-pdp__hero { grid-template-columns: 1fr; gap: 18px; }
	.agm-pdp .agm-pdp__gallery { position: static; }
	.agm-pdp .agm-pdp__stage { border-radius: 18px; aspect-ratio: 4 / 3; }
	.agm-pdp .agm-pdp__zoom-hint { display: none; }
	.agm-pdp .agm-pdp__thumb { flex-basis: 60px; height: 60px; }
	.agm-pdp .agm-pdp__title { font-size: 26px; }
	.agm-pdp .agm-pdp__keyspecs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
	.agm-pdp .agm-pdp__kspec { padding: 9px 6px 8px; border-radius: 12px; align-items: center; text-align: center; }
	.agm-pdp .agm-pdp__kspec-ico { width: 18px; height: 18px; margin-bottom: 2px; }
	.agm-pdp .agm-pdp__kspec strong { font-size: 16px; }
	.agm-pdp .agm-pdp__kspec strong small { font-size: 11px; }
	.agm-pdp .agm-pdp__kspec > span:last-child { font-size: 10.5px; line-height: 1.2; }
	.agm-pdp .agm-pdp__kspec--pol strong { font-size: 13px; }
	.agm-pdp .agm-pdp__pol { width: 34px; height: 18px; }
	.agm-pdp .agm-pdp__subline span { font-size: 12px; padding: 3px 8px; }
	.agm-pdp .agm-pdp__title span { font-size: .6em; }
	.agm-pdp .agm-pdp__price { font-size: 30px; }
	.agm-pdp .agm-pdp__nav { margin: 24px -16px 16px; padding: 0 8px; }
	.agm-pdp .agm-pdp__nav a { padding: 13px 10px; font-size: 13.5px; }
	.agm-pdp .agm-pdp__card { padding: 20px 16px; border-radius: 16px; }
	.agm-pdp h2 { font-size: 20px; }
	.agm-pdp .agm-pdp__spec { grid-template-columns: 1fr; }
	.agm-pdp .agm-pdp__makes { grid-template-columns: 1fr 1fr; }
	.agm-pdp .agm-pdp__make ul { grid-template-columns: 1fr; }
	.agm-pdp .agm-pdp__codebrand { flex-basis: 100%; }
	.agm-pdp .agm-pdp__warranty { flex-direction: column; align-items: flex-start; }
	.agm-pdp .agm-pdp__rail { grid-auto-columns: 72%; }
	.agm-pdp .agm-pdp__bar { bottom: 10px; width: calc(100% - 20px); max-width: 520px; }
	.agm-pdp .agm-pdp__bar-info strong { max-width: none; }
	.agm-pdp .agm-pdp__crumbs { font-size: 12px; }
}

/* keep the Elementor kit button hover from repainting our controls */
.agm-pdp .agm-pdp__lb-close:hover, .agm-pdp .agm-pdp__lb-nav:hover, .agm-pdp .agm-pdp__lb-close:focus, .agm-pdp .agm-pdp__lb-nav:focus { background: rgba(255, 255, 255, .22); color: #fff; }
.agm-pdp .agm-pdp__bar-btn:hover, .agm-pdp .agm-pdp__bar-btn:focus { background: linear-gradient(135deg, var(--pdp-red-2), var(--pdp-red)); color: #fff; }
.agm-pdp .agm-pdp__sku:focus, .agm-pdp .agm-pdp__code:focus, .agm-pdp .agm-pdp__thumb:focus, .agm-pdp .agm-pdp__qbtn:focus, .agm-pdp .agm-pdp__more:focus { outline: 2px solid rgba(197, 2, 55, .35); outline-offset: 2px; }
.agm-pdp .agm-pdp__sku, .agm-pdp .agm-pdp__code, .agm-pdp .agm-pdp__thumb, .agm-pdp .agm-pdp__qbtn, .agm-pdp .agm-pdp__more, .agm-pdp .agm-pdp__related-arrows button { text-transform: none; letter-spacing: normal; line-height: 1.2; min-height: 0; }
.agm-pdp .agm-pdp__code:focus, .agm-pdp .agm-pdp__code:hover { color: var(--pdp-ink-2); }
.agm-pdp .agm-pdp__sku:hover, .agm-pdp .agm-pdp__sku:focus { background: none; }
.agm-pdp .agm-pdp__thumb:hover, .agm-pdp .agm-pdp__thumb:focus { background: #fff; }
.agm-pdp .agm-pdp__more:hover, .agm-pdp .agm-pdp__more:focus { background: none; color: var(--pdp-red); }
.agm-pdp .agm-pdp__related-arrows button:focus { background: #fff; }
.agm-pdp .agm-pdp__related-arrows button:hover { background: #fff; }

/* phones: nothing may widen the page (rails and long model names stay inside) */
.agm-pdp { overflow-x: clip; }
.agm-pdp .agm-pdp__main, .agm-pdp .agm-pdp__hero > * { min-width: 0; }
.agm-pdp .agm-pdp__make li a { min-width: 0; overflow-wrap: anywhere; }
.agm-pdp .agm-pdp__make[open] { grid-column: 1 / -1; }
@media (max-width: 767px) {
	.agm-pdp .agm-pdp__make summary { min-height: 48px; }
	.agm-pdp .agm-pdp__make li { padding: 9px 0; }
	.agm-pdp .agm-pdp__make ul { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 400px) {
	.agm-pdp .agm-pdp__make ul { grid-template-columns: minmax(0, 1fr); }
}

/* vehicles: factory-type list first, "better choice" list collapsed below */
.agm-pdp .agm-pdp__upgrades { margin-top: 16px; border: 1px dashed var(--pdp-line); border-radius: 14px; padding: 4px 14px; background: #fff; }
.agm-pdp .agm-pdp__upgrades > summary { cursor: pointer; list-style: none; padding: 12px 0; font-weight: 800; font-size: 15px; color: var(--pdp-ink); }
.agm-pdp .agm-pdp__upgrades > summary::-webkit-details-marker { display: none; }
.agm-pdp .agm-pdp__upgrades > summary::after { content: "+"; float: right; color: var(--pdp-red); font-weight: 800; }
.agm-pdp .agm-pdp__upgrades[open] > summary::after { content: "−"; }
.agm-pdp .agm-pdp__upgrades .agm-pdp__makes { margin-bottom: 12px; }
