/* ═══ Dashboard notification banner ═══ */

.regioner-panel-notify {
    margin: 0 0 4px;
}

.regioner-panel-notify__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    color: #1e40af;
    font-size: 14px;
    line-height: 1.5;
}

.regioner-panel-notify__icon {
    font-size: 20px;
    flex-shrink: 0;
}

.regioner-panel-notify__text {
    flex: 1 1 auto;
}

.regioner-panel-notify__text strong {
    font-weight: 700;
    color: #1e3a8a;
}

.regioner-panel-notify__action {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .regioner-panel-notify__inner {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 16px;
    }

    .regioner-panel-notify__action {
        width: 100%;
        text-align: center;
    }
}

/* ═══ Badge on catalog card ═══ */

.regioner-directory-card__rec-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 4px;
    width: 100%;
    text-align: center;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: #25a166;
    background: #ebf9f0;
    border: none;
    border-radius: 6px;
}

.regioner-directory-card__rec-badge-icon {
    flex-shrink: 0;
    color: #10b981;
}

/* ═══ Hero recommendation badge ═══ */

.rp-hero__rec-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 10px 0 0;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #25a166;
    background: #ebf9f0;
    border-radius: 8px;
    line-height: 1.4;
}

.rp-hero__rec-badge svg {
    flex-shrink: 0;
}

/* ═══ Trusted section — verified items override ═══ */

.rp-trusted__item--verified .rp-trusted__logo {
    position: relative;
    background: transparent;
    overflow: visible;
    height: auto;
    box-shadow: none;
}

.rp-trusted__item--verified .rp-trusted__logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.rp-trusted__item--verified .rp-trusted__name {
    max-width: 120px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.rp-trusted__item--verified {
    position: relative;
}

.rp-trusted__verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    color: #059669;
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
}

.rp-trusted__verified-badge--inline {
    position: static;
    display: inline-flex;
    width: auto;
    height: auto;
    margin-left: 4px;
    border-radius: 0;
    background: none;
    box-shadow: none;
    vertical-align: middle;
}

.rp-trusted__item a {
    color: inherit;
    text-decoration: none;
}
.rp-trusted__item a:hover {
    text-decoration: underline;
}

/* ═══ Trusted carousel (featured recommendations) ═══ */

.rp-trusted-carousel {
    position: relative;
    overflow: hidden;
}

.rp-trusted-carousel__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 16px;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}

.rp-trusted-carousel__track::-webkit-scrollbar {
    height: 4px;
}
.rp-trusted-carousel__track::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

.rp-trusted-carousel__card {
    flex: 0 0 auto;
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    scroll-snap-align: start;
    transition: box-shadow .15s, border-color .15s;
    position: relative;
}

.rp-trusted-carousel__card:hover {
    border-color: #10b981;
    box-shadow: 0 2px 8px rgba(16,185,129,.12);
    text-decoration: none;
}

.rp-trusted-carousel__logo {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rp-trusted-carousel__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rp-trusted-carousel__logo--placeholder {
    color: #9ca3af;
}

.rp-trusted-carousel__name {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    color: #1f2937;
    max-height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rp-trusted-carousel__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #059669;
}

.rp-trusted-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    z-index: 2;
    transition: background .15s;
}

.rp-trusted-carousel__arrow:hover {
    background: #f9fafb;
}

.rp-trusted-carousel__arrow--prev {
    left: 4px;
}

.rp-trusted-carousel__arrow--next {
    right: 4px;
}

@media (max-width: 600px) {
    .rp-trusted-carousel__card {
        width: 120px;
        padding: 12px 8px;
    }

    .rp-trusted-carousel__logo {
        width: 44px;
        height: 44px;
    }

    .rp-trusted-carousel__arrow {
        display: none;
    }
}

/* ═══ Edit form — recommendation picker ═══ */

.regioner-edit-rec-picker {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.regioner-edit-rec-picker__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.regioner-edit-rec-picker__item:hover {
    border-color: #10b981;
}

.regioner-edit-rec-picker__item.is-checked {
    background: #ecfdf5;
    border-color: #6ee7b7;
}

.regioner-edit-rec-picker__item input[type="checkbox"] {
    flex-shrink: 0;
    accent-color: #059669;
}

.regioner-edit-rec-picker__logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.regioner-edit-rec-picker__logo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.regioner-edit-rec-picker__name {
    flex: 1 1 auto;
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
}

.regioner-edit-rec-picker__badge {
    flex-shrink: 0;
    color: #059669;
}

/* ═══ Recommendations Panel ═══ */

.regioner-rec-panel {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 0 0 24px;
}

.regioner-rec-panel__section {
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .03);
}

