/* ═══════════════════════════════════════════════════════════════════════════
   Novi Automobili — Cene novih automobila u Srbiji (SEO Hub & Katalog)
   ═══════════════════════════════════════════════════════════════════════════ */

.na-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 18px 64px;
}

.na-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.84rem;
    color: #64748b;
    margin-bottom: 18px;
}

.na-breadcrumb a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
}

.na-breadcrumb a:hover {
    color: #6a142c;
}

.na-breadcrumb .current {
    color: #0f172a;
    font-weight: 700;
}

/* Hero */
.na-hero {
    background: linear-gradient(135deg, #1f050c 0%, #4d0e20 55%, #6a142c 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 30px 32px;
    margin-bottom: 22px;
    box-shadow: 0 14px 36px rgba(106, 20, 44, 0.18);
}

.na-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffe4eb;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.na-hero__title {
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 900;
    line-height: 1.18;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.na-hero__sub {
    font-size: 0.98rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    max-width: 880px;
    margin: 0 0 22px;
}

.na-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.na-stat-card {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 12px 14px;
    text-decoration: none;
    color: #ffffff;
    transition: background 0.18s ease, transform 0.18s ease;
}

a.na-stat-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.na-stat-card__lbl {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
}

.na-stat-card__val {
    font-size: 1.12rem;
    font-weight: 800;
    color: #ffffff;
}

.na-stat-card__meta {
    font-size: 0.8rem;
    color: #ffd6e0;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Preset SEO Pills */
.na-presets-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.na-preset-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.16s ease;
}

.na-preset-pill:hover {
    border-color: #6a142c;
    color: #6a142c;
    background: #fff5f7;
}

.na-preset-pill.active {
    background: #6a142c;
    border-color: #6a142c;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(106, 20, 44, 0.22);
}

/* Filter Toolbar */
.na-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.na-search-wrap {
    position: relative;
    flex: 1 1 260px;
}

.na-search-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    color: #94a3b8;
    pointer-events: none;
}

.na-search-input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1px solid #cbd5e1;
    border-radius: 11px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #0f172a;
    outline: none;
    background: #f8fafc;
}

.na-search-input:focus {
    border-color: #6a142c;
    background: #ffffff;
}

.na-select {
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 11px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    color: #1e293b;
    background: #f8fafc;
    cursor: pointer;
    outline: none;
}

.na-select:focus {
    border-color: #6a142c;
    background: #ffffff;
}

.na-count-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    margin-left: auto;
}

/* Models Grid */
.na-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    gap: 18px;
    margin-bottom: 40px;
}

.na-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.na-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
    border-color: #d4a5b2;
}

.na-card__img-box {
    position: relative;
    height: 176px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    overflow: hidden;
}

.na-card__img {
    max-width: 100%;
    max-height: 152px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.na-card:hover .na-card__img {
    transform: scale(1.04);
}

.na-card__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    z-index: 2;
}

.na-badge {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 6px;
}

.na-badge--action {
    background: #dc2626;
    color: #ffffff;
}

.na-badge--new {
    background: #6a142c;
    color: #ffffff;
}

.na-badge--ev {
    background: #0284c7;
    color: #ffffff;
}

.na-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.na-card__brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.na-card__brand {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6a142c;
}

.na-card__variants {
    font-size: 0.74rem;
    font-weight: 600;
    color: #64748b;
}

.na-card__title {
    font-size: 1.06rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
}

.na-card__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.78rem;
    color: #475569;
}

.na-card__spec-chip {
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.na-card__footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.na-card__old-price {
    display: block;
    font-size: 0.76rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
}

.na-card__price {
    font-size: 1.14rem;
    font-weight: 900;
    color: #0f172a;
}

.na-card__price--action {
    color: #dc2626;
}

.na-card__lease {
    font-size: 0.76rem;
    font-weight: 700;
    color: #6a142c;
    background: #fdf2f4;
    padding: 4px 8px;
    border-radius: 7px;
    white-space: nowrap;
}

/* Section Headers */
.na-section {
    margin-top: 44px;
}

.na-section__title {
    font-size: 1.38rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}

.na-section__desc {
    font-size: 0.92rem;
    color: #475569;
    margin: 0 0 18px;
    line-height: 1.55;
}

/* Top Cheapest Table */
.na-table-wrap {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow-x: auto;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.na-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.na-table th {
    text-align: left;
    background: #f8fafc;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 13px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.na-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
}

.na-table tr:last-child td {
    border-bottom: none;
}

.na-table tr:hover td {
    background: #fdf8f9;
}

.na-table__link {
    font-weight: 800;
    color: #0f172a;
    text-decoration: none;
}

.na-table__link:hover {
    color: #6a142c;
    text-decoration: underline;
}

.na-table__price {
    font-weight: 900;
    color: #6a142c;
    white-space: nowrap;
}

/* Brands Directory */
.na-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 10px;
}

.na-brand-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #0f172a;
    transition: border-color 0.16s ease, background 0.16s ease;
}

.na-brand-item:hover {
    border-color: #6a142c;
    background: #fff5f7;
}

.na-brand-item__logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex-shrink: 0;
}

.na-brand-item__name {
    font-size: 0.88rem;
    font-weight: 800;
    display: block;
}

.na-brand-item__meta {
    font-size: 0.74rem;
    color: #64748b;
    font-weight: 600;
}

/* FAQ & Guide */
.na-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.na-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
}

.na-faq-item h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
}

.na-faq-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

@media (max-width: 900px) {
    .na-hero {
        padding: 22px 18px;
    }
    .na-hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .na-count-label {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 520px) {
    .na-hero__stats {
        grid-template-columns: 1fr;
    }
    .na-models-grid {
        grid-template-columns: 1fr;
    }
}

.na-hero__intro {
    margin-top: -12px;
}

.na-hero__updated {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: -14px 0 22px;
}

.na-table__save {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #15803d;
}
