.vin-result {
    width: 100%;
    box-sizing: border-box;
    max-width: 1080px;
    margin: 28px auto;
    padding: 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #172033;
}

.vin-result *,
.vin-result *::before,
.vin-result *::after {
    box-sizing: border-box;
}

.vin-result__hero {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(260px, 390px) 1fr;
    gap: 24px;
    align-items: stretch;
    padding: 22px;
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(20, 31, 50, 0.08);
}

.vin-result__media {
    min-width: 0;
    width: 100%;
    min-height: 260px;
    background: #f6f8fb;
    border: 1px solid #e8ebf1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vin-result__media img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: contain;
    display: block;
}

.vin-result__summary {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vin-result__badge {
    max-width: 100%;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #146c43;
    font-size: 13px;
    font-weight: 700;
}

.vin-result h3 {
    overflow-wrap: anywhere;
    margin: 0;
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: 0;
}

.vin-result__vin {
    overflow-wrap: anywhere;
    margin: 0;
    color: #667085;
    font-size: 15px;
}

.vin-result__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.vin-result__fact {
    min-width: 0;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #edf0f5;
    border-radius: 8px;
}

.vin-result__fact span {
    display: block;
    color: #667085;
    font-size: 12px;
    margin-bottom: 4px;
}

.vin-result__fact strong {
    overflow-wrap: anywhere;
    display: block;
    color: #172033;
    font-size: 15px;
}

.vin-result__offer {
    min-width: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    background: #111827;
    color: #fff;
    border-radius: 8px;
}

.vin-result__offer-title {
    margin: 0 0 4px;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
}

.vin-result__offer-text {
    overflow-wrap: anywhere;
    margin: 0;
    color: #d1d5db;
    font-size: 14px;
}

.vin-result__count {
    color: #fbbf24;
    font-weight: 800;
}

.vin-result #vin-payriff-button {
    max-width: 100%;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: #fbbf24;
    color: #111827;
    font-weight: 900;
    font-size: 15px;
    white-space: nowrap;
    cursor: pointer;
}

.vin-result #vin-payriff-button:hover {
    background: #f59e0b;
}

.vin-result__sections {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.vin-result__section {
    min-width: 0;
    padding: 16px;
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 8px;
}

.vin-result__section h4 {
    margin: 0 0 10px;
    color: #172033;
    font-size: 16px;
}

.vin-result__section ul {
    margin: 0;
    padding-left: 18px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.55;
}

.vin-result__note {
    overflow-wrap: anywhere;
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #7c2d12;
    font-size: 14px;
}

@media (max-width: 860px) {
    .vin-result__hero,
    .vin-result__sections {
        grid-template-columns: 1fr;
    }

    .vin-result__offer {
        grid-template-columns: 1fr;
        order: 3;
    }

    .vin-result #vin-payriff-button {
        width: 100%;
    }

    .vin-result__facts {
        order: 4;
    }
}

@media (max-width: 520px) {
    .vin-result {
        margin: 18px auto;
        padding: 0 10px;
        overflow-x: hidden;
    }

    .vin-result__hero {
        padding: 12px;
        gap: 14px;
        border-radius: 6px;
    }

    .vin-result__media,
    .vin-result__media img {
        min-height: 210px;
    }

    .vin-result h3 {
        font-size: 23px;
    }

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

    .vin-result__offer {
        padding: 14px;
    }

    .vin-result #vin-payriff-button {
        white-space: normal;
        line-height: 1.25;
        padding: 10px 12px;
    }

    .vin-result__section {
        padding: 14px;
    }
}

@media (max-width: 380px) {
    .vin-result {
        padding: 0 8px;
    }

    .vin-result__hero {
        padding: 10px;
    }

    .vin-result h3 {
        font-size: 21px;
    }
}
