/* Mazmotor Pro — car product page */
.mzp { --stage: radial-gradient(70% 55% at 50% 82%, rgba(7, 21, 41, .13), transparent 70%), linear-gradient(180deg, #f9fbfd 0%, #e8eef6 100%); }
.mzp-hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(340px, 1fr); gap: 28px; align-items: start; margin-top: 8px; }

/* Gallery */
.mzp-gallery { position: sticky; top: calc(var(--mz-header-h) + 16px); min-width: 0; }
.mzp-stage { position: relative; aspect-ratio: 16 / 10; border-radius: calc(var(--mz-radius) + 4px); background: var(--stage); border: 1px solid var(--mz-line); overflow: hidden; box-shadow: var(--mz-shadow); touch-action: pan-y; }
.mzp-slide { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; padding: 4% 5%; opacity: 0; visibility: hidden; transition: opacity .45s var(--mz-ease), visibility .45s; }
.mzp-slide.is-on { opacity: 1; visibility: visible; }
.mzp-slide img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(7, 21, 41, .18)); cursor: zoom-in; }
.mzp-nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--mz-dark); box-shadow: 0 6px 20px rgba(7, 21, 41, .16); cursor: pointer; transition: transform .2s, background .2s; }
.mzp-nav:hover { background: #fff; transform: scale(1.06); }
.mzp-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mzp-nav.is-prev { inset-inline-start: 14px; }
.mzp-nav.is-next { inset-inline-end: 14px; }
.mzp-count { position: absolute; bottom: 14px; inset-inline-start: 14px; z-index: 2; padding: 4px 12px; border-radius: 999px; background: rgba(7, 21, 41, .72); color: #fff; font-size: .8rem; font-weight: 700; }
.mzp-zoom { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .9); color: var(--mz-dark); cursor: pointer; }
.mzp-zoom svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mzp-noimg { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--mz-muted); font-weight: 700; }
.mzp-noimg svg { width: 72px; height: 72px; opacity: .4; }
.mzp-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.mzp-thumbs button { flex: 0 0 96px; aspect-ratio: 4 / 3; padding: 4px; border: 2px solid transparent; border-radius: 12px; background: var(--stage); cursor: pointer; opacity: .65; transition: opacity .2s, border-color .2s; }
.mzp-thumbs button.is-on, .mzp-thumbs button:hover { opacity: 1; border-color: var(--mz-primary); }
.mzp-thumbs img { width: 100%; height: 100%; object-fit: contain; }

/* Buying panel */
.mzp-buy { display: grid; gap: 16px; padding: clamp(20px, 2.4vw, 30px); background: var(--mz-surface); border: 1px solid var(--mz-line); border-radius: calc(var(--mz-radius) + 4px); box-shadow: var(--mz-shadow); }
.mzp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mzp-tag { padding: 3px 11px; border-radius: 999px; background: var(--mz-surface-2); border: 1px solid var(--mz-line); font-size: .76rem; font-weight: 700; color: var(--mz-muted); }
.mzp-tag.is-brand { background: color-mix(in srgb, var(--mz-primary) 12%, transparent); border-color: transparent; color: var(--mz-primary); }
.mzp-tag.is-ok { background: color-mix(in srgb, var(--mz-success) 12%, transparent); border-color: transparent; color: var(--mz-success); }
.mzp-title { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.4; font-weight: 900; color: var(--mz-ink); }
.mzp-sub { margin: -10px 0 0; color: var(--mz-muted); font-weight: 600; text-align: start; }
.mzp-keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.mzp-keys li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--mz-radius-sm); background: var(--mz-surface-2); min-width: 0; }
.mzp-keys span { display: grid; min-width: 0; }
.mzp-keys small { font-size: .72rem; color: var(--mz-muted); }
.mzp-keys b { font-size: .85rem; line-height: 1.5; overflow-wrap: anywhere; }
.mzp-ico { flex: none; width: 24px; height: 24px; color: var(--mz-primary); }