.regioner-rec-panel__heading {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
}

.regioner-rec-panel__badge {
    font-size: 11px;
    font-weight: 600;
    background: #fef9e7;
    color: #b8860b;
    padding: 3px 10px;
    border-radius: 20px;
}

.regioner-rec-panel__desc {
    font-size: 13.5px;
    color: #64748b;
    margin: 0 0 18px;
    line-height: 1.6;
}

.regioner-rec-panel__empty {
    font-size: 13.5px;
    color: #a0aec0;
    margin: 8px 0;
    font-style: italic;
}

.regioner-rec-panel__notice {
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 13.5px;
    color: #475569;
    line-height: 1.5;
}

/* Link box */
.regioner-rec-panel__link-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.regioner-rec-panel__link-display {
    display: flex;
    gap: 8px;
    align-items: center;
}

.regioner-rec-panel__link-input {
    flex: 1;
    font-size: 13px;
    padding: 10px 14px;
    border: none;
    border-radius: 10px;
    background: #f1f5f9;
    color: #334155;
}

.regioner-rec-panel__link-stats {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #64748b;
}

.regioner-rec-panel__link-stats strong {
    color: #1e293b;
}

/* List */
.regioner-rec-panel__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 12px 0;
}

.regioner-rec-panel__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 4px;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 0;
    background: transparent;
}

.regioner-rec-panel__item:last-child {
    border-bottom: none;
}

.regioner-rec-panel__item--pending {
    background: transparent;
}

.regioner-rec-panel__item--accepted {
    background: transparent;
}

.regioner-rec-panel__item-main {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
}

.regioner-rec-panel__item-name {
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
    text-decoration: none;
}

.regioner-rec-panel__item-name:hover {
    color: #3b82f6;
}

.regioner-rec-panel__item-relation {
    font-size: 11px;
    color: #64748b;
    background: #f4f6f8;
    padding: 2px 8px;
    border-radius: 6px;
}

.regioner-rec-panel__item-state {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
}

