/* ============================================================
   Parkway Specialist Cars — Stylesheet
   Elegant white design
   ============================================================ */

:root {
    --black:    #1a1a1a;
    --dark:     #2d2d2d;
    --mid:      #666666;
    --light:    #999999;
    --border:   #e0e0e0;
    --grey-bg:  #f7f7f7;
    --white:    #ffffff;
    --gold:     #8B7355;
    --navy:     #1a2a3a;
    --muted:    #888888;
}

/* ── Reset / Base ─────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    color: var(--dark);
    background: var(--white);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { display: block; max-width: 100%; }

/* ── Header (logo strip) ─────────────────────────────────── */

.pw-header {
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.pw-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pw-contact-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--mid);
    text-transform: uppercase;
}

.pw-contact-link:hover { color: var(--black); }

.pw-contact-link svg { opacity: 0.6; flex-shrink: 0; }

.pw-logo {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.pw-logo-name {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 2.9rem;
    font-weight: 300;
    letter-spacing: 8px;
    color: var(--black);
    text-transform: uppercase;
    display: block;
    line-height: 1;
    margin-right: -8px; /* compensate trailing letter-spacing for visual centering */
}

.pw-logo-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 6px;
    color: var(--dark);
    text-transform: uppercase;
    display: block;
    margin-top: 6px;
    margin-right: -6px; /* compensate trailing letter-spacing for visual centering */
}

/* ── Navigation ──────────────────────────────────────────── */

.pw-nav {
    border-bottom: 1px solid var(--border);
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pw-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: center;
    gap: 0;
}

.pw-nav-inner a {
    display: block;
    padding: 16px 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    color: var(--mid);
    text-transform: uppercase;
    text-align: center;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.pw-nav-inner a:hover,
.pw-nav-inner a.active {
    color: var(--black);
    border-bottom-color: var(--black);
}

/* ── Hero ────────────────────────────────────────────────── */

.pw-hero {
    position: relative;
    height: 70vh;
    min-height: 420px;
    background: var(--black) center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pw-hero-overlay {
    display: none;
}

.pw-hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.pw-hero-content h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.pw-hero-rule {
    width: 60px;
    height: 1px;
    background: rgba(255,255,255,0.6);
    margin: 0 auto 20px;
}

.pw-hero-content p {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 32px;
}

.pw-hero-btn {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.7);
    color: var(--white);
    padding: 12px 32px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: background 0.2s, border-color 0.2s;
}

.pw-hero-btn:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    color: var(--white);
}

/* ── No-hero fallback (when no image uploaded yet) ──────── */

.pw-hero:not([style*="background-image"]) {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 40%, #3d3d3d 100%);
}

/* ── Page banner (inner pages) ───────────────────────────── */

.pw-page-banner {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    text-align: center;
    padding: 52px 30px;
}

.pw-page-banner h1 {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 5px;
    color: var(--black);
    margin: 0;
}

.pw-page-banner__sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--mid);
    margin-top: 14px;
}

.pw-page-banner p {
    font-size: 0.78rem;
    letter-spacing: 1px;
    color: var(--mid);
    margin-top: 8px;
}

/* ── Sections ────────────────────────────────────────────── */

.pw-section { padding: 64px 0; }
.pw-section-grey { background: var(--grey-bg); }

.pw-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.pw-section-head {
    text-align: center;
    margin-bottom: 48px;
}

.pw-section-head h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 6px;
    color: var(--black);
    text-transform: uppercase;
}

.pw-section-head__sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--dark);
    margin-top: 18px;
    line-height: 1.8;
}

.pw-rule {
    width: 40px;
    height: 1px;
    background: var(--black);
    margin: 16px auto 0;
}

.pw-section-foot {
    text-align: center;
    margin-top: 48px;
}

/* ── Buttons ─────────────────────────────────────────────── */

.pw-btn-outline {
    display: inline-block;
    border: 1px solid var(--black);
    color: var(--black);
    padding: 12px 36px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
}

.pw-btn-outline:hover {
    background: var(--black);
    color: var(--white);
}

.pw-btn-outline--light {
    border-color: rgba(255,255,255,0.4);
    color: var(--white);
}

.pw-btn-outline--light:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.pw-btn-solid {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    padding: 12px 36px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: background 0.2s;
    border: 1px solid var(--black);
}

.pw-btn-solid:hover {
    background: var(--dark);
    color: var(--white);
}

/* ── Stock Grid ──────────────────────────────────────────── */

.stock-section { padding: 0 0 60px; background: var(--grey-bg); }

.stock-filters-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    scroll-margin-top: var(--pw-nav-h, 48px);
}

.stock-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-left: 20px;
}

.stock-filters select {
    padding: 9px 32px 9px 12px;
    border: 1px solid var(--border);
    background: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: var(--dark);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
    min-width: 180px;
}

.stock-filters select:focus { outline: 1px solid var(--black); }

.stock-filters__clear {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--mid);
    text-decoration: underline;
}

.stock-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 28px;
}

/* ── Stock Card ──────────────────────────────────────────── */

.stock-card__image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--grey-bg);
}

.stock-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom; /* crop the top (sky), keep the car/ground */
    transition: transform 0.4s ease;
}

.stock-card:hover .stock-card__image img { transform: scale(1.03); }

.stock-card__no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--light);
    gap: 10px;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.stock-card__no-photo svg { opacity: 0.2; }

.stock-card__hover-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26,26,26,0.85);
    color: var(--white);
    text-align: center;
    padding: 12px;
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    transform: translateY(100%);
    transition: transform 0.25s ease;
}

.stock-card:hover .stock-card__hover-btn { transform: translateY(0); }

.stock-card__sold-overlay {
    position: absolute;
    inset: 0;
    /* watermark over a light 18% dark tint so the white text stays legible */
    background: url('../images/parkway-sold-overlay.png') center / cover no-repeat, rgba(0,0,0,0.18);
    pointer-events: none;
}

.stock-card__content {
    padding: 18px 20px 20px;
    border-top: 1px solid var(--border);
}

.stock-card__title {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    color: var(--black);
    margin-bottom: 10px;
    line-height: 1.4;
    text-transform: uppercase;
}

.stock-card__summary {
    margin-bottom: 12px;
}

.stock-card__summary p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--mid);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.9;
}

.stock-card__price {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--black);
    letter-spacing: 2px;
}

.stock-card__flag {
    display: inline-block;
    margin-left: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.56rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    padding: 4px 9px;
    border-radius: 2px;
    vertical-align: middle;
}
.stock-card__flag--sold    { background: var(--black); }
.stock-card__flag--deposit { background: var(--gold); }

/* ── Page Banner (with optional bg image) ────────────────── */

.pw-page-banner--image {
    background-color: #555;
    background-size: cover;
    background-position: center center;
    position: relative;
    height: 72vh;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pw-page-banner--image::before {
    display: none;
}

.pw-page-banner__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
    color: var(--white);
}

.pw-page-banner__inner h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: 10px;
    text-transform: uppercase;
    margin: 0 0 16px;
    text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}

.pw-page-banner__inner .pw-banner-rule {
    width: 50px;
    height: 1px;
    background: rgba(255,255,255,0.7);
    margin: 0 auto 16px;
}

