/* Paid listing services: VIP badge and the random VIP block above catalog results. */
.ab-badge-vip {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    background: #7c3aed;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    pointer-events: none;
}

.ab-vip-block {
    background: var(--ab-surface, #f6f3ff);
    border: 1px solid var(--ab-border, #e5e7eb);
    border-radius: 1rem;
    padding: 0.9rem;
}

.ab-vip-block__head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.ab-vip-block__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: var(--ab-text, inherit);
}

.ab-vip-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    background: #7c3aed;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
}

/* "Shop" chip: company account or seller with a running business package. */
.ab-shop-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #b45309;
    background: rgba(245, 158, 11, 0.14);
    border-radius: 999px;
    padding: 0.1rem 0.5rem;
}

/* Account number with copy button in the cabinet header. */
.ab-account-id { display: flex; align-items: center; gap: 0.35rem; }
.ab-account-id__copy {
    border: 0;
    background: transparent;
    color: var(--ab-muted, #6b7280);
    padding: 0 0.2rem;
    line-height: 1;
}
.ab-account-id__copy:hover,
.ab-account-id__copy.is-copied { color: var(--ab-primary, #f97316); }

/* "My ads" card actions as icon buttons (tooltips say what they do). */
.ab-cabinet-card__actions { flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.ab-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid var(--ab-border, #e5e7eb);
    border-radius: 0.5rem;
    background: var(--ab-card, #fff);
    color: var(--ab-muted, #6b7280);
    font-size: 0.9rem;
    line-height: 1;
    padding: 0;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s;
}
.ab-card-action:hover,
.ab-card-action:focus-visible { color: var(--ab-primary, #f97316); border-color: var(--ab-primary, #f97316); }
.ab-card-action--primary { background: var(--ab-primary, #f97316); border-color: var(--ab-primary, #f97316); color: #fff; }
.ab-card-action--primary:hover,
.ab-card-action--primary:focus-visible { color: #fff; filter: brightness(0.92); }
.ab-card-action--danger:hover,
.ab-card-action--danger:focus-visible { color: #d94841; border-color: #d94841; }

/* Service chooser: title, description and badge on their own lines. */
.ab-owner-promo { text-align: start; width: 100%; }
.ab-owner-promo__title,
.ab-owner-promo__desc,
.ab-owner-promo__badge { display: block; }

/* "Mağaza" label on the card photo (bottom-left; the photo count is bottom-right). */
.ab-shop-badge {
    position: absolute;
    left: 0.55rem;
    bottom: 0.55rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    background: #d97706;
    border-radius: 999px;
    padding: 0.15rem 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

[data-ab-theme="dark"] .ab-shop-chip,
[data-bs-theme="dark"] .ab-shop-chip {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.18);
}
