.vin-page-main {
    padding: 1.5rem 0 3.5rem;
    background: #f3f5f7;
}

.vin-page-container {
    width: min(1080px, calc(100% - 32px));
    margin: 0 auto;
}

.vin-breadcrumb-nav {
    margin-bottom: 1.25rem;
}

.vin-breadcrumb-nav .breadcrumb {
    flex-wrap: wrap;
    margin-bottom: 0;
    font-size: 0.88rem;
    overflow-wrap: anywhere;
}

.vin-breadcrumb-nav .breadcrumb-item {
    min-width: 0;
}

.vin-page-kicker {
    display: block;
    margin-bottom: 0.45rem;
    color: #3975a8;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vin-search-hero,
.vin-compact-search,
.vin-vehicle-card,
.vin-data-card,
.vin-empty-state,
.vin-location-card,
.vin-sidebar-card,
.vin-stat-card {
    border: 1px solid #dfe5ea;
    background: #fff;
    box-shadow: 0 7px 22px rgba(22, 43, 61, 0.055);
}

.vin-search-hero {
    position: relative;
    margin-bottom: 2rem;
    padding: clamp(1.5rem, 4vw, 2.8rem);
    overflow: hidden;
    border-radius: 16px;
}

.vin-search-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, #235787, #4b88b9);
}

.vin-search-hero-copy {
    max-width: 780px;
}

.vin-search-hero h1 {
    margin-bottom: 0.85rem;
    color: #172b3d;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 760;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.vin-search-hero-copy > p {
    max-width: 760px;
    margin-bottom: 0;
    color: #667785;
    font-size: clamp(1rem, 2vw, 1.14rem);
    line-height: 1.65;
}

.vin-search-form-large {
    max-width: 880px;
    margin-top: 2rem;
}

.vin-compact-search {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    border-radius: 14px;
}

.vin-compact-search h1 {
    margin-bottom: 0.85rem;
    color: #1d3447;
    font-size: 1.2rem;
    font-weight: 750;
}

.vin-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
}

.vin-input-wrap {
    position: relative;
    min-width: 0;
}

.vin-input-wrap > i {
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 1;
    color: #688096;
    font-size: 1.08rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.vin-input-wrap .form-control {
    width: 100%;
    min-height: 56px;
    padding: 0.75rem 1rem 0.75rem 2.9rem;
    border-color: #cbd5dd;
    border-radius: 9px;
    background: #fff;
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.vin-input-wrap .form-control:focus {
    border-color: #7fa9cb;
    box-shadow: 0 0 0 0.2rem rgba(35, 87, 135, 0.14);
}

.vin-search-button {
    min-width: 190px;
    min-height: 56px;
    padding-inline: 1.35rem;
    border-radius: 9px;
    font-weight: 700;
}

.vin-search-form-compact .vin-input-wrap .form-control,
.vin-search-form-compact .vin-search-button {
    min-height: 50px;
}

.vin-search-form-compact .vin-search-button {
    min-width: 150px;
}

.vin-search-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.55rem;
    margin-top: 0.8rem;
    color: #6d7b88;
    font-size: 0.84rem;
}

.vin-page-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.25rem;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(22, 43, 61, 0.06);
}

.vin-page-alert > i {
    flex: 0 0 auto;
    margin-top: 0.1rem;
    font-size: 1.08rem;
}

.vin-empty-state {
    margin-bottom: 1.5rem;
    padding: 2.5rem 1.25rem;
    border-radius: 14px;
    text-align: center;
}

.vin-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 0.9rem;
    border-radius: 50%;
    color: #235787;
    background: #e7f0f8;
    font-size: 1.45rem;
}

.vin-empty-state p {
    color: #6f7d89;
    line-height: 1.6;
}

.vin-result {
    min-width: 0;
}

.vin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.vin-stat-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    min-height: 78px;
    padding: 1rem;
    border-radius: 11px;
}

.vin-stat-card > div {
    min-width: 0;
}

.vin-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    border-radius: 10px;
    color: #235787;
    background: #eaf2f8;
    font-size: 1.16rem;
}

.vin-stat-label {
    display: block;
    margin-bottom: 0.18rem;
    color: #7b8792;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.045em;
    line-height: 1.3;
    text-transform: uppercase;
}