.regioner-rec-panel__item-state--pending { background: #fef9e7; color: #b8860b; }
.regioner-rec-panel__item-state--accepted { background: #ebf9f0; color: #2e7d52; }
.regioner-rec-panel__item-state--rejected { background: #fef0f0; color: #c0504d; }
.regioner-rec-panel__item-state--revoked_by_endorser,
.regioner-rec-panel__item-state--revoked_by_target { background: #f4f6f8; color: #8899a6; }
.regioner-rec-panel__item-state--expired { background: #f4f6f8; color: #a0aec0; }

.regioner-rec-panel__item-pub {
    font-size: 11px;
    color: #64748b;
}

.regioner-rec-panel__item-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.regioner-rec-panel__counter {
    font-size: 13.5px;
    color: #64748b;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.regioner-rec-panel__counter strong {
    color: #3b82f6;
    font-size: 20px;
    font-weight: 700;
}

/* ═══ Panel: Search box ═══ */

.regioner-rec-panel__search-box {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.regioner-rec-panel__subheading {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin: 0 0 10px;
}

.regioner-rec-panel__search-input-wrap {
    position: relative;
}

.regioner-rec-panel__search-input {
    width: 100%;
    padding: 11px 16px;
    border: none;
    border-radius: 10px;
    font-size: 13.5px;
    color: #1e293b;
    background: #f1f5f9;
    transition: box-shadow .15s;
}

.regioner-rec-panel__search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
    background: #fff;
}

.regioner-rec-panel__search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, .1);
    z-index: 50;
    max-height: 280px;
    overflow-y: auto;
}

.regioner-rec-panel__search-item {
    display: block;
    width: 100%;
    padding: 11px 16px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-size: 13.5px;
    color: #1e293b;
    border-bottom: 1px solid #f8fafc;
    transition: background .1s;
}

.regioner-rec-panel__search-item:hover {
    background: #f8fafc;
}

.regioner-rec-panel__search-item strong {
    display: block;
    font-weight: 600;
}

.regioner-rec-panel__search-meta {
    font-size: 11px;
    color: #a0aec0;
}

.regioner-rec-panel__search-loading,
.regioner-rec-panel__search-empty {
    padding: 14px 16px;
    font-size: 13.5px;
    color: #a0aec0;
    text-align: center;
}

/* Send form */
.regioner-rec-panel__send-form {
    margin-top: 16px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 14px;
    border: none;
}

.regioner-rec-panel__send-target {
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.regioner-rec-panel__field {
    margin-bottom: 12px;
}

.regioner-rec-panel__field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 4px;
}

.regioner-rec-panel__field select,
.regioner-rec-panel__field textarea {
    width: 100%;
    padding: 9px 12px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    background: #f1f5f9;
    color: #1e293b;
    transition: box-shadow .15s;
}

.regioner-rec-panel__field select:focus,
.regioner-rec-panel__field textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
    background: #fff;
}

.regioner-rec-panel__field--checkbox label {
    font-weight: 400;
    font-size: 11px;
    color: #475569;
    display: flex;
    gap: 6px;
    align-items: flex-start;
    cursor: pointer;
}

.regioner-rec-panel__field--checkbox input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}

.regioner-rec-panel__send-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.regioner-rec-panel__send-result {
    margin-top: 10px;
}

/* ═══ Landing Page ═══ */

.regioner-rec-landing {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 20px;
}

.regioner-rec-landing--error {
    text-align: center;
    padding: 60px 20px;
}

.regioner-rec-landing__card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.regioner-rec-landing__icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.regioner-rec-landing__logo {
    width: 80px;
    height: 80px;
    border-radius: 14px;
    object-fit: contain;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin: 0 auto 16px;
    display: block;
}

.regioner-rec-landing__title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.regioner-rec-landing__subtitle {
    font-size: 14px;
    color: #0284c7;
    font-weight: 600;
    margin: 0 0 16px;
}

.regioner-rec-landing__info {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.regioner-rec-landing__message {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px;
}

.regioner-rec-landing__auth {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.regioner-rec-landing__auth p {
    font-size: 13px;
    color: #475569;
    margin: 0 0 14px;
    line-height: 1.5;
}

.regioner-rec-landing__actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.regioner-rec-landing__your-profile {
    font-size: 13px;
    color: #475569;
    margin: 0 0 16px;
    text-align: left;
}

.regioner-rec-landing__your-profile strong {
    color: #0f172a;
}

/* Form */
.regioner-rec-landing__form {
    text-align: left;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    margin-top: 20px;
}

.regioner-rec-landing__field {
    margin-bottom: 14px;
}

.regioner-rec-landing__field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
}

.regioner-rec-landing__field select,
.regioner-rec-landing__field textarea,
.regioner-rec-landing__field input[type="text"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 13px;
    color: #0f172a;
    background: #fff;
    transition: border-color 0.15s;
}

.regioner-rec-landing__field select:focus,
.regioner-rec-landing__field textarea:focus {
    border-color: #0284c7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.regioner-rec-landing__field--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.regioner-rec-landing__field--checkbox label {
    font-weight: 400;
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    cursor: pointer;
}

.regioner-rec-landing__field--checkbox input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}

.regioner-rec-landing__profile-link {
    margin-top: 20px;
    font-size: 12px;
    text-align: center;
}

.regioner-rec-landing__profile-link a {
    color: #0284c7;
    text-decoration: none;
}

.regioner-rec-landing__profile-link a:hover {
    text-decoration: underline;
}

/* Result messages */
.regioner-rec-landing__success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 14px;
    color: #166534;
    text-align: center;
    line-height: 1.5;
}

.regioner-rec-landing__error-msg {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
    color: #991b1b;
    text-align: center;
}

/* Steps indicator */
.regioner-rec-landing__steps {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 24px 0;
    padding: 16px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.regioner-rec-landing__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #94a3b8;
}

.regioner-rec-landing__step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.regioner-rec-landing__step--active .regioner-rec-landing__step-num {
    background: #0284c7;
    color: #fff;
}

.regioner-rec-landing__step--active {
    color: #0284c7;
    font-weight: 600;
}

/* ═══ Radio group (public/private) ═══ */

.regioner-rec-panel__radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.regioner-rec-panel__radio {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.4;
    color: #374151;
    transition: border-color .15s, background .15s;
}

