.nk-track-body {
    background: #f7f5f3;
}

.nk-track-page {
    min-height: 65vh;
    color: #26221f;
    font-family: Arial, Helvetica, sans-serif;
}

.nk-track-hero {
    padding: 74px 0 66px;
    background: #1a1a1a;
    color: #fff;
}

.nk-track-hero > span {
    display: block;
    margin-bottom: 14px;
    color: #d57b5f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.nk-track-hero h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 5.2vw, 70px);
    font-weight: 400;
    letter-spacing: -.035em;
    line-height: 1;
}

.nk-track-hero p {
    max-width: 660px;
    margin: 22px 0 0;
    color: #bdb7b2;
    font-size: 14px;
    line-height: 1.7;
}

.nk-track-shell {
    width: 100%;
    margin: 0 auto;
    padding: 64px 0 86px;
}

.nk-track-shell.has-result {
    display: grid;
    grid-template-columns: minmax(330px, .8fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: start;
}

.nk-track-form,
.nk-track-result {
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid #e4dfdb;
    background: #fff;
}

.nk-track-form {
    display: grid;
    gap: 22px;
}

.nk-track-form__heading {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    align-items: start;
    padding-bottom: 24px;
    border-bottom: 1px solid #e9e5e2;
}

.nk-track-form__heading > span {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    background: #f4e7e2;
    color: #bd4f2e;
    font-size: 18px;
}

.nk-track-form__heading strong {
    color: #24201e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.25;
}

.nk-track-form__heading p {
    margin: 7px 0 0;
    color: #77706b;
    font-size: 12px;
    line-height: 1.6;
}

.nk-track-form label {
    display: grid;
    gap: 9px;
    margin: 0;
}

.nk-track-form label > span,
.nk-track-details dt {
    color: #534d49;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    line-height: 1.3;
    text-transform: uppercase;
}

.nk-track-form input {
    width: 100%;
    height: 54px;
    padding: 0 16px;
    border: 1px solid #d8d2ce;
    border-radius: 0;
    background: #fff;
    color: #24201e;
    font-size: 14px;
}

.nk-track-form input:focus {
    border-color: #bd4f2e;
    outline: 1px solid #bd4f2e;
}

.nk-track-form label small {
    color: #ae2f23;
    font-size: 12px;
    line-height: 1.4;
}

.nk-track-form > button,
.nk-track-courier-link {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border: 1px solid #bd4f2e;
    border-radius: 0;
    background: #bd4f2e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s ease, border-color .2s ease;
}

.nk-track-form > button {
    width: 100%;
    cursor: pointer;
}

.nk-track-form > button:hover,
.nk-track-form > button:focus-visible,
.nk-track-courier-link:hover,
.nk-track-courier-link:focus-visible {
    border-color: #96391f;
    background: #96391f;
    color: #fff;
}

.nk-track-form > button:focus-visible,
.nk-track-courier-link:focus-visible {
    outline: 2px solid #24201e;
    outline-offset: 2px;
}

.nk-track-alert {
    padding: 14px 16px;
    border-left: 3px solid #ae2f23;
    background: #fff1ef;
    color: #7e2820;
    font-size: 13px;
    line-height: 1.55;
}

.nk-track-result {
    min-width: 0;
}

.nk-track-result__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e9e5e2;
}

.nk-track-result__header span {
    display: block;
    margin-bottom: 8px;
    color: #77706b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.nk-track-result__header h2 {
    margin: 0;
    color: #24201e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 400;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.nk-track-result__header > strong {
    flex: 0 0 auto;
    padding: 9px 12px;
    background: #e9f4eb;
    color: #28733a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.nk-track-result__header > strong.is-exception {
    background: #fff0ed;
    color: #9d3227;
}

.nk-track-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 34px 0;
    padding: 0;
    list-style: none;
}

.nk-track-progress li {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 10px;
    color: #aaa39d;
    text-align: center;
}

.nk-track-progress li:not(:last-child)::after {
    position: absolute;
    top: 15px;
    left: calc(50% + 18px);
    width: calc(100% - 36px);
    height: 1px;
    background: #ddd6d1;
    content: '';
}

.nk-track-progress li > span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 30px;
    height: 30px;
    border: 1px solid #d8d2ce;
    border-radius: 50%;
    background: #fff;
    place-items: center;
    font-size: 10px;
    font-weight: 700;
}

.nk-track-progress li > strong {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.35;
    text-transform: uppercase;
}

.nk-track-progress li.is-complete {
    color: #bd4f2e;
}

.nk-track-progress li.is-complete > span {
    border-color: #bd4f2e;
    background: #bd4f2e;
    color: #fff;
}

.nk-track-progress li.is-complete:not(:last-child)::after {
    background: #bd4f2e;
}

.nk-track-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    background: #e8e3df;
    border: 1px solid #e8e3df;
}

.nk-track-details > div {
    min-width: 0;
    padding: 18px;
    background: #faf9f8;
}

.nk-track-details dt {
    margin-bottom: 7px;
}

.nk-track-details dd {
    margin: 0;
    color: #292522;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.nk-track-courier-link {
    width: 100%;
    margin-top: 20px;
}

@media (max-width: 840px) {
    .nk-track-shell.has-result {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 620px) {
    .nk-track-hero {
        padding: 52px 0 48px;
    }

    .nk-track-shell {
        width: 100%;
        padding: 34px 0 52px;
    }

    .nk-track-form,
    .nk-track-result {
        padding: 24px 20px;
    }

    .nk-track-form__heading {
        grid-template-columns: 40px 1fr;
        gap: 12px;
    }

    .nk-track-form__heading > span {
        width: 40px;
        height: 40px;
    }

    .nk-track-result__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .nk-track-progress {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .nk-track-progress li {
        grid-template-columns: 30px 1fr;
        justify-items: start;
        align-items: center;
        text-align: left;
    }

    .nk-track-progress li:not(:last-child)::after {
        top: 32px;
        left: 14px;
        width: 1px;
        height: 14px;
    }

    .nk-track-details {
        grid-template-columns: minmax(0, 1fr);
    }
}
