/* Pipo Motors — main styles */

:root {
	--navy: #12295A;
	--navy-dk: #0B1B3D;
	--red: #D5444F;
	--red-brand: #A3303A;
	--red-deep: #7A2230;
	--pink: #F2A6AB;
	--ink: #101113;
	--paper: #F6F5F2;
	--white: #FFFFFF;
	--line: #E2DFD8;
	--card-line: #E8E5DE;
	--field: #D6D3CC;
	--muted: #5B5E63;
	--body: #3A3D42;
	--tint: #E5EAF4;
	--on-dark: #D7DCE8;
	--on-dark-2: #B3BED6;
	--plate: #F7D117;
	--photo: #E9E6DE;
	--display: "Archivo", system-ui, sans-serif;
	--text: "Inter", system-ui, sans-serif;
	--r-sm: 10px;
	--r: 18px;
	--r-lg: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-dk); }
input, select, button, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
[hidden] { display: none !important; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.pm-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: 8px; }
.pm-skip:focus { left: 8px; }
.pm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pm-wrap { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 600px) { .pm-wrap { padding-left: 16px; padding-right: 16px; } }
.pm-section { padding-top: 88px; padding-bottom: 24px; }
.pm-section--tight { padding-top: 56px; }
.pm-section--end { padding-bottom: 88px; }
.pm-mb { margin-bottom: 28px; }
.pm-section__head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }

/* Type */
.pm-eyebrow { margin: 0 0 10px; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--navy); }
.pm-eyebrow--light { color: var(--pink); }
.pm-h1 { margin: 0; font: 800 clamp(34px, 5vw, 56px)/1.05 var(--display); letter-spacing: -.01em; }
.pm-h1__count { font-size: .45em; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.pm-h2 { margin: 0; font: 800 clamp(30px, 4vw, 48px)/1.08 var(--display); letter-spacing: -.01em; max-width: 720px; }
.pm-h3 { margin: 0 0 12px; font: 800 clamp(24px, 3vw, 34px)/1.1 var(--display); }
.pm-h4 { margin: 0 0 16px; font: 800 22px/1.2 var(--display); }
.pm-muted { color: var(--muted); }
.pm-small { font-size: 13px; }
.pm-center { text-align: center; }
.pm-link { font-weight: 600; background: none; border: 0; padding: 0; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.pm-fineprint { margin: 20px 0 0; font-size: 12px; line-height: 1.6; color: var(--on-dark-2); }
.pm-prose { line-height: 1.7; }
.pm-prose > *:first-child { margin-top: 0; }

/* Buttons */
.pm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; line-height: 1.2; transition: background-color .15s, color .15s, border-color .15s; }
.pm-btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.pm-btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.pm-btn--block { display: flex; width: 100%; }
.pm-btn--navy { background: var(--navy); color: var(--white); }
.pm-btn--navy:hover { background: var(--navy-dk); color: var(--white); }
.pm-btn--red { background: var(--red); color: var(--white); }
.pm-btn--red:hover { background: var(--red-brand); color: var(--white); }
.pm-btn--dark { background: var(--ink); color: var(--white); }
.pm-btn--dark:hover { background: #2a2c30; color: var(--white); }
.pm-btn--ghost { border-color: #7286B0; color: var(--white); background: transparent; }
.pm-btn--ghost:hover { background: rgba(255,255,255,.08); color: var(--white); }
.pm-btn--outline { border-color: var(--field); background: var(--white); color: var(--ink); }
.pm-btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.pm-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pm-round { width: 48px; height: 48px; border-radius: 999px; border: 0; background: rgba(255,255,255,.94); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.15); }

/* Top bar + header */
.pm-topbar { background: var(--navy-dk); color: #E9E6DE; font-size: 13px; }
.pm-topbar__in { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.pm-topbar__links { display: flex; gap: 20px; flex-wrap: wrap; }
.pm-topbar a { color: #E9E6DE; text-decoration: none; }
.pm-topbar a:hover { color: var(--white); text-decoration: underline; }

.pm-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .pm-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .pm-header { top: 0; position: relative; } }
.pm-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 40px; padding-top: 12px; padding-bottom: 12px; }
.pm-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.pm-logo__img { height: 68px; width: auto; }
.pm-logo__tag { border-left: 1px solid var(--field); padding-left: 14px; font: 700 14px/1 var(--display); letter-spacing: .32em; color: var(--red-brand); }
.pm-logo--light .pm-logo__img { height: 70px; }
.pm-logo--light .pm-logo__tag { border-color: #3A4F7A; color: var(--pink); font-size: 13px; }
.pm-nav__menu { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.pm-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.pm-menu a { color: var(--ink); text-decoration: none; padding: 10px 0; display: inline-block; }
.pm-menu a:hover, .pm-menu .current-menu-item > a { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; }
.pm-nav__toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--field); border-radius: 12px; background: var(--white); align-items: center; justify-content: center; }
@media (max-width: 960px) {
	.pm-nav__toggle { display: inline-flex; }
	.pm-nav__menu { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding: 8px 0 16px; }
	.pm-nav__menu.is-open { display: flex; }
	.pm-menu { flex-direction: column; gap: 0; }
	.pm-menu a { padding: 12px 0; border-bottom: 1px solid var(--line); display: block; }
	.pm-logo__img { height: 54px; }
}

/* Hero */
.pm-hero { background: var(--navy); color: var(--paper); }
.pm-hero__in { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; padding-top: 72px; }
.pm-hero__copy { flex: 1 1 380px; min-width: 0; padding-bottom: 72px; }
.pm-hero__title { margin: 0; font: 800 clamp(42px, 6vw, 80px)/.98 var(--display); letter-spacing: -.02em; }
.pm-hero__lead { margin: 26px 0 34px; font-size: 19px; line-height: 1.55; max-width: 520px; color: var(--on-dark); }
.pm-hero__media { flex: 1.5 1 620px; min-width: 0; }
@media (max-width: 700px) { .pm-hero__in { padding-top: 48px; gap: 8px; } .pm-hero__copy { padding-bottom: 32px; } .pm-hero__lead { font-size: 17px; } }

.pm-slider { position: relative; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-dk); }
.pm-slide { position: absolute; inset: 0; }
.pm-slide__img { width: 100%; height: 100%; object-fit: cover; }
.pm-slide.is-active { animation: pm-fade .5s ease; }
@keyframes pm-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pm-slide.is-active { animation: none; } }
.pm-slide--empty { display: flex; align-items: center; justify-content: center; color: #7286B0; letter-spacing: .08em; }
.pm-slide__panel { position: absolute; left: 24px; right: 24px; bottom: 24px; background: rgba(16,17,19,.88); color: var(--white); border-radius: var(--r); padding: 22px 26px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: flex-end; justify-content: space-between; }
.pm-slide__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pm-slide__text .pm-eyebrow { margin: 0; font-size: 12px; }
.pm-slide__title { font: 800 clamp(22px, 2.6vw, 34px)/1.05 var(--display); }
.pm-slide__meta { font-size: 15px; color: var(--on-dark); }
.pm-slide__buy { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.pm-slide__price { font: 800 30px/1 var(--display); }
.pm-slider__arrows { position: absolute; top: 20px; right: 20px; display: flex; gap: 8px; }
.pm-dots { display: flex; justify-content: center; gap: 4px; padding: 10px 0; }
.pm-dots button { width: 44px; height: 44px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; padding: 0; }
.pm-dots span { display: block; width: 14px; height: 6px; border-radius: 999px; background: #7286B0; transition: width .2s, background-color .2s; }
.pm-dots [aria-current="true"] span { width: 32px; background: var(--pink); }
@media (max-width: 600px) {
	.pm-slider { aspect-ratio: 4 / 4.2; }
	.pm-slide__panel { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
	.pm-slide__buy { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
	.pm-slider__arrows { top: 12px; right: 12px; }
}

/* Quick search */
.pm-search { background: var(--white); border-radius: 0 0 20px 20px; padding: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; align-items: end; box-shadow: 0 18px 40px rgba(16,17,19,.08); margin-top: -1px; }
.pm-search label, .pm-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); border: 0; padding: 0; margin: 0; min-width: 0; }
.pm-field legend { padding: 0; margin-bottom: 8px; }
.pm-search select, .pm-field select, .pm-field input, .pm-field textarea, .pm-sort select { height: 48px; border: 1px solid var(--field); border-radius: var(--r-sm); padding: 0 12px; background: var(--white); color: var(--ink); font-weight: 400; font-size: 16px; width: 100%; }
.pm-field textarea { height: auto; padding: 12px; resize: vertical; }
.pm-search .pm-btn { border-radius: var(--r-sm); }

/* Cards */
.pm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.pm-card { background: var(--white); border: 1px solid var(--card-line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.pm-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--photo); display: block; overflow: hidden; }
.pm-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pm-card:hover .pm-card__media img { transform: scale(1.03); }
.pm-card__noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #9A968C; }
.pm-pill { position: absolute; top: 14px; left: 14px; background: var(--navy); color: var(--white); font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
.pm-pill--red { background: var(--red-brand); }
.pm-card__body { padding: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pm-card__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.pm-card__title { margin: 0; font: 700 21px/1.2 var(--display); }
.pm-card__title a { color: var(--ink); text-decoration: none; }
.pm-card__sub { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.pm-card__specs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; font-size: 14px; color: var(--body); }
.pm-card__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid #ECE9E2; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.pm-plate { background: var(--plate); color: var(--ink); font: 700 13px/1 var(--display); letter-spacing: .08em; padding: 6px 9px; border-radius: 4px; border: 1px solid var(--ink); white-space: nowrap; }
.pm-price { font: 800 26px/1.1 var(--display); }
.pm-price--lg { font-size: 28px; }
.pm-price--xl { font-size: 40px; }

/* Mosaic */
.pm-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 16px; }
.pm-mosaic__item { position: relative; border-radius: var(--r); overflow: hidden; background: var(--photo); display: block; }
.pm-mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pm-mosaic__item:hover img { transform: scale(1.04); }
.pm-mosaic__item--0 { grid-column: span 2; grid-row: span 2; }
.pm-mosaic__label { position: absolute; left: 12px; bottom: 12px; background: rgba(16,17,19,.82); color: var(--white); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
@media (max-width: 800px) { .pm-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; } }

/* Promises */
.pm-promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pm-promise { background: var(--paper); padding: 28px; }
.pm-promise__icon { color: var(--navy); display: block; margin-bottom: 10px; }
.pm-promise h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.pm-promise p { margin: 0; font-size: 14px; color: var(--muted); }

/* How it works */
.pm-how { background: var(--red-deep); color: var(--white); margin-top: 72px; }
.pm-how .pm-section { padding-bottom: 88px; }
.pm-how__title { margin-bottom: 48px; }
.pm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.pm-steps li { border-top: 1px solid #B0606A; padding-top: 24px; }
.pm-steps__n { font: 800 48px/1 var(--display); color: var(--pink); }
.pm-steps h3 { margin: 14px 0 8px; font-size: 21px; font-weight: 600; }
.pm-steps p { margin: 0; color: #F3DCDF; }

/* Photo band */
.pm-band { position: relative; min-height: 520px; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.pm-band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.pm-band__in { position: relative; width: 100%; padding-top: 48px; padding-bottom: 48px; }
.pm-band__card { background: rgba(11,27,61,.92); color: var(--paper); border-radius: 20px; padding: 32px; max-width: 520px; }
.pm-band__card h2 { margin: 0 0 12px; font: 800 34px/1.1 var(--display); }
.pm-band__card p { margin: 0 0 22px; color: var(--on-dark); }

/* Finance + sell */
.pm-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; padding-bottom: 88px; }
.pm-panel { border-radius: var(--r-lg); padding: 44px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pm-panel p { margin: 0; }
.pm-panel--navy { background: var(--navy); color: var(--paper); }
.pm-panel--navy p:not(.pm-eyebrow):not(.pm-fineprint) { color: var(--on-dark); }
.pm-panel--white { background: var(--white); border: 1px solid var(--card-line); }
@media (max-width: 600px) { .pm-panel { padding: 28px; } }
.pm-form { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.pm-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.pm-form--row { flex-direction: row; flex-wrap: wrap; }
.pm-form--row .pm-field { flex: 1 1 200px; }
.pm-field--plate input.pm-plate-input { height: 56px; background: var(--plate); border: 2px solid var(--ink); font: 700 22px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.pm-check { display: flex; gap: 10px; align-items: center; font-size: 14px; min-height: 44px; }
.pm-check input { width: 20px; height: 20px; accent-color: var(--navy); }
.pm-notice { padding: 14px 16px; border-radius: 12px; font-weight: 500; margin: 0 0 12px; width: 100%; }
.pm-notice--ok { background: #E4F3EA; color: #134D2C; }
.pm-notice--err { background: #FBE7E8; color: #7A1F27; }

.pm-reviews { border: 1px dashed #BDB9B0; border-radius: var(--r-lg); padding: 40px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; margin-bottom: 88px; }

/* Footer */
.pm-footer { background: var(--navy-dk); color: var(--on-dark); }
.pm-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding-top: 72px; padding-bottom: 40px; }
.pm-footer__h { margin: 0 0 14px; font-size: 14px; color: var(--paper); }
.pm-footer__text { margin: 16px 0 0; font-size: 14px; line-height: 1.8; }
.pm-footer__h + .pm-footer__text { margin-top: 0; }
.pm-footer a { color: var(--on-dark); }
.pm-footer a:hover { color: var(--white); }
.pm-footer .pm-menu, .pm-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; font-size: 14px; font-weight: 400; }
.pm-footer .pm-menu a, .pm-footer__menu a { color: var(--on-dark); padding: 4px 0; border: 0; text-decoration: none; }
.pm-footer__legal { border-top: 1px solid #24365F; padding-top: 24px; padding-bottom: 32px; font-size: 12px; line-height: 1.6; color: var(--on-dark-2); }

/* Stock page */
.pm-pagehead { padding-top: 40px; padding-bottom: 24px; }
.pm-pagehead__row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; }
.pm-crumbs { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.pm-crumbs--top { margin: 24px 0 16px; }
.pm-sort { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.pm-sort select { width: auto; height: 44px; }
.pm-stock { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-bottom: 88px; }
.pm-filters { flex: 1 1 260px; max-width: 100%; background: var(--white); border: 1px solid var(--card-line); border-radius: var(--r); padding: 24px; }
.pm-filters form { display: flex; flex-direction: column; gap: 18px; }
.pm-filters__head { display: flex; justify-content: space-between; align-items: center; }
.pm-filters__head h2 { margin: 0; font-size: 17px; font-weight: 600; }
.pm-filters__head a { font-weight: 600; padding: 10px 0; }
@media (min-width: 900px) { .pm-filters { position: sticky; top: 110px; } }
.pm-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pm-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-pillopt { position: relative; }
.pm-pillopt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pm-pillopt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--field); background: var(--white); color: var(--ink); font-size: 14px; font-weight: 500; }
.pm-pillopt input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pm-pillopt input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.js .pm-nojs-only { display: none; }

.pm-results { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.pm-row { background: var(--white); border: 1px solid var(--card-line); border-radius: var(--r); overflow: hidden; display: flex; flex-wrap: wrap; }
.pm-row__media { flex: 1 1 280px; min-height: 220px; position: relative; background: var(--photo); overflow: hidden; }
.pm-row__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pm-count { position: absolute; right: 12px; bottom: 12px; background: rgba(16,17,19,.82); color: var(--white); font-size: 12px; padding: 5px 10px; border-radius: 999px; }
.pm-row__body { flex: 2 1 340px; min-width: 0; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.pm-row__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.pm-row__title { margin: 0; font: 700 24px/1.2 var(--display); }
.pm-row__title a { color: var(--ink); text-decoration: none; }
.pm-row__price { text-align: right; }
.pm-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pm-chips li { background: #F1EFEA; border-radius: 8px; padding: 6px 10px; font-size: 13px; }
.pm-row__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid #ECE9E2; }
[data-pm-compare] .pm-compare-on { display: none; }
[data-pm-compare][aria-pressed="true"] { border-color: var(--navy); background: var(--tint); color: var(--navy); }
[data-pm-compare][aria-pressed="true"] .pm-compare-on { display: inline-flex; align-items: center; gap: 6px; }
[data-pm-compare][aria-pressed="true"] .pm-compare-off { display: none; }
.pm-empty { background: var(--white); border: 1px solid var(--card-line); border-radius: var(--r); padding: 40px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pm-compare { background: var(--white); border: 1px solid var(--card-line); border-radius: var(--r); padding: 28px; margin-top: 20px; }
.pm-compare__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pm-table-wrap { overflow-x: auto; }
.pm-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.pm-table th, .pm-table td { text-align: left; padding: 12px; border-bottom: 1px solid #ECE9E2; vertical-align: top; }
.pm-table thead th { border-bottom: 2px solid var(--ink); font: 700 16px/1.3 var(--display); }
.pm-table tbody th { color: var(--muted); font-weight: 500; width: 26%; }
.pm-tray { position: sticky; bottom: 0; z-index: 40; background: var(--ink); color: var(--paper); }
.pm-tray__in { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.pm-tray strong { color: var(--pink); }
.pm-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pm-pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--field); background: var(--white); text-decoration: none; padding: 0 12px; }
.pm-pagination .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Car page */
.pm-car { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-bottom: 24px; }
.pm-car__main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.pm-car__side { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.pm-box { background: var(--white); border: 1px solid var(--card-line); border-radius: 20px; padding: 28px; }
@media (max-width: 600px) { .pm-box { padding: 20px; } }
.pm-gallery__stage { position: relative; aspect-ratio: 4 / 3; background: var(--photo); border-radius: 20px; overflow: hidden; }
.pm-gallery__slide { margin: 0; position: absolute; inset: 0; }
.pm-gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.pm-gallery__prev, .pm-gallery__next { position: absolute; top: 50%; transform: translateY(-50%); }
.pm-gallery__prev { left: 14px; }
.pm-gallery__next { right: 14px; }
.pm-gallery__stage .pm-count { bottom: 16px; right: 16px; font-size: 13px; padding: 6px 12px; }
.pm-gallery__empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #9A968C; }
.pm-videolink { position: absolute; left: 16px; bottom: 16px; background: var(--white); color: var(--ink); font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.pm-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; margin-top: 10px; }
.pm-thumbs button { aspect-ratio: 4 / 3; border-radius: 10px; border: 3px solid transparent; background: var(--photo); padding: 0; overflow: hidden; opacity: .72; transition: opacity .15s; }
.pm-thumbs button:hover { opacity: 1; }
.pm-thumbs button[aria-current="true"] { border-color: var(--navy); opacity: 1; }
.pm-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pm-specs { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.pm-specs dt { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.pm-specs dd { margin: 4px 0 0; font-size: 17px; font-weight: 600; }
.pm-two-up { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.pm-checks { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pm-checks li { display: flex; gap: 10px; align-items: flex-start; }
.pm-checks svg { color: var(--navy); flex: none; margin-top: 2px; }
.pm-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 10px; color: var(--body); }

.pm-calc { background: var(--navy); color: var(--paper); border-radius: var(--r-lg); padding: 36px; scroll-margin-top: 110px; }
@media (max-width: 600px) { .pm-calc { padding: 24px; } }
.pm-calc__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-end; margin-bottom: 28px; }
.pm-seg { display: flex; background: var(--navy-dk); border-radius: 999px; padding: 4px; }
.pm-seg button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--paper); font-weight: 600; }
.pm-seg button[aria-pressed="true"] { background: var(--red); color: var(--white); }
.pm-calc__body { display: flex; flex-wrap: wrap; gap: 32px; }
.pm-calc__opts { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pm-calc__label { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--on-dark); }
.pm-box .pm-calc__label { color: var(--muted); }
.pm-chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-chipset button { min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid #4A5F8E; background: transparent; color: var(--paper); font-weight: 600; }
.pm-chipset button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--white); }
.pm-calc__result { flex: 1 1 300px; min-width: 0; background: var(--paper); color: var(--ink); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.pm-calc__monthly { font: 800 52px/1 var(--display); }
.pm-calc__dl { margin: 16px 0 18px; display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; font-size: 14px; }
.pm-calc__dl dt { color: var(--muted); }
.pm-calc__dl dd { margin: 0; text-align: right; font-weight: 600; }
.pm-calc .pm-fineprint { color: var(--on-dark-2); }

.pm-buy { display: flex; flex-direction: column; gap: 14px; }
.pm-buy__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pm-buy__title { margin: 0; font: 800 34px/1.05 var(--display); }
.pm-buy p { margin: 0; }
.pm-buy__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pm-tag { background: #EEE; color: var(--ink); font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
.pm-tag--ok { background: var(--tint); color: var(--navy); }
.pm-tag--red { background: #FBE7E8; color: var(--red-brand); }
#testdrive, #enquire, #finance { scroll-margin-top: 110px; }
.pm-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.pm-dayopt { position: relative; }
.pm-dayopt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pm-dayopt span { min-height: 58px; border-radius: 10px; border: 1px solid var(--field); background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; }
.pm-dayopt strong { font-size: 15px; }
.pm-dayopt input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pm-dayopt input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.pm-box .pm-pillopt input:checked + span { background: var(--tint); border-color: var(--navy); color: var(--navy); font-weight: 600; }

/* Generic pages */
.pm-page { max-width: 820px; padding-bottom: 88px; }
.pm-page .pm-h1 { margin-bottom: 24px; }
.pm-page__img { margin: 0 0 24px; border-radius: var(--r); overflow: hidden; }
.pm-postlist { display: grid; gap: 16px; margin-top: 24px; }