.pw-page-banner__inner p {
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.9);
    margin: 0 auto;
    max-width: 520px;
    line-height: 1.7;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.pw-page-banner__chevron {
    position: absolute;
    bottom: 24px;
    left: 50%;
    cursor: pointer;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255,255,255,0.7);
    animation: chevron-bounce 1.8s ease-in-out infinite;
}

.pw-page-banner__chevron svg { display: block; }

@keyframes chevron-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Product (Car detail) page ───────────────────────────── */

.product-action-bar {
    background: var(--black);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.product-action-bar__inner {
    display: flex;
    gap: 0;
}

.product-action-bar__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: color 0.2s, background 0.2s;
}

.product-action-bar__item--right {
    margin-left: auto;
    border-right: none;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.product-action-bar__item:hover {
    color: var(--white);
    background: rgba(255,255,255,0.05);
}

.product-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
}

.product-section-nav-bar {
    position: sticky;
    top: var(--pw-nav-h, 48px);
    z-index: 400;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.product-section-nav {
    display: flex;
    gap: 24px;
    padding: 13px 0;
    flex-wrap: wrap;
}

.product-section-nav a {
    font-size: 0.78rem;
    letter-spacing: 1px;
    color: var(--mid);
    text-transform: uppercase;
    transition: color 0.2s;
    white-space: nowrap;
}

.product-section-nav a:hover { color: var(--black); }
.product-section-nav a b { color: var(--black); }
.product-section-nav a.is-active { color: var(--black); font-weight: 600; }

.product-header__content h1 {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 1.75rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--black);
    margin-bottom: 12px;
    line-height: 1.25;
}

.product-header__sub {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.product-header__sub span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--mid);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.product-header__sub span:not(:last-child)::after {
    content: '|';
    margin-left: 20px;
    opacity: 0.3;
}

.product-header__price {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--black);
    letter-spacing: 2px;
}

.product-status-flag {
    display: inline-block;
    margin-left: 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    padding: 5px 12px;
    border-radius: 2px;
    vertical-align: middle;
}
.product-status-flag--sold    { background: var(--black); }
.product-status-flag--deposit { background: var(--gold); }

.product-section {
    padding: 48px 0;
    scroll-margin-top: var(--scroll-pad, 100px);
}

.product-section--grey { background: var(--grey-bg); }
.product-section--dark { background: #1a1a1a; }

.product-section__head {
    margin-bottom: 32px;
}

.product-section__head h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--black);
}

.product-section--dark .product-section__head h2 { color: var(--white); }

.product-section__text {
    font-size: 0.92rem;
    line-height: 1.9;
    color: var(--mid);
    max-width: 900px;
}

.product-section__text--light { color: rgba(255,255,255,0.75); }

.product-brief-layout {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

/* Gallery: flex column — top row (photo + specs), then thumb strip */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Top row: main photo left, specs panel right */
.product-brief-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 16px;
    align-items: center;
}

.product-gallery__main {
    position: relative;
    height: 480px;
    overflow: hidden;
    background: var(--grey-bg);
    cursor: zoom-in;
    isolation: isolate;
}

.product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Crossfade layers */
.brief-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s ease;
}

.brief-img--front { opacity: 1; z-index: 2; }
.brief-img--back  { opacity: 0; z-index: 1; }

/* "Vehicle Sold" watermark over the main image on a sold car (no darkening) */
.product-gallery__sold-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: url('../images/parkway-sold-overlay.png') center / cover no-repeat;
    pointer-events: none;
}

.product-gallery__no-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--light);
    gap: 12px;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: var(--grey-bg);
}

/* Thumbnail strip: full width below photo + specs */
.product-gallery__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.product-gallery__thumb {
    width: 110px;
    height: 73px;
    flex-shrink: 0;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.product-gallery__thumb.is-active,
.product-gallery__thumb:hover { border-color: var(--black); }

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Specs row below gallery */
.product-brief-below {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-brief-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 24px;
}

.product-brief-specs__col p {
    font-size: 0.85rem;
    color: var(--dark);
    line-height: 1;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
}

.product-brief-specs__col p strong {
    color: var(--mid);
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.product-features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.product-features-list__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--dark);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.product-features-list__item svg { opacity: 0.4; flex-shrink: 0; }

.product-enquire-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: start;
}

.product-enquire-layout--full {
    grid-template-columns: 1fr;
}

.product-enquire-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.product-enquire-contact__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border);
    color: var(--dark);
    transition: border-color 0.2s;
}

.product-enquire-contact__item:hover { border-color: var(--black); }
.product-enquire-contact__item svg { opacity: 0.4; flex-shrink: 0; }
.product-enquire-contact__item strong { font-size: 1rem; display: block; margin-top: 2px; }

.product-enquire-price-box {
    background: var(--black);
    color: var(--white);
    padding: 36px 28px;
    text-align: center;
    position: sticky;
    top: 20px;
}

/* ── Pillars (why choose us) ─────────────────────────────── */

.pw-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.pw-pillar {
    text-align: center;
}

.pw-pillar-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--black);
}

.pw-pillar-icon svg {
    width: 100%;
    height: 100%;
}

.pw-pillar h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: var(--black);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.pw-pillar p {
    font-size: 0.85rem;
    color: var(--mid);
    line-height: 1.7;
}

/* ── Filters bar ─────────────────────────────────────────── */

.filters-bar {
    background: var(--grey-bg);
    border: 1px solid var(--border);
    padding: 24px;
    margin-bottom: 40px;
}

.filters-bar label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--mid);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.filters-bar select,
.filters-bar input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border);
    background: var(--white);
    font-size: 0.85rem;
    color: var(--dark);
    font-family: 'Montserrat', sans-serif;
    appearance: none;
}

.filters-bar select:focus,
.filters-bar input:focus {
    outline: 1px solid var(--black);
}

/* ── Single car page ─────────────────────────────────────── */

.car-gallery .main-image {
    height: 460px;
    overflow: hidden;
    background: var(--grey-bg);
}

.car-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-gallery .thumbs {
    display: flex;
    gap: 4px;
    margin-top: 4px;
    overflow-x: auto;
}

.car-gallery .thumb {
    flex-shrink: 0;
    width: 80px;
    height: 56px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.car-gallery .thumb.active,
.car-gallery .thumb:hover { border-color: var(--black); }

.car-gallery .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.car-specs-table tr:nth-child(even) td { background: var(--grey-bg); }

.car-specs-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
}

.car-specs-table td:first-child {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--mid);
    width: 40%;
}

.car-price-box {
    background: var(--black);
    color: var(--white);
    padding: 28px;
    text-align: center;
    margin-bottom: 24px;
}

.car-price-box .pw-price-label {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 6px;
}

.car-price-box .pw-price {
    font-family: 'Raleway', sans-serif;
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.car-price-box .pw-price-note {
    font-size: 0.65rem;
    letter-spacing: 1px;
    opacity: 0.4;
    margin-top: 6px;
    text-transform: uppercase;
}

.contact-box {
    background: var(--grey-bg);
    border: 1px solid var(--border);
    padding: 24px;
}

.contact-box h4 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.88rem;
    color: var(--dark);
}

.contact-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.4;
}

/* ── Testimonials Carousel ───────────────────────────────── */

.pw-testimonials {
    background: #2a2a2a;
    padding: 60px 0 52px;
}

.pw-tcarousel-outer {
    display: flex;
    align-items: center;
    max-width: 860px;
    margin: 0 auto;
    gap: 12px;
}

.pw-tcarousel-chevron {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    color: #bbb;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.2s;
}

