/* Product Validation — Costa */
.product-validation-page {
    background: linear-gradient(180deg, #f4f6f8 0%, #ffffff 42%);
}

.pv-breadcrumb-wrap {
    background: #fff;
    border-bottom: 1px solid #e8edf2;
}

.pv-breadcrumb-wrap .breadcrumb {
    margin-bottom: 0;
    padding: 14px 0;
    background: transparent;
}

.pv-hero {
    padding: 48px 0 36px;
    text-align: center;
}

.pv-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.pv-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.pv-hero p {
    max-width: 620px;
    margin: 0 auto 28px;
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
}

.pv-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.pv-step {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e8edf2;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    color: #334155;
    font-size: 0.9rem;
    font-weight: 500;
}

.pv-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #eef2ff;
    color: #3730a3;
    font-size: 0.8rem;
    font-weight: 700;
}

.pv-main {
    padding-bottom: 72px;
}

.pv-check-card {
    max-width: 760px;
    margin: 0 auto 48px;
    padding: 32px;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.pv-form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
}

.pv-input-wrap {
    display: flex;
    align-items: stretch;
    gap: 0;
    border: 1px solid #dbe3ea;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pv-input-wrap:focus-within {
    border-color: #3730a3;
    box-shadow: 0 0 0 3px rgba(55, 48, 163, 0.12);
    background: #fff;
}

.pv-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    color: #64748b;
    font-size: 1rem;
}

.pv-input-wrap .form-control {
    border: 0;
    background: transparent;
    height: 54px;
    padding-left: 0;
    font-size: 1rem;
    box-shadow: none;
}

.pv-input-wrap .form-control:focus {
    box-shadow: none;
}

.pv-form-hint {
    margin-top: 10px;
    font-size: 0.82rem;
    color: #94a3b8;
}

.pv-submit-btn {
    width: 100%;
    margin-top: 22px;
    height: 52px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pv-submit-btn:hover,
.pv-submit-btn:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.25);
}

.pv-result {
    margin-top: 24px;
}

.pv-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 16px;
    color: #64748b;
}

.pv-result-card {
    border-radius: 14px;
    padding: 22px;
    animation: pvFadeUp 0.45s ease;
}

.pv-result-card.is-success {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid #bbf7d0;
}

.pv-result-card.is-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fff1f2 100%);
    border: 1px solid #fecaca;
}

.pv-result-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.pv-result-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.pv-result-card.is-success .pv-result-icon {
    background: #dcfce7;
    color: #166534;
}

.pv-result-card.is-error .pv-result-icon {
    background: #fee2e2;
    color: #b91c1c;
}

.pv-result-message {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.5;
}

.pv-product-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e8edf2;
}

.pv-product-image {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #edf2f7;
}

.pv-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pv-product-body h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
}

.pv-product-body p {
    margin: 0 0 12px;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.45;
}

.pv-product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #111827;
    color: #fff !important;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.15s ease;
}

.pv-product-link:hover {
    background: #1f2937;
    color: #fff !important;
}

.pv-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pv-info-card {
    padding: 24px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e8edf2;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pv-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.pv-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 1.1rem;
}

.pv-info-card:nth-child(1) .pv-info-icon {
    background: #eef2ff;
    color: #3730a3;
}

.pv-info-card:nth-child(2) .pv-info-icon {
    background: #ecfdf5;
    color: #047857;
}

.pv-info-card:nth-child(3) .pv-info-icon {
    background: #fff7ed;
    color: #c2410c;
}

.pv-info-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.pv-info-card p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.55;
}

@keyframes pvFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .pv-info-grid {
        grid-template-columns: 1fr;
    }

    .pv-check-card {
        padding: 24px 20px;
    }
}

@media (max-width: 575px) {
    .pv-hero {
        padding: 36px 0 28px;
    }

    .pv-steps {
        flex-direction: column;
        align-items: stretch;
    }

    .pv-product-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .pv-product-image {
        width: 100%;
        height: 180px;
    }
}