.vin-stat-card strong,
.vin-stat-card small {
    display: block;
    overflow-wrap: anywhere;
}

.vin-stat-card strong {
    color: #253746;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.35;
}

.vin-stat-card small {
    margin-top: 0.1rem;
    color: #71808d;
    font-size: 0.7rem;
    line-height: 1.35;
}

.vin-stat-price strong {
    color: #173f63;
    font-size: 1rem;
}

.vin-stat-card-success {
    border-color: #cfe4d7;
}

.vin-stat-card-success .vin-stat-icon {
    color: #17633e;
    background: #e4f4ea;
}

.vin-stat-card-danger {
    border-color: #efc7ce;
}

.vin-stat-card-danger .vin-stat-icon,
.vin-stat-card-danger strong {
    color: #8d2330;
}

.vin-stat-card-danger .vin-stat-icon {
    background: #fff0f2;
}

.vin-vehicle-card {
    position: relative;
    margin-bottom: 1.5rem;
    padding: clamp(1.25rem, 3.5vw, 2.2rem);
    overflow: hidden;
    border-radius: 16px;
}

.vin-vehicle-card::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 5px;
    background: #235787;
}

.vin-vehicle-card-heading h2 {
    margin: 0;
    color: #172b3d;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 780;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.vin-main-vehicle-card {
    padding: 0;
    border-radius: 12px;
}

.vin-main-vehicle-card::before {
    display: none;
}

.vin-main-vehicle-card .vin-vehicle-card-heading {
    padding: 1.2rem 1.25rem 0;
}

.vin-main-vehicle-card .vin-vehicle-card-heading h2 {
    font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.vin-main-vehicle-card .vin-code-block {
    margin: 1rem 1.25rem 1.25rem;
}

.vin-main-vehicle-card .vin-copy-button {
    min-height: 34px;
    padding: 0.35rem 0.55rem;
    font-size: 0.74rem;
}

.vin-carvertical-card {
    position: relative;
    margin: 0 0 1.25rem;
    padding: 1rem;
    overflow: hidden;
    border: 1px solid #274e6c;
    border-radius: 12px;
    color: #fff;
    background:
        radial-gradient(circle at 92% 12%, rgba(105, 190, 236, 0.18), transparent 35%),
        linear-gradient(135deg, #142b3d 0%, #1c4667 100%);
    box-shadow: 0 12px 28px rgba(16, 41, 60, 0.18);
}

.vin-carvertical-card::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -75px;
    width: 170px;
    height: 170px;
    border: 24px solid rgba(255, 255, 255, 0.035);
    border-radius: 50%;
    pointer-events: none;
}

.vin-carvertical-topline,
.vin-carvertical-layout {
    position: relative;
    z-index: 1;
}

.vin-carvertical-topline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.vin-carvertical-eyebrow {
    width: 100%;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-align: center;
}

.vin-carvertical-eyebrow strong {
    font-size: 0.82rem;
    letter-spacing: 0;
}

.vin-carvertical-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    color: #153b2b;
    background: #bcebc9;
    font-size: 0.61rem;
    font-weight: 850;
    letter-spacing: 0.035em;
    line-height: 1.25;
    text-align: center;
}

.vin-carvertical-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 285px);
    align-items: start;
    gap: 1rem;
}

.vin-carvertical-copy h3 {
    margin: 0 0 0.5rem;
    color: #fff;
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    font-weight: 780;
    line-height: 1.2;
}

.vin-carvertical-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vin-carvertical-features li {
    position: relative;
    min-width: 0;
    padding-left: 1rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.vin-carvertical-features li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: #bcebc9;
    font-weight: 850;
}

.vin-carvertical-action {
    display: grid;
    gap: 0.55rem;
    min-width: 0;
}

.vin-carvertical-vin {
    min-width: 0;
    padding: 0.5rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.vin-carvertical-vin span,
.vin-carvertical-vin strong {
    display: block;
}

.vin-carvertical-vin span {
    margin-bottom: 0.1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.65rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.vin-carvertical-vin strong {
    color: #fff;
    font-family: "Courier New", monospace;
    font-size: 0.88rem;
    letter-spacing: 0.035em;
    overflow-wrap: anywhere;
}

.vin-carvertical-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 42px;
    padding: 0.55rem 0.75rem;
    border: 1px solid #f1c53c;
    border-radius: 8px;
    color: #172b3d;
    background: #ffd75a;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
}

.vin-carvertical-button:hover,
.vin-carvertical-button:focus {
    border-color: #ffe38a;
    color: #10283b;
    background: #ffe074;
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 90, 0.2);
}