.mzp-price { display: grid; gap: 6px; padding: 18px; border-radius: var(--mz-radius); background: linear-gradient(135deg, var(--mz-dark-2), var(--mz-dark)); color: #fff; position: relative; overflow: hidden; }
.mzp-price::after { content: ""; position: absolute; width: 220px; height: 220px; inset-inline-end: -80px; top: -110px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--mz-primary) 55%, transparent), transparent 70%); }
.mzp-price__label { font-size: .8rem; color: var(--mz-primary-2); font-weight: 700; }
.mzp-price__usd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 900; line-height: 1.3; position: relative; z-index: 1; }
.mzp-price__usd .mz-price-to { color: var(--mz-primary-2); font-size: .9rem; }
.mzp-price__fx { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; position: relative; z-index: 1; }
.mzp-price__fx span { display: grid; gap: 2px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.mzp-price__fx small { font-size: .7rem; color: rgba(255, 255, 255, .65); }
.mzp-price__fx b { font-size: .88rem; }
.mzp-price__note { margin: 4px 0 0; display: flex; align-items: center; gap: 8px; font-size: .74rem; color: rgba(255, 255, 255, .7); position: relative; z-index: 1; }
.mzp-live { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: mzpLive 2s infinite; }
@keyframes mzpLive { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

.mzp-trims__h { margin: 0 0 8px; font-weight: 800; }
.mzp-trims__list { display: grid; gap: 6px; max-height: 280px; overflow-y: auto; padding-inline-end: 2px; }
.mzp-trims button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 11px 14px; border: 1.5px solid var(--mz-line); border-radius: var(--mz-radius-sm); background: var(--mz-surface); color: var(--mz-ink); font: inherit; font-size: .86rem; text-align: start; cursor: pointer; transition: border-color .2s, background .2s; }
.mzp-trims button:hover { border-color: color-mix(in srgb, var(--mz-primary) 50%, var(--mz-line)); }
.mzp-trims button.is-on { border-color: var(--mz-primary); background: color-mix(in srgb, var(--mz-primary) 7%, var(--mz-surface)); box-shadow: inset 3px 0 0 var(--mz-primary); }
.mzp-trims .n { font-weight: 700; min-width: 0; }
.mzp-trims .p { flex: none; font-weight: 900; font-size: .82rem; direction: ltr; }

.mzp-cta { display: grid; gap: 10px; }
.mzp-cta .ariandata-cfp { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 !important; }
.mzp-cta .ariandata-cfp-btn { min-height: 52px; justify-content: center; border-radius: 14px !important; font-size: .92rem !important; font-weight: 800; }
.mzp-cta__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mzp-cta__row .mz-btn { min-height: 46px; font-size: .88rem; color: var(--mz-ink); border-color: var(--mz-line); }
.mzp-cta__row .mz-btn svg { width: 18px; height: 18px; }
.mzp-trust { display: grid; gap: 8px; margin: 0; padding: 14px 0 0; list-style: none; border-top: 1px dashed var(--mz-line); font-size: .82rem; color: var(--mz-muted); }
.mzp-trust li { display: flex; align-items: center; gap: 8px; }
.mzp-trust svg { width: 18px; height: 18px; color: var(--mz-success); flex: none; }

/* Section nav + blocks */
.mzp-sections { position: sticky; top: var(--mz-header-h); z-index: 20; display: flex; gap: 6px; margin: 32px 0 8px; padding: 8px; overflow-x: auto; background: color-mix(in srgb, var(--mz-bg) 88%, transparent); backdrop-filter: blur(10px); border-radius: 999px; border: 1px solid var(--mz-line); }
.mzp-sections a { flex: none; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--mz-ink); text-decoration: none; white-space: nowrap; }
.mzp-sections a.is-on, .mzp-sections a:hover { background: var(--mz-dark); color: #fff; }
.mzp-block { margin-top: 20px; padding: clamp(20px, 3vw, 34px); background: var(--mz-surface); border: 1px solid var(--mz-line); border-radius: calc(var(--mz-radius) + 4px); box-shadow: var(--mz-shadow); scroll-margin-top: calc(var(--mz-header-h) + 76px); }
.mzp-block h2 { margin: 0 0 18px; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); }
.mzp-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; margin: 0; }
.mzp-specs > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px; border-radius: var(--mz-radius-sm); background: var(--mz-surface-2); border: 1px solid var(--mz-line); }
.mzp-specs .mzp-ico { grid-row: span 2; width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: color-mix(in srgb, var(--mz-primary) 10%, transparent); box-sizing: content-box; }
.mzp-specs dt { font-size: .76rem; color: var(--mz-muted); font-weight: 600; }
.mzp-specs dd { margin: 0; font-weight: 800; font-size: .92rem; overflow-wrap: anywhere; }
.mzp-hint { margin: 14px 0 0; font-size: .8rem; color: var(--mz-muted); }
.mzp-table { overflow-x: auto; border: 1px solid var(--mz-line); border-radius: var(--mz-radius-sm); }
.mzp-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9rem; }
.mzp-table th, .mzp-table td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--mz-line); white-space: nowrap; }
.mzp-table thead th { background: var(--mz-surface-2); font-size: .8rem; color: var(--mz-muted); }
.mzp-table tbody th { font-weight: 800; }
.mzp-table td:nth-child(2) { direction: ltr; text-align: end; font-weight: 800; }
.mzp-table tbody tr:last-child > * { border-bottom: 0; }
.mzp-table tbody tr:hover { background: color-mix(in srgb, var(--mz-primary) 4%, transparent); }
.mzp-content { line-height: 2; color: var(--mz-ink); }
.mzp-content h3 { margin: 22px 0 10px; font-size: 1.05rem; }
.mzp-content ul { padding-inline-start: 1.2em; }
.mzp-content li { margin-bottom: 4px; }
.mzp-content table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.mzp-content th, .mzp-content td { padding: 8px 10px; border-bottom: 1px solid var(--mz-line); text-align: start; }
#mzp-related { margin-top: 32px; scroll-margin-top: calc(var(--mz-header-h) + 76px); }

