/* ==========================================================
   Sprint 1 — Bloco 12
   Compartilhamento e confiança pública.
   ========================================================== */

.btn-share-page,
.btn-store-share {
    min-height: 46px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}

.btn-share-page:hover,
.btn-store-share:hover {
    background: #f8fafc;
    border-color: #bfdbfe;
    transform: translateY(-1px);
}

.detail-actions .btn-share-page {
    grid-column: 1 / -1;
    width: 100%;
}

.marketplace-trust-note,
.store-trust-note {
    border-radius: 18px;
    border: 1px solid #bbf7d0;
    background: #ecfdf5;
    color: #047857;
    padding: 0.78rem 0.9rem;
    line-height: 1.35;
    font-size: 0.86rem;
    font-weight: 700;
}

.marketplace-trust-note {
    margin-top: 0.75rem;
}

.store-trust-note {
    max-width: 1180px;
    margin: -0.25rem auto 1rem;
}

.marketplace-trust-note span,
.store-trust-note span {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.marketplace-trust-note i,
.store-trust-note i {
    margin-top: 0.12rem;
}

.share-polish-toast {
    position: fixed;
    left: 50%;
    bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
    z-index: 2500;
    transform: translate(-50%, 18px);
    opacity: 0;
    pointer-events: none;
    background: #0f172a;
    color: #fff;
    border-radius: 999px;
    padding: 0.72rem 1rem;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
    font-size: 0.86rem;
    font-weight: 800;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.share-polish-toast.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
}

@media (max-width: 768px) {
    .detail-actions .btn-share-page {
        min-height: 44px;
    }

    .store-hero-actions .btn-store-share {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 42px;
    }

    .store-trust-note {
        margin-left: 0.58rem;
        margin-right: 0.58rem;
        border-radius: 18px;
        font-size: 0.80rem;
    }

    .marketplace-trust-note {
        font-size: 0.80rem;
    }

    .share-polish-toast {
        width: calc(100vw - 1.4rem);
        max-width: 420px;
        text-align: center;
        border-radius: 18px;
    }
}