.regioner-rec-panel__radio:hover {
    border-color: #94a3b8;
}

.regioner-rec-panel__radio:has(input:checked) {
    border-color: #10b981;
    background: #ecfdf5;
}

.regioner-rec-panel__radio input[type="radio"] {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #059669;
}

.regioner-rec-panel__radio span strong {
    font-weight: 600;
}

/* ═══ Info / glossary section ═══ */

.regioner-rec-panel__section--info {
    background: #f8fafc;
    box-shadow: none;
}

.regioner-rec-panel__glossary {
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.regioner-rec-panel__glossary dt {
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
    margin: 0;
}

.regioner-rec-panel__glossary dd {
    margin: 3px 0 0 0;
    padding: 0;
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
}

/* Mobile */
@media (max-width: 768px) {
    .regioner-rec-landing {
        padding: 20px 12px;
    }

    .regioner-rec-landing__card {
        padding: 20px 16px;
    }

    .regioner-rec-landing__steps {
        gap: 16px;
    }
}

/* ═══ Panel + Landing shared mobile ═══ */
@media (max-width: 768px) {
    .regioner-rec-panel__section {
        padding: 16px;
    }

    .regioner-rec-panel__item {
        flex-direction: column;
        align-items: flex-start;
    }

    .regioner-rec-panel__item-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .regioner-rec-panel__link-display {
        flex-direction: column;
    }
}

/* ═══════════════════════════════════════════════
   Odznaki rekomendacji — brąz / srebro / złoto
   ═══════════════════════════════════════════════ */

.regioner-rec-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

/* Karta katalogowa: lewy dolny róg, nachodzi na logo */
.regioner-directory-card__inner {
    position: relative !important;
}
.regioner-rec-badge--card {
    position: absolute !important;
    bottom: 20px;
    right: 14px;
    left: auto;
    z-index: 50;
    display: flex;
    align-items: center;
    pointer-events: auto;
}
.regioner-rec-badge--card .regioner-rec-badge__img {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.15));
}

/* Rozmiary: profil hero */
.regioner-rec-badge--hero .regioner-rec-badge__img {
    width: 36px;
    height: 36px;
}

.regioner-rec-badge__img {
    display: block;
    object-fit: contain;
}

/* Licznik (od srebra) — na dole figurki */
.regioner-rec-badge__count {
    position: absolute;
    left: -8px;
    bottom: -2px;
    min-width: 16px;
    height: 16px;
    background: transparent;
    color: #334155;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    white-space: nowrap;
}

/* Brąz i biały: ukryj licznik */
.regioner-rec-badge--bronze .regioner-rec-badge__count,
.regioner-rec-badge--white .regioner-rec-badge__count {
    display: none;
}

/* Biała odznaka (free) — prawy górny róg, mniejsza */
.regioner-rec-badge--white {
    position: absolute !important;
    bottom: auto !important;
    left: auto !important;
    top: 8px;
    right: 8px;
}
.regioner-rec-badge--white .regioner-rec-badge__img {
    width: 26px !important;
    height: 26px !important;
    opacity: 0.7;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,.1));
}
.regioner-rec-badge--white:hover .regioner-rec-badge__img {
    opacity: 1;
}

/* Tooltip */
.regioner-rec-badge__tooltip {
    display: none;
    position: fixed;
    background: #0f172a;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.5;
    white-space: nowrap;
    z-index: 999999;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    pointer-events: none;
}
.regioner-rec-badge__tooltip::after {
    display: none;
}
.regioner-rec-badge__tooltip a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
}
.regioner-rec-badge__tooltip a:hover {
    text-decoration: underline;
}
.regioner-rec-badge__tooltip.is-visible {
    display: block;
}

/* Ikony kontaktu: odstęp na dole żeby nie zasłaniały figurki */
.regioner-directory-card__inner:has(.regioner-rec-badge--card) .regioner-directory-card__socials--stack,
.regioner-directory-card__inner:has(.regioner-rec-badge--card) .regioner-directory-card__corner-actions {
    padding-bottom: 44px;
}

/* ═══ Stare style badge — override na nowy format ═══ */
.regioner-directory-card__rec-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 4px;
    width: auto;
    padding: 0;
    background: transparent;
    border: none;
}
.rp-hero__rec-badge {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin: 10px 0 0;
    padding: 0;
    background: transparent;
    border: none;
}
