.serial-check-page {
    max-width: 900px;
    margin: 45px auto 70px;
}

.serial-check-page__intro {
    max-width: 700px;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.serial-check-form {
    max-width: 650px;
}

.serial-check-input {
    width: 100%;
    height: 54px;
    padding: 0 16px;
    border: 1px solid #c9c9c9;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 18px;
    outline: none;
}

.serial-check-input:focus {
    border-color: #888;
}

.serial-check-button {
    margin-top: 15px;
    min-height: 48px;
    padding: 0 28px;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

.serial-check-button:disabled {
    cursor: default;
    opacity: .65;
}

.serial-result {
    display: none;
    max-width: 700px;
    margin-top: 35px;
    padding: 28px;
    border: 1px solid;
    border-radius: 5px;
    box-sizing: border-box;
}

.serial-result h2 {
    margin-top: 0;
    margin-bottom: 15px;
}

.serial-result p:last-child {
    margin-bottom: 0;
}

.serial-result--success {
    color: #25352a;
    border-color: #9ed5a8;
    background: #f3fff5;
}

.serial-result--success h2 {
    color: #176b32;
}

.serial-result--missing {
    color: #5f2929;
    border-color: #e0abab;
    background: #fff6f6;
}

.serial-result--missing h2 {
    color: #9b2929;
}

.serial-result--warning {
    color: #5e4319;
    border-color: #e0c48c;
    background: #fffaf0;
}

.serial-result--warning h2 {
    color: #8a5b00;
}

.serial-result--error {
    color: #7a1f1f;
    border-color: #e5a3a3;
    background: #fff3f3;
}

.serial-product {
    margin-top: 25px;
}

.serial-product-image {
    display: block;
    width: auto;
    max-width: 280px;
    max-height: 280px;
    margin: 0 0 20px;
    object-fit: contain;
}

.serial-product-name {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 600;
}

.serial-product-meta {
    color: inherit;
    opacity: .75;
}

.serial-product-link {
    display: inline-block;
    margin-top: 18px;
    padding: 11px 18px;
    border: 1px solid currentColor;
    border-radius: 3px;
    color: inherit !important;
    text-decoration: none !important;
}

.serial-product-link:hover {
    opacity: .8;
}

.serial-result-row {
    margin: 7px 0;
}

@media (max-width: 767px) {
    .serial-check-page {
        margin-top: 25px;
    }

    .serial-result {
        padding: 20px;
    }

    .serial-product-image {
        max-width: 100%;
    }
}

.serial-check-help {
    max-width: 1200px;
    margin: 35px 0 0;
}

.serial-check-help__title {
    margin-bottom: 8px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

.serial-check-help__text {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.5;
}

.serial-check-help__images {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.serial-check-help__item {
    display: block;
    width: calc(50% - 10px);
    text-decoration: none;
}

.serial-check-help__item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

@media (max-width: 767px) {
    .serial-check-help__images {
        display: block;
    }

    .serial-check-help__item {
        width: 100%;
        margin-bottom: 15px;
    }
}