.ccx-panel,
.ccx-dashboard {
    margin: 0 0 15px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #c6dce1;
    border-radius: 12px;
    color: #172427;
}

.ccx-panel h2,
.ccx-panel h3,
.ccx-panel p,
.ccx-next p {
    margin: 0 0 6px;
}

.ccx-panel h2,
.ccx-next strong {
    font-weight: 800;
    font-size: 17px;
}

.ccx-panel p,
.ccx-next p {
    font-size: 14px;
    line-height: 1.8;
}

.ccx-next {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    flex-wrap: wrap;
}

.ccx-dashboard {
    background: #edf7f8;
}

.ccx-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 7px 13px;
    color: #fff !important;
    background: #096c80;
    border: 1px solid #096c80;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none !important;
}

.ccx-button:hover {
    background: #075467;
}

.ccx-text-link {
    display: inline-block;
    color: #086e83 !important;
    font-size: 14px;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.ccx-button:focus-visible,
.ccx-text-link:focus-visible,
.ccaw-order-filters a:focus-visible {
    outline: 2px solid #086e83;
    outline-offset: 3px;
}

.ccx-part-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%,240px),1fr));
    gap: 8px;
}

.ccx-part {
    border: 1px solid #d0e1e4;
    border-radius: 8px;
    padding: 10px;
}

.ccx-part ul {
    margin: 7px 0 8px;
    padding-inline-start: 20px;
    font-size: 14px;
}

.ccx-part p bdi {
    white-space: normal;
    overflow-wrap: anywhere;
}

.ccx-part .ccx-chip {
    display: inline-block;
    padding: 1px 8px;
    background: #eef6f7;
    color: #0c6673;
    border-radius: 20px;
    font-size: 12px;
}

.ccclub .ccx-panel {
    margin: 14px 0 0;
}

.ccclub .ccx-invite-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ccclub .ccx-invite-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 2px 14px;
    padding: 8px 0;
    border-top: 1px solid #e0ecee;
    font-size: 13px;
}

.ccclub .ccx-copy-note {
    width: 100%;
    font-size: 13px;
}

.ccx-campaign-copy {
    white-space: pre-line;
}

.ccaw-order-filters {
    scroll-margin-block: 12px;
}

.ccaw-order-filters a {
    min-height: 40px;
}

.ccaw-order-filters a[aria-current="page"] {
    font-weight: 800;
}

