* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    padding: 24px 12px;
    background: #f4f1ec;
    font-family: Arial, Helvetica, sans-serif;
    color: #241919;
}

.card {
    width: min(520px, 100%);
    margin: 0 auto;
    padding: 18px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.12);
}

.verification-panel {
    width: 100%;
}

.product-box {
    width: 100%;
    margin: 0 0 18px;
    padding: 14px;
    background: #faf7f2;
    border: 1px solid #eadfd4;
    border-radius: 16px;
    text-align: center;
}

.product-box img {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
}

.result {
    position: static;
    width: 100%;
    margin: 0 0 18px;
    padding: 18px 14px;
    border-radius: 14px;
    text-align: center;
}

.result h1 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.2;
}

.result p {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    color: inherit;
}

.result.success {
    background: #e6f6ea;
    color: #216b3b;
    border: 1px solid #c8e9d1;
}

.result.warning {
    background: #fff3cd;
    color: #7a5700;
    border: 1px solid #f2dc99;
}

.result.error {
    background: #fde8e8;
    color: #9b1c1c;
    border: 1px solid #f2c6c6;
}

.details {
    margin: 0;
    text-align: left;
    border-top: 1px solid #eeeeee;
}

.details div {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #eeeeee;
}

.details span {
    flex: 0 0 42%;
    color: #756969;
}

.details strong {
    flex: 1;
    text-align: right;
    overflow-wrap: anywhere;
}

.product-information {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #dedede;
}

.product-information h2 {
    margin: 0 0 16px;
    text-align: center;
    font-size: 26px;
}

.product-information img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 18px;
    border-radius: 14px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.08);
}

.back,
button {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 14px 16px;
    border: 0;
    border-radius: 11px;
    background: #7b1e24;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.back:hover,
button:hover {
    background: #65171d;
}

.badge {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    font-weight: 800;
    color: #7b1e24;
}

.notice {
    padding: 14px;
    border-radius: 10px;
    background: #fff0c8;
    color: #8b5b00;
    font-weight: 700;
}

@media (max-width: 480px) {
    body {
        padding: 12px 8px;
    }

    .card {
        padding: 14px;
        border-radius: 16px;
    }

    .product-box img {
        width: 220px;
    }

    .result h1 {
        font-size: 24px;
    }

    .details div {
        gap: 10px;
    }

    .product-information h2 {
        font-size: 23px;
    }
}