/* Lightbox */
.mzp-lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: rgba(4, 12, 26, .94); padding: 40px 70px; }
.mzp-lightbox[hidden] { display: none; }
.mzp-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mzp-lightbox__close { position: absolute; top: 16px; inset-inline-end: 16px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.mzp-lightbox .mzp-nav { background: rgba(255, 255, 255, .14); color: #fff; }

/* Mobile sticky bar */
.mzp-bar { display: none; }

@media (max-width: 1024px) {
	.mzp-hero { grid-template-columns: 1fr; gap: 16px; }
	.mzp-gallery { position: static; }
}
@media (max-width: 640px) {
	.mzp-stage { border-radius: var(--mz-radius); }
	.mzp-nav { width: 38px; height: 38px; }
	.mzp-thumbs button { flex-basis: 76px; }
	.mzp-keys { grid-template-columns: 1fr 1fr; }
	.mzp-price__fx { grid-template-columns: 1fr; }
	.mzp-cta .ariandata-cfp, .mzp-cta__row { grid-template-columns: 1fr; }
	.mzp-sections { margin-top: 20px; border-radius: 16px; }
	.mzp-lightbox { padding: 60px 8px; }
	.mzp-bar { position: fixed; inset-inline: 10px; bottom: calc(var(--mz-bottom-nav, 72px) + 10px); z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 18px; background: var(--mz-dark); color: #fff; box-shadow: 0 12px 30px rgba(7, 21, 41, .35); transform: translateY(160%); transition: transform .35s var(--mz-ease); }
	.mzp-bar.is-on { transform: none; }
	.mzp-bar div { display: grid; min-width: 0; }
	.mzp-bar small { font-size: .7rem; color: var(--mz-primary-2); }
	.mzp-bar b { font-size: .9rem; direction: ltr; text-align: end; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.mzp-bar .mz-btn { flex: none; min-height: 44px; padding: 0 16px; font-size: .85rem; }
	.mzp-bar .is-wa { background: #25d366; border-color: #25d366; }
	.mzp-bar svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) { .mzp-slide, .mzp-bar { transition: none; } .mzp-live { animation: none; } }