.vin-carvertical-meta {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.68rem;
    text-align: center;
}

.vin-carvertical-promo {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.72rem;
    line-height: 1.4;
    text-align: center;
}

.vin-current-record {
    border-top: 1px solid #dfe5ea;
}

.vin-current-record-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #d7dfe5;
    background: #eef2f5;
}

.vin-current-record-header > div,
.vin-data-card-header > div,
.vin-disclaimer > div {
    min-width: 0;
}

.vin-current-record-header .vin-page-kicker {
    margin-bottom: 0.3rem;
    color: #66849e;
}

.vin-current-record-header h3 {
    margin: 0;
    color: #1d3447;
    font-size: 1.15rem;
    font-weight: 750;
}

.vin-current-record-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 1.25rem;
}

.vin-current-record-grid > div {
    min-width: 0;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #eef1f3;
}

.vin-current-record-grid .vin-current-record-wide {
    grid-column: 1 / -1;
}

.vin-current-record-grid dt,
.vin-model-spec-grid dt {
    margin-bottom: 0.25rem;
    color: #7b8792;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.vin-current-record-grid dd,
.vin-model-spec-grid dd {
    margin: 0;
    color: #263746;
    font-size: 0.94rem;
    font-weight: 750;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.vin-code-block {
    margin-top: 1.45rem;
    padding: 1rem 1.1rem;
    border-radius: 11px;
    background: #f5f8fa;
}

.vin-code-label {
    display: block;
    margin-bottom: 0.35rem;
    color: #71808d;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.vin-code-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    min-width: 0;
}

.vin-code-value {
    min-width: 0;
    color: #20384b;
    font-family: "Courier New", monospace;
    font-size: clamp(1rem, 3vw, 1.35rem);
    letter-spacing: 0.045em;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.vin-copy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 0.4rem;
    min-height: 42px;
    padding: 0.55rem 0.8rem;
    border: 1px solid #cbdce9;
    border-radius: 8px;
    color: #235787;
    background: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}

.vin-copy-button:hover,
.vin-copy-button:focus {
    border-color: #9dbbd2;
    color: #173c5d;
    background: #eaf2f8;
}

.vin-copy-feedback {
    display: block;
    min-height: 1.25rem;
    margin-top: 0.3rem;
    color: #17633e;
    font-size: 0.78rem;
    font-weight: 650;
}

.vin-detail-grid dt {
    margin-bottom: 0.22rem;
    color: #7b8792;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vin-data-card {
    margin-bottom: 1.25rem;
    overflow: hidden;
    border-radius: 14px;
}

.vin-data-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #e7ebee;
    background: #f8fafb;
}

.vin-data-card-header .vin-page-kicker {
    margin-bottom: 0.25rem;
}

.vin-data-card-description {
    margin-top: 0.35rem;
    color: #6d7b88;
    font-size: 0.82rem;
    line-height: 1.45;
}

.vin-full-history .vin-data-card-header > div {
    width: 100%;
}

.vin-history-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    margin-top: 0.35rem;
}

.vin-history-summary .vin-data-card-description {
    min-width: 0;
    margin-top: 0;
}

.vin-date-badge {
    flex: 0 0 auto;
    padding: 0.35rem 0.6rem;
    border-radius: 7px;
    color: #235787;
    background: #e7f0f8;
    font-size: 0.75rem;
    font-weight: 750;
}

.vin-reference-badge {
    flex: 0 0 auto;
    padding: 0.38rem 0.65rem;
    border-radius: 7px;
    color: #235787;
    background: #e7f0f8;
    font-size: 0.76rem;
    font-weight: 750;
}

.vin-model-header-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.vin-model-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 34px;
    padding: 0.35rem 0.6rem;
    border: 1px solid #cbdbe8;
    border-radius: 7px;
    color: #235787;
    background: #fff;
    font-size: 0.76rem;
    font-weight: 750;
}

