#main {
    padding: 0 1em;
}

.not-found-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 50px 0 70px;
}

.not-found-copy {
    max-width: 650px;
}

.not-found-code {
    display: inline-block;
    background: #c51d3c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 7px 11px;
    margin-right: 10px;
}

.not-found-label {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 1.5px;
    color: #555;
}

.not-found-copy h1 {
    margin: 20px 0 20px;
    font-size: 52px;
    line-height: 1.08;
    font-weight: 800;
}

.not-found-copy p {
    max-width: 620px;
    margin: 0 0 25px;
    font-size: 16px;
    line-height: 1.7;
}

.not-found-back {
    color: #111;
    font-weight: 700;
    text-decoration: underline;
}

.not-found-navigation {
    padding-top: 35px;
}

.not-found-navigation-title {
    border-bottom: 2px solid #222;
    padding-bottom: 15px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.not-found-navigation-item {
    display: flex;
    align-items: center;
    min-height: 70px;
    border-bottom: 1px solid #aaa;
    text-decoration: none;
    color: #111;
}

.not-found-navigation-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    margin-right: 14px;

    background: #c51d3c;
    color: #fff;

    font-size: 22px;
}

.not-found-navigation-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.not-found-navigation-text strong {
    font-size: 15px;
    letter-spacing: .5px;
}

.not-found-navigation-text small {
    margin-top: 4px;
    color: #555;
    font-size: 12px;
}

.not-found-navigation-arrow {
    color: #c51d3c;
    font-size: 20px;
}

.not-found-products {
    margin-bottom: 70px;
}

.not-found-products-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    border-bottom: 2px solid #aaa;
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.not-found-section-label {
    color: #c51d3c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 7px;
}

.not-found-products-heading h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.1;
}

.not-found-products-all {
    color: #c51d3c;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.not-found-product-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 900px) {

    .not-found-intro {
        display: block;
        padding: 30px 0 40px;
    }

    .not-found-copy h1 {
        font-size: 36px;
    }

    .not-found-navigation {
        padding-top: 40px;
    }

    .not-found-products-heading h2 {
        font-size: 26px;
    }

    .not-found-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}


@media (max-width: 500px) {

    .not-found-copy h1 {
        font-size: 32px;
    }

    .not-found-copy p {
        font-size: 14px;
    }

    .not-found-products-heading {
        align-items: center;
    }

    .not-found-products-heading h2 {
        font-size: 24px;
    }

    .not-found-products-all {
        font-size: 12px;
    }

    .not-found-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}