.pw-tcarousel-chevron:hover { color: #1a1a1a; }

.pw-tcarousel-chevron svg {
    width: 20px;
    height: 20px;
}

.pw-tcarousel-wrap {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.pw-tcarousel {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    cursor: grab;
    user-select: none;
}
.pw-tcarousel:active { cursor: grabbing; }

.pw-tcard {
    flex-shrink: 0;
    box-sizing: border-box;
    text-align: center;
    padding: 0 8px;
}

.pw-tcard__quote {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin: 0 0 20px;
    font-style: italic;
}

.pw-tcard__attr {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

.pw-tcard__meta {
    font-weight: 400;
    color: rgba(255,255,255,0.45);
}

.pw-tcarousel-chevron { color: rgba(255,255,255,0.35); }
.pw-tcarousel-chevron:hover { color: #fff; }

.pw-tcarousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
}

.pw-tcarousel-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.pw-tcarousel-dot.is-active {
    background: #fff;
    transform: scale(1.4);
}

/* ── Statement Banner ────────────────────────────────────── */

/* ── Page banner hero variant (client views) ─────────────────────────────── */

.pw-page-banner--hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 100px 30px;
}

.pw-page-banner__overlay {
    display: none;
}

/* ── Client Views page ───────────────────────────────────────────────────── */

.cv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.cv-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
}

.cv-card__icon {
    width: 28px;
    height: 21px;
    color: var(--border);
    flex-shrink: 0;
    margin-bottom: 18px;
}

.cv-card__quote {
    font-family: 'Raleway', sans-serif;
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--dark);
    flex: 1;
    margin: 0 0 24px;
}

.cv-card__foot {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cv-card__name {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--black);
    text-transform: uppercase;
}

.cv-card__meta {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--mid);
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .cv-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .cv-grid { grid-template-columns: 1fr; }
}

/* ── Statement banner ────────────────────────────────────────────────────── */

/* ── Buying page ─────────────────────────────────────────────────────────── */

.buying-exceptional {
    background: #111;
    padding: 0 0 80px;
    text-align: center;
}

.buying-car-image {
    padding: 60px 120px 0;
    margin-bottom: 60px;
    line-height: 0;
}

.buying-car-image img {
    width: 67%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
}

.buying-exceptional__inner {
    max-width: 760px;
    margin: 0 auto;
}

.buying-exceptional__inner h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 6px;
    color: var(--white);
    text-transform: uppercase;
    margin: 0 0 24px;
}

.buying-exceptional__rule {
    width: 48px;
    height: 1px;
    background: rgba(255,255,255,0.3);
    margin: 0 auto 32px;
}

.buying-exceptional__inner p {
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.9;
    color: rgba(255,255,255,0.75);
    margin-bottom: 20px;
}

.buying-exceptional__inner p:last-child { margin-bottom: 0; }

/* ── Statement banner ────────────────────────────────────────────────────── */

.pw-statement-banner {
    background: #000;
    padding: 72px 30px;
    text-align: center;
}

.pw-statement-banner__inner {
    max-width: 860px;
    margin: 0 auto;
}

.pw-statement-banner__inner p {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--white);
    line-height: 1.8;
    text-transform: uppercase;
    margin: 0;
}

.pw-statement-banner__rule {
    display: block;
    width: 48px;
    height: 1px;
    background: rgba(255,255,255,0.4);
    margin: 32px auto 0;
}

/* ── Footer ──────────────────────────────────────────────── */

.pw-footer {
    background: var(--black);
    color: rgba(255,255,255,0.5);
    padding: 56px 0 0;
    margin-top: 0;
}

.pw-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.pw-footer-logo {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 5px;
    color: var(--white);
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 16px;
    text-align: center;
}

.pw-footer-logo small {
    display: block;
    font-size: 0.5em;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
}

.pw-footer-col h5 {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
}

.pw-footer-col p {
    font-size: 0.85rem;
    line-height: 1.8;
}

.pw-footer-col a { color: rgba(255,255,255,0.5); }
.pw-footer-col a:hover { color: var(--white); }

.pw-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 30px;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.pw-footer-bottom a {
    color: rgba(255,255,255,0.3);
}

.pw-footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ── Cookie consent banner ──────────────────────────────── */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a2a3a;
    z-index: 8500;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 30px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.cookie-banner__text {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.75);
    flex: 1;
}

.cookie-banner__text a {
    color: var(--gold);
    text-decoration: none;
}

.cookie-banner__text a:hover { text-decoration: underline; }

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 9px 20px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: opacity 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.cookie-btn--decline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.7);
}

.cookie-btn--decline:hover {
    border-color: rgba(255,255,255,0.7);
    color: #fff;
}

.cookie-btn--accept {
    background: var(--gold);
    border: 1px solid transparent;
    color: #fff;
}

.cookie-btn--accept:hover { opacity: 0.85; }

@media (max-width: 640px) {
    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px;
        gap: 14px;
    }
    .cookie-banner__actions { justify-content: flex-end; }
}

/* ── Privacy Policy page ────────────────────────────────── */

.privacy-body {
    color: #374151;
    line-height: 1.85;
    font-size: 0.93rem;
}

.privacy-updated {
    color: #9ca3af;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
}

.privacy-body h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a2a3a;
    margin: 40px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.privacy-body h2:first-of-type { margin-top: 28px; }

.privacy-body p  { margin: 0 0 16px; }
.privacy-body ul { margin: 0 0 16px; padding-left: 22px; }
.privacy-body li { margin-bottom: 8px; }
.privacy-body a  { color: var(--gold); text-decoration: none; }
.privacy-body a:hover { text-decoration: underline; }

.privacy-cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin: 0 0 20px;
}

.privacy-cookie-table th,
.privacy-cookie-table td {
    text-align: left;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    vertical-align: top;
    line-height: 1.5;
}

.privacy-cookie-table thead th {
    background: #f8fafc;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #374151;
}

.privacy-cookie-table code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.82rem;
    color: #1a2a3a;
}

.cookie-manage-link {
    display: inline-block;
    background: #1a2a3a;
    color: #fff !important;
    padding: 9px 22px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none !important;
    transition: opacity 0.15s;
}

.cookie-manage-link:hover { opacity: 0.85; }

/* ── Company page ────────────────────────────────────────── */

.company-narrow {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 30px;
    text-align: center;
}

.company-section-head {
    text-align: center;
    margin-bottom: 36px;
}

.company-section-head h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 6px;
    color: var(--black);
    text-transform: uppercase;
    margin: 0;
}

.company-rule {
    width: 40px;
    height: 1px;
    background: var(--black);
    margin: 14px auto 0;
}

.company-narrow p {
    font-size: 0.9rem;
    line-height: 1.95;
    color: var(--mid);
    margin-bottom: 16px;
}

.company-sign-off {
    font-style: italic;
    color: var(--light) !important;
    margin-top: 8px;
}

.company-image-divider {
    height: 420px;
    background: var(--black) center 65% / cover no-repeat;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.team-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 28px;
    text-align: left;
}

.team-card__name {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--black);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.team-card__rule {
    width: 30px;
    height: 1px;
    background: var(--border);
    margin: 0 auto 18px;
}

.team-card p {
    font-size: 0.85rem;
    color: var(--mid);
    line-height: 1.85;
    margin-bottom: 10px;
}

.team-card p:last-child { margin-bottom: 0; }

