/* Compact premium commercial verification strip */

.fd-trust-commercial {
    --fd-trust-navy: #0b1f4d;
    --fd-trust-blue: #1a56db;
    position: relative;
    margin-top: 1.25rem;
    padding: 0.7rem 0.95rem;
    border-radius: 14px;
    overflow: hidden;
    background:
        linear-gradient(105deg, #0b1f4d 0%, #123a8a 52%, #1a56db 100%);
    color: #fff;
    box-shadow: 0 10px 28px rgba(11, 31, 77, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.fd-trust-commercial::before {
    content: "";
    position: absolute;
    inset-inline-end: -20%;
    top: -80%;
    width: 55%;
    height: 220%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
    pointer-events: none;
}

.fd-trust-commercial__strip {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1rem;
}

.fd-trust-commercial__identity {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    flex: 1 1 220px;
}

.fd-trust-commercial__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.95rem;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fd-trust-commercial__copy {
    min-width: 0;
}

.fd-trust-commercial__eyebrow {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-bottom: 0.12rem;
}

.fd-trust-commercial__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.55rem;
}

.fd-trust-commercial__title {
    margin: 0;
    color: #fff;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.25;
}

.fd-trust-commercial__status {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 999px;
    padding: 0.14rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.3;
}

.fd-trust-commercial__status.is-verified {
    background: #bbf7d0;
    color: #14532d;
}

.fd-trust-commercial__status.is-pending {
    background: #fed7aa;
    color: #9a3412;
}

.fd-trust-commercial__pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    flex: 1 1 auto;
    justify-content: flex-end;
}

.fd-trust-pill {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.55rem;
    max-width: 100%;
    padding: 0.35rem 0.45rem 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.fd-trust-pill--platform {
    background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
    border-color: rgba(26, 86, 219, 0.2);
}

.fd-trust-pill__label {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.fd-trust-pill--platform .fd-trust-pill__label {
    color: #1e3a8a;
}

.fd-trust-pill__label img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.fd-trust-pill__value {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--fd-trust-navy);
    letter-spacing: 0.02em;
    line-height: 1.2;
    white-space: nowrap;
}

.fd-trust-pill__meta {
    color: #64748b;
    font-size: 0.68rem;
    white-space: nowrap;
}

.fd-trust-pill__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    background: var(--fd-trust-navy);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.72rem;
    line-height: 1.2;
    white-space: nowrap;
    transition: transform 0.18s ease, background 0.18s ease;
}

.fd-trust-pill__btn:hover {
    transform: translateY(-1px);
    background: #123a8a;
    color: #fff !important;
}

.fd-trust-pill__btn--accent {
    background: linear-gradient(90deg, #1a56db, #2563eb);
}

.fd-trust-pill__btn--accent:hover {
    background: linear-gradient(90deg, #1e40af, #1a56db);
}

.fd-trust-commercial__cert {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 0.28rem 0.65rem 0.28rem 0.28rem;
    transition: background 0.18s ease, transform 0.18s ease;
}

.fd-trust-commercial__cert:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-1px);
}

.fd-trust-commercial__cert img {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.fd-trust-commercial__cert span {
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.fd-trust-commercial__foot {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.75rem;
    margin-top: 0.55rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.fd-trust-commercial__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.fd-trust-commercial__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 999px;
    padding: 0.22rem 0.55rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.72rem;
}

.fd-trust-commercial__chip strong {
    font-weight: 700;
}

.fd-trust-commercial__note {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.75rem;
    line-height: 1.4;
}

.fd-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-inline-start: auto;
}

.fd-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.72rem;
    transition: background 0.18s ease, transform 0.18s ease;
}

.fd-trust-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-1px);
}

.fd-trust-badge img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* Legacy card selectors kept as no-ops for admin cache/preview safety */
.fd-trust-commercial__glow,
.fd-trust-commercial__cards,
.fd-trust-card {
    display: none;
}

.fd-trust-admin-preview {
    border-radius: 14px;
    border: 1px dashed rgba(26, 86, 219, 0.35);
    padding: 0.75rem;
    background: #f8faff;
}

.fd-trust-admin-preview .fd-trust-commercial {
    margin-top: 0;
}

@media (max-width: 991.98px) {
    .fd-trust-commercial__pills {
        justify-content: flex-start;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .fd-trust-commercial {
        padding: 0.7rem 0.75rem;
        border-radius: 12px;
    }

    .fd-trust-commercial__strip {
        gap: 0.55rem;
    }

    .fd-trust-pill {
        width: 100%;
        border-radius: 12px;
        padding: 0.45rem 0.55rem;
        justify-content: space-between;
    }

    .fd-trust-pill__meta {
        display: none;
    }

    .fd-trust-commercial__cert {
        width: 100%;
        justify-content: center;
        border-radius: 12px;
        padding: 0.4rem 0.65rem;
    }

    .fd-trust-commercial__cert span {
        display: inline;
    }

    .fd-trust-badges {
        margin-inline-start: 0;
        width: 100%;
    }
}
