/* Public vehicle catalog (templates/public_catalog/catalog.html) — scoped
   to .pcl-page only. Standalone page (no base.html/layout.css), same
   pattern as templates/public_homepage/home.html and
   templates/public_landing/landing.html. Namespace: pcl- (Public
   CataLog) — isolated from pmh- (homepage) and cvl- (vehicle landing). */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

.pcl-page {
    font-family: 'Manrope', system-ui, sans-serif;
    color: #0f172a;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

/* No default `color` here on purpose — same reasoning as .pmh-page a:
   every <a> below sets its own via a component class, and a blanket
   color here would beat those single-class rules regardless of source
   order (higher specificity via the tag selector). */
.pcl-page a { text-decoration: none; }

.pcl-eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0891b2;
}

/* ---- Nav ---- */
.pcl-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #eef2f7;
}

.pcl-nav__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    height: 64px;
}

.pcl-nav__brand { display: flex; align-items: center; }

.pcl-nav__logo {
    height: 30px;
    width: auto;
    display: block;
    mix-blend-mode: multiply;
}

/* ---- Hero ---- */
.pcl-hero {
    padding: 44px 0 36px;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 78%);
    border-bottom: 1px solid #eef2f7;
}

.pcl-hero__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 22px;
}

.pcl-hero__title {
    margin: 10px 0 0;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #0f172a;
    font-size: 28px;
}

@media (min-width: 880px) {
    .pcl-hero__title { font-size: 38px; }
}

.pcl-hero__text {
    margin: 14px 0 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    color: #475569;
    max-width: 640px;
    text-wrap: pretty;
}

/* ---- Grid ---- */
.pcl-grid-section { padding: 40px 0 64px; }

.pcl-grid-section__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 22px;
}

.pcl-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .pcl-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
    .pcl-grid { grid-template-columns: repeat(3, 1fr); }
}

.pcl-card {
    display: block;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 10px -6px rgba(15, 23, 42, 0.12);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.pcl-card:hover {
    box-shadow: 0 14px 30px -14px rgba(15, 23, 42, 0.28);
    transform: translateY(-2px);
}

.pcl-card__image-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
}

.pcl-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pcl-card__image-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcl-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pcl-card__body { padding: 16px 18px 18px; }

.pcl-card__title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #0f172a;
}

.pcl-card__estimate {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: #0891b2;
}

.pcl-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    font-size: 13.5px;
    font-weight: 800;
    color: #0284c7;
}

.pcl-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 40px;
}

.pcl-pagination__nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 800;
    color: #0284c7;
}

.pcl-pagination__nav--disabled {
    color: #cbd5e1;
    pointer-events: none;
}

.pcl-pagination__status {
    font-size: 13.5px;
    font-weight: 700;
    color: #64748b;
}

.pcl-empty {
    padding: 60px 22px;
    text-align: center;
    color: #64748b;
    font-size: 15px;
    font-weight: 600;
}

/* ---- Footer ---- */
.pcl-footer {
    padding: 26px 0;
    border-top: 1px solid #eef2f7;
}

.pcl-footer__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pcl-footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pcl-footer__logo {
    display: block;
    height: 22px;
    width: auto;
    mix-blend-mode: multiply;
}

.pcl-footer__copy {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
}

.pcl-footer__home {
    font-size: 13px;
    font-weight: 700;
    color: #0284c7;
}