/* ── Admin styles (unchanged from before) ────────────────── */

.admin-wrapper { display: flex; min-height: 100vh; }

.admin-sidebar {
    width: 240px;
    background: #1a1a1a;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar-logo {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    line-height: 1;
}
.admin-sidebar-logo .brand-name {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 1.7rem;
    font-weight: 300;
    letter-spacing: 5px;
    color: #fff;
    text-transform: uppercase;
    display: block;
    line-height: 1;
    margin-right: -5px;
}
.admin-sidebar-logo .brand-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.58rem;
    font-weight: 400;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    display: block;
    margin-top: 6px;
    margin-right: -4px;
}
.admin-sidebar-logo .sub {
    color: #888;
    font-size: 0.62rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.admin-nav { padding: 16px 0; flex: 1; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 20px; color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: all 0.2s; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,0.06); color: #fff; border-left: 2px solid #C9A84C; padding-left: 18px; }
.admin-nav a svg { width: 17px; height: 17px; opacity: 0.6; }

.admin-nav-children {
    border-left: 1px solid rgba(255,255,255,0.12);
    margin: 0 0 4px 37px;
    padding: 2px 0;
}
.admin-nav-children a { padding: 6px 14px 6px 14px; font-size: 0.82rem; }
.admin-nav-children a:hover, .admin-nav-children a.active { border-left: 2px solid #C9A84C; padding-left: 12px; }
.admin-nav-children a svg { width: 14px; height: 14px; }

.admin-main { flex: 1; display: flex; flex-direction: column; background: #f0f2f5; }

.admin-topbar { background: #fff; border-bottom: 1px solid #e2e8f0; padding: 0 24px; height: 58px; display: flex; align-items: center; justify-content: space-between; }
.admin-topbar h1 { font-size: 1.1rem; font-weight: 600; color: #1a1a1a; margin: 0; }

.admin-content { padding: 28px 24px; flex: 1; }

.stat-card { display: block; background: #fff; border-radius: 6px; padding: 20px 24px; border-left: 3px solid #1a1a1a; box-shadow: 0 1px 4px rgba(0,0,0,0.06); text-decoration: none; color: inherit; transition: box-shadow 0.15s, transform 0.15s; }
.stat-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.12); transform: translateY(-2px); }
.stat-card.gold { border-left-color: #C9A84C; }
.stat-card.green { border-left-color: #27ae60; }
.stat-card.red { border-left-color: #c0392b; }
.stat-card .stat-number { font-size: 2.2rem; font-weight: 700; color: #1a1a1a; line-height: 1; }
.stat-card .stat-label { color: #999; font-size: 0.82rem; margin-top: 4px; }

.admin-card { background: #fff; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); padding: 24px; margin-bottom: 20px; }
.admin-card h3 { color: #1a1a1a; font-size: 0.95rem; margin: 0 0 20px; padding-bottom: 12px; border-bottom: 1px solid #e2e8f0; letter-spacing: 0.5px; }

.admin-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #374151;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.admin-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 0.88rem;
    color: #1a1a1a;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.15s;
}
.admin-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
select.admin-input { cursor: pointer; }

.btn-admin-primary {
    background: #1a2a3a;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 28px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: opacity 0.15s;
}
.btn-admin-primary:hover { opacity: 0.88; }

.form-label { font-weight: 600; font-size: 0.82rem; color: #2d2d2d; margin-bottom: 4px; display: block; letter-spacing: 0.3px; }
.form-control, .form-select { border: 1px solid #e2e8f0; border-radius: 4px; font-size: 0.9rem; padding: 9px 12px; width: 100%; color: #2d2d2d; transition: border-color 0.2s; font-family: inherit; }
.form-control:focus, .form-select:focus { outline: none; border-color: #1a1a1a; box-shadow: 0 0 0 2px rgba(26,26,26,0.08); }
.form-control.is-invalid { border-color: #e74c3c; }
.invalid-feedback { color: #e74c3c; font-size: 0.8rem; margin-top: 2px; }

.image-upload-area { border: 2px dashed #e2e8f0; border-radius: 6px; padding: 32px; text-align: center; cursor: pointer; transition: border-color 0.2s, background 0.2s; background: #f7f7f7; }
.image-upload-area:hover, .image-upload-area.dragover { border-color: #1a1a1a; background: #f0f0f0; }
.image-upload-area input[type="file"] { display: none; }
.image-upload-area p { color: #999; font-size: 0.88rem; margin: 8px 0 0; }

/* ── Instant-upload sortable image grid ── */
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-bottom: 10px; }

.img-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; overflow: hidden; }
.img-card--ghost { opacity: 0.4; }
.img-card--loading { border-style: dashed; }
.img-card--primary { border: 2px solid #16a34a; box-shadow: 0 0 0 1px #16a34a; }
.img-card--duplicate { border: 2px solid #dc2626; box-shadow: 0 0 0 1px #dc2626; }
.img-card__main-badge { position: absolute; bottom: 4px; left: 4px; background: #16a34a; color: #fff; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; padding: 2px 6px; border-radius: 3px; }
.img-card__dup-badge { position: absolute; top: 4px; right: 4px; background: #dc2626; color: #fff; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; padding: 2px 6px; border-radius: 3px; }

.img-card__thumb { position: relative; height: 100px; overflow: hidden; background: #f3f4f6; }
.img-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.img-card__handle { position: absolute; top: 4px; left: 4px; background: rgba(0,0,0,0.55); color: #fff; border-radius: 3px; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 1rem; cursor: grab; opacity: 0; transition: opacity 0.15s; line-height: 1; user-select: none; }
.img-card:hover .img-card__handle { opacity: 1; }
.img-card__handle:active { cursor: grabbing; }

.img-card__badge { position: absolute; bottom: 4px; left: 4px; }

.img-card__foot { padding: 6px 8px; border-top: 1px solid #e2e8f0; display: flex; flex-direction: column; gap: 4px; font-size: 0.75rem; }
.img-card__radio { display: flex; align-items: center; gap: 4px; cursor: pointer; color: #444; }
.img-card__delete { background: none; border: none; color: #c0392b; font-size: 0.75rem; cursor: pointer; padding: 0; text-align: left; font-family: inherit; }
.img-card__delete:hover { text-decoration: underline; }

.img-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 4px; }

.img-move-wrap { position: relative; }
.img-card__move { background: none; border: none; color: #555; font-size: 0.72rem; cursor: pointer; padding: 0; font-family: inherit; white-space: nowrap; }
.img-card__move:hover { color: #1a1a1a; }

.img-move-menu { display: none; position: absolute; bottom: calc(100% + 4px); left: 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 5px; box-shadow: 0 4px 12px rgba(0,0,0,0.12); z-index: 100; min-width: 110px; overflow: hidden; }
.img-move-menu.is-open { display: block; }
.img-move-option { display: block; width: 100%; background: none; border: none; padding: 8px 12px; font-size: 0.8rem; text-align: left; cursor: pointer; font-family: inherit; color: #333; }
.img-move-option:hover { background: #f3f4f6; }
.img-move-option + .img-move-option { border-top: 1px solid #f0f0f0; }

.img-dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 2px dashed #e2e8f0; border-radius: 6px; padding: 20px 16px; cursor: pointer; transition: border-color 0.2s, background 0.2s; text-align: center; color: #666; font-size: 0.85rem; margin-top: 4px; }
.img-dropzone:hover, .img-dropzone.is-over { border-color: #1a1a1a; background: #f9fafb; }

.img-status { font-size: 0.82rem; margin-top: 6px; display: none; }

@keyframes spin { to { transform: rotate(360deg); } }
.img-spin { animation: spin 0.9s linear infinite; transform-origin: center; }

.image-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 16px; }
.image-preview-item { position: relative; border-radius: 4px; overflow: hidden; border: 2px solid #e2e8f0; aspect-ratio: 4/3; }
.image-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.image-preview-item .primary-badge { position: absolute; top: 4px; left: 4px; background: #C9A84C; color: #1a1a1a; font-size: 0.6rem; font-weight: 700; padding: 2px 6px; text-transform: uppercase; }
.image-preview-item .delete-btn { position: absolute; top: 4px; right: 4px; background: rgba(192,57,43,0.85); color: #fff; border: none; cursor: pointer; font-size: 0.7rem; padding: 3px 6px; border-radius: 2px; }
.image-preview-item .primary-btn { position: absolute; bottom: 4px; left: 4px; right: 4px; text-align: center; background: rgba(0,0,0,0.6); color: #fff; border: none; cursor: pointer; font-size: 0.7rem; padding: 3px 6px; }

.admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table th { background: #f7f7f7; color: #666; font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.8px; padding: 10px 14px; text-align: left; border-bottom: 2px solid #e2e8f0; }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid #e2e8f0; vertical-align: middle; }
.admin-table tr:hover td { background: #fafafa; }
.admin-table .car-thumb { width: 64px; height: 48px; object-fit: cover; border-radius: 3px; }

.badge-available { background: #d5f5e3; color: #1a7a4a; padding: 3px 8px; border-radius: 3px; font-size: 0.75rem; font-weight: 600; }
.badge-sold { background: #fce8e8; color: #c0392b; padding: 3px 8px; border-radius: 3px; font-size: 0.75rem; font-weight: 600; }
.badge-deposit { background: #fef0dc; color: #b45309; padding: 3px 8px; border-radius: 3px; font-size: 0.75rem; font-weight: 600; }
.markas-select { background: #1a2a3a; color: #fff; border: none; padding: 6px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 600; cursor: pointer; }

.alert-success { background: #d5f5e3; color: #1a7a4a; border: 1px solid #a9dfbf; border-radius: 4px; padding: 12px 16px; margin-bottom: 16px; font-size: 0.9rem; }
.alert-error { background: #fce8e8; color: #c0392b; border: 1px solid #f5b7b1; border-radius: 4px; padding: 12px 16px; margin-bottom: 16px; font-size: 0.9rem; }

.btn-gold {
    display: inline-flex; align-items: center; gap: 6px;
    background: #8B7355; color: #fff;
    padding: 9px 20px; border-radius: 4px;
    font-size: 0.85rem; font-weight: 600; letter-spacing: 0.3px;
    text-decoration: none; border: none; cursor: pointer;
    transition: background 0.2s; white-space: nowrap;
}
.btn-gold:hover { background: #6f5c42; color: #fff; }

.btn-save-floating {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    padding: 13px 32px;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.28);
}

.btn-navy {
    display: inline-flex; align-items: center; gap: 6px;
    background: #1a2a3a; color: #fff;
    padding: 9px 18px; border-radius: 4px;
    font-size: 0.85rem; font-weight: 600;
    text-decoration: none; border: none; cursor: pointer;
    transition: background 0.2s; white-space: nowrap;
}
.btn-navy:hover { background: #0d1b27; color: #fff; }

.btn-outline {
    display: inline-flex; align-items: center; gap: 6px;
    background: transparent; color: #2d2d2d;
    padding: 9px 18px; border-radius: 4px;
    font-size: 0.85rem; font-weight: 600;
    text-decoration: none; border: 1px solid #ccc; cursor: pointer;
    transition: border-color 0.2s, background 0.2s; white-space: nowrap;
}
.btn-outline:hover { border-color: #1a1a1a; background: #f7f7f7; }

/* ── Layout helpers ──────────────────────────────────────── */

.row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.col { padding: 0 12px; flex: 1; min-width: 0; }
.col-3 { flex: 0 0 25%; max-width: 25%; padding: 0 12px; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 12px; }
.col-6 { flex: 0 0 50%; max-width: 50%; padding: 0 12px; }
.col-8 { flex: 0 0 66.666%; max-width: 66.666%; padding: 0 12px; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 32px !important; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.text-center { text-align: center; }
.w-100 { width: 100%; }

/* ── Contact Page ────────────────────────────────────────── */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 60px;
    align-items: start;
}

.contact-form-wrap { width: 100%; }

.contact-form .contact-field {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 7px;
    font-weight: 500;
}

.contact-required { color: var(--gold); }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="number"],
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    background: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: var(--dark);
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--black); }

.contact-form textarea { resize: vertical; min-height: 140px; }

/* Dark background variant — used on the sold page mailing list sign-up */
.contact-form--dark input[type="text"],
.contact-form--dark input[type="email"],
.contact-form--dark input[type="tel"],
.contact-form--dark input[type="number"],
.contact-form--dark textarea {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: #fff;
}

.contact-form--dark input[type="text"]::placeholder,
.contact-form--dark input[type="email"]::placeholder,
.contact-form--dark input[type="tel"]::placeholder,
.contact-form--dark input[type="number"]::placeholder,
.contact-form--dark textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

.contact-form--dark input:focus,
.contact-form--dark textarea:focus {
    border-color: var(--gold);
    outline: none;
}

.contact-form--dark label {
    color: rgba(255,255,255,0.65);
}

.contact-field-error {
    display: block;
    font-size: 0.72rem;
    color: #c0392b;
    margin-top: 5px;
    letter-spacing: 0.5px;
}

.contact-submit {
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 14px 40px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 3px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.contact-submit:hover { background: var(--gold); }

.contact-success {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f0faf4;
    border: 1px solid #a8d5b5;
    color: #2d7a4f;
    padding: 14px 18px;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.contact-error {
    background: #fdf0f0;
    border: 1px solid #e8b4b4;
    color: #c0392b;
    padding: 12px 16px;
    font-size: 0.82rem;
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-block h4 {
    font-size: 0.7rem;
    letter-spacing: 2.5px;
    color: var(--black);
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-info-rule {
    width: 32px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 14px;
}

.contact-info-block p {
    font-size: 0.85rem;
    color: var(--mid);
    line-height: 1.9;
}

.contact-info-block a {
    color: var(--dark);
    text-decoration: none;
}

.contact-info-block a:hover { color: var(--gold); }

/* ── Admin Messages ───────────────────────────────────────── */

.msg-list { border-top: 1px solid var(--border); }

.msg-row {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    gap: 12px;
    transition: background 0.15s;
}

.msg-row:last-child { border-bottom: none; }
.msg-row:hover { background: var(--grey-bg); }

.msg-row__link {
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: var(--dark);
}

.msg-row__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.msg-delete-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--light);
    padding: 4px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: color 0.15s;
}

.msg-delete-btn:hover { color: #c0392b; }

.msg-row--unread .msg-sender { font-weight: 700; }

.msg-sender {
    font-size: 0.85rem;
    color: var(--black);
    margin-bottom: 3px;
}

.msg-preview {
    font-size: 0.78rem;
    color: var(--mid);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 480px;
}

.msg-unread-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    vertical-align: middle;
}

.msg-date {
    font-size: 0.72rem;
    color: var(--light);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.msg-detail { max-width: 680px; }

.msg-detail-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.msg-detail-header h3 {
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.msg-meta {
    font-size: 0.78rem;
    color: var(--mid);
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.msg-meta strong { color: var(--dark); }

.msg-body {
    background: var(--grey-bg);
    padding: 24px;
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--dark);
    white-space: pre-wrap;
    border-left: 3px solid var(--gold);
}

.msg-notes {
    margin-top: 36px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

.msg-notes__heading {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.msg-notes__list { margin-bottom: 20px; }

.msg-note {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 5px;
    padding: 14px 16px;
    margin-bottom: 10px;
}

.msg-note__body {
    font-size: 0.88rem;
    color: var(--dark);
    line-height: 1.7;
    white-space: pre-wrap;
    margin-bottom: 10px;
}

.msg-note__footer {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--muted);
}

.msg-note__author {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--dark);
}

.msg-note__date { color: var(--muted); }

.msg-note__delete {
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc;
    padding: 2px;
    display: flex;
    align-items: center;
    border-radius: 3px;
    transition: color 0.15s;
}

.msg-note__delete:hover { color: #c0392b; }

.msg-notes__form { margin-top: 4px; }

.badge-unread {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 8px;
    vertical-align: middle;
}

/* ── Responsive ──────────────────────────────────────────── */

/* Finance page */
.finance-option { margin-bottom: 56px; }
.finance-option-body p { color: var(--mid); line-height: 1.9; text-align: center; margin-bottom: 12px; }
.finance-option-body ol { color: var(--mid); line-height: 2; text-align: left; max-width: 500px; margin: 16px auto; padding-left: 20px; }

/* Contact / Finance forms */
.pw-form { background: var(--white); padding: 36px; border: 1px solid var(--border); }
.pw-form-row { display: flex; gap: 20px; }
.pw-form-row .pw-form-group { flex: 1; }
.pw-form-group { margin-bottom: 20px; }
.pw-form-group label { display: block; font-size: 0.75rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--dark); margin-bottom: 6px; }
.pw-form-group input, .pw-form-group textarea { width: 100%; border: 1px solid var(--border); padding: 10px 14px; font-family: 'Montserrat', sans-serif; font-size: 0.88rem; color: var(--dark); background: var(--white); }
.pw-form-group input:focus, .pw-form-group textarea:focus { outline: none; border-color: var(--black); }
.pw-form-group .req { color: #c0392b; }
.pw-field-error { font-size: 0.78rem; color: #c0392b; display: block; margin-top: 4px; }
.pw-alert-success { background: #f0faf4; border: 1px solid #a9dfbf; color: #1a7a4a; padding: 14px 20px; margin-bottom: 24px; text-align: center; font-size: 0.9rem; }
.pw-alert-error { background: #fdf0f0; border: 1px solid #f5b7b1; color: #c0392b; padding: 14px 20px; margin-bottom: 24px; text-align: center; font-size: 0.9rem; }

/* ── Card Slideshow ──────────────────────────────────────── */

.stock-card {
    display: block;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border: 1px solid var(--border);
    transition: box-shadow 0.25s;
    position: relative;
}

.stock-card:hover { box-shadow: 0 6px 32px rgba(0,0,0,0.10); }

.card-slides { position: relative; width: 100%; height: 100%; }

.card-slide {
    display: none;
    position: absolute;
    inset: 0;
}

.card-slide.is-active { display: block; }

.card-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    width: 32px;
    height: 44px;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    line-height: 1;
    padding: 0;
}

.stock-card:hover .card-slide-btn { opacity: 1; }

.card-slide-btn--prev { left: 0; border-radius: 0 3px 3px 0; }
.card-slide-btn--next { right: 0; border-radius: 3px 0 0 3px; }
.card-slide-btn:hover { background: rgba(0,0,0,0.7); }

.card-slide-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 5;
}

.card-slide-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    transition: background 0.2s;
}

.card-slide-dot.is-active { background: #fff; }

/* ── Product section shared rule ─────────────────────────── */

.product-rule {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--black);
    margin: 12px 0 0;
}

.product-rule--light { background: rgba(255,255,255,0.35); }

/* ── Product brief layout update ─────────────────────────── */

.product-brief-right { display: flex; flex-direction: column; }

/* ── Product photo grid (Interior / Exterior) ────────────── */

.product-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.product-photo-grid__item {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--grey-bg);
}

.product-photo-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.product-photo-grid__item img:hover { transform: scale(1.04); }

/* ── Lightbox ────────────────────────────────────────────── */

.pw-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9000;
    align-items: center;
    justify-content: center;
}

.pw-lightbox.is-open { display: flex; }

.pw-lightbox__stage {
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pw-lightbox__stage img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    cursor: pointer;
    display: block;
    box-shadow: 0 8px 60px rgba(0,0,0,0.6);
}

.pw-lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.4rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.75;
    transition: opacity 0.15s;
    z-index: 9001;
}

.pw-lightbox__close:hover { opacity: 1; }

.pw-lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    font-size: 2.8rem;
    cursor: pointer;
    width: 52px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.15s, background 0.15s;
    z-index: 9001;
    line-height: 1;
    padding: 0;
}

.pw-lightbox__arrow:hover { opacity: 1; background: rgba(255,255,255,0.2); }
.pw-lightbox__arrow--prev { left: 16px; border-radius: 4px; }
.pw-lightbox__arrow--next { right: 16px; border-radius: 4px; }

.pw-lightbox__swipe-hint {
    display: none; /* shown only on mobile via media query */
    position: absolute;
    bottom: 56px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    white-space: nowrap;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.pw-lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 0.78rem;
    letter-spacing: 2px;
}

/* ── Hamburger toggle (hidden on desktop) ────────────────── */

.pw-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: 12px;
}

.pw-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--black);
    transition: transform 0.25s, opacity 0.2s;
}

.pw-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pw-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.pw-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.pw-header-right {
    display: none; /* only holds the mobile burger; shown via the mobile query */
    align-items: center;
}

/* ── Responsive ──────────────────────────────────────────── */

/* Tablet: 2-column stock */
@media (max-width: 1024px) {
    .stock-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid  { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile nav + layout */
@media (max-width: 768px) {

    /* ── Header ── phone left, logo centred, burger right ── */
    .pw-header-inner { padding: 14px 20px; }
    .pw-logo-name    { font-size: 1.9rem; letter-spacing: 4px; margin-right: -4px; }
    .pw-contact-link--email { display: none; }
    .pw-nav-toggle   { display: flex; }

    .pw-contact-link--phone { order: 1; flex: 1 1 0; justify-content: flex-start; }
    .pw-logo                { order: 2; }
    .pw-header-right        { order: 3; flex: 1 1 0; display: flex; justify-content: flex-end; }

    /* ── Nav: collapse by default, open with JS ── */
    .pw-nav { display: none; border-top: none; position: static; box-shadow: none; }
    .pw-nav.is-open  { display: block; }

    /* Keep the header pinned to the top while scrolling — every page except the
       car detail page (which has its own sticky section/action bars). */
    body:not(.page-product) .pw-header {
        position: sticky;
        top: 0;
        z-index: 600;
    }
    /* The dropdown menu drops from directly beneath the pinned header. */
    body:not(.page-product) .pw-nav.is-open {
        position: fixed;
        top: var(--pw-header-h, 64px);
        left: 0;
        right: 0;
        z-index: 590;
        max-height: calc(100vh - var(--pw-header-h, 64px));
        overflow-y: auto;
    }
    .pw-nav-inner {
        flex-direction: column;
        padding: 0;
        gap: 0;
        justify-content: flex-start;
    }
    .pw-nav-inner a {
        padding: 14px 24px;
        font-size: 0.78rem;
        letter-spacing: 2px;
        border-bottom: 1px solid var(--border);
        border-bottom-width: 1px;
        color: var(--dark);
    }
    .pw-nav-inner a:hover,
    .pw-nav-inner a.active {
        color: var(--black);
        border-bottom-color: var(--border);
        background: var(--grey-bg);
    }

    /* ── Hero ── */
    .pw-hero { height: 60vh; min-height: 300px; }
    .pw-hero-content h1 { font-size: 2rem; letter-spacing: 4px; }

    /* ── Page banner with image ── */
    .pw-page-banner--image { height: 52vh; min-height: 280px; }
    .pw-page-banner__inner h2 { font-size: 2rem; letter-spacing: 5px; }

    /* ── Sections ── */
    .pw-section { padding: 44px 0; }
    .pw-container { padding: 0 20px; }
    .pw-section-head { margin-bottom: 32px; }

    /* ── Pillars ── */
    .pw-pillars { grid-template-columns: repeat(2, 1fr); gap: 28px; }

    /* ── Stock grid ── */
    .stock-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    /* Match the image box to the photo's 3:2 ratio so it barely crops on mobile */
    .stock-card__image { height: auto; aspect-ratio: 3 / 2; }

    /* ── Footer ── */
    .pw-footer { padding: 40px 0 0; }
    .pw-footer-inner { grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
    .pw-footer-bottom { padding: 16px 20px; }

    /* ── Contact page ── */
    .contact-layout { grid-template-columns: 1fr; gap: 40px; }

    /* ── Car show page ── */
    .product-section-nav-bar { top: 0; }
    .product-brief-top      { grid-template-columns: 1fr; }
    .product-gallery__main  { height: 280px; }
    .product-gallery__thumb { width: 80px; height: 53px; }
    .product-enquire-layout { grid-template-columns: 1fr; gap: 32px; }
    .product-enquire-price-box { position: static; top: auto; }
    .product-features-list  { grid-template-columns: repeat(2, 1fr); }
    .product-photo-grid     { grid-template-columns: repeat(2, 1fr); }
    /* Three equal, centred actions that always fill the width — no sideways scroll. */
    .product-action-bar__inner { overflow: hidden; flex-wrap: nowrap; }
    .product-action-bar__item  { flex: 1 1 0; min-width: 0; justify-content: center; white-space: nowrap; font-size: 0.62rem; letter-spacing: 0.3px; padding: 11px 4px; gap: 5px; }
    .product-action-bar__item--right { margin-left: 0; }
    .product-action-bar__long  { display: none; } /* "Enquire About This Car" -> "Enquire" on mobile */

    /* ── Team ── */
    .team-grid { grid-template-columns: 1fr; }

    /* ── Legacy grid helpers ── */
    .col-3, .col-4, .col-6, .col-8 { flex: 0 0 100%; max-width: 100%; }
    .pw-form-row { flex-direction: column; gap: 0; }

    /* ── Lightbox ── */
    .pw-lightbox__arrow { width: 40px; height: 56px; font-size: 2rem; }

    /* Mobile lightbox: big circle close button, hide arrows (use swipe) */
    .pw-lightbox__close {
        top: 14px;
        right: 14px;
        width: 44px;
        height: 44px;
        padding: 0;
        font-size: 2rem;
        line-height: 44px;
        text-align: center;
        background: rgba(0,0,0,0.55);
        border-radius: 50%;
        opacity: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .pw-lightbox__arrow { display: none; }
    .pw-lightbox__counter { bottom: 20px; }
    .pw-lightbox__swipe-hint {
        display: block;
        bottom: 48px;
    }
    .pw-lightbox__stage img {
        max-width: 100vw;
        max-height: 82vh;
    }
}

/* Small phones */
@media (max-width: 480px) {

    /* ── Header ── */
    .pw-header-inner { padding: 12px 16px; }
    .pw-logo-name    { font-size: 1.5rem; letter-spacing: 3px; margin-right: -3px; }
    .pw-logo-sub     { font-size: 0.5rem; letter-spacing: 3px; margin-right: -3px; }
    .pw-contact-link span { display: none; }
    .pw-contact-link svg  { opacity: 0.7; }

    /* ── Hero ── */
    .pw-hero { height: 52vh; min-height: 260px; }
    .pw-hero-content h1 { font-size: 1.5rem; letter-spacing: 2px; }
    .pw-hero-content p  { font-size: 0.7rem; letter-spacing: 1.5px; }
    .pw-hero-btn        { padding: 11px 24px; font-size: 0.68rem; letter-spacing: 2px; }

    /* ── Page banner ── */
    .pw-page-banner--image  { height: 48vh; min-height: 240px; }
    .pw-page-banner__inner h2 { font-size: 1.5rem; letter-spacing: 3px; }

    /* ── Sections ── */
    .pw-section { padding: 32px 0; }
    .pw-container { padding: 0 16px; }
    .pw-section-head h2 { font-size: 1.1rem; letter-spacing: 4px; }

    /* ── Stock grid: single column ── */
    .stock-grid { grid-template-columns: 1fr; gap: 12px; }
    /* keep the 3:2 ratio (set above) rather than a fixed height so it doesn't crop */
    .stock-card__image { height: auto; aspect-ratio: 3 / 2; }

    /* ── Pillars: single column ── */
    .pw-pillars { grid-template-columns: 1fr; gap: 24px; }

    /* ── Car show page ── */
    .product-gallery__main  { height: 240px; }
    .product-gallery__thumb { width: 68px; height: 45px; }
    .product-header__content h1  { font-size: 1.3rem; letter-spacing: 2px; }
    .product-header__price       { font-size: 1.5rem; }
    .product-features-list       { grid-template-columns: 1fr 1fr; }
    .product-section { padding: 32px 0; }
    .product-photo-grid { grid-template-columns: 1fr 1fr; }

    /* ── Forms ── */
    .pw-form        { padding: 20px 16px; }
    .company-narrow { padding: 0 16px; }

    /* ── Filters ── keep both dropdowns on one line on mobile ── */
    .stock-filters { flex-wrap: nowrap; gap: 8px; padding-left: 0; }
    .stock-filters select { flex: 1 1 0; min-width: 0; font-size: 0.78rem; }
    .stock-filters__clear { flex-shrink: 0; white-space: nowrap; }

    /* ── Lightbox (arrows already hidden at 640px) ── */
    .pw-lightbox__swipe-hint { bottom: 44px; }
}

/* ── Car Enquiry Form ────────────────────────────────────── */

.enquiry-form { margin-top: 4px; }

.enquiry-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.enquiry-form__field {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.enquiry-form__field label {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 6px;
}

.enquiry-form__field input,
.enquiry-form__field textarea {
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 10px 13px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--dark);
    transition: border-color 0.2s;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}

.enquiry-form__field input:focus,
.enquiry-form__field textarea:focus {
    outline: none;
    border-color: var(--black);
}

.enquiry-form__field input.is-invalid,
.enquiry-form__field textarea.is-invalid { border-color: #c0392b; }

.enquiry-form__field textarea { resize: vertical; min-height: 120px; }

.enquiry-form__error { color: #c0392b; font-size: 0.78rem; margin-top: 4px; }

/* ── Enquire section — dark background overrides ─────────── */
#enquire.product-section--dark p { color: rgba(255,255,255,0.55) !important; }

#enquire.product-section--dark .enquiry-form__field label {
    color: rgba(255,255,255,0.5);
}
#enquire.product-section--dark .enquiry-form__field input,
#enquire.product-section--dark .enquiry-form__field textarea {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.15);
    color: var(--white);
}
#enquire.product-section--dark .enquiry-form__field input::placeholder,
#enquire.product-section--dark .enquiry-form__field textarea::placeholder {
    color: rgba(255,255,255,0.25);
}
#enquire.product-section--dark .enquiry-form__field input:focus,
#enquire.product-section--dark .enquiry-form__field textarea:focus {
    border-color: rgba(255,255,255,0.45);
}
#enquire.product-section--dark .product-enquire-contact__item {
    border-color: rgba(255,255,255,0.25);
    color: var(--white);
}
#enquire.product-section--dark .product-enquire-contact__item:hover { border-color: rgba(255,255,255,0.55); }
#enquire.product-section--dark .product-enquire-contact__item svg { opacity: 0.8; }
#enquire.product-section--dark .product-enquire-contact__item span { color: var(--gold) !important; }
#enquire.product-section--dark .product-enquire-price-box {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--white);
}

@media (max-width: 768px) {
    .enquiry-form__row { grid-template-columns: 1fr; }
}

/* ── Print / PDF ─────────────────────────────────────────── */

.print-header { display: none; }

@media print {

    /* ── Page setup ── */
    @page {
        size: A4 portrait;
        margin: 16mm 14mm 14mm;
    }

    * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }

    body { font-family: 'Montserrat', 'Segoe UI', sans-serif; color: #1a1a1a; background: #fff; font-size: 9pt; }

    /* ── Hide everything web-specific ── */
    .pw-header,
    .pw-nav,
    .pw-footer,
    .product-action-bar,
    .product-section-nav,
    .product-gallery__thumbs,
    .brief-img--back,
    .pw-lightbox,
    #enquire,
    .product-enquire-layout,
    .product-enquire-contact,
    .product-photo-grid__item img[loading="lazy"] { display: none !important; }

    /* ── Print header ── */
    .print-header {
        display: flex !important;
        justify-content: space-between;
        align-items: flex-end;
        border-bottom: 2px solid #1a1a1a;
        padding-bottom: 10px;
        margin-bottom: 14pt;
    }

    .print-header__logo-name {
        font-family: 'Josefin Sans', 'Raleway', sans-serif;
        font-size: 18pt;
        font-weight: 100;
        letter-spacing: 6px;
        color: #1a1a1a;
        line-height: 1;
    }

    .print-header__logo-sub {
        font-size: 7pt;
        letter-spacing: 3px;
        color: #666;
        margin-top: 3px;
    }

    .print-header__contact {
        text-align: right;
        font-size: 8pt;
        color: #444;
        line-height: 1.7;
    }

    /* ── Car title block ── */
    .product-header {
        background: #1a1a1a !important;
        padding: 14pt 0 12pt !important;
        margin-bottom: 14pt;
        page-break-inside: avoid;
    }

    .product-header h1 {
        font-family: 'Raleway', 'Montserrat', sans-serif;
        font-size: 18pt;
        font-weight: 300;
        letter-spacing: 4px;
        color: #fff !important;
        margin: 0 0 6pt;
    }

    .product-header__sub {
        color: #bbb !important;
        font-size: 8pt;
        letter-spacing: 1px;
    }

    .product-header__sub span::after { content: ' · '; color: #555; }
    .product-header__sub span:last-child::after { content: ''; }

    .product-header__price {
        font-family: 'Raleway', 'Montserrat', sans-serif;
        font-size: 20pt;
        font-weight: 300;
        letter-spacing: 2px;
        color: #8B7355 !important;
        margin-top: 6pt;
    }

    /* ── Sections ── */
    .product-section { padding: 14pt 0 !important; background: #fff !important; }
    .product-section--grey { background: #f9f9f9 !important; }
    .product-section--dark { background: #1a1a1a !important; }

    .pw-container { max-width: 100% !important; padding: 0 !important; }

    .product-section__head { margin-bottom: 10pt; }

    .product-section__head h2 {
        font-family: 'Raleway', 'Montserrat', sans-serif;
        font-size: 11pt;
        font-weight: 400;
        letter-spacing: 4px;
        color: #1a1a1a;
        margin: 0;
    }

    .product-section__head--light h2 { color: #fff !important; }

    .product-rule { display: block; height: 1px; background: #ccc; margin-top: 6pt; }
    .product-rule--light { background: rgba(255,255,255,0.2); }

    .product-section__text { font-size: 9pt; line-height: 1.7; color: #333; }
    .product-section__text--light { color: #ccc !important; }

    /* ── Gallery: show only main image, sized for print ── */
    .product-gallery { display: block !important; }

    .product-brief-top {
        display: grid !important;
        grid-template-columns: 1.4fr 1fr !important;
        gap: 14pt !important;
        align-items: start;
        page-break-inside: avoid;
    }

    /* Reset absolute stacking — print engines handle static flow better */
    .product-gallery__main {
        position: static !important;
        height: auto !important;
        overflow: hidden !important;
        background: #f0f0f0 !important;
    }

    .brief-img--back { display: none !important; }

    .brief-img--front {
        position: static !important;
        display: block !important;
        width: 100% !important;
        height: 200pt !important;
        object-fit: contain !important;
        opacity: 1 !important;
    }

    /* ── Specs panel ── */
    .product-brief-specs {
        border: 1px solid #e0e0e0;
        padding: 10pt;
        background: #fff !important;
    }

    .product-brief-specs p {
        font-size: 8.5pt;
        margin: 0 0 5pt;
        line-height: 1.5;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 4pt;
    }

    .product-brief-specs p:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
    .product-brief-specs strong { color: #1a1a1a; min-width: 80pt; display: inline-block; }

    /* ── Photo grids ── */
    .product-photo-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6pt !important;
        margin-top: 10pt;
    }

    .product-photo-grid__item {
        height: 100pt;
        overflow: hidden;
        background: #f0f0f0;
    }

    .product-photo-grid__item img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* ── Features list ── */
    .product-features-list {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 4pt 14pt !important;
    }

    .product-features-list__item {
        font-size: 8pt;
        display: flex;
        align-items: center;
        gap: 5pt;
    }

    /* ── Page breaks ── */
    .product-section { page-break-inside: avoid; }
    #history, #interior, #exterior, #features { page-break-before: auto; }

    /* ── Print footer ── */
    .product-section:last-of-type::after {
        content: 'Parkway Specialist Cars · 345 Nottingham Road, Mansfield, Nottinghamshire · Tel: 01623 622627 · sales@parkwayspecialistcars.co.uk';
        display: block;
        margin-top: 18pt;
        padding-top: 8pt;
        border-top: 1px solid #ccc;
        font-size: 7.5pt;
        color: #888;
        text-align: center;
        letter-spacing: 0.5px;
    }
}