.vin-model-toggle:hover,
.vin-model-toggle:focus {
    border-color: #78a8cd;
    color: #164a78;
    background: #f1f7fb;
}

.vin-model-toggle i {
    transition: transform 0.2s ease;
}

.vin-model-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.vin-model-card {
    margin-bottom: 1.25rem;
}

.vin-model-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 1.25rem 1.25rem 0;
}

.vin-model-spec-grid > div {
    min-width: 0;
    padding: 0.85rem;
    border-radius: 8px;
    background: #f5f8fa;
}

.vin-model-note {
    margin: 1rem 1.25rem 1.25rem;
    color: #7b8792;
    font-size: 0.82rem;
    line-height: 1.55;
}

.vin-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0.25rem 1.2rem 0.9rem;
}

.vin-detail-grid > div {
    min-width: 0;
    padding: 0.85rem 0.8rem 0.65rem 0;
    border-bottom: 1px solid #eef1f3;
}

.vin-detail-grid .vin-detail-wide {
    grid-column: 1 / -1;
}

.vin-detail-grid dd {
    margin: 0;
    color: #263746;
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.vin-history {
    padding: 1rem 1.2rem;
}

.vin-history .accordion-item {
    border-color: #e3e7ea;
}

.vin-history .accordion-button {
    gap: 0.7rem;
    color: #263746;
    background: #fff;
    font-size: 0.88rem;
    font-weight: 650;
}

.vin-history .accordion-button > span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.vin-history .accordion-button:not(.collapsed) {
    color: #1f527e;
    background: #edf4fa;
    box-shadow: inset 0 -1px 0 #dce6ee;
}

.vin-history .accordion-button:focus {
    border-color: #a7c7e0;
    box-shadow: 0 0 0 0.2rem rgba(35, 87, 135, 0.15);
}

.vin-history-date {
    flex: 0 0 auto;
    padding: 0.24rem 0.4rem;
    border-radius: 5px;
    color: #235787;
    background: #eaf2f8;
    font-size: 0.72rem;
}

.vin-history .vin-detail-grid {
    padding: 0;
}

.vin-lower-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 300px);
    align-items: start;
    gap: 28px;
    margin-top: 1.75rem;
}

.vin-lower-main,
.vin-lower-sidebar {
    min-width: 0;
}

.vin-lower-sidebar {
    display: grid;
    gap: 1.25rem;
}

.vin-helpful-card {
    order: 1;
}

.vin-brand-materials-card {
    order: 2;
}

.vin-related-card {
    order: 3;
}

.vin-full-history {
    margin-bottom: 0;
}

.vin-helpful-image {
    display: block;
    min-width: 0;
    overflow: hidden;
    background: #e9eef2;
}

.vin-helpful-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vin-helpful-item h4 {
    margin: 0;
    color: #243a4c;
    font-size: 0.94rem;
    font-weight: 750;
    line-height: 1.35;
}

.vin-helpful-item h4 a {
    color: inherit;
    text-decoration: none;
}

.vin-helpful-item h4 a:hover,
.vin-helpful-item h4 a:focus {
    color: #235787;
    text-decoration: underline;
}

.vin-sidebar-card {
    min-width: 0;
    padding: 1rem;
    border-radius: 12px;
}

.vin-sidebar-card > h3 {
    margin: 0 0 0.9rem;
    color: #1d3447;
    font-size: 1.06rem;
    font-weight: 760;
    line-height: 1.3;
}

.vin-helpful-list {
    display: grid;
    gap: 0.9rem;
}

.vin-helpful-item {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 0.75rem;
    min-width: 0;
}

.vin-helpful-item + .vin-helpful-item {
    padding-top: 0.9rem;
    border-top: 1px solid #e9edf0;
}

.vin-helpful-image {
    height: 68px;
    border-radius: 8px;
}

.vin-helpful-item h4 {
    font-size: 0.84rem;
}