@font-face {
    font-family: CuzVazirmatn;
    src: url("vazirmatn.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}
body.ccaw-account .cca-page {
    --ccaw-ink: #112e35;
    --ccaw-muted: #405d64;
    --ccaw-line: #cad5d4;
    --ccaw-soft: #e7f3f4;
    --ccaw-brand: #086b7e;
    background: #f8f5ef;
    font-size: 14px;
    padding-block: 22px 48px;
}
body.ccaw-account .cca-page .cca-wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding-inline: clamp(14px, 3.6vw, 56px);
}
body.ccaw-account .cca-page :is(h1,h2,h3,legend) {
    font-family: CuzVazirmatn,Vazirmatn,sans-serif !important;
    letter-spacing: normal;
}
body.ccaw-account .cca-page .woocommerce-MyAccount-content {
    float: none;
    min-width: 0;
    width: 100%;
}
body.ccaw-account .cca-page .woocommerce-MyAccount-navigation {
    border-radius: 12px;
    border-color: #cad5d4;
    background: #fdfbf7;
}
body.ccaw-account .cca-page .cca-nav a {
    color: #23454c;
    min-height: 44px;
    font-size: 13px;
}
body.ccaw-account .cca-page .cca-nav :is(.is-active > a, [aria-current=page]) {
    color: #0b5260;
    background: #e7f3f4;
    font-weight: 750;
}
body.ccaw-account .cca-page .ccaw-welcome {
    background: #102e35;
    border: 1px solid #102e35;
    color: #fff;
}
body.ccaw-account .cca-page .ccaw-welcome::after {
    background-image: url("cuz-pattern-20.png");
    opacity: .22;
}
body.ccaw-account .cca-page .ccaw-welcome :is(h1, .ccaw-brand) { color: #fff; }
body.ccaw-account .cca-page .ccaw-welcome :is(p, .ccaw-eyebrow) { color: #d2e9ec; font-size: 14px; }
body.ccaw-account .woocommerce-MyAccount-content:has(> .ccx-home) > .ccaw-welcome { display: none; }
body.ccaw-account .cca-page :is(.ccaw-order,.ccaw-metric,.ccaw-shortcuts > a,.ccaw-support-strip,.ccs-order,.ccs-requests,.ccs-thread,.ccs-form) {
    box-shadow: none;
    background: #fff;
    border-color: #cad5d4;
}
body.ccaw-account .cca-page :is(.ccaw-order small,.ccaw-metric small,.ccaw-support-strip p,.ccaw-shortcuts p,.ccs-muted,.ccs-message p,.ccs-request-row) {
    color: #405d64;
    font-size: 13px;
}
body.ccaw-account .cca-page :is(td,th,.ccaw-order-filters a,.woocommerce-info,.woocommerce-message,.woocommerce-error,label) {
    font-size: 13px;
}
body.ccaw-account .cca-page :is(input.input-text,textarea,select) {
    font-size: 16px;
    border-color: #9fb6ba;
}
body.ccaw-account .cca-page :is(.cca-button, .button:not(.cca-outline)):not(.cca-outline,.ccaw-action-quiet) {
    color: #fff;
    background: #086b7e;
    border-color: #086b7e;
}
body.ccaw-account .cca-page :is(a,button,input,select,textarea):focus-visible {
    outline: 3px solid #148394;
    outline-offset: 3px;
}
.ccx-home { display: grid; gap: 16px; margin: 0 0 24px; }
.ccx-home .ccx-home-title { margin: 0; font-size: clamp(24px, 3vw, 38px); font-weight: 800; color: #112e35; }
.ccx-home .ccx-dashboard {
    background: #fff;
    border: 1px solid #a9bec1;
    margin: 0;
    padding: clamp(15px, 2.6vw, 28px);
}
.ccx-home .ccx-dashboard h2 { margin: 0 0 4px; font-size: clamp(17px, 2vw, 23px); }
.ccx-home .ccx-dashboard p { margin: 0; color: #405d64; }
.ccx-home .ccx-button { min-height: 44px; padding-inline: 18px; }
.ccx-home .ccx-dashboard .ccx-button { background: #102e35; border-color: #102e35; }
.ccx-dashboard-club {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 16px 24px;
    padding: clamp(18px, 3.5vw, 42px);
    color: #fff;
    background: #102e35;
    border: 1px solid #b39763;
    border-radius: 14px;
    isolation: isolate;
    position: relative;
    overflow: hidden;
}
.ccx-dashboard-club::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("cuz-pattern-20.png") left top / 180px auto no-repeat;
    opacity: .23;
    pointer-events: none;
    z-index: -1;
}
.ccx-dashboard-club h2,
body.ccaw-account .cca-page .ccx-dashboard-club h2 { margin: 0 0 4px; color: #fff; font-size: clamp(22px, 3vw, 34px); }
.ccx-dashboard-club h3,
body.ccaw-account .cca-page .ccx-dashboard-club h3 { margin: 13px 0 5px; color: #ffedcc; font-size: 15px; }
.ccx-dashboard-club p,
.ccx-dashboard-conditions { margin: 0; color: #e1f0f1; font-size: 14px; }
.ccx-dashboard-conditions { display: flex; flex-wrap: wrap; gap: 4px 20px; padding-inline-start: 16px; }
.ccx-dashboard-club .ccx-button { background: #7cd3df; border-color: #7cd3df; color: #092c33 !important; }
.ccx-home .ccx-dashboard-wallet {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    min-height: 46px;
    color: #154853;
    border: 1px solid #a9bec1;
    border-radius: 10px;
    background: #fff;
}
@media (min-width: 1050px) {
    body.ccaw-account .cca-signed-in .cca-wrap > .woocommerce {
        display: grid;
        grid-template-columns: minmax(0,1fr);
        gap: 16px;
    }
    body.ccaw-account .cca-signed-in .woocommerce-MyAccount-navigation {
        position: static;
        float: none;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        padding: 7px 14px;
    }
    body.ccaw-account .cca-nav .ccaw-identity,
    body.ccaw-account .cca-nav .ccaw-nav-help,
    body.ccaw-account .cca-nav .ccaw-nav-arrow { display: none; }
    body.ccaw-account .cca-nav ul { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
    body.ccaw-account .cca-nav li { margin: 0; }
    body.ccaw-account .cca-nav a { border-radius: 6px; padding-inline: 12px; }
    body.ccaw-account .cca-nav :is(.is-active > a, [aria-current=page]) { box-shadow: inset 0 -3px #086b7e; }
}
@media (max-width: 600px) {
    .ccx-dashboard-club { grid-template-columns: minmax(0,1fr); }
    .ccx-home .ccx-dashboard .ccx-button { width: 100%; }
}
.ccx-dashboard-club::before {
    background: #86c4d0;
    opacity: .13;
    mask: url("cuz-pattern-20.png") left top / 180px auto no-repeat;
}
