/* ═══════════════════════════════════════════════════════════════════════════
   Arte de divulgacao - modal de imagem de cupom / promocao
   ═══════════════════════════════════════════════════════════════════════════ */

.ngdialog.ngdialog-arte .ngdialog-content {
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
}

.bd {
    padding: 22px 24px 18px;
    font-family: inherit;
}

/* ─── Cabecalho ────────────────────────────────────────────────────────────── */
.bd-header {
    margin-bottom: 16px;
}
.bd-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #E7F7EE;
    color: #12603A;
    border-radius: 20px;
    padding: 3px 11px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}
.bd-header__title {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.25;
}
.bd-header__subtitle {
    font-size: 13px;
    color: #8a8a8a;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ─── Previa ───────────────────────────────────────────────────────────────── */
.bd-preview {
    display: flex;
    justify-content: center;
}
.bd-preview__frame {
    width: 288px;
    height: 288px;
    border-radius: 18px;
    background: #12140f;
    background-image: linear-gradient(135deg, #14171a 0%, #0c0e10 100%);
    border: 1px solid #e6e6e6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.bd-preview__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.bd-preview__state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12.5px;
    text-align: center;
    padding: 0 26px;
}
.bd-preview__state--erro {
    color: #F0A9A5;
}

/* ─── Paleta ───────────────────────────────────────────────────────────────── */
.bd-paleta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0 4px;
}
.bd-paleta__label {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 700;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}
.bd-paleta__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.bd-chip {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0 14px;
    border-radius: 15px;
    border: 2px solid #dcdcdc;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    color: #6b6b6b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.bd-chip:hover:not([disabled]) {
    transform: scale(1.08);
}
.bd-chip[disabled] {
    opacity: .5;
    cursor: default;
}
.bd-chip--active {
    border-color: #1a1a1a;
    color: #1a1a1a;
}

/* ─── Acoes ────────────────────────────────────────────────────────────────── */
.bd-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.bd-actions--sec {
    margin-top: 8px;
}
.bd-btn {
    flex: 1;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 11px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: background-color .15s ease, border-color .15s ease;
}
.bd-btn[disabled] {
    opacity: .45;
    cursor: default;
}
.bd-btn--primary {
    background: #1d9a5a;
    color: #fff;
}
.bd-btn--primary:hover:not([disabled]) {
    background: #17804a;
}
.bd-btn--secondary {
    background: #1a1a1a;
    color: #fff;
}
.bd-btn--secondary:hover:not([disabled]) {
    background: #333;
}
.bd-btn--ghost {
    background: #f4f4f4;
    color: #4a4a4a;
    font-weight: 500;
    font-size: 12.5px;
    padding: 9px 12px;
}
.bd-btn--ghost:hover:not([disabled]) {
    background: #e9e9e9;
}
.bd-btn--close {
    background: transparent;
    color: #999;
    font-weight: 500;
    font-size: 13px;
}
.bd-btn--close:hover {
    color: #555;
}

/* ─── Rodape ───────────────────────────────────────────────────────────────── */
.bd-hint {
    margin-top: 14px;
    text-align: center;
    font-size: 11.5px;
    color: #a8a8a8;
}
.bd-footer {
    margin-top: 6px;
    display: flex;
}