.vin-helpful-item p {
    display: -webkit-box;
    margin: 0.28rem 0 0;
    overflow: hidden;
    color: #75828e;
    font-size: 0.72rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.vin-related-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.vin-related-item {
    border-top: 1px solid #e9edf0;
}

.vin-related-item:first-child {
    border-top: 0;
}

.vin-related-item:nth-child(n+9) {
    display: none;
}

.vin-related-item a {
    display: grid;
    gap: 0.22rem;
    padding: 0.7rem 0;
    color: #263746;
    text-decoration: none;
}

.vin-related-item a:hover,
.vin-related-item a:focus {
    color: #235787;
}

.vin-related-item strong {
    font-size: 0.84rem;
    line-height: 1.35;
}

.vin-mono {
    color: #71808d;
    font-family: "Courier New", monospace;
    font-size: 0.73rem;
    letter-spacing: 0.025em;
    overflow-wrap: anywhere;
}

.vin-related-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin-top: 0.6rem;
    padding: 0.5rem 0.8rem;
    border: 1px solid #cbdce9;
    border-radius: 8px;
    color: #235787;
    background: #f7fafc;
    font-size: 0.82rem;
    font-weight: 700;
}

.vin-related-toggle:hover,
.vin-related-toggle:focus {
    border-color: #9dbbd2;
    color: #173c5d;
    background: #eaf2f8;
}

.vin-location-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem;
    border-radius: 14px;
}

.vin-location-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 11px;
    color: #235787;
    background: #e7f0f8;
    font-size: 1.25rem;
}

.vin-location-card h2 {
    margin: 0 0 0.65rem;
    color: #1d3447;
    font-size: clamp(1.25rem, 3vw, 1.55rem);
}

.vin-location-card p,
.vin-location-card li {
    color: #687885;
    font-size: 0.9rem;
    line-height: 1.55;
}

.vin-location-card ul {
    margin: 0 0 0.75rem;
    padding-left: 1.2rem;
}

.vin-location-note {
    color: #334d61 !important;
    font-weight: 650;
}

.vin-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-top: 1.5rem;
    padding: 1.1rem;
    border-left: 4px solid #d99c22;
    border-radius: 10px;
    color: #725f39;
    background: #fff7e4;
}

.vin-disclaimer > i {
    flex: 0 0 auto;
    color: #b37a0d;
    font-size: 1.25rem;
}

.vin-disclaimer h2 {
    color: #76530e;
}

.vin-disclaimer p {
    font-size: 0.86rem;
    line-height: 1.55;
}

.vin-disclaimer a {
    font-weight: 700;
    overflow-wrap: anywhere;
}

@media (max-width: 991.98px) {
    .vin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vin-lower-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .vin-page-main {
        padding-top: 1rem;
        padding-bottom: 2.5rem;
    }

    .vin-search-row {
        grid-template-columns: 1fr;
    }

    .vin-search-button {
        width: 100%;
        min-width: 0;
    }

    .vin-code-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .vin-copy-button {
        min-height: 44px;
    }

    .vin-detail-grid {
        grid-template-columns: 1fr;
    }

    .vin-current-record-grid,
    .vin-model-spec-grid {
        grid-template-columns: 1fr;
    }

    .vin-current-record-grid .vin-current-record-wide {
        grid-column: auto;
    }

    .vin-carvertical-layout {
        grid-template-columns: 1fr;
    }

    .vin-detail-grid .vin-detail-wide {
        grid-column: auto;
    }

    .vin-data-card-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .vin-model-header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .vin-history .accordion-button {
        align-items: flex-start;
        flex-direction: column;
    }

    .vin-related-item:nth-child(n+7) {
        display: none;
    }

    .vin-related-list.is-expanded .vin-related-item {
        display: list-item;
    }

    .vin-related-toggle {
        display: inline-flex;
    }
}

