.arz-provider {
    --provider-surface: var(--arz-color-surface, #fff);
    --provider-surface-elevated: var(--arz-color-surface-elevated, #fff);
    --provider-surface-subtle: var(--arz-color-surface-subtle, #f7f9fb);
    --provider-border: var(--arz-color-border, #dfe6ee);
    --provider-border-strong: var(--arz-color-border-strong, #cbd5e1);
    --provider-text: var(--arz-color-text, #111d33);
    --provider-text-soft: var(--arz-color-text-soft, #475569);
    --provider-text-muted: var(--arz-color-text-muted, #64748b);
    --provider-primary: var(--arz-color-primary, #087a67);
    --provider-primary-hover: var(--arz-color-primary-hover, #066453);
    --provider-primary-soft: var(--arz-color-primary-subtle, #eaf8f5);
    --provider-signature: var(--provider-primary);
    --provider-signature-soft: var(--provider-primary-soft);
    direction: rtl;
    color: var(--provider-text);
    font-weight: 400 !important;
    padding-bottom: 48px;
}

.arz-provider *,
.arz-provider *::before,
.arz-provider *::after {
    box-sizing: border-box;
    font-weight: 400 !important;
}

.arz-provider :is(h1, h2, h3, strong, button, .arz-provider-button, .arz-provider-eyebrow) {
    font-weight: 500 !important;
}

.arz-provider[data-provider-type="gold-platforms"] {
    --provider-signature: #a66d0a;
    --provider-signature-soft: color-mix(in srgb, #d99b22 14%, var(--provider-surface));
}

.arz-provider[data-provider-type="currency-exchanges"] {
    --provider-signature: #147a87;
    --provider-signature-soft: color-mix(in srgb, #147a87 12%, var(--provider-surface));
}

.arz-provider a {
    text-decoration: none;
}

.arz-provider-page-head {
    margin-bottom: 24px;
    overflow: hidden;
}

.arz-provider-page-head__breadcrumb {
    min-height: 36px;
}

.arz-provider-page-head__tabs {
    padding-inline: 15px;
}

.arz-provider-page-head h1 {
    margin: 18px 0 0;
    color: var(--provider-text);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.45;
}

.arz-provider-page-head h1.arz-coin-page-title {
    margin-bottom: 0 !important;
    font-weight: 400 !important;
}

.arz-provider-listing {
    min-width: 0;
}

.arz-provider-listing__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.arz-provider-listing__head h2,
.arz-provider-listing__head p {
    margin: 0;
}

.arz-provider-listing__head h2 {
    font-size: 18px;
    font-weight: 500;
}

.arz-provider-listing__head p {
    color: var(--provider-text-muted);
    font-size: 13px;
}

.arz-provider-listing__head strong {
    color: var(--provider-text);
}

.arz-provider-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.arz-provider-card {
    min-width: 0;
    min-height: 176px;
    display: grid;
    grid-template-rows: 1fr auto;
    overflow: hidden;
    background: var(--provider-surface);
    border: 1px solid var(--provider-border);
    border-radius: 12px;
    transition: border-color .18s ease;
}

@media (hover: hover) and (pointer: fine) {
    .arz-provider-card:hover {
        border-color: color-mix(in srgb, var(--provider-primary) 45%, var(--provider-border));
    }
}

.arz-provider-card__identity {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px;
}

.arz-provider-card__identity img {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    object-fit: contain;
}

.arz-provider-card__identity > div {
    min-width: 0;
}

.arz-provider-card h3,
.arz-provider-card p {
    margin: 0;
}

.arz-provider-card h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.45;
}

.arz-provider-card h3 a {
    color: var(--provider-text);
}

.arz-provider-card h3 a:focus-visible,
.arz-provider-button:focus-visible,
.arz-provider-load-more:focus-visible,
.arz-provider-section-nav button:focus-visible,
.arz-provider-contact-actions a:focus-visible {
    outline: 2px solid var(--provider-primary);
    outline-offset: 3px;
}

.arz-provider-card__identity p {
    margin-top: 2px;
    color: var(--provider-text-muted);
    font-size: 12px;
    text-align: right;
}

.arz-provider-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    margin-top: 9px;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--provider-signature-soft);
    color: var(--provider-signature);
    font-size: 11px;
    font-weight: 500;
}

.arz-provider-card__actions {
    padding: 0 18px 18px;
}

.arz-provider-card__actions .arz-provider-button {
    width: 100%;
}

.arz-provider-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.arz-provider-button--primary {
    background: var(--provider-primary);
    color: #fff !important;
}

.arz-provider-button--primary:hover {
    background: var(--provider-primary-hover);
}

.arz-provider-button--quiet {
    background: transparent;
    border-color: var(--provider-border);
    color: var(--provider-text-soft) !important;
}

.arz-provider-button--quiet:hover {
    border-color: var(--provider-primary);
    color: var(--provider-primary) !important;
}

.arz-provider-load-more {
    width: 300px;
    max-width: 100%;
    min-height: 44px;
    display: block;
    margin: 22px auto 0;
    border: 1px solid var(--provider-border);
    border-radius: 8px;
    background: var(--provider-surface);
    color: var(--provider-text-soft);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.arz-provider-load-more[disabled] {
    cursor: wait;
    opacity: .65;
}

.arz-provider-load-error {
    margin: 10px 0 0;
    color: var(--arz-color-danger-content, #b42318);
    font-size: 13px;
    text-align: center;
}

.arz-provider-editorial {
    margin-top: 32px;
    padding: 28px;
    border: 1px solid var(--provider-border);
    border-radius: 12px;
    background: var(--provider-surface);
}

.arz-provider-unavailable {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 32px;
    border: 1px solid var(--provider-border);
    border-radius: 12px;
    background: var(--provider-surface);
    text-align: right;
}

.arz-provider-unavailable svg {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--arz-color-warning, #d19a20);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.arz-provider-unavailable h1,
.arz-provider-unavailable p {
    margin: 0;
}

.arz-provider-unavailable h1 {
    font-size: 19px;
}

.arz-provider-unavailable p {
    margin-top: 7px;
    color: var(--provider-text-muted);
    font-size: 14px;
}

.arz-provider-pdp__breadcrumb {
    margin-bottom: 10px;
}

.arz-provider-hero {
    min-height: 224px;
    display: grid;
    grid-template-columns: minmax(330px, 1.35fr) minmax(240px, .8fr) 190px;
    align-items: center;
    gap: 24px;
    padding: 30px;
    border: 1px solid var(--provider-border);
    border-radius: 14px;
    background: var(--provider-surface);
    box-shadow: inset -3px 0 0 var(--provider-signature);
}

.arz-provider[data-provider-type="currency-exchanges"] .arz-provider-hero {
    min-height: 144px;
    grid-template-columns: minmax(330px, 1.2fr) minmax(420px, 1fr);
    padding: 14px 22px;
    box-shadow: none;
}

.arz-provider[data-provider-type="gold-platforms"] .arz-provider-hero {
    min-height: 144px;
    grid-template-columns: minmax(300px, .8fr) minmax(520px, 1.4fr);
    padding: 14px 22px;
    box-shadow: none;
}

.arz-provider[data-provider-type="gold-platforms"] .arz-provider-hero__identity {
    gap: 16px;
}

.arz-provider[data-provider-type="gold-platforms"] .arz-provider-hero__identity > img {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
}

.arz-provider[data-provider-type="gold-platforms"] .arz-provider-hero__summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.arz-provider[data-provider-type="currency-exchanges"] .arz-provider-hero__identity {
    gap: 16px;
}

.arz-provider[data-provider-type="currency-exchanges"] .arz-provider-hero__identity > img {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
}

.arz-provider[data-provider-type="currency-exchanges"] .arz-provider-hero__summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-inline-end: 0;
}

.arz-provider-hero__identity {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.arz-provider-hero__identity > img {
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    object-fit: contain;
}

.arz-provider-hero h1,
.arz-provider-hero p {
    margin: 0;
}

.arz-provider-hero h1 {
    margin-top: 9px;
    color: var(--provider-text);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.35;
}

.arz-provider-hero p {
    margin-top: 4px;
    color: var(--provider-text-muted);
    font-size: 13px;
    text-align: right;
}

.arz-provider-hero__summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-inline-start: 1px solid var(--provider-border);
    border-inline-end: 1px solid var(--provider-border);
}

.arz-provider-hero__summary > div {
    min-width: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 8px;
    padding: 14px;
    text-align: center;
}

.arz-provider-hero__summary > div + div {
    border-inline-start: 1px solid var(--provider-border);
}

.arz-provider-hero__summary small {
    color: var(--provider-text-muted);
    font-size: 12px;
}

.arz-provider-hero__summary strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 18px;
}

.arz-provider-status-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--provider-signature);
    box-shadow: 0 0 0 4px var(--provider-signature-soft);
}

.arz-provider-hero__cta {
    align-self: center;
}

.arz-provider-section-nav {
    margin: 22px 0;
    overflow: hidden;
}

.arz-provider-section-nav > div {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scrollbar-width: none;
}

.arz-provider-section-nav > div::-webkit-scrollbar {
    display: none;
}

.arz-provider-section-nav button {
    position: relative;
    height: 44px;
    flex: 0 0 auto;
    padding: 0 0 12px;
    border: 0;
    background: transparent;
    color: var(--provider-text-muted);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
}

.arz-provider-section-nav button::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: transparent;
}

.arz-provider-section-nav button:hover {
    color: var(--provider-text-soft);
}

.arz-provider-section-nav button.is-active {
    color: var(--provider-primary);
}

.arz-provider-section-nav button.is-active::after {
    background: var(--provider-primary);
}

.arz-provider-section {
    scroll-margin-top: 108px;
    margin-top: 16px;
    padding: 28px;
    border: 1px solid var(--provider-border);
    border-radius: 12px;
    background: var(--provider-surface);
}

.arz-provider-section > header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding-inline-start: 14px;
    border-inline-start: 3px solid var(--provider-signature);
}

.arz-provider-section--currency-details > header,
.arz-provider-section--gold-details > header {
    padding-inline-start: 0;
    border-inline-start: 0;
}

.arz-provider-section--currency-details > header h2,
.arz-provider-section--gold-details > header h2 {
    margin-top: 0;
}

.arz-provider-section header small,
.arz-provider-section header h2 {
    display: block;
    margin: 0;
}

.arz-provider-section header small {
    color: var(--provider-text-muted);
    font-size: 11px;
    letter-spacing: .01em;
}

.arz-provider-section header h2 {
    margin-top: 3px;
    color: var(--provider-text);
    font-size: 19px;
    font-weight: 500;
}

.arz-provider-description {
    margin-bottom: 22px;
    color: var(--provider-text-soft);
    line-height: 2;
}

.arz-provider-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid var(--provider-border);
    border-inline-start: 1px solid var(--provider-border);
}

.arz-provider-section--gold-details .arz-provider-facts {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
}

.arz-provider-facts > div {
    min-width: 0;
    padding: 16px 18px;
    border-inline-end: 1px solid var(--provider-border);
    border-bottom: 1px solid var(--provider-border);
}

.arz-provider-facts dt,
.arz-provider-facts dd {
    margin: 0;
}

.arz-provider-facts dt {
    color: var(--provider-text-muted);
    font-size: 12px;
}

.arz-provider-facts dd {
    margin-top: 7px;
    color: var(--provider-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.arz-provider-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.arz-provider-chips span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 6px 13px;
    border: 1px solid var(--provider-border);
    border-radius: 999px;
    background: var(--provider-surface-subtle);
    color: var(--provider-text-soft);
    font-size: 13px;
    font-weight: 500;
}

.arz-provider-chips--small span {
    min-height: 28px;
    padding: 4px 10px;
    font-size: 11px;
}

.arz-provider-subsection {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--provider-border);
}

.arz-provider-detail-group + .arz-provider-detail-group {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--provider-border);
}

.arz-provider-detail-group > h3 {
    margin: 0 0 14px;
    color: var(--provider-text);
    font-size: 15px;
    font-weight: 500;
}

.arz-provider-subsection h3 {
    margin: 0 0 13px;
    font-size: 14px;
}

.arz-provider-assets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.arz-provider-assets > article {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--provider-border);
    border-radius: 10px;
    background: var(--provider-surface-subtle);
}

.arz-provider-asset__title {
    display: flex;
    align-items: center;
    gap: 11px;
}

.arz-provider-asset__title img {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    object-fit: contain;
}

.arz-provider-asset__title h3,
.arz-provider-asset__title span {
    margin: 0;
}

.arz-provider-asset__title h3 {
    font-size: 15px;
}

.arz-provider-asset__title span {
    display: block;
    margin-top: 2px;
    color: var(--provider-text-muted);
    font-size: 11px;
    text-align: right;
}

.arz-provider-assets dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 17px 0;
    overflow: hidden;
    border: 1px solid var(--provider-border);
    border-radius: 8px;
    background: var(--provider-border);
}

.arz-provider-assets dl > div {
    padding: 10px;
    background: var(--provider-surface);
}

.arz-provider-assets dt,
.arz-provider-assets dd {
    margin: 0;
}

.arz-provider-assets dt {
    color: var(--provider-text-muted);
    font-size: 10px;
}

.arz-provider-assets dd {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
}

.arz-provider-note {
    margin: 18px 0 0;
    padding: 12px 14px;
    border: 1px solid var(--arz-color-warning, #d19a20);
    border-radius: 8px;
    background: var(--arz-color-warning-subtle, #fffbeb);
    color: var(--arz-color-warning-content, #854d0e);
    font-size: 12px;
    line-height: 1.8;
}

.arz-provider-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.arz-provider-contact-actions a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border: 1px solid var(--provider-border);
    border-radius: 8px;
    color: var(--provider-primary);
    font-size: 13px;
    font-weight: 500;
}

.arz-provider-record {
    background:
        linear-gradient(90deg, transparent 0, transparent calc(100% - 4px), var(--provider-signature) calc(100% - 4px)),
        var(--provider-surface);
}

.arz-provider-record .arz-provider-facts {
    border: 0;
    gap: 1px;
    background: var(--provider-border);
}

.arz-provider-record .arz-provider-facts > div {
    border: 0;
    background: var(--provider-surface-subtle);
}

.arz-provider-record .arz-provider-facts dt {
    display: flex;
    align-items: center;
    gap: 7px;
}

.arz-provider-record .arz-provider-facts dt::before {
    content: "";
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 50%;
    background: var(--provider-signature);
}

@media (max-width: 900px) {
    .arz-provider-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .arz-provider-hero {
        grid-template-columns: minmax(0, 1fr) 190px;
    }

    .arz-provider[data-provider-type="currency-exchanges"] .arz-provider-hero {
        grid-template-columns: 1fr;
    }

    .arz-provider[data-provider-type="gold-platforms"] .arz-provider-hero {
        grid-template-columns: 1fr;
    }

    .arz-provider-hero__summary {
        grid-column: 1 / -1;
        grid-row: 2;
        border: 0;
        border-top: 1px solid var(--provider-border);
        padding-top: 12px;
    }

    .arz-provider[data-provider-type="currency-exchanges"] .arz-provider-hero__summary {
        grid-column: auto;
        grid-row: auto;
    }

    .arz-provider[data-provider-type="gold-platforms"] .arz-provider-hero__summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .arz-provider-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .arz-provider-section--gold-details .arz-provider-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-flow: row;
        grid-auto-columns: auto;
    }
}

@media (max-width: 640px) {
    .arz-container.arz-provider {
        padding-inline: 12px !important;
        padding-bottom: 32px !important;
    }

    .arz-provider-page-head__tabs {
        padding-inline: 0;
    }

    .arz-provider-page-head h1 {
        margin-top: 14px;
        font-size: 22px;
    }

    .arz-provider-listing__head {
        align-items: center;
    }

    .arz-provider-listing__head h2 {
        font-size: 16px;
    }

    .arz-provider-card {
        min-height: 150px;
    }

    .arz-provider-card__identity {
        gap: 10px;
        padding: 14px;
    }

    .arz-provider-card__identity img {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .arz-provider-card h3 {
        font-size: 15px;
    }

    .arz-provider-card__actions {
        padding: 0 12px 12px;
    }

    .arz-provider-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .arz-provider-editorial,
    .arz-provider-section {
        padding: 20px 16px;
    }

    .arz-provider-unavailable {
        display: grid;
        justify-items: center;
        text-align: center;
    }

    .arz-provider-hero {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
    }

    .arz-provider[data-provider-type="gold-platforms"] .arz-provider-hero,
    .arz-provider[data-provider-type="currency-exchanges"] .arz-provider-hero {
        min-height: 0;
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .arz-provider-hero__identity {
        gap: 12px;
    }

    .arz-provider-hero__identity > img {
        width: 76px;
        height: 76px;
        flex-basis: 76px;
    }

    .arz-provider[data-provider-type] .arz-provider-hero__identity > img {
        width: 76px;
        height: 76px;
        flex-basis: 76px;
    }

    .arz-provider-hero h1 {
        font-size: 21px;
    }

    .arz-provider-hero__summary,
    .arz-provider-hero__cta {
        grid-column: auto;
        grid-row: auto;
    }

    .arz-provider[data-provider-type="gold-platforms"] .arz-provider-hero__summary {
        grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    }

    .arz-provider-section-nav {
        margin: 16px 0;
    }

    .arz-provider-section-nav > div {
        gap: 24px;
    }

    .arz-provider-section-nav button {
        height: 38px;
        padding-bottom: 10px;
        font-size: 13px;
    }

    .arz-provider-section {
        scroll-margin-top: 88px;
        margin-top: 12px;
        border-radius: 10px;
    }

    .arz-provider-section > header {
        margin-bottom: 16px;
    }

    .arz-provider-section header h2 {
        font-size: 17px;
    }

    .arz-provider-facts,
    .arz-provider-assets {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .arz-provider-section--gold-details .arz-provider-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .arz-provider-detail-group + .arz-provider-detail-group {
        margin-top: 22px;
        padding-top: 20px;
    }

    .arz-provider-facts > div {
        padding: 13px 10px;
    }

    .arz-provider-facts dt {
        font-size: 11px;
    }

    .arz-provider-facts dd {
        margin-top: 5px;
        font-size: 13px;
    }

    .arz-provider-assets > article {
        padding: 14px;
    }

    .arz-provider-contact-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .arz-provider-contact-actions a {
        justify-content: center;
        text-align: center;
    }

    .arz-provider-assets dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 379px) {
    .arz-provider-list,
    .arz-provider-facts,
    .arz-provider-assets,
    .arz-provider-section--gold-details .arz-provider-facts,
    .arz-provider-contact-actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .arz-provider-card,
    .arz-provider-button {
        transition: none;
    }
}