@media (max-width: 600px) {
    .vin-page-container {
        width: 100%;
    }

    .topbar-left {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .logo-img {
        width: 36px;
        height: 36px;
    }

    .navbar .row > .col-2,
    .navbar .row > .col-3 {
        flex: 0 0 auto;
        width: auto;
    }

    .navbar .row > .col-7 {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }

    .navbar .row > .col-7 small {
        display: block;
        font-size: 0.68rem;
        line-height: 1.25;
    }

    .vin-breadcrumb-nav {
        margin-bottom: 1rem;
    }

    .vin-breadcrumb-nav .breadcrumb {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .vin-search-hero h1 {
        font-size: 1.7rem;
        line-height: 1.15;
    }

    .vin-search-hero-copy > p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .vin-search-form-large {
        margin-top: 1.4rem;
    }

    .vin-input-wrap .form-control {
        min-height: 50px;
        font-size: 1rem;
    }

    .vin-compact-search h1 {
        font-size: 1.1rem;
        line-height: 1.3;
        text-align: left;
    }

    .vin-search-button {
        min-height: 50px;
        font-size: 0.92rem;
    }

    .vin-stat-grid {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .vin-stat-card {
        min-height: 72px;
    }

    .vin-main-vehicle-card .vin-vehicle-card-heading h2 {
        font-size: 1.35rem;
        line-height: 1.2;
    }

    .vin-code-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .vin-copy-button {
        width: 100%;
    }

    .vin-main-vehicle-card .vin-copy-button {
        width: auto;
        min-height: 44px;
    }

    .vin-main-vehicle-card .vin-vehicle-card-heading {
        padding: 1rem 1rem 0;
    }

    .vin-main-vehicle-card .vin-code-block {
        margin: 1rem;
    }

    .vin-code-value {
        font-size: 1rem;
    }

    .vin-current-record-header {
        padding: 1rem;
    }

    .vin-current-record-header h3 {
        font-size: 1.02rem;
        line-height: 1.3;
    }

    .vin-current-record-grid {
        gap: 0.85rem;
        padding: 1rem;
    }

    .vin-current-record-grid dd,
    .vin-model-spec-grid dd {
        font-size: 0.9rem;
    }

    .vin-carvertical-card {
        margin: 0 0 1rem;
        padding: 1rem;
    }

    .vin-carvertical-copy h3 {
        font-size: 1.15rem;
    }

    .vin-carvertical-features {
        gap: 0.4rem 0.65rem;
    }

    .vin-carvertical-button,
    .vin-model-toggle,
    .vin-related-toggle {
        min-height: 44px;
    }

    .vin-carvertical-badge {
        width: 100%;
        justify-content: center;
    }

    .vin-data-card {
        width: 100%;
    }

    .vin-data-card-header {
        padding: 1rem;
    }

    .vin-data-card-header h3 {
        font-size: 1rem;
        line-height: 1.3;
    }

    .vin-model-spec-grid {
        gap: 0.75rem;
        padding: 1rem 1rem 0;
    }

    .vin-model-note {
        margin: 0.85rem 1rem 1rem;
        font-size: 0.78rem;
    }

    .vin-history {
        padding: 1rem;
    }

    .vin-history .accordion-button {
        padding: 0.85rem;
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .vin-history-summary {
        gap: 0.6rem;
    }

    .vin-history-summary .vin-data-card-description {
        flex: 1 1 auto;
        font-size: 0.76rem;
        line-height: 1.35;
    }

    .vin-history .accordion-body {
        padding: 0.25rem 0.85rem 0.75rem;
    }

    .vin-history .vin-detail-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .vin-stat-grid {
        grid-template-columns: 1fr;
    }

    .vin-current-record-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .vin-sidebar-card,
    .vin-location-card {
        padding: 1rem;
    }

    .vin-location-card {
        flex-direction: column;
    }

    .vin-sidebar-card > h3 {
        font-size: 1rem;
    }

    .vin-disclaimer {
        gap: 0.7rem;
        padding: 1rem;
    }

    .vin-disclaimer p {
        font-size: 0.84rem;
        line-height: 1.5;
    }

    .custom-footer p {
        font-size: 0.78rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .vin-page-container {
        width: 100%;
    }

    .vin-search-hero,
    .vin-compact-search,
    .vin-vehicle-card {
        padding: 1rem;
    }

    .vin-main-vehicle-card {
        padding: 0;
    }

    .vin-search-hero h1 {
        font-size: 1.65rem;
    }

    .vin-search-benefits {
        display: grid;
        gap: 0.25rem;
    }

    .vin-search-benefits span[aria-hidden="true"] {
        display: none;
    }

    .vin-carvertical-features {
        grid-template-columns: 1fr;
    }

    .vin-code-block {
        padding: 0.9rem;
    }
}

@media (max-width: 374px) {
    .vin-search-hero h1 {
        font-size: 1.5rem;
    }

    .vin-code-value {
        font-size: 0.92rem;
        letter-spacing: 0.015em;
    }
}
